/* ══════════════════════════════════════════════════════════
   KMT GENERAL TRADING — Modern Clean Website
   White background with subtle animations
══════════════════════════════════════════════════════════ */

:root {
    /* Brand Colors - Matching KMT Logo */
    --primary: #0d1f3c;
    /* Navy Blue - Professional, trustworthy */
    --primary-dark: #081426;
    /* Darker Navy for hover states */
    --primary-light: #1a3a5c;
    /* Lighter Navy for subtle elements */
    --secondary: #b8860b;
    /* Dark Golden Rod - Wealth, prestige (replaces green) */
    --accent: #c9a84c;
    /* Gold - Premium, excellence */
    --accent-light: #d4af37;
    /* Lighter Gold */
    --accent-dark: #8b6914;
    /* Darker Gold for contrast */
    --success: #b8860b;
    /* Dark Golden Rod for success states */
    --error: #8b2500;
    /* Dark red-brown - Alerts */

    /* Text Colors */
    --text-dark: #0d1f3c;
    /* Using brand navy for consistency */
    --text-gray: #5f6368;
    --text-light: #80868b;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e8eaed;
    --bg-navy-light: #f0f4f8;
    /* Very light navy tint */
    --bg-gold-light: #faf8f3;
    /* Very light gold tint */

    /* Border & Effects */
    --border: #dadce0;
    --shadow: 0 1px 3px rgba(13, 31, 60, 0.08);
    --shadow-md: 0 4px 12px rgba(13, 31, 60, 0.1);
    --shadow-lg: 0 8px 24px rgba(13, 31, 60, 0.12);
    --shadow-accent: 0 4px 12px rgba(201, 168, 76, 0.25);

    /* Layout */
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══ BUTTONS ══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(10px, 1.5vw, 12px) clamp(20px, 2.5vw, 28px);
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(13, 31, 60, 0.05);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ══ NAVBAR ══ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background 0.4s ease, border-color 0.4s ease,
        box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* Transparent navbar — white text/links over the dark hero */
.navbar:not(.scrolled) .logo-text {
    color: #ffffff;
}

.navbar:not(.scrolled) .nav-menu a {
    color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.scrolled) .nav-menu a:hover,
.navbar:not(.scrolled) .nav-menu a.active {
    color: #ffffff;
}

.navbar:not(.scrolled) .nav-menu a::after {
    background: var(--accent);
}

.navbar:not(.scrolled) .hamburger span {
    background: #ffffff;
}

.navbar:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.navbar:not(.scrolled) .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

.navbar:not(.scrolled) .btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.45);
}

.navbar:not(.scrolled) .btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.55);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(12px, 2vw, 16px) clamp(16px, 2.5vw, 24px);
}

.logo {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 12px);
}

.logo img {
    height: clamp(36px, 6vw, 48px);
    width: auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.65rem, 3.5vw, 1rem);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
    margin-left: auto;
    margin-right: clamp(16px, 2.5vw, 32px);
}

.nav-menu a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Dark Mode Toggle ── */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    margin-right: 16px;
    position: relative;
    box-shadow: var(--shadow);
}

/* ── Mobile Get Quote (injected by JS) — hidden on desktop ── */
.mobile-get-quote {
    display: none;
}

.theme-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    transform: rotate(20deg) scale(1.1);
}

