/* ==========================================================================
   EDGE HOME SOLUTIONS (EHS) - MASTER STYLESHEET
   Clean, Bright Architectural Interior Fit-Out & Cabinetry Aesthetics
   ========================================================================== */

:root {
    /* Brand Palette (From EHS Official Logo & Identity) */
    --ehs-red: #C62828;
    --ehs-red-dark: #991B1B;
    --ehs-red-light: #FEE2E2;
    --ehs-blue: #1565C0;
    --ehs-blue-dark: #0D47A1;
    --ehs-blue-light: #DBEAFE;
    --ehs-green: #2E7D32;
    --ehs-green-dark: #166534;
    --ehs-green-light: #DCFCE7;
    --ehs-gold: #C5A059;
    --ehs-gold-hover: #B38F46;
    --ehs-gold-light: #FDF8ED;

    /* Dark Mode (Default Theme - Luxury Architectural Aesthetic) */
    --bg-page: #0F172A;
    --bg-surface: #1E293B;
    --bg-surface-elevated: #1E293B;
    --bg-subtle: #334155;
    --border-color: #334155;
    --border-focus: #C5A059;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-light: #CBD5E1;
    --header-bg: rgba(15, 23, 42, 0.96);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --card-hover-y: -6px;
}

/* Light Theme for users who prefer bright daytime browsing */
body.light-mode {
    --bg-page: #FFFFFF;
    --bg-surface: #F8FAFC;
    --bg-surface-elevated: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --border-color: #E2E8F0;
    --border-focus: #C5A059;
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-light: #64748B;
    --header-bg: rgba(255, 255, 255, 0.96);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: clip;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* ==========================================================================
   TOP HEADER BAR
   ========================================================================== */
.top-bar {
    background: #0B1120;
    color: #94A3B8;
    padding: 0.55rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.top-contact-link {
    color: #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-contact-link:hover {
    color: var(--ehs-gold);
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.2);
}

.top-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #CBD5E1;
}

.top-badge {
    background: rgba(197, 160, 89, 0.18);
    color: #E5C378;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 600;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-person {
    color: #E2E8F0;
}

.contact-person strong {
    color: #F8FAFC;
}

.top-social-link {
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.top-social-link.whatsapp-link {
    background: rgba(46, 125, 50, 0.25);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.top-social-link:hover {
    background: var(--ehs-gold);
    color: #0F172A;
}

/* ==========================================================================
   MAIN NAVIGATION HEADER
   ========================================================================== */
header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.85rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.2rem;
    position: relative;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ehs-red);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--ehs-red);
}

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

.nav-item {
    position: relative;
}

.caret {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.nav-item:hover .caret {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 320px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.6rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-icon {
    font-size: 1.35rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border-radius: 8px;
    flex-shrink: 0;
}

.dropdown-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-main);
    font-weight: 600;
}

.dropdown-item small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.dropdown-item:hover {
    background: var(--ehs-gold-light);
}

body.dark-mode .dropdown-item:hover {
    background: rgba(197, 160, 89, 0.15);
}

.dropdown-item:hover strong {
    color: var(--ehs-red);
}

/* Header Buttons */
.theme-toggle-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--ehs-gold);
    transform: scale(1.08);
}

.btn-ehs-cta {
    background: linear-gradient(135deg, #2E7D32 0%, #1E3A8A 100%);
    color: #FFFFFF !important;
    padding: 0.7rem 1.4rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-ehs-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.45);
    background: linear-gradient(135deg, #1B5E20 0%, #0D47A1 100%);
}

.btn-ehs-cta .arrow {
    transition: transform 0.2s ease;
}

.btn-ehs-cta:hover .arrow {
    transform: translateX(3px);
}

.mobile-menu-toggle, .mobile-menu-close {
    display: none;
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS & GLOBAL COMPONENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 1.8rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--ehs-red);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(198, 40, 40, 0.28);
}

.btn-primary:hover {
    background: var(--ehs-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 40, 40, 0.38);
    color: #FFFFFF;
}

.btn-gold {
    background: var(--ehs-gold);
    color: #0F172A;
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
    font-weight: 700;
}

