/* ============================================================
   ABOUT PAGE — pixel-perfect clone of samarthsec.com/Aboutus.php
   Self-contained. Loaded only on the About page template.
   ============================================================ */

/* Prevent horizontal scroll on the about page */
#page-about {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
#page-about * { box-sizing: border-box; }

/* Also prevent body-level horizontal scroll when about page is active */
body:has(#page-about) {
  overflow-x: hidden;
}

/* ─────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────── */
:root {
  --ap-purple:    #491084;
  --ap-purple-dk: #4a109c;
  --ap-blue:      #2d2da8;
  --ap-grad:      linear-gradient(90deg, #510F91 0%, #0A46A1 100%);
  --ap-grey-bg:   #d9d9d9;
  --ap-white:     #ffffff;
}

/* ─────────────────────────────────────
   SUB-NAV
───────────────────────────────────── */
#ap-subnav {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  width: 100%;
  /* overflow must NOT be hidden — dropdown needs to escape */
}
.ap-subnav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  /* overflow visible so absolute dropdown shows */
  overflow: visible;
}
.ap-subnav-links {
  display: flex;
  flex-direction: row;
  gap: 40px;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  justify-content: center;
}
.ap-subnav-links::-webkit-scrollbar { display: none; }
.ap-subnav-link {
  font-family: Inter, sans-serif;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  padding: 16px 0 12px;
  cursor: pointer;
  transition: color .25s;
  display: block;
}
.ap-subnav-link:hover,
.ap-subnav-link.active { color: var(--ap-purple); font-weight: 700; }
.ap-subnav-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: #e6e6e6;
}
.ap-subnav-indicator {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: var(--ap-purple);
  border-radius: 3px 3px 0 0;
  transition: transform .3s cubic-bezier(.645,.045,.355,1), width .3s;
}
.ap-subnav-hamburger {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 10;
}
.ap-subnav-hamburger span {
  display: block;
  height: 2.5px;
  background: var(--ap-purple);
  border-radius: 3px;
}

/* ─────────────────────────────────────
   ABOUT SECTION
   Image left 44% | text right
───────────────────────────────────── */
#ap-about {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 100px 72px;
  scroll-margin-top: 120px;
}
.ap-about-grid {
  display: flex;
  flex-direction: row;
  gap: 72px;
  align-items: flex-start;
}
.ap-about-img-wrap {
  flex: 0 0 44%;
  max-width: 44%;
  border-radius: 8px;
  overflow: hidden;
}
.ap-about-img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}
.ap-about-img-placeholder {
  width: 100%;
  height: 520px;
  background: linear-gradient(135deg, #e8d8ff 0%, #c9a8f5 100%);
  border-radius: 8px;
}
.ap-about-content {
  flex: 1;
  padding-top: 12px;
}

/* Label: "ABOUT US" — small uppercase gradient */
.ap-about-label {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ap-purple);
  margin-bottom: 14px;
  display: block;
  /* gradient-text class handles the gradient */
}

/* Heading: "Protecting What Makes You Smile" */
.ap-about-heading {
  font-size: 49px;
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 28px;
  display: block;
}

/* Body paragraphs */
.ap-about-text p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ap-purple);
  margin-bottom: 16px;
}
.ap-about-text p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────
   TIMELINE  (purple band)
───────────────────────────────────── */
#ap-timeline {
  background: var(--ap-purple-dk);
  color: #fff;
  padding: 56px 100px 64px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 120px;
}

/* Header row */
.ap-tl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
}
.ap-tl-header h2 {
  font-size: 48px;
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

/* Arrows */
.ap-tl-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ap-tl-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .3s;
  background: none;
  border: none;
  padding: 0;
}
.ap-tl-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}
.ap-tl-arrow svg {
  width: 70px;
  height: 70px;
  stroke: rgba(255, 255, 255, .8);
  stroke-width: 1.8;
}

/* Body row */
.ap-tl-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  margin-bottom: 32px;
  transition: opacity .3s ease;
}
.ap-tl-body.fading { opacity: 0; }

/* Circle image */
.ap-tl-img-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.3);
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
}
.ap-tl-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ghost year number */
.ap-tl-bignumber {
  font-family: Inter, sans-serif;
  font-size: clamp(80px, 15vw, 268px);
  font-weight: 300;
  color: rgba(255, 255, 255, .08);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  align-self: flex-end;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  transition: opacity .4s;
}

/* Track */
.ap-tl-track {
  position: relative;
  height: 52px;
  z-index: 5;
  margin-bottom: 28px;
}
.ap-tl-line {
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: rgba(255,255,255,.22);
  transform: translateY(-50%);
}
.ap-tl-marker {
  position: absolute;
  left: var(--marker-pct, 5%);
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 6;
  transition: left .45s cubic-bezier(.4,0,.2,1);
}
.ap-tl-year-pill {
  background: #fff;
  color: var(--ap-purple-dk);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 6px;
  white-space: nowrap;
}
.ap-tl-dot {
  width: 20px; height: 20px;
  background: var(--ap-purple-dk);
  border: 3px solid #fff;
  border-radius: 50%;
  position: relative;
}
.ap-tl-dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}

/* Description */
.ap-tl-desc {
  position: relative;
  z-index: 5;
  max-width: 680px;
  transition: opacity .3s ease;
}
.ap-tl-desc.fading { opacity: 0; }
.ap-tl-desc p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,.90);
  margin: 0 0 8px;
}
.ap-tl-desc p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────
   VISION & MISSION
