/* ============================================
   Inno-Tech Technology Limited
   Design System v2.0 — Modern & Refined
   ============================================ */

/* ============================================
   1. CSS Variables — Expanded Palette
   ============================================ */
:root {
    /* Primary palette */
    --primary: #0056b3;
    --primary-dark: #003d80;
    --primary-light: #0070e0;
    --primary-pale: #e8f1fb;

    /* Secondary palette */
    --secondary: #1a2332;
    --secondary-light: #2c3e50;

    /* Accent */
    --accent: #e74c3c;
    --accent-hover: #c0392b;

    /* Neutral */
    --text: #2d3436;
    --text-muted: #636e72;
    --text-light: #b2bec3;

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f7f8fa;
    --bg-lighter: #fcfcfd;
    --bg-dark: #1a2332;

    /* Borders */
    --border: #e0e4e8;
    --border-light: #eef0f2;

    /* Shadows — 4-level elevation system */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);

    /* Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 150ms var(--ease);
    --transition: 300ms var(--ease);
    --transition-slow: 500ms var(--ease);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Layout */
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-white);
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--primary-dark); }

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

::selection {
    background: var(--primary);
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   3. Header & Navigation — Refined
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition), background var(--transition);
}

.header.header-scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 44px;
    transition: transform var(--transition-fast);
}
.logo:hover img {
    transform: scale(1.04);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu > li > a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a .fa-chevron-down {
    font-size: 0.65rem;
    margin-left: 0.3rem;
    transition: transform var(--transition-fast);
}
.dropdown:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    border-radius: var(--radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    list-style: none;
    border: 1px solid var(--border-light);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li { margin: 0; }
.dropdown-menu a {
    padding: 0.6rem 1rem;
    display: block;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.dropdown-menu a:hover {
    background: var(--primary-pale);
    color: var(--primary);
}

.quick-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.phone {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    transition: color var(--transition-fast);
}
.phone i { margin-right: 0.4rem; color: var(--primary); }
.phone:hover { color: var(--primary); }

/* ============================================
   4. Buttons — Refined System
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    font-family: var(--font-body);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.btn-white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-success {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    color: #fff !important;
}

/* ============================================
   5. Hero Sections — Differentiated
   ============================================ */

/* Homepage Hero — full screen */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0,30,60,0.82) 0%, rgba(0,56,100,0.65) 60%, rgba(0,86,179,0.45) 100%), url('../assets/image/hero-building.jpg') center/cover no-repeat;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: var(--header-height);
    overflow: hidden;
}

/* Subtle animated gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    color: #fff;
}
.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

/* Page Hero — shorter, for inner pages */
.page-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: var(--header-height);
    text-align: center;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-white), transparent);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.75rem; color: #fff; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto; }

/* Per-page hero backgrounds */
.about-hero {
    background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(44,62,80,0.7) 100%), url('../assets/image/government-building.jpg') center/cover no-repeat;
}
.service-hero {
    background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(44,62,80,0.7) 100%), url('../assets/image/data-center.jpg') center/cover no-repeat;
}
.projects-hero {
    background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(44,62,80,0.7) 100%), url('../assets/image/central-business-tower.jpg') center/cover no-repeat;
}
.contact-hero {
    background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(44,62,80,0.7) 100%), url('../assets/image/municipal-office.jpg') center/cover no-repeat;
}

/* ============================================
   6. Section Patterns — Consistent spacing
   ============================================ */
.section {
    padding: 5rem 0;
}
.section-sm { padding: 3rem 0; }
.section-lg { padding: 6rem 0; }
.section-alt {
    background: var(--bg-light);
}

/* Projects grid section */
.projects-section {
    padding: 2rem 0 5rem;
}

/* Why choose grid — extra top spacing */
.why-choose-grid {
    margin-top: 2rem;
}

/* Contact details block */
.contact-details {
    margin-top: 1.5rem;
}

/* Contact form */
#contactForm {
    margin-top: 1rem;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}
