/* ===================================
   GLOBAL
=================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

/*
Header.php
*/

/* ==========================
   Logo
========================== */

.logo a {
    font-size: 20px;
    font-weight: 700;
    color: #38bdf8;
    text-decoration: none;
}

.logo a span {
    color: #ffffff;
    font-weight: 400;
}

/* ===================================
   HEADER
=================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    background: #0f172a;

    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 1400px;
    margin: auto;

    min-height: 85px;
}

.logo img {
    height: 70px;
    width: auto;
}

/* Main Menu */

.navbar {
    flex: 1;
    margin-left: 30px;
}

.navbar>ul {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    list-style: none;
}

.navbar>ul>li>a {

    color: #ffffff;

    font-size: 17px;

    font-weight: 600;

    padding: 30px 0;

    transition: .3s;
}

.navbar>ul>li>a:hover {

    color: #38bdf8;
}

.navbar>ul>li {
    position: relative;
}

.navbar>ul>li::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 20px;

    width: 0;

    height: 3px;

    background: #38bdf8;

    transition: .3s;
}

.navbar>ul>li:hover::after {
    width: 100%;
}

/* Dropdown Menu */

.dropdown-menu {
    position: absolute;
    top: 55px;
    left: -80px;

    min-width: 400px;

    background: #fff;

    border-radius: 15px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .15);

    overflow: hidden;

    display: none;

    z-index: 99999;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {

    display: block;

    padding: 16px 20px;

    color: #1e293b;

    font-size: 15px;
    font-weight: 500;

    border-bottom: 1px solid #edf2f7;

    transition: all .3s ease;


}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {

    background: #2563eb;

    color: #fff;

    transform: translateX(5px);

    padding-left: 24px;
}

.dropdown-menu li a:hover {
    background: #2563eb;
    color: #fff;

    transform: translateX(5px);

    box-shadow: inset 4px 0 0 #10b981;
}

.dropdown>a::after {
    content: " ▼";
    font-size: 11px;
}

@keyframes fadeInDropdown {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* Right Side */

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-btn {

    background: #10b981;

    color: #fff;

    padding: 12px 22px;

    border-radius: 8px;

    font-weight: 600;
}

.demo-btn {

    background: #2563eb;

    color: #fff;

    padding: 12px 22px;

    border-radius: 8px;

    font-weight: 600;
}


/* ===================================
   BUTTONS
=================================== */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #10b981;
    color: #fff;
}

.btn-secondary:hover {
    background: #059669;
}

/* ===================================
   HERO SECTION
=================================== */

/* ===================================
   HERO SLIDER
=================================== */

.hero-slider {

    position: relative;

    height: 700px;

    overflow: hidden;
}