.btn-gold:hover {
    background: var(--ehs-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.45);
    color: #0F172A;
}

.btn-secondary {
    background: #0F172A;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: #1E293B;
    transform: translateY(-2px);
    color: #FFFFFF;
}

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

.btn-outline:hover {
    border-color: var(--ehs-gold);
    color: var(--ehs-gold);
    transform: translateY(-2px);
}

/* Section Containers & Badges */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5.5rem 0;
}

.section-padding-sm {
    padding: 3.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-block;
    color: var(--ehs-red);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
    position: relative;
    padding: 4px 12px;
    background: rgba(198, 40, 40, 0.2);
    color: #F87171;
    border-radius: 20px;
}

body.light-mode .section-tag {
    background: var(--ehs-red-light);
    color: var(--ehs-red);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ==========================================================================
   HOMEPAGE: HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 4.5rem 0 5.5rem 0;
    background: radial-gradient(circle at 85% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 15% 80%, rgba(21, 101, 192, 0.05) 0%, transparent 60%),
                var(--bg-page);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-badge-pill .pill-year {
    color: var(--ehs-red);
    font-weight: 800;
}

.hero-badge-pill .pill-dot {
    width: 6px;
    height: 6px;
    background: var(--ehs-green);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.3rem;
    letter-spacing: -1px;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--ehs-red) 0%, var(--ehs-blue) 50%, var(--ehs-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-color);
}

.stat-item .stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual Card */
.hero-visual-wrap {
    position: relative;
}

.hero-main-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 3px solid #FFFFFF;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.2);
    transition: transform 0.4s ease;
}

body.dark-mode .hero-main-card {
    border-color: #334155;
}

.hero-main-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-main-card:hover img {
    transform: scale(1.04);
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-surface-elevated);
    padding: 1.2rem 1.6rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 280px;
}

.hero-floating-card .card-icon {
    font-size: 1.8rem;
    background: var(--ehs-green-light);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-floating-card h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.hero-floating-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   SERVICES SHOWCASE
   ========================================================================== */
.services-section {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-surface-elevated);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(var(--card-hover-y));
    box-shadow: var(--shadow-lg);
    border-color: var(--ehs-gold);
}

.service-card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--bg-subtle);
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
    transform: scale(1.06);
}

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

.service-features-list {
    list-style: none;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features-list li::before {
    content: "✓";
    color: var(--ehs-green);
    font-weight: 800;
    font-size: 0.9rem;
}

.service-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ehs-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-link:hover {
    color: var(--ehs-red-dark);
    gap: 9px;
}

/* ==========================================================================
   PORTFOLIO GALLERY GRID (REAL 9 PROJECTS FROM GRAPHIC)
   ========================================================================== */
.portfolio-section {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-color);
}

.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.55rem 1.3rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #0F172A;
    color: #FFFFFF;
    border-color: #0F172A;
}

body.dark-mode .filter-btn:hover, body.dark-mode .filter-btn.active {
    background: var(--ehs-gold);
    color: #0F172A;
    border-color: var(--ehs-gold);
}

/* True Masonry Gallery Layout */
.gallery-grid {
    column-count: 3;
    column-gap: 1.8rem;
    width: 100%;
}

.project-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.8rem;
    display: inline-block;
    width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ehs-gold);
}

.project-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-img-wrap img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #FFFFFF;
}

@media (hover: hover) and (pointer: fine) {
    .project-item:hover .project-overlay {
        opacity: 1;
    }
}

/* Touch devices: single tap toggles description overlay */
.project-item.show-desc .project-overlay,
.project-overlay.show-desc {
    opacity: 1 !important;
    pointer-events: auto;
}

.project-cat {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ehs-gold);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.project-desc {
    font-size: 0.82rem;
    color: #E2E8F0;
    line-height: 1.4;
}

/* ==========================================================================
   THE 6-STEP PROCESS
   ========================================================================== */
.process-section {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2.2rem 1.8rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--ehs-gold);
}

