/* Modern Design Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #fbbf24;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --announcement-bg: rgb(3, 3, 150);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --card-color-1: #e6f7ff; /* Light blue */
    --card-color-2: #fff1e6; /* Light orange */
    --card-color-3: #e6ffe6; /* Light green */
    --card-color-4: #f5e6ff; /* Light purple */
    --card-color-5: #fff6e6; /* Light yellow */
    --card-color-6: #ffe6e6; /* Light red */
}

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

/* Announcements Section */
.announcements.bg-primary {
    background-color: var(--announcement-bg) !important;
}

.smudged-img {
    width: 400px;
    height: auto;
    box-shadow: 0px 0px 30px 20px rgba(255, 255, 255, 0.7);
    border-radius: 10px; /* Optional: for rounded corners */
    margin: 0 auto;
    display: block;
    max-width: 100%; /* Ensure images don't overflow on mobile */
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 76px;
}

/* Modern Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    /* Removed: transition: transform 0.3s ease; */
    margin-left: -50px; /* Increased negative margin to shift logo and text further to the left */
}

/* Navigation menu alignment and styling */
.navbar-collapse {
    margin-right: auto;
    margin-left: 0; /* Reset the negative margin for better alignment */
    display: flex;
    justify-content: flex-end; /* Align menu items to the right */
}

.nav-link {
    position: relative;
    padding: 0.5rem 1.2rem; /* Adjusted horizontal padding for proper spacing */
    font-weight: 700; /* Bolder text for better visibility */
    font-size: 1rem; /* Standard font size */
    color: #010000 !important; /* Darker text color for better contrast */
    text-transform: uppercase; /* Uppercase text for menu items */
    letter-spacing: 0.5px; /* Slight letter spacing for better readability */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
    left: 0;
}

.navbar-nav {
    gap: 10px; /* Add spacing between nav items */
}

/* Modern Hero Section */
/* Modern Hero Section */
.hero {
    background: url('https://i.pinimg.com/736x/44/9a/44/449a44586e4060889eda1eb2c6a93462.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll; /* Allows scrolling */
    position: relative; /* Ensure pseudo-element positioning works */
    padding: 80px 0;
    color: white; /* Ensures text is readable */
}

/* Optional Overlay for Styling */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.1;
    position: absolute;
}

/* Ensure the section takes up full height to show effect */
.hero-container {
    min-height: 100vh;
}


.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

/* Modern Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

/* Removed hover animation */
.card:hover {
    box-shadow: var(--card-shadow);
}

.card-body {
    padding: 2rem;
}

/* Modern Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    /* Removed animation */
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
        box-shadow: 0 0 5px rgba(0, 0, 255, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(0, 0, 255, 0.7);
    }
    100% {
        opacity: 0.7;
        box-shadow: 0 0 5px rgba(0, 0, 255, 0.4);
    }
}



