/* Global Styles & Variables */
/* Google Fonts loaded via <link> in header.php for performance (no render-blocking @import) */

:root {
    --primary-dark: #003B29;
    /* Deep Vigura Green */
    --primary: #005C42;
    /* Lighter Vigura Green */
    --accent: #25D366;
    /* Futuristic Lime/Mint Pop */
    --accent-hover: #128C7E;

    --bg-light: #F2F5F8;
    /* Ultra light grey/blue tint */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);

    --text-main: #1A1A1A;
    --text-muted: #666;

    --shadow-soft: 0 10px 30px rgba(0, 59, 41, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 59, 41, 0.15);

    --radius: 16px;
    --transition: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(37, 211, 102, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 92, 66, 0.05) 0%, transparent 20%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.4s var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

@media (max-width: 900px) {
    .seo-service-grid,
    .seo-local-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(37, 211, 102, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(37, 211, 102, 0.2);
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Floating Navbar */
/* --------------------------------------------------------
   VIGURA NAVBAR - COMPLETE REBUILD
   -------------------------------------------------------- */

/* 1. Base Desktop Styles (Default) */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

header.scrolled {
    top: 0;
    padding: 0;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
    width: 100%;
    max-width: 1400px;
    /* Constrain width to keep it neat */
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: none;
    transition: all 0.4s;
    height: 70px;
    /* Fixed height for stability */
}

header.scrolled .navbar {
    border-radius: 0;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
    /* Push menu to right if needed, or keep standard spacing */
    height: 100%;
}

.logo img {
    height: 40px;
    /* Fixed height */
    width: auto;
    object-fit: contain;
    transition: 0.3s;
}

/* Removed .brand-text styles as they are no longer needed */

/* Navigation Menu (Desktop) */
.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    /* Compact spacing */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    flex-shrink: 0;
}

.nav-menu li a {
    font-weight: 700;
    /* Bolder text */
    color: var(--primary-dark) !important;
    /* Force Dark Green */
    padding: 8px 12px;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 0.85rem;
    /* Slightly smaller for fit */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    /* Prevent wrapping */
}

.nav-menu li a:hover {
    background: rgba(0, 59, 41, 0.04);
    color: var(--primary) !important;
}

.nav-menu li a .material-icons {
    font-size: 1.0rem;
    /* Adjusted icon size */
    vertical-align: middle;
    color: var(--primary-dark);
}

/* ── Dropdown (Desktop) ── */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #fff;
    min-width: 260px;
    border-radius: 18px;
    padding: 10px;
    z-index: 1100;
    flex-direction: column;
    box-shadow:
        0 0 0 1px rgba(0,59,41,0.07),
        0 4px 8px rgba(0,0,0,0.04),
        0 16px 48px rgba(0,59,41,0.14);
}

/* Arrow tip */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 26px;
    width: 12px;
    height: 12px;
    background: #fff;
    box-shadow: -1px -1px 0 rgba(0,59,41,0.07);
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
}

.nav-menu li:hover .dropdown-menu {
    display: flex;
    animation: dropIn 0.2s cubic-bezier(.22,.68,0,1.15) forwards;
}

.nav-menu li:hover .dropdown-menu.mega {
    display: grid;
    grid-template-columns: 1fr 1fr;
    animation: dropIn 0.2s cubic-bezier(.22,.68,0,1.15) forwards;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-menu li { width: 100%; }
.dropdown-menu.mega li { width: auto; }

/* ── Group headers ── */
.dropdown-group-header {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #8a9e96 !important;
    padding: 12px 10px 4px;
    pointer-events: none;
    grid-column: 1 / -1;
}

.dropdown-group-header:not(:first-child) {
    border-top: 1px solid #edf2f0;
    margin-top: 4px;
    padding-top: 14px;
}

.dropdown-group-header:first-child { padding-top: 4px; }

/* ── Links ── */
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 10px;
    color: #1c2b24 !important;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.12s, color 0.12s;
}

.dropdown-menu li a:hover {
    background: #f0f7f4;
    color: #003B29 !important;
    padding-left: 10px;
}

/* ── Icon box (the gray square from the reference) ── */
.dd-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f0f4f2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s;
}

.dd-icon .material-icons {
    font-size: 16px;
    color: #4a7a62;
    margin: 0 !important;
}

.dropdown-menu li a:hover .dd-icon {
    background: #d8ede5;
}

.dropdown-menu li a:hover .dd-icon .material-icons {
    color: #003B29;
}

.nav-menu li:hover > ul.dropdown-menu.mega li {
    width: auto;
}

/* Call to Action Button */
.navbar-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 1rem;
}

.cta-btn {
    background: var(--primary-dark);
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: none;
    /* Flat/Cleaner look as per image */
    transition: 0.3s;
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 59, 41, 0.2);
    background: var(--primary);
}

/* Mobile Toggle Hidden on Desktop */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* 2. Responsive / Mobile Styles (Below 1300px) */
/* Breaking early to avoid squeezing */
@media (max-width: 1300px) {

    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .cta-btn.desktop-only {
        display: none;
        /* Hide main CTA */
    }

    .mobile-toggle {
        display: block;
        /* Show Hamburger */
        z-index: 1002;
        position: relative;
    }

    .mobile-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background-color: white;
    }

    .mobile-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color: white;
    }

    /* Mobile Menu Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden off-screen */
        width: 100%;
        max-width: 400px;
        /* Drawer width */
        height: 100vh;
        background: #003B29 !important;
        /* Dark BG - Verified Hex */
        flex-direction: column;
        /* Stack vertically */
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 3rem 2rem;
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        border-radius: 0;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
        /* Slide in */
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li a {
        width: 100%;
        padding: 1.2rem 10px;
        /* Added side padding */
        font-size: 1.1rem;
        color: white !important;
        /* Force white text */
        display: flex !important;
        /* Ensure flex */
        justify-content: flex-start !important;
        /* Force left align */
        align-items: center;
        gap: 15px;
        /* Gap between icon and text */
        background: transparent !important;
        border-radius: 0;
        text-align: left;
    }

    /* Push chevron to the right */
    .nav-menu li a .material-icons:not(:first-child) {
        margin-left: auto;
    }

    .nav-menu li a:hover {
        padding-left: 10px;
        color: var(--accent) !important;
    }

    .nav-menu li a .material-icons {
        margin-right: 10px;
        color: var(--accent);
        /* Accent icons */
    }

    /* Mobile Dropdowns */
    .dropdown-menu {
        position: static;
        float: none;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.3) !important;
        padding: 0 0 0 20px;
        min-width: 100%;
        border-radius: 8px;
        margin-bottom: 10px;
        grid-template-columns: 1fr !important;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu.mega {
        grid-template-columns: 1fr !important;
    }

    .dropdown-menu.mega li {
        width: 100%;
    }

    .dropdown-group-header {
        color: rgba(255,255,255,0.45) !important;
        border-top: 1px solid rgba(255,255,255,0.08) !important;
        padding-top: 0.8rem !important;
        margin-top: 4px !important;
    }

    .dropdown-group-header:first-child {
        border-top: none !important;
    }

    .dd-icon {
        background: rgba(255,255,255,0.12);
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .dd-icon .material-icons {
        color: rgba(255,255,255,0.7);
        font-size: 14px;
    }

    .dropdown-menu li a {
        color: rgba(255,255,255,0.85) !important;
        gap: 8px;
    }

    .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.08) !important;
        color: white !important;
    }

    /* Show dropdown on hover (or click if JS supports) */
    /* For simple CSS hover on mobile: */
    .nav-menu li:hover .dropdown-menu,
    .nav-menu li.dropdown-active .dropdown-menu {
        display: flex;
    }

    .dropdown-menu li {
        border-bottom: none;
    }

    .dropdown-menu li a {
        padding: 12px 0;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .dropdown-menu li a:hover {
        color: white !important;
        padding-left: 5px;
    }

    /* Mobile specific elements */
    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-bottom: 1.5rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-close-btn {
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
    }

    .mobile-cta-wrapper {
        display: block !important;
        margin-top: 2rem;
        width: 100%;
    }

    .mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: var(--accent);
        color: var(--primary-dark) !important;
        padding: 1rem;
        border-radius: 12px;
        font-weight: 800;
        width: 100%;
        text-transform: uppercase;
    }

    .mobile-menu-footer {
        display: block !important;
        margin-top: auto;
        padding-top: 2rem;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }

    /* Overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Hide Mobile Elements on Desktop */
