/* 
 * Pratinidhi Media Solutions - Main Stylesheet
 * Architecture: Vanilla CSS with Custom Properties for Theme Management
 * Strategy: Mobile-First — base styles target phones, media queries add desktop complexity.
 * Fonts are preloaded via <link> in header.php for optimal performance.
 */

:root {
    /* Color Tokens - Premium Black & Golden-Orange Theme */
    --color-primary-dark: #262322;     /* Deep Charcoal Black (from logo background) */
    --color-primary-light: #FFFFFF;    /* Clean Page Background */
    --color-surface-muted: #F5F5F5;    /* Structural Gray for Content Sections */
    --color-accent: #E5A32A;           /* Vibrant Golden-Orange (from logo crown/emblem) */
    --color-accent-hover: #c98c1d;     /* Darker Golden-Orange for hovers */
    --color-text-main: #333333;        /* Body Copy Slate/Black */
    --color-text-muted: #666666;       /* Secondary Subtext */
    --color-border: #E5E5E5;           /* Subtle Corporate Dividers */
    
    /* Typography Tokens */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing & Layout Tokens — Mobile-first defaults */
    --container-max-width: 1280px;
    --section-padding: 3rem 1.25rem;   /* Mobile default: tight padding */
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* Desktop spacing upgrade */
@media (min-width: 768px) {
    :root {
        --section-padding: 4rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-padding: 5rem 2rem;
    }
}

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Prevent layout shift when mobile drawer opens */
    scroll-padding-top: 80px;
    /* CRITICAL: Lock viewport width to prevent iOS/Mobile horizontal sliding */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-main);
    background-color: var(--color-primary-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Lock scroll when mobile nav is open */
body.nav-open {
    overflow: hidden;
}

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

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10000;
    transform: translateY(-200%);
    background: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 0.7rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

ul {
    list-style: none;
}

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

/* ==========================================================================
   Typography — Mobile-first clamp values
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

@media (min-width: 768px) {
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 1rem;
    }
}

h1 { font-size: clamp(2rem, 6vw, 4.5rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 3vw, 2rem); }
p  { margin-bottom: 1rem; color: var(--color-text-muted); font-size: 1rem; }

/* ==========================================================================
   Layout & Utility Classes
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent) !important; }
.text-white { color: var(--color-primary-light) !important; }
.text-white p { color: #e0e0e0; }

.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
    background-color: inherit;
}

/* Ensure all non-hero sections fully cover the fixed parallax pseudo-element */
main > section:not(.hero-section):not(.about-hero):not(.contact-hero):not(.faq-hero) {
    isolation: isolate;
}

.bg-dark {
    background-color: var(--color-primary-dark);
    color: var(--color-primary-light);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3 {
    color: var(--color-primary-light);
}

/* ==========================================================================
   Section Background Design System
   ========================================================================== */

.bg-light {
    background-color: var(--color-primary-light);
}

.sunset-wrapper {
    background-color: var(--color-primary-light);
    position: relative;
    overflow: hidden;
}

/* All section content sits on top of both pseudo-elements */
.sunset-wrapper > section {
    position: relative;
    z-index: 2;
    background-color: transparent;
}

/* 
 * ::after — the map watermark.
 * Dimmed, blurred, shifted upward to cover both sections.
 */
.sunset-wrapper::after {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: url('../images/map.webp');
    background-repeat: no-repeat;
    background-position: center 25%;
    background-size: cover;        /* Mobile: cover instead of 78% fixed */
    opacity: 0.15;
    filter: blur(0.6px);
    z-index: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    .sunset-wrapper::after {
        background-size: 78%;
        opacity: 0.22;
    }
}

/* 
 * ::before — only top and bottom white edge fades.
 */
.sunset-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 10%,
                                   rgba(255,255,255,0) 90%, rgba(255,255,255,1) 100%);
}

.bg-muted {
    background-color: var(--color-surface-muted);
}

.bg-accent {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

/* ==========================================================================
   Components — Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    font-size: 0.85rem;
    min-height: 48px;           /* Minimum touch target size */
    min-width: 44px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

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

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 163, 42, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary-light);
    color: var(--color-primary-light);
}

.btn-outline:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--color-primary-dark);
    color: var(--color-primary-light);
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* On mobile, stack button group vertically for better UX */
@media (max-width: 480px) {
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-group .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   About Us Section Typography
   ========================================================================== */

.about-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3.5vw, 2.1rem);
    color: var(--color-accent);
    font-weight: 700;
    line-height: 1.35;
    max-width: 820px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -0.3px;
}

.about-body {
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    font-size: clamp(0.95rem, 2.2vw, 1.08rem);
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
    background-color: transparent;
    padding: 0.85rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
    background-color: var(--color-primary-dark);
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001; /* Above overlay */
}

