@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================
   CSS VARIABLES & RESET
============================================ */
:root {
    /* Brand */
    --secondary:      #D97706;
    --secondary-dark: #B45309;
    --secondary-glow: rgba(217,119,6,0.15);

    /* Light Mode (default) */
    --bg-body:        #F8FAFC;
    --bg-card:        #FFFFFF;
    --bg-card-alt:    #F1F5F9;
    --bg-navbar:      #FFFFFF;
    --bg-mobile-nav:  #FFFFFF;
    --bg-input:       #FFFFFF;
    --bg-accordion:   #FFFFFF;
    --bg-acc-body:    #FDFCFB;
    --bg-why-card:    #F1F5F9;
    --bg-footer:      #0F172A;
    --bg-footer-btm:  #020617;

    --text-main:      #0F172A;
    --text-sub:       #1E293B;
    --text-muted:     #64748B;
    --text-light:     #94A3B8;
    --text-white:     #FFFFFF;

    --border-col:     #E2E8F0;
    --border-strong:  #CBD5E1;
    --divider:        rgba(0,0,0,0.06);

    --shadow-xs: 0 1px 3px rgba(0,0,0,0.07);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.12);
    --shadow-xl: 0 32px 64px rgba(0,0,0,0.15);

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --nav-height: 105px;
}

/* ============================================
   DARK MODE VARIABLES
============================================ */
[data-theme="dark"] {
    --bg-body:        #0B1120;
    --bg-card:        #1A2540;
    --bg-card-alt:    #0F172A;
    --bg-navbar:      #0D1526;
    --bg-mobile-nav:  #0D1526;
    --bg-input:       #1A2540;
    --bg-accordion:   #1A2540;
    --bg-acc-body:    #152035;
    --bg-why-card:    #0F172A;
    --bg-footer:      #060D1A;
    --bg-footer-btm:  #030810;

    --text-main:      #E8F0FE;
    --text-sub:       #C8D8F0;
    --text-muted:     #8FA8C8;
    --text-light:     #6B8BAA;
    --text-white:     #F0F6FF;

    --border-col:     #1E3050;
    --border-strong:  #2A4070;
    --divider:        rgba(255,255,255,0.06);

    --shadow-xs: 0 1px 4px rgba(0,0,0,0.4);
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.5);
    --shadow-md: 0 8px 28px rgba(0,0,0,0.55);
    --shadow-lg: 0 20px 52px rgba(0,0,0,0.6);
    --shadow-xl: 0 32px 68px rgba(0,0,0,0.65);
}

/* ============================================
   BASE RESET
============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--text-main); }

/* ============================================
   GLOBAL UTILITIES
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--secondary);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(217,119,6,0.35);
}
.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217,119,6,0.4);
}
.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
    background: #FFFFFF;
    color: var(--text-main);
    border-color: #FFFFFF;
}
.btn-outline-dark {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-strong);
}
.btn-outline-dark:hover {
    background: var(--secondary);
    color: #FFFFFF;
    border-color: var(--secondary);
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5.5rem 0; }
.section-light { background: var(--bg-card); transition: background 0.4s ease; }
.section-gray  { background: var(--bg-card-alt); transition: background 0.4s ease; }
.section-dark  { background: #0B1422; color: #E8F0FE; }

.text-center { text-align: center; }

.section-label {
    display: inline-block;
    background: var(--secondary-glow);
    color: var(--secondary);
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.section-title { font-size: 2.4rem; margin-bottom: 1rem; }
.section-desc {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================================
   NAVBAR
============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-navbar);
    border-bottom: 1px solid var(--border-col);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.15); }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.logo-link { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.nav-logo-img { height: 100px; width: auto; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav-company-name {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
}
.nav-tagline { font-size: 0.64rem; font-weight: 600; color: var(--secondary); letter-spacing: 1.5px; text-transform: uppercase; }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-sub);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--secondary); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Call Button */
.nav-call-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: #FFFFFF;
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(217,119,6,0.3);
    transition: var(--transition);
    flex-shrink: 0;
}
.nav-call-btn:hover { background: var(--secondary-dark); transform: translateY(-1px); }

