/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #030712;      /* Deep black-slate background */
    --bg-secondary: #0b1329;    /* Card & section dark blue background */
    --bg-glass: rgba(11, 19, 41, 0.75);
    
    --text-primary: #f9fafb;    /* Pure off-white text */
    --text-secondary: #9ca3af;  /* Medium slate-grey */
    --text-muted: #6b7280;     /* Darker grey for details */
    
    --cyan: #0ea5e9;            /* Electric tech cyan */
    --cyan-glow: rgba(14, 165, 233, 0.25);
    --indigo: #6366f1;          /* Digital indigo */
    --indigo-glow: rgba(99, 102, 241, 0.2);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(14, 165, 233, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Details */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --navbar-height: 120px;
    --container-max-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 700px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--indigo));
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px var(--cyan-glow);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.w-100 {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: transparent;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: var(--bg-glass);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 96px; /* 200% size boost for maximum visibility and readability */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 60px; /* Elegant shrink on scroll to optimize viewport area */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--indigo));
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.quote-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--navbar-height) + 40px);
    padding-bottom: 80px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #02050f;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 75% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 75% 50%, black 20%, transparent 70%);
    z-index: 1;
    opacity: 0.5;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.tag-line {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--cyan);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 30%, var(--indigo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 520px;
    text-align: justify;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Stylized interactive 3D Cube wireframe scanning visualization */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.scanning-visual {
    width: 320px;
    height: 320px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: rgba(11, 19, 41, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(14, 165, 233, 0.05), 0 20px 50px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 20px var(--cyan);
    animation: radar-sweep 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes radar-sweep {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.scanning-visual:hover .hero-img {
    transform: scale(1.03);
    opacity: 0.95;
}

/* ==========================================================================
   SECTION STANDARD HEADERS
   ========================================================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    max-width: 650px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-tag {
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 18px;
}

/* ==========================================================================
   ABOUT / SOBRE NÓS
   ========================================================================== */
.about {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.lead-text {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 24px;
    text-align: justify;
}

.normal-text {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 36px;
    text-align: justify;
}

.stats-row {
    display: flex;
    gap: 32px;
}

.stat-card {
    border-left: 3px solid var(--cyan);
    padding-left: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.tech-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.tech-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 20px rgba(14, 165, 233, 0.05);
}

.card-icon {
    font-size: 36px;
    color: var(--cyan);
    margin-bottom: 24px;
}

.tech-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--indigo));
    transition: var(--transition-smooth);
}

.tech-card:hover .card-line {
    width: 100%;
}

/* ==========================================================================
   SERVICES / NOSSOS SERVIÇOS
   ========================================================================== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse .service-content {
    direction: ltr; /* Reset text direction for arabic rtl hack */
}

.service-icon {
    font-size: 40px;
    color: var(--cyan);
    margin-bottom: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: rgba(14, 165, 233, 0.06);
    border-radius: 50%;
}

.fa-spin-slow {
    animation: fa-spin 12s linear infinite;
}

.service-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: none;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    color: var(--cyan);
    font-size: 12px;
    margin-top: 6px;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

.service-image-container {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.scan-visual-container {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.service-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.scan-visual-container:hover .service-img {
    transform: scale(1.05);
}

/* Image overlay scanner graphics */
.scan-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(14, 165, 233, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 165, 233, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.4;
}

.scanner-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--cyan);
    z-index: 4;
    animation: scanner-move 8s infinite alternate ease-in-out;
}

@keyframes scanner-move {
    0% { top: 10%; left: 10%; }
    25% { top: 70%; left: 30%; }
    50% { top: 30%; left: 80%; }
    75% { top: 80%; left: 60%; }
    100% { top: 20%; left: 40%; }
}

.drone-overlay-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(99, 102, 241, 0.85);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 4;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.height-gradient-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan), var(--indigo), #ec4899);
    z-index: 4;
}

/* ==========================================================================
   QUOTE / SOLICITE ORÇAMENTO
   ========================================================================== */
.quote {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.quote-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition-fast);
}

.input-wrapper input, .input-wrapper textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    padding: 16px 16px 16px 52px;
    transition: var(--transition-fast);
}

.input-wrapper textarea {
    resize: none;
}

.input-wrapper input::placeholder, .input-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus, .input-wrapper textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.15);
}

.input-wrapper input:focus + .input-icon, .input-wrapper textarea:focus + .input-icon {
    color: var(--cyan);
}

.error-msg {
    color: #ef4444;
    font-size: 12px;
    margin-left: 4px;
    display: none;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error input, .form-group.has-error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.btn-spinner {
    font-size: 18px;
}

.hidden {
    display: none !important;
}

/* Success form state */
.form-success-message {
    text-align: center;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scale-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scale-up {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.2));
}

.form-success-message h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.form-success-message p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 400px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-pitch {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--cyan);
    color: #ffffff;
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--cyan-glow);
}

.footer-contact-info h3 {
    font-size: 20px;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    font-size: 20px;
    color: var(--cyan);
    width: 24px;
    display: flex;
    justify-content: center;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-text a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ==========================================================================
   WHATSAPP FLOATING WIDGET
   ========================================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    color: #ffffff;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    position: relative;
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-8px);
}

/* ==========================================================================
   REVEAL-ON-SCROLL ANIMATIONS (Intersection Observer)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.delay-1 {
    transition-delay: 0.15s;
}

.reveal.delay-2 {
    transition-delay: 0.3s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 54px;
    }
    
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 32px;
    }
    
    .scanning-visual {
        width: 280px;
        height: 280px;
    }
    

    
    .about-grid {
        gap: 40px;
    }
    
    .service-item {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    /* Navbar Drawer System */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        padding: 100px 40px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    
    .nav-menu ul li {
        width: 100%;
    }
    
    .nav-menu ul li a {
        font-size: 18px;
        display: block;
        width: 100%;
    }
    
    .quote-btn {
        text-align: center;
        margin-top: 16px;
    }
    
    /* Toggle active state */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Responsive Content Grids */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 320px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .service-item, .service-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 24px;
    }
    
    .service-img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .logo-img {
        height: 60px;
    }

    .hero-title {
        font-size: 40px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions a {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .form-wrapper {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
