:root {
  --navy: #0f2747;
  --navy-2: #173b6d;
  --royal: #295fa8;
  --sky: #dfeafb;
  --soft: #f6f8fc;
  --soft-2: #eef3fa;
  --white: #ffffff;
  --ink: #102033;
  --muted: #5c6f86;
  --line: #d8e2f0;
  --gold: #c39a43;
  --gold-2: #e2c27b;
  --shadow: 0 18px 50px rgba(16, 32, 51, .08);
  --shadow-lg: 0 28px 70px rgba(16, 32, 51, .12);
  --radius: 24px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Raleway', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit
}

img {
  max-width: 100%;
  display: block
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto
}

.page-shell {
  overflow: hidden
}

body.menu-open {
  overflow: hidden
}

/* Style the brand container to display the logo and text side by side */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Space between the logo and the text */
}

/* Style the logo */
.brand img {
  height: 80px;
  /* Adjust the logo height */
  width: auto;
  /* Maintain aspect ratio */
  object-fit: contain;
}

/* Style the text next to the logo */
.logo-text {
  font-size: 16px;
  font-weight: 500;
  color: white;
  font-family: 'Cormorant Garamond', sans-serif;
  display: flex;
  align-items: left;
  margin-left: 0.5rem;
  line-height: 1.3;
  flex-direction: column;
  justify-content: center;
}

.logo-text .text-logo {
  font-size: 34.5px;
  color: #e0ad4d;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #102033;
  /* blue navbar */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 80px;
  width: auto;
  object-fit: contain
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none
}

.music-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ff2990, #1951fa);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}

.music-btn:hover {
  transform: scale(1.1);
}

.nav-links a {
  padding: 12px 16px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #ffffff;
  /* white hover background */
  color: #102033;
  /* dark text when hovered */
}

.nav-links a.cta {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: #fff;
  box-shadow: var(--shadow)
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 28px;
  color: white;
  cursor: pointer
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 82px 16px auto 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  z-index: 999;
}

.mobile-panel.open {
  display: block
}

.mobile-panel a {
  display: block;
  padding: 14px 12px;
  border-radius: 14px;
  font-weight: 700;
  color: var(--ink)
}

.mobile-panel a.active,
.mobile-panel a:hover {
  background: var(--soft)
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(41, 95, 168, .22), transparent 26%),
    radial-gradient(circle at left 20%, rgba(195, 154, 67, .14), transparent 20%),
    linear-gradient(135deg, #f7fbff 0%, #eef4fb 45%, #ffffff 100%);
  margin-bottom: 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 39, 71, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 39, 71, .04) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: center;
  padding: 92px 0 70px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--royal))
}

.hero h1,
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 84px);
  line-height: .98;
  font-weight: 500;
  color: var(--ink);
}

.hero h1 em,
.page-hero h1 em,
.section-head h2 em {
  font-style: italic;
  color: var(--royal)
}

.hero p.lead,
.page-hero p.lead,
.section-head p {
  margin-top: 20px;
  font-size: 17px;
  color: var(--muted);
  max-width: 660px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .28s ease;
  cursor: pointer
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: #fff;
  box-shadow: var(--shadow)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg)
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink)
}

.btn-secondary:hover {
  background: var(--soft)
}

.hero-card {
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(216, 226, 240, .9);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

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

.mini-card {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  min-height: 150px;
}

.mini-card span {
  display: block;
  font-size: 28px;
  margin-bottom: 10px
}

.mini-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 8px
}

.mini-card p {
  font-size: 14px;
  color: var(--muted)
}

.track-image {
  height: 9rem;
  object-fit: contain;
  border-radius: 10px;
  border: 3px solid black;
  /* black border for flags */
  transition: transform 0.3s ease-in-out;
}

/* Smooth scrolling animation */
@keyframes scroll-images {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.image-track {
  --s: 200px;
  /* size of the logo */
  --d: 35s;
  /* animation duration */
  --n: 4;
  /* number of visible logos */

  display: flex;
  overflow: hidden;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

/* Apply animation only to flags */
.image-track img {
  width: var(--s);
  offset: shape(from calc(var(--s)/-2) 50%,
      hline by calc(sibling-count() * (var(--s) + 3rem)));
  animation: x var(--d) linear infinite calc(-1 * sibling-index() * var(--d) / sibling-count());
}

@keyframes x {
  to {
    offset-distance: 100%;
  }
}

/* Reverse animation for second row if used */
:nth-child(2 of .image-track) img {
  animation-direction: reverse;
}



.marquee {
  padding: 18px 0;
  background: var(--navy);
  overflow: hidden
}

.marquee-track {
  display: flex;
  gap: 34px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase
}

.marquee-track span::after {
  content: "◆";
  margin-left: 34px;
  color: var(--gold-2)
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.section {
  padding: 96px 0
}

.section.soft {
  background: var(--soft)
}

.section.sky {
  background: linear-gradient(180deg, var(--sky), #f8fbff)
}

.section.navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff
}

.section.navy .section-head p,
.section.navy .card p,
.section.navy .split-copy p,
.section.navy .timeline p {
  color: rgba(255, 255, 255, .78)
}

.section.navy .section-head h2,
.section.navy .card h3,
.section.navy .quote,
.section.navy .value-card h3 {
  color: #fff
}

.section-head {
  margin-bottom: 34px
}

.section-head .eyebrow,
.page-hero .eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px
}

.section.navy .eyebrow,
.page-hero.navy .eyebrow {
  color: var(--gold-2)
}

.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  color: var(--ink)
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center
}

.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  color: var(--navy)
}

