/* =========================================
   STYLE GUIDE & CSS VARIABLES
========================================= */
:root {
    /* Riviera Colors Extracted from Design */
    --color-primary-dark: #131F43; 
    --color-gold: #bca065;
    --color-gold-hover: #a88d55;
    --color-white: #ffffff;
    --color-text-main: #131F43;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-text-main);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary); 
}

/* =========================================
   UTILITIES
========================================= */
.logo { 
    display: flex;
    align-items: center;
    justify-content: center; 
    width: 208px; 
}

/* =========================================
   HEADER & NAVBAR
========================================= */
.absolute-top {
    position: absolute;
    top: 0;
    left: 0;
}
.top-contact-bar{
    display: flex;
    justify-content: flex-end;
}
.top-contact-bar a {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.top-contact-bar a:hover {
    opacity: 1;
}

/* Glassmorphism Effect for Desktop */
.glass-effect {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .nav-pill-wrapper {
        border-radius: 50px;
        padding: 6px 6px 6px 24px;
    }
   
}

.navbar-nav .nav-link {
    color: var(--color-text-main) !important;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px !important;
}

/* Dropdown Customization */
.custom-dropdown {
    border-radius: 16px;
    padding: 12px 0;
    margin-top: 15px; top: 114% !important
}
.custom-dropdown .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-main);
    padding: 10px 25px;
    transition: all 0.2s ease;
}
.custom-dropdown .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--color-primary-dark);
}

/* Buttons */
.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: none;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: var(--color-gold-hover);
    color: var(--color-white);
    transform: translateY(-2px);
}
.btn-outline-light:hover {
    color: var(--color-primary-dark);
    background-color: var(--color-white);
}



.btn-gold2 {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: none; 
}
.btn-gold2:hover {
    background-color: var(--color-gold-hover);
    color: var(--color-white); 
}
/* =========================================
   MOBILE MENU (FULL SCREEN)
========================================= */
.mobile-menu-fullscreen {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #0b1324 !important;
    color: var(--color-white);
}

.mobile-menu-fullscreen .btn-close {
    opacity: 1;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.mobile-menu-fullscreen .nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 400;
    padding: 0;
}

.mobile-menu-fullscreen .nav-link:hover,
.mobile-menu-fullscreen .nav-link:focus,
.mobile-menu-fullscreen .nav-link[aria-expanded="true"] {
    color: var(--color-white) !important;
}

.mobile-menu-fullscreen .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 10px;
}
.container{
    width: 90% !important;
}
/* =========================================
   HERO BANNER
========================================= */
.hero-banner {
    min-height: 100vh;
    padding-top: 120px;
    border-bottom-right-radius: 120px;
    overflow: hidden;
}

/* Placeholder for the background image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner.png'); /* Replace with actual image path */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-content {
    padding-bottom: 50px;
}

.hero-content h1 {
    line-height: 1.2;
    letter-spacing: -1px;
}

@media (max-width: 991px) {
    .hero-content p {
        width: 100% !important;
    }

    .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/mobile-banner.png'); /* Replace with actual image path */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

}

/* =========================================
   STICKY ENQUIRE BUTTON
========================================= */
.sticky-enquire {
    position: fixed;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 10px 25px;
    border-radius: 10px 10px 0 0; 
    font-size: 14px;
    z-index: 1000;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}
.sticky-enquire:hover {
    background-color: var(--color-gold-hover);
    color: var(--color-white);
}
.sticky-enquire i {
    display: inline-block;
    transform: rotate(90deg);
    margin-left: 8px;
}

/* =========================================
   ABOUT SECTION (Story, Vision, Mission)
========================================= */

/* Typography adjustments for this section */
.text-dark-blue {
    color: var(--color-primary-dark);
}
.text-muted-dark {
    color: #2c3545; /* Darker grey/blue for readability */
}

