/* index.html: page styles moved out of the HTML (tools/extract-styles.js). Edit here, then bump ?v= in index.html. */
        .jhs-mid-cta {
        padding: 64px 0;
        background: linear-gradient(135deg, #fdf6ef 0%, #f3f6fd 55%, #f0fbf6 100%);
        }

        .jhs-mid-cta-inner {
        max-width: 780px;
        margin: 0 auto;
        padding: 0 16px;
        }

        .visually-hidden {
        position: absolute; width: 1px; height: 1px;
        margin: -1px; padding: 0; overflow: hidden;
        clip: rect(0 0 0 0); white-space: nowrap; border: 0;
        }

        /* --- the AI search bar --- */
        .jhs-ai-search {
        position: relative;
        display: flex;
        align-items: center;
        gap: 14px;
        background: #fff;
        border-radius: 999px;
        padding: 18px 26px;
        box-shadow: 0 18px 44px -24px rgba(80, 100, 160, 0.35);
        font-family: "Plus Jakarta Sans", "Nunito", system-ui, sans-serif;
        font-size: 19px;
        font-weight: 600;
        color: #3d4458;
        min-height: 62px;
        }
        /* drifting pastel ring, like a live AI input */
        .jhs-ai-search::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 999px;
        padding: 2px;
        background: linear-gradient(120deg, #ffd9c0, #c7d8ff, #c2f0dd, #ffe3ef, #ffd9c0);
        background-size: 300% 300%;
        animation: jhsAiRing 9s ease-in-out infinite;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
        pointer-events: none;
        }
        @keyframes jhsAiRing {
        0%   { background-position: 0% 50%; }
        50%  { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
        }
        .jhs-ai-search__icon {
        color: #7f8db0;
        display: inline-flex;
        flex: none;
        }
        .jhs-ai-search__caret {
        width: 2px;
        height: 1.25em;
        background: #f0885e;
        border-radius: 2px;
        animation: jhsCaret 1.05s steps(1) infinite;
        flex: none;
        }
        @keyframes jhsCaret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

        /* --- the AI answer below --- */
        .jhs-ai-answer {
        margin-top: 26px;
        padding: 0 6px;
        }
        .jhs-ai-answer__chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        color: #6a58b5;
        background: #f0ecfb;
        border-radius: 999px;
        padding: 5px 13px;
        margin-bottom: 14px;
        }

        .jhs-mid-cta-lead {
        font-family: "Plus Jakarta Sans", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
        font-size: 22px;
        line-height: 1.5;
        color: #3d4458;
        margin: 0 0 22px;
        font-weight: 600;
        }
        .jhs-mid-cta-lead .jhs-highlight,
        .jhs-mid-cta-lead .jhs-highlight-green {
        padding: 2px 12px;
        border-radius: 999px;
        white-space: nowrap;
        font-weight: 700;
        }
        .jhs-mid-cta-lead .jhs-highlight {
        color: #d05a2e;
        background: #fdeee4;
        }
        .jhs-mid-cta-lead .jhs-highlight-green {
        color: #1e8a60;
        background: #e8f6ef;
        }

        .jhs-btn-group {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        }

        .jhs-primary-btn,
        .jhs-secondary-btn {
        position: relative;
        display: inline-block;
        padding: 12px 34px;
        border-radius: 999px;
        font-weight: 700;
        text-decoration: none;
        font-size: 16px;
        letter-spacing: 0.3px;
        border: none;
        transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        cursor: pointer;
        }
        .jhs-primary-btn {
        color: #7a3c1d;
        background: linear-gradient(135deg, #ffe0c7, #ffcdb4);
        box-shadow: 0 10px 26px -14px rgba(240, 136, 94, 0.55);
        }
        .jhs-secondary-btn {
        color: #1d4a6e;
        background: linear-gradient(135deg, #d5e6ff, #c4ecdd);
        box-shadow: 0 10px 26px -14px rgba(74, 144, 217, 0.5);
        }
        .jhs-primary-btn:hover,
        .jhs-secondary-btn:hover { transform: translateY(-3px); }
        .jhs-primary-btn:hover { box-shadow: 0 16px 34px -14px rgba(240, 136, 94, 0.65); color:#7a3c1d; }
        .jhs-secondary-btn:hover { box-shadow: 0 16px 34px -14px rgba(74, 144, 217, 0.6); color:#1d4a6e; }
        .jhs-primary-btn:active,
        .jhs-secondary-btn:active { transform: translateY(0); }
        .jhs-primary-btn:focus-visible,
        .jhs-secondary-btn:focus-visible { outline: 2px solid #4a90d9; outline-offset: 3px; }

        @media (prefers-reduced-motion: reduce) {
        .jhs-ai-search::before { animation: none; }
        .jhs-ai-search__caret { animation: none; opacity: 0; }
        .jhs-primary-btn, .jhs-secondary-btn { transition: none; }
        }

        @media (max-width: 991px){
        .jhs-mid-cta{ padding: 44px 0; }
        .jhs-ai-search{ font-size: 16px; padding: 14px 20px; min-height: 54px; }
        .jhs-mid-cta-lead{ font-size:19px; }
        }
        @media (max-width: 480px){
        .jhs-mid-cta{ padding: 30px 0; }
        .jhs-ai-search{ font-size: 14px; gap: 10px; }
        .jhs-ai-answer{ padding: 0 2px; }
        .jhs-mid-cta-lead{ font-size:16.5px; line-height:1.45; }
        .jhs-mid-cta-lead .jhs-highlight,
        .jhs-mid-cta-lead .jhs-highlight-green { white-space: normal; }
        .jhs-btn-group{ flex-direction: column; }
        .jhs-primary-btn, .jhs-secondary-btn{ text-align:center; }
        }

      /* pressure strip: variable-type cursor play (DM Sans), ported from the
         admissions-2027-28 landing page. All rules scoped under .jhs-pressure. */
      .jhs-pressure{position:relative;background:#fff;padding:84px 0 76px;overflow:hidden}
      .jhs-pressure::before,.jhs-pressure::after{content:"";position:absolute;width:480px;height:480px;border-radius:50%;filter:blur(110px);pointer-events:none}
      .jhs-pressure::before{background:#12A594;opacity:.1;top:-46%;left:4%}
      .jhs-pressure::after{background:#FFB539;opacity:.08;bottom:-52%;right:6%}
      .jhs-pressure .jhs-pressure__in{max-width:1290px;margin:0 auto;padding:0 24px}
      .jhs-pressure .eyebrow{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:#12A594}
      .jhs-pressure .eyebrow::before{content:"";width:26px;height:2px;background:#12A594}
      .jhs-pressure__title{
        font-family:"DM Sans",sans-serif;
        position:relative;display:flex;justify-content:space-between;align-items:baseline;
        /* fixed flex cells per letter: variable weight changes glyph width INSIDE
           each cell, so the line can never grow past the container */
        width:100%;overflow:hidden;
        margin:22px 0 0;color:#002F6C;text-transform:uppercase;
        white-space:nowrap;user-select:none;line-height:.95;letter-spacing:0;
      }
      .jhs-pressure__title span{flex:1 1 0;min-width:0;text-align:center;display:inline-block;font-variation-settings:'wght' 200,'opsz' 16;will-change:font-variation-settings}
      .jhs-pressure__title .sp{min-width:.32em}
      /* the heading's real text: read by crawlers and screen readers; the
         per-letter spans the script adds after it are aria-hidden decoration */
      .jhs-pressure__title .jhs-pressure__text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;flex:none}
      .jhs-pressure__cta{display:inline-block;margin-top:26px;font-weight:700;color:#002F6C;border-bottom:2px solid #FFB539;padding-bottom:2px}
      .jhs-pressure__cta:hover{color:#12A594;border-color:#12A594}
      @media(max-width:760px){.jhs-pressure{padding:60px 0 54px}}
      @media(prefers-reduced-motion:reduce){.jhs-pressure__title span{font-variation-settings:'wght' 300,'opsz' 20!important}}

        .jhs-stages{background:linear-gradient(180deg,#eef6fc 0%,#e3f0fa 100%)}
        .jhs-stages__lede{max-width:640px;margin:14px auto 0;color:var(--body-color,#5c6470);font-size:16px;line-height:1.7}
        .jhs-stage-card{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:20px;overflow:hidden;text-decoration:none;box-shadow:0 10px 40px rgba(16,26,46,.08);border:1px solid rgba(16,26,46,.07);transition:transform .3s ease,box-shadow .3s ease}
        .jhs-stage-card:hover{transform:translateY(-8px);box-shadow:0 22px 55px rgba(16,26,46,.16)}
        .jhs-stage-card__img{position:relative;aspect-ratio:16/10;overflow:hidden}
        .jhs-stage-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
        /* the children sit right-of-centre in this banner crop */
        .jhs-stage-card--primary .jhs-stage-card__img img{object-position:72% center}
        .jhs-stage-card:hover .jhs-stage-card__img img{transform:scale(1.06)}
        /* the colour band is what tells the three stages apart at a glance */
        .jhs-stage-card__img::after{content:"";position:absolute;inset-inline:0;bottom:0;height:5px;background:var(--stage-c)}
        .jhs-stage-card--early{--stage-c:#f5a400}
        .jhs-stage-card--primary{--stage-c:#00b140}
        .jhs-stage-card--higher{--stage-c:#0c9ad7}
        .jhs-stage-card__body{padding:26px 28px 30px;display:flex;flex-direction:column;flex:1}
        .jhs-stage-card__age{display:inline-block;align-self:flex-start;padding:5px 14px;border-radius:999px;background:color-mix(in srgb,var(--stage-c) 14%,#fff);color:var(--stage-c);font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px}
        .jhs-stage-card__title{font-size:26px;margin:0 0 6px;color:#001c54}
        .jhs-stage-card__grades{display:block;font-size:13.5px;font-weight:600;color:var(--stage-c);margin-bottom:12px}
        .jhs-stage-card__body p{font-size:15px;line-height:1.65;color:#5c6470;margin:0 0 20px}
        .jhs-stage-card__link{margin-top:auto;font-weight:700;font-size:14.5px;color:#001c54;display:inline-flex;align-items:center;gap:9px}
        .jhs-stage-card__link i{transition:transform .25s ease}
        .jhs-stage-card:hover .jhs-stage-card__link{color:var(--stage-c)}
        .jhs-stage-card:hover .jhs-stage-card__link i{transform:translateX(5px)}
        @media (max-width:767.98px){
            .jhs-stage-card__body{padding:22px 22px 26px}
            .jhs-stage-card__title{font-size:23px}
        }

        .campus-visit-cta {
        padding: 30px 0;
        background: #1a2653;
        text-align: center;
        }

        .visit-text-animate a {
        display: inline-block;
        /* letters are split into spans by JS and grouped per word, so the line
           wraps between words instead of overflowing the band */
        max-width: 100%;
        font-size: clamp(24px, 4.3vw, 64px);
        line-height: 1.25;
        font-weight: 700;
        color: white;
        text-decoration: none;
        padding: 30px 40px;
        letter-spacing: 1px;
        font-family: "Plus Jakarta Sans", sans-serif;
        position: relative;
        }

        .visit-text-animate .vw {
        display: inline-block;
        white-space: nowrap;
        }

        .visit-text-animate .vw span {
        display: inline-block;
        opacity: 0;
        transform: translateY(-50px);
        transition: all 0.4s ease;
        }

        @keyframes letterDrop {
        0% { transform: translateY(-50px); opacity: 0; }
        20%, 80%, 100% { transform: translateY(0); opacity: 1; }
        }

        /* Hover glow effect for visibility */
        .visit-text-animate a:hover {
        color: #fec001;
        }

        /* Responsive */
        @media (max-width: 768px) {
        .visit-text-animate a { padding: 15px 20px; letter-spacing: .5px; }
        }
        @media (max-width: 480px) {
        .visit-text-animate a { padding: 10px 16px; letter-spacing: 0; }
        }

.jhs-counter-label{margin:0 auto 28px;text-align:center;font-weight:700;font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:#1a2653}.jhs-counter-label small{display:block;margin-top:4px;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;color:#5b6477}.jhs-counter-label--campus{margin-top:56px}

    /* Admissions hub — one settled brand colour */
    .attraction-banner {
        background: #1a2653;
        padding: 0 0 56px;
        overflow: hidden;
    }

    .animate-banner-wrap {
        position: relative;
    }

    /* Moving Text Banner */
    .text-banner-animate {
        background: rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 0;
        margin-bottom: 40px;
        overflow: hidden;
    }

    .moving-text-wrapper {
        white-space: nowrap;
    }

    .text-line {
        display: inline-block;
        animation: scrollText 20s linear infinite;
        color: rgba(255, 255, 255, 0.85);
        font-size: 18px;
        font-weight: 600;
    }

    .separator {
        margin: 0 15px;
        color: #fec001;
    }

    .highlight-text {
        color: #fec001;
    }

    .admission-hub-head h2 {
        color: #fff;
        font-size: clamp(24px, 2.6vw, 36px);
        margin-bottom: 6px;
    }
    .admission-hub-head p {
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 34px;
    }

    /* Action Cards */
    .action-cards-container {
        display: flex;
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }

    .action-card {
        background: #fff;
        border-radius: 16px;
        padding: 30px 26px;
        text-align: center;
        flex: 1;
        min-width: 260px;
        max-width: 360px;
        box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.55);
        transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .action-card:hover {
        transform: translateY(-8px);
    }

    .card-inner i {
        font-size: 34px;
        color: #1a2653;
        background: #fff4d6;
        width: 72px;
        height: 72px;
        line-height: 72px;
        border-radius: 50%;
        margin-bottom: 16px;
    }

    .card-inner h3 {
        font-size: 22px;
        margin-bottom: 8px;
        color: #1a2653;
    }

    .card-inner p {
        margin-bottom: 20px;
        color: #5c6470;
        font-size: 15px;
    }

    .animated-btn {
        display: inline-block;
        padding: 11px 30px;
        background: #fec001;
        color: #1a2653;
        border-radius: 25px;
        font-weight: 700;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .animated-btn:hover {
        background: #1a2653;
        color: #fff;
        transform: scale(1.05);
    }

    @keyframes scrollText {
        0% { transform: translateX(100%); }
        100% { transform: translateX(-100%); }
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .text-line {
            font-size: 16px;
        }

        .action-card {
            min-width: 100%;
        }
    }

    @media (max-width: 480px) {
        .text-line {
            font-size: 14px;
        }

        .action-cards-container {
            gap: 18px;
        }

        .action-card {
            padding: 22px 18px;
        }
    }

.testi-initials{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#1a2653;color:#fff;font-weight:700;font-size:22px;letter-spacing:.04em}

    /* Floating Button Container */
    /* the ERP "request a call" FAB is also bottom-left; lift it above this
       chat toggle so the two never overlap (chat toggle spans ~22-88px up) */
    .jhs-cfab-btn { bottom: 128px !important; }
    @media (max-width: 768px) { .jhs-cfab-btn { bottom: 112px !important; } }

    .float-sm {
        position: fixed;
        left: 20px;
        /* Sit on the same line as .scroll-top, which is 50px tall at bottom:30px —
           so its centre line is 55px up. translateY(50%) re-centres this button on
           that line whatever size it is at the current breakpoint (65/50/44px). */
        bottom: 55px;
        transform: translateY(50%);
        z-index: 999;
    }

    /* Main Floating Button (Chat Icon) */
    .float-sm .main-btn {
        background: #001c54;
        color: #fff;
        width: 65px;
        height: 65px;
        border-radius: 50%;
        text-align: center;
        line-height: 70px;
        font-size: 28px;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    /* Hover effect for main button */
    .float-sm .main-btn:hover {
        transform: scale(1.05);
        box-shadow: 2px 4px 15px rgba(0,0,0,0.4);
    }

    /* Icons Container */
    .float-sm .icon-container {
        position: absolute;
        bottom: 75px;
        left: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    /* Active (when clicked) */
    .float-sm.active .icon-container {
        opacity: 1;
        visibility: visible;
        transform: translateY(-10px);
    }

    /* Each Social Icon */
    .float-sm a {
        display: block;
        width: 55px;
        height: 55px;
        line-height: 60px;
        text-align: center;
        color: white;
        font-size: 24px;
        border-radius: 50%;
        box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    }

    /* Hover Animation */
    .float-sm a:hover {
        transform: scale(1.15);
        box-shadow: 2px 2px 12px rgba(0,0,0,0.4);
    }

    /* Icon Colors */
    .float-sm .call {background: #28a745;}
    .float-sm .whatsapp {background: #25d366;}
    .float-sm .instagram {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }
    .float-sm .facebook {background: #3b5998;}
    .float-sm .message {background: #007bff;}

    /* Rotate chat icon when active */
    .float-sm.active .main-btn i {
        transform: rotate(360deg);
        transition: transform 0.4s ease;
    }

    /* Responsive - smaller on mobile */
    @media (max-width: 768px) {
        .float-sm .main-btn {
            width: 50px;
            height: 50px;
            line-height: 55px;
            font-size: 22px;
        }
        .float-sm a {
            width: 40px;
            height: 40px;
            line-height: 45px;
            font-size: 18px;
        }
    }

    /* Mobile declutter for hero + fixed action elements */
    @media (max-width: 768px) {
        .animate__content {
            padding-top: 8px !important;
            padding-bottom: 8px !important;
        }
        .animate__content__item {
            font-size: 12px;
        }
        .hero-style1 {
            text-align: center;
            max-width: 100%;
            padding-top: 130px;
            padding-bottom: 110px;
        }
        .hero-style1 .sub-title.style1 {
            font-size: 24px;
            line-height: 1.35;
            margin-bottom: 12px;
        }
        .hero-style1 .hero-title {
            font-size: 46px;
            line-height: 1.1;
            margin-bottom: 14px;
        }
        .hero-style1 .hero-text {
            font-size: 15px;
            line-height: 1.45;
            max-width: 92%;
            margin-left: auto;
            margin-right: auto;
        }
        .hero-style1 .btn-group {
            justify-content: center;
            gap: 10px;
            margin-top: 18px;
        }
        .hero-style1 .btn-group .th-btn {
            font-size: 15px;
            padding: 13px 20px;
            min-width: 142px;
        }
        .float-sm {
            left: 12px;
            bottom: 55px;
            z-index: 995;
        }
    }

    @media (max-width: 480px) {
        body {
            padding-bottom: 64px;
        }
        .hero-style1 {
            padding-top: 118px;
            padding-bottom: 100px;
        }
        .hero-style1 .sub-title.style1 {
            font-size: 18px;
        }
        .hero-style1 .hero-title {
            font-size: 26px;
            line-height: 1.2;
        }
        .hero-style1 .hero-text {
            font-size: 12px;
            line-height: 1.5;
        }
        .hero-style1 .btn-group .th-btn {
            font-size: 14px;
            padding: 11px 16px;
            min-width: 130px;
        }
        .float-sm .main-btn {
            width: 44px;
            height: 44px;
            line-height: 46px;
            font-size: 18px;
        }
        .float-sm a {
            width: 36px;
            height: 36px;
            line-height: 38px;
            font-size: 16px;
        }
        .float-sm .icon-container {
            bottom: 54px;
            gap: 8px;
            left: 4px;
        }
    }
