/* Welcome Section */
.school-header {
    font-family: 'Roboto Slab', serif;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 15px;
}

.school-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.welcome-section {
    padding: 10px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.school-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
    transition: transform 0.3s ease;
}

.school-img-container:hover {
    transform: translateY(-5px);
}

.school-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-red);
    color: white;
    padding: 20px;
    border-radius: 0 0 12px 12px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0px;
}

.feature-list li {
    padding: 1px 0;
    padding-left: 35px;
    position: relative;
}

.feature-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.btn-school-primary {
    background-color: var(--dark);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-school-primary:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn-school-secondary {
    background-color: transparent;
    color: rgba(0, 0, 0, 1);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary-red);
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-school-secondary:hover {
    background-color: rgba(0, 95, 122, 0.1);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 40px 0;
    }

    .school-img-container {
        height: 350px;
        margin-bottom: 30px;
    }

    .btn-school-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .stats-container {
        margin-top: 30px;
    }

    .stat-item {
        min-width: 50%;
        margin-bottom: 15px;
    }
}

/* Our Facilities Section */
/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatShape 25s infinite linear;
}

.hero-bg-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -250px;
    right: -200px;
}

.hero-bg-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -200px;
    left: -150px;
    animation-delay: -10s;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid rgba(79, 70, 229, 0.2);
}

.btn-secondary:hover {
    background: rgba(79, 70, 229, 0.05);
    transform: translateY(-3px);
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(40px, -50px);
    }

    66% {
        transform: translate(-30px, 40px);
    }
}