/* Story Block Styles */
.story-block {
    background-color: #e2e8f8; /* Light periwinkle blue matching design */
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Vision & Mission Block Styles */
.vision-block, .mission-block {
    background-color: #d1e1e9; /* Fallback color */
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Gradient Overlay to fade the image slightly on the left for readable text */
.bg-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit; 
    z-index: 1;
}

.content-wrapper {
    width: 75%; /* Keep text contained to the left */
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .story-images {
        flex-direction: column;
    }
    .story-images .img-placeholder {
        width: 100% !important;
        min-height: 250px;
    }
    .content-wrapper {
        width: 100%; /* Full width text on mobile */
    }
    /* Thicker overlay on mobile so text is readable across the whole image */
    .bg-overlay-gradient {
        background: linear-gradient(to right, rgba(255, 253, 253, 0.9) 0%, rgba(146, 144, 144, 0.7) 50%, rgba(192, 192, 192, 0.5) 100%);
    }
}


/* =========================================
   FACILITIES SECTION
========================================= */
.facilities-section {
    background-color: #EEF2FF; /* Light grey background for contrast */
    padding: 60px 0;
}
/* Base Card Styling */
.facility-card {
    transition: all 0.4s ease;
    cursor: default;
    border: 1px solid rgba(0,0,0,0); /* Invisible border to prevent layout shift on hover if needed */
}

.border-bottom-subtle {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: border-color 0.4s ease;
}

/* Icon Box Styling */


.facility-icon-bg{
    width: 50px;
    height: 50px;
    background-color: #FAF4A4;  
    transition: all 0.4s ease;
}

/* List Styling */
.card-list li {
    font-size: 14px;
    color: #373737; /* Muted text */
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    transition: color 0.4s ease;
}

.card-list li::before {
    content: "•";
    color: inherit;
    font-size: 24px;
    line-height: 1;
    margin-right: 8px;
    margin-top: -2px;
}

.card-title {
    font-size: 22px;
    transition: color 0.4s ease;
    color:#232323;
}

/* =========================================
   FACILITIES HOVER STATE
========================================= */
.facility-card:hover {
    background-color: var(--color-gold) !important;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(188, 160, 101, 0.3) !important;
}

.facility-card:hover .card-title,
.facility-card:hover .card-list li {
    color: var(--color-white) !important;
}

.facility-card:hover .border-bottom-subtle {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Keeps the icon box yellow but slightly brightens on hover */
.facility-card:hover .facility-icon {
    color: var(--color-gold-hover);
}


/* =========================================
   PROGRAMS SECTION (Swiper & Cards)
========================================= */

/* HIDE 5th slide but make the box taller to fit dropdowns */
.programsSwiper {
    overflow: hidden !important; /* Hides extra slides perfectly */
    padding-bottom: 150px !important; /* Creates invisible space for the dropdown */
    margin-bottom: -110px !important; /* Pulls the CTA button back up */
}

/* Card Styling */
.program-card {
    border: 1px solid rgba(0,0,0,0.05);
    background-color: #fffdf7 !important; 
    border-radius: 16px;
    position: relative; 
}

.program-img-wrapper {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow: hidden; 
}

.program-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

/* Action Bar (Learn More + Button) */
.program-action-bar {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    position: relative;
    z-index: 5; 
    cursor: pointer;
    transition: background-color 0.3s ease;
}
 
.plus-btn {
    width: 28px;
    height: 28px;
    background-color: var(--color-gold);
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.program-action-bar:hover .plus-btn {
    background-color: var(--color-gold-hover);
}

/* Expandable Details Container */
.program-details {
    position: absolute;
    top: 97%; 
    left: 0;
    width: 100%;
    background-color: #fffdf7;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px; 
    z-index: 20; 
    height: 0;
    opacity: 0;
    overflow: hidden;
}

/* =========================================
   NEW BUTTON POSITIONING
========================================= */
.program-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-white) !important; /* Ensure solid white background */
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    top: 42%; /* Center with image vertically */
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Adds shadow so they pop over cards */
}

.program-nav-btn::after {
    display: none; 
}

.program-nav-btn:hover {
    background-color: var(--color-gold) !important;
    color: var(--color-white) !important;
}


.swiper-button-next, .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background-color: var(--color-white) !important; /* Ensure solid white background */
     color: var(--color-gold) !important;
}
 .swiper-button-next :hover{ 
     color: var(--color-white) !important;
}
/* Align buttons cleanly outside the grid on Desktop */
.swiper-button-prev.program-nav-btn { left: 0; }
.swiper-button-next.program-nav-btn { right: 0; }

