/* ============================================
   FASE - GLOBAL STYLES
   Color Scheme: Deep Red (#D32F2F) + Yellow/Orange Accents
   ============================================ */

:root {
    --primary-red: #D32F2F;
    --primary-red-dark: #B71C1C;
    --accent-yellow: #FFD600;
    --accent-orange: #FF9800;
    --accent-lime: #C6FF00;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-gray: #E0E0E0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background-color: var(--text-light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.about-content p {
    margin-bottom: 15px;
    font-size: 15px;
   
    font-size: 19px;
    line-height: 2;

}

/* LOGO SECTION */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo-img {
    height: 200px;   /* 🔥 increase size here */
    width: auto;
}

.brand-name {
    font-size: 28px;
    font-weight: bold;
    color: #D32F2F;
}

/* NAVIGATION MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    margin: 0 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}
.nav-item {
    position: relative;
}

.dropdown-menu {
    pointer-events: none;   /* ❗ block when hidden */
}

.nav-item:hover .dropdown-menu {
    pointer-events: auto;   /* ✅ enable only on hover */
}
.nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* DROPDOWN MENU */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--text-light);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 0;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    padding-left: 25px;
}

/* NESTED DROPDOWN */
.dropdown-nested {
    position: relative;
}

.dropdown-menu-nested {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--text-light);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-left: 10px;
}

.dropdown-nested:hover .dropdown-menu-nested {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    margin-left: 0;
}

