/* ==========================================
   INNOVATIVE ENGINEERING SOLUTIONS
   Design System & Styles
   ========================================== */

/* ==========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================== */
:root {
    /* Primary Colors - Emerald Green */
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;
    --primary-300: #6ee7b7;
    --primary-400: #34d399;
    --primary-500: #10b981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065f46;
    --primary-900: #064e3b;

    /* Secondary Colors - Blue */
    --secondary-50: #eff6ff;
    --secondary-100: #dbeafe;
    --secondary-200: #bfdbfe;
    --secondary-300: #93c5fd;
    --secondary-400: #60a5fa;
    --secondary-500: #3b82f6;
    --secondary-600: #2563eb;
    --secondary-700: #1d4ed8;
    --secondary-800: #1e40af;
    --secondary-900: #1e3a8a;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: var(--primary-500);
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index */
    --z-nav: 1000;
    --z-modal: 1100;
    --z-float: 1050;

    /* Glassmorphism & Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    --glow-primary: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header.left {
    text-align: left;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-300);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: block;
    }
}

.nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    /* FORCED CENTER */
    justify-content: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    text-align: center;
    gap: var(--space-4);
    /* Increased gap for better spacing */
}

.nav-menu.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
        gap: var(--space-1);
    }
}

.nav-link {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-cta {
    background: var(--primary-500);
    color: var(--white) !important;
}

.nav-cta:hover {
    background: var(--primary-600) !important;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(4px);
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translateY(0);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translateY(-2px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px var(--space-6) var(--space-8);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: calc(80px + var(--space-16)) var(--space-6) var(--space-20);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 50%, var(--primary-900) 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-8) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--primary-300);
    margin-bottom: var(--space-6);
    animation: fadeInDown 0.8s ease-out;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary-500);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 12px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-7xl);
    }
}

.title-accent {
    background: linear-gradient(135deg, var(--primary-400), var(--secondary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    color: var(--gray-300);
    margin-bottom: var(--space-4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Stats Bar */
.stats-bar {
    position: relative;
    margin-top: var(--space-8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-6);
    background: transparent;
    /* Removed blocking background on mobile */
    backdrop-filter: none;
    /* Removed blur on mobile */
    border-top: none;
    /* Removed border on mobile */
    padding: var(--space-4) 0;
    width: 100%;
}

@media (min-width: 768px) {
    .stats-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.05);
        /* Restore for desktop */
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: var(--space-6) var(--space-8);
    }
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-400);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-top: var(--space-1);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    display: none;
}

@media (min-width: 768px) {
    .stat-divider {
        display: block;
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-text {
    margin-bottom: var(--space-8);
}

.about-text p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--radius-lg);
    color: var(--white);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.feature-text p {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(16, 185, 129, 0.2) 100%);
}

.leadership-card {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
}

@media (max-width: 767px) {
    .leadership-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: var(--space-6);
    }
}

.leadership-card h4 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-600);
    margin-bottom: var(--space-4);
}

.leader {
    margin-bottom: var(--space-3);
}

.leader:last-child {
    margin-bottom: 0;
}

.leader strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
}

.leader span {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/services-pattern.png') center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.services-grid {
    display: grid;
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    color: var(--primary-600);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-500);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

/* ==========================================
   CAPABILITIES SECTION
   ========================================== */
.capabilities {
    background: linear-gradient(135deg, var(--gray-900), var(--primary-900));
    color: var(--white);
    position: relative;
}

.capabilities::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/capabilities-bg.png') center/cover no-repeat;
    opacity: 0.25;
    pointer-events: none;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 140px;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.step-content h4 {
    font-size: var(--text-lg);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.step-content p {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    margin-top: 30px;
    display: none;
}

@media (min-width: 768px) {
    .process-connector {
        display: block;
    }
}

/* ... existing reset ... */

/* ==========================================
   OUR INFRASTRUCTURE (MERGED SHOWROOM)
   ========================================== */
.infra-container {
    position: relative;
    z-index: 1;
}

.infra-container {
    position: relative;
    z-index: 1;
}

.infra-group {
    margin-bottom: var(--space-20);
}

.infra-group-title {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-500);
    margin-bottom: var(--space-8);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.infra-group-title::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, var(--primary-500), transparent);
    opacity: 0.3;
}

