﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #764ba2;
    --secondary: #667eea;
    --accent: #ffd369;
    --text-light: #ffffff;
    --text-dark: #222;
    --bg-light: #ffffff;
    --bg-dark: #111;
}

body {
    background: #fff;
    color: var(--text-light);
    transition: 0.4s ease;
    overflow-x:hidden;
}

    /* Dark Mode */
    body.dark {
        background: var(--bg-dark);
        color: var(--text-light);
    }
/* Top Header Background */
.top-header {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 99;
    transition: all 0.3s ease;
}

/* Navbar spacing */
.navbar {
    padding: 0;
}
.navbar-brand {
    color: #fff !important;
}
    .navbar-brand img {
        width:150px;
        height:auto;
    }
    /* Nav links styling */
    .navbar-nav .nav-link {
        font-weight: 500;
        margin-right: 20px;
        color: #ddd;
        transition: color 0.3s ease;
    }

    /* Hover effect */
    .navbar-nav .nav-link:hover {
        color: #fff; /* Bootstrap primary color */
    }

/* Mode button spacing */
/* Base Button Style */
.navbar-nav .btn {
    padding: 6px 15px;
    border-radius: 50px;
    position: relative;
    color:#fff;
    overflow: hidden;
    border:1px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* Smooth Zoom on Hover */
    .navbar-nav .btn:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        background: #fff;
        color:#000;
        border: 1px solid #fff;
    }

    /* Shine Effect */
    .navbar-nav .btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -75%;
        width: 50%;
        height: 100%;
        background: linear-gradient( 120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.1) 100% );
        transform: skewX(-25deg);
        animation: shine 2.5s infinite;
    }

/* Shine Animation */
@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/* Toggle Button */
.toggle-btn {
    background: var(--accent);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

/* HERO */
.hero-slider {
    background: #f5f5f5;
    color: #000;
}

    .hero-slider h2 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .hero-slider p {
        font-size: 20px;
        max-width: 600px;
        opacity: 0.9;
    }

.hero-img {
    max-height: 500px;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero-slider h2 {
        font-size: 32px;
    }

    .hero-slider p {
        font-size: 16px;
    }

    .row {
        text-align: center;
    }
}
/* Remove full height clickable area */
.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    top: 50% !important;
    transform: translateY(-50%);
    bottom: auto;
}

    /* Make arrows circular buttons */
    .carousel-control-prev span,
    .carousel-control-next span {
        background-color: rgba(0, 0, 0, 0.6);
        width: 45px;
        height: 45px;
        background-size: 50% 50%;
        border-radius: 50%;
        padding: 10px;
    }

/* Position properly */
.carousel-control-prev {
    left: 0px !important;
}

.carousel-control-next {
    right: 0px !important;
}

    /* Optional hover effect */
    .carousel-control-prev span:hover,
    .carousel-control-next span:hover {
        background-color: rgba(0, 0, 0, 0.85);
    }
.btn {
    padding: 15px 40px;
    background: var(--accent);
    border: none;
    border-radius: 50px;
    color: #222;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

    .btn:hover {
        /*transform: translateY(-5px);*/
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

/* SECTION */
.section {
    padding: 100px 8%;
    background: white;
    color: #222;
    text-align: center;
}

body.dark .section {
    background: #1c1c1c;
    color: white;
}

.section h3 {
    font-size: 40px;
    margin-bottom: 40px;
}
/*About Us*/
#aboutus {
    padding: 100px 8%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}
    #aboutus h3 {
        text-align: center;
        margin-bottom: 25px;
        width:100%;
        color: #fff;
        font-size: 2.5em;
        position: relative;
        display: inline-block; /* Required for centered underline */
    }

        /* Bottom Centered Line */
        #aboutus h3::before {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -10px;
            transform: translateX(-50%);
            width: 80px; /* Adjust width as needed */
            height: 4px;
            background-color: #fdba00;
            border-radius: 2px;
        }
    #aboutus p {
        padding:10px;
        color:#ddd;
        text-align:justify;
        line-height:27px;
    }
