@import url('https://fonts.googleapis.com/css2?family=Carter+One&family=Permanent+Marker&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
body * {
    font-family: "Poppins", sans-serif;
}

h1,h2 {
    font-family: "Carter One", system-ui;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

blockquote {
    border-color:#2c3e50;
}

.excellence-section, .cta-section {
    transform: translateY(0px) !important;
}

.dropdown.menu a {
    color: #1a2530;
    font-weight:500;
}
.dropdown.menu .submenu a {
    color:#fff;
}
.dropdown.menu a:hover {
    color:#b50410 !important;
}
.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    border-color: #b50410 transparent transparent;
}

.wp-block-file__button {
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    color:#fff !important;
}
.nav-container > .menu > li > a {
    text-decoration: underline;
  text-decoration-color: #b50410;
}

.menu .our-school > a {
    text-decoration: underline;
  text-decoration-color: #008189 !important;
}
.menu .our-school a:hover {
    color:#008189 !important;
}
.page-wrapper.our-school .page-content h1::after {
    background-color:#008189 !important;
}
.dropdown.menu>.our-school>a::after {
    border-color: #008189 transparent transparent !important;
}

.menu .learning > a {
    text-decoration: underline;
  text-decoration-color: yellowgreen !important;
}
.menu .learning a:hover {
    color:yellowgreen !important;
}
.page-wrapper.learning .page-content h1::after {
    background-color:yellowgreen !important;
}
.dropdown.menu>.learning>a::after {
    border-color: yellowgreen transparent transparent !important;
}
.menu .inclusion > a {
    text-decoration: underline;
  text-decoration-color: orange !important;
}
.menu .inclusion a:hover {
    color:orange !important;
}
.page-wrapper.inclusion .page-content h1::after {
    background-color:orange !important;
}
.dropdown.menu>.inclusion>a::after {
    border-color: orange transparent transparent !important;
}

.menu .families > a {
    text-decoration: underline;
  text-decoration-color: hotpink !important;
}
.page-wrapper.families .page-content h1::after {
    background-color:hotpink !important;
}
.menu .families a:hover {
    color:hotpink !important;
}
.dropdown.menu>.families>a::after {
    border-color: hotpink transparent transparent !important;
}

.menu .statutory > a {
    text-decoration: underline;
  text-decoration-color: purple !important;
}
.menu .statutory a:hover {
    color:purple !important;
}
.page-wrapper.statutory .page-content h1::after {
    background-color:purple !important;
}
.dropdown.menu>.statutory>a::after {
    border-color: purple transparent transparent !important;
}

table tbody tr:first-child {
    background-color:#ffffff;
}
table tbody tr:first-child td {
    color: inherit;
}

.menu .submenu {
    background-color:#1a2530 !important;
    border-radius:6px;
}
.menu .submenu a {
    color:#fff !important;
}
.menu .submenu a:hover {
    color:#ef8869;
}

.round-top {
    border-top-left-radius:14px;
    border-top-right-radius:14px;
}
.round-bottom {
    border-bottom-left-radius:14px;
    border-bottom-right-radius:14px;
}

.page-wrapper {
    background: #003087;
background: linear-gradient(147deg,rgba(0, 48, 135, 0.67) 0%, rgba(0, 48, 135, 1) 50%, rgba(0, 48, 135, 0.72) 100%);
}
.page-wrapper .page-content {
    margin-top:8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.3);
}
.page-wrapper .page-content img {
    border-radius:8px;
}
.page-wrapper .page-content * {
    font-family: "Poppins", sans-serif;
}
.page-wrapper .page-content .fa-classic, .page-wrapper .page-content .fa-regular, .page-wrapper .page-content .fa-solid, .page-wrapper .page-content .far, .page-wrapper .page-content .fas {
    font-family: "Font Awesome 6 Free";
}


.page-wrapper .page-content h1 {
    font-family: "Carter One", system-ui;
    color:#2c3e50;
    display: table;
    position: relative;
    margin: 0 auto 1rem;
    z-index:2;
}

.page-wrapper .page-content > table tbody tr:first-child  {
    background-color:#003087;
    color:white;
}

.page-wrapper .page-content h1::after {
    content: " ";
    position:absolute;
    width:100%;
    height:4px;
    bottom:0;
    left:0;
    background-color:#b50410;
    border-radius:1px;
    z-index:-1;
}

.page-wrapper .page-content a {
    color:#b50410;
}
.footer-bottom {
    background-color:#1a2530;
    color:white;
}
.footer-bottom a {
    color:white !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.wp-block-embed__wrapper {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}
.wp-block-embed__wrapper iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#torchContainer, #torchContainer-2, #torchContainer-3 {
  position: relative;
  overflow: hidden;
  cursor: none;

  /* The dark overlay with a "hole" cut out */
  --x: 50%;
  --y: 50%;
  --size: 150px;
  transition: --x 0.05s, --y 0.05s
}

