/* ============================================================
   ALTRUIST INDIA (BPO) -- About Us page bespoke layout
   Uses only the brand tokens defined in style.css / tokens.css.
   Loaded only on about-us.html so no other page is affected.
   Fonts inherit 'Lato' from <body>; spacing follows --section-pad;
   colours follow --primary / --accent / --dark-bg / --grey-* tokens.
   ============================================================ */


/* ============================================================
   HERO / PAGE BANNER
   ============================================================ */

.about-hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      105deg,
      var(--dark-bg) 0%,
      #061633 42%,
      #062b65 72%,
      #031b43 100%
    );
  border-radius: 0 0 72px 72px;
}

/* Blue glow */
.about-hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -120px;
  top: -390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,111,255,.45) 0%, rgba(0,93,220,.18) 38%, transparent 70%);
  filter: blur(4px);
}

/* World-map / globe placeholder effect */
.about-hero-world {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -40px;
  top: -365px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 38% 38%,
      rgba(27,130,255,.75) 0%,
      rgba(8,69,159,.58) 35%,
      rgba(1,21,55,.95) 68%,
      rgba(1,11,29,1) 100%
    );
  box-shadow:
    inset -80px -70px 120px rgba(0,0,0,.55),
    0 0 80px rgba(0,100,255,.22);
  opacity: .95;
}

/* Globe latitude lines */
.about-hero-world::before {
  content: "";
  position: absolute;
  inset: 35px;
  border-radius: 50%;
  border: 1px solid rgba(54,145,255,.35);
  box-shadow:
    0 0 0 22px rgba(37,128,255,.10),
    0 0 0 46px rgba(37,128,255,.07),
    0 0 0 70px rgba(37,128,255,.05);
}

/* Globe grid */
.about-hero-world::after {
  content: "";
  position: absolute;
  inset: 90px;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 34px, rgba(87,165,255,.10) 35px, transparent 36px);
  opacity: .6;
}

/* Hero content */
.about-hero-inner {
  position: relative;
  z-index: 5;
  padding-top: 38px;
  padding-bottom: 48px;
}

/* Breadcrumb (inherits shared .breadcrumb-brand; only spacing/colour tuned here) */
.about-hero .breadcrumb-brand {
  margin-bottom: 36px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.about-hero .breadcrumb-brand a { color: #63a8ff; }
.about-hero .breadcrumb-brand strong { color: rgba(255,255,255,.9); }
.about-hero .breadcrumb-brand span { color: rgba(255,255,255,.45); }

/* Eyebrow */
.about-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.about-hero-eyebrow span {
  width: 35px;
  height: 2px;
  background: var(--primary);
}

/* Hero title -- cinematic scale, same weight/tracking family as .section-heading. */
.about-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 51px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
}

/* Hero description */
.about-hero p {
  margin: 0;
  max-width: 530px;
  color: rgba(255,255,255,.82);
  font-size: 17.5px;
  line-height: 1.65;
  font-weight: 400;
}

/* ============================================================
   SUB NAV
   ============================================================ */

.about-subnav {
  position: relative;
  z-index: 20;
  background: transparent;
  padding: 0 24px;
}

.about-subnav-inner {
  max-width: 1100px;
  margin: -28px auto 0;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  width: fit-content;
}
.about-subnav-inner::-webkit-scrollbar { display: none; }

.about-subnav-item {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  color: var(--grey-700);
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 50px;
  transition: all .25s ease;
}
.about-subnav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.about-subnav-item:hover {
  color: var(--primary);
  background: rgba(24,119,242,0.06);
}
.about-subnav-item:hover svg { transform: translateY(-1px); }

.about-subnav-item::after {
  display: none;
}

.about-subnav-item.active {
  color: var(--primary);
  background: rgba(24,119,242,0.1);
}
.about-subnav-item.active::after { display: none; }


/* ============================================================
   WHO WE ARE SECTION
   ============================================================ */

.about-who {
  position: relative;
  overflow: hidden;
  padding: calc(var(--section-pad) * 0.6) 0 var(--section-pad);
}

.about-who-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 58px;
  align-items: center;
}