.quote em {
  color: var(--gold);
  font-style: italic
}

.split-copy p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.9
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px
}

.tag {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy)
}

.cards-3,
.cards-4,
.cards-2 {
  display: grid;
  gap: 22px
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr)
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr)
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: .28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg)
}

.card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 54px;
  color: #dbe6f5;
  line-height: 1;
  margin-bottom: 8px
}

.card .icon {
  font-size: 30px;
  margin-bottom: 10px
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 12px
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8
}

.points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px
}

.points li {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy)
}

.page-hero {
  padding: 86px 0 54px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef4fb 52%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero.navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.page-hero.navy h1,
.page-hero.navy p {
  color: #fff
}

.page-hero.navy p {
  color: rgba(255, 255, 255, .82)
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px
}

.story-panel,
.value-card,
.contact-panel,
.service-line,
.insight-card,
.sector-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow)
}

.story-panel h3,
.contact-panel h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 14px
}

.story-panel p,
.value-card p,
.contact-panel p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9
}

.highlight-box {
  margin: 18px 0;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  line-height: 1.22
}

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

.value-card {
  text-align: center;
  background: linear-gradient(180deg, #fff, #f9fbff)
}

.value-card span {
  font-size: 34px;
  display: block;
  margin-bottom: 12px
}

.value-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 8px
}

.leader-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-lg)
}

.leader-side {
  padding: 30px;
  background-image: url("images/team/Divyang_Gandhi.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  position: relative;
  text-align: center;
}

/* Dark overlay for readability */
.leader-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(15, 39, 71, 0.85),
      rgba(15, 39, 71, 0.2));
}

.leader-side h3 {
  font-size: 28px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.leader-side p {
  font-size: 18px;
  font-weight: 300;
  margin-top: 5px;
  position: relative;
  z-index: 2;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 22px
}

.leader-side h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  margin-bottom: 6px
}

.leader-side p {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  font-weight: 700
}

.leader-copy {
  padding: 36px
}

.leader-copy h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: var(--navy);
  margin-bottom: 16px
}

.leader-copy p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 14px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px
}

.chips span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy)
}

.service-stack {
  display: grid;
  gap: 18px
}

.service-line {
  display: grid;
  grid-template-columns: 90px 1fr 88px;
  gap: 24px;
  align-items: start
}

.service-line .index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 50px;
  color: #cfdbeb;
  line-height: 1
}

.service-line .service-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: #fff;
  font-size: 31px
}

.service-line h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 10px
}

.service-line p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.sector-card {
  background: linear-gradient(180deg, #fff, #f9fbff)
}

.sector-card .top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px
}

.sector-card .top span {
  font-size: 34px
}

.sector-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--navy)
}

.sector-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px
}

.sector-card ul {
  list-style: none;
  display: grid;
  gap: 10px
}

.sector-card li {
  padding-left: 18px;
  position: relative;
  color: var(--ink);
  font-size: 14px
}

.sector-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800
}

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

.insight-card {
  overflow: hidden;
  padding: 0
}

.insight-visual {
  height: 260px;
  /* increase image area */
  padding: 24px;
  display: flex;
  align-items: flex-end;
  position: relative;
  color: #fff;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay so text is readable */

.insight-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(15, 39, 71, 0.3),
      rgba(15, 39, 71, 0.85));
}

/* keep badge above overlay */

.insight-visual .badge {
  position: relative;
  z-index: 2;
}

/* images for 5 insight cards */

.insight-img1 {
  background-image: url("images/insights/insight1.jfif");
}

.insight-img2 {
  background-image: url("images/insights/insight2.jfif");
}

.insight-img3 {
  background-image: url("images/insights/insight3.jfif");
}

.insight-img4 {
  background-image: url("images/insights/insight4.jfif");
}

