/* ===================================
   SRI RR ACADEMY - MAIN STYLESHEET
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #1e40af;
    --secondary-color: #f59e0b;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --dark-color: #0f172a;
    --light-color: #f1f5f9;
    --text-color: #475569;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ===================================
   POPUP FORM STYLES - ENHANCED
   =================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-form-container {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
}

.popup-overlay.active .popup-form-container {
    transform: scale(1);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    line-height: 1;
}

.popup-close:hover {
    background: rgba(30, 64, 175, 0.2);
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Title */
.popup-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popup-form-container h3 i {
    font-size: 1.3rem;
}

/* Status Alert */
#enquiryStatus {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
}

#enquiryStatus.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

#enquiryStatus.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Form Inputs */
.popup-form-container .form-control,
.popup-form-container .form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: var(--body-font);
    color: var(--dark-color);
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    margin-bottom: 16px;
    height: auto;
}

.popup-form-container .form-control:focus,
.popup-form-container .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.popup-form-container .form-control::placeholder {
    color: #94a3b8;
}

/* Select Dropdown */
.popup-form-container .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.popup-form-container .form-select option:first-child {
    color: #94a3b8;
}

/* Submit Button */
.btn-submit-popup {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--heading-font);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-submit-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-submit-popup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.btn-submit-popup:hover::before {
    left: 100%;
}

.btn-submit-popup:active {
    transform: translateY(0);
}

.btn-submit-popup i {
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.btn-submit-popup:hover i {
    transform: translateX(3px);
}

/* Loading State */
.btn-submit-popup.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-submit-popup.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 576px) {
    .popup-form-container {
        padding: 20px 15px;
        border-radius: 16px;
        width: 95%;
        max-width: none;
        margin: 20px;
    }

    .popup-form-container h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .popup-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .popup-form-container .form-control,
    .popup-form-container .form-select {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        margin-bottom: 12px;
    }

    .btn-submit-popup {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Additional mobile fixes for popup */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 10px;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 20px;
    }
    
    .popup-form-container {
        max-width: 100%;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        margin-top: 0;
        padding: 20px 15px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .popup-overlay {
        padding: 5px;
        padding-top: 10px;
    }
    
    .popup-form-container {
        width: calc(100vw - 10px);
        padding: 15px 10px;
        border-radius: 12px;
    }
    
    .popup-form-container h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
}

/* Animation for status message */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#enquiryStatus:not(.d-none) {
    animation: slideDown 0.3s ease;
}
/* ===================================
   TOP BAR
   =================================== */
.top-bar {
    background: var(--dark-color);
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    margin-right: 25px;
    transition: color 0.3s;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.top-bar i {
    color: var(--secondary-color);
}

/* Top Bar Mobile Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .top-bar .col-md-6 {
        text-align: center;
        margin-bottom: 5px;
    }
    
    .top-bar .col-md-6 a {
        margin: 0 10px 5px 0;
        font-size: 12px;
    }
    
    .top-bar .col-md-6.text-end {
        text-align: center;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
    }
    
    .top-bar .col-md-6.text-end a {
        margin: 0;
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .top-bar .row {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar .col-md-6 {
        text-align: center;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .top-bar .col-md-6 a {
        margin: 0;
        font-size: 12px;
    }
    
    .top-bar .col-md-6.text-end {
        text-align: center;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
    }
    
    .top-bar .col-md-6.text-end a {
        margin: 0;
    }
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.main-header {
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.6rem;
    font-family: var(--heading-font);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    font-family: var(--heading-font);
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 12px;
    transition: all 0.3s;
    font-family: var(--heading-font);
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    font-family: var(--heading-font);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    color: #fff;
}

/* ===================================
   HERO SECTION (HOMEPAGE)
   =================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3730a3 50%, var(--accent-color) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-content h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--heading-font);
}

.hero-content h1 span {
    color: var(--secondary-color);
    position: relative;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.95rem;
}

.hero-feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-bottom: 60px;

    /* border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.25);
    align-items: center; */
}

.stat-item h3 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: var(--heading-font);
}

.stat-item p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.floating-badge {
    position: absolute;
    background: #fff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float-badge 3s ease-in-out infinite;
}

.floating-badge-1 {
    top: 20%;
    left: -30px;
}