.brand-logo {
    max-height: 38px;       /* Mobile default — compact */
    width: auto;
    object-fit: contain;
    transform: scale(1.3);
    transform-origin: left center;
    transition: transform 0.3s ease, max-height 0.3s ease;
}

@media (min-width: 640px) {
    .brand-logo {
        max-height: 48px;
        transform: scale(1.65);
    }
}

@media (min-width: 1024px) {
    .brand-logo {
        max-height: 60px;
        transform: scale(1.85);
    }
}

/* Desktop Nav Links */
.nav-links {
    display: none;        /* Hidden on mobile — replaced by drawer */
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

@media (min-width: 1100px) {
    .nav-links {
        gap: 2rem;
    }
}

.nav-links a {
    font-family: var(--font-heading);
    color: var(--color-primary-light);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;          /* Larger tap area */
    min-height: 44px;
    display: flex;
    align-items: center;
}

@media (min-width: 1100px) {
    .nav-links a { font-size: 0.95rem; }
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-speed) ease;
}

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

.nav-links a.nav-active {
    color: var(--color-accent);
}

/* Special CTA button in desktop nav */
.nav-cta-btn {
    background-color: var(--color-accent) !important;
    color: var(--color-primary-dark) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: var(--border-radius) !important;
    font-weight: 700 !important;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
}

.nav-cta-btn::after {
    display: none !important; /* No underline on CTA button */
}

.nav-cta-btn:hover {
    background-color: var(--color-accent-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(229, 163, 42, 0.4) !important;
}

/* ==========================================================================
   Desktop Nav Dropdown (Services Megadropdown)
   ========================================================================== */

/* The parent <li> that holds the dropdown */
.nav-item-dropdown {
    position: relative;
}

/* The trigger link — adds a small chevron icon */
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

/* Kill the global underline animation on the trigger — the dropdown replaces it */
.nav-dropdown-trigger::after {
    display: none !important;
}

.nav-dropdown-trigger .dropdown-chevron {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    margin-top: 1px;
    opacity: 0.7;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--color-accent);
}

/* The dropdown panel — fixed width, never dynamic */
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background-color: var(--color-primary-dark);
    border: 1px solid rgba(229, 163, 42, 0.2);
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    width: 350px;      /* Increased width for a more spacious menu */
    padding: 0.6rem 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
    list-style: none;
}

/* Invisible bridge between trigger and panel to prevent mouseout gap */
.nav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

/* Show on hover / focus-within */
.nav-item-dropdown:hover .nav-dropdown-panel,
.nav-item-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Individual dropdown items */
.nav-dropdown-panel li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-dropdown-panel li:last-child {
    border-bottom: none;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.75rem; /* Generous padding on left/right so icons don't hit the edges */
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-primary);
    font-size: 0.9rem;      /* Bigger, more readable */
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.35;
    transition: color 0.22s ease, background 0.22s ease; /* No padding-left shift — it causes text to jump */
    white-space: normal;   /* Wrap naturally inside the fixed 300px width */
    min-height: 52px;
    text-decoration: none;
}

.nav-dropdown-item::after {
    display: none !important; /* Override the global nav underline */
}

.nav-dropdown-item:hover {
    color: var(--color-accent);
    background: rgba(229, 163, 42, 0.07);
    /* No padding-left change — keeps text perfectly stationary */
}

.nav-dropdown-item-icon {
    width: 30px;
    height: 30px;
    background: rgba(229, 163, 42, 0.1);
    border: 1px solid rgba(229, 163, 42, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon {
    background: rgba(229, 163, 42, 0.2);
    transform: scale(1.1);
}

/* ==========================================================================
   Mobile Drawer — Services Accordion
   ========================================================================== */

/* Accordion trigger within drawer */
.drawer-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    min-height: 56px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    transition: color 0.3s ease, background 0.3s ease;
}

.drawer-accordion-trigger:hover {
    color: var(--color-accent);
    background: rgba(229, 163, 42, 0.06);
}

.drawer-accordion-trigger .accordion-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.drawer-accordion-trigger .acc-chevron {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), color 0.3s ease;
    flex-shrink: 0;
}

.drawer-accordion-trigger[aria-expanded="true"] .acc-chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
}

/* Accordion sub-list */
.drawer-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(0, 0, 0, 0.15);
}

.drawer-accordion-panel.open {
    max-height: 400px;
}

.drawer-accordion-panel li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.drawer-accordion-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.5rem 0.85rem 2.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    transition: color 0.3s ease, background 0.3s ease;
    min-height: 48px;
}