───────────────────────────────────── */
#ap-vision {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 100px 64px;
  scroll-margin-top: 120px;
}
.ap-vm-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ap-vm-block { padding: 32px 0; }
.ap-vm-divider {
  height: 1px;
  background: #e0d4f0;
}
.ap-vm-heading {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--ap-grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ap-vm-block p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ap-purple);
  margin-bottom: 12px;
}
.ap-vm-block p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────
   SECTION HEADER  (awards / testimonials)
───────────────────────────────────── */
.ap-section-header {
  position: relative;
  margin-bottom: 40px;
  text-align: center;
  padding: 0 64px;
}
.ap-section-header.no-arrows { padding: 0; }

.ap-section-heading {
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--ap-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: block;
  margin-bottom: 10px;
  line-height: 1.1;
}
.ap-section-subtitle {
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: rgba(73,16,132,.60);
  margin: 0;
  display: block;
  line-height: 1.6;
}

/* Plain arrows */
.ap-nav-arrows {
  position: absolute;
  top: -46px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.ap-arrow-btn {
  width: 32px; height: 32px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  transition: opacity .2s;
}
.ap-arrow-btn:hover { opacity: .55; }
.ap-arrow-btn svg {
  width: 70px;
  height: 70px;
  stroke: var(--ap-purple);
  stroke-width: 1.8;
  fill: none;
}

/* ─────────────────────────────────────
   AWARDS & ACCOLADES
───────────────────────────────────── */
#ap-awards {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 100px 80px;
  scroll-margin-top: 120px;
}

.ap-awards-carousel:not(.owl-loaded) {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  scrollbar-width: none;
}
.ap-awards-carousel:not(.owl-loaded)::-webkit-scrollbar { display: none; }
.ap-awards-carousel:not(.owl-loaded) .ap-award-card { flex: 0 0 210px; }

.ap-awards-carousel.owl-loaded { display: block; }
.ap-awards-carousel .owl-item  { display: flex; align-items: stretch; }
.ap-awards-carousel .owl-item .ap-award-card { height: 100%; }

.ap-award-card {
  background: rgba(225,208,240,0.55);
  border-radius: 12px;
  padding: 28px 16px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 260px;
  width: 100%;
  box-sizing: border-box;
}
.ap-award-img {
  width: 130px; height: 130px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ap-award-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ap-award-img-empty {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(73,16,132,.1);
  margin: 0 auto 16px;
  flex-shrink: 0;
}
.ap-award-card p {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ap-purple);
  line-height: 1.55;
  margin: 0;
  text-align: center;
}

/* ─────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────── */
#ap-testimonials {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 100px 80px;
  scroll-margin-top: 120px;
}

.ap-testi-carousel:not(.owl-loaded) {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  scrollbar-width: none;
}
.ap-testi-carousel:not(.owl-loaded)::-webkit-scrollbar { display: none; }
.ap-testi-carousel:not(.owl-loaded) .ap-testi-card { flex: 0 0 300px; }

.ap-testi-carousel.owl-loaded  { display: block; }
.ap-testi-carousel .owl-stage  { display: flex; align-items: stretch; }
.ap-testi-carousel .owl-item   { display: flex; align-items: stretch; }
.ap-testi-carousel .owl-item .ap-testi-card { height: 100%; }

.ap-testi-card {
  background: #491084;
  color: #fff;
  border-radius: 12px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  width: 100%;
  height: 100%;
}
.ap-testi-project {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.80);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.ap-testi-quote {
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255,255,255,.92);
  flex-grow: 1;
  margin-bottom: 18px;
}
.ap-testi-author strong {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: block;
}
.ap-testi-author span {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  display: block;
  margin-top: 3px;
}

.ap-testi-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}
.ap-testi-carousel .owl-dot span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(73,16,132,.2);
  display: block;
  margin: 0 4px;
  transition: background .3s;
}
.ap-testi-carousel .owl-dot.active span { background: var(--ap-purple); }

/* ─────────────────────────────────────
   LEAD CARD  (Managing Director)
───────────────────────────────────── */
#ap-lead {
  max-width: 1440px;
  margin: 40px auto;
  padding: 0 100px;
  scroll-margin-top: 120px;
}
.ap-lead-card {
  background: var(--ap-grey-bg);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  overflow: hidden;
  min-height: 360px;
}
.ap-lead-left {
  padding: 56px 0px 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 63%;
}
.ap-lead-tagline {
  font-family: Inter, sans-serif;
  font-size: 50px;
  font-weight: 300;
  color: rgb(45, 45, 168);
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ap-lead-name {
  font-family: Inter, sans-serif;
  font-size: 35px;
  font-weight: 300;
  color: rgb(45, 45, 168);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ap-lead-role {
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: rgb(68, 68, 68);
  margin: 0;
}
.ap-lead-right {
  flex: 0 0 40%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
}
.ap-lead-right img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

/* Bio */
.ap-lead-bio {
  background: #ffffff;
  /* border-radius: 0 0 16px 16px; */
}
.ap-lead-bio-inner {
  column-count: 2;
  column-gap: 49px;
  padding: 36px 0px 48px;
}
.ap-lead-bio-inner p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ap-purple);
  margin-bottom: 12px;
}
.ap-lead-bio-inner p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────
   MENTOR CARD
───────────────────────────────────── */
#ap-mentor {
  max-width: 1440px;
  margin: 32px auto 48px;
  padding: 0 100px;
}
.ap-mentor-card {
  background: var(--ap-grey-bg);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  align-items: center;
  gap: 40px;
  min-height: 360px;
}
.ap-mentor-left {
  padding: 48px 40px 48px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 63%;
}
.ap-mentor-name {
  font-family: Inter, sans-serif;
  font-size: 50px;
  font-weight: 300;
  color: rgb(45, 45, 168);
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.1;
}
.ap-mentor-subtitle {
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: rgb(45, 45, 168);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.ap-mentor-role {
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: rgb(68, 68, 68);
  margin: 0;
}
.ap-mentor-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
}
.ap-mentor-right img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