.floating-badge-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-badge i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.floating-badge div {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* ===================================
   MARQUEE SECTION
   =================================== */
.marquee-section {
    background: var(--light-color);
    padding: 20px 0;
    overflow: hidden;
    border-top: 3px solid var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
}

.marquee-container {
    display: flex;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    gap: 50px;
    padding: 0 25px;
    white-space: nowrap;
}

.gov-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.gov-logo-item img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.gov-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================
   SECTION TITLE (Common)
   =================================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-top: 25px;
}

/* ===================================
   FEATURES GRID SECTION
   =================================== */
.features-grid-section {
    padding: 80px 0;
    background: #fff;
}

.feature-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #e2e8f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
    border-color: var(--primary-color);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
    transition: all 0.3s;
}

.feature-box:hover .feature-icon-box {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--secondary-color), #f97316);
}

.feature-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-family: var(--heading-font);
}

.feature-box p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* ===================================
   COURSES SECTION
   =================================== */
.courses-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.course-badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.course-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.course-features-list li {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-features-list li i {
    color: var(--success-color);
    font-size: 0.8rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.course-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

.course-price span {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 5px;
}

.btn-enroll-course {
    background: var(--secondary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
}

.btn-enroll-course:hover {
    background: #d97706;
    transform: scale(1.05);
    color: #fff;
}

.course-badge-live,
.course-badge-soon {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.course-badge-live {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    animation: pulse-live 2s infinite;
}

.course-badge-soon {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
}

@keyframes pulse-live {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Ensure course-card has position relative for badge positioning */
.course-card {
    position: relative;
    overflow: hidden;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews-section {
    padding: 80px 0;
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
}

.reviews-section .section-title h2,
.reviews-section .section-title p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.review-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    border-color: var(--secondary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-details h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 3px;
    font-family: var(--heading-font);
}

.reviewer-details p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin: 0;
}

.review-rating {
    color: var(--secondary-color);
}

.review-content {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
}

.review-content i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* ===================================
   FACILITIES SECTION (CBT & LIBRARY)
   =================================== */
.facilities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.facility-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
    border: 2px solid transparent;
}

.facility-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
}

.facility-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.facility-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.facility-card p {
    color: #64748b;
    margin-bottom: 25px;
}

.facility-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.facility-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.facility-features li:last-child {
    border-bottom: none;
}

.facility-features li i {
    color: var(--success-color);
}

/* ===================================
   ABOUT SECTION (HOMEPAGE)
   =================================== */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    border-radius: 20px;
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--secondary-color);
    color: #fff;
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    font-family: var(--heading-font);
}

.experience-badge p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: var(--heading-font);
}

.about-content h2 span {
    color: var(--primary-color);
}

.about-content > p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.8;
}

.highlight-text {
    background: linear-gradient(120deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--dark-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-feature-item div h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-family: var(--heading-font);
}

.about-feature-item div p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.contact-card p {
    color: #64748b;
    margin-bottom: 5px;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links-contact a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   ADMISSION FORM SECTION
   =================================== */
.admission-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #3730a3);
    position: relative;
    overflow: hidden;
}

.admission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.admission-form-container {
    background: #fff;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.admission-form-container h2 {
    text-align: center;
    color: var(--dark-color);
    font-weight: 800;
    margin-bottom: 10px;
    font-family: var(--heading-font);
}

.admission-form-container > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 35px;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    height: 60px;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.btn-admission-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-admission-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.footer-widget .brand-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-widget .logo-container {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
}

.footer-widget .brand-name {
    color: #fff;
    font-size: 1.4rem;
}

.footer-widget p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #fff;
    font-family: var(--heading-font);
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-widget ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-widget ul li i {
    margin-right: 8px;
    color: var(--secondary-color);
    width: 20px;
}

.social-links-footer {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links-footer a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1.1rem;
}

.social-links-footer a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* ===================================
   FLOATING ACTION BUTTONS (WHATSAPP / CALL / GO TO TOP)
   =================================== */

/* Left stacked: WhatsApp + Call */
.floating-actions {
    position: fixed;
    left: 24px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.floating-btn:hover {
    transform: scale(1.08);
    filter: brightness(1.02);
    color: #fff;
}

.floating-btn--whatsapp {
    background: #25d366;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

.floating-btn--call {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.35);
}

/* Right side: Go to Top */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    outline: none;
    background: var(--secondary-color);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    background: #d97706;
}

@media (max-width: 576px) {
    .floating-actions {
        left: 16px;
        bottom: 20px;
    }

    .back-to-top {
        right: 16px;
        bottom: 20px;
    }

    .floating-btn,
    .back-to-top {
        width: 54px;
        height: 54px;
    }
}

/* ===================================
   HEADER LOGO (IMAGE VARIANT)
   =================================== */
.logo-container--img {
    background: #fff;
    padding: 6px;
}

.logo-container--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

/* ===================================
   ABOUT US PAGE SPECIFIC STYLES
   =================================== */

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3730a3 50%, var(--accent-color) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.page-banner h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.page-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Story Section */
.about-story-section {
    padding: 80px 0;
    background: #fff;
}

.story-timeline {
    position: relative;
    padding: 20px 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid #e2e8f0;
    position: relative;
    width: 45%;
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.1);
    border-color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    z-index: 2;
    border: 4px solid #fff;
}

