@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* The Elevated Luxury Palette */
    --navy: #0B192C;
    --navy-light: #1A2E4C;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --pink: #cd3265;
    --pink-soft: #FDF7F7; /* A barely-there blush for backgrounds */
    
    /* Elegant Shadows */
    --shadow: 0 15px 40px rgba(11, 25, 44, 0.04);
    --shadow-hover: 0 25px 50px rgba(11, 25, 44, 0.1);
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--off-white); 
    color: var(--navy-light); 
    margin: 0; 
    scroll-behavior: smooth; 
    line-height: 1.7;
    font-weight: 300;
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    color: var(--navy); 
    font-weight: 400;
}

a { text-decoration: none; transition: all 0.4s ease; }

/* The Excellence Exclusivity Banner */
.exclusivity-banner {
    background: rgba(11, 25, 44, 0.9); /* Deep Navy, slight transparency */
    color: var(--white);
    padding: 12px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    z-index: 1001; /* Must be above the navbar */
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%; /* Starting position outside screen */
    animation: tickerLoop 30s linear infinite; /* Adjust speed here (higher = slower) */
}

/* Animation for the infinite drift */
@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Specific Ticker Styling */
.ticker-content span { display: inline-block; vertical-align: middle; }
.separator { color: rgba(255, 255, 255, 0.2); padding: 0 15px; font-weight: 300; }
.gold-text { color: var(--gold);font-weight: 600;}  
.white-text { color: rgba(255, 255, 255, 0.8);}
.ticker-gold {color: var(--gold);}

.countdown-timer {
    color: var(--white);
    font-family: 'Playfair Display', serif; /* Use serif for numbers for elegance */
    font-weight: 600;
    font-size: 0.85rem;
    font-style: italic;
    letter-spacing: 1px;
}

.ticker-link {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.3s ease;
}

.ticker-link:hover {
    border-color: var(--gold);
}

.ticker-link .arrow { transition: transform 0.3s ease; display: inline-block;}
.ticker-link:hover .arrow { transform: translateX(3px); }

/* Pause on hover to allow clicking */
.exclusivity-banner:hover .ticker-content {
    animation-play-state: paused;
}


/* 1. Frosted Glass Navbar */
.navbar { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%; /* Tight vertical padding to keep the bar slim */
    height: 80px; /* Fixed height for consistency */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%; /* Spans the height of the padding-controlled navbar */
    text-decoration: none;
}

.nav-logo-img {
    height: 100px; /* Explicit height to keep the nav bar slim */
    width: auto;  /* Maintains aspect ratio */
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-link:hover .nav-logo-img {
    filter: brightness(1.2); /* Makes the gold and pink glow slightly */
    transform: scale(1.02);
}

/* Ensure mobile nav links don't overlap the logo */
@media (max-width: 768px) {
    .nav-logo-img {
        height: 40px; /* Slightly smaller on mobile to save screen real estate */
    }
}

.nav-links { list-style: none; display: flex; gap: 40px; align-items: center; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; }
.nav-links a:hover { color: var(--gold); }

.btn-nav { 
    background: var(--navy); 
    color: var(--white) !important; 
    padding: 12px 28px; 
    border-radius: 30px; /* Pill shape for elegance */
    transition: background 0.4s ease;
}
.btn-nav:hover { background: var(--gold); }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--gold) !important;
    border: 1px solid var(--white);
    padding: 16px 38px;
    border-radius: 30px; /* Matching the pill shape of the nav buttons */
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white) !important;
    transform: translateY(-3px); /* Subtle lift */
    box-shadow: 0 10px 20px rgba(11, 25, 44, 0.2);
}

.btn-outline:active {
    transform: translateY(-1px);
}

.student-work-label {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15; /* Sits above everything */
    background: rgba(11, 25, 44, 0.7); /* Deep Navy Glass */
    backdrop-filter: blur(8px);
    color: var(--gold);
    padding: 8px 18px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    pointer-events: none; /* Mouse clicks go through to the slider */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Luxury Touch: Make the label fade slightly when the slider handle passes it */
.comparison-container:hover .student-work-label {
    opacity: 0.8;
}

/* 2x2 course Matrix Layout */
.course-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.course-card-premium {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(11, 25, 44, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(11, 25, 44, 0.05);
}

.course-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 25, 44, 0.1);
}