/* Responsive Design */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Ensure burger menu is properly positioned and sized */
    .navbar-toggler {
        border: 2px solid #010000;
        padding: 0.4rem 0.6rem;
        font-size: 1.2rem;
        border-radius: 0.375rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(1, 0, 0, 0.25);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%281, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5em;
        height: 1.5em;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        margin-left: 0;
        flex: 1;
    }
    
    /* Improve burger menu visibility and positioning */
    .navbar-toggler {
        margin-left: auto;
        border: 2px solid #010000;
        padding: 0.5rem 0.7rem;
        font-size: 1.3rem;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .navbar-toggler:hover {
        background-color: rgba(1, 0, 0, 0.1);
    }
    
    /* Fix for school name being cropped on mobile */
    .navbar-brand .d-flex.flex-column span.fw-bold {
        font-size: 0.9rem;
        line-height: 1.2;
        word-wrap: break-word;
        max-width: 200px;
    }
    
    .navbar-brand img {
        height: 60px; /* Slightly smaller logo on mobile */
        width: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .card {
        margin-bottom: 1.5rem;
    }
    
    /* Make images responsive on mobile */
    .smudged-img {
        width: 100% !important;
        max-width: 350px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    /* Ensure all images in content are responsive */
    .col-md-6 img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }
    
    /* Adjust text and spacing for mobile */
    .page-header h1 {
        font-size: 2.5rem !important;
    }
    
    .page-header p.lead {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
    }
    
    /* Enhanced burger menu for small screens */
    .navbar-toggler {
        border: 2px solid #010000;
        padding: 0.6rem 0.8rem;
        font-size: 1.4rem;
        margin-right: 0;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .navbar-toggler-icon {
        width: 1.8em;
        height: 1.8em;
    }
    
    /* Further adjustments for very small screens */
    .navbar-brand .d-flex.flex-column span.fw-bold {
        font-size: 0.8rem;
        max-width: 180px;
    }
    
    .navbar-brand img {
        height: 50px;
        width: auto;
    }
    
    .navbar-brand .d-flex.flex-column p.fs-6 {
        font-size: 0.7rem !important;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Extra responsive image rules for very small screens */
    .smudged-img {
        width: 100% !important;
        max-width: 280px;
        height: auto;
    }
    
    /* Adjust page headers for small screens */
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .page-header p.lead {
        font-size: 1.1rem !important;
    }
    
    /* Ensure proper spacing between content sections */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Make all images in content responsive */
    section img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}

/* Mobile Announcement Toggle */
.mobile-toggle-announcement {
    display: none; /* Hidden by default on all devices */
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fbbf24; /* Bright yellow */
    color: rgb(3, 3, 150); /* Updated to match Salient Features heading color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1060;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    border: 2px solid rgb(3, 3, 150);
}

.mobile-toggle-announcement i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.mobile-toggle-announcement.active i {
    transform: rotate(45deg);
}

.mobile-announcement-box {
    display: none; /* Initially hidden */
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 250px;
    background-color: #FFD700; /* Bright yellow */
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1059;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    border: 2px solid rgb(3, 3, 150);
    pointer-events: none; /* Prevent interaction when hidden */
}

.mobile-announcement-box.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-announcement-box h5 {
    color: rgb(3, 3, 150);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.mobile-announcement-box p {
    color: #333;
    margin-bottom: 15px;
    font-size: 14px;
}

.mobile-announcement-box .btn-apply {
    background-color: rgb(3, 3, 150);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    width: 100%;
    transition: all 0.2s ease;
}

.mobile-announcement-box .btn-apply:hover {
    background-color: rgba(3, 3, 150, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Media query for mobile (max-width: 768px) */
@media (max-width: 768px) {
    .contact-info {
        display: none !important; /* Hide contact info on mobile */
    }
    /* Hide the entire announcements section on mobile */
    section.announcements.fixed-top, 
    .announcements.fixed-top,
    .announcements {
        display: none !important;
    }
    .navbar.fixed-top {
        top: 0 !important; /* Reset navbar position to top of viewport */
    }
    body {
        padding-top: 56px !important; /* Adjust body padding to account for navbar height only */
    }
    
    /* Show mobile announcement toggle on mobile */
    .mobile-toggle-announcement {
        display: flex;
    }
    
    /* Additional mobile navbar improvements */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure proper navbar collapse behavior */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        z-index: 1000;
        background-color: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Quick Links Section */
.quick-links {
    background: url('https://i.pinimg.com/736x/44/9a/44/449a44586e4060889eda1eb2c6a93462.jpg') no-repeat center center/cover;
    padding: 5rem 0; /* Adds spacing to make the section visible */
}

/* Educational Approach Section */
.educational-approach {
    background: #ffffff;
}

.educational-approach img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.educational-approach strong {
    color: rgb(3, 3, 150);
}

.educational-approach h4 {
    font-weight: 600;
}

.educational-approach .list-unstyled li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.educational-approach .list-unstyled i {
    margin-top: 4px;
}

/* Four Corners Layout */
.four-corners-container {
    position: relative;
    min-height: 700px;
    margin: 0 auto;
    padding: 50px 0;
}

.center-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 300px;
}

.corner-cards-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.corner-cards-container .card {
    max-width: 90%;
    margin: 0 auto;
}

/* Add some space around the center image */
.corner-cards-container .card:nth-child(1) {
    margin-right: auto;
    margin-bottom: auto;
}

.corner-cards-container .card:nth-child(2) {
    margin-left: auto;
    margin-bottom: auto;
}

.corner-cards-container .card:nth-child(3) {
    margin-right: auto;
    margin-top: auto;
}

.corner-cards-container .card:nth-child(4) {
    margin-left: auto;
    margin-top: auto;
}


/* Cards Styling */
.quick-links .card {
    border-radius: 1rem;
    background: white;
}

/* Icons Styling */
.quick-links i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: none; /* Remove background image from icons */
    margin-bottom: 1.5rem;
    /* Animation removed as requested */
}

/* Feature Icons Styling */
.feature-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

/* Hover Card Effect */
.hover-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.hover-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    color: rgba(37, 99, 235, 0.25);
}

/* Number Circle */
.number-circle {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}


/* Announcements Section */
.bg-primary {
    background-color: rgb(3, 3, 150) !important;
}

.announcement-box {
    background-color: rgb(240, 240, 6);
    color: black;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
    position: relative;
    animation: slideDown 0.8s ease-in-out;
}

/* Slide-Down Animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.announcement-box a:hover {
    background: #e6b800; /* Darker yellow on hover */
}

.announcement-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border:#e5e7eb
}

.announcement-item:hover {
    transform: translateX(5px);
    box-shadow: var(--hover-shadow);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
    padding: 4rem 0 2rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Modern Form Styles */
.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    padding: 0.8rem; /* Increased padding inside dropdown menu */
    min-width: 220px; /* Slightly increased width */
    animation: fadeInUp 0.3s ease;
}

.dropdown-item {
    padding: 0.9rem 1.2rem; /* Increased padding for more space between dropdown items */
    border-radius: 0.3rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.05rem; /* Increased font size */
    margin-bottom: 0.3rem; /* Added margin between dropdown items */
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Navbar Dropdown Hover Effect */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.contact-info {
    font-size: 14px; /* Adjusts text size */
    line-height: 1.8; /* Increases space between lines */
    display: flex; /* Aligns items in a row */
    gap: 20px; /* Adds space between icons */
    flex-wrap: wrap; /* Ensures responsive layout */
    align-items: center;
}
.contact-info i {
    margin-right: 8px; /* Adds space between icon and text */
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes rotate-bounce {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.1); }
    50% { transform: rotate(0deg) scale(1.2); }
    75% { transform: rotate(-10deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

.btn-float {
    animation: pulse-attention 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
}

@keyframes pulse-attention {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}


/* Why Choose Us Section */
.why-choose-us {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: #ffffff; 
}

/* Image cards in Why Choose Us section */
.why-choose-images .image-card {
    height: auto;
    background: transparent;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px; /* Smooth rounded corners */
}

.smart-class-img {
    width: 100%;
    height: 520px; /* Adjust as needed */
    object-fit: cover;
    border-radius: 12px;
}

.individual-care-img,
.trained-teachers-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.col-4.d-flex.flex-column {
    gap: 20px; /* Adds spacing between the two smaller images */
}


.rounded-4 {
    border-radius: 2%;
}

.badge.rounded-pill {
    padding: 0.5rem 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.number-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    
}

/* FAQ Section Styles */
.faq-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    animation: pulse-bg 15s infinite alternate;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent-color, #ffc107);
    opacity: 0.1;
    border-radius: 50%;
    animation: pulse-bg 10s infinite alternate-reverse;
}

@keyframes pulse-bg {
    0% { transform: scale(1); }
    100% { transform: scale(1.5); }
}

.faq-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border-left: 4px solid var(--primary-color);
}

.faq-icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 50%;
    text-align: center;
    transition: all 0.4s ease;
}

.accordion-button {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 10px !important;
}

.accordion-button:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.03);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:not(.collapsed) .faq-icon {
    transform: rotate(360deg);
    background-color: var(--primary-color);
    color: white;
}

/* FAQ Pulse Animation */
@keyframes faq-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.faq-pulse {
    animation: faq-pulse 0.3s ease;
}

.accordion-button:focus {
    box-shadow: none;
}

/* FAQ Ripple Effect */
.faq-ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: faq-ripple 0.6s linear;
    pointer-events: none;
    z-index: 0;
}