#torchContainer::after, #torchContainer-2::after, #torchContainer-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle var(--size) at var(--x) var(--y),
    transparent 0%,
    rgba(255, 255, 255, 0.25) 100%
  );
  pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 130px;
    width: auto;
    transition: opacity 0.3s ease;
    margin-bottom: -6rem;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0070ba;
}

/* Hero Section - PayPal Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 150px 20px 50px;
    background: #2c3e50;
    overflow: hidden;
    position: relative;
}

.team-houses img {
    max-width:100%;
    margin-bottom:2rem;
    border-radius: 24px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    width: 100%;
    z-index: 1;
}

/* Main Headline - Big and Bold - Never fades */
.hero-headline {
    text-align: center;
    width: 100%;
}

.hero-headline h1 {
     font-family: "Permanent Marker", cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -3px;
    line-height: 1.1;
    margin: 0;
}

/* Portrait Image Container - Starts half visible at bottom */
.hero-image-container {
    position: absolute;
    left: 50%;
    bottom: -284px;
    transform: translateX(-50%);
    width: 320px;
    height: 568px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 20, 53, 0.15);
    transition: opacity 0.3s ease;
    will-change: transform, width, height, border-radius, bottom, opacity;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Overlay - Appears as image scales */
.hero-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem;
    background: linear-gradient(to top, rgba(0, 20, 53, 0.9) 0%, rgba(0, 20, 53, 0.7) 60%, transparent 100%);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.hero-overlay-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-family: "Poppins", sans-serif;
}

.hero-overlay-text p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    opacity: 0.95;
    font-weight: 400;
}

/* New hero section */

    .eyebrow {
            font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e30514 !important;
    margin-bottom: 10px !important;
    }
      .masthead-section {
      padding: 2rem 0 3rem;
      background:#1a2530;
    }
    .masthead-section .cta-secondary {
        border-color:#003087;
        color:#003087;
    }

    .masthead-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 1.4rem;
      align-items: stretch;
      padding-top:6rem;
    }

    .masthead-copy,
    .masthead-visual {
      background: var(--surface);
      border-radius: 32px;
      box-shadow: var(--shadow);
      overflow: hidden;
      min-height: 580px;
    }

    .masthead-copy {
      padding: 3.4rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      background:
        radial-gradient(circle at top right, rgba(242,177,52,0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(28,93,153,0.09), transparent 28%),
        #fff;
    }
 .masthead-copy h1 {
      margin: 1rem 0 1rem;
      font-size: clamp(2.5rem, 4vw, 4.7rem);
      line-height: 0.96;
      letter-spacing: -0.055em;
      max-width: 10ch;
    }

    .masthead-copy p {
      margin: 0 0 1.4rem;
      font-size: 1.12rem;
      color: var(--muted);
      max-width: 56ch;
    }

    .masthead-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
    }

    .masthead-highlights {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.9rem;
      margin-top: 1.7rem;
    }

    .masthead-stat {
      background: var(--surface-soft);
      border: 1px solid #e1ebf5;
      border-radius: 20px;
      padding: 1rem;
    }

    .masthead-stat strong {
      display: block;
      font-size: 1.5rem;
      letter-spacing: -0.04em;
      margin-bottom: 0.3rem;
    }

    .masthead-stat span {
      color: var(--muted);
      font-size: 0.95rem;
      display: block;
    }

    .masthead-visual {
      position: relative;
      background: linear-gradient(160deg, #d8ecfb 0%, #fdf3dc 100%);
    }

    .masthead-image-stack {
      position: absolute;
      inset: 0;
      padding: 1.25rem;
      display: grid;
      grid-template-columns: 1fr 0.86fr;
      gap: 1rem;
    }

    .masthead-main-image,
    .masthead-side-top,
    .masthead-side-bottom {
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      min-height: 0;
      margin-bottom:0 !important;
    }
    .masthead-main-image .slider-holder {
        margin-bottom:0 !important;
    }


    /* .masthead-main-image {
      background-image: linear-gradient(rgba(18,41,66,0.2), rgba(18,41,66,0.25)), url('../assets/scroll-left-b.webp');
      background-size: cover;
      background-repeat: repeat-y;
        animation: slideleft 15000s infinite linear;
    } */

    @keyframes slideleft {
    from { background-position: 0% 0%; }
    to { background-position: 0% 90000%; }
    }


    .masthead-side {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .masthead-side-top {
      background-image: linear-gradient(rgba(18,41,66,0.18), rgba(18,41,66,0.24)), url('../assets/right-picture-a.webp');
          background-position: center;
    background-size: cover;
    }

    .masthead-side-bottom {
      background-image: linear-gradient(rgba(18,41,66,0.15), rgba(18,41,66,0.28)), url('../assets/right-picture-b.webp');
          background-position: center;
    background-size: cover;
    }

    .photo-chip,
    .masthead-card {
      position: absolute;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255,255,255,0.65);
    }
    .photo-chip p,
    .masthead-card p {
        margin-bottom:0;
        line-height:1;
    }
    
    .photo-chip {
        left: 1rem;
        top: 1rem;
        padding: 1rem 1rem;
        max-width: 200px;
        padding:1rem;
        width:calc(100% - 2rem);
    }
    .masthead-side-top .photo-chip {
        top:auto;
        bottom:1rem;
    }

    .masthead-card {
      left: 1rem;
      bottom: 1rem;
      padding: 1rem 1rem;
      max-width: 200px;
    }

    .masthead-card strong,
    .photo-chip strong {
      display: block;
      margin-bottom: 0rem;
      font-size: 0.8rem;
    }

    .masthead-card span,
    .photo-chip span {
      color: var(--muted);
      font-size: 0.7rem;
      line-height:0.8;
    }


/* Content Sections */
.content-section {
    padding: 80px 20px;
    background: #fff;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section.secondary {
    background: #f8f9fa;
}

.content-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-section p {
    font-size: 1.125rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #0070ba;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    text-align: left;
    margin: 0;
}

/* CTA Button */
.cta-button {
    background: #0070ba;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.3);
}

.cta-button:hover {
    background: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4);
    color:#fff;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    text-align: center;
}
footer h2 {
    font-size:1.4rem;
}
footer h4 {
    font-size:1.1rem;
}