/* ============================================================
   SECTION EYEBROW
   ============================================================ */

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-eyebrow span {
  width: 35px;
  height: 2px;
  background: var(--primary);
}

.about-content h2 {
  margin: 0 0 17px;
  color: var(--dark-bg);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}

.about-lead {
  margin: 0;
  color: var(--grey-500);
  font-size: 17px;
  line-height: 1.85;
  max-width: 670px;
}

.about-body {
  margin: 22px 0 0;
  color: var(--grey-700);
  font-size: 17px;
  line-height: 1.85;
  max-width: 680px;
}


/* ============================================================
   STATISTICS
   ============================================================ */

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.about-stat-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(16,52,98,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(16,52,98,.12);
}

.about-stat-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24,119,242,.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.about-stat-icon i {
  font-size: 20px;
  color: var(--primary);
}

.about-stat-text {
  min-width: 0;
}

.about-stat-card strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.about-stat-card span {
  display: block;
  font-size: 13px;
  color: var(--grey-500);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   RIGHT IMAGE
   ============================================================ */

.about-visual {
  position: relative;
  min-width: 0;
  padding-bottom: 35px;
}

.about-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  border-radius: 15px;
  background: var(--light-tint);
  box-shadow: 0 18px 45px rgba(16,50,95,.13);
}

.about-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .7s ease;
}
.about-image-wrap:hover .about-main-image { transform: scale(1.035); }


/* ============================================================
   PLAY BUTTON
   ============================================================ */

.about-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
}
.about-play svg {
  width: 30px;
  height: 30px;
}
.about-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}


/* ============================================================
   PURPOSE CARD
   ============================================================ */

.purpose-card {
  position: absolute;
  left: 18px;
  right: 80px;
  bottom: 0;
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(120deg, #08244d 0%, #102f60 100%);
  box-shadow: 0 18px 40px rgba(4,28,66,.25);
  color: var(--white);
}

.purpose-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 5px 18px rgba(0,110,255,.25);
}
.purpose-icon svg {
  width: 24px;
  height: 24px;
}

.purpose-content h3 {
  margin: 0 0 7px;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}
.purpose-content p {
  margin: 0;
  color: rgba(255,255,255,.83);
  font-size: 15px;
  line-height: 1.65;
  max-width: 470px;
}


/* ============================================================
   DECORATIVE DOTS
   ============================================================ */

.about-dots {
  position: absolute;
  right: 5%;
  top: 185px;
  width: 90px;
  height: 140px;
  background-image: radial-gradient(circle, rgba(47,117,226,.20) 3px, transparent 3px);
  background-size: 18px 18px;
  opacity: .7;
}


/* ============================================================
   RESPONSIVE -- TABLET (matches site 991px breakpoint)
   ============================================================ */

@media (max-width: 991px) {

  .about-who-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 35px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat-card {
    padding: 14px;
  }

  .about-subnav {
    padding: 0 16px;
  }

  .about-subnav-inner {
    gap: 6px;
    padding: 7px;
    max-width: 100%;
    width: 100%;
  }

  .about-subnav-item {
    padding: 0 14px;
    font-size: 14px;
    flex-shrink: 0;
  }

}


/* ============================================================
   ABOUT FEATURE CARDS - MODERN DESIGN
   ============================================================ */

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  border: 1px solid #E9ECEF;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feature-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.about-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon i {
  font-size: 26.5px;
  color: var(--primary);
}

.about-feature-num {
  font-size: 51px;
  font-weight: 900;
  color: #F3F4F6;
  line-height: 1;
}

.about-feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-bg);
  margin: 0;
  line-height: 1.3;
}

.about-feature-card p {
  font-size: 15.5px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}

.about-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.about-tag {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  background: #F3F4F6;
  color: #6B7280;
  transition: all 0.2s ease;
}

.about-feature-card:hover .about-tag {
  background: #E3F2FD;
  color: var(--primary);
}


/* ============================================================
   ALTRUIST INDIA SECTION
   ============================================================ */

.altruist-india-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.altruist-india-content .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.altruist-india-content .section-eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.altruist-india-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark-bg);
  margin: 0 0 24px;
  line-height: 1.2;
}