.slide {

    position: absolute;

    width: 100%;
    height: 85%;

    opacity: 0;

    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.slide::before {

    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    background:
        rgba(0, 0, 0, .60);
}

.slide-content {

    position: absolute;

    top: 50%;
    left: 10%;

    transform: translateY(-50%);

    color: #fff;

    max-width: 700px;

    z-index: 2;
}

.slide-content h1 {

    font-size: 4rem;

    line-height: 1.2;

    margin-bottom: 20px;
}

.slide-content p {

    font-size: 1.5rem;

    margin-bottom: 30px;
}

.slide-content .btn-primary {

    background: #2563eb;

    color: #fff;

    padding: 15px 30px;

    border-radius: 8px;
}

/* ===================================
   ABOUT
=================================== */

.about-home {
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: center;
}

.about-home h2 {
    margin-bottom: 20px;
    color: #0f172a;
    font-size: 2.2rem;
}

.about-home p {
    max-width: 900px;
    margin: auto;
    font-size: 18px;
}

.about-us {
    padding: 60px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
}

.section-title span {
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
}

.section-title h2 {
    font-size: 42px;
    margin-top: 10px;
    color: #0f172a;
}

.intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.about-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: .3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

.about-card p {
    color: #64748b;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 20px;
}

.stat-box {
    background: #0f172a;
    color: #fff;
    text-align: center;
    padding: 25px;
    border-radius: 10px;
}

.stat-box h3 {
    font-size: 36px;
    margin-bottom: 8px;
}

.stat-box span {
    font-size: 15px;
}

/* ===================================
   COURSES
=================================== */
.courses {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
}

.section-header span {
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-header h2 {
    margin: 10px 0 15px;
    font-size: 2.5rem;
    color: #0f172a;
}

.section-header p {
    color: #64748b;
    line-height: 1.8;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.course-image {
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}

.course-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2563eb;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

.course-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.course-content ul li {
    margin-bottom: 10px;
    color: #475569;
    position: relative;
    padding-left: 22px;
}

.course-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.course-btn {
    display: block;
    text-align: center;
    background: #2563eb;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.course-btn:hover {
    background: #1d4ed8;
}

/* ===================================
   WHY US
=================================== */
.why-us {
    padding: 90px 0;
    background: linear-gradient(180deg,#ffffff,#f8fafc);
}

.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.section-header span {
    color: #2563eb;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.7rem;
    margin: 15px 0;
    color: #0f172a;
}

.section-header p {
    color: #64748b;
    line-height: 1.8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

.why-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.why-card h3 {
    margin-bottom: 12px;
    color: #0f172a;
}

.why-card p {
    color: #64748b;
    line-height: 1.7;
}

.stats-bar {
    margin-top: 70px;
    background: #0f172a;
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat h3 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.stat span {
    color: #cbd5e1;
}


/* ===================================
   BATCHES
=================================== */
.batches {
    padding: 90px 0;
    background: #f8fafc;
}

.batch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
}

.batch-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.batch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.batch-header {
    background: #0f172a;
    color: #fff;
    padding: 25px;
    text-align: center;
}

.batch-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.batch-details {
    padding: 25px;
}

.detail {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail:last-child {
    border-bottom: none;
}

.detail strong {
    color: #0f172a;
}

.detail span {
    color: #64748b;
}

.register-btn {
    display: block;
    margin: 20px;
    text-align: center;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s;
}

.register-btn:hover {
    background: #1d4ed8;
}

/* ===================================
   TESTIMONIALS
=================================== */

.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-card {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    text-align: center;
}

/* ===================================
   FAQ
=================================== */

.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq h2 {
    text-align: center;
    margin-bottom: 30px;
}

.faq details {
    margin-bottom: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.faq summary {
    cursor: pointer;
    font-weight: bold;
}

/* ===================================
   CONTACT FORM
=================================== */

.contact-home {
    padding: 80px 0;
}

.contact-home h2 {
    text-align: center;
    margin-bottom: 30px;
}

.contact-home form {
    max-width: 700px;
    margin: auto;
}

.contact-home input,
.contact-home select,
.contact-home textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.contact-home textarea {
    height: 150px;
}

.contact-home button {
    width: 100%;
    border: none;
    background: #2563eb;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.contact-home button:hover {
    background: #1d4ed8;
}

/* ===================================
   WHATSAPP
=================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    z-index: 999;
}

.whatsapp-float:hover {
    background: #1ebe5b;
}

/* ===================================
   FOOTER
=================================== */

/* ===================================
FOOTER
=================================== */

.footer {


    background: #0f172a;
    color: #fff;

    padding: 60px 0 0;


}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
}

.footer-column h3 {


    margin-bottom: 20px;

    color: #ffffff;


}

.footer-column p {


    color: #cbd5e1;

    line-height: 1.8;


}

.footer-column ul {


    list-style: none;
    padding: 0;


}

.footer-column ul li {


    margin-bottom: 10px;


}

.footer-column ul li a {


    color: #cbd5e1;
    transition: .3s;


}

.footer-column ul li a:hover {


    color: #3b82f6;


}

.social-icons {


    margin-top: 20px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;


}

.social-icons a {


    color: #fff;

    background: #2563eb;

    padding: 8px 12px;

    border-radius: 5px;

    font-size: 14px;


}

.social-icons a:hover {


    background: #1d4ed8;


}

.footer-bottom {


    margin-top: 40px;

    padding: 20px;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, .1);


}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
}

/* ==========================
   TOP CONTACT BAR
========================== */
/* ==========================
   TOP CONTACT BAR
========================== */

.top-contact-bar {

    background: #f8fafc;

    border-bottom: 1px solid #e5e7eb;

    padding: 6px 0;

    font-size: 14px;

}

.top-contact-bar .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.top-contact-left {

    display: flex;

    align-items: center;

    gap: 12px;

}

.top-contact-left a {

    color: #334155;

    text-decoration: none;

    font-weight: 500;

}

.top-contact-left a:hover {

    color: #2563eb;

}

.divider {

    color: #94a3b8;

}

/* Social Icons */

.top-contact-right {

    display: flex;

    align-items: center;

    gap: 10px;

}

.top-contact-right a {

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #334155;

    border: 1px solid #e2e8f0;

    transition: all .3s ease;

}

.top-contact-right a:hover {

    background: #2563eb;

    color: #fff;

    border-color: #2563eb;

    transform: translateY(-2px);

}

/* ===================================
   MOBILE
=================================== */



@media(max-width:768px) {

    .hero {
        min-height: auto;
    }

    .overlay {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-left h1 {
        font-size: 1.9rem;
    }

    .hero-left p {
        font-size: 1rem;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .tech-logos img {
        height: 60px;
    }

    .batches {
        overflow-x: auto;
    }
}

@media(max-width:992px) {
    .menu-toggle {
        display: flex;
        color: #fff;
        font-size: 30px;
        cursor: pointer;
        margin-left: 15px;
        align-items: center;
        justify-content: center;
    }

    .navbar {

        width: 280px;

        right: 0;
        left: auto;

        height: 100vh;

        position: fixed;

        top: 70px;

        background: #0f172a;

        padding-top: 20px;

        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        gap: 0;
    }

    .navbar ul li {
        width: 100%;
        text-align: left;
    }

    .navbar ul li a {
        display: block;
        padding: 15px 20px;
        color: #fff;
    }

    .dropdown-toggle {
        display: flex !important;
        gap: 6px;
        align-items: center;
        width: 100%;
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 100%;
        background: #111827;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        display: block;
        padding: 12px 40px;
        color: #cbd5e1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu li a:hover {
        background: #1e293b;
        color: #38bdf8;
        padding-left: 45px;
    }

    .header-right {
        display: none !important;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trainer-flex {
        flex-direction: column;
    }

    .hero-left h1 {
        font-size: 2.3rem;
    }

    .logo-main {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 11px;
    }
    .navbar > ul > li::after{
    display: none !important;
}

.top-contact-bar {
    display: none;
    font-size: 12px;

}

.top-contact-bar .container {

    flex-direction: column;

    gap: 5px;

    text-align: center;

}

}

@media (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeInDropdown .3s ease;
    }
}