/* Wix-Style Gradient Text Section */
.gradient-text-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.big-gradient-text {
    font-size: clamp(3rem, 5vw, 7rem);
    font-weight: 400;
    background: linear-gradient(135deg, #667eea 0%, #72235c 50%, #c93722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
}

.gradient-section-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: #555;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* PayPal-Style Blue Message Section - Multi-Stage */
.blue-message-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3f4f6a 100%);
    color: white;
    opacity: 1;
    transform: none;
}

/* Stage 1: Full-height title screen */
.blue-stage-1 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.blue-main-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.5;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    letter-spacing: -2px;
    display: inline;
    background-repeat: no-repeat;
/*     transition: all 1000ms ease-in-out; */
    font-family: "Poppins", sans-serif;
}

.blue-main-title {
  background-position: left;
  background-size: 0% 100%;
  background-image: linear-gradient(#194493, #32599f);
}

.img-wrap {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom:2rem;
    border-radius:24px;
  }

  .img-wrap img {
    display: block;
    margin-bottom:0;
  }

  /* ─── Sheen pseudo-element ─── */
  .img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  /* ══════════════════════════════════
     VARIANT 1: Diagonal sweep (classic)
     ══════════════════════════════════ */
  .sheen-sweep::after {
    background: linear-gradient(
      105deg,
      transparent 40%,
      rgba(255,255,255,0.45) 50%,
      transparent 60%
    );
    transform: translateX(-100%);
    transition: none;
  }
  .sheen-sweep:hover::after {
    animation: sweep 1.2s ease forwards;
  }
  @keyframes sweep {
    from { transform: translateX(-100%); }
    to   { transform: translateX(200%); }
  }


  /* ══════════════════════════════════
     VARIANT 4: Shimmer loop (on hover)
     ══════════════════════════════════ */
  .sheen-loop::after {
    background: linear-gradient(
      110deg,
      transparent 30%,
      rgba(255,255,255,0.35) 50%,
      transparent 70%
    );
    background-size: 200% 100%;
    background-position: -200% 0;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .sheen-loop:hover::after {
    opacity: 1;
    animation: shimmer-loop 1.2s linear infinite;
  }
  @keyframes shimmer-loop {
    from { background-position: -200% 0; }
    to   { background-position: 200% 0; }
  }


/* Stage 2: Two-column section */
.blue-stage-2 {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
}

.text-column {
    position: relative;
}

.feature-detail {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-detail.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.feature-detail h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.feature-detail p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.feature-nav {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.feature-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.feature-nav-btn.active {
    background: white;
    color: #003087;
    border-color: white;
}

.image-column {
    position: relative;
    height: 450px;
    max-height: calc(100vh - 200px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-image.active {
    opacity: 1;
}

/* Work Hard Play Hard Section */
.work-play-section {
    position: relative;
    height: 100vh;
    background-image: url('assets/pally-wide-home-page.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.work-play-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem;
}

.work-text,
.play-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5),
                 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1;
}

.work-text {
    align-self: flex-start;
}

.play-text {
    align-self: flex-end;
}

/* Card Scrolling Section */
.card-scroll-section {
    padding: 80px 20px;
    background: #f7f9fc;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-scroll-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.cards-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cards-wrapper::-webkit-scrollbar {
    display: none;
}

.scroll-card {
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 280px;
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.scroll-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.scroll-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.scroll-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #764ba2;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-button:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.scroll-button.scroll-left {
    left: -25px;
}

.scroll-button.scroll-right {
    right: -25px;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    background: #667eea;
    width: 30px;
    border-radius: 5px;
}

/* Team Benefits Section */
.team-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.section-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.team-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* Enrichment Section */
.enrichment-section {
    background: #f7f9fc;
}

.enrichment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.enrichment-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enrichment-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.enrichment-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.enrichment-item p {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.enrichment-section .cta-button {
    display: block;
    margin: 3rem auto 0;
}

/* Excellence Section */
.excellence-section {
    background: linear-gradient(135deg, rgba(0, 48, 135, 1) 0%, rgba(0, 48, 135, 1) 100%);
    color: white;
}

.off-canvas {
    background-color:#1a2530;
}
.off-canvas a {
    color:#fff !important;
}
.off-canvas img {
    width:60%;
    margin-left:20%;
    margin-right:20%;
    margin-bottom:1rem;
    margin-top:1rem;
}
.excellence-section h2 {
    color: white;
}

.excellence-section .section-intro {
    color: rgba(255, 255, 255, 0.95);
}

.excellence-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-large {
    background: rgba(204, 199, 199, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.feature-large:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-large h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-large p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.7;
    text-align: left;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #3f4f6a 100%);
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.cta-primary {
    background: linear-gradient(135deg,#ef8869 0%, #e30514 50%, #eb5a3f 100%);
    margin: 0 1rem 1rem;
}

.cta-primary:hover {
    background: linear-gradient(135deg, #e30514 0%, #ef8869 50%, #e30514 100%);
}

.cta-secondary {
    background: transparent;
    border: 2px solid white;
    margin: 0 1rem 1rem;
}

.cta-secondary:hover {
    background: white;
    color: #2c3e50;
}


.nav-container .button {
    margin-bottom:0; border-radius:6px; background:linear-gradient(135deg,#ef8869 0%, #e30514 50%, #eb5a3f 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {



    .scroll-button {
        display: none;
    }

    .scroll-card {
        flex: 0 0 calc(33.333% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .blue-stage-1 {
        min-height:auto;
    }
    .masthead-visual {
        min-height:auto;
    }
    .masthead-image-stack {
        position:unset;
    }
    .photo-chip, .masthead-card {
        display:none;
    }
    .cta-button {
        font-size: 1rem;
    }
    .logo {
    height: 90px;
    width: auto;
    transition: opacity 0.3s ease;
    margin-bottom: -4rem;
    margin-top: -2rem;
}
    .masthead-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
      }
      .masthead-copy {
    padding: 1.4rem;
}
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-headline h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-image-container {
        width: 280px;
        height: 497px;
    }

    .hero-overlay-text {
        padding: 2rem 1.5rem;
    }

    .hero-overlay-text h2 {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }

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

    .scroll-card {
        flex: 0 0 calc(50% - 1rem);
    }

    .big-gradient-text {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .team-benefits {
        grid-template-columns: 1fr;
    }

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

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

    /* Blue section responsive */
    .blue-main-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .two-column-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .image-column {
        height: 400px;
    }

    .feature-nav {
        justify-content: center;
    }

    /* Work Hard Play Hard responsive */
    .work-play-overlay {
        padding: 2rem;
    }

    .work-text,
    .play-text {
        font-size: clamp(2rem, 10vw, 4rem);
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {

    .nav-links {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .hero-headline h1 {
        font-size: clamp(2rem, 12vw, 3rem);
        letter-spacing: -2px;
    }

    .hero-image-container {
        width: 240px;
        height: 426px;
    }

    .hero-overlay-text {
        padding: 1.5rem 1rem;
    }

    .hero-overlay-text h2 {
        font-size: 1.25rem;
    }

    .hero-overlay-text p {
        font-size: 0.85rem;
    }

    .scroll-card {
        flex: 0 0 85%;
    }

    .enrichment-grid {
        grid-template-columns: 1fr;
    }

    .cta-primary,
    .cta-secondary {
        display: block;
        width: 100%;
        margin: 0 0 1rem;
    }

    /* Work Hard Play Hard mobile */
    .work-play-overlay {
        padding: 1.5rem;
    }

    .work-text,
    .play-text {
        font-size: clamp(1.75rem, 12vw, 3rem);
        letter-spacing: 1px;
    }
}