.course-card-premium.highlighted {
    border: 2px solid var(--gold);
    transform: scale(1.02);
}

.course-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--navy);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.course-content {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; /*. When not on offer size is 1.6rem */
    color: var(--navy);
    margin-bottom: 15px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.course-features li {
    font-size: 0.85rem;
    color: var(--pink);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.course-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Mobile Responsive */
@media (max-width: 850px) {
    .course-matrix {
        grid-template-columns: 1fr;
    }
    .course-card-premium.highlighted {
        transform: scale(1);
    }
}





/* 2. Page Headers & Layout */
.page-header { background: var(--navy); color: var(--white); padding: 100px 5%; text-align: center; }
.page-header h1 { font-size: 3.5rem; margin-bottom: 15px; color: var(--white); }

.section { padding: 100px 8%; max-width: 1300px; margin: 0 auto; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

/* 3. The "Floating" Cards */
.card { 
    background: var(--white); 
    padding: 50px 40px; 
    border-radius: 20px; 
    box-shadow: var(--shadow); 
    position: relative; 
    border: 1px solid rgba(212, 175, 55, 0.1); /* Very subtle gold border */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
	display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.4);
}

.card.featured { background: var(--pink-soft); border-color: var(--gold); }

/* Decorative Section Titles */
h2 { font-size: 2.8rem; margin-bottom: 20px; position: relative; padding-bottom: 20px; }
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold);
}
.text-left h2::after { left: 0; transform: none; }

/* The Blush Badges */
.badge { 
    background: var(--pink); 
    color: var(--navy); 
    padding: 6px 20px; 
    border-radius: 30px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%); 
}

/* 4. Sleek Editorial Forms */
.form-group { margin-bottom: 30px; position: relative; }
.form-group input, .form-group select, .form-group textarea { 
    width: 100%; 
    padding: 15px 0; 
    background: transparent;
    border: none; 
    border-bottom: 1px solid rgba(11, 25, 44, 0.2); 
    font-family: inherit; 
    font-size: 1rem;
    color: var(--navy);
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-bottom: 2px solid var(--gold);
}
.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy-light);
    font-weight: 500;
}


/* Form for getting Career Guide  */


.cta-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}

.cta-form input {
    flex: 1;
    padding: 15px;
    border-radius: 4px;
    border: none;
}

@media (max-width: 600px) {
    .cta-form { flex-direction: column; }
}




/* Elegant Buttons */
.btn-full { 
    width: 100%; 
    background: var(--navy); 
    color: var(--white); 
    padding: 18px; 
    border: none; 
    border-radius: 5px; 
    font-size: 1rem; 
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer; 
    transition: all 0.4s ease;
}
.btn-full:hover { background: var(--gold); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); }

/* 5. Home Specific Enhancements */
.hero { height: 90vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero-video { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(0.8); }
.hero::after {
    /* Gradient overlay for modern luxury */
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11, 25, 44, 0.3), rgba(11, 25, 44, 0.8));
    z-index: -1;
}
.hero-content { z-index: 1; max-width: 900px; }
.hero-content h1 { font-size: 4.5rem; margin-bottom: 20px; color: var(--white); line-height: 1.1; }
.hero-content h1 span { font-style: italic; font-weight: 400; color: var(--pink); } /* Pink italic accent */

/* Transformation Slider */
/* The Frame for the Excellence Slider */
.comparison-container { 
    position: relative; 
    width: 100%; 
    max-width: 900px; 
    height: 550px; /* Adjusted for luxury impact */
    margin: 40px auto; 
    overflow: hidden; 
    box-shadow: var(--shadow-hover);
    background-color: var(--navy); /* Prevents flash of white */
	--pos: 50%;
}

/* Ensure both images are exactly the same size and pinned to the top-left */
.comparison-img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

.comparison-img img { 
    width: 900px; /* Must match the max-width of container */
    height: 550px; 
    object-fit: cover; 
    display: block;
}

/* The 'After' Image acts as the curtain */
.after { 
    z-index: 2; 
    width: 50%; /* JS will change this */
    border-right: 3px solid var(--gold); 
    overflow: hidden; /* This is the "magic" that hides the rest of the image */
}

