/* ============================================================
   AKTASBAT - Premium Enterprise CSS Architecture
   ============================================================ */

:root {
    --primary-navy: #0B2343;
    --primary-navy-dark: #06152B;
    --primary-navy-light: #163660;
    --accent-gold: #C79A3B;
    --accent-gold-hover: #D8AA4B;
    --accent-gold-light: #F4E8C1;
    --bg-light: #FFFFFF;
    --bg-alt: #F6F6F6;
    --bg-dark: #0A192F;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --text-light: #F0F4F8;
    --border-color: #CBD5E1;
    --glass-bg: rgba(11, 35, 67, 0.92);
    --glass-border: rgba(199, 154, 59, 0.35);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(11, 35, 67, 0.12);
    --shadow-lg: 0 20px 45px -10px rgba(11, 35, 67, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Global Base (Normal Standard Mouse Cursor) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    cursor: auto !important;
}

img, video, iframe, canvas {
    max-width: 100% !important;
    height: auto;
}

h1, h2, h3, h4, h5, h6, p, span, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a, button, input, select, textarea {
    cursor: pointer;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background-color: var(--primary-navy-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.mobile-close-item {
    display: none !important;
}

.loader-logo {
    max-width: 110px !important;
    width: 110px !important;
    height: auto !important;
    max-height: 110px !important;
    object-fit: contain !important;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), #FFF);
    animation: fillLoader 1.8s ease-in-out forwards;
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 15px rgba(199,154,59,0.5)); }
}

@keyframes fillLoader {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Typography & Layout */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.25;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 110px 0;
}

.text-gold { color: var(--accent-gold); }
.text-navy { color: var(--primary-navy); }

/* Pixel-Perfect Centering Engine */
.text-center {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-center h1,
.text-center h2,
.text-center h3,
.text-center h4,
.text-center p,
.text-center span,
.text-center .hero-title,
.text-center .hero-subtitle,
.text-center .hero-badge {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    background: rgba(199, 154, 59, 0.12);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
    box-shadow: 0 0 15px rgba(199,154,59,0.1);
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: 0.6s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), #D8AA4B);
    color: #FFF;
    box-shadow: 0 8px 20px rgba(199, 154, 59, 0.28);
}

.btn-gold:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 28px rgba(199, 154, 59, 0.45);
}

.btn-navy {
    background-color: var(--primary-navy);
    color: #FFF;
}

.btn-navy:hover {
    background-color: var(--primary-navy-light);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 28px rgba(11, 35, 67, 0.35);
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFF;
    background: transparent;
}

.btn-outline-white:hover {
    border-color: #FFF;
    background: #FFF;
    color: var(--primary-navy);
    transform: translateY(-3px);
}

.btn-outline-gold {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: #FFF;
    transform: translateY(-3px);
}

/* Glassmorphism Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 22px 0;
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-brand {
    flex: 0 0 auto;
}

.nav-brand img {
    height: 48px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0 auto; /* Centers text links in navbar */
}

.nav-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #FFF;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.6rem;
    color: #FFF;
    background: none;
    border: none;
}

/* Hero Section & Inner Page Headers */
.hero-section {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    background: #06152B !important;
    color: #FFFFFF !important;
    padding-top: 140px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-section .container,
.hero-section .hero-content,
.hero-section .hero-flex-container,
.hero-section .hero-logo-side {
    position: relative !important;
    z-index: 10 !important;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section .hero-title,
.hero-section .hero-subtitle,
.hero-section p {
    color: #FFFFFF !important;
    opacity: 1 !important;
    filter: none !important;
    position: relative !important;
    z-index: 10 !important;
}

.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section .text-gold,
.hero-section .hero-badge {
    color: var(--accent-gold) !important;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 25%, rgba(199, 154, 59, 0.2), transparent 55%),
                linear-gradient(180deg, rgba(6, 21, 43, 0.75) 0%, rgba(6, 21, 43, 0.98) 100%);
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 36px 36px;
    z-index: 1;
}

.hero-flex-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-flex-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-logo-side {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-floating-card {
    display: inline-block;
    position: relative;
    padding: 24px;
    background: radial-gradient(circle, rgba(199, 154, 59, 0.3) 0%, rgba(11, 23, 38, 0.9) 75%);
    border: 2px solid rgba(199, 154, 59, 0.45);
    border-radius: 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(199, 154, 59, 0.4);
    animation: floatHeroLogo 4s infinite ease-in-out;
}

.hero-floating-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    mix-blend-mode: multiply;
    display: block;
}

@keyframes floatHeroLogo {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(199, 154, 59, 0.4);
    }
    50% {
        transform: translateY(-18px) rotate(1.5deg);
        box-shadow: 0 35px 85px rgba(0, 0, 0, 0.75), 0 0 70px rgba(199, 154, 59, 0.7);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(199, 154, 59, 0.18);
    border: 1px solid rgba(199, 154, 59, 0.45);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(199,154,59,0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #FFF;
    line-height: 1.12;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 42px;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* ============================================================
   HIGH-IMPACT HIGHLY ANIMATED SCROLL REVEAL ENGINE
   ============================================================ */

.reveal, .reveal-up {
    opacity: 0 !important;
    transform: translateY(60px) scale(0.94);
    filter: blur(4px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                filter 0.8s ease;
    will-change: opacity, transform, filter;
}

.reveal-left {
    opacity: 0 !important;
    transform: translateX(-60px) scale(0.95);
    filter: blur(4px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                filter 0.8s ease;
    will-change: opacity, transform, filter;
}

.reveal-right {
    opacity: 0 !important;
    transform: translateX(60px) scale(0.95);
    filter: blur(4px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                filter 0.8s ease;
    will-change: opacity, transform, filter;
}

/* On Mobile Screens: Completely Override Horizontal Translations to Prevent Document Width Expansion */
@media (max-width: 992px) {
    .reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-zoom, .reveal-flip {
        transform: translateY(20px) scale(0.98) !important;
        filter: none !important;
    }
}

.reveal-zoom {
    opacity: 0 !important;
    transform: scale(0.85) translateY(30px);
    filter: blur(6px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                filter 0.8s ease;
    will-change: opacity, transform, filter;
}

.reveal-flip {
    opacity: 0 !important;
    transform: perspective(1000px) rotateX(25deg) translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: opacity, transform;
}

.active-reveal {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) rotate(0deg) rotateX(0deg) !important;
    filter: blur(0px) !important;
}

.delay-100 { transition-delay: 0.12s; }
.delay-200 { transition-delay: 0.24s; }
.delay-300 { transition-delay: 0.36s; }
.delay-400 { transition-delay: 0.48s; }

/* Statistics Section */
.stats-section {
    background: var(--primary-navy);
    color: #FFF;
    padding: 70px 0;
    border-top: 1px solid rgba(199, 154, 59, 0.25);
    border-bottom: 1px solid rgba(199, 154, 59, 0.25);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card .counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(199,154,59,0.3);
}

.stat-card .label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: #FFF;
    border-radius: var(--radius-md);
    padding: 42px 34px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-gold), var(--primary-navy));
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 68px;
    height: 68px;
    background: rgba(11, 35, 67, 0.06);
    color: var(--primary-navy);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--accent-gold);
    color: #FFF;
    transform: rotate(8deg) scale(1.15);
}

.service-title {
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Projects & Gallery Grid */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 11px 26px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: #FFF;
    color: var(--text-dark);
    font-weight: 700;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-navy);
    color: #FFF;
    border-color: var(--primary-navy);
    box-shadow: 0 6px 16px rgba(11,35,67,0.25);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(6, 21, 43, 0.94) 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #FFF;
    transition: var(--transition-smooth);
}

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

.project-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    font-weight: 800;
    margin-bottom: 6px;
}