@media (min-width: 1301px) {

    .mobile-menu-header,
    .mobile-cta-wrapper,
    .mobile-menu-footer {
        display: none !important;
    }
}



@media (max-width: 768px) {
    .grid-container[style*="repeat(4"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    .grid-container[style*="repeat(4"] {
        grid-template-columns: 1fr !important;
    }
}

/* Partner Logos Marquee */
.partners-marquee {
    background: white;
    padding: 2rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-marquee-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: partnerScroll 25s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 45px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Infinite Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0;
}

.marquee-content {
    display: inline-flex;
    gap: 30px;
    animation: scroll 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content img {
    height: 300px;
    width: 450px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.marquee-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-450px * 5 - 30px * 5));
    }

    /* Adjust based on image width + gap */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    background: var(--primary-dark);
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero-bg.jpg') center/cover;
    opacity: 0.7;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 59, 41, 0.5) 0%, rgba(0, 59, 41, 0.3) 100%);
    z-index: 2;
}

/* Glassmorphism Container */
.hero-glass-container {
    position: relative;
    z-index: 3;
    background: rgba(0, 59, 41, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 4rem 5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s var(--transition);
    max-width: 900px;
    margin: 0 2rem;
}

.hero-glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    border-radius: 30px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    animation: fadeInUp 1s var(--transition);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    padding-bottom: 0.15em;
    background: linear-gradient(to right, #fff, #aaffbf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    animation: glow 3s infinite;
    transition: 0.3s;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.7);
    color: var(--primary-dark);
}

/* Sections */
.section-padding {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Cards (Glassmorphism) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.4s var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 211, 102, 0.3);
}

.card-img {
    height: 240px;
    object-fit: cover;
    width: 100%;
    transition: 0.4s;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: auto;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 1.5rem;
}

/* Premium Trainings Section */
.trainings-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
    padding: 6rem 0;
    position: relative;
}

.trainings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #1db954 100%);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.trainings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Training Card */
.training-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 59, 41, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.training-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 59, 41, 0.15);
}

.training-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.training-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.training-card:hover .training-card-image img {
    transform: scale(1.08);
}

.training-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-card-placeholder .material-icons {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.training-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
}

.training-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.training-card-badge .material-icons {
    font-size: 0.9rem;
    color: var(--accent);
}

.training-card-body {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.training-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.training-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.training-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.training-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-suffix {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.training-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.training-card-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateX(3px);
}

.training-card-btn .material-icons {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.training-card-btn:hover .material-icons {
    transform: translateX(4px);
}

/* Trainings CTA */
.trainings-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 59, 41, 0.03) 0%, rgba(37, 211, 102, 0.05) 100%);
    border-radius: 20px;
    border: 1px dashed rgba(0, 92, 66, 0.2);
}

.trainings-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.trainings-cta strong {
    color: var(--primary);
}

.trainings-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.trainings-cta-btn:hover {
    background: var(--primary);
    color: white;
}

.trainings-cta-btn .material-icons {
    font-size: 1.2rem;
}

/* Responsive Trainings Grid */
@media (max-width: 1024px) {
    .trainings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trainings-section {
        padding: 4rem 0;
    }

    .trainings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .training-card-image {
        height: 200px;
    }

    .training-card-body {
        padding: 1.5rem;
    }

    .training-card-title {
        font-size: 1.25rem;
    }

    .training-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .training-card-btn {
        width: 100%;
        justify-content: center;
    }

    .trainings-cta {
        padding: 2rem 1.5rem;
    }

    .trainings-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .training-card-image {
        height: 180px;
    }

    .price-value {
        font-size: 1.5rem;
    }
}

/* Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
    padding: 6rem 0;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-choose-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 59, 41, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 59, 41, 0.05);
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 59, 41, 0.12);
    border-color: var(--accent);
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-choose-card:hover::before {
    opacity: 1;
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.why-choose-icon .material-icons {
    font-size: 1.8rem;
    color: white;
}

.why-choose-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.why-choose-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.why-choose-number {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(0, 59, 41, 0.04);
    line-height: 1;
}

/* Testimonial */
.why-choose-testimonial {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #00281F 100%);
    border-radius: 24px;
    padding: 3rem 4rem;
    position: relative;
    overflow: hidden;
}

.why-choose-testimonial::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 50%;
}

.testimonial-quote {
    position: absolute;
    top: 2rem;
    left: 3rem;
}

.testimonial-quote .material-icons {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
}

.why-choose-testimonial blockquote {
    color: white;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 2rem 0;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar .material-icons {
    font-size: 2rem;
    color: var(--accent);
}

.author-info strong {
    display: block;
    color: white;
    font-size: 1rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Why Choose */
@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 4rem 0;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .why-choose-card {
        padding: 1.5rem;
    }

    .why-choose-testimonial {
        padding: 2rem 1.5rem;
    }

    .testimonial-quote {
        top: 1rem;
        left: 1rem;
    }

    .testimonial-quote .material-icons {
        font-size: 2.5rem;
    }

    .why-choose-testimonial blockquote {
        font-size: 1.1rem;
    }
}

/* Contact Page */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover);
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    color: var(--accent-hover);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.card-link span {
    margin-left: 5px;
    transition: 0.3s;
}

.card-link:hover span {
    transform: translateX(5px);
}

/* Detail Pages */
.detail-header {
    margin-bottom: 2rem;
}

.detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: inline-flex;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

/* Rich Text Content */
.training-content h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.training-content h3:first-child {
    margin-top: 0;
}

.training-content p {
    margin-bottom: 1.5rem;
}

.training-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.training-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.training-content ul li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Forms */
form input,
form select,
form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #eee;
    background: #fdfdfd;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 92, 66, 0.1);
}