/* ============================================
   DARK MODE ICON BUTTON
============================================ */
.theme-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border-col);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.theme-icon-btn:hover {
    border-color: var(--secondary);
    background: var(--secondary-glow);
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 16px rgba(217,119,6,0.4);
}
/* Sun icon — shown in light mode */
.theme-icon-btn .ico-sun {
    position: absolute;
    font-size: 1.2rem;
    transition: opacity 0.3s ease, transform 0.4s ease;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
/* Moon icon — shown in dark mode */
.theme-icon-btn .ico-moon {
    position: absolute;
    font-size: 1.15rem;
    transition: opacity 0.3s ease, transform 0.4s ease;
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}
/* In dark mode: show moon, hide sun */
[data-theme="dark"] .theme-icon-btn .ico-sun  { opacity: 0; transform: scale(0.5) rotate(90deg); }
[data-theme="dark"] .theme-icon-btn .ico-moon { opacity: 1; transform: scale(1) rotate(0deg); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}
.bar {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
   FOOTER
============================================ */
.footer { background: var(--bg-footer); color: var(--text-white); transition: background 0.4s ease; }
.footer-top { padding: 5rem 0 4rem; }
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
}
.footer-logo-link { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.5rem; }
.footer-logo-img { height: 65px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.footer-company-name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: #FFFFFF; letter-spacing: 0.5px; }
.footer-tagline { font-size: 0.6rem; color: #FCD34D; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-about-text { color: #94A3B8; font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-btn:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-heading { font-size: 1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 1.5rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--secondary); display: inline-block; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: #94A3B8; font-size: 0.88rem; display: flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary); padding-left: 6px; }
.footer-contact-list { list-style: none; }
.footer-contact-list li { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.fc-icon { font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list strong { color: #FFFFFF; font-size: 0.85rem; display: block; margin-bottom: 0.2rem; }
.footer-contact-list p { color: #94A3B8; font-size: 0.85rem; margin: 0; line-height: 1.5; }
.footer-contact-list a { color: #94A3B8; }
.footer-contact-list a:hover { color: var(--secondary); }
.footer-bottom { background: var(--bg-footer-btm); border-top: 1px solid rgba(255,255,255,0.06); padding: 1.25rem 2rem; transition: background 0.4s ease; }
.footer-bottom-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { color: #4B5563; font-size: 0.82rem; }

/* ============================================
   PAGE HEADER BANNER
============================================ */
.page-header { height: 320px; position: relative; display: flex; align-items: center; overflow: hidden; }
.page-header-img { position: absolute; inset: 0; }
.page-header-img img { width: 100%; height: 100%; object-fit: cover; }
.page-header-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.7) 50%, rgba(15,23,42,0.15) 100%); }
.page-header-content { position: relative; z-index: 2; padding: 0 4rem; color: #FFFFFF; }
.page-header-content h1 { font-size: 3.2rem; margin-bottom: 0.6rem; color: #FFFFFF; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.breadcrumb a { color: #FCD34D; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   CARDS
============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition), background 0.4s ease;
    overflow: hidden;
    border: 1px solid var(--border-col);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* Service card */
.svc-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-xs);
    transition: var(--transition), background 0.4s ease;
    border: 1px solid var(--border-col);
    border-bottom: 3px solid transparent;
    position: relative;
}
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--secondary);
    transition: width 0.4s ease;
    border-radius: 3px 3px 0 0;
}
.svc-card:hover::before { width: 100%; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-bottom-color: var(--secondary); }
.svc-icon { font-size: 2.5rem; margin-bottom: 1.2rem; display: block; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; color: var(--text-main); }
.svc-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* Project card */
.proj-card-img { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.proj-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.proj-card-img:hover img { transform: scale(1.08); }
.proj-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.1) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; opacity: 0; transition: var(--transition); }
.proj-card-img:hover .proj-card-overlay { opacity: 1; }
.proj-tag { display: inline-block; background: var(--secondary); color: #FFFFFF; font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 3px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.4rem; }
.proj-card-overlay h3 { color: #FFFFFF; font-size: 1.1rem; transform: translateY(10px); transition: transform 0.3s; }
.proj-card-img:hover .proj-card-overlay h3 { transform: translateY(0); }

/* Why-card */
.why-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-why-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-col);
    transition: var(--transition), background 0.4s ease;
}
.why-card:hover { background: var(--bg-card); box-shadow: var(--shadow-md); }
.why-ico { background: var(--secondary-glow); color: var(--secondary); width: 48px; height: 48px; min-width: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.why-card h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--text-main); }
.why-card p  { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* Accordion */
.accordion-item {
    background: var(--bg-accordion);
    border: 1px solid var(--border-col);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s, background 0.4s ease;
}
.accordion-item.open { box-shadow: var(--shadow-md); }
.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
}
.accordion-header:hover { background: var(--bg-card-alt); }
.accordion-header-left { display: flex; align-items: center; gap: 1rem; }
.accordion-icon { width: 42px; height: 42px; background: var(--secondary-glow); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.accordion-header h3 { font-size: 1rem; font-weight: 700; margin: 0; color: var(--text-main); }
.accordion-toggle { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; border: 2px solid var(--border-col); color: var(--text-muted); transition: var(--transition); }
.accordion-item.open .accordion-toggle { background: var(--secondary); border-color: var(--secondary); color: #FFFFFF; transform: rotate(45deg); }
.accordion-body { display: none; padding: 1.5rem; border-top: 1px solid var(--border-col); background: var(--bg-acc-body); }
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { color: var(--text-muted); line-height: 1.85; font-size: 0.95rem; margin-bottom: 1rem; }
.accordion-body p:last-child { margin-bottom: 0; }

/* Styled list */
.styled-list { list-style: none; }
.styled-list li { padding-left: 1.8rem; position: relative; margin-bottom: 0.75rem; color: var(--text-muted); font-size: 0.95rem; }
.styled-list li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }

/* Check list */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; list-style: none; margin-bottom: 2rem; }
.check-list li { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.check-list li::before { content: '✓'; color: var(--secondary); font-weight: 700; }

/* Form elements */
.form-group { margin-bottom: 1.4rem; }
.form-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text-main); }
.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-col);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-input);
    transition: border-color 0.3s, background 0.4s ease, color 0.4s ease;
}
.form-control::placeholder { color: var(--text-light); }
.form-control:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(217,119,6,0.12); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ============================================
   MOBILE NAV OVERLAY