.project-title {
    font-size: 1.55rem;
    color: #FFF;
    margin-bottom: 8px;
}

/* ============================================================
   EXPLICIT BULLETPROOF FORM & CONTROL STYLING
   ============================================================ */

.quote-wizard {
    background: #FFF;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.form-label {
    display: block !important;
    width: 100% !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-bottom: 10px !important;
    color: var(--primary-navy) !important;
    text-align: left !important;
}

.form-control {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 20px !important;
    font-size: 1rem !important;
    font-family: var(--font-main) !important;
    color: var(--text-dark) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    background-color: #FAFAFA !important;
    outline: none !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02) !important;
}

.form-control:focus {
    border-color: var(--accent-gold) !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(199, 154, 59, 0.2) !important;
}

.form-control::placeholder {
    color: #94A3B8 !important;
    opacity: 1 !important;
}

textarea.form-control {
    min-height: 140px !important;
    resize: vertical !important;
}

select.form-control {
    appearance: auto !important;
}

/* Sticky Bottom Free Quote Bar */
.sticky-quote-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-navy-dark);
    border: 1px solid var(--accent-gold);
    padding: 12px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 995;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    animation: floatGlow 3s infinite ease-in-out;
}

@keyframes floatGlow {
    0%, 100% { transform: translateX(-50%) translateY(0); box-shadow: 0 10px 25px rgba(199,154,59,0.3); }
    50% { transform: translateX(-50%) translateY(-5px); box-shadow: 0 18px 35px rgba(199,154,59,0.5); }
}

/* Footer */
.site-footer {
    background: var(--primary-navy-dark);
    color: #FFF;
    padding: 85px 0 35px;
    border-top: 1px solid rgba(199, 154, 59, 0.25);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-title {
    color: var(--accent-gold);
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 990;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.12);
}

/* Enhanced Mobile Responsiveness & Strict Zero-Overflow Engine */
@media (max-width: 992px) {
    .contact-layout-grid {
        grid-template-columns: 1fr !important;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-actions .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--accent-gold);
        color: #FFF;
        border: none;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        font-size: 1.1rem;
        cursor: pointer;
    }

    .nav-menu {
        display: none !important; /* Fully remove from DOM flow on mobile when inactive so iOS Safari cannot scroll horizontally! */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(11, 15, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 99999;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .mobile-close-item {
        display: block !important;
        position: absolute;
        top: 20px;
        right: 24px;
    }

    .mobile-close-btn {
        background: rgba(255,255,255,0.15);
        border: none;
        color: #FFF;
        font-size: 2.2rem;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .hero-flex-container {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        min-height: auto;
        padding-top: 20px;
        padding-bottom: 40px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-floating-logo {
        max-width: 220px;
    }

    .sticky-quote-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .reveal-left, .reveal-right {
        transform: translateY(20px) !important;
    }

    .container {
        padding-left: 14px;
        padding-right: 14px;
        max-width: 100% !important;
        overflow-x: hidden;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.92rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 14px 8px;
    }

    .counter {
        font-size: 1.7rem;
    }

    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .proj-modal-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
    }

    .proj-modal-left {
        padding: 18px;
    }

    .proj-modal-right {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 12px;
    }

    .proj-modal-right img {
        max-height: 38vh;
    }

    .lightbox-box {
        max-width: 95vw;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stat-card {
        padding: 12px 6px;
    }

    .counter {
        font-size: 1.5rem;
    }

    .label {
        font-size: 0.7rem;
    }
}