/* Modern Premium Footer */
footer {
    background: linear-gradient(180deg, #001a14 0%, #000c09 100%);
    color: white;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

footer::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 59, 41, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-width {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    background: white;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    margin: 0;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    max-width: 380px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    border-color: var(--accent);
}

.footer-col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: 0.3s;
}

.footer-col:hover h3::after {
    width: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
    background: linear-gradient(90deg, rgba(37, 211, 102, 0.1) 0%, transparent 100%);
    padding-right: 10px;
    border-radius: 4px;
}

.footer-links a::before {
    content: '→';
    font-size: 1.1rem;
    opacity: 0;
    transition: 0.3s;
    transform: translateX(-10px);
    width: 0;
    margin-right: 0;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
    width: 20px;
    margin-right: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact-item .material-icons {
    color: var(--accent);
    background: rgba(37, 211, 102, 0.1);
    padding: 8px;
    border-radius: 8px;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: 0.3s;
}

.footer-contact-item:hover .material-icons {
    background: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.footer-map-preview {
    margin-top: 1.5rem;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    background: #2a2a2a;
}

.footer-map-preview:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.footer-map-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0.9;
    transition: 0.5s;
}

.footer-map-preview:hover iframe {
    opacity: 1;
}

.footer-bottom {
    background: rgba(0, 20, 15, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
    width: 100%;
    margin: 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    transition: 0.3s;
    position: relative;
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: 0.3s;
}

.footer-legal a:hover::after {
    width: 100%;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    footer {
        padding-top: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: flex-start;
        text-align: left;
        max-width: 280px;
        margin: 0 auto 1.2rem auto;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Success Message (shared) */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.success-message .material-icons {
    color: #28a745;
}

/* Training Detail Page */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-badge .material-icons {
    font-size: 1.2rem;
    color: var(--accent);
}

.back-link:hover {
    color: white !important;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.sidebar-card h3 .material-icons {
    color: var(--accent);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li .material-icons {
    color: var(--accent);
    font-size: 1.3rem;
    margin-top: 2px;
}

.info-list li div {
    display: flex;
    flex-direction: column;
}

.info-list li strong {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-list li span {
    color: var(--primary-dark);
    font-weight: 600;
}

.cta-card h3 {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

.mobile-toggle.active .hamburger-line {
    background: white;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: 0.3s;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.desktop-only {
    display: inline-flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    /* Hide hamburger when menu is open */
    .nav-menu.active~.navbar-actions .mobile-toggle {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        /* Modern replacement for top/left/right/bottom: 0 */
        width: 100vw;
        height: 100dvh;
        /* Dynamic viewport height for better mobile support */
        background: var(--primary-dark);
        /* Solid background to prevent see-through issues */
        flex-direction: column;
        padding: 0;
        box-shadow: none;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        /* Ensure it's on top of everything */
        display: flex;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        /* Slide down effect instead of scale */
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
        background: transparent;
        /* Remove dark box look for cleaner integration */
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        /* Subtle separator */
    }

    .mobile-menu-header a img {
        background: white;
        padding: 6px 10px;
        border-radius: 8px;
        height: 40px !important;
    }

    .mobile-close-btn {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.2s;
    }

    .mobile-close-btn .material-icons {
        color: white;
        font-size: 1.5rem;
    }

    .mobile-close-btn:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .nav-menu li {
        width: 100%;
        display: block;
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 1.2rem 2rem;
        font-size: 1.15rem;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: 0.2s;
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .nav-menu li a .material-icons {
        color: var(--accent);
        font-size: 1.4rem;
    }

    .mobile-cta-wrapper {
        padding: 2rem !important;
        margin-top: auto;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    }

    .mobile-cta {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: linear-gradient(135deg, var(--accent) 0%, #1db954 50%, #25D366 100%);
        color: var(--primary-dark) !important;
        padding: 1.4rem 2rem !important;
        border-radius: 60px;
        text-align: center;
        font-weight: 800;
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow:
            0 10px 30px rgba(37, 211, 102, 0.4),
            0 0 0 3px rgba(37, 211, 102, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
        border-bottom: none !important;
        position: relative;
        overflow: hidden;
        animation: mobileCTAPulse 2s ease-in-out infinite;
    }

    .mobile-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: mobileShine 3s ease-in-out infinite;
    }

    .mobile-cta .material-icons {
        font-size: 1.5rem;
        color: var(--primary-dark) !important;
    }

    @keyframes mobileCTAPulse {

        0%,
        100% {
            box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 3px rgba(37, 211, 102, 0.2);
        }

        50% {
            box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5), 0 0 0 6px rgba(37, 211, 102, 0.15);
        }
    }

    @keyframes mobileShine {
        0% {
            left: -100%;
        }

        50%,
        100% {
            left: 100%;
        }
    }

    .mobile-cta:hover {
        transform: scale(1.03);
        box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
        background: linear-gradient(135deg, #2EE676 0%, #25D366 50%, #1db954 100%);
        color: var(--primary-dark) !important;
    }

    .mobile-cta:hover .material-icons {
        color: var(--primary-dark) !important;
    }

    .mobile-menu-footer {
        display: block !important;
        padding: 1.5rem 2rem;
        background: rgba(0, 0, 0, 0.2);
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .mobile-menu-footer p {
        margin: 0.5rem 0;
    }

    .nav-incompany-item > a {
        background: rgba(0,59,41,0.35) !important;
        border-left: 3px solid var(--accent) !important;
        color: #fff !important;
        font-weight: 700 !important;
    }

    .nav-incompany-item > a .material-icons {
        color: #a8d5be !important;
    }
}

.nav-incompany-badge {
    display: none;
}

@media (max-width: 768px) {
    .nav-incompany-badge {
        display: inline-block;
        background: var(--accent);
        color: #fff;
        font-size: 0.6rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        padding: 2px 7px;
        border-radius: 999px;
        vertical-align: middle;
        margin-left: 6px;
    }
}

/* Hide mobile-specific elements on desktop */
.mobile-menu-header,
.mobile-menu-footer,
.mobile-cta-wrapper {
    display: none;
}

/* Mobile Responsive - Marquee */
@media (max-width: 768px) {
    .marquee-content {
        gap: 15px;
    }

    .marquee-content img {
        height: 180px;
        width: 280px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-280px * 5 - 15px * 5));
        }
    }
}

/* Mobile Responsive - Hero Glass Container */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-glass-container {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
        border-radius: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Mobile Responsive - Training Hero */
@media (max-width: 768px) {
    .training-hero {
        padding: 8rem 1.5rem 4rem !important;
    }

    .training-hero h1 {
        font-size: 2rem !important;
        word-break: break-word;
    }

    .training-hero>div>div[style*="display: flex"] {
        flex-direction: column;
        gap: 2rem !important;
    }

    .training-hero>div>div>div[style*="flex: 0 0 400px"] {
        flex: 1 1 100% !important;
        max-width: 100%;
    }

    .training-hero>div>div>div[style*="flex: 0 0 400px"] img {
        height: 200px !important;
        width: 100% !important;
    }

    .hero-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-glass-container {
        padding: 2rem 1.2rem;
    }

    .training-hero h1 {
        font-size: 1.7rem !important;
    }
}

/* Dropdown Menu Styles */
.nav-menu li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1100;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-menu li:hover .dropdown-menu {
    display: block;
    animation: fadeInUp 0.3s ease forwards;
}

.dropdown-menu li {
    width: 100%;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: 0;
    background: transparent;
    width: 100%;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateX(5px);
    box-shadow: none;
}

/* Mobile Dropdown Adjustments */
@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 20px;
        display: none;
    }

    .nav-menu li:hover .dropdown-menu {
        display: block;
    }
}

/* RESPONSIVE NAVIGATION FIXES */
@media (max-width: 1250px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: white;
        /* Solid white background for visibility */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        /* Left align items */
        padding: 5rem 2rem 2rem 2rem;
        transition: 0.4s var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        gap: 0;
        /* Remove horizontal gap */
        overflow-y: auto;
        border-radius: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li a {
        width: 100%;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        justify-content: space-between;
        background: transparent !important;
        color: var(--text-main);
        border-radius: 0;
    }

    .nav-menu li a:hover {
        color: var(--primary);
        transform: translateX(5px);
    }

    /* Reveal dropdowns on mobile click/hover logic changes */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: #f9f9f9;
        padding-left: 20px;
        display: none;
        width: 100%;
        box-sizing: border-box;
    }

    /* For simple mobile interaction, keep hover or JS toggle. 
       Assuming hover works for now or user clicks. */
    .nav-menu li:hover .dropdown-menu {
        display: block;
    }

    .mobile-toggle {
        display: block;
        z-index: 1002;
    }

    .cta-btn.desktop-only {
        display: none;
    }

    /* Hamburger Lines */
    .hamburger-line {
        display: block;
        width: 25px;
        height: 2px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: var(--primary-dark);
    }

    .mobile-menu-header {
        display: flex !important;
        /* Show header inside menu */
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-menu-footer {
        display: block !important;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .mobile-cta-wrapper {
        display: block !important;
        margin-top: 1rem;
        width: 100%;
    }

    .mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: var(--primary);
        color: white;
        padding: 1rem;
        border-radius: 12px;
        font-weight: 700;
        width: 100%;
    }

    /* Overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Hide mobile specifics on desktop */
.mobile-menu-header,
.mobile-menu-footer,
.mobile-cta-wrapper {
    display: none;
}

/* Ensure Logo Size on Desktop */
.logo img {
    height: 40px;
    /* Enforce constrained height */
    width: auto;
}

/* Force Logo Styles */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    /* Slightly larger for better visibility */
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}

/* Force burger menu color fix */
.hamburger-line {
    background-color: var(--primary-dark);
}

.mobile-toggle.active .hamburger-line {
    background-color: white;
    /* Make white when menu is open on dark bg */
}

/* Timeline 2.0 - Animated & Glassmorphism */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

/* Central Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(37, 211, 102, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.1);
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    margin-bottom: 3rem;
    /* Space for flying year */
}

/* Positioning */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    transform: translateX(-100px);
    /* Fly in from left */
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    transform: translateX(100px);
    /* Fly in from right */
}

/* Active State (Triggered by JS) */
.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* The Dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 5px solid var(--accent);
    top: 30px;
    border-radius: 50%;
    z-index: 2;
    transition: 0.4s;
    box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.2);
}

.timeline-item:nth-child(odd)::after {
    right: -12px;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-item.active::after {
    animation: pulseDot 2s infinite;
    background: var(--accent);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Content Card */
.timeline-content {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 20px 40px rgba(0, 59, 41, 0.08),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    position: relative;
    transition: 0.4s;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent) 0%, #1db954 100%);
    opacity: 0;
    transition: 0.4s;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 59, 41, 0.15);
    background: white;
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

/* Year Styling */
.year {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    position: absolute;
    top: -45px;
    right: 50px;
    line-height: 1;
    transition: 0.4s;
    z-index: 5;
}

.timeline-item:nth-child(odd) .year {
    right: 50px;
    left: auto;
}

.timeline-item:nth-child(even) .year {
    left: 50px;
    right: auto;
}

.timeline-item:hover .year {
    transform: scale(1.1);
}

.timeline-content h3 {
    margin-top: 0.5rem;
    font-size: 1.6rem;
    color: var(--primary-dark);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.timeline-content p {
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        left: 0 !important;
        text-align: left !important;
        transform: translateX(50px) !important;
        /* Always fly in from right on mobile */
        margin-bottom: 2.5rem;
    }

    .timeline-item.active {
        transform: translateX(0) !important;
    }

    .timeline-item::after {
        left: 18px !important;
        right: auto !important;
    }

    .timeline-content {
        padding: 1.8rem;
    }

    .year {
        font-size: 2.2rem !important;
        position: absolute !important;
        top: -35px !important;
        left: 70px !important;
        right: auto !important;
        margin-bottom: 0.5rem;
        display: block;
        opacity: 1;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .year {
        left: 70px !important;
        right: auto !important;
    }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

.page-header {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* Zoom effect placeholder */
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 59, 41, 0.8), rgba(0, 59, 41, 0.9));
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .page-header {
        height: auto;
        min-height: auto;
        padding: 140px 0 60px;
    }

    .page-header-bg {
        height: 100%;
    }
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 211, 102, 0.1);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.cm-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cm-icon .material-icons {
    font-size: 1.8rem;
}

.contact-method-card:hover .cm-icon {
    background: var(--accent);
    color: white;
}

.cm-text {
    display: flex;
    flex-direction: column;
}

.cm-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.cm-value {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

/* Form Styles */
.glass-form-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(0, 59, 41, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.styled-form input,
.styled-form select,
.styled-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 2px solid #EEE;
    background: #FAFAFA;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: 'expand_more';
    font-family: 'Material Icons';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary-dark);
}

.styled-form select {
    appearance: none;
    cursor: pointer;
}

/* ===== CONSENT CHECKBOXES ===== */
.consent-section {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 59, 41, 0.15);
    background: rgba(0, 59, 41, 0.02);
    transition: all 0.2s;
    position: relative;
    user-select: none;
}

.consent-checkbox:hover {
    border-color: var(--primary);
    background: rgba(0, 59, 41, 0.05);
}

.consent-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.consent-checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(0, 59, 41, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 1px;
}

.consent-checkmark::after {
    content: '';
    display: none;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.consent-checkbox input:checked ~ .consent-checkmark {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.consent-checkbox input:checked ~ .consent-checkmark::after {
    display: block;
}

.consent-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.consent-text a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-text a:hover {
    color: var(--primary);
}

/* CAPTCHA Section */
.captcha-section {
    margin: 1.2rem 0 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.captcha-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark, #333);
    margin-bottom: 0.6rem;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.captcha-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark, #1a237e);
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--primary, #3f51b5);
    letter-spacing: 2px;
    white-space: nowrap;
    user-select: none;
}

.captcha-input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    max-width: 120px;
    transition: border-color 0.2s;
    -moz-appearance: textfield;
}

.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.captcha-input:focus {
    outline: none;
    border-color: var(--primary, #3f51b5);
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.15);
}

.submit-btn {
    width: 100%;
    background: var(--primary-dark);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 59, 41, 0.2);
}

.alert-success {
    background: rgba(37, 211, 102, 0.1);
    color: var(--primary-dark);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* =========================================
   CORE VALUES (ABOUT PAGE)
   ========================================= */

.values-section {
    background: var(--primary-dark);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(37, 211, 102, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(37, 211, 102, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.value-card-premium:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.vc-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent);
    transition: 0.4s;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.vc-icon .material-icons {
    font-size: 2rem;
}

.value-card-premium:hover .vc-icon {
    background: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.1) rotate(5deg);
}

.value-card-premium h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card-premium p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.vc-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
    transition: 0.4s;
    pointer-events: none;
    z-index: 1;
}

.vc-bg-icon .material-icons {
    font-size: 150px;
}

.value-card-premium:hover .vc-bg-icon {
    color: rgba(37, 211, 102, 0.1);
    transform: rotate(0deg) scale(1.1);
}

/* =========================================
   BOOKING PAGE STYLES (Wizard)
   ========================================= */

/* --- Progress Bar --- */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #9ca3af;
    background: white;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.progress-step.active .step-circle {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.progress-step.completed .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9ca3af;
    transition: color 0.3s;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary-dark);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 -4px;
    margin-bottom: 28px;
    transition: background 0.4s;
}

.progress-line.completed {
    background: var(--primary);
}

/* --- Wizard Steps Container --- */
.booking-steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-step {
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.booking-step .glass-form-card {
    position: relative;
    overflow: hidden;
}

.booking-step.collapsed .step-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s, padding 0.3s;
}

.booking-step.active .step-content {
    max-height: 3000px;
    opacity: 1;
    padding-top: 1rem;
    transition: max-height 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s 0.1s;
}

.step-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-header-summary {
    display: none;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-left: auto;
    font-weight: 500;
    align-items: center;
    gap: 6px;
}

.booking-step.completed .step-header-summary {
    display: flex;
}

.step-header-edit {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.step-header-edit .material-icons {
    font-size: 1rem;
}

.form-section-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- Training Search --- */
.training-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.2rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.training-search:focus-within {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.training-search .material-icons {
    color: #9ca3af;
    font-size: 1.3rem;
}

.training-search input {
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    width: 100%;
    outline: none;
}

/* --- Category Tabs --- */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
    padding-bottom: 4px;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    background: white;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
}

.cat-tab:hover {
    border-color: var(--accent);
    color: var(--primary-dark);
}

.cat-tab.active {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    font-weight: 600;
}

.cat-tab .material-icons {
    font-size: 1.1rem;
}

/* --- Training Cards Grid --- */
.training-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.training-select-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    background: white;
    cursor: pointer;
    transition: all 0.25s;
    gap: 1rem;
}

.training-select-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.1);
    transform: translateY(-2px);
}

.training-select-card.selected {
    border-color: var(--primary);
    background: rgba(37, 211, 102, 0.04);
    box-shadow: 0 4px 15px rgba(0, 59, 41, 0.1);
}

.tsc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}

.tsc-icon .material-icons {
    color: var(--primary);
    font-size: 1.4rem;
}

.training-select-card.selected .tsc-icon {
    background: var(--accent);
}

.training-select-card.selected .tsc-icon .material-icons {
    color: var(--primary-dark);
}

.tsc-info {
    flex: 1;
    min-width: 0;
}

.tsc-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 4px;
    line-height: 1.3;
}

.tsc-price {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.tsc-price.quote {
    color: #000000;
    font-weight: 600;
}

.tsc-check {
    opacity: 0;
    transition: opacity 0.25s;
    flex-shrink: 0;
}

.tsc-check .material-icons {
    color: var(--accent);
    font-size: 1.5rem;
}

.training-select-card.selected .tsc-check {
    opacity: 1;
}

.no-results-msg {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    grid-column: 1 / -1;
}

/* --- Date Cards List --- */
.dates-list-view {
    margin-top: 1rem;
}

.dates-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.dates-subtitle .material-icons {
    color: var(--accent);
    font-size: 1.2rem;
}

.date-cards {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.date-cards::-webkit-scrollbar {
    width: 4px;
}

.date-cards::-webkit-scrollbar-track {
    background: transparent;
}

.date-cards::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.date-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background: white;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.25s;
    gap: 1rem;
}

.date-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.1);
}