============================================ */
#navOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 998;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
#navOverlay.active { display: block; opacity: 1; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1100px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-col-brand { grid-column: 1 / -1; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    :root { --nav-height: 72px; }

    .hamburger { display: flex; }
    .nav-call-btn { display: none; }

    /* LEFT se RIGHT slide drawer */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 78%;
        max-width: 290px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background: var(--bg-mobile-nav);
        padding: 5.5rem 1.5rem 2rem;
        gap: 0;
        box-shadow: 10px 0 40px rgba(0,0,0,0.25);
        transition: left 0.35s cubic-bezier(0.4,0,0.2,1), background 0.4s ease;
        border-top: none;
        z-index: 999;
        opacity: 1;
        transform: none;
        border-right: 1px solid var(--border-col);
    }
    .nav-links.open { left: 0; }
    .nav-links li { width: 100%; }
    .nav-links a {
        padding: 0.9rem 1rem;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-col);
        border-radius: 0;
        font-size: 1.05rem;
        color: var(--text-main);
    }
    .nav-links li:last-child a { border-bottom: none; }

    .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .page-header-content h1, .rb-page-header-content h1 { font-size: 2.2rem; }
    .page-header-content, .rb-page-header-content { padding: 0 2rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    .nav-tagline { display: none; }
    .nav-company-name { font-size: 1.05rem; }
    .page-header, .rb-page-header { height: 260px; }
    .page-header-content h1, .rb-page-header-content h1 { font-size: 1.85rem; line-height: 1.25; }
    
    /* Floating action buttons on mobile */
    .floating-btns { right: 1rem !important; bottom: 1.25rem !important; gap: 0.5rem !important; }
    .whatsapp-btn { width: 50px !important; height: 50px !important; }
    .whatsapp-btn svg { width: 28px !important; height: 28px !important; }
    .back-top-btn { width: 44px !important; height: 44px !important; }
    .back-top-btn svg { width: 18px !important; height: 18px !important; }
}

@media (max-width: 640px) {
    .nav-logo-img { height: 56px; }
    .nav-company-name { font-size: 0.95rem; letter-spacing: 0; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-col-brand { grid-column: auto; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .page-header, .rb-page-header { height: 220px; }
    .page-header-content h1, .rb-page-header-content h1 { font-size: 1.65rem; }
    .check-list { grid-template-columns: 1fr; }
    .section, .rb-section, .exp-acc-section, .details-section, .services-section, .projects-section { padding: 3rem 0 !important; }
    .container, .rb-container { padding: 0 1.25rem !important; }
    
    /* Mobile Grids Override */
    .rb-projects-grid { grid-template-columns: 1fr !important; }
    .rb-contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .rb-contact-form-box { padding: 1.5rem !important; }
}

@media (max-width: 420px) {
    .nav-company-name { font-size: 0.88rem; }
}

/* SEO & Accessibility Helpers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