/* The Handle: Invisible but spans the whole box */
.slider-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    background: transparent;
    z-index: 10;
    cursor: ew-resize;
    outline: none;
    margin: 0;
}

/* The Custom Gold Ring Handle (Chrome/Safari/Edge) */
.slider-handle::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 100vh; /* Creates a full-height vertical line */
    width: 2px;
    background: var(--gold);
    cursor: ew-resize;
    position: relative;
}

/* Adding the Circular "Ring" using a background image trick or a box-shadow */
/* Since we want a ring, we use a shadow-based circular handle */
.comparison-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%; /* JS will move this */
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border: 2px solid var(--gold);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    z-index: 11;
    pointer-events: none; /* Let clicks pass through to the slider */
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: left 0.05s linear; /* Smooth movement */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add a tiny white dot in the center of the ring for precision */
.comparison-container::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%; /* JS will move this */
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 12;
    pointer-events: none;
    transition: left 0.05s linear;
}

.comparison-container::before, 
.comparison-container::after {
    left: var(--pos) !important; /* Forces the ring to follow the variable */
}

/* Special fix for mobile viewports */
@media (max-width: 768px) {
    .comparison-container { height: 350px; }
    .comparison-img img { height: 350px; width: 100vw; }
}


/* Parent Excellence Section */
.parent-excellence {
    background: var(--navy);
    border-radius: 40px; /* Large rounded corners for a modern look */
    margin: 40px 5%;
    overflow: hidden;
}

.parent-text-box {
    padding-right: 20px;
}

.trust-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.05); /* Very subtle transparent white */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    background: rgba(212, 175, 55, 0.1); /* Glows gold on hover */
    border-color: var(--gold);
    transform: translateX(10px);
}

.pillar-icon {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    font-style: italic;
    border-bottom: 1px solid var(--gold);
    line-height: 1;
}

.pillar-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pillar-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .parent-excellence { margin: 20px 0; border-radius: 0; }
    .grid-2 { grid-template-columns: 1fr; }
    .pillar-card { padding: 20px; }
}



/* Trust Sections (Parent Portal & Footer) */
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2 { color: var(--white); }
.bg-navy h2::after { background: var(--pink); }

/* Footer Social Styling */
.footer-socials {
    margin-top: 4px;
    padding-top: 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-header {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--pink);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy) !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.4s ease;
}

.social-link svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    color: var(--gold) !important;
}

.social-link:hover svg {
    transform: scale(1.2) rotate(-5deg);
    stroke: var(--gold);
}

.social-link span {
    position: relative;
}

.social-link span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.social-link:hover span::after {
    width: 100%;
}


/* Gallery Masonry Layout */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    grid-gap: 20px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: var(--navy);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(20%);
}