@media (min-width: 1400px) {
    .swiper-button-prev.program-nav-btn { left: 90px; }
    .swiper-button-next.program-nav-btn { right: 90px; }
}
 /* =========================================
   LIFE AT RIVIERA SECTION
========================================= */

/* Background Elements */
.life-section{
    background: linear-gradient(to bottom, #EEF2FF 0%, #ffffff 100%);
    overflow: hidden;
}

.bg-watermark-text {
    bottom: 0; /* Positions it slightly bleeding off the bottom */
    left: -100px;
    font-size: 10vw; /* Responsive huge text */
    line-height: 0.8;
    color: #eaeff6; /* Very subtle blue-grey to blend with background */
    white-space: nowrap;
    letter-spacing: -2px;
}

.swoosh-path {
    stroke-dasharray: 3500; /* Prepares the SVG line for the drawing animation */
    stroke-dashoffset: 2500;
}

/* Card Styling */
.life-card {
    transition: transform 0.3s ease;
}

.life-card:hover {
    transform: translateY(-5px);
}

.life-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

/* Swiper Navigation Customization (White bg, Gold icon) */
.life-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 10;
}

.life-nav-btn::after {
    display: none; 
}

.life-nav-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.swiper-button-prev.life-nav-btn { left: 10px; }
.swiper-button-next.life-nav-btn { right: 10px; }

/* Move buttons outside on larger screens */
@media (min-width: 1400px) {
    .swiper-button-prev.life-nav-btn { left: 3px;}
    .swiper-button-next.life-nav-btn { right:30px; }
}

/* =========================================
   CTA BANNER SECTION
========================================= */

.cta-section {
    min-height: 400px;
    background-color: #b59549; /* Fallback color while image loads */
    overflow: hidden;
}