/* Experience Section */
  /* main container spacing */
        .experience-section {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem 1rem;
            background: #ffffff;
            border-radius: 0;
        }

        /* section headers */
        .home-section-title {
            font-family: 'Poppins', sans-serif;
            font-size: 2.8rem;
            font-weight: 700;
            text-align: center;
            background: linear-gradient(135deg, #1E3C72, #2A5298);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: #334155;
            max-width: 720px;
            margin: 0 auto 3rem auto;
            font-weight: 400;
            line-height: 1.5;
        }

        /* flex container: left text + right creative gallery */
        .experience-container {
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
            align-items: stretch;
            justify-content: space-between;
        }

        /* LEFT CONTENT - refined with modern details */
        .experience-content {
            flex: 1.2;
            min-width: 280px;
            background: #ffffff;
            border-radius: 2rem;
            padding: 0.5rem 0.2rem;
        }

        .experience-desc {
            font-size: 1.12rem;
            line-height: 1.6;
            color: #1e293b;
            background: #f1f5f9;
            padding: 1.6rem;
            border-radius: 1.5rem;
            margin-bottom: 2rem;
            border-left: 5px solid #2A5298;
            font-weight: 450;
        }

        /* feature grid - two columns for a clean layout */
        .feature-highlights {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .highlight-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            background: #ffffff;
            padding: 1rem 1rem;
            border-radius: 1.25rem;
            transition: all 0.25s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
            border: 1px solid #eef2ff;
        }

        .highlight-item:hover {
            transform: translateY(-3px);
            border-color: #cbd5e1;
            box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.1);
        }

        .highlight-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(125deg, #eef2ff, #e0e7ff);
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1e3a8a;
            font-size: 1.6rem;
            flex-shrink: 0;
        }

        .highlight-content h4 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
            color: #0c4a6e;
        }

        .highlight-content p {
            font-size: 0.85rem;
            color: #475569;
            line-height: 1.4;
        }

        /* RIGHT SIDE - CREATIVE GALLERY (Explore our school vibe) */
        .image-shapes-container {
            flex: 1.2;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            position: relative;
            min-width: 280px;
        }

        /* each shape card: organic rounded + modern frame */
        .image-shape {
            position: relative;
            border-radius: 2rem;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            cursor: pointer;
            transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), box-shadow 0.3s;
            box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.2);
            background: #e2e8f0;
        }

        /* different shapes & rotations to give "dynamic school journey" layout */
        .shape-1 {
            border-radius: 35% 65% 70% 30% / 40% 45% 55% 60%;
        }
        .shape-2 {
            border-radius: 62% 38% 48% 52% / 55% 48% 52% 45%;
        }
        .shape-3 {
            border-radius: 45% 55% 30% 70% / 55% 40% 60% 45%;
        }
        .shape-4 {
            border-radius: 30% 70% 55% 45% / 35% 52% 48% 65%;
        }

        /* hover effect to reveal organic movement */
        .image-shape:hover {
            transform: scale(1.02) rotate(1deg);
            box-shadow: 0 25px 35px -15px rgba(0, 0, 0, 0.3);
        }

        .shape-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            display: block;
        }

        .image-shape:hover .shape-image {
            transform: scale(1.08);
        }

        /* gradient overlay for text readability + modern caption */
        .shape-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2) 70%, transparent);
            padding: 1rem 0.8rem 1rem 1rem;
            color: white;
            backdrop-filter: blur(2px);
            transition: all 0.2s;
        }

        .shape-overlay h4 {
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: -0.2px;
            margin-bottom: 0.2rem;
        }

        .shape-overlay p {
            font-size: 0.7rem;
            font-weight: 400;
            opacity: 0.9;
        }

        /* add a small decorative label to emphasize "EXPLORE" */
        .image-shapes-container::before {
            content: "✦ EXPLORE CAMPUS ✦";
            position: absolute;
            top: -2.2rem;
            right: 0;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 2px;
            color: #2563eb;
            background: #eef2ff;
            padding: 0.2rem 1rem;
            border-radius: 30px;
            white-space: nowrap;
            opacity: 0.9;
            font-family: monospace;
        }

        /* responsive elegance */
        @media (max-width: 1000px) {
            .experience-container {
                flex-direction: column;
            }
            .feature-highlights {
                grid-template-columns: 1fr;
            }
            .image-shapes-container {
                margin-top: 2rem;
                gap: 1.2rem;
            }
            .home-section-title {
                font-size: 2.2rem;
            }
            .image-shapes-container::before {
                top: -2rem;
                right: auto;
                left: 0;
            }
        }

        @media (max-width: 550px) {
            .experience-section {
                padding: 2.5rem 1rem;
            }
            .image-shapes-container {
                grid-template-columns: 1fr;
                gap: 1.8rem;
            }
            .image-shape {
                aspect-ratio: 4/3;
            }
            .shape-overlay h4 {
                font-size: 1.2rem;
            }
        }

        /* extra school vibe: subtle floating dots */
        .experience-section {
            position: relative;
            background: #ffffff;
        }
        .experience-section::after {
            content: '';
            position: absolute;
            bottom: 2rem;
            right: 2rem;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle at 30% 40%, rgba(37,99,235,0.03) 0%, rgba(37,99,235,0) 70%);
            pointer-events: none;
            border-radius: 50%;
            z-index: 0;
        }

/* Our Classes Section */
.classes-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f4ff 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.classes-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple), var(--primary-green));
}

.section-header {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.section-header h2 {
    font-weight: 800;
    color: var(--primary-red);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-size: 2.5rem;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    border-radius: 2px;
}

.section-header p {
    color: #666;
    /*max-width: 600px;*/
    margin: 20px auto 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.classes-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.classes-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (3 * 30px)) / 4);
    /* 4 cards by default */
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.classes-slider::-webkit-scrollbar {
    display: none;
}

.class-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.class-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    transition: height 0.3s ease;
}

.class-box:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
}

.class-box:hover::before {
    height: 100%;
    opacity: 0.05;
    z-index: 0;
}

.class-box:hover .class-icon {
    transform: scale(1.1) translateY(-5px);
}

.class-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.class-box:nth-child(1) .class-icon {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.15), rgba(255, 209, 102, 0.3));
}

.class-box:nth-child(2) .class-icon {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.15), rgba(247, 37, 133, 0.3));
}

.class-box:nth-child(3) .class-icon {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.15), rgba(67, 97, 238, 0.3));
}

.class-box:nth-child(4) .class-icon {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.15), rgba(114, 9, 183, 0.3));
}