.theme-icon {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark mode styles */
body.dark-mode {
    /* Backgrounds - Professional Dark Navy Palette */
    --bg-white: #0a0e14;
    --bg-light: #151a23;
    --bg-gray: #1f2937;
    --bg-navy-light: #1a2332;
    --bg-gold-light: #1f1e1a;

    /* Text Colors - High Contrast for Readability */
    --text-dark: #e8ecf1;
    --text-gray: #b8bcc4;
    --text-light: #9398a1;

    /* Borders & Shadows - Subtle Depth */
    --border: #2d3748;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.7);
    --shadow-accent: 0 4px 12px rgba(201, 168, 76, 0.4);

    /* Brand Colors - Adjusted for Dark Mode */
    --primary: #1e4174;
    --primary-dark: #152e54;
    --primary-light: #2a5898;
    --accent: #d4af37;
    --accent-light: #e8c96f;
}

/* Dark Mode - Navbar */
body.dark-mode .navbar {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}

body.dark-mode .navbar.scrolled {
    background: rgba(10, 14, 20, 0.98);
    border-bottom-color: var(--border);
    backdrop-filter: blur(14px);
}

body.dark-mode .logo-text {
    color: var(--accent-light);
}

body.dark-mode .nav-menu a {
    color: var(--text-gray);
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active {
    color: var(--accent-light);
}

body.dark-mode .nav-menu a::after {
    background: var(--accent);
}

body.dark-mode .dropdown-menu {
    background: #151a23;
    border-color: var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

body.dark-mode .dropdown-item {
    color: var(--text-gray);
}

body.dark-mode .dropdown-item:hover {
    background: var(--bg-gray);
    color: var(--accent-light);
}

body.dark-mode .dropdown-item strong {
    color: var(--text-dark);
}

body.dark-mode .dropdown-item p {
    color: var(--text-light);
}

/* Dark Mode - Buttons */
body.dark-mode .btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

body.dark-mode .btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

body.dark-mode .btn-outline {
    border-color: var(--border);
    color: var(--text-dark);
    background: transparent;
}

body.dark-mode .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(212, 175, 55, 0.1);
}

body.dark-mode .btn-white {
    background: var(--bg-light);
    color: var(--accent-light);
    border: 2px solid var(--border);
}

body.dark-mode .btn-white:hover {
    background: var(--bg-gray);
    border-color: var(--accent);
}

/* Dark Mode - Theme Toggle Enhanced Visibility */
body.dark-mode .theme-toggle {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border: 2px solid var(--accent-light);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.6),
        0 0 25px rgba(212, 175, 55, 0.4);
}

body.dark-mode .theme-toggle:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, #ffd700 100%);
    border-color: #ffd700;
    transform: rotate(-20deg) scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.8),
        0 0 35px rgba(255, 215, 0, 0.5);
}

body.dark-mode .theme-icon::after {
    content: none;
}

body.dark-mode .theme-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Dark Mode - Mobile Menu */
body.dark-mode .nav-menu.active {
    background: var(--bg-white);
}

body.dark-mode .nav-menu.active>li>a,
body.dark-mode .nav-menu.active .dropdown-toggle {
    background: var(--bg-light);
    color: var(--text-dark);
}

body.dark-mode .nav-menu.active>li>a:hover,
body.dark-mode .nav-menu.active .dropdown-toggle:hover {
    background: var(--bg-gray);
    color: var(--accent-light);
}

body.dark-mode .mobile-dropdown-toggle {
    background: var(--bg-light);
    color: var(--text-dark);
}

body.dark-mode .mobile-dropdown-toggle:hover {
    background: var(--bg-gray);
    color: var(--accent-light);
}

body.dark-mode .mobile-services-list a {
    background: var(--bg-gray) !important;
    color: var(--text-gray) !important;
}

body.dark-mode .mobile-services-list a:hover {
    background: var(--bg-navy-light) !important;
    color: var(--accent-light) !important;
}

body.dark-mode .mobile-get-quote {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

body.dark-mode .mobile-get-quote:hover {
    background: var(--accent-light);
}

body.dark-mode .hamburger span {
    background: var(--text-dark);
}

body.dark-mode .hamburger.active span {
    background: var(--primary);
}

body.dark-mode .navbar.menu-open .hamburger span {
    background: var(--primary);
}

body.dark-mode .navbar:not(.scrolled) .hamburger span {
    background: #ffffff;
}

body.dark-mode .navbar:not(.scrolled) .hamburger.active span {
    background: var(--primary);
}

body.dark-mode .navbar.menu-open .logo .logo-text {
    color: var(--accent-light);
}

/* Dark Mode - Hero */
body.dark-mode .hero-slide:nth-child(1),
body.dark-mode .hero-slide:nth-child(2),
body.dark-mode .hero-slide:nth-child(3) {
    filter: brightness(0.6) saturate(0.8);
}

body.dark-mode .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

body.dark-mode .stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.dark-mode .stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.35);
}