.insight-img5 {
  background-image: url("images/insights/insight5.jfif");
}

.insight-visual .badge {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase
}

.insight-visual::after {
  content: attr(data-icon);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 100px;
  opacity: .09
}

.insight-body {
  padding: 24px
}

.insight-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 12px
}

.insight-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85
}

.insight-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--royal)
}

.insight-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr
}

.insight-card.featured .insight-visual {
  min-height: 100%
}

.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 22px
}

.contact-panel.dark {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border: none;
  color: #fff
}

.contact-panel.dark h3,
.contact-panel.dark .eyebrow {
  color: #fff
}

.contact-panel.dark p,
.contact-panel.dark .info-card p,
.contact-panel.dark .service-list {
  color: rgba(255, 255, 255, .8)
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 20px
}

.info-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12)
}

.info-card strong {
  display: block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 8px
}

.service-list {
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  line-height: 1.8
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px
}

.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy)
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: .24s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(41, 95, 168, .09)
}

.field textarea {
  min-height: 150px;
  resize: vertical
}

.footer {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 26px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.footer img {
  height: 84px;
  margin-bottom: 16px
}

.footer p,
.footer li a {
  color: rgba(255, 255, 255, .72)
}

.footer h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 10px
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .62);
  font-size: 13px
}

.office-list strong {
  color: #fff;
  display: inline-block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none
}

.float-up {
  animation: floatUp 5s ease-in-out infinite
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@media (max-width:1100px) {

  .hero-inner,
  .split,
  .story-grid,
  .leader-card,
  .contact-grid,
  .insight-card.featured {
    grid-template-columns: 1fr
  }

  .cards-3,
  .insights-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cards-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .sector-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr
  }
}

@media (max-width:780px) {
  .nav-links {
    display: none
  }

  .nav-toggle {
    display: block
  }

  /* .hero-inner,
  .cards-3,
  .cards-4,
  .cards-2,
  .stats-grid,
  .insights-grid,
  .footer-grid,
  .values-grid,
  .form-grid {
    grid-template-columns: 1fr
  } */

  .insights-grid {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .service-line {
    grid-template-columns: 1fr
  }

  .service-line .service-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px
  }

  .leader-side {
    min-height: auto
  }

  .page-hero {
    padding: 70px 0 42px
  }

  .section {
    padding: 72px 0
  }

  .hero-inner {
    padding: 70px 0 56px
  }
}

.office-list {
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  /* Slightly smaller for address blocks */
  line-height: 1.6;
  color: #ccc;
  /* Or your preferred footer text color */
}

/* --- Team Grid with Images --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.team-card {
  text-align: center;
  border-radius: 10px;
  padding: 25px;
  position: relative;
  overflow: hidden;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: darksalmon;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.35s ease;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
  /* change this if image too light */
}


.member-image,
.member-info {
  position: relative;
  z-index: 2;
}

/* Image Container */
.member-image {
  width: 100%;
  aspect-ratio: 4/5;
  /* Professional portrait ratio */
  background: #f0f0f0;
  /* Grey placeholder color */
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures photos aren't stretched */
  transition: transform 0.5s ease;
}

.team-card:hover .member-image img {
  transform: scale(1.05);
}

.team-card:hover {
  border-bottom-color: #d4af37;
}

.member-info {
  padding: 10px 0;
}

.team-card .role {
  color: #d4af37;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.team-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #1a1a1a;
  line-height: 1.3;
}

/* Specific styling for the CEO to stand out */
.leader-highlight {
  border: 2px solid #e9edf5;
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 350px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insight-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-meta {
  margin-top: auto;
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1c2f4d;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #d4af37;
  color: #000;
}

.parent {
  display: flex;
}

:root {
  --navy: #0f2747;
  --royal: #295fa8;
  --white: #ffffff;
  --ink: #102033;
  --muted: #5c6f86;
  --line: #d8e2f0;
  --gold: #c39a43;
  --shadow: 0 18px 50px rgba(16, 32, 51, .08);
  --radius: 24px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Raleway', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 60px 0;
  background: #fff;
}

.disclaimer-card {
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.disclaimer-header {
  display: flex;
  /* Use flexbox for centering */
  flex-direction: column;
  /* Stack the headings vertically */
  justify-content: center;
  /* Vertically center the headings */
  align-items: center;
  /* Horizontally center the headings */
  text-align: center;
  /* Ensure the text is centered inside the headings */
}

.disclaimer-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}

.disclaimer-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 10px;
}

.intro-text {
  font-size: 16px;
  margin: 20px 0;
  color: var(--ink);
}

.disclaimer-block h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.disclaimer-block ul {
  margin-left: 20px;
  list-style-type: disc;
}