.altruist-india-content p {
  font-size: 16.5px;
  color: #5a6577;
  line-height: 1.7;
  margin: 0 0 16px;
}

.altruist-india-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.altruist-feature {
  background: #F8F9FA;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.altruist-feature:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.altruist-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.altruist-feature-icon i {
  font-size: 22px;
  color: var(--primary);
}

.altruist-feature-text strong {
  display: block;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 4px;
}

.altruist-feature-text span {
  font-size: 14.5px;
  color: #6B7280;
  line-height: 1.5;
}


/* ============================================================
   STATS SECTION
   ============================================================ */

.stats-section {
  background: #fff;
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: linear-gradient(135deg, #E3F2FD 0%, #F8F9FA 100%);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #E3F2FD;
}

.stat-card:hover {
  background: linear-gradient(135deg, #BBDEFB 0%, #E3F2FD 100%);
  border-color: #90CAF9;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.15);
}

.stat-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.1);
}

.stat-card-icon i {
  font-size: 26.5px;
  color: var(--primary);
}

.stat-card-num {
  font-size: 44.5px;
  font-weight: 800;
  color: var(--dark-bg);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-suffix {
  font-size: 26.5px;
  color: var(--primary);
}

.stat-card-label {
  font-size: 16.5px;
  color: #6B7280;
  font-weight: 500;
}


/* ============================================================
   RESPONSIVE — MOBILE (matches site 767px breakpoint)
   ============================================================ */

@media (max-width: 767px) {

  .about-hero {
    min-height: 320px;
    border-radius: 0 0 42px 42px;
    overflow: hidden;
  }

  .about-hero-inner {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .about-hero-world {
    width: 350px;
    height: 350px;
  }

  .about-hero-glow {
    right: -200px;
    top: -80px;
    width: 500px;
    height: 500px;
  }

  .about-hero .breadcrumb-brand {
    margin-bottom: 45px;
  }

  .about-hero h1 {
    font-size: 34px;
  }

  .about-hero p {
    font-size: 17.5px;
    line-height: 1.65;
  }

  .desktop-only {
    display: none;
  }

  /* Subnav */
  .about-subnav {
    padding: 0 12px;
  }

  .about-subnav-inner {
    margin-top: -20px;
    padding: 6px;
    gap: 4px;
    border-radius: 50px;
    max-width: 100%;
    width: 100%;
  }

  .about-subnav-item {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .about-subnav-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  /* Content */
  .about-who {
    padding: 45px 0 80px;
  }

  .about-who-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-content h2 {
    font-size: 28.5px;
  }

  .about-lead,
  .about-body {
    font-size: 16px;
  }

  /* Stats */
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 25px;
  }

  .about-stat-card {
    padding: 12px 10px;
    gap: 9px;
  }

  .about-stat-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .about-stat-icon i {
    font-size: 17.5px;
  }

  .about-stat-card strong {
    font-size: 18.5px;
  }

  .about-stat-card span {
    font-size: 9px;
  }

  /* Image */
  .about-visual {
    padding-bottom: 30px;
  }

  .about-image-wrap {
    aspect-ratio: 1.1 / 1;
    border-radius: 13px;
  }

  .about-play {
    width: 60px;
    height: 60px;
  }

  /* Purpose card */
  .purpose-card {
    left: 12px;
    right: 25px;
    padding: 16px;
    gap: 13px;
    min-height: 90px;
    border-radius: 12px;
  }

  .purpose-icon {
    width: 43px;
    height: 43px;
  }

  .purpose-icon svg {
    width: 21px;
    height: 21px;
  }

  .purpose-content h3 {
    font-size: 17.5px;
  }

  .purpose-content p {
    font-size: 13.5px;
  }

  .about-dots {
    display: none;
  }

}


/* ============================================================
   RESPONSIVE -- SMALL MOBILE (matches site 480px breakpoint)
   ============================================================ */

@media (max-width: 480px) {

  .about-hero h1 {
    font-size: 30.5px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .about-stat-card {
    align-items: flex-start;
  }

  .about-stat-card span {
    white-space: normal;
  }

  .purpose-card {
    right: 12px;
  }

}


/* ============================================================
   TEAM PAGE - PROFESSIONAL CAROUSEL DESIGN
   ============================================================ */

/* Team Section */
.team-section {
  padding: 60px 0 80px;
}

/* Team Header */
.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--grey-200);
}

.team-header-left .section-eyebrow {
  margin-bottom: 16px;
}

.team-header-left h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark-bg);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Navigation Buttons */
.team-nav {
  display: flex;
  gap: 12px;
}

