/* ----- CSS RESET & VARIABLES ----- */
:root {
    --primary-orange: #f97316;
    --primary-orange-dark: #ea580c;
    --deep-blue: #0f2b3d;
    --accent-blue: #1e4a6b;
    --light-bg: #f9fafb;
    --card-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.25s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: #1f2937;
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, .fw-heavy {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

/* ----- NAVBAR (ORIGINAL ORANGE GRADIENT) ----- */
.navbar {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.95), rgba(255, 165, 0, 0.85));
    backdrop-filter: blur(8px);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff !important;
}
.navbar-brand img {
    height: 48px;
    width: auto;
}
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 0.25rem;
    border-radius: 40px;
    transition: var(--transition-smooth);
}
.navbar-nav .nav-link:hover {
    color: #001f3f !important;
    background: rgba(255,255,255,0.2);
}
.navbar-toggler {
    border: none;
    background: transparent;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.dropdown-menu {
    border: none;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 0.5rem;
}
.dropdown-item {
    border-radius: 12px;
    transition: var(--transition-smooth);
}
.dropdown-item:hover {
    background-color: #fff3e8;
    color: var(--primary-orange);
}

/* QR icon colors */
.qr-item .fa-whatsapp { color: #25D366; }
.qr-item .fa-instagram { color: #E1306C; }
.qr-item .fa-youtube { color: #FF0000; }
.qr-item .fa-google-play { color: #3DDC84; }
.qr-item p i { margin-right: 5px; }
.qr-item p { font-weight: 500; }

/* Desktop submenu hover */
@media (min-width: 992px) {
    .dropdown-submenu { position: relative; }
    .dropdown-submenu .sub-menu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -0.5rem;
        display: none;
        min-width: 200px;
    }
    .dropdown-submenu:hover .sub-menu { display: block; }
    .dropdown-submenu .dropdown-toggle::after {
        content: "\f054";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        border: none;
        float: right;
        margin-top: 6px;
    }
}

/* Mobile submenu */
@media (max-width: 991px) {
    .dropdown-submenu .sub-menu {
        display: block;
        position: static;
        box-shadow: none;
        padding-left: 1rem;
        background: transparent;
    }
    .dropdown-submenu .dropdown-toggle::after {
        content: "\f078";
    }
}

/* ----- CAROUSEL ----- */
.carousel-item {
    height: 65vh;
    min-height: 400px;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.carousel-caption {
    bottom: 25%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.carousel-caption h2 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
}

/* Floating Social Icons */
.floating-icons {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 60px;
    font-size: 1.6rem;
    color: white;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.floating-icons a:hover {
    transform: scale(1.1) translateY(-4px);
}
.whatsapp { background: #25D366; }
.instagram { background: #E1306C; }
.youtube { background: #FF0000; }
.app { background: linear-gradient(135deg, #1a73e8, #0d47a1); }

/* Course Cards */
.course-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: var(--card-shadow);
}
.course-img {
    width: 100%;
    overflow: hidden;
}
.course-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #f8f9fa;
    padding: 12px;
    transition: transform 0.3s;
}
.course-card:hover .course-img img {
    transform: scale(1.02);
}
.course-content {
    padding: 1.2rem;
    text-align: center;
}
.category {
    background: #fff2e5;
    color: var(--primary-orange);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
}
.btn-course {
    background: #003f88;
    color: white;
    border-radius: 40px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
}
.btn-course:hover {
    background: var(--primary-orange);
    color: white;
}

/* Feature Boxes */
.feature-box {
    background: white;
    border-radius: 28px;
    padding: 1.2rem;
    transition: var(--transition-smooth);
    height: 100%;
    text-align: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}
.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 24px;
    padding: 1.6rem;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: var(--card-shadow);
}
.stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

/* Logo slider boxes */
.logo-box {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: 0.2s;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    height: auto;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.logo-box img {
    max-width: 110px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 8px;
}
.logo-box p {
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
}

/* MAP + FORM SECTION */
.map-contact-section {
    position: relative;
    background: #0a1a2a;
}
.map-wrapper {
    position: relative;
    min-height: 520px;
}
.map-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: brightness(0.85);
}
.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}
.contact-overlay-content {
    position: relative;
    z-index: 5;
    padding: 3rem 0;
}
.form-glass-card {
    background: rgba(255,255,255,0.96);
    border-radius: 32px;
    padding: 1rem;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.3);
}
.form-glass-card iframe {
    width: 100%;
    height: 550px;
    border-radius: 24px;
    border: none;
}

/* QR Grid */
.qr-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.qr-item {
    text-align: center;
    background: white;
    padding: 0.8rem;
    border-radius: 20px;
    width: 100px;
}
.qr-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
        min-height: 280px;
    }
    .navbar-brand span {
        font-size: 0.9rem;
    }
    .feature-box {
        padding: 0.8rem;
    }
    .logo-box {
        min-height: 100px;
    }
    .logo-box img {
        max-width: 80px;
        max-height: 50px;
    }
    .form-glass-card iframe {
        height: 450px;
    }
    .floating-icons a {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    .course-img img {
        aspect-ratio: 16/9;
        padding: 8px;
    }
    .navbar-toggler {
        order: 2;
        margin-left: auto;
    }
    .navbar-brand {
        order: 1;
    }
    .navbar-collapse {
        order: 3;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .qr-item {
        width: 50%;
    }
    .qr-item img {
        width: 55px;
        height: 55px;
    }
    .logo-box img {
        max-width: 70px;
        max-height: 45px;
    }
    .carousel-caption h2 {
        font-size: 1.2rem;
    }
}

/* Utility */
.text-orange { color: var(--primary-orange); }
.bg-orange-light { background: #fff6ed; }
section {
    padding: 4rem 0;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    font-weight: 800;
}