.disclaimer-block p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
}

.contact-box {
  margin-top: 20px;
  font-size: 16px;
}

.contact-box a {
  color: var(--royal);
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: clamp(32px, 5vw, 50px);
  }
}

/* Privacy Policy Section */
.privacy-policy-section {
  padding: 60px 0;
  background: #fff;
}

.privacy-policy-card {
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.privacy-policy-header {
  display: flex;
  /* Use flexbox for centering */
  flex-direction: column;
  /* Stack the headings vertically */
  justify-content: center;
  /* Vertically center the headings */
  align-items: center;
  /* Horizontally center the headings */
  text-align: center;
  /* Ensure the text is centered inside the headings */
}

.privacy-policy-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}

.privacy-policy-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 10px;
}

.intro-text {
  font-size: 16px;
  margin: 20px 0;
  color: var(--ink);
}

.privacy-policy-block h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.privacy-policy-block ul {
  margin-left: 20px;
  list-style-type: disc;
}

.privacy-policy-block p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
}

.contact-box {
  margin-top: 20px;
  font-size: 16px;
}

.contact-box a {
  color: var(--royal);
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .privacy-policy-header h1 {
    font-size: clamp(32px, 5vw, 50px);
  }
}

.updates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.updates-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* LEFT IMAGE (NO SLIDER NOW) */
.achievement-slider {
  position: relative;
  /* 🔥 MUST ADD */
}

.achievement-slider {
  position: relative;
  width: 100%;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: #eef3fa;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 5;
}

.slider-btn:hover {
  background: #102033;
  color: white;
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}


.achievement-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 1.2s ease;
  transform: scale(1.05);
}

.achievement-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.achievement-slide .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;

  background: linear-gradient(to top,
      rgba(15, 39, 71, 0.65),
      rgba(15, 39, 71, 0.25),
      transparent);

  color: #fff;

  pointer-events: none;
  /* ✅ KEEP OVERLAY BUT DON'T BLOCK CLICK */
}


.overlay span {
  font-size: 12px;
  letter-spacing: 2px;
  color: #d4af37;
  margin-bottom: 6px;
}

.overlay h3 {
  font-size: 28px;
  font-family: "Cormorant Garamond", serif;
}

/* REMOVE animation completely */
.achievement-slide:nth-child(1),
.achievement-slide:nth-child(2),
.achievement-slide:nth-child(3) {
  animation: none;
}

/* IMAGE FIT */
.achievement-slide img,
.news-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* RIGHT NEWS (SINGLE IMAGE FIX) */
.news-gallery-grid {
  display: block;
  /* 🔥 remove grid */
  width: 100%;
  height: 560px;
}

.news-image-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #eef3fa;
}

.news-image-card.big {
  height: 100%;
}

/* OVERLAY */
.achievement-slide .overlay,
.news-image-card .overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(15, 39, 71, .92), rgba(15, 39, 71, .15), transparent);
  color: #fff;
}

.overlay span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  line-height: 1.15;
}

/* ❌ REMOVE THIS (not needed anymore)
.overlay h4 { }
@keyframes achievementFade { }
*/

/* RESPONSIVE */
@media (max-width: 900px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .achievement-slider,
  .news-gallery-grid {
    height: 420px;
  }
}

@media (max-width: 600px) {
  .updates-card {
    padding: 14px;
    border-radius: 22px;
  }

  .achievement-slider,
  .news-gallery-grid {
    height: 300px;
  }
}

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

.updates-container {
  width: 85%;
  margin: auto;
}

.updates-heading span {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #102033;
  font-size: 13px;
  font-weight: 700;
}

.updates-heading h2 {
  font-size: 52px;
  color: #102033;
  margin: 15px 0 45px;
  font-family: "Cormorant Garamond", serif;
}

.updates-heading h2 em {
  color: #356ab7;
  font-style: italic;
}

.updates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

.updates-card {
  border: 1px solid #dbe5f0;
  border-radius: 24px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 32, 51, 0.08);
  min-height: 440px;
}

.news-section {
  padding: 35px;
}