.team-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.team-nav-btn:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.team-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Carousel */
.team-carousel {
  overflow: hidden;
  margin: 0 -10px;
}

.team-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  padding: 10px;
}

/* Team Slide */
.team-slide {
  flex: 0 0 280px;
  height: 420px;
}

.team-slide-inner {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #1a1a2e;
}

/* Featured Card (Blue) - Now used for expanded state */

.team-slide-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.team-slide-role {
  font-size: 14.5px;
  opacity: 0.85;
  display: block;
  margin-bottom: 14px;
}

.team-slide-content p {
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 18px;
}

.team-social {
  display: flex;
  gap: 14px;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s ease;
}

.team-social a:hover {
  background: rgba(255,255,255,0.3);
}

/* Photo Card */
.team-slide:not(.featured) .team-slide-inner {
  position: relative;
  cursor: pointer;
}

.team-slide-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.team-slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-slide:not(.featured):hover .team-slide-photo img {
  transform: scale(1.05);
}

.team-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  color: white;
  z-index: 2;
  transition: padding 0.3s ease;
}

.team-slide:not(.featured):hover .team-slide-overlay {
  padding-bottom: 30px;
}

.team-slide-overlay h3 {
  font-size: 18.5px;
  font-weight: 600;
  margin: 0 0 4px;
  transition: transform 0.3s ease;
}

.team-slide:not(.featured):hover .team-slide-overlay h3 {
  transform: translateY(-4px);
}

.team-slide-overlay span {
  font-size: 14.5px;
  opacity: 0.8;
}

/* Read Bio Button - Below position, right aligned */
.read-bio-btn {
  display: block;
  margin-top: 10px;
  margin-left: auto;
  padding: 5px 14px;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
}

.read-bio-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

/* Expanded Card View - Slide from bottom */
.team-slide-expanded {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1877F2 0%, #0d5bbd 100%);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.team-slide.expanded .team-slide-expanded {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.expanded-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.expanded-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  color: white;
  background: linear-gradient(to top, rgba(24,119,242,0.98) 0%, rgba(24,119,242,0.85) 50%, transparent 100%);
}

.expanded-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.expanded-role {
  font-size: 14.5px;
  opacity: 0.85;
  display: block;
  margin-bottom: 12px;
}

.expanded-content p {
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 16px;
}

.expanded-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.team-slide.expanded .expanded-close {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.expanded-close:hover {
  background: rgba(255,255,255,0.35);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .about-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .altruist-india-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-slide {
    flex: 0 0 240px;
    height: 380px;
  }

  .team-header-left h2 {
    font-size: 32px;
  }

  .team-nav-btn {
    width: 46px;
    height: 46px;
  }

  .team-slide-overlay {
    padding: 50px 16px 20px;
  }

  .team-slide-overlay h3 {
    font-size: 16.5px;
  }

  .team-slide-overlay span {
    font-size: 14px;
  }

  .expanded-content {
    padding: 24px 20px;
  }

  .expanded-content h3 {
    font-size: 20px;
  }

  .expanded-content p {
    font-size: 14px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .about-cards-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-card {
    padding: 24px 20px;
  }

  .about-feature-icon {
    width: 48px;
    height: 48px;
  }

  .about-feature-icon i {
    font-size: 22px;
  }

  .about-feature-num {
    font-size: 42.5px;
  }

  .altruist-india-content h2 {
    font-size: 29.5px;
  }

  .altruist-india-features {
    grid-template-columns: 1fr;
  }

  .stats-section {
    padding: 50px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-card-num {
    font-size: 34px;
  }

  .about-hero {
    min-height: 320px;
  }

  .team-section {
    padding: 40px 0 60px;
  }

  .team-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
  }

  .team-header-left h2 {
    font-size: 27.5px;
  }

  .team-slide {
    flex: 0 0 200px;
    height: 300px;
  }

  .team-track {
    gap: 16px;
  }

  .team-slide-overlay {
    padding: 40px 14px 16px;
  }

  .team-slide-overlay h3 {
    font-size: 15.5px;
    margin-bottom: 2px;
  }

  .team-slide-overlay span {
    font-size: 13px;
  }

  .read-bio-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  .expanded-content {
    padding: 20px 16px;
  }

  .expanded-content h3 {
    font-size: 17.5px;
  }

  .expanded-role {
    font-size: 14px;
  }

  .expanded-content p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .expanded-close {
    width: 28px;
    height: 28px;
    font-size: 20px;
    top: 8px;
    right: 8px;
  }

  .team-social {
    gap: 10px;
  }

  .team-social a {
    width: 28px;
    height: 28px;
  }

  .team-social a svg {
    width: 14px;
    height: 14px;
  }

  .portraits-center-text h2 {
    font-size: 26.5px;
  }
}


/* ============================================================
   AWARDS SECTION - MODERN DESIGN
   ============================================================ */

.awards-section {
  padding: 80px 0;
  background: #fff;
}

.awards-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
}

.awards-left .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.awards-left .section-eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.awards-left h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark-bg);
  margin: 0 0 16px;
  line-height: 1.2;
}