@keyframes faq-ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* FAQ Background Patterns */
.faq-bg-pattern {
    animation: float 15s infinite ease-in-out alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, 10px) rotate(5deg); }
    100% { transform: translate(-10px, 5px) rotate(-5deg); }
}

/* FAQ Content Transitions */
.accordion-collapse {
    transition: all 0.4s ease-in-out;
}

.accordion-body {
    padding: 1.5rem;
    line-height: 1.6;
    color: #495057;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border-color: rgba(var(--bs-primary-rgb), 0.25);
}

.accordion-body {
    padding: 1.5rem;
    line-height: 1.6;
    border-radius: 12px;
    overflow: hidden;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 3rem;
    opacity: 0.5;
    background: linear-gradient(135deg, currentColor 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-card:hover .feature-icon {
    opacity: 0.8;
}

/* Educational Approach Styles - Simplified */
.educational-approach {
    padding: 80px 0;
}

.educational-approach p {
    line-height: 1.8;
    color: #333;
}

.educational-approach .text-primary {
    color: #0d6efd !important;
}

.educational-approach .rounded-4 {
    border-radius: 8px;
}

.educational-approach .badge {
    font-weight: 500;
}

.educational-approach .list-unstyled {
    padding-left: 0;
}

.educational-approach .list-unstyled li i {
    color: #0d6efd;
}

/* Icon Colors */
.fa-brain { color: #8b5cf6; } /* Purple for brain/psychology */
.fa-puzzle-piece { color: #3b82f6; } /* Blue for playful learning */
.fa-clipboard-check { color: #10b981; } /* Green for assessment */
.fa-film { color: #f59e0b; } /* Amber for visual learning */
.fa-heart { color: #ef4444; } /* Red for values */
.fa-leaf { color: #22c55e; } /* Green for environment */
.fa-running { color: #06b6d4; } /* Cyan for physical education */
.fa-palette { color: #ec4899; } /* Pink for co-curricular */

/* Scrollable Cards Section */
.scroll-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 0;
    max-width: 1200px;
    margin: auto;
}

.scroll-content {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 95%;
    max-width: 1200px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.scroll-card {
    min-width: 280px;
    max-width: 300px;
    margin: 0 15px;
    margin-top: 25px; /* Add space for the icon at the top */
    border-radius: 15px;
    /* Removed transition property */
    background: white;
    box-shadow: var(--card-shadow);
    overflow: visible; /* Changed from hidden to allow icon to overflow */
    display: none; /* Initially hidden, controlled by JS */
    opacity: 0;
    /* Removed transition property */
    flex: 1;
    position: relative;
}

.scroll-card:nth-child(1) {
    background: linear-gradient(135deg, #e6f7ff 0%, #90caf9 100%);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.2);
}

.scroll-card:nth-child(2) {
    background: linear-gradient(135deg, #fff1e6 0%, #ffcc80 100%);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.2);
}

.scroll-card:nth-child(3) {
    background: linear-gradient(135deg, #e6ffe6 0%, #a5d6a7 100%);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.2);
}

.scroll-card:nth-child(4) {
    background: linear-gradient(135deg, #f5e6ff 0%, #ce93d8 100%);
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.2);
}

.scroll-card:nth-child(5) {
    background: linear-gradient(135deg, #fff6e6 0%, #ffb74d 100%);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.2);
}

.scroll-card:nth-child(6) {
    background: linear-gradient(135deg, #ffe6e6 0%, #ef9a9a 100%);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.2);
}

/* Image styles removed as per requirement */

.scroll-card:hover {
    /* Removed transform and animation */
    box-shadow: var(--hover-shadow);
    /* Removed animation property */
}

/* Removed card-glow animation keyframes */

.scroll-card .card-body {
    padding: 2rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    position: relative;
    margin-top: 20px; /* Increased to accommodate icon on border */
}

.scroll-card h5 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.scroll-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.scroll-card i {
    color: var(--primary-color);
    font-size: 2.2rem;
    display: block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 10px;
    border-radius: 50%;
    z-index: 2;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No animations or transitions */
}

.scroll-card:hover i {
    /* No animations or transitions */
    transform: translateX(-50%); /* Only for positioning, needed for layout */
    /* All hover effects removed as requested */
}

/* Scroll Buttons and Dots */
.scroll-btn {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    z-index: 10;
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

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

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Hide scrollbar */
.scroll-content::-webkit-scrollbar {
    display: none;
}

/* Dots indicator styling */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

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

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Card animation */
.card-animation {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Hero section animations */
.hero h1 {
    animation: slideInLeft 1.2s ease-out;
}

.hero .btn {
    animation: fadeInUp 1.5s ease-out;
}


@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    from { transform: scale(1); box-shadow: 0 0 10px rgba(0,0,0,0.2); }
    to { transform: scale(1.05); box-shadow: 0 0 20px rgba(0,0,0,0.3); }
}