.drawer-accordion-link:hover {
    color: var(--color-accent);
    background: rgba(229, 163, 42, 0.05);
}

.drawer-accordion-link i {
    color: var(--color-accent);
    font-size: 0.78rem;
    width: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* ==========================================================================
   Hamburger Toggle Button
   ========================================================================== */

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    z-index: 1001;
    flex-shrink: 0;
    padding: 0;
}

.nav-toggle:hover {
    background: rgba(229, 163, 42, 0.15);
    border-color: rgba(229, 163, 42, 0.5);
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background-color: var(--color-primary-light);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.35s ease,
                width 0.35s ease;
    display: block;
}

/* X animation when nav is open */
.nav-open .nav-toggle .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle .hamburger-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-open .nav-toggle .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hide hamburger on desktop — desktop has nav-links */
@media (min-width: 900px) {
    .nav-toggle {
        display: none;
    }
}

/* ==========================================================================
   Mobile Nav Overlay (Dark Backdrop)
   ========================================================================== */

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-open .mobile-nav-overlay {
    opacity: 1;
    pointer-events: all;
}

/* ==========================================================================
   Mobile Nav Drawer (Slide-in Panel)
   ========================================================================== */

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    height: 100dvh;
    background-color: var(--color-primary-dark);
    border-left: 1px solid rgba(229, 163, 42, 0.2);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 0 0 2rem;
}

/* Custom scrollbar for drawer */
.mobile-nav-drawer::-webkit-scrollbar { width: 4px; }
.mobile-nav-drawer::-webkit-scrollbar-track { background: transparent; }
.mobile-nav-drawer::-webkit-scrollbar-thumb { background: rgba(229,163,42,0.3); border-radius: 2px; }

.nav-open .mobile-nav-drawer {
    transform: translateX(0);
}

/* --- Drawer Header --- */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.drawer-logo {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    transform: scale(1.3);
    transform-origin: left center;
}

.drawer-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--color-primary-light);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.drawer-close:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
}

/* --- Drawer Nav Links --- */
.drawer-nav-links {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    flex-grow: 1;
}

.drawer-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease, background 0.3s ease, padding-left 0.3s ease;
    min-height: 56px;
}

.drawer-link:hover,
.drawer-link.drawer-active {
    color: var(--color-accent);
    background: rgba(229, 163, 42, 0.06);
    padding-left: 1.85rem;
}

.drawer-link-icon {
    width: 34px;
    height: 34px;
    background: rgba(229, 163, 42, 0.1);
    border: 1px solid rgba(229, 163, 42, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.drawer-link:hover .drawer-link-icon {
    background: rgba(229, 163, 42, 0.2);
}

/* --- Drawer CTA --- */
.drawer-cta {
    padding: 1.5rem 1.5rem 1rem;
    flex-shrink: 0;
}

.drawer-cta-btn {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.5rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
}

/* --- Drawer Contact Info --- */
.drawer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    min-height: 36px;
    transition: color 0.3s ease;
}

.drawer-contact-item i {
    color: var(--color-accent);
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

.drawer-contact-item:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Drawer Social --- */
.drawer-social {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 0;
    flex-shrink: 0;
}

.drawer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.drawer-social-icon:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    /* background-attachment:fixed is disabled by default — iOS Safari breaks it */
    background-image: linear-gradient(to bottom, rgba(18,18,18,0.88) 0%, rgba(18,18,18,0.50) 100%), url('../images/heroimg.webp');
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--color-primary-dark);
    position: relative;
    width: 100%;
}

/* Parallax and full height only on actual pointer devices (not touch/mobile) */
@media (min-width: 1024px) and (hover: hover) {
    .hero-section {
        background-attachment: fixed;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;        /* Full width on mobile */
    text-align: center;     /* Centered on mobile */
    padding-top: 100px;     /* Clear fixed header */
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 700px;
        text-align: left;
        padding-top: 80px;
        padding-bottom: 0;
    }
}

.hero-content .hero-title {
    font-size: clamp(1.9rem, 5.5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-content .hero-title {
        margin-bottom: 1.5rem;
    }
}

.hero-content h1, .hero-content h2, .hero-content h3 {
    color: var(--color-primary-light);
}

.hero-pretitle {
    font-family: var(--font-primary);
    font-size: clamp(0.7rem, 2vw, 0.9rem) !important;
    color: var(--color-accent) !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    display: block;
}

.hero-subtext {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.82) !important;
}

@media (min-width: 768px) {
    .hero-subtext {
        max-width: 600px;
        margin-bottom: 2.5rem;
    }
}