.dropdown-link-nested {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link-nested:hover {
    background-color: var(--bg-light);
    color: var(--primary-red);
    border-left-color: var(--accent-yellow);
    padding-left: 25px;
}

/* REGISTER BUTTON */
.register-btn {
    background-color: #2a8c7d;
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.register-btn:hover {
    background-color: var(--primary-red-dark);
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.register-icon {
    font-size: 16px;
    font-weight: bold;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    width: 30px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== MODERN HERO (MATCHES YOUR REFERENCE STYLE) ===== */

.hero {
    background: linear-gradient(135deg, #5c0000, #8e0000, #c62828);
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.06); /* slightly more transparent */
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 600px;
    color: #fff;
    box-shadow: 
        0 25px 70px rgba(0,0,0,0.5),
        inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* title */
.hero-card h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

/* subtitle */
.hero-card p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* button */
.cta-button {
    background: linear-gradient(135deg, #ffd600, #ffb300);
    color: #000;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 214, 0, 0.4);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 82, 82, 0.15);
    border-radius: 50%;
    filter: blur(60px);
}
/* ============================================
   GALLERY SECTION (HOMEPAGE)
   ============================================ */

.gallery-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.gallery-header p {
    font-size: 16px;
    color: #666;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: var(--text-light);
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 600;
}

/* ============================================
   PAGE SECTIONS (About, Gallery, Courses)
   ============================================ */

.page-section {
    padding: 80px 20px;
    min-height: calc(100vh - 80px);
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
    text-align: center;
}

.page-intro {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* TEAM GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 20px 20px 5px;
}

.team-role {
    font-size: 14px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 15px;
    padding: 0 20px;
}

.team-bio {
    font-size: 14px;
    color: #666;
    padding: 0 20px 20px;
    line-height: 1.5;
}

/* MISSION & VISION SECTION */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--text-light) 100%);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-red);
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mission-card h3,
.vision-card h3 {
    font-size: 24px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.mission-card p,
.vision-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* VALUES SECTION */
.values-section {
    margin-top: 80px;
}

.values-title {
    font-size: 32px;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.value-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.value-item h4 {
    font-size: 18px;
    color: var(--primary-red);
    margin-bottom: 12px;
    font-weight: 600;
}

.value-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* GALLERY SHOWCASE */
.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-showcase-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-showcase-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-showcase-info {
    padding: 25px;
    background-color: var(--bg-light);
}

.gallery-showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-showcase-info h4 {
    font-size: 18px;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-weight: 600;
}

.gallery-showcase-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ============================================
   COURSES PAGE
   ============================================ */

.course-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0 60px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    background-color: var(--text-light);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-red);
    background-color: var(--primary-red);
    color: var(--text-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background-color: var(--text-light);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-red);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.course-badge {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.course-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.course-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-details {
    list-style: none;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.course-details li {
    font-size: 13px;
    color: #666;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.course-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.schedule-preview {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.schedule-preview p {
    font-size: 13px;
    color: var(--text-dark);
    margin: 8px 0;
    padding-left: 15px;
    position: relative;
}

.schedule-preview p::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.course-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-red);
    color: var(--text-light);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.course-btn:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--text-light);
        gap: 0;
        margin: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-gray);
        display: block;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background-color: var(--bg-light);
        margin-top: 0;
        box-shadow: none;
        border-radius: 0;
        transform: none;
    }

    .nav-item.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-menu-nested {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        margin: 0;
        transform: none;
    }

    .dropdown-nested.active .dropdown-menu-nested {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .register-btn {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .page-title {
        font-size: 32px;
    }

    .gallery-grid,
    .team-grid,
    .values-grid,
    .gallery-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .course-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 18px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-intro {
        font-size: 14px;
    }

    .gallery-section,
    .page-section {
        padding: 40px 20px;
    }

    .gallery-header h3 {
        font-size: 24px;
    }

    .team-card,
    .value-item {
        padding: 20px;
    }

    .course-card {
        padding: 20px;
    }
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: 0.3s;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* ================= FLIP CARD (TEAM SECTION) ================= */

.team-card-flip {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 350px;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}

.team-card-flip:hover .card-inner {
    transform: rotateY(180deg);
}

/* FRONT + BACK */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* FRONT */
.card-front {
    background: #fff;
    text-align: center;
    padding: 20px;
}

.card-front img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.card-front h3 {
    margin-top: 15px;
    font-size: 18px;
}

.card-front p {
    color: #666;
    font-size: 14px;
}

/* BACK (MATCH YOUR RED DESIGN) */
.card-back {
    background: linear-gradient(135deg, #5c0000, #8e0000, #c62828);
    color: white;
    transform: rotateY(180deg);
    padding: 25px;
}

.card-back h3 {
    margin-bottom: 15px;
}

.card-back ul {
    padding-left: 18px;
}

.card-back li {
    margin-bottom: 10px;
    font-size: 14px;
}
/* ===== MODERN MISSION SECTION ===== */

.mission-modern {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #5c0000, #8e0000, #c62828); /* 🔥 MATCH HERO */
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mission-block {
    margin-bottom: 30px;
     color: #f1f1f1;
}

.mission-block h3 {
    font-size: 26px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-block p {
    color: #ccc;
    line-height: 1.7;
}

.mission-block ul {
    padding-left: 20px;
}

.mission-block li {
    margin-bottom: 10px;
    color: #f5f5f5;}

.mission-modern hr {
    border-top: 1px solid rgba(255,255,255,0.2);
}
.all-courses-content {
    max-width: 900px;
    margin: 40px auto;
    background: linear-gradient(135deg, #5c0000, #8e0000, #c62828);
    padding: 30px;
    border-radius: 15px;
    color: white;
}

.all-courses-content h2 {
    margin-bottom: 20px;
}

.all-courses-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.all-courses-content ul {
    padding-left: 20px;
}

.all-courses-content li {
    margin-bottom: 8px;
}
/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

/* IMAGES */
.contact-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-images img {
    width: 100%;
    border-radius: 10px;
}

/* FLOATING WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.contact-intro {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #5c0000, #8e0000, #c62828);
    color: white;
    padding: 25px;
    border-radius: 10px;
}

.contact-intro h3 {
    margin-bottom: 10px;
}

.contact-intro p {
    margin-bottom: 8px;
    color: #f1f1f1;
}
.contact-cta {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta h3 {
    margin-bottom: 10px;
}

.contact-cta p {
    margin-bottom: 20px;
    color: #666;
}

.home-about {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.home-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
}

.extra-section {
    padding: 80px 20px;
}

.alt-bg {
    background: #f9f9f9;
}

.styled-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.styled-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
/* 🔥 PREMIUM HOVER EFFECTS */

/* Cards hover (features, courses, etc.) */
.feature-box {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    font-size: 16px;
    min-width: 220px;
    text-align: center;

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Buttons hover */
.cta-button,
.register-btn,
.course-btn {
    transition: all 0.3s ease;
}

/* 🔥 GLOBAL PREMIUM BUTTON (YELLOW STYLE) */

.cta-button,
.cta-btn,
.course-btn {
    background: linear-gradient(135deg, #FFD600, #FFB300);
    color: #000;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.35);
}

/* HOVER */
.cta-button:hover,
.cta-btn:hover,
.course-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 179, 0, 0.5);
    background: linear-gradient(135deg, #FFE000, #FFA000);
}

/* Gallery zoom effect */
.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Navbar link hover */
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff5252;
}

/* Smooth fade-in animation */
.page-section,
.extra-section,
.home-about {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.register-form {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 60px;
    height: 60px;

    background: #25D366;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1000;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* MESSAGE SECTION */
.message-section {
    background: #f5f5f5;
    padding: 60px 20px;
}

.message-container {
    max-width: 900px;
    margin: auto;
}

.message-title {
    text-align: center;
    color: #c40000;
    font-size: 36px;
    margin-bottom: 30px;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    width: 50%;
}

.message-form button {
    width: 100%;
    padding: 15px;
    background: #c40000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

.message-form button:hover {
    background: #a00000;
}


/* FOOTER */
.footer {
    background: #000;
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-container div {
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: #ccc;
    margin: 5px 0;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 15px;
    margin-top: 20px;
    font-size: 14px;
}
.footer-full {
    background: #000;
    color: #fff;
    padding: 60px 40px 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    width: 22%;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-logo {
    color: #ff0000;
}

.footer-col h3 {
    margin-bottom: 15px;
}

.footer-col p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 14px;
}
.footer-col a {
    display: block;   /* THIS LINE FIXES YOUR ISSUE */
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: #fff;
}

/* MAIN DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    padding: 10px;
    top: 100%;
    left: 0;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* SUB DROPDOWN */
.dropdown-item {
    position: relative;
}

.sub-dropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    padding: 10px;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown-item:hover .sub-dropdown {
    display: block;
}

.sub-dropdown a {
    display: block;
    padding: 8px;
    color: black;
    text-decoration: none;
}

.sub-dropdown a:hover {
    background: #f2f2f2;
}
/* Arrow styling */
.arrow {
    font-size: 12px;
    margin-left: 5px;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
    transition: 0.3s;
}

.course-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-arrow {
    font-size: 12px;
}


/* 🔥 MODERN COURSES DESIGN */

.courses-modern {
    padding: 80px 20px;
    background: #f5f5f5;   /* ✅ clean white/grey background */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* CARD */
.course-card-modern {
    background: linear-gradient(135deg, #5c0000, #8e0000, #c62828);
    border-radius: 15px;
    padding: 30px;
    color: white;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: 0.3s;
}
/* HOVER EFFECT */
.course-card-modern:hover {
    transform: translateY(-10px) scale(1.01);
}

/* HEADINGS */
.course-card-modern h2 {
    margin-bottom: 15px;
}

/* TEXT */
.course-card-modern p {
    margin-bottom: 15px;
    color: #ddd;
}

/* LIST */
.course-card-modern ul {
    padding-left: 20px;
}

.course-card-modern li {
    margin-bottom: 10px;
}

/* SOCIAL ICONS */
.social-icons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* makes icons white */
    transition: 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}


/* MATCH ABOUT DROPDOWN STYLE */
.dropdown-menu {
    padding: 10px 0;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
}

.dropdown-link:hover {
    background: #f5f5f5;
}

.course-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-arrow {
    font-size: 12px;
}


/* HERO FULL */
.hero-full {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* BACKGROUND IMAGE */
.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY TEXT */
.hero-overlay {
    position: absolute;
    top: 20%;
    left: 10%;
    color: black;
}

.hero-overlay h1 {
    font-size: 32px;
    font-weight: bold;
}

.hero-overlay h2 {
    font-size: 80px;
    color: red;
    margin: 10px 0;
}

.hero-overlay p {
    font-size: 20px;
    font-weight: bold;
}

/* BADGES STRIP */
.hero-badges {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px;
}

.hero-badges img {
    height: 50px;
}

/* DARK OVERLAY FOR READABILITY */
.hero-full::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* dark layer */
}

/* KEEP TEXT ABOVE OVERLAY */
.hero-overlay {
    position: absolute;
    top: 25%;
    left: 8%;
    color: white;
    z-index: 2;
    max-width: 600px;
}

/* HEADINGS */
.hero-overlay h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-overlay h2 {
    font-size: 80px;
    color: #ff2b2b;
    margin: 10px 0;
}

/* DESCRIPTION */
.hero-overlay p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* TAGLINE */
.hero-tagline {
    font-weight: bold;
    letter-spacing: 1px;
}

.review-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.review-box:hover {
    transform: translateY(-5px);
}

.review-box p {
    font-style: italic;
    margin-bottom: 10px;
}

.review-box h4 {
    color: #d32f2f;
}

/* HEADER RIGHT SIDE FIX */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* LANGUAGE DROPDOWN */
.lang-switch {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-weight: 600;
}

/* MATCH YOUR BRAND */
.lang-switch:hover {
    border-color: #d32f2f;
}

.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.gallery-showcase img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}
.training-highlight {
    margin-top: 60px;
}
.stats-section {
    margin-bottom: 60px;
}

.training-highlight {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-top: 50px;
}

.training-left {
    width: 50%;
}

.training-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.training-right {
    width: 50%;
    background: #c40000;
    color: white;
    padding: 60px;
}

.training-right h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.training-right p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.link-text {
    text-decoration: underline;
}

.training-highlight {
    display: flex;
    width: 100%;
    height: 450px; /* force proper height */
    margin-top: 50px;
}

.training-left {
    width: 50%;
}

.training-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.training-right {
    width: 50%;
    background: #c40000;
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.training-right h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.training-right p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background: #f5f5f5;
}

.stats-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #f5f5f5;
}

.logo-center img {
    width: 120px;
}

.training-highlight {
    display: flex;
    width: 100%;
    height: 500px;
}

.training-left {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.training-left img {
    width: 60%;
}

.training-right {
    width: 50%;
    background: #c40000;
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* EXPLORE SECTION */
.explore-course {
    background: #d60000;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.explore-course h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.explore-course p {
    max-width: 700px;
    margin: auto;
    font-size: 16px;
}

/* STATS IMAGE */
/* STATS IMAGE */
.stats-image {
    background: #f5f5f5;
    padding: 0;
}

.stats-image img {
    width: 100%;
    height: auto;
    display: block;
}

.faq-section {
    background: #f9f9f9;
    padding: 60px 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    margin-bottom: 5px;
    color: #c40000;
}

/* MAIN DROPDOWN */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;   /* 🔥 WHITE */
    min-width: 220px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* TEXT COLOR */
.dropdown-link {
    display: block;
    padding: 12px 15px;
    color: #000;   /* 🔥 BLACK TEXT */
    text-decoration: none;
}

/* HOVER */
.dropdown-link:hover {
    background: #f2f2f2;
    color: red;
}

/* SUB DROPDOWN */
.sub-dropdown {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #ffffff;   /* 🔥 WHITE */
    min-width: 220px;
    border-radius: 8px;
    z-index: 1001;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* SUB LINKS */
.sub-dropdown a {
    display: block;
    padding: 12px 15px;
    color: #000;
    text-decoration: none;
}

/* HOVER */
.sub-dropdown a:hover {
    background: #f2f2f2;
    color: red;
}


/* PAGE WRAPPER */
.page-wrapper {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

/* CARD STYLE */
.course-card {
    background: white;
    max-width: 900px;
    width: 100%;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 6px solid #c40000;
}

/* TITLE */
.course-card h2 {
    color: #c40000;
    margin-bottom: 20px;
}

/* LIST */
.course-card ul {
    line-height: 1.8;
    padding-left: 20px;
}

/* SECTION GAP */
.section-gap {
    margin-top: 40px;
}

/* TEAM GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD FIXED HEIGHT */
.team-card-flip {
    width: 300px;
    height: 380px; /* 🔥 CONTROL HEIGHT HERE */
    perspective: 1000px;
}

/* INNER CARD */
/* .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
} */

/* FRONT & BACK */
.card-front,
.card-back {
    background: #fff;
    color: #c40000;
    
    border-radius: 15px;
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    transition: 0.5s;
}

/* IMAGE CONTROL */
.card-front img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top; /* 👈 important fix */
    border-radius: 12px;
     aspect-ratio: 1/1;
    object-fit: cover;
}

/* TEXT AREA */
.card-front h3 {
    margin-top: 10px;
    font-size: 20px;
}

.card-front p {
    color: gray;
    font-size: 14px;
}

.asif-img {
    object-fit: contain;
    background: #f5f5f5;
}
.team-card-flip {
    border-radius: 15px;
    transition: 0.3s;
}

.team-card-flip:hover {
    box-shadow: 0 0 0 2px #D32F2F,
                0 10px 30px rgba(211, 47, 47, 0.4);
}

.team-card-flip {
    border: 2px solid #D32F2F;
    border-radius: 15px;
}

.card-front,
.card-back {
    background: #fff;
   color: #c40000;
    
    border-radius: 15px;
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    transition: 0.5s;
}

.card-inner {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-front,
.card-back {
    backface-visibility: hidden;
}
.team-card-flip:hover .card-inner {
    transform: rotateY(180deg);
}

.card-back {
    transform: rotateY(180deg);
}

.card-back {
    background: var(--primary-red);
    color: #fff;
}

.card-inner {
    transform: rotateY(0deg);
}
.team-card-flip:hover {
    box-shadow: 0 10px 30px rgba(153, 0, 0, 0.4);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* HEADER */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo-img {
    height: 100px;
}

.brand-name {
    font-size: 22px;
    font-weight: bold;
    color: #b30000;
    margin-left: 10px;
}

.logo-section {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: black;
}

.nav-link:hover {
    color: red;
}

/* PAGE */
.page-wrapper {
    padding: 60px 20px;
    background: #f4f6f8;
    text-align: center;
}

.main-title {
    color: #b30000;
    margin-bottom: 10px;
}

.subtitle {
    margin-bottom: 40px;
    color: #555;
}

/* GRID */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* NORMAL CARD */
.course-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid red;
    text-align: left;
    transition: 0.3s;
}

.course-box:hover {
    transform: translateY(-5px);
    background: #b30000;
    color: white;
}

/* 🔥 FLIP CARD */
.flip-card {
    perspective: 1000px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 160px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 12px;
    backface-visibility: hidden;
}

.flip-front {
    background: white;
    border-left: 5px solid red;
}

.flip-back {
    background: #b30000;
    color: white;
    transform: rotateY(180deg);
}

/* CTA */
.cta {
    margin-top: 40px;
}

.cta button {
    background: #b30000;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.cta button:hover {
    background: black;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HEADER */
.header {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 90px; /* FIXES HUGE IMAGE */
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    font-weight: bold;
    color: red;
}

/* PAGE */
.page-wrapper {
    padding: 50px;
    background: #f4f4f4;
    text-align: center;
}

.main-title {
    color: red;
    margin-bottom: 30px;
}

/* GRID */
.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* CARD */
.course-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

/* FLIP */
.flip-card {
    perspective: 1000px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 150px;
    transform-style: preserve-3d;
    transition: 0.6s;
}






.flip-back {
    background: red;
    color: white;
    transform: rotateY(180deg);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

/* HEADER */
.header {
    background: white;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    color: red;
    font-weight: bold;
}

/* MAIN LAYOUT */
.main-section {
    display: flex;
    padding: 60px;
    background: #f4f6f8;
    gap: 40px;
}

/* LEFT */
.left-content {
    flex: 1;
}

.left-content h1 {
    color: red;
    font-size: 36px;
    margin-bottom: 20px;
}

.left-content p {
    color: #555;
    margin-bottom: 30px;
}

.cta-btn {
    background: red;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

/* RIGHT GRID */
.right-content {
    flex: 2;
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* CARD */
.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid red;
}

/* FLIP */
.flip-card {
    perspective: 1000px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 160px; /* FIXED HEIGHT */
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 12px;
    backface-visibility: hidden;
}

.flip-front {
    background: white;
    border-left: 4px solid red;
}

.flip-back {
    background: red;
    color: white;
    transform: rotateY(180deg);
}

/* REMOVE DEFAULT BOLD */
.flip-front h3 {
    font-weight: 600; /* controlled bold */
    margin-bottom: 8px;
}

.flip-front p {
    font-weight: 400;
    color: #555;
}

/* BACK TEXT */
.flip-back p {
    font-size: 14px;
    line-height: 1.4;
}
.flip-card {
    width: 100%;
    height: 160px; /* MUST match inner */
}
.flip-front, .flip-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-front h3 {
    font-size: 18px;
    font-weight: 600;
}

.flip-front p {
    font-size: 14px;
    color: #555;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* HEADER */
.header {
    background: white;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 90px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    color: red;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: black;
}

.nav-link:hover {
    color: red;
}

/* MAIN */
.main-section {
    min-height: 80vh; /* takes screen height */
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
}
.nfpa-container {
    background: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* LEFT */
.left-content {
    flex: 1;
}

.left-content h1 {
    color: red;
    font-size: 36px;
    margin-bottom: 20px;
}

.left-content p {
    color: #555;
    margin-bottom: 30px;
}

.cta-btn {
    background: red;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

/* RIGHT GRID */
.right-content {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* FLIP CARD */
.flip-card {
    perspective: 1000px;
    height: 160px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 12px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-front {
    background: white;
    border-left: 4px solid red;
}

.flip-back {
    background: red;
    color: white;
    transform: rotateY(180deg);
}

/* TEXT */
.flip-front h3 {
    font-size: 18px;
    font-weight: 600;
}

.flip-front p {
    font-size: 14px;
    color: #555;
}

.flip-back p {
    font-size: 14px;
}

.cta-btn {
    display: inline-block;
    background: red;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
}
.right-content {
    grid-template-columns: repeat(3, 1fr);
}


.hero-full {
    position: relative;
    height: 100vh;
}

/* HERO IMAGE FIX */
.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BADGE STRIP */
.hero-badges {
    position: absolute;
    bottom: 0;
    width: 100%;

    display: flex;
    justify-content: space-evenly;
    align-items: center;

    padding: 25px 0;
    background: #ffffff;

    z-index: 5; /* IMPORTANT */
}

/* EACH BADGE */
.badge-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

/* IMAGE */
.badge-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* TEXT */
.badge-item p {
    margin-top: 12px;
    font-size: 15px;
    color: #b30000;
    font-weight: 600;

}
.hero-overlay {
    position: relative;
    z-index: 1;
}
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    z-index: 0;
}
.badge-item {
    text-align: center;
    width: 150px; /* keeps spacing consistent */
}
.badge-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;

    filter: none; /* ensures no dull effect */
}

.services-section {
    padding: 60px 0;
    background: #f8f8f8;
}

.services-container {
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.3s;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.85);
    padding: 10px 15px;
    font-weight: bold;
}
.training-left {
    width: 100%;
    height: 300px; /* increase height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.training-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.training-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.training-left {
    width: 40%;   /* reduce this */
    display: flex;
    justify-content: center;
    align-items: center;
}

.training-right {
    width: 60%;
    background: #d40000;
    padding: 60px;
}
.training-logo {
    width: 80%;     /* increase/decrease based on look */
    height: auto;
}
.training-highlight {
    width: 100%;
}

.training-right.full-width {
    width: 100%;
    background: #d40000;
    padding: 80px 10%;
    color: white;
    box-sizing: border-box; /* IMPORTANT */
}

.training-right h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.training-right p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.consultancy-section {
    padding: 80px 20px;
    text-align: center;
}

.consultancy-section h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.consultancy-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.card {
    padding: 20px;
    background: #111;
    color: white;
    width: 250px;
    border-radius: 10px;
}


/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Container */
.values-container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

/* Base card */
.value-box {
    background: #ffffff;
    color: #333;
    border-radius: 16px;
    padding: 35px 40px;
    margin: 30px 0;

    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

/* Text */
.value-box h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.value-box p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* Hover */
.value-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* 🔥 Active section (ONLY this becomes red) */
.value-box:target {
    background: linear-gradient(135deg, #b30000, #d32f2f);
    color: white;

    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.4);
}

/* Fix text inside active */
.value-box:target h2,
.value-box:target p {
    color: white;
}

/* Scroll offset */
.value-box {
    scroll-margin-top: 100px;
}

/* Remove default bullets */
.mission-block ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

/* Space between items */
.mission-block li {
    margin: 10px 0;
}

/* Link style */
.mission-block a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;

    padding: 10px 14px;
    border-radius: 8px;

    transition: all 0.25s ease;
    position: relative;
}

/* 🔥 Hover effect */
.mission-block a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

/* Arrow indicator */
.mission-block a::after {
    content: "→";
    position: absolute;
    right: 15px;
    opacity: 0;
    transition: 0.3s ease;
}

/* Show arrow on hover */
.mission-block a:hover::after {
    opacity: 1;
    right: 10px;
}

/* Click feedback */
.mission-block a:active {
    transform: scale(0.97);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: 0.3s;
}

/* Question */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;

    background: #ffffff;
    position: relative;
    transition: 0.3s;
}

/* 🔥 Add + icon */
.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: 0.3s;
}

/* Hover */
.faq-question:hover {
    background: #f5f5f5;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    padding: 0 20px;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 15px 0;
    color: #555;
    line-height: 1.7;
}

/* 🔥 Active state */
.faq-item.active .faq-question {
    background: linear-gradient(135deg, #b30000, #d32f2f);
    color: white;
}

.faq-item.active .faq-question::after {
    content: "−";
    color: white;
}



/* Section */
.nfpa-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding: 60px 20px;
}

/* Title */
.nfpa-container h1 {
    font-size: 32px;
    color: #D32F2F;
    margin-bottom: 10px;
}

/* Subtitle */
.nfpa-subtext {
    color: #555;
    margin-bottom: 30px;
}

/* List */
.nfpa-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.nfpa-list li {
    background: #ffffff;
    margin: 12px 0;
    padding: 16px 20px;
    border-radius: 10px;

    text-align: left;
    font-weight: 500;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #D32F2F;

    transition: 0.3s;
}

/* Hover */
.nfpa-list li:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Enroll Button */
.enroll-btn {
    display: inline-block;
    background: linear-gradient(135deg, #b30000, #d32f2f);
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;

    transition: 0.3s;
}

/* Button hover */
.enroll-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
}

.sub-dropdown a {
    white-space: nowrap;   /* 🔥 prevents line break */
}
.sub-dropdown {
    min-width: 320px;   /* increase as needed */
}
.sub-dropdown a {
    display: block;
    padding: 10px 15px;
}

/* ===== MODERN TRAINING SECTION (NEW CLEAN FIX) ===== */

.training-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: #f7f7f7;
}

.training-modern .training-right {
    max-width: 900px;
    width: 100%;

    background: linear-gradient(135deg, #b30000, #d32f2f);
    color: white;

    padding: 60px;
    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(211, 47, 47, 0.3);

    text-align: left;

    transition: 0.3s ease;
}

/* Hover effect */
.training-modern .training-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(211, 47, 47, 0.4);
}

/* Title */
.training-modern h2 {
    font-size: 36px;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* Paragraph */
.training-modern p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.95);
}

/* Highlight links */
.training-modern .link-text {
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .training-modern .training-right {
        padding: 35px;
    }

    .training-modern h2 {
        font-size: 26px;
    }
}


/* ===== PREMIUM ABOUT TOP SECTION ===== */

.premium-about {
    margin-top: 50px;
}

/* Main card */
.premium-about {
    background: white;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    line-height: 1.8;
}

/* Title spacing */
.premium-about h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 12px;
    color: #D32F2F;
}

/* Paragraph */
.premium-about p {
    color: #555;
    margin-bottom: 16px;
}

/* 🔥 About section highlight */
.premium-about h3:first-of-type {
    border-left: 4px solid #D32F2F;
    padding-left: 12px;
}

/* 🔥 Why Choose Us (make it premium block) */
.premium-about h3:nth-of-type(2) + p {
    background: linear-gradient(135deg, #b30000, #d32f2f);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.25);
}

/* 🔥 Who we train bullets spacing fix */
.premium-about p:nth-of-type(5),
.premium-about p:nth-of-type(6) {
    background: #f8f9fb;
    padding: 20px;
    border-radius: 12px;
}

/* Make bullet text readable */
.premium-about p {
    white-space: pre-line;
}

/* Smooth hover feel */
.premium-about:hover {
    transform: translateY(-3px);
    transition: 0.3s;
}

/* ===== PREMIUM MISSION SECTION ===== */

.premium-mission {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

/* Card base */
.mission-card {
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;

    position: relative;
}

/* Hover effect */
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Title */
.mission-card h3 {
    color: #D32F2F;
    margin-bottom: 12px;
    font-size: 20px;
}

/* Paragraph */
.mission-card p {
    color: #555;
    line-height: 1.8;
}

/* 🔥 Values special styling */
.values-card {
    background: linear-gradient(135deg, #b30000, #d32f2f);
    color: white;
}

.values-card h3 {
    color: #fff;
}

/* Values list */
.values-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

/* Each value item */
.values-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-weight: 500;
}

/* Remove last border */
.values-list li:last-child {
    border-bottom: none;
}

/* Bullet effect */
.values-list li::before {
    content: "✔";
    margin-right: 10px;
    color: #fff;
}

/* Responsive */
@media (min-width: 768px) {
    .premium-mission {
        grid-template-columns: 1fr 1fr;
    }

    .values-card {
        grid-column: span 2;
    }
}

.values-list li a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 10px 0;
    transition: 0.3s;
}

.values-list li a:hover {
    padding-left: 8px;
    color: #ffeaea;
}

.page-section {
    padding: 80px 20px;
    background: #f9fafc; /* light premium background */
}

.page-container {
    max-width: 1100px;
    margin: auto;
}

.page-title {
    text-align: center;
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.page-intro {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 50px;
}

/* GRID */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* CARD */
.about-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 14px;
    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: #D32F2F;
    box-shadow: 0 12px 30px rgba(211,47,47,0.15);
}

.about-card h3 {
    color: #D32F2F;
    margin-bottom: 15px;
}

.about-card p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* HIGHLIGHT CARD */
.highlight {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    border: 1px solid rgba(211,47,47,0.3);
}

/* LIST */
.premium-list {
    list-style: none;
    padding: 0;
}

.premium-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
}

.premium-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #D32F2F;
    font-size: 14px;
}

/* SUB SECTION */
.sub-section h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-card:nth-child(3) {
        grid-column: span 2;
    }
}

.page-section {
    padding: 90px 20px;
    background: linear-gradient(180deg, #f9fafc, #f3f6fb);
}

.page-container {
    max-width: 1150px;
    margin: auto;
}

/* TITLE */
.page-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.page-intro {
    text-align: center;
    font-style: italic;
    color: #777;
    margin-bottom: 60px;
    font-size: 15px;
}

/* GRID */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}

/* CARD */
.about-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 35px;
    border-radius: 16px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* subtle top glow */
.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #ff6a6a, #D32F2F);
    opacity: 0;
    transition: 0.3s;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* HEADINGS */
.about-card h3 {
    color: #D32F2F;
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
}

/* TEXT */
.about-card p {
    color: #444;
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 15px;
}

/* HIGHLIGHT CARD */
.highlight {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    border: 1px solid rgba(211,47,47,0.25);
}

/* LIST */
.premium-list {
    list-style: none;
    padding: 0;
}

.premium-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}

.premium-list li:hover {
    transform: translateX(4px);
    color: #D32F2F;
}

.premium-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #D32F2F;
    font-size: 14px;
}

/* SUB SECTION */
.sub-section h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #222;
    font-weight: 600;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-card:nth-child(3) {
        grid-column: span 2;
    }
}

/* GRID */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* CARD */
.mission-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 35px;
    border-radius: 16px;
    transition: 0.3s ease;
    position: relative;
}

/* top accent */
.mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #ff6a6a, #D32F2F);
    border-radius: 16px 16px 0 0;
}

/* hover */
.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(211,47,47,0.12);
}

.mission-card h3 {
    color: #D32F2F;
    margin-bottom: 15px;
    font-size: 20px;
}

.mission-card p {
    color: #444;
    line-height: 1.9;
}

/* VALUES CARD */
.values-card {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    border: 1px solid rgba(211,47,47,0.25);
    padding: 35px;
    border-radius: 16px;
    transition: 0.3s;
}

.values-card:hover {
    box-shadow: 0 15px 40px rgba(211,47,47,0.1);
}

.values-card h3 {
    color: #D32F2F;
    margin-bottom: 20px;
}

/* LIST */
.values-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.values-list li a {
    text-decoration: none;
    color: #333;
    padding-left: 25px;
    position: relative;
    transition: 0.2s;
}

.values-list li a::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #D32F2F;
}

.values-list li a:hover {
    color: #D32F2F;
    transform: translateX(5px);
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-list {
        grid-template-columns: 1fr 1fr;
    }
}

.nav-link.active {
    color: #D32F2F;
    border-bottom: 2px solid #D32F2F;
    padding-bottom: 4px;
}



/* DROPDOWN BASE */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

/* SHOW DROPDOWN */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* LINKS */
.dropdown-link {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.dropdown-link:hover {
    background: #f5f5f5;
    color: #D32F2F;
}

/* SUB DROPDOWN (RIGHT PANEL) */
.dropdown-item {
    position: relative;
}

.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    width: 350px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
}

/* SHOW RIGHT PANEL */
.dropdown-item:hover .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* SUB LINKS */
.sub-dropdown a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.2s;
}

.sub-dropdown a:hover {
    background: #fff3f3;
    color: #D32F2F;
    transform: translateX(4px);
}

/* ARROW */
.side-arrow {
    float: right;
    transition: 0.2s;
}

.dropdown-item:hover .side-arrow {
    transform: translateX(4px);
}

.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.contact-heading {
    color: #D32F2F;
    margin-bottom: 15px;
    font-size: 22px;
}

.contact-desc {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* GRID */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* BOX */
.contact-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #D32F2F;
}

.contact-box span {
    font-weight: 600;
    color: #D32F2F;
    display: block;
    margin-bottom: 8px;
}

.contact-box p {
    margin: 5px 0;
    color: #333;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.contact-card {
    background: linear-gradient(135deg, #ffffff, #fafafa);
    border-radius: 20px;
    padding: 50px;
    margin-top: 40px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* subtle glow */
.contact-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(211,47,47,0.08), transparent);
}

/* heading */
.contact-heading {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.contact-desc {
    color: #666;
    line-height: 1.9;
    max-width: 800px;
    margin-bottom: 40px;
}

/* GRID */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

/* BOX */
.contact-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    transition: 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

/* left accent line (premium) */
.contact-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    height: 60%;
    width: 4px;
    background: linear-gradient(to bottom, #ff6a6a, #D32F2F);
    border-radius: 4px;
}

/* hover */
.contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* titles */
.contact-box span {
    font-weight: 600;
    color: #D32F2F;
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* text */
.contact-box p {
    margin: 6px 0;
    color: #333;
}

/* responsive */
@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-divider {
    width: 60px;
    height: 3px;
    background: #D32F2F;
    border: none;
    margin: 10px 0 25px;
}

/* ===== CONTACT HERO ===== */
.contact-hero {
    padding: 80px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, #eef3f2, #dce7e5);
}

.contact-left {
    max-width: 50%;
}

.contact-left h1 {
    font-size: 48px;
    font-weight: 700;
}

.contact-left h1 span {
    color: #1c8b7d;
}

.contact-left p {
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
}

.chat-illustration {
    margin-top: 40px;
    width: 250px;
}

/* ===== FORM ===== */
.contact-form-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    width: 380px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.contact-form-card h2 {
    margin-bottom: 20px;
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
}

.contact-form-card button {
    width: 100%;
    padding: 14px;
    border: none;
    background: #1c8b7d;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.contact-form-card button:hover {
    background: #156e63;
}

/* ===== INFO ===== */
.info-section {
    padding: 60px 10%;
}

.info-grid {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-6px);
}

.info-card h4 {
    margin-bottom: 10px;
    color: #1c8b7d;
}

.footer-col a {
    display: block;
    color: #ccc;
    margin: 6px 0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #1c8b7d;
    padding-left: 6px;
}

.image-slider {
    width: 100%;
    padding: 40px 0;
    background: #f5f7fa;
}

.image-slider {
    padding: 50px 0;
    background: #f5f7fa;
}

.slider-container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* SLIDES */
.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 450px; /* FIXED HEIGHT */
    object-fit: cover;
    border-radius: 18px;
}

.slide.active {
    display: block;
}

/* ARROWS */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 12px 16px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.7);
}

.prev { left: 15px; }
.next { right: 15px; }

/* DOTS */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    display: inline-block;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #2a8c7d;
}

/* Add space below navbar */
.header {
    margin-bottom: 25px;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 320px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-menu a {
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f5f7fa;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

/* LEVEL 1 */
.dropdown-item {
    position: relative;
}

/* SUB DROPDOWN (LEVEL 2) */
.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 320px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    display: none;
    padding: 10px 0;
}

/* SHOW ON HOVER */
.dropdown-item:hover .sub-dropdown {
    display: block;
}

/* STYLE LINKS */
.sub-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.sub-dropdown a:hover {
    background: #f5f7fa;
}
/* ===============================
   🔥 FINAL RESPONSIVE FIX (ADD ONLY)
   DO NOT REMOVE ANYTHING ABOVE
================================ */

/* GLOBAL FIX */
img {
    max-width: 100%;
    height: auto;
}

/* ===============================
   NAVBAR FIX (MOBILE)
================================ */
@media (max-width: 768px) {

    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 15px;
    }

    .logo-img {
        height: 60px !important;
    }

    /* MENU */
    .nav-menu {
        width: 100%;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        display: none;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    /* DROPDOWN FIX */
    .dropdown-menu,
    .sub-dropdown {
        position: static !important;
        display: none;
        box-shadow: none;
    }

    .nav-item.active .dropdown-menu,
    .dropdown-item.active .sub-dropdown {
        display: block;
    }

    /* HIDE REGISTER BUTTON */
    .register-btn {
        display: none;
    }
}

/* ===============================
   HERO FIX
================================ */
@media (max-width: 768px) {

    .hero-full {
        height: 400px;
    }

    .hero-overlay {
        left: 20px;
        top: 20%;
        max-width: 90%;
    }

    .hero-overlay h1 {
        font-size: 20px;
    }

    .hero-overlay p {
        font-size: 14px;
    }
}

/* ===============================
   TRAINING SECTION FIX
================================ */
@media (max-width: 768px) {

    .training-highlight {
        flex-direction: column;
        height: auto;
    }

    .training-left,
    .training-right {
        width: 100%;
    }

    .training-right {
        padding: 25px;
    }

    .training-right h2 {
        font-size: 22px;
    }
}

/* ===============================
   CONTACT PAGE FIX
================================ */
@media (max-width: 768px) {

    .contact-hero {
        flex-direction: column;
        padding: 20px;
    }

    .contact-left,
    .contact-form-card {
        width: 100%;
    }

    .contact-form-card {
        margin-top: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   ABOUT PAGE FIX
================================ */
@media (max-width: 768px) {

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .about-card {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   GALLERY FIX
================================ */
@media (max-width: 768px) {

    .gallery-showcase {
        grid-template-columns: 1fr !important;
    }
}

/* ===============================
   FORM FIX
================================ */
@media (max-width: 768px) {

    .form-row {
        flex-direction: column;
    }

    .form-row input {
        width: 100%;
    }
}

/* ===============================
   EXTRA SMALL DEVICES
================================ */
@media (max-width: 480px) {

    .hero-overlay h1 {
        font-size: 18px;
    }

    .hero-overlay p {
        font-size: 13px;
    }

    .page-title {
        font-size: 22px;
    }
}

/* ===============================
   🔥 FINAL DROPDOWN MOBILE FIX
================================ */

@media (max-width: 768px) {

    /* MAIN DROPDOWN FIX */
    .dropdown-menu {
        position: static !important;
        width: 100%;
        display: none;
        background: #f9f9f9;
        padding-left: 10px;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    /* SUB DROPDOWN FIX */
    .sub-dropdown {
        position: static !important;
        width: 100%;
        display: none;
        padding-left: 15px;
        background: #f1f1f1;
    }

    .dropdown-item.active .sub-dropdown {
        display: block;
    }

    /* REMOVE SIDE PUSH */
    .dropdown-item {
        width: 100%;
    }

}


/* ===============================
   🔥 FEEDBACK SECTION (PREMIUM)
================================ */

.feedback-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: linear-gradient(135deg, #e8f3f1, #d9ece8);
    gap: 60px;
}

/* LEFT TEXT */
.feedback-left {
    flex: 1;
    max-width: 400px;
}

.feedback-left h2 {
    font-size: 48px;
    line-height: 1.2;
    color: #2a8c7d;
}

/* FORM CARD */
.feedback-card {
    flex: 1;
    max-width: 420px;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* INPUTS */
.feedback-card input,
.feedback-card select,
.feedback-card textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* LABEL */
.feedback-card label {
    font-weight: 600;
}

/* BUTTON */
.feedback-card button {
    width: 100%;
    padding: 14px;
    background: #2a8c7d;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.feedback-card button:hover {
    background: #1f6f63;
    transform: translateY(-2px);
}

.feedback-card {
    width: 400px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feedback-card input,
.feedback-card select,
.feedback-card textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.feedback-card label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.feedback-card button {
    width: 100%;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.review-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.review-content {
    padding: 15px;
}

.review-content h3 {
    margin-bottom: 5px;
}

.role {
    color: #2a8c7d;
    font-weight: 600;
}

.review-text {
    margin-top: 10px;
}

/* REVIEW GRID FIX */
#reviewsContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    #reviewsContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    #reviewsContainer {
        grid-template-columns: 1fr;
    }
}

/* ENROLL BUTTON PREMIUM STYLE */
.enroll-btn {
    display: inline-block;
    padding: 14px 30px;
    background: #2a8c7d;
    color: #fff;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(42, 140, 125, 0.3);
}

/* HOVER EFFECT */
.enroll-btn:hover {
    background: #1f6f63;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(42, 140, 125, 0.4);
}






/* ===============================
   PREMIUM ENROLL BUTTON (GREY + GLOW)
================================ */

.enroll-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    background: linear-gradient(135deg, #2c2c2c, #444);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    
    /* subtle glow */
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.2),
        0 0 0 rgba(42,140,125,0);
}

/* HOVER EFFECT */
.enroll-btn:hover {
    transform: translateY(-3px);

    /* green glow appears */
    box-shadow: 
        0 12px 25px rgba(0,0,0,0.3),
        0 0 15px rgba(42,140,125,0.5),
        0 0 30px rgba(42,140,125,0.3);

    background: linear-gradient(135deg, #2a8c7d, #1f6f63);
}