/* ─────────────────────────────────────
   LEADERSHIP TEAM
───────────────────────────────────── */
#ap-team {
  background: #fff;
  padding: 72px 100px 88px;
  scroll-margin-top: 120px;
}

.ap-team-header {
  text-align: center;
  margin-bottom: 52px;
}
.ap-team-header h2 {
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-weight: 300;
  background: var(--ap-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  line-height: 1.1;
}
.ap-team-header p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(73,16,132,.55);
  margin: 0;
}

.ap-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  gap: 36px;
  justify-content: center;
  margin: 0 auto;
}

.ap-team-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(175deg, #f5eeff 0%, #dbb6f5 55%, #b87ee8 100%);
  cursor: default;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
  box-shadow: 0 2px 16px rgba(140,60,220,.10);
}
.ap-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(140,60,220,.20);
}
.ap-team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: block;
}
.ap-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: none;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.ap-team-card:hover .ap-team-photo img { transform: scale(1.03); }

.ap-team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(109,40,217,0) 45%, rgba(109,40,217,0.85) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.ap-team-card:hover::after { opacity: 1; }

.ap-team-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 24px 20px;
  z-index: 2;
  background: linear-gradient(0deg, rgba(80,10,140,.70) 0%, rgba(80,10,140,.0) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.ap-team-card:hover .ap-team-info { opacity: 1; transform: translateY(0); }
.ap-team-info h3 {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.ap-team-info p {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.82);
  margin: 0;
}

/* ─────────────────────────────────────
   WORK WITH US
───────────────────────────────────── */
#ap-work {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 100px 80px;
  scroll-margin-top: 120px;
}
.ap-work-grid {
  display: flex;
  flex-direction: row;
  gap: 72px;
  align-items: center;
}
.ap-work-img-wrap {
  flex: 0 0 44%;
  border-radius: 16px;
  overflow: hidden;
}
.ap-work-img-wrap img {
  width: 100%; height: 400px;
  object-fit: cover; display: block;
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}
.ap-work-img-wrap:hover img { transform: scale(1.05); }
.ap-work-img-placeholder {
  width: 100%; height: 400px;
  background: linear-gradient(135deg, #e8d8ff 0%, #c9a8f5 100%);
  border-radius: 16px;
}
.ap-work-content { flex: 1; }
.ap-work-heading {
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-weight: 300;
  background: var(--ap-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}
.ap-work-content p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ap-purple);
  margin-bottom: 16px;
}
.ap-work-btn {
  display: inline-block;
  background: var(--ap-purple);
  color: #fff !important;
  padding: 13px 32px;
  border-radius: 30px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .3s, transform .3s;
}
.ap-work-btn:hover { background: #6018b0; transform: translateY(-2px); }

/* ─────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────── */
.ap-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.ap-anim.ap-visible { opacity: 1; transform: translateY(0); }
.ap-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.ap-reveal.ap-visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────
   SUBNAV DROPDOWN — shared tablet/mobile base
   Works for all breakpoints ≤1023px
───────────────────────────────────── */
@media (max-width: 1023px) {
  #ap-subnav { top: 71px; overflow: visible; }

  .ap-subnav-inner {
    padding: 0 56px 0 20px;
    justify-content: flex-start;
    overflow: visible;
  }
  .ap-subnav-hamburger { display: flex; }

  /* Dropdown panel — positioned relative to #ap-subnav (sticky element) */
  .ap-subnav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 0;
    box-shadow: none;
    z-index: 9999;
    transition: max-height 0.35s ease, padding 0.3s ease, box-shadow 0.3s ease;
    justify-content: flex-start;
    border-top: 1px solid #f0f0f0;
  }
  .ap-subnav-links.open {
    max-height: 600px;
    padding: 8px 20px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    overflow-y: auto;
  }
  .ap-subnav-link {
    padding: 13px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    white-space: normal;
    display: block;
    width: 100%;
  }
  .ap-subnav-link:last-child { border-bottom: none; }
  .ap-subnav-bar { display: none; }
}