/* Center btn-group on mobile hero */
.hero-content .btn-group {
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-content .btn-group {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;   /* Single column on mobile */
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);   /* 2-col on larger phones/tablets */
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);   /* 3-col on desktop */
        gap: 2rem;
        margin-top: 3rem;
    }
}

.service-card {
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.75rem 1.5rem;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease,
                background-color 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .service-card {
        padding: 2.5rem 2rem;
    }
}

/* Ambient glow on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 20% 120%, rgba(229, 163, 42, 0.10) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover::before { opacity: 1; }

/* Bottom accent line sweep */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), rgba(229, 163, 42, 0.3));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.10),
        0 0 0 1px rgba(229, 163, 42, 0.2);
    border-color: transparent;
    background-color: #fdfbf7;
}

/* Disable hover lift on touch devices — feels wrong on tap */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
}

.service-card:hover::after  { transform: scaleX(1); }

/* Make all card content sit above the glow layer */
.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1), 
                filter 0.4s ease;
}

@media (min-width: 768px) {
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

.service-card:hover .service-icon {
    transform: scale(1.15) translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(229, 163, 42, 0.35));
}

.service-card h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 0.85rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--color-accent-hover);
}

.service-card ul {
    list-style: none;
    margin-top: 0.75rem;
}

.service-card ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.service-card:hover ul li {
    color: var(--color-text-main);
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.service-card:hover ul li::before {
    transform: translateX(3px);
}

/* ==========================================================================
   Stats / Milestones
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);    /* 2-col grid on mobile */
    gap: 1.5rem 1rem;
    text-align: center;
    margin-top: 2rem;
}

@media (min-width: 480px) {
    .stats-grid { gap: 2rem 1.5rem; }
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);   /* All 4 in a row on desktop */
        margin-top: 3rem;
    }
}

.stat-item h3 {
    font-size: clamp(2rem, 7vw, 3rem);     /* Responsive — was hard 3rem */
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: var(--color-primary-light);
    margin-bottom: 0;
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */

.cta-strip {
    padding: 3rem 1.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-strip { padding: 4rem 2rem; }
}

.cta-strip .btn-group {
    justify-content: center;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .cta-strip .btn-group { margin-top: 2rem; }
}

/* ==========================================================================
   Why Choose Us (USP Section)
   ========================================================================== */

.usp-section {
    background-color: #FAFAF8;
    border-top: 4px solid var(--color-accent);
    /* Warm ambient glow to distinguish section from plain white */
    background-image:
        radial-gradient(ellipse 90% 60% at 50% 0%,   rgba(245, 175, 90, 0.22) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 0% 100%,  rgba(229, 120, 42, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 80%, rgba(245, 155, 42, 0.10) 0%, transparent 60%);
}

.usp-section h2,
.usp-section h3,
.usp-section p {
    color: var(--color-text-main);
}

.usp-heading {
    font-family: var(--font-heading);
    color: var(--color-accent) !important;
    font-size: clamp(1.2rem, 3vw, 1.9rem);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    display: inline-block;
    position: relative;
}

@media (min-width: 768px) {
    .usp-heading { margin-bottom: 1.5rem; }
}

.usp-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: 2px;
}

/* USP List — 1 col on mobile, 2 col on tablet+ */
.usp-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;       /* Mobile: single column */
    gap: 1rem;
    max-width: 1000px;
}

@media (min-width: 640px) {
    .usp-list {
        grid-template-columns: repeat(2, 1fr);   /* 2-col on tablet+ */
        gap: 1.25rem;
        margin-top: 2.5rem;
    }
}

@media (min-width: 768px) {
    .usp-list { margin-top: 3rem; }
}

.usp-item {
    background-color: rgba(229, 163, 42, 0.05);
    padding: 1.25rem 1.25rem;    /* Mobile: tighter padding */
    border-radius: var(--border-radius);
    border: 1px solid rgba(229, 163, 42, 0.15);
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .usp-item { padding: 1.75rem 2rem; }
}

.usp-item:hover {
    background-color: rgba(229, 163, 42, 0.10);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(229, 163, 42, 0.15);
    border-color: rgba(229, 163, 42, 0.35);
}

@media (hover: none) {
    .usp-item:hover { transform: none; }
}

.usp-item strong {
    color: var(--color-accent);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.4rem;
}

.usp-item p,
.usp-item {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-muted);
    padding: 3rem 1.25rem 1.5rem;
    border-top: 4px solid var(--color-accent);
}

@media (min-width: 768px) {
    .site-footer { padding: 4rem 2rem 2rem; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;      /* Stacked on mobile */
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        margin-bottom: 3rem;
    }
}

.footer-widget h4 {
    color: var(--color-primary-light);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
    padding: 0.15rem 0;    /* Better tap targets */
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0;
}