#contact {
    background:#f5f5f5;
}
    #contact h3 {
        text-align: center;
        margin-bottom: 35px;
        width: 100%;
        color: #000;
        font-size: 2.5em;
        position: relative;
        display: inline-block; /* Required for centered underline */
    }

    /* Bottom Centered Line */
        #contact h3::before {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -10px;
            transform: translateX(-50%);
            width: 80px; /* Adjust width as needed */
            height: 4px;
            background-color: #fdba00;
            border-radius: 2px;
        }
#programs h3 {
    text-align: center;
    margin-bottom: 35px;
    width: 100%;
    color: #000;
    font-size: 2.5em;
    position: relative;
    display: inline-block; /* Required for centered underline */
}

    /* Bottom Centered Line */
    #programs h3::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%);
        width: 80px; /* Adjust width as needed */
        height: 4px;
        background-color: #fdba00;
        border-radius: 2px;
    }
.form-control {
    margin-bottom:20px;
    border-radius:0px !important;
}
/* Testimonial Box */
.testimonial-box {
    max-width: 700px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Testimonial Text */
.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* Arrow Fix (small circular buttons) */
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
}

#testimonialCarousel .carousel-control-prev {
    left: -25px;
}

#testimonialCarousel .carousel-control-next {
    right: -25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

@media (max-width: 768px) {
    .testimonial-box {
        padding: 25px 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    #testimonialCarousel .carousel-control-prev {
        left: 5px;
    }

    #testimonialCarousel .carousel-control-next {
        right: 5px;
    }
}
.cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    width: 300px;
    padding: 30px;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
    color: white;
    transition: 0.4s;
    animation: slideUp 1s ease;
    border: 0 !important;
}

    .card:hover {
        transform: scale(1.05);
    }

/* FORM */
.form1 {
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, textarea {
    padding: 15px;
    border-radius: 10px;
    border: none;
    outline: none;
}

textarea {
    resize: none;
    height: 120px;
}

footer {
    padding: 20px;
    text-align: center;
    background: #000;
    color: white;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:768px) {
    .hero h2 {
        font-size: 36px;
    }
}
/* Scroll To Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background-color: #000;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 9999;
    transition: all 0.3s ease;
}

    /* Hover Effect */
    #scrollTopBtn:hover {
        background-color: #fdba00;
        color: #000;
        transform: scale(1.1);
    }
.navbar-toggler {
    background:#fff !important;
}
.custom-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: linear-gradient(90deg, #86f1fe, #6db7ff);
    color: #000;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
}

.alert-icon {
    font-size: 18px;
}

.alert-text {
    text-align: center;
}

.alert-btn {
    background: #fff;
    color: #28a745;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

    .alert-btn:hover {
        background: #f1f1f1;
        color: #1e7e34;
    }
.navbar1 {
    background: none;
    padding: 10px 20px;
    min-height:400px;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
    .menu i {
        margin-right: 8px;
    }
    .menu a, .dropdown-btn1 {
        color: #000;
        text-decoration: none;
        padding: 15px 15px;
        text-align: left;
        background: linear-gradient(180deg, #86f1fe, #6db7ff);
        border-radius: 0px;
        cursor: pointer;
        border: none;
        transform:scale(1);
        transition:.4s ease-in-out;
        width: 100%;
    }

        .menu a:hover, .dropdown-btn1:hover {
            background: #fdba00;
            color: #000;
            transform: scale(1.03);
            transition: .4s ease-in-out;
        }

/* Dropdown */
.dropdown {
    position: relative;
    width:100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    background: #fdba00;
    min-width: 200px;
    border-radius: 0px;
    overflow: hidden;
    z-index: 1;
    width: 100%;
}

    .dropdown-content a {
        display: block;
        padding: 10px;
        background: #fdba00;
        width: 100%;
        color: #222;
        font-size: 14px;
        border-bottom: 0px solid #d79b00;
    }

        .dropdown-content a:hover {
            background: #fff;
            color:#000;
        }

/* Show dropdown when active */
.dropdown.active .dropdown-content {
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .menu {
        flex-direction: column;
    }

    .dropdown-content {
        position: relative;
        top: 0;
    }
}