.awards-left p {
  font-size: 16.5px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}

.awards-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.award-card-modern {
  position: relative;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #d4fc79 100%);
  transition: all 0.3s ease;
}

.award-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(168, 237, 234, 0.3);
}

.award-card-inner {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-card-badge {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 16px;
}

.award-card-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.award-custom-text {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.award-card-inner h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--dark-bg);
  margin: 0 0 8px;
}

.award-card-inner p {
  font-size: 14.5px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}

.award-card-footer {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid #F3F4F6;
}

.award-year {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .awards-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .awards-right {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .awards-section {
    padding: 50px 0;
  }

  .awards-left h2 {
    font-size: 29.5px;
  }

  .awards-right {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .award-card-inner {
    padding: 24px 20px;
  }
}

/* ==============================
   LOCATIONS PAGE
   ============================== */

.locations-intro {
  padding: 60px 0 20px;
  background: #fff;
}

.locations-intro-content .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.locations-intro-content .section-eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.locations-intro-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark-bg);
  margin: 0 0 20px;
  line-height: 1.2;
}

.locations-intro-content p {
  font-size: 16.5px;
  color: #5a6577;
  line-height: 1.7;
  margin: 0 0 14px;
}

.locations-map-section {
  padding: 0 0 40px;
  background: #fff;
}

#location-map {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.location-coords {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 8px;
  font-family: monospace;
}

.locations-grid-section {
  padding: 20px 0 80px;
  background: #fff;
}

.locations-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.location-card {
  background: #F8F9FA;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.location-card:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.location-card.active {
  background: #E3F2FD;
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.2);
}

.location-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.location-card-icon i {
  font-size: 24px;
  color: var(--primary);
}

.location-card-content {
  flex: 1;
}

.location-card-content h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--dark-bg);
  margin: 0 0 10px;
  line-height: 1.3;
}

.location-card-content p {
  font-size: 14.5px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

.location-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.location-card-tags .loc-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(24, 119, 242, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.location-card-tags .loc-tag i {
  font-size: 12px;
}

.location-card:hover .loc-tag {
  background: rgba(24, 119, 242, 0.12);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .locations-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .locations-intro {
    padding: 40px 0 20px;
  }

  .locations-intro-content h2 {
    font-size: 29.5px;
  }

  .locations-grid-section {
    padding: 10px 0 60px;
  }

  .locations-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .location-card {
    padding: 22px 20px;
  }
}

/* ============================================================
   FLOATING PORTRAITS BANNER
   ============================================================ */

.portraits-banner {
  position: relative;
  overflow: hidden;
  padding: 60px 0 40px;
  border-radius: 0 0 48px 48px;
}

.portraits-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  height: 420px;
}

.portrait-row {
  position: relative;
  width: 100%;
  height: 320px;
}

.portrait-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transition: transform 0.4s ease;
}