body.dark-mode .stat-number {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .stat-label {
    color: rgba(255, 255, 255, 0.65);
}

/* Dark Mode - Sections */
body.dark-mode .section-label {
    background: var(--bg-gray);
    color: var(--accent-light);
    border: 1px solid var(--border);
}

body.dark-mode .section-title {
    color: var(--text-dark);
}

body.dark-mode .gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .section-subtitle,
body.dark-mode .section-text {
    color: var(--text-gray);
}

/* Dark Mode - About Section */
body.dark-mode .about {
    background: var(--bg-white);
}

body.dark-mode .image-wrapper {
    background: var(--bg-gray);
    border: 1px solid var(--border);
}

body.dark-mode .about-badge {
    background: var(--bg-light);
    border: 1px solid var(--border);
}

body.dark-mode .badge-number {
    color: var(--accent-light);
}

body.dark-mode .badge-text {
    color: var(--text-gray);
}

body.dark-mode .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent-light);
}

body.dark-mode .feature-text strong {
    color: var(--text-dark);
}

body.dark-mode .feature-text p {
    color: var(--text-gray);
}

/* Dark Mode - Special Services */
body.dark-mode .special-service-card {
    background: var(--bg-light);
    border: 3px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

body.dark-mode .special-service-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
}

body.dark-mode .consulting-card:hover {
    border-color: var(--primary-light);
    background: var(--bg-navy-light);
}

body.dark-mode .import-card:hover {
    border-color: var(--accent);
    background: var(--bg-gold-light);
}

body.dark-mode .special-service-card .service-badge {
    background: var(--accent);
    color: var(--primary);
}

body.dark-mode .special-service-card h3 {
    color: var(--text-dark);
}

body.dark-mode .special-service-card p {
    color: var(--text-gray);
}

body.dark-mode .consulting-card .service-link {
    color: var(--accent-light);
}

body.dark-mode .import-card .service-link {
    color: var(--accent-light);
}

/* Dark Mode - Services Section */
body.dark-mode .services {
    background: var(--bg-light);
}

body.dark-mode .special-services-main {
    background: var(--bg-white);
}

body.dark-mode .special-service-card {
    background: var(--bg-light);
    border: 3px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

body.dark-mode .special-service-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
}

body.dark-mode .consulting-card:hover {
    border-color: var(--primary-light);
    background: var(--bg-navy-light);
}

body.dark-mode .import-card:hover {
    border-color: var(--accent);
    background: var(--bg-gold-light);
}

body.dark-mode .special-service-card .service-badge {
    background: var(--accent);
    color: var(--primary);
}

body.dark-mode .special-service-card h3 {
    color: var(--text-dark);
}

body.dark-mode .special-service-card p {
    color: var(--text-gray);
}

body.dark-mode .consulting-card .service-link {
    color: var(--accent-light);
}

body.dark-mode .import-card .service-link {
    color: var(--accent-light);
}

body.dark-mode .service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
}

body.dark-mode .service-card:hover {
    background: var(--bg-light);
    border-color: var(--accent);
}

body.dark-mode .service-card.featured {
    background: var(--bg-navy-light);
    border-color: var(--accent);
}

body.dark-mode .featured-badge {
    background: var(--accent);
    color: var(--primary);
}

body.dark-mode .service-card h3 {
    color: var(--text-dark);
}

body.dark-mode .service-card p {
    color: var(--text-gray);
}

body.dark-mode .service-features li {
    color: var(--text-light);
}

body.dark-mode .service-features li::before {
    color: var(--accent-light);
}

/* Dark Mode - Products Section */
body.dark-mode .products {
    background: var(--bg-white);
}

body.dark-mode .product-card {
    background: var(--bg-light);
    border-color: var(--border);
}

body.dark-mode .product-card:hover {
    background: var(--bg-gray);
    border-color: var(--accent);
}

body.dark-mode .product-card h3 {
    color: var(--text-dark);
}

body.dark-mode .product-card p {
    color: var(--text-gray);
}

body.dark-mode .card-link {
    color: var(--accent-light);
}

/* Dark Mode - CTA Section */
body.dark-mode .cta-section {
    background: var(--primary);
}

body.dark-mode .cta-video {
    filter: brightness(0.5) saturate(0.7);
}

body.dark-mode .cta-overlay {
    background: linear-gradient(135deg, rgba(10, 14, 20, 0.9) 0%, rgba(15, 26, 35, 0.95) 100%);
}

/* Dark Mode - Contact Section */
body.dark-mode .contact {
    background: var(--bg-light);
}

body.dark-mode .contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
}

body.dark-mode .contact-card:hover {
    background: var(--bg-gray);
}

body.dark-mode .contact-card h4 {
    color: var(--text-dark);
}

body.dark-mode .contact-card p {
    color: var(--text-gray);
}

body.dark-mode .contact-card a {
    color: var(--accent-light);
}

