/* ===== GLOBAL ===== */
html, body {
    height: 100%;
    overflow-x: hidden;
}


/* ===== NAVBAR ===== */
.navbar {
    top: 0;
    z-index: 9999;
    background:#fff;
    font-family: Bahnschrift;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    color: #333;
    transition: 0.3s;
    padding-bottom: 5px;
}

.navbar-nav .nav-link:hover {
    color: #0672c4;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #0672c4;
    transform: translateX(-50%);
    transition: 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* =====Model====== */

.modal-content {
    border-radius: 15px;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== HERO SECTION ===== */
.hero-carousel,
.hero-slide {
    height: 90vh;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65), rgba(7,180,232,0.25));
}

.content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
}

.hero-carousel h1 span {
    border-bottom: 3px solid #07b4e8;
}


/* ===== HERO NAV BUTTONS ===== */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.carousel-control-prev.hero-nav { left: 20px; }
.carousel-control-next.hero-nav { right: 20px; }

.nav-btn {
    width: 55px;
    height: 55px;
    background: rgba(7,180,232,0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
    transition: 0.3s;
}

.nav-btn:hover {
    transform: scale(1.1);
    background: #07b4e8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}


/* ===== WHY SECTION ===== */
.why-gets {
    background: linear-gradient(to bottom, #f8fbff, #eef5ff);
}

/* layout fix */
.why-gets .col-md-6,
.why-gets .col-lg-3 {
    display: flex;
}


/* ===== CARD BASE ===== */
.why-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;

    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.4s ease;
}

.why-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}


/* ===== GRADIENT BORDER ===== */
.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;

    background: linear-gradient(120deg, #0d6efd, #00c6ff, #6f42c1);
    background-size: 300% 300%;
    animation: borderMove 6s linear infinite;

    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    opacity: 0;
    transition: 0.4s;
}

.why-card:hover::before {
    opacity: 1;
}

@keyframes borderMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ===== RIPPLE EFFECT ===== */
.why-card::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(13, 110, 253, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.why-card:hover::after {
    width: 250%;
    height: 250%;
}


/* ===== ICON ===== */
.why-card i {
    color: #0d6efd;
    transition: 0.4s;
    position: relative;
    z-index: 2;
}


/* ===== TEXT ===== */
.why-card h5,
.why-card p {
    position: relative;
    z-index: 2;
}


/* ===== UNIQUE HOVER EFFECTS ===== */
.card-1:hover i {
    transform: scale(1.2);
    color: #0d6efd;
}

.card-2:hover i {
    transform: rotate(10deg) scale(1.2);
    color: #00c6ff;
}

.card-3:hover i {
    transform: scale(1.3);
    color: #6f42c1;
}

.card-4:hover i {
    transform: translateY(-5px) scale(1.2);
    color: #20c997;
}
/* ===== COURSE SECTION ===== */

/* title */
.section-title {
    color: #0d2b5c;
    font-family: 'Poppins', sans-serif;
}

/* buttons */
.btn-main {
    background: #07b4e8;
    color: #fff;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
}

.btn-main:hover {
    background: #059ac7;
    color: #fff;
}

.btn-outline-main {
    border: 1px solid #07b4e8;
    color: #07b4e8;
    border-radius: 25px;
}

.btn-outline-main:hover {
    background: #07b4e8;
    color: #fff;
}

/* course card */
.course-card {
    display: flex;
    height: 210px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e9eef5;
    transition: 0.35s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(13, 43, 92, 0.12);
}

/* image */
.card-img {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.course-card:hover .card-img img {
    transform: scale(1.1);
}

/* content */
.card-content {
    width: 50%;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0d2b5c;
}

.card-content p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6c757d;
}

/* overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 180, 232, 0.15);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.course-card:hover .card-overlay {
    opacity: 1;
}

/* button */
.view-btn {
    padding: 10px 22px;
    background: #fff;
    color: #07b4e8;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: 0.3s;
    transform: translateY(10px);
    opacity: 0;
}

.course-card:hover .view-btn {
    transform: translateY(0);
    opacity: 1;
}

.view-btn:hover {
    background: #07b4e8;
    color: #fff;
}

/* remove arrows */
.carousel-control-prev,
.carousel-control-next {
    display: none !important;
}


/* ===== COUNTER SECTION ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.simple-counter-section {
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #f0f9ff, #e0f2fe);
}

.counter-box h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-box p {
    font-size: 1rem;
    font-weight: 500;
    color: #475569;
}

.counter-box:hover h1 {
    transform: scale(1.05);
    transition: 0.3s ease;
}


/* ===== TESTIMONIAL SECTION ===== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

.testimonial-section {
    background: #f6f9fc;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #1f2d3d;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 25px;
    transition: 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.avatar img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #07b4e8;
    margin-bottom: 15px;
}

.desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.stars {
    color: #f5b301;
    font-size: 14px;
}

.name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2d3d;
}

.role {
    font-size: 13px;
    color: #777;
}

/* ===== TEACHERS SECTION ===== */
.teachers-section {
    background: linear-gradient(135deg,#f4f9ff,#eef5ff);
    font-family: "Segoe UI", sans-serif;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color:#0d2b5c;
}

.teacher-wrapper {
    position: relative;
}


/* ===== SCROLL AREA ===== */
.teacher-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

.teacher-scroll::-webkit-scrollbar {
    display: none;
}


/* ===== TEACHER CARD ===== */
.teacher-card {
    min-width: 250px;
    flex: 0 0 auto;
    background: white;
    border-radius: 18px;
    padding: 25px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.teacher-card:hover {
    transform: translateY(-8px);
}


/* ===== IMAGE ===== */
.teacher-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #4facfe;
    object-fit: cover;
    margin-bottom: 10px;
}


/* ===== TEXT ===== */
.teacher-card h5 {
    font-weight: 700;
}

.teacher-card p {
    color: white;
    font-size: 14px;
}


/* ===== HOVER POPUP ===== */
.hover-popup {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0672c4;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.4s ease;
}

.teacher-card:hover .hover-popup {
    bottom: 0;
}


/* ===== SCROLL BUTTONS ===== */
.scroll-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #0d6efd;
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
}

.scroll-btn.left { left: -15px; }
.scroll-btn.right { right: -15px; }



/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg,#eef7ff,#f6fbff);
    font-family: "Segoe UI", sans-serif;
}

.cta-box {
    background: linear-gradient(135deg,#0d6efd,#4facfe);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(13,110,253,0.25);
}

/* glow effect */
.cta-box::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    top: -80px;
    right: -80px;
}

.cta-box::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    bottom: -60px;
    left: -60px;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
}