.portrait-card:hover {
  transform: translateY(-6px) scale(1.03);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Individual positions — staggered arc layout */
.portrait-card.p1  { width: 110px; height: 140px; left: 2%;  top: 60px;  transform: rotate(-4deg); }
.portrait-card.p2  { width: 120px; height: 155px; left: 10%; top: 20px;  transform: rotate(2deg); }
.portrait-card.p3  { width: 130px; height: 170px; left: 19%; top: 55px;  transform: rotate(-2deg); }
.portrait-card.p4  { width: 140px; height: 185px; left: 30%; top: 10px;  transform: rotate(1deg); }
.portrait-card.p5  { width: 150px; height: 200px; left: 42%; top: 0;     transform: rotate(0deg); }
.portrait-card.p6  { width: 140px; height: 185px; left: 55%; top: 10px;  transform: rotate(-1deg); }
.portrait-card.p7  { width: 130px; height: 170px; left: 66%; top: 55px;  transform: rotate(2deg); }
.portrait-card.p8  { width: 120px; height: 155px; left: 76%; top: 20px;  transform: rotate(-2deg); }
.portrait-card.p9  { width: 110px; height: 140px; left: 85%; top: 60px;  transform: rotate(3deg); }
.portrait-card.p10 { width: 100px; height: 130px; left: 93%; top: 90px;  transform: rotate(-3deg); }

/* Center text overlay */
.portraits-center-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
  width: 100%;
  padding-bottom: 10px;
}

.portraits-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.portraits-center-text h2 {
  margin: 0;
  font-size: 42.5px;
  font-weight: 800;
  line-height: 1.15;
  color: #172b4d;
  letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 991px) {
  .portraits-container { height: 360px; }
  .portrait-row { height: 260px; }
  .portrait-card.p1  { width: 80px;  height: 105px; left: 0%;  top: 50px; }
  .portrait-card.p2  { width: 90px;  height: 115px; left: 8%;  top: 15px; }
  .portrait-card.p3  { width: 95px;  height: 125px; left: 17%; top: 45px; }
  .portrait-card.p4  { width: 105px; height: 135px; left: 28%; top: 5px;  }
  .portrait-card.p5  { width: 115px; height: 150px; left: 40%; top: 0;    }
  .portrait-card.p6  { width: 105px; height: 135px; left: 53%; top: 5px;  }
  .portrait-card.p7  { width: 95px;  height: 125px; left: 64%; top: 45px; }
  .portrait-card.p8  { width: 90px;  height: 115px; left: 74%; top: 15px; }
  .portrait-card.p9  { width: 80px;  height: 105px; left: 84%; top: 50px; }
  .portrait-card.p10 { width: 70px;  height: 95px;  left: 92%; top: 75px; }
  .portraits-center-text h2 { font-size: 32px; }
}

@media (max-width: 575px) {
  .portraits-banner { padding: 40px 0 30px; }
  .portraits-container { height: 300px; }
  .portrait-row { height: 200px; }
  .portrait-card.p1  { width: 55px; height: 75px;  left: 0%;   top: 40px; }
  .portrait-card.p2  { width: 60px; height: 80px;  left: 9%;   top: 10px; }
  .portrait-card.p3  { width: 65px; height: 88px;  left: 19%;  top: 35px; }
  .portrait-card.p4  { width: 72px; height: 95px;  left: 30%;  top: 0;    }
  .portrait-card.p5  { width: 80px; height: 105px; left: 42%;  top: 0;    }
  .portrait-card.p6  { width: 72px; height: 95px;  left: 55%;  top: 0;    }
  .portrait-card.p7  { width: 65px; height: 88px;  left: 66%;  top: 35px; }
  .portrait-card.p8  { width: 60px; height: 80px;  left: 76%;  top: 10px; }
  .portrait-card.p9  { width: 55px; height: 75px;  left: 86%;  top: 40px; }
  .portrait-card.p10 { width: 48px; height: 68px;  left: 94%;  top: 60px; }
  .portraits-center-text h2 { font-size: 24px; }
  .portraits-eyebrow { font-size: 12px; }
}