/* ─────────────────────────────────────
   RESPONSIVE — TABLET (769px to 1023px)
───────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1023px) {

  /* about — stacked */
  #ap-about      { padding: 48px 32px; }
  .ap-about-grid { flex-direction: column; gap: 32px; }
  .ap-about-img-wrap { flex: none; max-width: 100%; width: 100%; }
  .ap-about-img-wrap img {height: 480px;object-fit: cover;width: 100%;}
  .ap-about-heading { font-size: 30px; }
  .ap-about-text p  { font-size: 15px; }

  /* timeline */
  #ap-timeline   { padding: 40px 32px 48px; }
  .ap-tl-header h2 { font-size: 30px; }
  .ap-tl-body    { flex-direction: row; gap: 16px; align-items: flex-start; }
  .ap-tl-bignumber {font-size: 178px;align-self: flex-end;flex-shrink: 1;}
  .ap-tl-img-circle { width: 160px; height: 160px; flex-shrink: 0; }

  /* vision */
  #ap-vision     { padding: 48px 32px; }
  .ap-vm-heading { font-size: 28px; }
  .ap-vm-block p { font-size: 15px; }

  /* awards / testi */
  #ap-awards     { padding: 40px 32px 56px; }
  #ap-testimonials { padding: 40px 32px 56px; }
  .ap-section-heading { font-size: 30px; }
  .ap-section-header  { padding: 0 44px; }

  /* lead — stacked on tablet to avoid overflow */
  #ap-lead       { padding: 0 32px; margin: 24px auto; }
  .ap-lead-card  { flex-direction: column; align-items: stretch; }
  .ap-lead-left  { flex: none; padding: 36px 28px 28px; }
  .ap-lead-tagline { font-size: 26px; }
  .ap-lead-name    { font-size: 20px; }
  .ap-lead-right { justify-content: center; }
  .ap-lead-right img { max-height: 260px; margin: 0 auto; object-fit: contain; }
  .ap-lead-bio-inner { column-count: 1; padding: 20px 32px 32px; }

  /* mentor — stacked */
  #ap-mentor     { padding: 0 32px; margin: 20px auto 32px; }
  .ap-mentor-card { flex-direction: column; align-items: stretch; }
  .ap-mentor-left { flex: none; padding: 36px 28px 28px; }
  .ap-mentor-name { font-size: 26px; }
  .ap-mentor-subtitle { font-size: 18px; }
  .ap-mentor-right { justify-content: center; }
  .ap-mentor-right img { max-height: 240px; margin: 0 auto; object-fit: contain; }

  /* team */
  #ap-team       { padding: 48px 32px 64px; }
  .ap-team-grid  { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 100%; }
  .ap-team-header h2 { font-size: 30px; }

  /* work — stacked */
  #ap-work       { padding: 48px 32px 64px; }
  .ap-work-grid  { flex-direction: column; gap: 32px; }
  .ap-work-img-wrap { flex: none; max-width: 100%; }
  .ap-work-img-wrap img { height: 300px; width: 100%; }
  .ap-work-heading { font-size: 30px; }
}

/* ─────────────────────────────────────
   RESPONSIVE — TABLET PORTRAIT (481px to 768px)
───────────────────────────────────── */
@media (min-width: 481px) and (max-width: 768px) {
  /* subnav handled by shared ≤1023px block above */

  /* about */
  #ap-about { padding: 44px 24px 40px; }
  .ap-about-grid { flex-direction: column; gap: 28px; }
  .ap-about-img-wrap { flex: none; max-width: 100%; width: 100%; }
  .ap-about-img-wrap img { height: 320px; width: 100%; object-fit: cover; }
  .ap-about-heading { font-size: 28px; }
  .ap-about-text p  { font-size: 14px; }

  /* timeline */
  #ap-timeline { padding: 40px 24px 48px; }
  .ap-tl-header h2 { font-size: 26px; }
  .ap-tl-body { flex-direction: row; gap: 12px; align-items: flex-start; }
  .ap-tl-bignumber { font-size: clamp(50px, 9vw, 90px); align-self: flex-end; flex-shrink: 1; }
  .ap-tl-img-circle { width: 150px; height: 150px; flex-shrink: 0; }
  .ap-tl-desc p { font-size: 14px; }

  /* vision */
  #ap-vision { padding: 40px 24px 36px; }
  .ap-vm-heading { font-size: 26px; }
  .ap-vm-block p { font-size: 14px; }

  /* awards / testi */
  #ap-awards { padding: 36px 24px 48px; }
  #ap-testimonials { padding: 36px 24px 48px; }
  .ap-section-heading { font-size: 26px; }
  .ap-section-header { padding: 0 44px; }

  /* lead */
  #ap-lead { padding: 0 24px; margin: 24px auto; }
  .ap-lead-card { flex-direction: column; align-items: stretch; }
  .ap-lead-left { padding: 32px 20px 24px; flex: none; }
  .ap-lead-tagline { font-size: 22px; }
  .ap-lead-name { font-size: 18px; }
  .ap-lead-right { justify-content: center; }
  .ap-lead-right img { max-height: 240px; margin: 0 auto; }
  .ap-lead-bio-inner { column-count: 1; padding: 20px 24px 28px; }

  /* mentor */
  #ap-mentor { padding: 0 24px; margin: 16px auto 32px; }
  .ap-mentor-card { flex-direction: column; align-items: stretch; }
  .ap-mentor-left { padding: 32px 20px 24px; flex: none; }
  .ap-mentor-name { font-size: 24px; }
  .ap-mentor-subtitle { font-size: 16px; }
  .ap-mentor-right { justify-content: center; }
  .ap-mentor-right img { max-height: 220px; margin: 0 auto; }

  /* team */
  #ap-team { padding: 44px 24px 56px; }
  .ap-team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 100%; }
  .ap-team-header h2 { font-size: 26px; }

  /* work */
  #ap-work { padding: 44px 24px 56px; }
  .ap-work-grid { flex-direction: column; gap: 28px; }
  .ap-work-img-wrap { flex: none; max-width: 100%; }
  .ap-work-img-wrap img { height: 260px; width: 100%; }
  .ap-work-heading { font-size: 26px; }
  .ap-work-content p { font-size: 14px; }
}