.news-title {
  font-size: 32px;
  color: #102033;
  margin-bottom: 25px;
  font-family: "Cormorant Garamond", serif;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-item {
  display: block;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: #102033;
  background: #f9fbfd;
  transition: 0.3s ease;
}

.news-item:hover {
  background: #102033;
  color: #fff;
  transform: translateX(5px);
}

.news-item span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.news-item small {
  display: block;
  margin-top: 8px;
  color: #356ab7;
}

.news-item:hover small {
  color: #f4c451;
}

.read-more-btn {
  display: block;
  margin: 25px auto 0;
  padding: 13px 26px;
  background: #102033;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.read-more-btn:hover {
  background: #356ab7;
}

.more-news {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.more-news.active {
  display: flex;
}

.more-news.active {
  display: block;
}

@media (max-width: 991px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .updates-heading h2 {
    font-size: 40px;
  }
}

.slider-container {
  overflow: hidden;
  /* Hides the slides that aren't active */
  width: 100%;
  position: relative;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Smooth sliding effect */
}

.slide {
  min-width: 100%;
  /* Ensures each slide takes up the full container width */
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  /* ✅ VERY IMPORTANT */
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

.preview-img {
  cursor: pointer;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  /* 🔥 VERY IMPORTANT */
  display: none;
  justify-content: center;
  align-items: center;
}

.achievement-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* ✅ FIX */
  cursor: pointer;
}


/* Laravel form feedback */
.form-message {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.form-message ul {
  margin: 8px 0 0 20px;
}

.form-message-success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
}

.form-message-error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
}

/* =========================================================
   Laravel header alignment and missing-logo fallback
   ========================================================= */
.topbar {
  background: #102033;
}

.topbar .nav {
  width: min(1420px, calc(100% - 56px));
  min-height: 104px;
  gap: 28px;
}

.topbar .brand-identity {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 15px;
  min-width: 0;
}

.topbar .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  gap: 0;
}

.topbar .brand img {
  width: 72px;
  height: 72px;
  max-width: 72px;
  object-fit: contain;
}

.topbar .brand-monogram {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(226, 194, 123, .68);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: 'Cinzel', serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -5px;
  line-height: 1;
  box-shadow: inset 0 0 0 4px rgba(226, 194, 123, .06);
}

.topbar .brand-monogram::before,
.topbar .brand-monogram::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .42;
}

.topbar .brand-monogram::before {
  width: 46px;
  height: 1px;
  background: currentColor;
}

.topbar .brand-monogram::after {
  width: 1px;
  height: 46px;
  background: currentColor;
}

.topbar .brand-monogram span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 10px rgba(195, 154, 67, .16);
}

.topbar .logo-text {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  white-space: nowrap;
  line-height: 1.05;
}

.topbar .logo-text .text-logo {
  color: #e0ad4d;
  font-family: 'Cormorant Garamond', serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1;
}

.topbar .logo-subtitle {
  margin-top: 7px;
  color: rgba(255, 255, 255, .92);
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.15;
}

.topbar .desktop-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.topbar .nav-links {
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
}

.topbar .nav-links li {
  flex: 0 0 auto;
}

.topbar .nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 13px;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .065em;
}

.topbar .nav-links a.cta {
  padding-inline: 18px;
  background: #204f8f;
  box-shadow: none;
}

.topbar .nav-links a.cta:hover,
.topbar .nav-links a.cta.active {
  background: #ffffff;
  color: #102033;
}

.topbar .mobile-panel {
  top: 104px;
}

@media (max-width: 1240px) {
  .topbar .nav {
    width: min(1180px, calc(100% - 36px));
    gap: 20px;
  }

  .topbar .brand {
    width: 62px;
    height: 62px;
  }

  .topbar .brand img,
  .topbar .brand-monogram {
    width: 60px;
    height: 60px;
  }

  .topbar .brand-monogram {
    font-size: 22px;
  }

  .topbar .logo-text .text-logo {
    font-size: 27px;
  }

  .topbar .logo-subtitle {
    font-size: 13px;
  }

  .topbar .nav-links a {
    padding-inline: 10px;
    font-size: 11px;
    letter-spacing: .045em;
  }

  .topbar .nav-links a.cta {
    padding-inline: 14px;
  }
}

@media (max-width: 1160px) {
  .topbar .nav {
    min-height: 88px;
  }

  .topbar .nav-links {
    display: none;
  }

  .topbar .nav-toggle {
    display: block;
  }

  .topbar .mobile-panel {
    top: 88px;
  }
}

@media (max-width: 560px) {
  .topbar .nav {
    width: calc(100% - 28px);
    min-height: 78px;
  }

  .topbar .brand-identity {
    gap: 10px;
  }

  .topbar .brand {
    width: 50px;
    height: 50px;
  }

  .topbar .brand img,
  .topbar .brand-monogram {
    width: 48px;
    height: 48px;
  }

  .topbar .brand-monogram {
    font-size: 18px;
  }

  .topbar .logo-text .text-logo {
    font-size: 22px;
  }

  .topbar .logo-subtitle {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
  }

  .topbar .mobile-panel {
    top: 78px;
  }
}

/* Youth Exchange navigation highlight */
.topbar .nav-links a.event-nav-link {
  color: #f2d48b;
  border: 1px solid rgba(224, 173, 77, .42);
  background: rgba(224, 173, 77, .08);
}