/* Creating the asymmetrical look */
.gallery-item.featured { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

/* The Luxury Hover Overlay */
.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 25, 44, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.gallery-item .overlay span {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover .overlay span {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-item.featured { grid-column: span 1; }
    .gallery-container { grid-auto-rows: 250px; }
}

/* Video Gallery Styling */
.video-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    cursor: pointer;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
}

.video-card:hover video {
    opacity: 1;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.video-info p {
    color: var(--pink);
    font-size: 0.85rem;
    margin: 0;
    font-style: italic;
}


.contact-find-us {
    background: var(--white);
    padding: 100px 5%;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item .gold-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.6;
}

.map-container-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    height: 450px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(20%) contrast(90%); /* Gives the map a slightly vintage, luxury feel */
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 25, 44, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.map-container-wrapper:hover .map-overlay {
    opacity: 1;
}




/* Mobile Sticky CTA */
.mobile-sticky-bar { display: none; position: fixed; bottom: 0; width: 100%; z-index: 2000; padding: 15px; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-top: 1px solid rgba(0,0,0,0.05); box-sizing: border-box;}
.btn-gold-full { background: var(--gold); color: var(--navy); display: block; text-align: center; padding: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 5px; }

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
    .mobile-sticky-bar { display: block; }
    .nav-links { display: none; }
    .section { padding: 60px 5%; }

}


/* Checkbox Excellence Styling */
.checkbox-group label a {
    transition: color 0.3s ease;
}

.checkbox-group label a:hover {
    color: var(--pink) !important;
}

/* Optional: Style the checkbox to match your gold theme (Modern Browsers) */
input[type="checkbox"] {
    accent-color: var(--gold);
}


.gold-text {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Spinner Animation */
.spinner {
    display: none; /* Hidden by default */
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* State when the button is "processing" */
.btn-full.is-loading {
    background-color: var(--navy) !important;
    color: var(--white) !important;
    pointer-events: none; /* Prevents double clicks */
    opacity: 0.8;
}

.btn-full.is-loading .spinner {
    display: inline-block;
}




.trust-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.trust-footer {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Mobile Navigation Styles --- */

/* 1. Hide Hamburger on Desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    transition: 0.3s ease;
    border-radius: 2px;
}

/* 2. Mobile Viewport (Screens smaller than 850px) */
@media (max-width: 850px) {
    /* 1. Remove 'display: none' and setup the side-drawer */
    .nav-links {
        display: flex; /* Changed from none to flex */
        position: fixed;
        left: -110%; /* Keeps it hidden off-screen to the left. was -100%*/
        top: 0;
        flex-direction: column;
        background: var(--off-white); 
        width: 90%; /* was 100% */
        height: 60vh; /* was 100vh */
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 1000;
    }

    /* 2. This is the magic rule: when JS adds 'active', it slides in */
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0px 0; /* was 20px */
    }

    .menu-toggle {
        display: flex;
        z-index: 1001; /* Keeps the button above the menu */
    }

    /* 3. Animation: Turns the 3 bars into an 'X' */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
	
	.profile-image {
        margin-bottom: 30px;
        max-width: 400px; /* Prevents the image from being too huge on tall phones */
        margin-left: auto;
        margin-right: auto;
    }

    .profile-text {
        text-align: center;
    }

    .profile-text h2 {
        text-align: center;
    }

    .profile-text h2::after {
        left: 50%;
        transform: translateX(-50%); /* Re-centers the gold line for mobile */
    }

	
}

/* relates to teacher or vikki page  */
@media (max-width: 600px) {
    .accolade-list .pillar-card {
        padding: 15px;
        flex-direction: column; /* Stacks the icon on top of the text */
        text-align: center;
    }
    
    .accolade-list .pillar-content p {
        font-size: 0.85rem;
    }
}

/* Modal Background */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 25, 44, 0.9); /* Your Navy with transparency */
    backdrop-filter: blur(8px);
}

/* Modal Box */
.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    border-radius: 4px;
    box-shadow: var(--shadow-hover);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: var(--navy);
}

.offer-badge {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
}

.countdown-mini {
    background: var(--pink-soft);
    padding: 10px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--pink);
}

.terms-text {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 15px;
}


/* Mobile Adjustments for the Offer Modal */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 30px 20px;
    }

    .close-modal {
        top: 5px;
        right: 15px;
        font-size: 35px; /* Makes the 'X' larger and easier to tap on mobile */
        z-index: 2001; /* Ensures it stays above the modal content */
        padding: 10px; /* Increases the touch target area */
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }
}


/* vikki.html specific styling */
/* Bio Section Enhancements */
.profile-text h2::after {
    left: 0;
    transform: none; /* Align the gold line to the left for the bio */
}

.accolade-list .pillar-card {
    background: var(--navy);
    border: 1px solid rgba(11, 25, 44, 0.05);
    padding: 20px;
}

.accolade-list .pillar-icon {
    font-size: 2rem;
    border-bottom: none;
}

/* Ensure the hero text is responsive */
.page-header h1 span {
    font-style: italic;
    color: var(--pink);
    font-weight: 400;
}


/* stytling for advert banner in courses.html */
.courses-offer-banner {
    background-color: var(--pink-soft); /* Using the soft blush background */
    border-bottom: 1px solid rgba(205, 50, 101, 0.1);
    padding: 12px 20px;
    text-align: center;
}

.offer-tag {
    background: var(--pink);
    color: var(--white);
    padding: 2px 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 2px;
    margin-right: 10px;
}

.courses-offer-banner p {
    display: inline-block;
    margin: 0;
    font-size: 0.9rem;
    color: var(--navy);
}

.courses-offer-banner strong {
    color: var(--pink);
    font-weight: 600;
}