/* ─────────────────────────────────────
   RESPONSIVE — MOBILE ≤480px
───────────────────────────────────── */
@media (max-width: 480px) {
  /* subnav handled by shared ≤1023px block above */

  /* about */
  #ap-about {padding: 44px 20px 40px;}
  .ap-about-grid { flex-direction: column; gap: 28px; }
  .ap-about-img-wrap { flex: none; max-width: 100%; width: 100%; }
  .ap-about-img-wrap img { height: 240px; width: 100%; object-fit: cover; }
  .ap-about-heading { font-size: 28px; }
  .ap-about-text p  {font-size: 16px;}

  /* timeline */
  #ap-timeline { padding: 40px 20px 48px; }
  .ap-tl-header h2 {font-size: 24px;}
  .ap-tl-body { flex-direction: row; gap: 12px; align-items: flex-start; }
  .ap-tl-bignumber { font-size: clamp(50px, 12vw, 100px); align-self: flex-end; flex-shrink: 1; }
  .ap-tl-img-circle { width: 130px; height: 130px; flex-shrink: 0; }
  .ap-tl-header { margin-bottom: 28px; }
  .ap-tl-desc p {font-size: 16px;}

  /* vision */
  #ap-vision { padding: 40px 20px 36px; }
  .ap-vm-heading {font-size: 24px;}
  .ap-vm-block p {font-size: 16px;}

  /* awards / testi */
  #ap-awards { padding: 36px 20px 48px; }
  #ap-testimonials { padding: 36px 20px 48px; }
  .ap-section-heading { font-size: 28px; }
  .ap-section-subtitle {font-size: 16px;}
  .ap-section-header { padding: 0 52px; }

  /* lead */
  #ap-lead { padding: 0 16px; margin: 24px auto; }
  .ap-lead-card { flex-direction: column; align-items: stretch; border-radius: 16px 16px 0 0; }
  .ap-lead-left { padding: 32px 24px 24px; }
  .ap-lead-tagline { font-size: 22px; }
  .ap-lead-right { justify-content: center; }
  .ap-lead-right img { max-height: 220px; margin: 0 auto; }
  .ap-lead-bio-inner { column-count: 1; padding: 24px 20px 28px; }
	.ap-lead-name {font-size: 22px;}	

  /* mentor */
  #ap-mentor { padding: 0 16px; margin: 16px auto 32px; }
  .ap-mentor-card { flex-direction: column; align-items: stretch; }
  .ap-mentor-left { padding: 32px 24px 24px; }
  .ap-mentor-name { font-size: 24px; }
  .ap-mentor-right { justify-content: center; }
  .ap-mentor-right img { max-height: 200px; margin: 0 auto; }


  /* team */
  #ap-team { padding: 44px 20px 56px; }
  .ap-team-grid { grid-template-columns: 1fr; max-width: 380px; gap: 20px; }
  .ap-team-header h2 {font-size: 24px;}

  /* work */
  #ap-work { padding: 44px 20px 56px; }
  .ap-work-grid { flex-direction: column; gap: 32px; }
  .ap-work-img-wrap { flex: none; }
  .ap-work-img-wrap img { height: 240px; }
  .ap-work-heading { font-size: 28px; }
  .ap-work-content p {font-size: 16px;}
}


/* ═══════════════════════════════════════════════════════════════════
   ALL TARGET VIEWPORT BREAKPOINTS
   344×882 · 412×914 · 540×720 · 768×1024
   820×1180 · 853×1280 · 912×1368 · 1024×600 · 1024×1366 · 1280×800
═══════════════════════════════════════════════════════════════════ */

/* ── ≤344px – Very narrow mobile (344×882) ───────────────────────── */
@media (max-width: 344px) {
  /* subnav handled by shared ≤1023px block */
  .ap-subnav-inner { padding: 0 44px 0 12px; justify-content: flex-start; }

  #ap-about              { padding: 36px 14px 32px; }
  .ap-about-grid         { flex-direction: column; gap: 20px; }
  .ap-about-img-wrap     { flex: none; max-width: 100%; }
  .ap-about-img-wrap img { height: 200px; }
  .ap-about-heading      { font-size: 22px; }
  .ap-about-text p       { font-size: 13px; }
  .ap-about-label        { font-size: 11px; }

  #ap-timeline           { padding: 36px 14px 44px; }
  .ap-tl-header h2       { font-size: 22px; }
  .ap-tl-bignumber       { font-size: 80px; }
  .ap-tl-img-circle      { width: 120px; height: 120px; }
  .ap-tl-desc p          { font-size: 13px; }

  #ap-vision             { padding: 36px 14px 32px; }
  .ap-vm-heading         { font-size: 22px; }
  .ap-vm-block p         { font-size: 13px; }

  #ap-awards             { padding: 28px 14px 40px; }
  #ap-testimonials       { padding: 28px 14px 40px; }
  .ap-section-heading    { font-size: 22px; }
  .ap-section-header     { padding: 0 44px; }

  #ap-lead               { padding: 0 14px; margin: 20px auto; }
  .ap-lead-card          { flex-direction: column; border-radius: 14px 14px 0 0; }
  .ap-lead-left          { padding: 28px 18px 20px; flex: none; }
  .ap-lead-tagline       { font-size: 18px; }
  .ap-lead-name          { font-size: 18px; }
  .ap-lead-right         { justify-content: center; }
  .ap-lead-right img     { max-height: 180px; margin: 0 auto; }
  .ap-lead-bio-inner     { column-count: 1; padding: 20px 18px 24px; }

  #ap-mentor             { padding: 0 14px; margin: 14px auto 28px; }
  .ap-mentor-card        { flex-direction: column; }
  .ap-mentor-left        { padding: 28px 18px 20px; flex: none; }
  .ap-mentor-name        { font-size: 20px; }
  .ap-mentor-right       { justify-content: center; }
  .ap-mentor-right img   { max-height: 160px; margin: 0 auto; }

  #ap-team               { padding: 36px 14px 48px; }
  .ap-team-grid          { grid-template-columns: 1fr; gap: 16px; max-width: 300px; }
  .ap-team-header h2     { font-size: 22px; }

  #ap-work               { padding: 36px 14px 48px; }
  .ap-work-grid          { flex-direction: column; gap: 24px; }
  .ap-work-img-wrap img  { height: 200px; }
  .ap-work-heading       { font-size: 22px; }
  .ap-work-content p     { font-size: 13px; }
}