.step-number {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--ehs-red);
    line-height: 1;
    margin-bottom: 1.2rem;
    opacity: 0.85;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    color: var(--text-main);
}

.step-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   WHY CHOOSE US (6 STRENGTHS FROM PDF)
   ========================================================================== */
.why-us-section {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--ehs-gold);
}

.why-icon-letter {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ehs-red);
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.why-card:nth-child(2) .why-icon-letter { background: var(--ehs-blue); box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3); }
.why-card:nth-child(3) .why-icon-letter { background: var(--ehs-green); box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3); }
.why-card:nth-child(4) .why-icon-letter { background: var(--ehs-gold); color: #0F172A; box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3); }
.why-card:nth-child(5) .why-icon-letter { background: #6366F1; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
.why-card:nth-child(6) .why-icon-letter { background: #0D9488; box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3); }

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   CALL TO ACTION & QUOTE REQUEST
   ========================================================================== */
.cta-banner-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.cta-banner-content h2 {
    font-size: 2.6rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.cta-banner-content p {
    font-size: 1.15rem;
    color: #CBD5E1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-contact-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.2rem;
    backdrop-filter: blur(10px);
}

.cta-contact-box h3 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.contact-direct-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.contact-direct-row .c-icon {
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-direct-row a {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL
   ========================================================================== */
.testimonials-section {
    padding: 5.5rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 2.5rem auto 0 auto;
}

.testimonial-track-container {
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 3.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 160, 89, 0.4);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-size: 6rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--ehs-gold);
    opacity: 0.2;
    pointer-events: none;
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--text-main);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ehs-red), var(--ehs-gold));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(184, 20, 20, 0.25);
}

.author-meta strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
}

.author-meta span {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.author-meta .project-tag {
    display: inline-block;
    margin-top: 4px;
    background: rgba(197, 160, 89, 0.15);
    color: var(--ehs-gold);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.carousel-arrow:hover {
    background: var(--ehs-red);
    color: #FFFFFF;
    border-color: var(--ehs-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(184, 20, 20, 0.3);
}

.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--ehs-gold);
    width: 28px;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
    }
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    .testimonial-quote {
        font-size: 1.05rem;
        line-height: 1.65;
    }
    .testimonial-card::before {
        font-size: 4rem;
        top: 1rem;
        right: 1.5rem;
    }
}

/* ==========================================================================
   FORMS & BOOKING COMPONENT
   ========================================================================== */
.quote-form-card {
    background: var(--bg-surface-elevated);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--ehs-gold);
    background: var(--bg-surface-elevated);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #0B1120;
    color: #94A3B8;
    padding: 4.5rem 4rem 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo-wrap {
    margin-bottom: 1.2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
    color: #CBD5E1;
}

.footer-highlights {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.f-badge {
    background: rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.social-icon.whatsapp {
    background: rgba(46, 125, 50, 0.35);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.social-icon:hover {
    background: var(--ehs-gold);
    color: #0F172A;
}

.footer-col h3 {
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--ehs-gold);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: #94A3B8;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

/* Contact Box in Footer */
.contact-card-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.4rem;
}

.contact-person-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #CBD5E1;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    display: inline-block;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.footer-contact-list li {
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
}

.footer-contact-list a {
    color: #E2E8F0;
    font-weight: 600;
}

.footer-contact-list a:hover {
    color: var(--ehs-gold);
}

.btn-footer-quote {
    display: block;
    text-align: center;
    background: var(--ehs-red);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.btn-footer-quote:hover {
    background: var(--ehs-red-dark);
}

.footer-bottom-bar {
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #64748B;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-bar strong {
    color: #CBD5E1;
}

.footer-bottom-services {
    color: #94A3B8;
    font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   Complete elimination of horizontal scrolling and mobile squishing
   ========================================================================== */
html, body {
    overflow-x: clip !important;
    max-width: 100%;
    width: 100%;
    position: relative;
}

/* Responsive Two-Column Layout */
.responsive-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
}

.responsive-two-col.align-start {
    align-items: start;
}

.responsive-two-col-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 100%;
}

.responsive-two-col-media img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

/* Inner 2-column feature boxes (Mission/Vision, Services) */
.inner-two-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
    width: 100%;
}