/* Background Image setup */
.cta-bg {
    /* TODO: Replace this URL with your actual exported Figma image path */
    background-image: url('../images/riviera-school-cta.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Optional: adjust opacity if the image is too bright for the white text */
    opacity: 0.9; 
}

.cta-text {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Helps text readability over the image */
    letter-spacing: 0.3px;
}

/* Custom White Button for CTA */
.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    border: none;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: #f8f9fa;
    color: var(--color-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* =========================================
   FOOTER SECTION
========================================= */

.site-footer {
    color: var(--color-white);
    background: linear-gradient(135deg, #182F70 0%, #131F44 100%);
}

.text-gold {
    color: var(--color-gold) !important;
}

.text-light-muted {
    color: #ffffff; /* Soft blue-gray for readability */
}

.footer-heading {
    color: #cbd5e1;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.transition-all {
    transition: all 0.3s ease;
}
.footer-bg-tree {
    bottom: 69px;
}
.footer-bg-tree  img {
    width: 90%;
}
.hover-gold:hover {
    color: var(--color-gold) !important;
    transform: translateX(3px); /* Subtle shift right on hover */
    display: inline-block;
}

/* Social Links Hover (No translation, just color) */
.social-links .hover-gold:hover {
    transform: none;
}

/* Back to Top Circular Button */
.back-to-top-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
}

.circular-text {
    animation: rotateText 15s linear infinite;
    transform-origin: center;
}

/* Keyframes for spinning the SVG text */
@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.footer-bottom{
        background-color: #131F43;
}

/* =========================================
   INNER PAGES
========================================= */
/* =========================================
   About us
========================================= */
/* =========================================
   INNER PAGE HERO BANNER
========================================= */

.inner-hero {
    /* Deep blue gradient matching the screenshot */
    background-image: url(../images/about-riviera-banner-bg.png);
    padding-bottom: 120px; /* Creates the space inside the blue box for the images to overlap */
    overflow: hidden;
}
 

.inner-hero-content p {
    font-size: 1.05rem;
}

/* =========================================
   OVERLAPPING IMAGES SECTION
========================================= */

.inner-hero-images {
    /* Ensures this section sits physically lower, but visually overlaps */
    margin-bottom: 40px; 
}

.overlap-row {
    margin-top: -140px; /* THIS is the magic line that pulls the images up over the blue background */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .overlap-row {
        margin-top: -80px; 
    }
    .inner-hero {
        padding-bottom: 60px;
    }
    .overlap-row .img-placeholder {
        height: 300px !important; /* Smaller images on mobile */
    }
}

/* =========================================
   WHAT SETS US APART SECTION
========================================= */

.feature-card {
    background-color: #fafafb; /* Very light, soft gray matching the design */
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.feature-icon-box {
    width: 90px;
    height: 90px;
    border: 1px solid rgba(0,0,0,0.03); /* Subtle border for the white box */
}

.feature-card h6 {
    font-size: 1.1rem;
    letter-spacing: -0.2px;
}

.feature-card p {
    color: #6c757d;
}

/* Ensure the gold icon pops nicely */
.text-gold {
    color: var(--color-gold) !important;
}

/* =========================================
   ABOUT US & VALUES SECTION
========================================= */

/* Vision & Mission Cards */
.about-vision-card {
    background-color: #234093; /* Deep blue matching design */
    box-shadow: 0 15px 35px rgba(39, 59, 107, 0.15);
    transition: transform 0.3s ease;
}

.about-mission-card {
    background-color: #B49C55; /* Gold matching design */
    box-shadow: 0 15px 35px rgba(188, 160, 101, 0.15);
    transition: transform 0.3s ease;
}

.about-vision-card:hover,
.about-mission-card:hover {
    transform: translateY(-5px);
}

/* Our Values Cards */
.value-card {
    background-color: #f2efe4; /* Pale beige matching design */
    border: 1px solid rgba(0,0,0,0.02);
    min-height: 220px; /* Ensures all cards have a consistent square-ish shape */
    transition: all 0.3s ease;
}

.value-card:hover {
    background-color: #ebe7d6; /* Slightly darker beige on hover */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.value-icon-box {
    width: 48px;
    height: 48px;
    background-color: #FAF4A4; 
}

.about-values-section{
    background: linear-gradient(180deg, #F6F5E5 0%, rgba(246, 245, 229, 0.00) 100%);
}

/* =========================================
   FOUNDER DESK OVERLAP FIX
========================================= */

/* The box containing the image and caption */
.founder-overlap-box {
    margin-top: 0;
    margin-bottom: -151px; /* This pulls the image down out of the blue background */
    position: relative;
    z-index: 10;
}

.founder-img-anim {
    margin-top: 0;
}

/* This creates blank white space below the blue section so the image doesn't crash into the Promise section */
.founder-white-spacer {
    height: 220px; 
    width: 100%;
}

.founter-right-quote {
color: #B49C55; font-size: 3rem; font-family: serif; display: block; margin-bottom: -15px; line-height: 1;
}
.founter-right-text {
color: #B49C55; font-size: 22px; display: block; margin-bottom: 15px; line-height: normal; font-weight: 500;
}

/* Mobile adjustments so the overlap isn't too huge on small screens */
@media (max-width: 991px) {
    .founder-overlap-box {
        margin-bottom: -130px; 
    }
    .founder-white-spacer {
        height: 120px;
    }
}

/* =========================================
   THE RIVIERA PROMISE
========================================= */

/* Dark gradient fading from left to right so text is readable */
.promise-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%);
}

@media (max-width: 991px) {
    .promise-overlay {
        background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
    }
}

/* =========================================
   TOGETHER AT RIVIERA SECTION
========================================= */
.together-section {
    background-color: #f6f5ea; /* Light pale yellow matching design */
}
/* Button Hover State */
.together-btn {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.together-btn:hover {
    background-color: #b19356 !important; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(195, 166, 108, 0.2);
}

/* Ensure nice image sizing on mobile */
@media (max-width: 991px) {
    .together-section img {
        min-height: 350px !important;
    }
}

/* =========================================
   FACILITIES SECTION
========================================= */

.facilities-section {
    overflow-x: hidden;
}

/* Large vertical spacing between the rows to match the airy design */
.facilities-row {
    margin-bottom: 100px;
}
.facilities-row:last-child {
    margin-bottom: 0;
}

/* Typography */
.facility-heading {
    color: #1b2b52; /* Deep blue */
}

.facility-title {
    color: #1b2b52;
    font-size: 18px; 
    margin-bottom: 4px;
    font-weight: medium;
}

.facility-desc { 
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Icons Setup (Assumes you are using exported SVGs or transparent PNGs) */
.facility-icons {
    width: 50px;
    height: 50px;
    object-fit: contain; 
    flex-shrink: 0;
}

.facility-icon {
    width: 36px;
    height: 36px;
    object-fit: contain; 
    flex-shrink: 0;
}
/* Images Setup */
.facility-img {
    border-radius: 16px;
    height: 350px;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .facilities-row {
        margin-bottom: 60px;
    }
    .facility-img {
        height: 250px;
    }
}

/* =========================================
   OUR STUDENTS HERO
========================================= */

/* Hero Section Background & Spacing */
.students-hero {
    background: linear-gradient(135deg, #1b2b52 0%, #2a4b8d 100%);
    padding-bottom: 150px; /* Creates space for the image to overlap */
    overflow: hidden;
}

/* Optional Background Overlay Class */
.students-hero-bg {
    /* If you export the faint background pattern, add the URL here */
    background-image: url('placeholder-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

/* =========================================
   STUDENTS OVERLAPPING MEDIA
========================================= */

/* Pulls the image up over the blue background */
.students-media-wrapper {
    margin-top: -180px; 
    background-color: #e9ecef;
}

/* Image Sizing */
.students-media-img {
    height: 550px;
    object-fit: cover;
}

/* Play Video Button Overlay */
.play-video-btn {
    bottom: 30px;
    right: 30px;
    background-color: #ffffff;
    padding: 10px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 5;
}

.play-video-btn i {
    color: #1b2b52; /* Dark blue icon */
}

.text-dark-blue {
    color: #1b2b52;
}

.play-video-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background-color: #f8f9fa;
}

/* Spacer */
.students-spacer {
    height: 100px;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .students-hero {
        padding-bottom: 80px;
    }
    .students-media-wrapper {
        margin-top: -80px;
    }
    .students-media-img {
        height: 350px;
    }
    .play-video-btn {
        bottom: 20px;
        right: 20px;
        padding: 8px 16px;
    }
    .students-spacer {
        height: 60px;
    }
}


/* =========================================
   ACCOLADES BULLETIN SECTION
========================================= */

.accolades-section {
    background-color: #EEF2FF; /* Soft blue-grey background matching the design */
}

.section-title-dark {
    color: #131F43;
}

/* Card Sizing & Setup */
.accolade-card {
    background-color: #e9ecef;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.accolade-tall {
    height: 460px;
}

.accolade-short {
    height: 220px;
}

/* Image & Hover Scaling */
.accolade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accolade-card:hover {
    transform: translateY(-5px);
}

.accolade-card:hover .accolade-img {
    transform: scale(1.05); /* Slight zoom on image hover */
}

/* Gradients for readability */
 

/* Typography */
.accolade-title {
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.accolade-desc {
    color: #f8fafc;
    font-size: 13px;
    line-height: 1.4;
}

/* Desktop Hover Logic */
@media (min-width: 992px) {
    .accolade-desc {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
    
    .accolade-card:hover .accolade-desc {
        max-height: 150px;
        opacity: 1;
    }
}

/* Mobile Logic (Always show text, make all cards uniform height) */
@media (max-width: 991px) {
    .accolade-tall, .accolade-short {
        height: 280px; /* Uniform height on mobile ensures text always fits nicely */
    }
    
    .accolade-desc {
        max-height: none;
        opacity: 1;
    }
}
/* =========================================
   LEARNER'S PROFILE SECTION
========================================= */

.section-title-dark {
    color: #0f1b33;
}

.learner-subtitle {
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

/* Card Styling */
.learner-card {
    background-color: #EEF2FF; /* Soft lavender/blue matching the design */
    height: 100%; /* Ensures equal height in the grid */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border-radius: 12px;
}

.learner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

/* Icon Sizing */
.learner-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Typography Inside Cards */
.learner-title {
    color: #131F43;
    font-size: 1.1rem; 
    line-height: 1.3;
}

.learner-desc {
    color: #131F43;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================
   GENERAL ENQUIRY SECTION
========================================= */

.section-title-dark { 
    color: #131F43;;
}

.enquiry-subtitle { 
    margin: 0 auto;
}

/* Form Card Styling */
.enquiry-card {
    background-color: #ffffff; 
    border: solid 1px #E9E3C8;
}

.admission-card {
    background-color: #ffffff;  
}


/* Input Fields Styling */
.enquiry-form-label {
    font-size: 13px; 
    color: #131F43;;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.enquiry-form-control {
    border-radius: 30px; /* Pill shape for inputs */ 
    padding: 12px 20px;
    font-size: 14px;
    color: #4a5568;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.enquiry-textarea {
    border-radius: 16px; /* Slightly less rounded for textarea */
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    font-size: 14px;
    color: #4a5568;
    resize: none;
}

.enquiry-form-control:focus,
.enquiry-textarea:focus {
    border-color: #c3a66c;
    box-shadow: 0 0 0 3px rgba(195, 166, 108, 0.1);
    outline: none;
}

.enquiry-form-control::placeholder,
.enquiry-textarea::placeholder {
    color: #a0aec0;
}

/* Submit Button */
.enquiry-submit-btn {
    background-color: #bca065;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 400;
    border: none;
    transition: all 0.3s ease;
}

.enquiry-submit-btn:hover {
    background-color: #a98f56;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(188, 160, 101, 0.2);
}

/* Right Column: Image */
.enquiry-img {
    height: 420px;
    object-fit: cover;
}

/* Right Column: Contact Details */
.contact-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: #FAF4A4; /* Soft gold/yellow background */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b2b52;
    font-size: 20px;
}

.contact-label {
    font-size: 12px;
    color: #718096;
    margin: 0 0 2px 0;
}

.contact-value {
    font-size: 14px;
    font-weight: 600;
    color: #131F43;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #c3a66c;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .enquiry-img {
        height: 300px;
    }
}


/* =========================================
   MOBILE MENU DROPDOWN FIX
========================================= */
@media (max-width: 991px) {
    .navbar-collapse .dropdown-menu,
    .offcanvas .dropdown-menu { /* Added offcanvas just in case you are using that component */
        position: relative !important; /* This is the magic line that pushes content down */
        float: none;
        background-color: transparent !important; /* Removes the white box so it blends with your dark menu */
        border: none !important;
        box-shadow: none !important;
        transform: none !important; 
        margin-top: 0 !important;         
        padding-bottom: 10px;
    }

    /* Indent the sub-menu items slightly so they look like a nested list */
    .navbar-collapse .dropdown-item,
    .offcanvas .dropdown-item {
        padding-left: 30px !important; 
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        color: rgba(255, 255, 255, 0.75) !important; /* Slightly dimmed white to show hierarchy */
    }

    .navbar-collapse .dropdown-item:hover,
    .offcanvas .dropdown-item:hover {
        background-color: transparent !important;
        color: #ffffff !important;
    }

   
    .logo {
        margin-bottom: 10px;
        width: 140px;
    }
      .top-contact-bar{
        display: flex;
        flex-direction: column; 
        padding: 0 0 1rem 0;
        gap: 15px;
        display: none;
    }
}

@media (max-width: 575px) {
   

    .mobile-mt-20 {
        margin-top: 20px !important;
    }
}

/* =========================================
   ADMISSIONS SECTION
========================================= */

/* Left Column Information Cards */
.admissions-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admissions-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.card-beige {
    background-color: #F6F5E5; /* Matches the 'Together at Riviera' section */
}

.card-lavender {
    background-color: #f0f3fa; /* Matches the 'Learner Profile' section */
}

.info-card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.info-card-title {
    color: #131F43;   
    font-weight: 400;
    font-size: 24px;
}

.info-card-text {
    color: #131F43;
    font-size: 15px; 
    font-weight: lighter;
}

/* Custom List Styling */
.list-icon-circle {
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c3a66c; /* Gold icon */
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px; /* Aligns perfectly with the text */
}

.list-text {
    color: #1b2b52;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.5;
}

/* Right Column Form Card */
.admissions-form-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* Subtle outline like the design */
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.form-card-title {
    color: #0f1b33;
    font-size: 24px;
    font-weight:400;
}

.form-divider {
    border-color: #e2e8f0;
    opacity: 1;
}

/* Form Submit Button (Matches Zoho button style from previous step) */
.form-submit-btn {
    background-color: #bca065;
    color: #ffffff;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    background-color: #a98f56;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(188, 160, 101, 0.2);
}

/* =========================================
   JOIN FAMILY BANNER SECTION
========================================= */

.join-banner-section {
    min-height: 652px; /* Gives the banner a nice wide height */
}

/* The Background Image Placeholder */
.join-banner-bg {
    /* Replace with your exact image URL */
    background-image: url('../images/admision-cta.png');
    background-size: cover;
    background-position: center;
}

/* The Muted Olive/Slate Green Overlay */
.join-banner-overlay {
    /* Fades perfectly from 95% solid on the left to completely transparent on the right */
    background: linear-gradient(to right, rgba(103, 116, 107, 0.95) 0%, rgba(103, 116, 107, 0.75) 45%, rgba(103, 116, 107, 0) 100%);
}

/* Typography */
.join-banner-text {
    font-size: 1.6rem;
    
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .join-banner-section {
        min-height: 350px;
    }
    .join-banner-text {
        font-size: 1.25rem; /* Slightly smaller text for mobile */
    }
    .join-banner-overlay {
        /* On mobile, text spans wider, so we extend the dark gradient across the whole image for readability */
        background: linear-gradient(to right, rgba(103, 116, 107, 0.95) 0%, rgba(103, 116, 107, 0.8) 100%);
    }
}

/* =========================================
   ACADEMIC PROGRAM SECTION
========================================= */

/* Base Card Styling */
.academic-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.academic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

/* Background Colors */
.card-light {
    background-color: #F6F5E5; /* Very light grey/white for the Curriculum card */
}

.card-beige {
    background-color: #EDE8D5; /* Warm beige matching the design */
}

/* Typography */
.section-title-dark {
    color: #131F43;
}

.academic-card-title {
    color: #131F43;
    font-weight: medium;
    font-size: 1.2rem;
    line-height: 1.4;
}

.academic-card-text {
    color: #131F43;
    font-size: 14.5px;
    line-height: 1.6;
}

/* Top Right Icon Box */
.academic-icon-box {
    width: 80px;
    height: 80px;
    background-color: #FAF4A4; /* Soft yellow background for the icon */ 
    border-radius: 16px;
}

.academic-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
/* =========================================
   CO-CURRICULAR PROGRAMS SECTION
========================================= */

.co-curricular-section {
    background-color: #f4f6fc; /* Very light cool-blue/grey background */
}

/* Text Formatting */
.section-title-dark {
    color: #1b2b52;
}

.co-curricular-desc {
    color: #4a5568;
}

.opportunities-title {
    color: #1b2b52;
    font-size: 1.15rem;
    font-weight: 600;
}

.opportunities-divider {
    border-color: #cbd5e1;
    opacity: 1;
}

/* Card Styling */
.opportunity-card {
    background-color: #274382; /* Deep blue matching the design */
    min-height: 64px; /* Ensures all cards have uniform height even if text wraps */
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: default;
}

.opportunity-card:hover {
    transform: translateY(-2px);
    background-color: #1f366e; /* Slightly darker on hover */
}

/* Icon Box Styling */
.opportunity-icon-box {
    width: 48px;
    height: 48px;
}

.opportunity-icon {
    width: 40px;
    height:40px;
    object-fit: contain;
}

/* Card Text Styling */
.opportunity-text {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 500;
}

/* =========================================
   SPORTS PROGRAM SECTION
========================================= */

.section-title-dark {
    color: #131F43;
}

.sports-desc {
    color: #131F43;
    line-height: 1.7;
}

/* Sports Category Boxes */
.sports-box {
    background-color: #f2f2f2; /* Soft grey matching the design */
    border: 1px solid rgba(0,0,0,0.03);
}

.sports-box-title {
    color: #131F43;
    font-weight: medium;
    font-size: 16px;
}

.sports-box-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Sports Pills */
.sports-pill {
    background-color: #234093; /* Deep blue matching the buttons */
    color: #ffffff;
    font-size: 13px;
    font-weight: semi-bold;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px; 
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: default;
}

.sports-pill:hover {
    transform: translateY(-2px);
    background-color: #1b2b52;
}

/* Image Grid Styling */
.sports-img {
    border-radius: 12px;
    object-fit: cover;
}

.sports-img-short {
    height: 180px; /* Two of these plus the gap roughly equal the tall image */
}

.sports-img-tall {
    min-height: 375px; 
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .sports-img-short {
        height: 140px;
    }
    .sports-img-tall {
        min-height: 295px;
    }
}

/* =========================================
   NEWS & BLOGS (PULSE) SECTION
========================================= */

/* Background Colors */
.blog-bg {
    background-color: #EEF2FF;
    border-radius: 8px;
}

.blog-bg-2 {
    background-color: #F6F5E5;
}

/* Card Container */
.pulse-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.01);
}

.bi-check2 {
    color: #0B6EFD;  height: 25px; 
}

.pulse-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}

/* Tag Pill */
.pulse-tag {
    background-color: #234093; /* Deep Blue */
    color: #ffffff;
    font-size: 10px;
    font-weight: medium;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    align-self: flex-start; /* Keeps the tag from stretching */
}

/* Typography */
.pulse-title {
    color: #0f1b33;
    font-size: 1.15rem;
    font-weight: semi-bold;
    line-height: 1.4;
}

.pulse-desc {
    color: #0f1b33;
    font-size: 14px;
    line-height: 1.6;
}

/* Image */
.pulse-img {
    border-radius: 12px;
    height: 100%;
    object-fit: cover;
}
.pulse-card{
     border-radius: 12px;
}
/* List Items (News Card) */
.pulse-list-title {
    color: #0f1b33;
    font-size: 15px;
    font-weight: medium;
}

.pulse-list-item {
    color: #0f1b33;
    font-size: 14px;
    font-weight: 500;
}

.text-primary {
    color: #274382 !important; /* Forces the checkmark to match the dark blue */
}

/* Read Post Link */
.read-post-link {
    color: #0f1b33;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.read-post-link i {
    color: #c3a66c; /* Gold Arrow */
    font-size: 18px;
    transition: transform 0.2s ease;
}

.read-post-link:hover {
    color: #274382;
}

.read-post-link:hover i {
    transform: translateX(4px); /* Slight bump right on hover */
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .pulse-img {
        height: 200px;
    }
}

/* =========================================
   BLOG DETAIL SECTION
========================================= */

.blog-main-title {
    color: #1b2b52;
    font-size: 2.2rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Image Wrappers */
.blog-img-wrapper {
    width: 100%;
}

/* The Wide Hero Image */
.blog-hero-img {
    object-fit: cover;
    max-height: 550px; /* Increased from 450px so the wider image stays proportional */
    width: 100%;
}

/* The Smaller Images inside the text */
.blog-inline-img {
    object-fit: cover;
    max-height: 400px;
    width: 100%;
}

/* Typography for the body text */
.blog-text-content p { 
    color:var(--color-text-main);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .blog-main-title {
        font-size: 1.75rem;
    }
    .blog-hero-img {
        max-height: 300px; 
    }
    .blog-inline-img {
        max-height: 250px;
    }
    .blog-text-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* =========================================
   CAREER FORM SPECIFICS
========================================= */

/* The outer card matching the design */
.career-form-card {
    background-color: #ffffff;
    border: 1px solid #E9E3C8; /* Very light border */
    /* Optional: If you want a slight shadow like the image suggests */
    box-shadow: 0 4px 20px rgba(0,0,0,0.02); 
}

/* Custom Upload Resume Button */
.upload-resume-btn {
    background-color: #eee9d8; /* Light beige matching the design */
    color: #1b2b52;
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.upload-resume-btn:hover {
    background-color: #e0d8bf;
    color: #1b2b52;
    transform: translateY(-2px);
}

/* File size hint text */
.file-size-text {
    font-size: 13px;
    color: #718096;
}   

/* =========================================
   SWIPER OVERLAP FIX
========================================= */

/* 1. Let clicks pass through the empty padding, but keep it visually in the front */
.programsSwiper {
    pointer-events: none;
    position: relative;
    z-index: 5 !important; 
}

/* 2. Turn clicks BACK ON for the actual cards and your custom navigation arrows */
.programsSwiper .swiper-wrapper,
.program-nav-btn {
    pointer-events: auto;
}