.date-card.selected {
    border-color: var(--primary);
    background: rgba(37, 211, 102, 0.04);
    box-shadow: 0 4px 15px rgba(0, 59, 41, 0.1);
}

.date-card.full {
    opacity: 0.45;
    pointer-events: none;
    border-color: #fecaca;
}

.dc-date-block {
    flex-shrink: 0;
    width: 68px;
    text-align: center;
    background: rgba(37, 211, 102, 0.06);
    border-radius: 12px;
    padding: 0.7rem 0.5rem;
}

.dc-day {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.dc-month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.dc-year {
    display: block;
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}

.dc-info {
    flex: 1;
    min-width: 0;
}

.dc-weekday {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.dc-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dc-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dc-meta .material-icons {
    font-size: 1rem;
    color: #9ca3af;
}

.dc-spots {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

.dc-spots.available {
    color: var(--accent);
}

.dc-spots.limited {
    color: #f59e0b;
}

.dc-spots.full-label {
    color: #ef4444;
}

.dc-action {
    flex-shrink: 0;
    opacity: 0.3;
    transition: opacity 0.25s;
}

.dc-action .material-icons {
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.date-card:hover .dc-action,
.date-card.selected .dc-action {
    opacity: 1;
}

.date-card.selected .dc-action .material-icons {
    color: var(--accent);
}

/* --- Calendar Toggle --- */
.calendar-toggle-bar {
    margin-top: 1.5rem;
}

.calendar-toggle-btn {
    width: 100%;
    background: transparent;
    border: 1px dashed #d1d5db;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s;
    font-family: 'Outfit', sans-serif;
}

.calendar-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--primary-dark);
    background: rgba(37, 211, 102, 0.03);
}

.calendar-toggle-btn .toggle-arrow {
    transition: transform 0.3s;
}

.calendar-toggle-btn.open .toggle-arrow {
    transform: rotate(180deg);
}

/* --- Calendar (kept as secondary view) --- */
.calendar-wrapper-premium {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.calendar-wrapper-premium.collapsible {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s, margin 0.3s;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 0;
}

.cal-nav-btn {
    background: rgba(37, 211, 102, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.cal-nav-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.day:not(.inactive):not(.disabled):hover {
    background: rgba(37, 211, 102, 0.1);
    color: var(--primary-dark);
    font-weight: 700;
    border-color: var(--accent);
}

.day.active {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transform: scale(1.05);
}

.day.available {
    cursor: pointer;
    background-color: #f0fdf4;
    color: #166534;
    font-weight: bold;
    border: 1px solid #bbf7d0;
}

.day.available:hover {
    background-color: #dcfce7;
    transform: scale(1.05);
}

.day.inactive {
    color: #ccc;
    pointer-events: none;
}

.day.disabled {
    color: #eee;
    background: #f9f9f9;
    pointer-events: none;
}

/* --- Selection Feedback --- */
.selection-feedback {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.selection-feedback .sf-header {
    font-weight: 600;
    color: #166534;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 6px;
}

.selection-feedback .sf-details {
    font-size: 0.95rem;
    color: #14532d;
    line-height: 1.6;
}

/* --- Booking Summary (Step 3) --- */
.booking-summary {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0, 59, 41, 0.05);
}

.summary-item .material-icons {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.summary-item span:nth-child(2) {
    flex: 1;
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.summary-edit {
    background: rgba(37, 211, 102, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}

.summary-edit:hover {
    background: var(--accent);
}

.summary-edit .material-icons {
    font-size: 1rem;
    color: var(--primary-dark);
}

/* --- Loading & Messages --- */
.loading-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

.loading-state .material-icons {
    font-size: 1.2rem;
    vertical-align: middle;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.no-dates-msg {
    text-align: center;
    padding: 2.5rem 1rem;
    background: #fffbeb;
    border-radius: 14px;
    border: 1px solid #fde68a;
}

.no-dates-msg .material-icons {
    font-size: 3rem;
    color: #f59e0b;
    display: block;
    margin-bottom: 1rem;
}

.no-dates-msg h3 {
    color: #92400e;
    margin: 0 0 0.5rem;
}

.no-dates-msg p {
    color: #a16207;
    margin-bottom: 1.5rem;
}

.quote-only-msg {
    text-align: center;
    padding: 2.5rem;
    background: #eff6ff;
    border-radius: 14px;
    border: 1px solid #bfdbfe;
}

.quote-only-msg .material-icons {
    font-size: 3rem;
    color: #3b82f6;
    display: block;
    margin-bottom: 1rem;
}

.quote-only-msg h3 {
    color: #1e40af;
    margin: 0 0 0.5rem;
}

.quote-only-msg p {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

/* Premium Select (kept for hidden element) */
.modern-select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(0, 59, 41, 0.1);
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.modern-select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.15);
}

/* Mission Grid (About Page) */
.mission-grid {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .mission-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .mission-grid>div {
        width: 100%;
        min-width: 0 !important;
        /* Override inline min-width */
    }
}

/* Why Choose Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Timeline Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(even) .year {
        left: -32px;
        right: auto;
    }

    .year {
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
        left: -32px;
        right: auto;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS FIXES
   ========================================= */

@media (max-width: 768px) {

    /* Global Adjustments */
    .section-padding {
        padding: 4rem 1.5rem;
        max-width: 100%;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Start Nu Button Stack Fix */
    .hero-buttons {
        flex-direction: column !important;
        width: 100%;
        gap: 1rem !important;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Footer Contact Alignment Fix */
    .footer-contact-item {
        align-items: center !important;
        text-align: left !important;
        width: 280px !important;
        /* Fixed width to align icons vertically */
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: flex-start !important;
    }
}

/* Simplified Section Title (No Underline) */
.section-title.simple h2::after {
    display: none !important;
}

/* Timeline Year Fix (Prevent cutoff) */
@media (max-width: 768px) {
    .year {
        height: auto !important;
        line-height: 1.2 !important;
        padding: 5px !important;
        width: auto !important;
        min-width: 60px;
    }
}

@media (max-width: 768px) {

    /* Page Header */
    .page-header {
        padding: 120px 0 50px;
        min-height: auto;
    }

    .page-header h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1.1rem !important;
        padding: 0 1rem;
    }

    /* Contact Page */
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100%;
        max-width: 100%;
    }

    /* Booking Wizard - Mobile */
    .booking-steps-container {
        max-width: 100%;
    }

    .booking-step .glass-form-card {
        padding: 1.2rem !important;
        border-radius: 16px !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .form-section-title {
        font-size: 1.3rem;
    }

    .training-cards-grid {
        grid-template-columns: 1fr;
    }

    .training-select-card {
        padding: 0.9rem 1rem;
    }

    .tsc-icon {
        width: 40px;
        height: 40px;
    }

    .category-tabs {
        margin-bottom: 1rem;
    }

    .cat-tab {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }

    .date-card {
        padding: 0.9rem 1rem;
    }

    .dc-date-block {
        width: 56px;
        padding: 0.5rem 0.4rem;
    }

    .dc-day {
        font-size: 1.4rem;
    }

    .dc-meta {
        flex-direction: column;
        gap: 2px;
    }

    /* Calendar Optimization */
    .calendar-wrapper-premium {
        padding: 1rem 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .calendar-days {
        gap: 2px;
        justify-content: space-between;
    }

    .day {
        font-size: 0.9rem;
        height: auto;
        aspect-ratio: 1;
        width: 100%;
        max-width: 40px;
        margin: 0 auto;
    }

    .calendar-weekdays {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        gap: 2px;
    }

    .cal-nav-btn {
        width: 32px;
        height: 32px;
    }

    .calendar-header h3 {
        font-size: 1rem;
    }

    /* Form Elements */
    .styled-form input,
    .styled-form select,
    .styled-form textarea,
    .modern-select {
        font-size: 1.1rem !important;
        padding: 1.2rem !important;
        height: auto;
    }

    .styled-form label {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .glass-form-card .form-group {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .glass-form-card input,
    .glass-form-card select,
    .glass-form-card textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .page-header h1 {
        font-size: 2rem !important;
    }

    .section-padding {
        padding: 3rem 1.2rem;
    }

    .marquee-content img {
        height: 200px;
        width: 300px;
    }
}

/* =========================================
   ABOUT PAGE REDESIGN
   ========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--primary-dark);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.stat-row {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-dark);
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
}

.about-image-wrapper img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.about-image-deco {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    z-index: 1;
}

/* Vision Section */
.vision-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.vision-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.vision-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--accent);
}

.vision-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.vision-icon .material-icons {
    font-size: 2rem;
}

.vision-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.vision-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Box */
.cta-box {
    background: var(--primary-dark);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-deco-1 {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-deco-2 {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.05);
}

/* About Hero height */
.hero.about-hero {
    height: 70vh;
}

/* Vision principles title */
.vision-principles-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    font-size: 1.8rem;
}

/* CTA box typography */
.cta-box-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.cta-box-text {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    color: rgba(255,255,255,0.9);
}

.cta-box-highlight {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent);
    position: relative;
}

.cta-box .hero-btn {
    position: relative;
    z-index: 5;
}

/* About timeline section */
.about-timeline-section {
    background: #f8fcfb;
    padding: 6rem 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ADMIN PANEL STYLES
   ========================================= */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: var(--primary-dark);
    color: white;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-links {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
}

.nav-links .material-icons {
    margin-right: 12px;
    font-size: 1.25rem;
}

.mobile-menu-toggle {
    display: none;
}

/* Mobile Sidebar */
@media (max-width: 900px) {
    .admin-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .sidebar-header {
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}

.stat-row {
    justify-content: flex-start;
}


/* =========================================
   ADMIN CONTENT STYLES
   ========================================= */

.main-content {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
    background-color: var(--bg-light);
}

.main-content h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
}

/* Admin Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Admin Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.form-desc {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-main);
    background: #F9FAFB;
    transition: 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

/* Toggle Switch (Radio based) */
.toggle-group {
    display: flex;
    background: #E5E7EB;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.toggle-option {
    position: relative;
}

.toggle-option input {
    display: none;
}

.toggle-option label {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: 0.2s;
}

.toggle-option input:checked+label {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.save-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.save-btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.action-btn {
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

.btn-approve {
    background: #D1FAE5;
    color: #059669;
}

.btn-approve:hover {
    background: #10B981;
    color: white;
}

.btn-hide {
    background: #FEE2E2;
    color: #B91C1C;
}

.btn-hide:hover {
    background: #EF4444;
    color: white;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th {
    text-align: left;
    padding: 12px 16px;
    background: #F9FAFB;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 16px;
    border-bottom: 1px solid #F3F4F6;
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

.star-rating {
    color: #D1D5DB;
    display: flex;
    font-size: 18px;
}

.star-rating .filled {
    color: #F59E0B;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Stats */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 24px;
}

.stat-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.bg-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.bg-green {
    background: #dcfce7;
    color: #16a34a;
}

.bg-orange {
    background: #ffedd5;
    color: #ea580c;
}

.bg-red {
    background: #fee2e2;
    color: #dc2626;
}

.bg-purple {
    background: #f3e8ff;
    color: #9333ea;
}

/* Notifications */
.notification-list {
    max-height: 600px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
    cursor: pointer;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.2rem;
}

.notif-time {
    font-size: 0.8rem;
    color: #888;
}

.notif-subtext {
    font-size: 0.9rem;
    color: #666;
}

.notif-action {
    color: #ccc;
    text-decoration: none;
    margin-left: 1rem;
}

.notif-action:hover {
    color: var(--primary);
}

/* Utilities */
.bg-green-100 {
    background-color: #dcfce7;
}

.text-green-600 {
    color: #16a34a;
}

.bg-yellow-100 {
    background-color: #fef9c3;
}

.text-yellow-600 {
    color: #ca8a04;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.text-blue-600 {
    color: #2563eb;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.text-red-600 {
    color: #dc2626;
}

.bg-orange-100 {
    background-color: #ffedd5;
}

.text-orange-600 {
    color: #ea580c;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}

.text-purple-600 {
    color: #9333ea;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.text-gray-600 {
    color: #4b5563;
}

/* =========================================
   FINAL RESPONSIVENESS FIXES (CONSOLIDATED)
   ========================================= */

/* Mobile Typography & Layout (< 768px) */
@media (max-width: 768px) {

    /* 1. Typography */
    html {
        font-size: 14px;
        /* Slightly scale down base size */
    }

    h1,
    .hero-content h1,
    .page-header h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
        word-break: break-word;
    }

    h2,
    .section-title h2 {
        font-size: 1.8rem !important;
    }

    /* 2. Layout & Containers */
    .section-padding {
        padding: 3rem 1.25rem !important;
    }

    .container,
    .hero-glass-container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 3. Navigation */
    .navbar {
        height: auto;
        padding: 0.8rem 1rem !important;
    }

    .nav-menu {
        padding-top: 5rem !important;
        /* Space for header */
    }

    /* 4. Grids - Force Stack */
    .grid-container,
    .trainings-grid,
    .about-grid,
    .vision-grid,
    .values-grid,
    .reviews-track {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    /* Booking Wizard - Small mobile */
    .booking-progress {
        gap: 0;
    }

    .step-label {
        display: none;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .progress-line {
        margin-bottom: 0;
    }

    /* 5. Components */
    .hero-btn,
    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem !important;
    }

    /* Booking Form - Prevent iOS Zoom */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .calendar-days {
        gap: 2px !important;
    }

    .day {
        height: 38px !important;
        width: 38px !important;
        font-size: 0.9rem !important;
    }
}

/* Tablet (< 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .trainings-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .vision-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* =========================================
   ABOUT PAGE RESPONSIVE
   ========================================= */

/* --- Tablet (max 992px) --- */
@media (max-width: 992px) {
    .hero.about-hero {
        height: auto !important;
        min-height: 50vh;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .about-image-deco {
        display: none;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .vision-grid,
    .values-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }

    .vision-intro h2 {
        font-size: 2rem;
    }

    .vision-principles-title {
        font-size: 1.5rem;
    }

    .cta-box {
        padding: 3rem 1.5rem !important;
    }

    .cta-box-title {
        font-size: 1.6rem;
    }

    .cta-box-text {
        font-size: 1rem;
    }

    .values-section {
        padding: 5rem 0 !important;
    }

    .about-timeline-section {
        padding: 4rem 0;
    }

    .stat-row {
        gap: 2rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
    .hero.about-hero {
        min-height: 40vh;
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .about-content h2 {
        font-size: 1.6rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .stat-row {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .stat-item .stat-label {
        font-size: 0.8rem;
    }

    .vision-intro {
        margin-bottom: 2.5rem !important;
    }

    .vision-intro h2 {
        font-size: 1.6rem;
    }

    .vision-intro p {
        font-size: 1rem;
    }

    .vision-grid,
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .vision-card {
        padding: 1.5rem;
    }

    .vision-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .vision-principles-title {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .cta-box {
        padding: 2.5rem 1.25rem !important;
        border-radius: 12px;
    }

    .cta-box-title {
        font-size: 1.4rem;
    }

    .cta-box-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .cta-box-highlight {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }

    .values-section {
        padding: 4rem 0 !important;
    }

    .value-card-premium {
        padding: 2rem 1.5rem;
    }

    .vc-icon {
        width: 56px;
        height: 56px;
    }

    .vc-bg-icon .material-icons {
        font-size: 100px;
    }

    .about-timeline-section {
        padding: 3rem 0;
    }

    .timeline {
        margin-top: 2rem !important;
    }

    .timeline::after {
        left: 30px !important;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 75px !important;
        padding-right: 0 !important;
        left: 0 !important;
        text-align: left !important;
        transform: none !important;
        margin-bottom: 2rem !important;
    }

    .timeline-item:nth-child(even) {
        left: 0 !important;
    }

    .timeline-item::after {
        left: 19px !important;
        right: auto !important;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .year {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        margin-bottom: 0.5rem !important;
        text-align: left !important;
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        line-height: 1.2 !important;
        padding: 5px 10px 5px 0 !important;
    }
}

/* --- Small Mobile (max 480px) --- */
@media (max-width: 480px) {
    .hero.about-hero {
        min-height: 35vh;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .about-content h2 {
        font-size: 1.4rem;
    }

    .about-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .stat-row {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .stat-item .stat-number {
        font-size: 1.6rem;
    }

    .vision-intro h2 {
        font-size: 1.4rem;
    }

    .vision-card {
        padding: 1.25rem;
    }

    .vision-principles-title {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }

    .cta-box {
        padding: 2rem 1rem !important;
    }

    .cta-box-title {
        font-size: 1.25rem;
    }

    .cta-box-text {
        font-size: 0.9rem;
    }

    .cta-box-highlight {
        font-size: 0.95rem;
    }

    .hero-btn {
        padding: 0.85rem 1.5rem !important;
        font-size: 0.9rem !important;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .values-section {
        padding: 3rem 0 !important;
    }

    .value-card-premium {
        padding: 1.5rem 1.25rem;
    }

    .value-card-premium h3 {
        font-size: 1.1rem;
    }

    .vc-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1.25rem;
    }

    .vc-bg-icon .material-icons {
        font-size: 80px;
    }

    .about-timeline-section {
        padding: 2rem 0;
    }

    .timeline-item {
        padding-left: 60px !important;
        margin-bottom: 1.5rem !important;
    }

    .timeline::after {
        left: 22px !important;
    }

    .timeline-item::after {
        left: 12px !important;
        width: 18px !important;
        height: 18px !important;
        border-width: 3px !important;
    }

    .timeline-content {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .year {
        font-size: 1.8rem !important;
    }
}

/* =========================================
   LEGAL PAGES RESPONSIVE (terms, privacy, cookies)
   ========================================= */

/* Base: readable typography */
.legal-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
}

.legal-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.legal-content h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c594f;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.legal-content table th,
.legal-content table td {
    padding: 10px 12px;
    border: 1px solid #eee;
    text-align: left;
}

.legal-content table th {
    background: #f9f9f9;
    font-weight: 600;
}

@media (max-width: 900px) {
    .legal-page-title {
        font-size: 2.5rem !important;
    }

    .legal-content {
        padding: 2rem !important;
    }
}

@media (max-width: 768px) {
    .legal-page-title {
        font-size: 2rem !important;
    }

    .legal-content {
        padding: 1.5rem !important;
        font-size: 1rem;
        max-width: 100% !important;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }

    .legal-content h4 {
        font-size: 1.05rem;
    }

    /* Tables card view on mobile */
    .legal-content table,
    .legal-content table thead,
    .legal-content table tbody,
    .legal-content table tr,
    .legal-content table th,
    .legal-content table td {
        display: block;
        width: 100%;
    }

    .legal-content table thead {
        display: none;
    }

    .legal-content table tr {
        margin-bottom: 1rem;
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
        background: #fafafa;
    }

    .legal-content table td {
        padding: 0.6rem 1rem;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .legal-content table td:last-child {
        border-bottom: none;
    }

    /* First td bold as label on mobile */
    .legal-content table td:first-child {
        font-weight: 600;
        background: #f4f4f4;
    }
}

@media (max-width: 480px) {
    .legal-page-title {
        font-size: 1.6rem !important;
    }

    .legal-content {
        padding: 1rem !important;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .legal-content ul {
        padding-left: 1.2rem;
    }
}

/* =========================================
   ADMIN PANEL RESPONSIVE (ALL DEVICES)
   ========================================= */

/* --- Tablet (max 900px) --- */
@media (max-width: 900px) {
    .admin-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
    }

    .sidebar-header {
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .main-content {
        padding: 1.5rem !important;
    }

    /* Dashboard grid 2 columns on tablet */
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Layout grids stack */
    .layout-grid {
        grid-template-columns: 1fr !important;
    }

    /* Grid layout (bookings/view) */
    .grid-layout {
        grid-template-columns: 1fr !important;
    }

    /* Settings inline grid */
    .admin-container .settings-grid .card div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Filter bar full width items */
    .filter-bar select,
    .filter-bar input {
        min-width: 0 !important;
        width: 100%;
    }

    .filter-actions {
        width: 100%;
    }

    .filter-actions .btn {
        flex: 1;
    }

    /* Gallery upload form stack */
    .admin-container form[enctype] {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .admin-container form[enctype] input[type="text"],
    .admin-container form[enctype] input[type="file"] {
        margin-right: 0 !important;
    }

    /* Modal responsive */
    .modal-content {
        width: 95% !important;
        max-width: 600px !important;
        margin: 2% auto !important;
        padding: 1.5rem !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Close button touch-friendly */
    .modal-content .close {
        font-size: 32px;
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: sticky;
        top: 0;
        z-index: 10;
        background: rgba(255,255,255,0.9);
        border-radius: 50%;
    }

    /* Message view meta row stack */
    .meta-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .meta-label {
        width: auto !important;
    }

    /* Info grid (feedback/view) stack */
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    /* Status form stack */
    .status-form {
        flex-direction: column;
        align-items: stretch !important;
    }

    .status-form select {
        width: 100%;
    }

    /* Button group stack */
    .button-group {
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* Training form row stack */
    .styled-form-admin .row,
    .row {
        flex-direction: column;
        gap: 0 !important;
    }

    /* Notification header stack on tight screens */
    .notif-header {
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Page header flex wrap */
    .page-header,
    .header {
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Action buttons touch-friendly */
    .action-btn {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .action-links {
        gap: 0.5rem;
    }

    /* Select/input touch-friendly */
    .admin-container select,
    .admin-container input[type="text"],
    .admin-container input[type="password"],
    .admin-container input[type="number"],
    .admin-container input[type="date"],
    .admin-container input[type="email"],
    .admin-container textarea {
        min-height: 44px;
        font-size: 16px !important;
    }

    /* Table container scroll */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem !important;
    }

    .main-content h1 {
        font-size: 1.4rem !important;
    }

    /* Dashboard grid single column */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }

    /* Stat card compact */
    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
        font-size: 20px;
    }

    .stat-content h3 {
        font-size: 1.5rem;
    }

    /* Notification list compact */
    .notification-list {
        max-height: 400px;
    }

    .notification-item {
        padding: 0.75rem;
    }

    .notif-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.75rem;
    }

    /* Card padding reduce */
    .admin-container .card {
        padding: 1.25rem;
    }

    /* Message item compact */
    .message-item {
        padding: 0.75rem !important;
    }

    .msg-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.75rem;
    }

    .msg-name {
        font-size: 0.9rem;
    }

    .msg-preview {
        font-size: 0.8rem;
    }

    .status-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
        margin-left: 0.5rem;
    }

    /* Detail group grid (bookings/view) single column */
    .detail-grid-2col,
    .admin-container div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Admin responsive table card view */
    .admin-container table.responsive-table thead {
        display: none;
    }

    .admin-container table.responsive-table,
    .admin-container table.responsive-table tbody,
    .admin-container table.responsive-table tr,
    .admin-container table.responsive-table td {
        display: block;
        width: 100%;
    }

    .admin-container table.responsive-table tr {
        background: white;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 1rem;
        padding: 0.5rem 0;
        border: 1px solid #eee;
    }

    .admin-container table.responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 1rem;
        border-bottom: 1px solid #f5f5f5;
        text-align: right;
    }

    .admin-container table.responsive-table td:last-child {
        border-bottom: none;
    }

    .admin-container table.responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        text-align: left;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    /* Review table in settings */
    .admin-container .settings-grid table thead {
        display: none;
    }

    .admin-container .settings-grid table,
    .admin-container .settings-grid table tbody,
    .admin-container .settings-grid table tr,
    .admin-container .settings-grid table td {
        display: block;
        width: 100%;
    }

    .admin-container .settings-grid table tr {
        background: white;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        margin-bottom: 1rem;
        padding: 0.5rem 0;
        border: 1px solid #f0f0f0;
    }

    .admin-container .settings-grid table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 1rem;
        border-bottom: 1px solid #f5f5f5;
        text-align: right;
    }

    .admin-container .settings-grid table td:last-child {
        border-bottom: none;
    }

    .admin-container .settings-grid table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        text-align: left;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    /* Feedback data-table responsive */
    .data-table thead {
        display: none;
    }

    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table tr {
        background: white;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 1rem;
        padding: 0.5rem 0;
        border: 1px solid #eee;
    }

    .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 1rem;
        border-bottom: 1px solid #f5f5f5;
        text-align: right;
    }

    .data-table td:last-child {
        border-bottom: none;
    }

    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        text-align: left;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    /* Settings payment grid stack */
    .payment-keys-grid {
        grid-template-columns: 1fr !important;
    }

    /* Gallery grid smaller items */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    }

    /* Reset password box */
    .box {
        padding: 20px !important;
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }

    /* Header flex direction on tight */
    .admin-container .main-content > div[style*="display:flex"][style*="justify-content:space-between"],
    .admin-container .main-content > div[style*="display: flex"][style*="justify-content: space-between"] {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* Modal row stack */
    .modal-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .modal-label {
        width: auto !important;
    }

    /* Review action buttons wrap */
    .admin-container .settings-grid table td:last-child {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
    }

    /* Message container padding */
    .msg-container {
        padding: 1.25rem !important;
    }

    .reply-box {
        padding: 1.25rem !important;
    }
}

/* --- Small Mobile (max 480px) --- */
@media (max-width: 480px) {
    .main-content {
        padding: 0.75rem !important;
    }

    .main-content h1 {
        font-size: 1.2rem !important;
    }

    /* Stat card even more compact */
    .stat-card {
        padding: 0.75rem;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-right: 0.75rem;
    }

    .stat-content h3 {
        font-size: 1.25rem;
    }

    .stat-content p {
        font-size: 0.8rem;
    }

    /* Card minimal padding */
    .admin-container .card {
        padding: 1rem;
    }

    /* Toggle group compact */
    .toggle-group {
        width: 100%;
    }

    .toggle-option label {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Gallery grid single column on very small */
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    /* Filter card compact */
    .filter-card {
        padding: 1rem;
    }

    .filter-grid {
        grid-template-columns: 1fr !important;
    }

    /* Buttons full width */
    .btn,
    .save-btn,
    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    /* Message item even more compact */
    .message-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .msg-info {
        order: 2;
        width: 100%;
    }

    .msg-icon {
        order: 1;
    }

    .status-badge {
        order: 3;
        margin-left: 0;
    }
}