body.dark-mode .contact-form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border);
}

body.dark-mode .form-group label {
    color: var(--text-dark);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: var(--bg-light);
    border-color: var(--border);
    color: var(--text-dark);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: var(--text-light);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: var(--bg-gray);
}

body.dark-mode .contact-map-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius-lg);
}

body.dark-mode .map-title {
    color: var(--text-dark);
}

body.dark-mode .map-container {
    border-color: var(--border);
}

/* Dark Mode - Footer */
body.dark-mode .footer {
    background: #050810;
    border-top: 1px solid var(--border);
}

body.dark-mode .footer-logo {
    filter: brightness(1.2);
}

body.dark-mode .footer-brand p {
    color: var(--text-gray);
}

body.dark-mode .footer-col h4 {
    color: var(--accent-light);
}

body.dark-mode .footer-col ul li {
    color: var(--text-gray);
}

body.dark-mode .footer-col ul li a {
    color: var(--text-gray);
}

body.dark-mode .footer-col ul li a:hover {
    color: var(--accent-light);
}

body.dark-mode .footer-bottom {
    border-top-color: var(--border);
}

body.dark-mode .footer-bottom p {
    color: var(--text-light);
}

/* ── Dropdown Menu ── */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 12px;
    min-width: 340px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition);
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: var(--bg-light);
}

.dropdown-item .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dropdown-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.dropdown-item p {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

/* ══ HERO ══ */
/* Premium hero background with auto-sliding images */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background: linear-gradient(135deg, rgba(13, 31, 60, 0.85) 0%, rgba(8, 20, 38, 0.9) 100%),
        linear-gradient(135deg, #1a3a5c 0%, #0d1f3c 100%);
    background-size: cover, 100% 100%;
    background-position: center, center;
}

.hero-slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(13, 31, 60, 0.85) 0%, rgba(8, 20, 38, 0.9) 100%),
        linear-gradient(135deg, #081426 0%, #1a3a5c 100%);
    background-size: cover, 100% 100%;
    background-position: center, center;
}

.hero-slide:nth-child(3) {
    background: linear-gradient(135deg, rgba(13, 31, 60, 0.85) 0%, rgba(8, 20, 38, 0.9) 100%),
        linear-gradient(135deg, #0d1f3c 0%, #081426 100%);
    background-size: cover, 100% 100%;
    background-position: center, center;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Professional gradient using brand navy and gold */
.gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(201, 168, 76, 0.4));
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 6px rgba(201, 168, 76, 0.4));
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ══ SECTIONS ══ */
.section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 700px;
}

.section-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ══ ABOUT SECTION ══ */
.about {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    height: 650px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Professional brand-colored video overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(8, 20, 38, 0.45) 0%,
            rgba(13, 31, 60, 0.40) 30%,
            rgba(201, 168, 76, 0.08) 70%,
            rgba(212, 175, 55, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.video-text {
    text-align: center;
    color: white;
    padding: 32px;
    animation: fadeInUp 1s ease-out;
}

/* Premium gold gradient for slogan - matches logo excellence */
.video-slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(90deg,
            #ffd700 0%,
            #ffed4e 15%,
            #d4af37 35%,
            #c9a84c 50%,
            #d4af37 65%,
            #ffed4e 85%,
            #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
    text-transform: uppercase;
}

.video-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.about-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Brand navy color for premium icon backgrounds */
.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ══ SERVICES SECTION ══ */
.services {
    background: var(--bg-light);
}

/* Special Services Main Section (Only 2 Cards) */
.special-services-main {
    background: var(--bg-white);
}

.special-services-main .special-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.special-service-card {
    background: white;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    border: 3px solid transparent;
}

.special-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: transform 0.3s ease;
}

.consulting-card::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.import-card::before {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.special-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.consulting-card:hover {
    border-color: var(--primary);
}

.import-card:hover {
    border-color: var(--accent);
}

.special-service-card .service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.special-service-card .service-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: inline-block;
}

.special-service-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}