.topbar .nav-links a.event-nav-link:hover,
.topbar .nav-links a.event-nav-link.active {
  color: #102033;
  background: linear-gradient(135deg, #f2d48b, #d5a441);
}

/* =========================================================
   DG GLOBAL YOUTH EXCHANGE HOMEPAGE SPOTLIGHT
========================================================= */

.youth-program-spotlight {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 115%,
      rgba(83, 195, 255, 0.34),
      transparent 42%),
    linear-gradient(120deg,
      #071a33 0%,
      #0b3d6e 48%,
      #087fb9 100%);
}

.youth-program-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 70px 70px;
}

.youth-program-spotlight::after {
  content: "DG";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  transform: translate(-50%, -50%);
  font-family: "Cinzel", serif;
  font-size: clamp(260px, 36vw, 650px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.youth-program-decoration {
  position: absolute;
  border: 1px solid rgba(227, 178, 73, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.youth-program-decoration-left {
  width: 420px;
  height: 420px;
  left: -210px;
  bottom: -250px;
}

.youth-program-decoration-right {
  width: 520px;
  height: 520px;
  right: -260px;
  top: -260px;
}

.youth-program-content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  padding-top: 95px;
  padding-bottom: 95px;
  text-align: center;
  color: #ffffff;
}

.youth-program-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px 17px;
  border: 1px solid rgba(226, 194, 123, 0.55);
  border-radius: 999px;
  background: rgba(7, 26, 51, 0.46);
  color: #f2c861;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.youth-program-eyebrow {
  margin-bottom: 18px;
  color: #f2c861;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.youth-program-content h2 {
  max-width: 950px;
  margin: 0 auto;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: clamp(42px, 5.3vw, 82px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.youth-program-content h2 span {
  display: block;
  color: #f4d477;
}

.youth-program-content>p {
  max-width: 810px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.youth-program-details {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 34px auto 0;
  flex-wrap: wrap;
}

.youth-program-details span {
  min-width: 190px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 14px;
  background: rgba(6, 25, 48, 0.35);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.5;
  backdrop-filter: blur(12px);
}

.youth-program-details strong {
  display: block;
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.youth-program-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  margin-top: 36px;
  padding: 0 30px;
  border: 1px solid #e3b249;
  border-radius: 999px;
  background: linear-gradient(135deg, #edbe53, #d69822);
  color: #071a33;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.youth-program-button:hover {
  color: #071a33;
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #f5d378, #e3aa35);
}

.youth-program-button svg {
  transition: transform 0.3s ease;
}

.youth-program-button:hover svg {
  transform: translateX(5px);
}

.youth-program-note {
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Responsive */

@media (max-width: 768px) {
  .youth-program-spotlight {
    min-height: auto;
  }

  .youth-program-content {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .youth-program-content h2 {
    font-size: clamp(37px, 11vw, 58px);
  }

  .youth-program-content>p {
    font-size: 16px;
    line-height: 1.7;
  }

  .youth-program-details {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .youth-program-details span {
    width: 100%;
  }

  .youth-program-button {
    width: 100%;
    max-width: 360px;
    padding-inline: 20px;
  }
}

@media (max-width: 480px) {
  .youth-program-content {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .youth-program-eyebrow {
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .youth-program-content h2 {
    font-size: 36px;
  }
}

/* =========================================================
   PREMIUM INNER PAGE HERO
========================================================= */

.premium-page-hero {
  --page-hero-image: none;

  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background:
    linear-gradient(90deg,
      rgba(5, 24, 48, 0.98) 0%,
      rgba(8, 39, 75, 0.94) 43%,
      rgba(10, 55, 96, 0.72) 70%,
      rgba(10, 55, 96, 0.48) 100%),
    var(--page-hero-image),
    linear-gradient(135deg, #071a33, #174f82);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(213, 164, 65, 0.34);
}

.premium-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.02),
      rgba(7, 26, 51, 0.15));
}

.premium-page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -230px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(225, 176, 72, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.025),
    0 0 0 110px rgba(255, 255, 255, 0.018);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.2));
}

.page-hero-watermark {
  position: absolute;
  top: 50%;
  right: 7%;
  z-index: -1;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.045);
  font-family: "Cinzel", serif;
  font-size: clamp(220px, 26vw, 470px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.premium-page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 60px;
  padding-top: 92px;
  padding-bottom: 92px;
}

.premium-page-hero-content {
  max-width: 1050px;
}

.premium-page-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  color: #efc45f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.premium-page-eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  flex: 0 0 42px;
  background: linear-gradient(90deg, #d49a2f, #f5d77c);
}

.premium-page-hero h1 {
  max-width: 1100px;
  margin: 0;
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 6.7vw, 105px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.premium-page-hero h1 em {
  color: #efc45f;
  font-weight: 500;
}

.premium-page-hero-description {
  max-width: 730px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.8;
}

.premium-page-hero-mark {
  width: 190px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid rgba(232, 190, 96, 0.45);
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(28, 87, 139, 0.78),
      rgba(6, 27, 53, 0.9));
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.025),
    0 24px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.premium-page-hero-mark span {
  color: #edbd54;
  font-family: "Cinzel", serif;
  font-size: 47px;
  font-weight: 700;
  line-height: 1;
}

.premium-page-hero-mark small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Page-specific background alignment */

.page-hero-about {
  background-position: center 42%;
}

.page-hero-services {
  background-position: center;
}

.page-hero-governance {
  background-position: center 45%;
}

.page-hero-team {
  background-position: center 30%;
}

.page-hero-contact {
  background-position: center 55%;
}

.page-hero-privacy {
  background-position: center;
}

/* Decorative lights */

.page-hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.page-hero-glow-one {
  width: 300px;
  height: 300px;
  left: -130px;
  top: -160px;
  background: rgba(45, 120, 185, 0.22);
}

.page-hero-glow-two {
  width: 250px;
  height: 250px;
  right: 28%;
  bottom: -180px;
  background: rgba(223, 175, 72, 0.11);
}

/* Responsive */

@media (max-width: 900px) {
  .premium-page-hero {
    min-height: 430px;
  }

  .premium-page-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .premium-page-hero-mark {
    display: none;
  }

  .premium-page-hero h1 {
    max-width: 850px;
    font-size: clamp(53px, 10vw, 82px);
  }

  .page-hero-watermark {
    right: -10%;
    font-size: 300px;
  }
}

@media (max-width: 600px) {
  .premium-page-hero {
    min-height: 390px;
    background:
      linear-gradient(90deg,
        rgba(5, 24, 48, 0.97),
        rgba(8, 39, 75, 0.88)),
      var(--page-hero-image),
      linear-gradient(135deg, #071a33, #174f82);
    background-position: center;
  }

  .premium-page-hero-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .premium-page-hero h1 {
    font-size: clamp(44px, 13vw, 61px);
    line-height: 1;
  }

  .premium-page-eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .premium-page-hero-description {
    font-size: 15px;
  }

  .page-hero-watermark {
    right: -100px;
    font-size: 250px;
  }
}

/* =========================================================
   COMPACT INNER PAGE HERO OVERRIDES
========================================================= */

.premium-page-hero {
  min-height: 330px;
  background:
    linear-gradient(90deg,
      rgba(5, 24, 48, 0.96) 0%,
      rgba(8, 39, 75, 0.90) 55%,
      rgba(15, 74, 120, 0.68) 100%),
    var(--page-hero-image),
    linear-gradient(135deg, #071a33, #174f82);
}

.premium-page-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-top: 60px;
  padding-bottom: 60px;
}

.premium-page-hero-content {
  max-width: 950px;
}

.premium-page-eyebrow {
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.premium-page-eyebrow::before {
  width: 34px;
  flex-basis: 34px;
}

.premium-page-hero h1 {
  max-width: 950px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.premium-page-hero-description {
  max-width: 720px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.65;
}

/* Remove the large right-side DG badge */
.premium-page-hero-mark {
  display: none;
}

/* Make watermark smaller and more subtle */
.page-hero-watermark {
  right: 4%;
  font-size: clamp(150px, 18vw, 280px);
  opacity: 0.55;
}

/* Reduce decorative circles */
.premium-page-hero::after {
  right: -200px;
  bottom: -300px;
  width: 430px;
  height: 430px;
  opacity: 0.45;
}

.page-hero-glow-one {
  width: 220px;
  height: 220px;
  left: -120px;
  top: -130px;
}

.page-hero-glow-two {
  display: none;
}

.page-hero-grid {
  opacity: 0.07;
  background-size: 80px 80px;
}

/* Tablet */
@media (max-width: 900px) {
  .premium-page-hero {
    min-height: 310px;
  }

  .premium-page-hero-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .premium-page-hero h1 {
    font-size: clamp(43px, 8vw, 62px);
  }

  .page-hero-watermark {
    right: -40px;
    font-size: 210px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .premium-page-hero {
    min-height: 280px;
  }

  .premium-page-hero-inner {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .premium-page-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.02;
  }

  .premium-page-hero-description {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
  }

  .page-hero-watermark {
    right: -65px;
    font-size: 180px;
  }
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #13233b;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: none;
  border-radius: 8px;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #1d3557;
}
/* =========================================================
   FINAL COMPACT PAGE HERO
   Keep this at the very bottom of the stylesheet
========================================================= */

.page-hero.premium-page-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    background:
        linear-gradient(
            90deg,
            rgba(5, 24, 48, 0.97) 0%,
            rgba(8, 39, 75, 0.92) 60%,
            rgba(17, 82, 132, 0.78) 100%
        ),
        var(--page-hero-image),
        #0a2d55 !important;
    background-size: cover !important;
    background-position: center !important;
}

.page-hero.premium-page-hero .premium-page-hero-inner {
    width: 100% !important;
    min-height: 265px !important;
    padding: 42px clamp(28px, 5vw, 78px) !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    grid-template-columns: none !important;
}

.page-hero.premium-page-hero .premium-page-hero-content {
    width: 100% !important;
    max-width: 960px !important;
}

.page-hero.premium-page-hero .premium-page-eyebrow {
    margin: 0 0 13px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.18em !important;
    color: #e9bd56 !important;
}

.page-hero.premium-page-hero h1 {
    max-width: 900px !important;
    margin: 0 !important;
    font-size: clamp(43px, 4.5vw, 66px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.035em !important;
}

.page-hero.premium-page-hero .premium-page-hero-description {
    max-width: 720px !important;
    margin-top: 16px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* Remove heavy decorative items */
.page-hero.premium-page-hero .page-hero-watermark,
.page-hero.premium-page-hero .premium-page-hero-mark,
.page-hero.premium-page-hero .page-hero-glow,
.page-hero.premium-page-hero::after {
    display: none !important;
}

/* Keep only a very subtle grid */
.page-hero.premium-page-hero .page-hero-grid {
    opacity: 0.035 !important;
    background-size: 90px 90px !important;
}

@media (max-width: 768px) {
    .page-hero.premium-page-hero .premium-page-hero-inner {
        min-height: 230px !important;
        padding: 36px 24px !important;
    }

    .page-hero.premium-page-hero h1 {
        font-size: clamp(38px, 10vw, 50px) !important;
        line-height: 1 !important;
    }

    .page-hero.premium-page-hero .premium-page-hero-description {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }
}
/* =========================================================
   HEADER PROGRAMS DROPDOWN FIX
========================================================= */

.topbar,
.topbar .nav,
.topbar .desktop-navigation,
.topbar .nav-links {
    overflow: visible;
}

.topbar .nav-links {
    align-items: center;
}

.topbar .nav-links > li {
    position: relative;
    display: flex;
    align-items: center;
}

/* Desktop Programs button */

.nav-dropdown-toggle {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.065em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle {
    color: #102033;
    background: #ffffff;
}

.nav-dropdown-toggle svg {
    transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

/* Dropdown panel */

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 1200;
    width: 310px;
    padding: 10px;
    border: 1px solid rgba(226, 194, 123, 0.28);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(5, 24, 48, 0.24);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 1px solid rgba(226, 194, 123, 0.28);
    border-left: 1px solid rgba(226, 194, 123, 0.28);
    background: #ffffff;
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: center;
    gap: 13px;
    min-height: 72px !important;
    padding: 13px 15px !important;
    border-radius: 13px !important;
    color: #102033 !important;
    background: transparent !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition:
        background 0.25s ease,
        transform 0.25s ease !important;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: #eef4fb !important;
    transform: translateX(3px);
}

.nav-dropdown-menu .program-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #102033, #295fa8);
    color: #e2c27b;
    font-size: 17px;
}

.nav-dropdown-menu strong {
    display: block;
    margin-bottom: 4px;
    color: #102033;
    font-size: 14px;
    line-height: 1.2;
}

.nav-dropdown-menu small {
    display: block;
    color: #6c7d92;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

/* Prevent dropdown from touching Contact Us */

.nav-dropdown {
    margin-right: 3px;
}

/* Mobile menu button */

.mobile-program-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.mobile-program-toggle:hover,
.mobile-program-toggle.active {
    background: var(--soft);
}

.mobile-program-toggle svg {
    transition: transform 0.25s ease;
}

.mobile-program-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    margin: 3px 0 7px 13px;
    padding-left: 12px;
    border-left: 2px solid #d9ad50;
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu a {
    color: #35506e;
    font-size: 14px;
}

.mobile-submenu a.active {
    color: #102033;
    background: #eef4fb;
}

.mobile-contact-link {
    margin-top: 6px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #173b6d, #295fa8);
}

/* Hamburger */

.nav-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 12px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: #ffffff;
}

/* Switch to mobile navigation earlier to avoid crowding */

@media (max-width: 1320px) {
    .topbar .nav-links {
        display: none;
    }

    .topbar .nav-toggle {
        display: flex;
    }
}