.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ============================================
   7. Grid Systems
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* ============================================
   8. Cards — Refined with hover lift
   ============================================ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Service cards (homepage) */
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width var(--transition);
    border-radius: 0 0 2px 2px;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before {
    width: 80%;
}

.service-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-pale);
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.service-card:hover .card-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}
.service-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.service-card p { font-size: 0.925rem; color: var(--text-muted); margin: 0; }

/* Feature cards (why choose us) */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    transition: transform var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
}
.feature-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pale), #d4e6fa);
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: transform var(--transition);
}
.feature-card:hover .card-icon {
    transform: scale(1.1);
}

/* Value cards (about page) */
.value-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-pale);
}
.value-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(0,86,179,0.25);
}
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Team cards */
.team-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.team-card .team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pale), var(--primary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.team-card h3 { margin-bottom: 0.25rem; }
.team-card .team-role {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.team-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Why choose items */
.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.why-choose-item:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateX(4px);
}
.why-choose-icon {
    background: var(--primary-pale);
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.why-choose-content h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.why-choose-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Project cards */
.project-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.project-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.project-card:hover .project-image img {
    transform: scale(1.08);
}
.project-image .project-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.project-details {
    padding: 1.5rem;
}
.project-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}
.project-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}
.project-location i { color: var(--primary); font-size: 0.8rem; }
.project-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Featured project */
.featured-project {
    padding: 5rem 0;
}
.featured-project-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.featured-project-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.featured-project-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--ease);
}
.featured-project-image:hover img {
    transform: scale(1.03);
}
.featured-project-content h2 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.featured-project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   9. Mission & Vision
   ============================================ */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.mv-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.mv-card.mission::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.mv-card.vision::before {
    background: linear-gradient(90deg, var(--primary-light), #4da3ff);
}
.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.mv-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}
.mv-card.mission .card-icon {
    background: var(--primary-pale);
    color: var(--primary);
}
.mv-card.vision .card-icon {
    background: linear-gradient(135deg, var(--primary-pale), #d4e6fa);
    color: var(--primary);
}
.mv-card h3 { color: var(--primary); margin-bottom: 0.75rem; }
.mv-card p { font-size: 0.95rem; margin: 0; }

/* ============================================
   10. Services Page Specific
   ============================================ */
.service-section {
    padding: 5rem 0;
}
.service-section:nth-child(even) {
    background: var(--bg-light);
}

.service-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.service-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--ease);
}
.service-image:hover img {
    transform: scale(1.04);
}

.service-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--text);
}
.service-features li i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ============================================
   11. About Page Specific
   ============================================ */
.about-section {
    padding: 5rem 0;
}
.about-section:nth-child(even) {
    background: var(--bg-light);
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--ease);
}
.about-image:hover img {
    transform: scale(1.04);
}
.about-content h2 {
    color: var(--primary);
    margin-bottom: 1.25rem;
}

/* ============================================
   12. Testimonials — Enhanced
   ============================================ */
.testimonials {
    padding: 5rem 0;
}
.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    max-width: 700px;
    margin: 2rem auto 0;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 2rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-pale);
    line-height: 1;
    pointer-events: none;
}
.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.client-details { text-align: left; }
.client-name { font-weight: 700; color: var(--secondary); }
.client-position { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================
   13. CTA Section
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.cta h2 { color: #fff; margin-bottom: 0.75rem; }
.cta p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   14. Footer — Refined
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    height: 38px;
    margin-bottom: 1rem;
}
.footer-about p { font-size: 0.9rem; opacity: 0.75; margin: 0; }
.footer h3 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}
.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}
.footer-links ul { list-style: none; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}
.footer-social h3 { margin-bottom: 1.25rem; }
.social-links {
    display: flex;
    gap: 0.75rem;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}
.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ============================================
   15. Contact Page Specific
   ============================================ */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-icon {
    background: var(--primary);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.contact-text h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-text p, .contact-text a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}
.contact-text a:hover { color: var(--primary); }