.class-box:nth-child(5) .class-icon {
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.15), rgba(76, 201, 240, 0.3));
}

.class-box:nth-child(6) .class-icon {
    background: linear-gradient(135deg, rgba(40, 180, 99, 0.15), rgba(40, 180, 99, 0.3));
}

.class-icon i {
    font-size: 40px;
    transition: all 0.3s ease;
}

.class-box:nth-child(1) .class-icon i {
    color: #ff9e00;
}

.class-box:nth-child(2) .class-icon i {
    color: #f72585;
}

.class-box:nth-child(3) .class-icon i {
    color: #4361ee;
}

.class-box:nth-child(4) .class-icon i {
    color: #7209b7;
}

.class-box:nth-child(5) .class-icon i {
    color: #4cc9f0;
}

.class-box:nth-child(6) .class-icon i {
    color: #28b463;
}

.class-box h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a2e;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.class-box p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.class-age {
    display: inline-block;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-blue);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--primary-blue);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.slider-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(67, 97, 238, 0.4);
}

.slider-btn.left {
    left: 0;
}

.slider-btn.right {
    right: 0;
}

.slider-btn i {
    font-size: 1.2rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.view-all-btn {
    display: block;
    margin: 30px auto 0;
    background: linear-gradient(90deg, #9f0505, #ff002f);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
    text-decoration: none;
    width: fit-content;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.4);
    color: white;
    text-decoration: none;
}

.view-all-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design - 4 cards default, adjusting for smaller screens */
@media (max-width: 1399px) {
    .classes-slider {
        grid-auto-columns: calc((100% - (3 * 25px)) / 4);
        /* Still 4 cards */
        gap: 25px;
    }
}

@media (max-width: 1199px) {
    .classes-slider {
        grid-auto-columns: calc((100% - (2 * 25px)) / 3);
        /* 3 cards on medium-large */
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .classes-slider-wrapper {
        padding: 0 50px;
    }

    .classes-slider {
        grid-auto-columns: calc((100% - (1 * 25px)) / 2);
        /* 2 cards on tablet */
        gap: 25px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .classes-section {
        padding: 40px 0;
    }

    .classes-slider-wrapper {
        padding: 0 40px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
    }

    .classes-slider {
        grid-auto-columns: calc((100% - (1 * 20px)) / 2);
        /* 2 cards */
        gap: 20px;
    }

    .class-box {
        padding: 30px 20px;
        min-height: 300px;
    }

    .class-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .class-icon i {
        font-size: 35px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .classes-section {
        padding: 40px 0;
    }

    .classes-slider-wrapper {
        padding: 0 15px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-btn.left {
        left: -10px;
    }

    .slider-btn.right {
        right: -10px;
    }

    .classes-slider {
        grid-auto-columns: calc(100% - 10px);
        /* 1 card on mobile */
        gap: 20px;
    }

    .class-box {
        padding: 25px 20px;
        min-height: 280px;
    }

    .class-box h5 {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .view-all-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* For very large screens - show 4 cards comfortably */
@media (min-width: 1400px) {
    .classes-slider {
        grid-auto-columns: calc((100% - (3 * 30px)) / 4);
        gap: 30px;
    }
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../../assets/images/why-choose-section.jpg') center/cover no-repeat;
    color: #fff;
    background-attachment: fixed;
}

.why-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.why-card i {
    transition: 0.3s;
}

.why-card:hover i {
    transform: scale(1.2);
}

/* Parents Section */
.gradient-text {
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--primary-red);
}

.review-container {
    height: 40rem;
    overflow: hidden;
    border-radius: 1.5rem;
    -webkit-mask-image: linear-gradient(to bottom, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to bottom, transparent, white 20%, white 80%, transparent);
}

.review-container-reverse {
    -webkit-mask-image: linear-gradient(to top, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to top, transparent, white 20%, white 80%, transparent);
}

.review-container .d-flex.flex-column.gap-4 {
    gap: 1.8rem !important;
    /* pehle thoda tight tha */
}

.review-card {
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 1.5rem;
}

.review-card:hover {
    transform: scale(1.05);
}

.stars {
    color: #fbbf24;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

/* Define keyframes for the top-to-bottom scroll animation */
@keyframes scroll-top-to-bottom {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Define keyframes for the bottom-to-top scroll animation */
@keyframes scroll-bottom-to-top {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

/* Class to apply the top-to-bottom animation */
.animate-scroll-t2b {
    animation: scroll-top-to-bottom 60s linear infinite;
}

/* Class to apply the bottom-to-top animation */
.animate-scroll-b2t {
    animation: scroll-bottom-to-top 60s linear infinite;
}

/* Utility class to pause the animation on hover */
.reviews-wrapper:hover .group-hover-pause {
    animation-play-state: paused;
}

@media (max-width: 767.98px) {
    .d-md-block {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .d-lg-block {
        display: none !important;
    }
}

/* Footer Styles */
.school-footer {
    background: linear-gradient(135deg, var(--dark) 0%, #000000 100%);
    color: #fff;
    padding: 70px 0 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave .shape-fill {
    fill: #f8f9fa;
}

.footer-logo {
    font-family: 'Roboto Slab', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-about {
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-heading {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #b0d4e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.footer-links li a i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
}

.contact-info {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 5px;
    width: 20px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    margin-right: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    outline: none;
}

.newsletter-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #46b17f;
}

/* UPDATED FOOTER BOTTOM STYLES */
.footer-bottom {
    background: var(--primary-red);
    padding: 20px 0 0;
    margin-top: 60px;
    border-top: 1px solid rgb(238, 255, 0);
    width: 100%;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.copyright {
    color: var(--white-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    list-style: none;
    padding-left: 0;
    display: flex;
    margin: 0;
}

.footer-bottom-links li {
    margin-left: 25px;
    position: relative;
}

.footer-bottom-links li:not(:last-child):after {
    content: "|";
    color: rgba(160, 198, 211, 0.4);
    position: absolute;
    right: -15px;
    font-size: 0.9rem;
}

.footer-bottom-links li a {
    color: #a0c6d3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-bottom-links li a i {
    margin-right: 6px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.footer-bottom-links li a:hover {
    color: var(--secondary-color);
}

.credit-section {
    background: rgba(0, 0, 0, 0.35);
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.credit-text {
    color: var(--white-color);
    font-size: 0.85rem;
    margin-bottom: 0;
    text-align: center;
}

.credit-text a {
    color: #ffff00;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.credit-text a:hover {
    color: #fff;
    text-decoration: none;
}

.back-to-top {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.back-to-top:hover {
    background: #46b17f;
    color: white;
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-heading {
        margin-top: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .footer-bottom-links li {
        margin: 5px 15px;
    }

    .footer-bottom-links li:first-child {
        margin-left: 0;
    }

    .footer-bottom-links li:after {
        display: none;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .school-footer {
        padding: 50px 0 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .newsletter-btn {
        border-radius: 30px;
        padding: 12px;
    }

    .credit-text {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        font-size: 1.8rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-links li {
        margin: 8px 0;
    }
}

/* principal-msg Css */
.principal-page-title {
    text-align: center;
    padding: 60px 0 30px;
    background: linear-gradient(rgba(30, 60, 114, 0.9), rgba(30, 60, 114, 0.9)),
        url('https://lirp.cdn-website.com/84364d53/dms3rep/multi/opt/mission+vission-640w.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 40px;
}

.principal-page-title h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.principal-page-title p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Principal Section */
.principal-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.principal-info {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.principal-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f0f0f0;
    margin-bottom: 25px;
}

.principal-name {
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 8px;
}

.principal-role {
    font-size: 18px;
    color: #ff9800;
    font-weight: 600;
    margin-bottom: 20px;
}

.qualifications {
    text-align: left;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.qual-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.qual-item i {
    color: #1e3c72;
    margin-right: 10px;
    width: 20px;
}

/* Message Section */
.message-section {
    flex: 2;
    min-width: 300px;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.message-title {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff9800;
}

.message-content p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
}

.highlight {
    background: #fff8e1;
    padding: 20px;
    border-left: 4px solid #ff9800;
    margin: 25px 0;
    font-style: italic;
}

.signature {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.signature-name {
    font-size: 24px;
    color: #1e3c72;
    font-weight: 600;
}

.signature-role {
    color: #666;
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .school-name {
        font-size: 28px;
    }

    .principal-page-title h1 {
        font-size: 30px;
    }

    .principal-container {
        flex-direction: column;
    }

    .levels-grid {
        grid-template-columns: 1fr;
    }
}

/* mission-vision-page-title */
.mission-vision-page-title {
    text-align: center;
    padding: 60px 0 30px;
    background: linear-gradient(rgba(30, 60, 114, 0.9), rgba(30, 60, 114, 0.9)),
        url('https://lirp.cdn-website.com/84364d53/dms3rep/multi/opt/mission+vission-640w.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 40px;
}

.mission-vision-page-title h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.mission-vision-page-title p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Mission Vision Section */
.mv-section {
    display: inline-block;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.mv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
}

.mission-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.vision-icon {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.mv-title {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.mv-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
}

.mission-title::after {
    background: #4caf50;
}

.vision-title::after {
    background: #2196f3;
}

.mv-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mv-list {
    margin-top: 25px;
}

.mv-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.mv-list i {
    margin-right: 12px;
    margin-top: 5px;
    color: #ff9800;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .school-name {
        font-size: 28px;
    }

    .mission-vision-page-title h1 {
        font-size: 32px;
    }

    .mission-vision-page-title {
        padding: 40px 0 20px;
    }

    .mv-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 30px;
    }

    .philosophy-section {
        padding: 40px 20px;
    }

    .mission-box,
    .vision-box,
    .values-section {
        padding: 30px;
    }

}

/* Team Page Title */
.team-page-title {
    text-align: center;
    padding: 60px 0 30px;
    background: linear-gradient(rgba(30, 60, 114, 0.9), rgba(30, 60, 114, 0.9)),
        url('https://wingfiretechnologies.com/assets/images/d-d.png');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 40px;
}

.team-page-title h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.team-page-title p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 4x4 Grid Layout */
.section-title {
    text-align: center;
    font-size: 36px;
    color: #1e3c72;
    margin: 60px 0 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #ff9800;
}

/* 4x4 Grid Container */
.grid-4x4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

/* Team Card Styling */
.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 4px solid #ff9800;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 8px;
    font-weight: 700;
}

.team-role {
    font-size: 16px;
    color: #ff9800;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-qualification {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.team-exp {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.team-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Department Badge */
.dept-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(30, 60, 114, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 1200px) {

    .grid-4x4,
    .academic-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {

    .grid-4x4,
    .academic-grid {
        grid-template-columns: repeat(2, 1fr);
    }


}

@media (max-width: 768px) {
    .school-name {
        font-size: 28px;
    }

    .team-page-title h1 {
        font-size: 32px;
    }

    .team-page-title {
        padding: 40px 0 20px;
    }

    .section-title,
    .team-intro h2 {
        font-size: 28px;
    }

    .grid-4x4,
    .academic-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* facility Page Title */
.facilities-page-title {
    text-align: center;
    padding: 60px 0 30px;
    background: linear-gradient(rgba(30, 60, 114, 0.9), rgba(30, 60, 114, 0.9)),
        url('https://images.unsplash.com/photo-1562774053-701939374585?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 40px;
}

.facilities-page-title h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.facilities-page-title p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Facilities Grid */
.facilities-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 5px solid #F4C430;
}

.facilities-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.facilities-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.facilities-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.facilities-desc {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* List Group Styling */
.facilities-list-item {
    border: none;
    border-left: 3px solid var(--accent-yellow);
    margin-bottom: 12px;
    padding: 15px 20px;
    border-radius: 5px;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.facilities-list-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.list-icon {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Category Sections */
.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-yellow);
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .school-name {
        font-size: 2.2rem;
    }

    .facility-page-title {
        font-size: 2.5rem;
    }


    .category-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .school-name {
        font-size: 1.8rem;
    }

    .facility-page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .facility-card {
        padding: 25px 20px;
    }
}

/* Contact Css */
.simple-header {
    text-align: center;
    padding: 60px 0 30px;
    background: linear-gradient(rgba(30, 60, 114, 0.9), rgba(30, 60, 114, 0.9)), url(https://www.shutterstock.com/image-photo/using-laptop-show-icon-address-600nw-2521386695.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 30px;
}

.simple-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.simple-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Card Style */
.simple-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    /* margin-bottom: 30px; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s;
}

.simple-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    margin: 0 auto 20px;
}

.card-title {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.card-content {
    text-align: center;
    color: #666;
}

.contact-highlight {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

/* One Line Contact Section with Cards */
.one-line-contact {
    padding: 40px 0;
    margin-bottom: 40px;
}

/* School Info Card */
.school-info-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--accent-yellow);
}

.school-name {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-icon {
    color: var(--accent-yellow);
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-blue);
}

.form-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 600;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.1);
}

.btn-send {
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

/* Full Width Map */
.full-map-container {
    width: 100%;
    height: 400px;
    margin: 40px 0;
}

.full-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Responsive */
@media (max-width: 768px) {
    .simple-header h1 {
        font-size: 2rem;
    }

    .simple-header {
        padding: 40px 0;
    }

    .simple-card,
    .school-info-card,
    .contact-form-card {
        padding: 25px 20px;
    }

    .full-map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .simple-header h1 {
        font-size: 1.8rem;
    }

    .form-title,
    .school-name {
        font-size: 1.3rem;
    }
}

/* Notice Card Css */
.notice-header {
    background: linear-gradient(135deg, #003366 0%, #00509e 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.notice-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.notice-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.notice-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Notice Card */
.notice-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-blue);
    transition: all 0.3s ease;
    position: relative;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.notice-card.new {
    border-left-color: var(--accent-yellow);
}

.notice-card.important {
    border-left-color: var(--primary-red);
}

.notice-card.event {
    border-left-color: var(--accent-green);
}

.notice-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.notice-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-weight: 600;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.notice-title:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.notice-content {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.notice-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.notice-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Notice Icon */
.notice-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-blue);
    margin-right: 20px;
    flex-shrink: 0;
}

.notice-card.new .notice-icon {
    background: #fff4e6;
    color: var(--accent-yellow);
}

.notice-card.important .notice-icon {
    background: #ffe6e6;
    color: #dc3545;
}

.notice-card.event .notice-icon {
    background: #e8f5e9;
    color: var(--accent-green);
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 30px;
    text-align: center;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 25px;
    margin: 0 5px 10px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Pagination */
.pagination-custom .page-link {
    color: var(--primary-blue);
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px;
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* No Notices */
.no-notices {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.no-notices i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .notice-header h1 {
        font-size: 2.2rem;
    }

    .notice-header {
        padding: 50px 0;
    }

    .notice-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 15px;
    }

    .notice-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .notice-header h1 {
        font-size: 1.8rem;
    }

    .notice-header p {
        font-size: 1rem;
    }

    .notice-card {
        padding: 20px;
    }

    .notice-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* gallery css */
.gallery-img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.modal-img {
    width: 100%;
    border-radius: 10px;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* New Styles for Cards */
.gallery-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.gallery-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.card-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.card-date {
    font-size: 0.8rem;
    color: #999;
}

/* Filter Buttons */
.filter-btns {
    margin-bottom: 30px;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

/* Load More Button */
.load-more-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    color: white;
    transition: all 0.3s;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* Fix modal over navbar */
.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
}

/* Close button visible */
.modal .close {
    font-size: 30px;
    color: #000;
    opacity: 1;
    z-index: 10000;
    position: absolute;
}

/* Our Story  */
.story-header {
    background: linear-gradient(135deg, #003366, #00509e);
    color: #fff;
    padding: 70px 0;
}

.story-section {
    padding: 60px 0;
}

.story-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
}

.story-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.highlight-box {
    background: #f8f9fa;
    border-left: 5px solid #ff6600;
    padding: 25px;
    border-radius: 6px;
}

.promise-box {
    background: #003366;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
}

/* Payment css */
.payment-header {
    background: linear-gradient(135deg, #003366, #00509e);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.payment-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.qr-img {
    max-width: 250px;
    border: 5px solid #f1f1f1;
    padding: 10px;
    border-radius: 10px;
}

.bank-table td {
    padding: 10px;
}

.note-box {
    background: #f8f9fa;
    padding: 20px;
    border-left: 5px solid #ff6600;
    border-radius: 6px;
}

/* Admission Enquiry Modal Design */

.enquiry-modal {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.enquiry-header {
    background: linear-gradient(135deg, #003366, #00509e);
    color: #fff;
    padding: 20px 30px;
}

.enquiry-header h4 {
    margin: 0;
    font-weight: 600;
}

.enquiry-modal .form-control {
    border-radius: 8px;
    height: 45px;
    border: 1px solid #ddd;
}

.enquiry-modal textarea.form-control {
    height: auto;
}

.enquiry-modal label {
    font-weight: 600;
    color: #333;
}

.btn-enquiry-submit {
    background: linear-gradient(135deg, #ff6600, #ff8c00);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-enquiry-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

/*Chat button css*/

#main-div {
    position: fixed;
    left: 80px;
    bottom: 50px;
    z-index: 9999;
}

#main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 50px;
  width: 50px;
  font-size: 20px;
  color: #0064f3;
  cursor: pointer;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

#main-button ~ button {
  visibility: hidden;
  font-weight: 600;
  height: 50px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(90deg, #00a1f5, #0064f3);
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  border: 0;
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  opacity: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: .2s all linear;
  -webkit-transition: .2s all linear;
  -moz-transition: .2s all linear;
  -ms-transition: .2s all linear;
  -o-transition: .2s all linear;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

#main-button.open ~ button {
  visibility: visible;
  left: 10px;
  opacity: 1;
  transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -webkit-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -moz-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -ms-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -o-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
}

#main-button ~ a {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 50px;
  width: 50px;
  font-size: 20px;
  opacity: 0;
  text-decoration: none;
  color: #fff;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: .2s all linear;
  -webkit-transition: .2s all linear;
  -moz-transition: .2s all linear;
  -ms-transition: .2s all linear;
  -o-transition: .2s all linear;
}

#main-button ~ .telegram-color {
  background: linear-gradient(0deg, #017AB1, #01ABE6);
}

#main-button ~ .whatsapp-color {
  background: linear-gradient(0deg, #00B100, #09db09);
}

#main-button ~ .messenger-color {
  background: linear-gradient(0deg, #0078FF, #00C6FF);
}

#main-button.open ~ a {
  opacity: 1;
  transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -webkit-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -moz-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -ms-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -o-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
}
#main-button.open ~ a:nth-of-type(1) {
  bottom: 60px;
}
#main-button.open ~ a:nth-of-type(2) {
  bottom: 120px;
}
#main-button.open ~ a:nth-of-type(3) {
  bottom: 180px;
}

.wave {
  animation-name: wave;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes wave {
  0% {box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.5);}
  100% {box-shadow: 0 0 0px 10px rgba(255, 255, 255, 0);}
}

.open {
  animation-iteration-count: 1;
}

.news-ticker {
    display: flex;
    gap: 1rem;
    height: 40px;
    background: white;
    width: 100%;
    border-top: 0.5px solid #fca56a;
    overflow: hidden;
}

.label {
    white-space: nowrap;
    background: #456fe8;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 0 10px;
    position: relative;
}

.label::after {
    content: "";
    position: absolute;
    right: -20px;
    border: 10px solid transparent;
    border-left-color: #456fe8;
}

.headlines {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
}

.track {
    display: inline-flex;
    gap: 50px;
    white-space: nowrap;
    animation: scroll 30s linear infinite; /* 🔥 Slow kiya (15s → 30s) */
}

.track span {
    font-size: 16px;
    color: #000;
}

/* Hover pe pause */
.news-ticker:hover .track {
    animation-play-state: paused;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}