.special-service-card p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.special-service-card .service-link {
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.consulting-card .service-link {
    color: var(--primary);
}

.import-card .service-link {
    color: var(--accent);
}

.special-service-card:hover .service-link {
    gap: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Professional gradient border using brand colors (Navy to Gold spectrum) */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--accent-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Premium featured service card with brand accent */
.service-card.featured {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    border: 2px solid var(--accent);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ══ PRODUCTS SECTION ══ */
.products {
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    gap: 8px;
    text-decoration: underline;
}

/* ══ CTA SECTION ══ */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.cta-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 31, 60, 0.85) 0%, rgba(8, 20, 38, 0.9) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ══ CONTACT SECTION ══ */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-form-and-map {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: inline-block;
}

.contact-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ══ MAP SECTION ══ */
.contact-map-wrapper {
    margin-top: 0;
}

.map-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Optional: Side-by-side layout on very large screens (1400px+) */
@media (min-width: 1400px) {
    .contact-form-and-map {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        align-items: start;
    }

    .contact-map-wrapper {
        height: 100%;
    }

    .map-container {
        height: 100%;
        min-height: 500px;
    }
}

/* ══ FOOTER ══ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: auto;
    width: 120px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1200px) {
    .dropdown-menu {
        min-width: 300px;
    }
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .special-services-main .special-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .image-wrapper {
        height: 600px;
    }

    .video-slogan {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .video-subtitle {
        font-size: 1rem;
    }

    .dropdown-menu {
        min-width: 280px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1002;
        position: relative;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
        margin-right: 12px;
        font-size: 1.1rem;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding-top: 0;
    }

    .hero-overlay {
        height: 50%;
    }

    .special-services-section {
        margin-top: 60px;
    }

    .special-service-card {
        padding: 36px 28px;
    }

    .special-service-card .service-icon {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }

    .special-service-card h3 {
        font-size: 1.5rem;
    }

    /* Lift logo above overlay when menu is open */
    .navbar.menu-open .logo {
        position: relative;
        z-index: 1003;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .navbar.menu-open .logo img {
        height: 40px;
    }

    .navbar.menu-open .logo .logo-text {
        display: block;
        font-size: 0.85rem;
        color: var(--primary);
    }

    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: var(--bg-white);
        padding: 100px 0 40px;
        margin: 0;
        gap: 0;
        z-index: 1001;
        overflow: hidden;
        align-items: center;
        justify-content: flex-start;
        list-style: none;
    }

    .nav-menu.active li {
        width: 100%;
        max-width: 300px;
        display: block !important;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-menu.active>li>a {
        display: block !important;
        padding: 16px 24px;
        font-size: 1.05rem;
        text-align: center;
        color: var(--text-dark);
        font-weight: 600;
        transition: all 0.3s ease;
        border-radius: 12px;
        margin: 4px 0;
        background: var(--bg-light);
    }

    .nav-menu.active .dropdown-toggle {
        display: block !important;
        padding: 16px 24px;
        font-size: 1.05rem;
        text-align: center;
        color: var(--text-dark);
        font-weight: 600;
        transition: all 0.3s ease;
        border-radius: 12px;
        margin: 4px 0;
        background: var(--bg-light);
    }

    .nav-menu.active>li>a:hover,
    .nav-menu.active .dropdown-toggle:hover {
        background: var(--bg-gray);
        color: var(--primary);
    }

    /* Hide the desktop dropdown on mobile — replaced by mobile-services-list */
    .nav-menu.active .dropdown {
        display: block !important;
        width: 100%;
        max-width: 300px;
    }

    .nav-menu.active .dropdown>a.dropdown-toggle {
        display: none !important;
    }

    .nav-menu.active .dropdown-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Hide desktop Get Quote button */
    .navbar .btn-primary {
        display: none;
    }

    /* Mobile Get Quote button — real element injected by JS */
    .mobile-get-quote {
        display: block;
        margin-top: 20px;
        padding: 16px 48px;
        background: var(--primary);
        color: white;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(13, 31, 60, 0.25);
        transition: all 0.3s ease;
        width: 100%;
        max-width: 300px;
        border: none;
        font-family: 'Poppins', sans-serif;
    }

    .mobile-get-quote:active {
        transform: scale(0.98);
    }

    /* Remove the old pseudo-element button */
    .nav-menu.active::after {
        display: none;
    }

    /* Mobile services dropdown toggle */
    .mobile-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px 24px;
        font-size: 1.05rem;
        text-align: center;
        color: var(--text-dark);
        font-weight: 600;
        border-radius: 12px;
        margin: 4px 0;
        background: var(--bg-light);
        width: 100%;
        border: none;
        cursor: pointer;
        font-family: 'Poppins', sans-serif;
    }

    .mobile-dropdown-toggle:hover {
        background: var(--bg-gray);
        color: var(--primary);
    }

    /* Mobile services sub-list */
    .mobile-services-list {
        display: none;
        flex-direction: column;
        gap: 4px;
        padding: 8px 16px;
        width: 100%;
        max-width: 300px;
    }

    .mobile-services-list.open {
        display: flex;
    }

    .mobile-services-list a {
        display: block !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: var(--text-gray) !important;
        background: var(--bg-light) !important;
        border-radius: 8px !important;
        text-align: center !important;
    }

    .mobile-services-list a:hover {
        color: var(--primary) !important;
        background: var(--bg-gray) !important;
    }

    .hamburger.active {
        z-index: 1002;
    }

    .hamburger.active span {
        background: var(--text-dark);
    }

    .hamburger.active span:first-child {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:last-child {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .image-wrapper {
        height: 600px;
    }

    .video-slogan {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        letter-spacing: 0.02em;
    }

    .video-subtitle {
        font-size: 0.9rem;
    }

    .video-text {
        padding: 24px 16px;
    }

    .about-badge {
        bottom: 16px;
        right: 16px;
        padding: 16px 20px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-and-map {
        gap: 24px;
    }

    .map-container {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .image-wrapper {
        height: 600px;
        border-radius: var(--radius);
    }

    .video-slogan {
        font-size: clamp(1.1rem, 7vw, 1.5rem);
        letter-spacing: 0.01em;
        margin-bottom: 12px;
    }

    .video-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .video-text {
        padding: 20px 12px;
    }

    .about-badge {
        bottom: 12px;
        right: 12px;
        padding: 12px 16px;
    }

    .badge-number {
        font-size: 1.2rem;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .about-grid {
        gap: 32px;
    }

    .map-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .map-container {
        height: 350px;
        border-radius: var(--radius);
        border-width: 2px;
    }
}

/* ══ SCROLL PROGRESS BAR ══ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 60%, var(--accent-light) 100%);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ══ NAVBAR SCROLLED STATE ══ */
.navbar.scrolled {
    padding-block: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(13, 31, 60, 0.14) !important;
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.navbar.scrolled .nav-menu a {
    color: var(--text-gray);
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
    color: var(--primary);
}

.navbar.scrolled .nav-menu a::after {
    background: var(--primary);
}

.navbar.scrolled .hamburger span {
    background: var(--text-dark);
}

.navbar.scrolled .theme-toggle {
    background: white;
    border-color: var(--border);
}

.navbar.scrolled .btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.navbar.scrolled .nav-container {
    padding-block: 10px;
}

.navbar.scrolled .logo img {
    height: clamp(30px, 5vw, 40px);
}

body.dark-mode .navbar.scrolled {
    background: rgba(10, 14, 20, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5) !important;
}

/* Dark mode transparent navbar — text is already white over dark hero */
body.dark-mode .navbar:not(.scrolled) .logo-text {
    color: var(--accent-light);
}

body.dark-mode .navbar:not(.scrolled) .btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
}

/* ══ REVEAL ANIMATIONS ══ */

/* Base: elements start invisible and offset */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for child elements */
.stagger-children>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children>*:nth-child(2) {
    transition-delay: 0.15s;
}

.stagger-children>*:nth-child(3) {
    transition-delay: 0.25s;
}

.stagger-children>*:nth-child(4) {
    transition-delay: 0.35s;
}

.stagger-children>*:nth-child(5) {
    transition-delay: 0.45s;
}

.stagger-children>*:nth-child(6) {
    transition-delay: 0.55s;
}

/* Section header reveal */
.section-header .section-label {
    transition-delay: 0s;
}

.section-header .section-title {
    transition-delay: 0.1s;
}

.section-header .section-subtitle {
    transition-delay: 0.2s;
}

/* ══ HERO ENTRANCE ANIMATION ══ */
@keyframes heroFadeDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .hero-title {
    animation: heroFadeDown 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-content .hero-text {
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s both;
}

.hero-content .hero-buttons {
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.65s both;
}

.hero-stats {
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.85s both;
}

/* ══ SMOOTH SCROLL OFFSET (fixed navbar) ══ */
:target::before {
    content: '';
    display: block;
    height: 80px;
    margin-top: -80px;
}

/* ══ ANIMATIONS (legacy) ══ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ══ SMOOTH SCROLL ══ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}