.timeline-year span {
    font-size: 1.8rem;
    line-height: 1;
}

.timeline-year small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.timeline-content p {
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.8;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--dark-color), #1e293b);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
}

.stat-box {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--secondary-color);
    border: 2px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s;
}

.stat-box:hover .stat-icon {
    background: var(--secondary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--heading-font);
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* Founders Section */
.founders-section {
    padding: 80px 0;
    background: var(--light-color);
}

.founder-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.founder-image {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.founder-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.founder-card:hover .founder-image::before {
    top: -30%;
    left: -30%;
}

.founder-avatar {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: 700;
    border: 5px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}

.founder-content {
    padding: 30px;
    text-align: center;
}

.founder-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-family: var(--heading-font);
}

.founder-content .role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: block;
}

.founder-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

.founder-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.founder-social a {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s;
    text-decoration: none;
}

.founder-social a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* RR Family Section */
.family-section {
    padding: 80px 0;
    background: #fff;
}

.family-content {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(245, 158, 11, 0.05));
    border-radius: 30px;
    padding: 60px;
    border: 2px dashed var(--primary-color);
    position: relative;
}

.family-content::before {
    content: '\f004';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    border: 3px solid var(--secondary-color);
}

.family-content h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-family: var(--heading-font);
}

.family-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 20px;
}

.family-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.family-feature {
    text-align: center;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.family-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.1);
}

.family-feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.family-feature h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-family: var(--heading-font);
}

/* Mission Vision Section */
.mission-vision-section {
    padding: 80px 0;
    background: var(--light-color);
}

.mv-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
    border-color: var(--primary-color);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.mv-card:hover .mv-icon {
    transform: rotate(360deg);
    border-radius: 50%;
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.mv-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mv-list {
    list-style: none;
    padding: 0;
}

.mv-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.mv-list li i {
    color: var(--success-color);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: #fff;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: all 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 1.3rem;
    font-family: var(--heading-font);
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* Testimonials Section (About Page) */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-color), #1e293b);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
}

.testimonials-section .section-title h2,
.testimonials-section .section-title p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    border-color: var(--secondary-color);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: var(--heading-font);
}

.author-info p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-rating {
    color: var(--secondary-color);
}