/* Responsive Form Rows */
.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .top-bar {
        padding: 0.5rem 1.5rem;
    }
    header {
        padding: 0.8rem 1.5rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .gallery-grid {
        column-count: 2 !important;
        column-gap: 1.5rem !important;
    }
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .cta-banner-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 900px) {
    .responsive-two-col {
        grid-template-columns: 1fr !important;
        gap: 2.2rem !important;
    }
    .responsive-two-col > * {
        order: unset !important;
        width: 100% !important;
    }
    .responsive-two-col-media img {
        height: 280px !important;
        max-height: 320px !important;
    }
    .quote-form-card {
        padding: 1.8rem !important;
    }
}

@media screen and (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
    header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        padding: 0.85rem 1.25rem !important;
    }
    .logo-img {
        height: 60px !important;
    }
    .container {
        padding: 0 1.25rem !important;
    }
    .section-padding {
        padding: 3.5rem 0 !important;
    }
    .section-header {
        margin-bottom: 2.2rem !important;
    }
    .section-title {
        font-size: 1.95rem !important;
        line-height: 1.2 !important;
    }
    .section-subtitle {
        font-size: 0.95rem !important;
    }
    
    /* Mobile Drawer Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        width: 32px;
        height: 26px;
        justify-content: center;
        cursor: pointer;
        z-index: 1001;
    }
    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-main);
        border-radius: 2px;
    }
    
    /* Mobile Drawer Menu */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 86% !important;
        max-width: 350px !important;
        height: 100vh !important;
        background: var(--bg-surface-elevated) !important;
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.35) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 4.5rem 1.6rem 2.5rem 1.6rem !important;
        gap: 0.8rem !important;
        transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 3000 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    .nav-menu.open {
        right: 0 !important;
    }
    .mobile-menu-close {
        display: block !important;
        position: absolute;
        top: 15px;
        right: 18px;
        font-size: 2.2rem;
        color: var(--text-main);
        cursor: pointer;
        line-height: 1;
    }
    .nav-item {
        width: 100% !important;
        position: relative !important;
    }
    .nav-link {
        font-size: 1.05rem !important;
        padding: 0.65rem 0.2rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid var(--border-color) !important;
        background: var(--bg-subtle) !important;
        border-radius: 12px !important;
        padding: 0.6rem !important;
        display: none !important;
        flex-direction: column !important;
        gap: 4px !important;
        transition: all 0.25s ease !important;
    }
    
    /* Drawer Submenu: shows on hover OR on mobile tap */
    .nav-item:hover .dropdown-menu,
    .nav-item.mobile-dropdown-open .dropdown-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 800px !important;
        margin-top: 0.4rem !important;
    }
    .nav-item:hover .caret,
    .nav-item.mobile-dropdown-open .caret {
        transform: rotate(180deg) !important;
    }
    .dropdown-item {
        padding: 0.65rem 0.8rem !important;
        white-space: normal !important;
        border-radius: 8px !important;
    }
    .dropdown-item strong {
        font-size: 0.9rem !important;
    }
    .dropdown-item small {
        font-size: 0.75rem !important;
    }
    .btn-ehs-cta {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 1rem !important;
        padding: 0.85rem !important;
    }
    
    .hero-title {
        font-size: 2.1rem !important;
    }
    .hero-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .gallery-grid {
        column-count: 1 !important;
        column-gap: 0 !important;
    }
    .process-timeline {
        grid-template-columns: 1fr !important;
    }
    .why-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .footer-bottom-bar {
        flex-direction: column !important;
        text-align: center !important;
    }
}

@media screen and (max-width: 640px) {
    .inner-two-grid, .form-row-two {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }
    .quote-form-card {
        padding: 1.4rem 1.1rem !important;
        border-radius: 16px !important;
    }
    .quote-form-card h3 {
        font-size: 1.3rem !important;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-main-card img {
        height: 280px !important;
    }
    .hero-floating-card {
        position: static !important;
        margin-top: 1rem;
        max-width: 100% !important;
    }
}