/* ── 345px–480px refinements (412×914) ──────────────────────────── */
@media (min-width: 345px) and (max-width: 480px) {
  .ap-about-img-wrap img { height: 240px; }
  .ap-about-heading      {font-size: 24px;}
  .ap-tl-bignumber       {font-size: 138px;}
  .ap-tl-img-circle      { width: 150px; height: 150px; }
  .ap-section-heading    {font-size: 24px;}
  .ap-lead-tagline       {font-size: 24px;}
  .ap-lead-name          {font-size: 24px;}
  .ap-mentor-name        { font-size: 24px; }
  .ap-work-heading       {font-size: 24px;}
}

/* ── 481px–600px – Small tablet portrait (540×720) ──────────────── */
@media (min-width: 481px) and (max-width: 600px) {
  .ap-about-img-wrap img { height: 370px; }
  .ap-about-heading      { font-size: 30px; }
  .ap-tl-bignumber       { font-size: 100px; }
  .ap-tl-img-circle      { width: 165px; height: 165px; }
  .ap-section-heading    { font-size: 30px; }
  .ap-team-grid          { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .ap-lead-tagline       { font-size: 24px; }
  .ap-mentor-name        { font-size: 26px; }
  .ap-work-heading       { font-size: 30px; }
}

/* ── 601px–768px – Tablet portrait (768×1024) ───────────────────── */
@media (min-width: 601px) and (max-width: 768px) {
  /* subnav handled by shared ≤1023px block */
  .ap-subnav-inner       { padding: 0 60px 0 28px; justify-content: flex-start; }

  #ap-about              { padding: 52px 40px 48px; }
  .ap-about-grid         { flex-direction: column; gap: 36px; }
  .ap-about-img-wrap     { flex: none; max-width: 100%; }
  .ap-about-img-wrap img { height: 440px; }
  .ap-about-heading      { font-size: 34px; }
  .ap-about-text p       { font-size: 15px; }

  #ap-timeline           { padding: 44px 36px 52px; }
  .ap-tl-header h2       { font-size: 32px; }
  .ap-tl-body            {flex-direction: row;gap: 20px;}
  .ap-tl-bignumber       {font-size: 211px;align-self: flex-start;}
  .ap-tl-img-circle      { width: 178px; height: 178px; }

  #ap-vision             { padding: 48px 40px 44px; }
  .ap-vm-heading         { font-size: 32px; }

  #ap-awards             { padding: 44px 40px 56px; }
  #ap-testimonials       { padding: 44px 40px 56px; }
  .ap-section-heading    { font-size: 32px; }

  #ap-lead               { padding: 0 40px; margin: 28px auto; }
  .ap-lead-card          { flex-direction: column; align-items: stretch; border-radius: 16px 16px 0 0; }
  .ap-lead-left          { padding: 40px 36px 32px; flex: none; }
  .ap-lead-tagline       { font-size: 30px; }
  .ap-lead-right         { justify-content: center; }
  .ap-lead-right img     { max-height: 280px; margin: 0 auto; }
  .ap-lead-bio-inner     { column-count: 1; padding: 28px 40px 36px; }

  #ap-mentor             { padding: 0 40px; margin: 24px auto 40px; }
  .ap-mentor-card        { flex-direction: column; align-items: stretch; }
  .ap-mentor-left        { padding: 40px 36px 32px; flex: none; }
  .ap-mentor-name        { font-size: 30px; }
  .ap-mentor-right       { justify-content: center; }
  .ap-mentor-right img   { max-height: 260px; margin: 0 auto; }

  #ap-team               { padding: 52px 40px 64px; }
  .ap-team-grid          { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 20px; }
  .ap-team-header h2     { font-size: 32px; }

  #ap-work               { padding: 52px 40px 64px; }
  .ap-work-grid          { flex-direction: column; gap: 36px; }
  .ap-work-img-wrap      { flex: none; }
  .ap-work-img-wrap img  { height: 300px; }
  .ap-work-heading       { font-size: 34px; }
}

/* ── 820px–912px sub-range (820×1180 / 853×1280) ────────────────── */
@media (min-width: 820px) and (max-width: 912px) {
  #ap-about              { padding: 56px 48px; }
  .ap-about-img-wrap img {height: 451px;}
  .ap-about-heading      { font-size: 32px; }
  .ap-tl-header h2       { font-size: 34px; }
  .ap-tl-bignumber       {font-size: 183px;@media (max-width: 360px);@media (max-width: 360px);}
  .ap-tl-img-circle      { width: 175px; height: 175px; }
  #ap-vision             { padding: 56px 48px; }
  .ap-vm-heading         { font-size: 30px; }
  #ap-awards             { padding: 48px 48px 64px; }
  #ap-testimonials       { padding: 48px 48px 64px; }
  .ap-section-heading    { font-size: 32px; }

  /* lead — stacked to avoid overflow */
  #ap-lead               { padding: 0 48px; margin: 28px auto; }
  .ap-lead-card          { flex-direction: column; align-items: stretch; }
  .ap-lead-left          { flex: none; padding: 40px 36px 32px; }
  .ap-lead-tagline       { font-size: 28px; }
  .ap-lead-name          { font-size: 20px; }
  .ap-lead-right         { justify-content: center; }
  .ap-lead-right img     { max-height: 280px; margin: 0 auto; }
  .ap-lead-bio-inner     {column-count: 1;padding: 24px 19px 36px;}

  /* mentor — stacked */
  #ap-mentor             { padding: 0 48px; margin: 24px auto 40px; }
  .ap-mentor-card        { flex-direction: column; align-items: stretch; }
  .ap-mentor-left        { flex: none; padding: 40px 36px 32px; }
  .ap-mentor-name        { font-size: 28px; }
  .ap-mentor-subtitle    { font-size: 18px; }
  .ap-mentor-right       { justify-content: center; }
  .ap-mentor-right img   { max-height: 260px; margin: 0 auto; }

  #ap-team               { padding: 52px 48px 68px; }
  .ap-team-grid          { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 100%; }
  .ap-team-header h2     { font-size: 32px; }
  #ap-work               { padding: 52px 48px 68px; }
  .ap-work-img-wrap img  { height: 320px; }
  .ap-work-heading       { font-size: 32px; }
}

/* ── 913px–1023px sub-range (912×1368) ──────────────────────────── */
@media (min-width: 913px) and (max-width: 1023px) {
  #ap-about              { padding: 60px 52px; }
  .ap-about-img-wrap img { height: 440px; }
  .ap-about-heading      { font-size: 34px; }
  .ap-tl-header h2       { font-size: 38px; }
  .ap-tl-bignumber       { font-size: clamp(70px, 11vw, 140px); }
  .ap-tl-img-circle      { width: 190px; height: 190px; }
  #ap-vision             { padding: 60px 52px; }
  .ap-vm-heading         { font-size: 34px; }
  #ap-awards             { padding: 52px 52px 68px; }
  #ap-testimonials       { padding: 52px 52px 68px; }
  .ap-section-heading    { font-size: 38px; }

  /* lead — stacked */
  #ap-lead               { padding: 0 52px; margin: 32px auto; }
  .ap-lead-card          { flex-direction: column; align-items: stretch; }
  .ap-lead-left          { flex: none; padding: 44px 40px 36px; }
  .ap-lead-tagline       { font-size: 30px; }
  .ap-lead-name          { font-size: 22px; }
  .ap-lead-right         { justify-content: center; }
  .ap-lead-right img     { max-height: 300px; margin: 0 auto; }
  .ap-lead-bio-inner     { column-count: 1; padding: 28px 52px 44px; }

  /* mentor — stacked */
  #ap-mentor             { padding: 0 52px; margin: 24px auto 44px; }
  .ap-mentor-card        { flex-direction: column; align-items: stretch; }
  .ap-mentor-left        { flex: none; padding: 44px 40px 36px; }
  .ap-mentor-name        { font-size: 30px; }
  .ap-mentor-subtitle    { font-size: 20px; }
  .ap-mentor-right       { justify-content: center; }
  .ap-mentor-right img   { max-height: 280px; margin: 0 auto; }

  #ap-team               { padding: 56px 52px 72px; }
  .ap-team-grid          { grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 100%; }
  .ap-team-header h2     { font-size: 38px; }
  #ap-work               { padding: 56px 52px 72px; }
  .ap-work-img-wrap img  { height: 340px; }
  .ap-work-heading       { font-size: 36px; }
}

/* ── min-width: 1024px – Desktop restore (1024×600 · 1024×1366 · 1280×800) */
@media (min-width: 1024px) {
  /* subnav — full horizontal */
  .ap-subnav-hamburger   { display: none !important; }
  .ap-subnav-links       { display: flex !important; flex-direction: row !important; position: static !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; max-height: none !important; overflow: visible !important; border-top: none !important; width: 100% !important; gap: 20px !important; }
  .ap-subnav-link        { padding: 14px 0 10px; border-bottom: none !important; font-size: 13px; white-space: nowrap; }
  .ap-subnav-bar         { display: block; }
  .ap-subnav-inner       { padding: 0 32px; overflow: visible; justify-content: center; }

  /* about — side by side restored */
  .ap-about-grid         { flex-direction: row; }
  .ap-about-img-wrap     { flex: 0 0 44%; max-width: 44%; }
  .ap-about-img-wrap img { height: 480px; }

  /* lead / mentor — side by side restored */
  .ap-lead-card          { flex-direction: row; align-items: flex-end; }
  .ap-lead-left          { flex: 0 0 63%; padding: 56px 0 80px 72px; }
  .ap-lead-right         { flex: 0 0 37%; justify-content: flex-end; }
  .ap-lead-right img     { max-height: 380px; margin: 0; }
  .ap-lead-bio-inner     { column-count: 2; padding: 36px 0 48px; }

  .ap-mentor-card        { flex-direction: row; align-items: center; }
  .ap-mentor-left        { flex: 0 0 63%; padding: 48px 40px 48px 72px; }
  .ap-mentor-right       { justify-content: flex-end; }
  .ap-mentor-right img   { max-height: 320px; margin: 0; }

  /* work — side by side restored */
  .ap-work-grid          { flex-direction: row; }
  .ap-work-img-wrap      { flex: 0 0 44%; }

  /* team — 2 col */
  .ap-team-grid          { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}

/* 1024px landscape (1024×600) — tighter vertical padding */
@media (min-width: 1024px) and (max-width: 1100px) and (max-height: 700px) {
  #ap-subnav { top: 72px; }
  .ap-subnav-links { gap: 16px !important; }
  .ap-subnav-link  { font-size: 12px; padding: 12px 0 8px; }
  .ap-subnav-inner { padding: 0 20px; }
  #ap-about              { padding: 36px 72px; }
  .ap-about-img-wrap img { height: 300px; }
  .ap-about-heading      { font-size: 28px; }
  .ap-about-text p       { font-size: 14px; }
  #ap-timeline           { padding: 28px 72px 36px; }
  .ap-tl-header h2       { font-size: 28px; }
  .ap-tl-bignumber       { font-size: clamp(80px, 12vw, 160px); }
  .ap-tl-img-circle      { width: 140px; height: 140px; }
  #ap-vision             { padding: 36px 72px; }
  .ap-vm-heading         { font-size: 28px; }
  .ap-vm-block p         { font-size: 14px; }
  #ap-awards             { padding: 32px 72px 44px; }
  #ap-testimonials       { padding: 32px 72px 44px; }
  .ap-section-heading    { font-size: 30px; }
  #ap-lead               { padding: 0 72px; margin: 20px auto; }
  .ap-lead-left          { padding: 32px 0 44px 56px; }
  .ap-lead-tagline       { font-size: 26px; }
  .ap-lead-name          { font-size: 20px; }
  .ap-lead-right img     { max-height: 260px; }
  .ap-lead-bio-inner     { column-count: 2; padding: 20px 0 28px; font-size: 13px; }
  #ap-mentor             { padding: 0 72px; margin: 16px auto 28px; }
  .ap-mentor-left        { padding: 28px 32px 28px 56px; }
  .ap-mentor-name        { font-size: 26px; }
  .ap-mentor-subtitle    { font-size: 18px; }
  .ap-mentor-right img   { max-height: 240px; }
  #ap-team               { padding: 36px 72px 48px; }
  .ap-team-header h2     { font-size: 30px; }
  #ap-work               { padding: 36px 72px 48px; }
  .ap-work-img-wrap img  { height: 260px; }
  .ap-work-heading       { font-size: 30px; }
  .ap-work-content p     { font-size: 14px; }
}

/* 1024x1366 iPad Pro portrait — generous vertical space */
@media (min-width: 1024px) and (max-width: 1100px) and (min-height: 1300px) {
  #ap-subnav { top: 72px; }
  .ap-subnav-links { gap: 18px !important; }
  .ap-subnav-link  { font-size: 12.5px; padding: 14px 0 10px; }
  .ap-subnav-inner { padding: 0 24px; }
  #ap-about              { padding: 64px 80px; }
  .ap-about-img-wrap img { height: 500px; }
  .ap-about-heading      { font-size: 38px; }
  .ap-about-text p       { font-size: 16px; }
  #ap-timeline           { padding: 56px 80px 68px; }
  .ap-tl-header h2       { font-size: 40px; }
  .ap-tl-bignumber       { font-size: 200px; }
  .ap-tl-img-circle      { width: 200px; height: 200px; }
  #ap-vision             { padding: 60px 80px; }
  .ap-vm-heading         { font-size: 40px; }
  #ap-awards             { padding: 56px 80px 72px; }
  #ap-testimonials       { padding: 56px 80px 72px; }
  .ap-section-heading    { font-size: 40px; }
  #ap-lead               { padding: 0 80px; margin: 32px auto; }
  .ap-lead-left          { padding: 52px 0 64px 64px; }
  .ap-lead-tagline       { font-size: 38px; }
  .ap-lead-name          { font-size: 26px; }
  .ap-lead-right img     { max-height: 360px; }
  .ap-lead-bio-inner     { column-count: 2; padding: 32px 0 44px; }
  #ap-mentor             { padding: 0 80px; margin: 24px auto 44px; }
  .ap-mentor-left        { padding: 48px 40px 48px 64px; }
  .ap-mentor-name        { font-size: 38px; }
  .ap-mentor-subtitle    { font-size: 24px; }
  .ap-mentor-right img   { max-height: 320px; }
  #ap-team               { padding: 60px 80px 80px; }
  .ap-team-header h2     { font-size: 40px; }
  #ap-work               { padding: 60px 80px 80px; }
  .ap-work-img-wrap img  { height: 420px; }
  .ap-work-heading       { font-size: 40px; }
}

/* 1280×800 laptop — standard desktop */
@media (min-width: 1200px) and (max-width: 1440px) {
  /* subnav — restore full spacing at wider screens */
  .ap-subnav-links { gap: 32px !important; }
  .ap-subnav-link  { font-size: 15px; }
  .ap-subnav-inner { padding: 0 60px; }
  #ap-about              { padding: 80px 100px 72px; }
  .ap-about-img-wrap img { height: 540px; }
  .ap-about-heading      { font-size: 46px; }
  #ap-timeline           { padding: 56px 100px 64px; }
  .ap-tl-header h2       { font-size: 46px; }
  #ap-vision             { padding: 72px 100px 64px; }
  .ap-vm-heading         { font-size: 46px; }
  #ap-awards             { padding: 64px 100px 80px; }
  #ap-testimonials       { padding: 64px 100px 80px; }
  .ap-section-heading    { font-size: 46px; }
  #ap-lead               { padding: 0 100px; margin: 40px auto; }
  .ap-lead-tagline       { font-size: 46px; }
  .ap-lead-right img     { max-height: 380px; }
  #ap-mentor             { padding: 0 100px; margin: 32px auto 48px; }
  .ap-mentor-name        { font-size: 46px; }
  .ap-mentor-right img   { max-height: 320px; }
  #ap-team               { padding: 72px 100px 88px; }
  .ap-team-grid          { grid-template-columns: repeat(2, minmax(0, 460px)); gap: 36px; }
  .ap-team-header h2     { font-size: 46px; }
  #ap-work               { padding: 72px 100px 80px; }
  .ap-work-img-wrap img  { height: 400px; }
  .ap-work-heading       { font-size: 46px; }
}