.testimonial-content {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-content i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--heading-font);
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-family: var(--heading-font);
    position: relative;
    z-index: 1;
    border: none;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--primary-color);
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 991px) {
    /* Timeline Responsive */
    .story-timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }

    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
        width: 80px;
        height: 80px;
    }

    .timeline-year span {
        font-size: 1.4rem;
    }

    /* Family Features */
    .family-features {
        grid-template-columns: 1fr;
    }

    /* Page Banner */
    .page-banner h1 {
        font-size: 2.2rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Stats */
    .stat-number {
        font-size: 2rem;
    }

    /* Family Content */
    .family-content {
        padding: 40px 25px;
    }

    /* MV Cards */
    .mv-card {
        margin-bottom: 30px;
    }

    /* About Features */
    .about-features {
        grid-template-columns: 1fr;
    }

    /* Experience Badge */
    .experience-badge {
        right: 10px;
        bottom: 10px;
        padding: 15px 20px;
    }

    .experience-badge h3 {
        font-size: 1.8rem;
    }

    /* Forms */
    .popup-form-container {
        padding: 30px 20px;
    }

    .admission-form-container {
        padding: 30px 20px;
    }

    /* Section Title */
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .brand-name {
        font-size: 1.2rem;
    }

    .logo-container {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .timeline-content {
        padding: 25px;
    }

    .founder-avatar {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
}


        /* Additional Contact Page Specific Styles */
        .contact-hero-card {
            background: #fff;
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            transition: all 0.3s;
            height: 100%;
            border: 2px solid transparent;
        }
        
        .contact-hero-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-color);
            box-shadow: 0 20px 50px rgba(30, 64, 175, 0.15);
        }
        
        .contact-hero-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 2.5rem;
            color: #fff;
            box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
        }
        
        .contact-hero-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 15px;
            font-family: var(--heading-font);
        }
        
        .contact-hero-card p {
            color: #64748b;
            margin-bottom: 20px;
        }
        
        .contact-hero-card a {
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .contact-hero-card a:hover {
            color: var(--secondary-color);
        }
        
        .contact-form-box {
            background: #fff;
            border-radius: 25px;
            padding: 50px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.08);
        }
        
        .contact-form-box h2 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 10px;
            font-family: var(--heading-font);
        }
        
        .contact-form-box > p {
            color: #64748b;
            margin-bottom: 35px;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 8px;
            display: block;
        }
        
        .form-control-custom {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s;
        }
        
        .form-control-custom:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
            outline: none;
        }
        
        textarea.form-control-custom {
            min-height: 150px;
            resize: vertical;
        }
        
        .btn-contact-submit {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: #fff;
            border: none;
            padding: 16px 40px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s;
            width: 100%;
        }
        
        .btn-contact-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
        }
        
        .social-media-section {
            padding: 60px 0;
            background: linear-gradient(135deg, var(--primary-color), #3730a3);
            position: relative;
            overflow: hidden;
        }
        
        .social-media-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: rgba(255,255,255,0.05);
            border-radius: 50%;
        }
        
        .social-media-section h2 {
            color: #fff;
            text-align: center;
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 40px;
            font-family: var(--heading-font);
            position: relative;
            z-index: 1;
        }
        
        .social-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            position: relative;
            z-index: 1;
        }
        
        .social-item {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 20px;
            padding: 35px 20px;
            text-align: center;
            transition: all 0.3s;
            text-decoration: none;
        }
        
        .social-item:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-10px);
            border-color: var(--secondary-color);
        }
        
        .social-item i {
            font-size: 3rem;
            color: #fff;
            margin-bottom: 15px;
            transition: all 0.3s;
        }
        
        .social-item:hover i {
            color: var(--secondary-color);
            transform: scale(1.2);
        }
        
        .social-item h4 {
            color: #fff;
            font-size: 1.2rem;
            margin-bottom: 5px;
            font-family: var(--heading-font);
        }
        
        .social-item p {
            color: rgba(255,255,255,0.8);
            font-size: 0.9rem;
            margin: 0;
        }
        
        .gmb-section {
            padding: 80px 0;
            background: #fff;
        }
        
        .gmb-card {
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border-radius: 25px;
            padding: 40px;
            text-align: center;
            border: 2px solid #e2e8f0;
            transition: all 0.3s;
        }
        
        .gmb-card:hover {
            border-color: var(--primary-color);
            box-shadow: 0 15px 40px rgba(30, 64, 175, 0.1);
        }
        
        .gmb-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #4285f4, #34a853);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 3rem;
            color: #fff;
            box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
        }
        
        .gmb-card h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 15px;
            font-family: var(--heading-font);
        }
        
        .gmb-card p {
            color: #64748b;
            margin-bottom: 25px;
        }
        
        .gmb-rating {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin-bottom: 20px;
        }
        
        .gmb-rating i {
            color: var(--secondary-color);
            font-size: 1.5rem;
        }
        
        .btn-gmb {
            background: linear-gradient(135deg, #4285f4, #34a853);
            color: #fff;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s;
        }
        
        .btn-gmb:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(66, 133, 244, 0.3);
            color: #fff;
        }
        
        .branch-locations {
            padding: 80px 0;
            background: var(--light-color);
        }
        
        .branch-card {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s;
            height: 100%;
        }
        
        .branch-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
        }
        
        .branch-map {
            height: 200px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            position: relative;
            overflow: hidden;
        }
        
        .branch-map iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .branch-content {
            padding: 30px;
        }
        
        .branch-content h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 15px;
            font-family: var(--heading-font);
        }
        
        .branch-content ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .branch-content ul li {
            padding: 8px 0;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            color: #64748b;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .branch-content ul li:last-child {
            border-bottom: none;
        }
        
        .branch-content ul li i {
            color: var(--primary-color);
            margin-top: 4px;
        }
        
        .faq-section {
            padding: 80px 0;
            background: #fff;
        }
        
        .accordion-item {
            border: none;
            margin-bottom: 15px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }
        
        .accordion-button {
            padding: 25px 30px;
            font-weight: 600;
            color: var(--dark-color);
            background: #fff;
            border: none;
            box-shadow: none;
            font-family: var(--heading-font);
        }
        
        .accordion-button:not(.collapsed) {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: #fff;
        }
        
        .accordion-button:focus {
            box-shadow: none;
        }
        
        .accordion-body {
            padding: 25px 30px;
            color: #64748b;
            line-height: 1.8;
        }
        
        @media (max-width: 991px) {
            .social-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .social-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            
            .social-item {
                padding: 25px 15px;
            }
            
            .social-item i {
                font-size: 2rem;
            }
            
            .contact-form-box {
                padding: 30px 20px;
            }
            
            .contact-hero-card {
                padding: 30px 20px;
            }
        }

  /* ===================================
   AUTO SCROLL - COURSES & REVIEWS
   =================================== */