.contact-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.contact-hours h3 { font-size: 1rem; margin-bottom: 1rem; }
.hours-list { list-style: none; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   16. Form Styles
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}
.form-control.error {
    border-color: var(--accent);
}
.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
textarea.form-control {
    min-height: 140px;
    resize: vertical;
}
.form-error {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* ============================================
   17. Projects Filter
   ============================================ */
.projects-filter {
    padding: 3rem 0 0;
    text-align: center;
}
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}
.filter-btn {
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
.filter-btn:hover {
    background: var(--primary-pale);
    color: var(--primary);
    border-color: var(--primary-pale);
}
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,86,179,0.3);
}

/* ============================================
   18. Map Section
   ============================================ */
.map-section {
    padding: 5rem 0;
    background: var(--bg-light);
}
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
    border: 1px solid var(--border-light);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   19. Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.35);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

/* ============================================
   20. Cookie Consent Banner
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.9);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-consent.active { transform: translateY(0); }
.cookie-consent p { margin: 0; font-size: 0.875rem; flex: 1; min-width: 200px; color: rgba(255,255,255,0.85); }
.cookie-consent a { color: var(--primary-light); text-decoration: underline; }
.cookie-consent div { display: flex; gap: 0.5rem; }
.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}
.cookie-accept {
    background: var(--primary);
    color: #fff;
}
.cookie-accept:hover { background: var(--primary-dark); }
.cookie-decline {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}
.cookie-decline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ============================================
   21. Animations
   ============================================ */

/* AOS compatibility — ensure AOS CSS can apply its initial states */
[data-aos] {
    will-change: transform, opacity;
}
/* Let AOS handle the actual opacity/transform transitions */
[data-aos].aos-animate {
    will-change: auto;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   22. Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================
   23. Page Loader
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-logo {
    width: 120px;
    height: auto;
    opacity: 0;
    animation: loaderFadeIn 0.5s ease forwards 0.1s;
}
.loader-bar {
    width: 80px;
    height: 3px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: loaderFadeIn 0.5s ease forwards 0.3s;
}
.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 3px;
    animation: loaderSlide 1.4s var(--ease) infinite;
}
@keyframes loaderFadeIn {
    to { opacity: 1; }
}
@keyframes loaderSlide {
    0% { left: -60%; }
    60% { left: 100%; }
    100% { left: 100%; }
}

/* ============================================
   24. Skip to Content (Accessibility)
   ============================================ */
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 99999;
    font-weight: 600;
    font-size: 0.9rem;
    transition: top 0.2s ease;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

/* ============================================
   25. Breadcrumb
   ============================================ */
.breadcrumb {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 0.6rem 0;
    margin-top: var(--header-height);
    font-size: 0.85rem;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}
.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: var(--border);
    font-size: 0.8rem;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 0.75rem; }

/* ============================================
   26. Search
   ============================================ */
.search-trigger {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    margin-left: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-trigger:hover {
    color: var(--primary);
    background: var(--primary-pale);
}

/* Nav toggle — hidden by default on desktop, shown in mobile media query */
.nav-toggle { display: none; }

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: scaleIn 0.25s ease;
}
.search-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 1rem;
    gap: 0.75rem;
}
.search-input {
    flex: 1;
    border: none;
    font-size: 1.1rem;
    font-family: var(--font-body);
    color: var(--text);
    padding: 0.5rem 0;
    outline: none;
    background: transparent;
}
.search-input::placeholder { color: var(--text-light); }
.search-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-close:hover {
    background: var(--bg-light);
    color: var(--text);
}
.search-results {
    max-height: 350px;
    overflow-y: auto;
}
.search-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}
.search-empty i { font-size: 2rem; margin-bottom: 0.75rem; opacity: 0.5; }
.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--primary-pale); }
.search-result-title { font-weight: 500; }
.search-result-title mark {
    background: #ffe08a;
    color: var(--text);
    padding: 0.05em 0.2em;
    border-radius: 2px;
}
.search-result-item i { color: var(--text-light); font-size: 0.85rem; }

