        /* CSS Variables for Colors */
        :root {
            --color-white: #ffffff;
            --color-blue: #4A90E2;
            /* A vibrant blue */
            --color-navy-blue: #0A2E5B;
            /* A deep navy blue */
            --color-light-blue: #ECF2F9;
            --color-dark-grey: #333;
            --color-grey: #666;
            --color-gradient-start: #4A90E2;
            --color-gradient-end: #0A2E5B;
        }

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--color-dark-grey);
            background-color: var(--color-white);
            overflow-x: hidden;
            /* Prevent horizontal scroll due to animations */
            scroll-behavior: smooth;
        }

        a {
            text-decoration: none;
            color: var(--color-blue);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        section {
            padding: 80px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
            /* Ensures animations don't bleed out */
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--color-navy-blue);
            margin-bottom: 20px;
            font-weight: 700;
        }

        p {
            margin-bottom: 15px;
        }
        /* Extra small devices (phones, <576px) */
        @media (max-width: 575.98px) {
            h1 {
                font-size: 2rem !important; 
            }

            h2 {
                font-size: 1.5rem !important;
            }

            h3 {
                font-size: 1.25rem !important;
            }

            p {
                font-size: 1rem !important;
            }
        }

        /* Small devices (landscape phones, 576px–767px) */
        @media (min-width: 576px) and (max-width: 767.98px) {
            h1 {
                font-size: 2.25rem !important;
            }

            h2 {
                font-size: 1.75rem !important;
            }

            h3 {
                font-size: 1.375rem !important;
            }

            p {
                font-size: 1.05rem !important;
            }
        }

        /* Medium devices (tablets, 768px–991px) */
        @media (min-width: 768px) and (max-width: 991.98px) {
            h1 {
                font-size: 2.5rem !important;
            }

            h2 {
                font-size: 2rem !important;
            }

            h3 {
                font-size: 1.5rem !important;
            }

            p {
                font-size: 1.1rem !important;
            }
        }

        /* Large devices (desktops, ≥992px) */
        @media (min-width: 992px) {
            h1 {
                font-size: 4.5rem !important;
            }

            h2 {
                font-size: 2.25rem !important;
            }

            h3 {
                font-size: 1.75rem !important;
            }

            p {
                font-size: 1.125rem !important;
            }
        }

        /* Reusable Components */
        .btn {
            display: inline-block;
            background: var(--color-blue);
            color: var(--color-white);
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
            opacity: 0.9;
        }
        .hero-btn{
            background-color: var(--color-white);
            color: var(--color-navy-blue);
        }

        .btn-small {
            padding: 8px 20px;
            font-size: 0.9em;
        }

        .section-heading {
            font-size: 2.5em;
            margin-bottom: 40px;
            position: relative;
            display: inline-block;
        }

        .section-heading::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--color-blue);
            border-radius: 2px;
        }

        /* Header */
        .header {
            background-color: var(--color-white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
        }

        .logo {
            font-size: 1.8em;
            font-weight: 800;
            color: var(--color-navy-blue);
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 10px;
            color: var(--color-blue);
        }

        .nav-menu ul {
            list-style: none;
            display: flex;
        }

        .nav-menu ul li {
            margin-left: 30px;
        }

        .nav-menu ul li a {
            color: var(--color-navy-blue);
            font-weight: 500;
            font-size: 1.05em;
            padding: 5px 0;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-menu ul li a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-blue);
            transition: width 0.3s ease;
        }

        .nav-menu ul li a:hover::after,
        .nav-menu ul li a.active::after {
            width: 100%;
        }

        .nav-toggle {
            display: none;
            font-size: 1.8em;
            cursor: pointer;
            color: var(--color-navy-blue);
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-navy-blue) 100%);
            color: var(--color-white);
            padding: 150px 20px 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            text-align: center;
            position: relative;
            overflow: hidden;
            background-image: url(../img/vision.jpg);
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            box-shadow: inset 0 0 0 100rem #003950cc;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -20%;
            left: -20%;
            width: 140%;
            height: 140%;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            animation: rotateBg 40s linear infinite;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
        }

        .hero h1 {
            font-size: 4em;
            margin-bottom: 20px;
            font-weight: 900;
            line-height: 1.1;
            color: var(--color-white);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInSlideUp 1s ease-out forwards;
        }

        .hero p {
            font-size: 1.3em;
            margin-bottom: 40px;
            color: rgba(255, 255, 255, 0.9);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInSlideUp 1s ease-out 0.3s forwards;
        }

        .hero .btn {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInSlideUp 1s ease-out 0.6s forwards;
        }

        /* About Us Section */
        .about-us {
            background-color: var(--color-light-blue);
            padding: 100px 20px;
        }

        .about-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 40px;
            text-align: left;
            margin-top: 40px;
        }

        .about-text,
        .about-image {
            flex: 1;
            min-width: 300px;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .about-text.is-visible,
        .about-image.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .about-text h3 {
            font-size: 2em;
            color: var(--color-navy-blue);
            margin-bottom: 20px;
        }

        .about-text p {
            color: var(--color-grey);
            font-size: 1.1em;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .about-image img {
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            transition: transform 0.5s ease;
        }

        .about-image img:hover {
            transform: scale(1.02);
        }

        /* Why Choose Us Section */
        .why-choose-us {
            background-color: var(--color-white);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .feature-item {
            background-color: var(--color-white);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            text-align: center;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            opacity: 0;
            transform: translateY(50px);
        }

        .feature-item.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .feature-item:nth-child(1).is-visible {
            transition-delay: 0.1s;
        }

        .feature-item:nth-child(2).is-visible {
            transition-delay: 0.2s;
        }

        .feature-item:nth-child(3).is-visible {
            transition-delay: 0.3s;
        }

        .feature-item:nth-child(4).is-visible {
            transition-delay: 0.4s;
        }

        .feature-item:nth-child(5).is-visible {
            transition-delay: 0.5s;
        }

        .feature-item:nth-child(6).is-visible {
            transition-delay: 0.6s;
        }


        .feature-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }

        .feature-item i {
            font-size: 3.5em;
            color: var(--color-blue);
            margin-bottom: 20px;
            background: var(--color-light-blue);
            padding: 20px;
            border-radius: 50%;
            display: inline-block;
            transition: transform 0.3s ease;
        }

        .feature-item:hover i {
            transform: scale(1.1);
        }

        .feature-item h3 {
            font-size: 1.5em;
            color: var(--color-navy-blue);
            margin-bottom: 10px;
        }

        .feature-item p {
            color: var(--color-grey);
            font-size: 0.95em;
        }

        /* Courses Overview Section */
        .courses-overview {
            background-color: var(--color-light-blue);
        }

        .course-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .course-card {
            background-color: var(--color-white);
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            text-align: left;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            opacity: 0;
            transform: translateY(50px);
        }

        .course-card.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .course-card:nth-child(1).is-visible {
            transition-delay: 0.1s;
        }

        .course-card:nth-child(2).is-visible {
            transition-delay: 0.2s;
        }

        .course-card:nth-child(3).is-visible {
            transition-delay: 0.3s;
        }

        .course-card:nth-child(4).is-visible {
            transition-delay: 0.4s;
        }


        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }

        .course-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .course-card-content {
            padding: 25px;
        }

        .course-card h3 {
            font-size: 1.6em;
            color: var(--color-navy-blue);
            margin-bottom: 10px;
        }

        .course-card p {
            color: var(--color-grey);
            font-size: 0.95em;
            margin-bottom: 20px;
        }

        /* Testimonials Section */
        .testimonials {
            background-color: var(--color-white);
        }

        .testimonial-slider {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .testimonial-slide-wrapper {
            display: flex;
            transition: transform 0.8s ease-in-out;
        }

        .testimonial-item {
            min-width: 100%;
            padding: 40px;
            text-align: center;
            background-color: var(--color-light-blue);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .testimonial-item img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 4px solid var(--color-blue);
        }

        .testimonial-item p {
            font-size: 1.2em;
            font-style: italic;
            color: var(--color-navy-blue);
            line-height: 1.6;
            margin-bottom: 20px;
            max-width: 700px;
        }

        .testimonial-item h4 {
            font-size: 1.1em;
            color: var(--color-blue);
            margin-bottom: 5px;
        }

        .testimonial-item span {
            font-size: 0.9em;
            color: var(--color-grey);
        }

        .slider-nav {
            padding-top: 20px;
            padding-bottom: 20px;
            background: var(--color-light-blue);
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .dot {
            width: 12px;
            height: 12px;
            background-color: rgba(10, 46, 91, 0.3);
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .dot.active {
            background-color: var(--color-navy-blue);
            transform: scale(1.2);
        }

        /* Common Section Content Styling */
        .content-block {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 40px;
            margin-top: 40px;
            text-align: left;
        }

        .content-block>div {
            flex: 1;
            min-width: 300px;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .content-block>div.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .content-block .text-content h3 {
            font-size: 2em;
            color: var(--color-navy-blue);
            margin-bottom: 20px;
        }

        .content-block .text-content p {
            color: var(--color-navy-blue);
            font-size: 1.1em;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        #vision-mission h3,
        #vision-mission p {
            color: var(--color-white);
        }
        #alumni h3,
        #alumni p {
            color: var(--color-white);
        }

        .content-block .image-content img {
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            transition: transform 0.5s ease;
        }

        .content-block .image-content img:hover {
            transform: scale(1.02);
        }

        ul {
            list-style: none;
        }

        /* Faculty Grid */
        .faculty-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .faculty-card {
            background-color: var(--color-white);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            text-align: center;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            opacity: 0;
            transform: translateY(50px);
        }

        .faculty-card.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .faculty-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }

        .faculty-card img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            border: 3px solid var(--color-blue);
        }

        .faculty-card h4 {
            font-size: 1.4em;
            color: var(--color-navy-blue);
            margin-bottom: 5px;
        }

        .faculty-card span {
            display: block;
            font-size: 0.9em;
            color: var(--color-grey);
            margin-bottom: 15px;
        }

        .faculty-card p {
            font-size: 0.9em;
            color: var(--color-dark-grey);
            line-height: 1.5;
        }

        /* Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .gallery-item {
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 0;
            transform: scale(0.9);
        }

        .gallery-item.is-visible {
            opacity: 1;
            transform: scale(1);
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-item:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        /* FAQ Section */
        .faq-accordion {
            max-width: 800px;
            margin: 40px auto 0;
            text-align: left;
        }

        .faq-item {
            background-color: var(--color-white);
            border: 1px solid var(--color-light-blue);
            border-radius: 10px;
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
        }

        .faq-item.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .faq-question {
            background-color: var(--color-light-blue);
            padding: 20px 25px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.1em;
            color: var(--color-navy-blue);
            transition: background-color 0.3s ease;
        }

        .faq-question:hover {
            background-color: rgba(10, 46, 91, 0.1);
        }

        .faq-question i {
            transition: transform 0.3s ease;
        }

        .faq-question.active i {
            transform: rotate(180deg);
        }

        .faq-answer {
            padding: 0 25px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-out, padding 0.5s ease-out;
            color: var(--color-grey);
            background-color: var(--color-white);
        }

        .faq-answer p {
            padding: 15px 0;
        }

        .faq-answer.active {
            max-height: 200px;
            /* Adjust as needed for content */
            padding-bottom: 25px;
        }

        /* Contact Form Section */
        .contact-form-section {
            background-color: var(--color-white);
        }

        .contact-form-container {
            max-width: 700px;
            margin: 40px auto;
            padding: 40px;
            background-color: var(--color-light-blue);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: left;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .contact-form-container.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .contact-form-container h3 {
            font-size: 2em;
            color: var(--color-navy-blue);
            margin-bottom: 30px;
            text-align: center;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--color-navy-blue);
        }

        .form-group input[type="text"],
        .form-group input[type="email"],
        .form-group input[type="tel"],
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid rgba(10, 46, 91, 0.2);
            border-radius: 8px;
            font-family: 'Inter', sans-serif;
            font-size: 1em;
            color: var(--color-dark-grey);
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            background-color: var(--color-white);
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: var(--color-blue);
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
            outline: none;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .form-group .error-message {
            color: #e74c3c;
            font-size: 0.85em;
            margin-top: 5px;
            display: none;
            /* Hidden by default */
        }

        .form-group input.invalid,
        .form-group textarea.invalid,
        .form-group select.invalid {
            border-color: #e74c3c;
        }

        .contact-form-section .btn {
            width: 100%;
            padding: 15px;
            font-size: 1.1em;
            margin-top: 20px;
        }

        /* Success/Error Message Box for form submission */
        .message-box {
            display: none;
            /* Hidden by default */
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: var(--color-navy-blue);
            color: var(--color-white);
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            z-index: 1001;
            text-align: center;
            font-size: 1.1em;
            animation: fadeIn 0.5s ease-out;
        }

        .message-box.show {
            display: block;
        }

        .message-box .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            color: var(--color-white);
            font-size: 1.5em;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .message-box .close-btn:hover {
            transform: rotate(90deg);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translate(-50%, -60%);
            }

            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }


        /* CTA Section */
        .cta {
            background: linear-gradient(90deg, var(--color-navy-blue) 0%, var(--color-blue) 100%);
            color: var(--color-white);
            padding: 80px 20px;
        }

        .cta h2 {
            font-size: 3em;
            color: var(--color-white);
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInSlideUp 1s ease-out forwards;
        }

        .cta p {
            font-size: 1.2em;
            margin-bottom: 40px;
            color: rgba(255, 255, 255, 0.9);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInSlideUp 1s ease-out 0.3s forwards;
        }

        .cta .btn {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInSlideUp 1s ease-out 0.6s forwards;
        }

        /* Footer */
        .footer {
            background-color: var(--color-navy-blue);
            color: var(--color-white);
            padding: 60px 20px 30px;
            text-align: center;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            gap: 30px;
            margin-bottom: 40px;
            text-align: left;
        }

        .footer-column {
            flex: 1;
            min-width: 250px;
            max-width: 300px;
        }

        .footer-column h3 {
            color: var(--color-white);
            margin-bottom: 20px;
            font-size: 1.3em;
        }

        .footer-column p,
        .footer-column ul li {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.95em;
            margin-bottom: 10px;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li a {
            color: rgba(255, 255, 255, 0.8);
            transition: color 0.3s ease;
        }

        .footer-column ul li a:hover {
            color: var(--color-white);
        }

        .social-links {
            margin-top: 20px;
        }

        .social-links a {
            color: var(--color-white);
            font-size: 1.5em;
            margin: 0 10px;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .social-links a:hover {
            color: var(--color-blue);
            transform: translateY(-3px);
        }

        .footer-bottom {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9em;
            color: rgba(255, 255, 255, 0.7);
        }
       

        /* General Section Styling */
        .section-light {
            background-color: var(--color-light-blue);
        }

        .section-dark {
            background-color: var(--color-navy-blue);
            color: var(--color-white);
        }

        .section-dark h2,
        .section-dark h3,
        .section-dark p,
        .section-dark .section-heading::after {
            color: var(--color-white);
        }

        .section-dark .section-heading::after {
            background: var(--color-blue);
        }


        /* Animations */
        @keyframes fadeInSlideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes rotateBg {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* Specific animation delays for new sections */
        .feature-item:nth-child(1).is-visible {
            transition-delay: 0.1s;
        }

        .feature-item:nth-child(2).is-visible {
            transition-delay: 0.2s;
        }

        .feature-item:nth-child(3).is-visible {
            transition-delay: 0.3s;
        }

        .feature-item:nth-child(4).is-visible {
            transition-delay: 0.4s;
        }

        .feature-item:nth-child(5).is-visible {
            transition-delay: 0.5s;
        }

        .feature-item:nth-child(6).is-visible {
            transition-delay: 0.6s;
        }

        .course-card:nth-child(1).is-visible {
            transition-delay: 0.1s;
        }

        .course-card:nth-child(2).is-visible {
            transition-delay: 0.2s;
        }

        .course-card:nth-child(3).is-visible {
            transition-delay: 0.3s;
        }

        .course-card:nth-child(4).is-visible {
            transition-delay: 0.4s;
        }

        .faculty-card:nth-child(1).is-visible {
            transition-delay: 0.1s;
        }

        .faculty-card:nth-child(2).is-visible {
            transition-delay: 0.2s;
        }

        .faculty-card:nth-child(3).is-visible {
            transition-delay: 0.3s;
        }

        .faculty-card:nth-child(4).is-visible {
            transition-delay: 0.4s;
        }

        .gallery-item:nth-child(1).is-visible {
            transition-delay: 0.1s;
        }

        .gallery-item:nth-child(2).is-visible {
            transition-delay: 0.2s;
        }

        .gallery-item:nth-child(3).is-visible {
            transition-delay: 0.3s;
        }

        .gallery-item:nth-child(4).is-visible {
            transition-delay: 0.4s;
        }

        .faq-item:nth-child(1).is-visible {
            transition-delay: 0.1s;
        }

        .faq-item:nth-child(2).is-visible {
            transition-delay: 0.2s;
        }

        .faq-item:nth-child(3).is-visible {
            transition-delay: 0.3s;
        }

        .faq-item:nth-child(4).is-visible {
            transition-delay: 0.4s;
        }


        /* Media Queries for Responsiveness */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 3.5em;
            }

            .hero p {
                font-size: 1.1em;
            }

            .nav-menu ul li {
                margin-left: 20px;
            }

            .about-content,
            .content-block {
                flex-direction: column;
                text-align: center;
            }

            .about-image,
            .content-block .image-content {
                order: -1;
                /* Image above text on smaller screens */
            }

            .contact-form-container {
                padding: 30px;
            }
        }

        @media (max-width: 768px) {
            .header .container {
                flex-wrap: wrap;
                justify-content: center;
                padding: 10px 20px;
            }

            .logo {
                margin-bottom: 10px;
                width: 100%;
                text-align: center;
            }

            .nav-toggle {
                display: block;
                position: absolute;
                right: 20px;
                top: 15px;
            }

            .nav-menu {
                width: 100%;
                display: none;
                flex-direction: column;
                background-color: var(--color-white);
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                border-radius: 10px;
                margin-top: 10px;
                padding: 10px 0;
            }

            .nav-menu.active {
                display: flex;
            }

            .nav-menu ul {
                flex-direction: column;
                width: 100%;
            }

            .nav-menu ul li {
                margin: 0;
                border-bottom: 1px solid var(--color-light-blue);
            }

            .nav-menu ul li:last-child {
                border-bottom: none;
            }

            .nav-menu ul li a {
                display: block;
                padding: 15px 20px;
                text-align: center;
            }

            .hero {
                padding: 120px 20px 80px;
            }

            .hero h1 {
                font-size: 2.8em;
            }

            .hero p {
                font-size: 1em;
            }

            .section-heading {
                font-size: 2em;
            }

            .features-grid,
            .course-card-grid,
            .footer-content,
            .faculty-grid,
            .gallery-grid {
                grid-template-columns: 1fr;
            }

            .cta h2 {
                font-size: 2.2em;
            }

            .cta p {
                font-size: 1em;
            }

            .testimonial-item p {
                font-size: 1em;
            }

            .section-placeholder h2 {
                font-size: 2.5em;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2.2em;
            }

            .hero p {
                font-size: 0.9em;
            }

            .btn {
                padding: 10px 20px;
                font-size: 0.9em;
            }

            .section-heading {
                font-size: 1.8em;
            }

            .feature-item i {
                font-size: 3em;
            }

            .course-card h3 {
                font-size: 1.4em;
            }

            .testimonial-item p {
                font-size: 0.9em;
            }

            .footer-column {
                min-width: unset;
                width: 100%;
            }

            .contact-form-container {
                padding: 20px;
            }

            .message-box {
                width: 90%;
            }
        }

        /* Scroll to Top Button */
        #scrollToTopBtn {
            display: none;
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 99;
            background: linear-gradient(90deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
            color: var(--color-white);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5em;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            transition: opacity 0.3s, transform 0.3s;
            opacity: 0.8;
        }

        #scrollToTopBtn:hover {
            opacity: 1;
            transform: translateY(-3px);
        }
         .cta-bottom-btn{
            position: fixed;
            right: 30px;
            bottom: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 10px;
        }
        .cta-bottom-btn a{
            width: 50px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            background:linear-gradient(90deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
            color: var(--color-white);
            border-radius: 50%;
            font-size: 1.5em;
            transition: background-color 0.3s ease;
        }
        .cta-bottom-btn .phone{
            font-size: 1em;
        }   
         .cta-bottom-btn a .popup-animation{
            position: absolute;
            right: 50px;
            font-size: 16px;
            font-weight: 600;
            padding: 6px 15px;
            border-radius: 20px;
            text-wrap: nowrap;
            background: var(--color-white);
            color: var(--color-gradient-end);
            box-shadow: inset 0px -2px 8px var(--color-gradient-end);
            animation: slideup 4s ease-in infinite;
        }
        @keyframes slideup{
            0%{
                transform: translateY(0) scale(.9);
                opacity: 0;
            }
            25%, 75%{
                transform: translateY(-10px);
                opacity: 1;
            }
            100%{
                transform: translateY(-40px) scale(.9);
                opacity: 0;
            }
        }