/* Courses Auto-Scroll */
.courses-scroll-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    width: 100%;
}

.courses-scroll-track {
    display: flex;
    gap: 30px;
    animation: scrollCourses 30s linear infinite;
    width: max-content;
    will-change: transform;
}

.courses-scroll-container:hover .courses-scroll-track {
    animation-play-state: paused;
}

@keyframes scrollCourses {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.courses-scroll-track .course-card {
    flex: 0 0 350px;
    margin-bottom: 0;
    min-width: 350px;
}

/* Gradient fade edges for courses */
.courses-scroll-container::before,
.courses-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.courses-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}

.courses-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}



/* Responsive */
@media (max-width: 768px) {
    .courses-scroll-track .course-card {
        flex: 0 0 300px;
        min-width: 300px;
    }
    

    
    .courses-scroll-container::before,
    .courses-scroll-container::after {
        width: 40px;
    }
}

/* ===================================
   VERTICAL DUAL-COLUMN REVIEWS SCROLL
   =================================== */

.reviews-scroll-wrapper {
    display: flex;
    gap: 30px;
    height: 600px;
    overflow: hidden;
    position: relative;
}

/* Fade masks at top and bottom */
.reviews-scroll-wrapper::before,
.reviews-scroll-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 10;
    pointer-events: none;
}

.reviews-scroll-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, #0f172a, transparent);
}

.reviews-scroll-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, #0f172a, transparent);
}

.reviews-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Left column - scrolls up */
.reviews-column-left {
    animation: scrollUp 25s linear infinite;
}

/* Right column - scrolls down */
.reviews-column-right {
    animation: scrollDown 25s linear infinite;
}

/* Pause on hover */
.reviews-scroll-wrapper:hover .reviews-column {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Review card adjustments for vertical layout */
.reviews-column .review-card {
    margin-bottom: 0;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.reviews-column .review-card:hover {
    transform: scale(1.03);
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.15);
}

/* Responsive */
@media (max-width: 991px) {
    .reviews-scroll-wrapper {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .reviews-scroll-wrapper {
        flex-direction: column;
        height: 450px;
    }
    
    .reviews-column-right {
        display: none;
    }
    
    .reviews-column-left {
        animation: scrollUp 25s linear infinite;
    }
}


/* Form Alert Messages - Add if missing */
.form-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-alert.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.form-alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   FORM STATUS ALERTS (Add if missing)
   =================================== */
#enquiryStatus,
#contactStatus,
#admissionStatus {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    margin-bottom: 20px;
}

#enquiryStatus.alert-success,
#contactStatus.alert-success,
#admissionStatus.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

#enquiryStatus.alert-danger,
#contactStatus.alert-danger,
#admissionStatus.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

#enquiryStatus.alert-warning,
#contactStatus.alert-warning,
#admissionStatus.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Animation for status messages */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#enquiryStatus:not(.d-none),
#contactStatus:not(.d-none),
#admissionStatus:not(.d-none) {
    animation: slideDown 0.3s ease;
}