body.search-open { overflow: hidden; }

/* ============================================
   27. Mobile CTA Bar
   ============================================ */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    z-index: 998;
    padding: 0.4rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.4rem);
    justify-content: space-around;
    transform: translateY(100%);
    transition: transform 0.3s var(--ease);
}
.mobile-cta-bar.visible {
    transform: translateY(0);
}
.mobile-cta-bar.hidden {
    transform: translateY(100%);
}
.mobile-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.mobile-cta-btn i { font-size: 1.1rem; }
.mobile-cta-call:hover { color: #27ae60; }
.mobile-cta-quote {
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    gap: 0.35rem;
    flex-direction: row;
}
.mobile-cta-quote:hover { background: var(--primary-dark); color: #fff; }
.mobile-cta-email:hover { color: var(--primary); }

/* ============================================
   28. Form Enhanced States
   ============================================ */
.form-control.valid {
    border-color: #27ae60;
}
.form-control.valid:focus {
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}
.form-success {
    background: #eafaf1;
    border: 1px solid #a3e4bc;
    color: #1e7e34;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    animation: fadeInUp 0.4s ease;
}
.form-success i { font-size: 1.2rem; flex-shrink: 0; }

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}
.char-counter.near-limit { color: #e67e22; }
.char-counter.at-limit { color: var(--accent); font-weight: 600; }

/* ============================================
   29. Focus & Accessibility
   ============================================ */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   30. Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--border-light);
    }
    .nav-menu.active { display: flex; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a {
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        display: block;
    }
    .nav-menu > li > a::after { display: none; }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        padding-left: 1rem;
    }
    .dropdown.active .dropdown-menu { display: block; }

    .nav-toggle {
        display: block;
        cursor: pointer;
        width: 28px;
        height: 20px;
        position: relative;
        background: none;
        border: none;
        padding: 0;
    }
    .nav-toggle span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--secondary);
        border-radius: 2px;
        transition: all 0.3s var(--ease);
    }
    .nav-toggle span:first-child { top: 0; }
    .nav-toggle span:nth-child(2) { top: 9px; }
    .nav-toggle span:last-child { top: 18px; }
    .nav-toggle.active span:first-child { transform: rotate(45deg); top: 9px; }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:last-child { transform: rotate(-45deg); top: 9px; }

    .quick-contact { display: none; }

    .hero { height: 80vh; min-height: 500px; }
    .page-hero { height: 300px; }

    .grid-2,
    .about-container,
    .service-container,
    .featured-project-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    .mission-vision { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .featured-project-stats { justify-content: center; }
    .cookie-consent { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero { height: 70vh; min-height: 420px; }
    .page-hero { height: 260px; }
    .section { padding: 3rem 0; }
    .section-lg { padding: 4rem 0; }
    .featured-project-stats { flex-direction: column; align-items: center; gap: 1rem; }
    .filter-buttons { flex-direction: column; align-items: center; }
    .back-to-top { bottom: 80px; }
    .search-container { width: 95%; }
}

/* Mobile CTA bar visibility */
@media (max-width: 768px) {
    .mobile-cta-bar { display: flex; }
    body.has-mobile-cta .cookie-consent { bottom: 70px; }
    .back-to-top { bottom: 80px; }
    .nav .search-trigger { margin-left: auto; margin-right: 0.5rem; }
}

/* Print styles */
@media print {
    .header, .footer, .back-to-top, .cookie-consent, .mobile-cta-bar,
    .search-overlay, .search-trigger, .nav-toggle, .cta, .breadcrumb {
        display: none !important;
    }
    body { font-size: 12pt; color: #000; }
    .hero, .page-hero { height: auto; min-height: auto; margin-top: 0; padding: 2rem 0; color: #000; background: none !important; }
    .hero h1, .page-hero h1 { color: #000; }
    a { color: #000; text-decoration: underline; }
}