.infra-grid {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .infra-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.infra-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.infra-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-shine);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.infra-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-300);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08);
    /* Soft primary glow */
}

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

.infra-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--primary-50);
    color: var(--primary-600);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--primary-100);
    z-index: 2;
}

.infra-image {
    width: 100%;
    height: 220px;
    margin-bottom: var(--space-6);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #fdfdfd;
    /* White image background */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--gray-50);
}

.infra-image img {
    width: 95%;
    height: 95%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.infra-card:hover .infra-image img {
    transform: scale(1.08);
}

.infra-info h4 {
    font-size: var(--text-xl);
    color: var(--gray-900);
    margin-bottom: var(--space-2);
    font-weight: 700;
}

.infra-subtitle {
    font-size: var(--text-xs);
    color: var(--primary-600);
    margin-bottom: var(--space-4);
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.infra-specs {
    list-style: none;
    margin-top: auto;
    display: grid;
    gap: var(--space-3);
}

.infra-specs li {
    font-size: var(--text-xs);
    color: var(--gray-500);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--gray-100);
}

.infra-specs li span:first-child {
    flex-shrink: 0;
}

.infra-specs li span:last-child {
    color: var(--gray-800);
    font-weight: 600;
    text-align: right;
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */

/* Filter Buttons */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
}

.filter-btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary-400);
    color: var(--primary-600);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-color: var(--primary-500);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* Gallery Grid */
.portfolio-gallery {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all var(--transition-base);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 30%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-4);
    opacity: 1;
    /* Always visible */
    transition: all var(--transition-base);
    /* Keep transition for potential other effects */
}

/* Removed hover opacity change since it's always visible */
.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
    /* Slightly darker on hover for focus */
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
    line-height: 1.2;
}

.gallery-overlay p {
    color: var(--primary-300);
    font-size: var(--text-xs);
}

/* Legacy portfolio-grid support */
.portfolio-grid {
    display: grid;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
}

@media (max-width: 767px) {
    .portfolio-item.large {
        grid-row: 1;
        aspect-ratio: 4/3;
    }
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    opacity: 1;
    /* Always visible */
    transition: all var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 60%);
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.portfolio-overlay p {
    color: var(--gray-300);
    font-size: var(--text-sm);
}

/* ==========================================
   CLIENTS SECTION
   ========================================== */
.clients {
    background: var(--gray-50);
    overflow: hidden;
}

.clients-carousel {
    overflow: hidden;
    margin: 0 calc(-1 * var(--space-6));
    padding: var(--space-8) 0;
}

.clients-track {
    display: flex;
    gap: var(--space-8);
    animation: scroll 30s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    min-width: 120px;
}

.client-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.client-logo:hover img {
    filter: none;
    opacity: 1;
}

.client-logo span {
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-align: center;
}

.client-text-logo {
    height: 60px;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--gray-400);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.client-logo:hover .client-text-logo {
    color: var(--primary-600);
    border-color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 60%;
    background: url('assets/contact-bg.png') right bottom/contain no-repeat;
    opacity: 0.2;
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}



.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--radius-lg);
    color: var(--white);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
}

.contact-text a,
.contact-text p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--primary-600);
}

.works-address {
    margin-top: var(--space-2);
}

.gst-info {
    display: inline-block;
    background: var(--gray-100);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--gray-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
    text-align: center;
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-row {
    display: grid;
    gap: var(--space-4);
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

input,
textarea,
select {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--gray-400);
}

select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 44px;
}

select option[value=""][disabled] {
    color: var(--gray-400);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-4);
}

.footer-brand h3 {
    font-size: var(--text-lg);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--primary-400);
    margin-bottom: var(--space-2);
}

.footer-tagline {
    color: var(--gray-500) !important;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

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

.footer-services ul li {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

.footer-contact p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--primary-400);
}

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

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: var(--space-1);
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-float);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: var(--radius-full);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */
@media (max-width: 480px) {
    :root {
        --text-5xl: 2.5rem;
        --text-7xl: 3rem;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .stats-bar {
        padding: var(--space-4);
        gap: var(--space-4);
    }

    .stat-number {
        font-size: var(--text-2xl);
    }
}