.cta-text {
    font-size: 1rem;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #0d6efd;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
}


/* ===== RESPONSIVE ===== */
@media (max-width:768px) {
    .cta-box {
        text-align: center;
    }

    .cta-title {
        font-size: 1.6rem;
    }
}


/* ===== FOOTER ===== */
.footer1 {
    margin-top: 85px;
    width: 100%;
    background-color: #0672c4;
    padding-bottom: 40px;
    font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
    color: #fff;
    position: relative;
}

/* overlay */
.footer1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.08);
}

.footer1 .container {
    position: relative;
    z-index: 2;
}

.mainfooter {
    padding-top: 80px;
}

/* text + headings */
.footer1 h3,
.footer1 h4 {
    color: #fff;
    font-weight: 600;
}

.footer1 p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.fature {
    padding-top: 20px;
}

.fature2 {
    padding-top: 30px;
    font-weight: 600;
}

/* input */
.emaill {
    width: 200px;
    height: 48px;
    padding-left: 12px;
    border: none;
    outline: none;
}

/* icons */
.footericons {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: 0.3s;
    background: rgba(255,255,255,0.15);
}

.footericons:hover {
    background: #fff;
    color: #07b4e8;
    transform: translateY(-3px);
}


/* ===== FOOTER BOTTOM ===== */
.endfooter {
    background-color: #0599cc;
    width: 100%;
    padding: 15px 0;
}

/* button */
.btn-warning {
    background: #fff;
    color: #0672c4;
    border: none;
    font-weight: 600;
}

.btn-warning:hover {
    background: #eaf7ff;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5fbff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #07b4e8, #0d2b5c);
    border-radius: 10px;
    border: 2px solid #f5fbff;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #059ac7, #0a224a);
}


/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: #f8fbff;
    font-family: Bahnschrift;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 260px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(7,180,232,0.2));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.4s;
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.gallery-section h2 {
    color: #0672c4;
}

.view-all-btn {
    background: #0672c4;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.view-all-btn:hover {
    background: #055a9c;
    transform: translateY(-3px);
}


/* ===== ABOUT HERO SECTION ===== */
.hero-section-about {
    background: #f5fbff;
    position: relative;
    overflow: hidden;
}

.hero-section-about::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: #07b4e8;
    opacity: 0.08;
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.hero-section-about::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: #0d2b5c;
    opacity: 0.05;
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
}


/* ===== COURSES SECTION ===== */
.courses-section {
    background: #f8fbff;
    font-family: 'Poppins', sans-serif;
}

.courses-title {
    font-weight: 700;
    color: #0d2b5c;
}

.courses-subtitle {
    color: #6c757d;
}

.course-box {
    display: flex;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.course-box:hover {
    transform: translateY(-5px);
}


/* ===== COURSE BOX CONTENT ===== */
.course-box-img {
    width: 300px;
    min-width: 300px;
}

.course-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-box-content {
    padding: 25px;
    flex: 1;
}

.course-box-content h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.level-badge {
    background: #e6f7fd;
    color: #07b4e8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.desc {
    color: #555;
    margin: 10px 0 15px;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.skills {
    margin-top: 15px;
}

.skills span {
    display: inline-block;
    background: #eef7fc;
    color: #07b4e8;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin: 5px 5px 0 0;
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #07b4e8;
}

.enroll-main {
    background: #07b4e8;
    color: #fff;
    border-radius: 25px;
    padding: 8px 18px;
}

.enroll-main:hover {
    background: #059ac9;
    color: #fff;
}


/* ===== RESPONSIVE ===== */
@media (max-width:768px) {
    .course-box {
        flex-direction: column;
    }

    .course-box-img {
        width: 100%;
        height: 200px;
    }
}

/* Section Background */
.contact-section {
    background: linear-gradient(135deg, #07b4e8, #0d2b5c);
    color: white;
}

/* Heading */
.contact-title {
    font-size: 2.3rem;
}

.contact-subtitle {
    opacity: 0.9;
}

/* Map Styling */
.map-box {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Card */
.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Custom Inputs */
.input-group-custom {
    display: flex;
    align-items: center;
    background: #f5fbff;
    border-radius: 10px;
    padding: 10px 12px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.input-group-custom i {
    color: #07b4e8;
    margin-right: 10px;
    font-size: 14px;
}

.input-group-custom input,
.input-group-custom textarea {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 14px;
}

/* Focus Effect */
.input-group-custom:focus-within {
    border: 1px solid #07b4e8;
    box-shadow: 0 0 10px rgba(7,180,232,0.3);
}

/* Textarea fix */
.input-group-custom.textarea {
    align-items: flex-start;
}

/* Button */
.contact-btn {
    background: linear-gradient(135deg, #07b4e8, #0d2b5c);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

/* Button Hover */
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media(max-width: 768px) {
    .map-box {
        height: 300px;
    }
}
.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
}