/* ==========================================================================
   CSS CUSTOM VARIABLES & GLOBAL RESET 
   ========================================================================== */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #4CAF50;
    --accent-color: #FF9800;
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
    --dark-color: #1F2937;
    --muted-color: #64748B;
    --border-light: #E2E8F0;
    
    --font-main: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-md: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   STRUCTURE LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.max-w-md { max-width: 650px; }
.max-w-lg { max-width: 900px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 64px; }
.mb-sm { margin-bottom: 12px; }
.p-md { padding: 24px; }
.p-lg { padding: 40px; }
.text-center { text-align: center; }
.text-xs { font-size: 0.85rem; }
.text-sm { font-size: 0.95rem; }
.large-text { font-size: 1.15rem; }
.text-muted { color: var(--muted-color); }
.text-accent { color: var(--accent-color); }
.w-full { width: 100%; }

.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.wrap-reverse { flex-wrap: wrap-reverse; }

.grid { display: grid; }
.grid-2-col { grid-template-columns: repeat(2, 1fr); }
.grid-3-col { grid-template-columns: repeat(3, 1fr); }
.grid-4-col { grid-template-columns: repeat(4, 1fr); }
.gap-md { gap: 24px; }
.gap-xl { gap: 48px; }

.section { padding: 80px 0; }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--bg-color); }

h1, h2, h3, h4, h5 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   NAVIGATION COMPONENT & IMAGE LOGO PATCH
   ========================================================================== */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.main-header.scrolled {
    padding: 4px 0;
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
}

/* Exact logo visual integration parameter */
.nav-logo-img {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .nav-logo-img {
    height: 52px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-color);
    position: relative;
    padding: 4px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    position: relative;
    transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition-smooth);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #225C25;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #E68A00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 152, 0, 0.15);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--muted-color);
    font-size: 1.05rem;
}

.text-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-color);
    font-weight: 600;
}
.text-link:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

/* ==========================================================================
   HERO / BANNER DESIGNS
   ========================================================================== */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 550px;
    background: url('https://images.unsplash.com/photo-1610348725531-843dff163e2c?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(31, 41, 55, 0.85), rgba(31, 41, 55, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.inner-hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2A3644 100%);
    color: var(--white);
    padding: 64px 0;
    text-align: center;
}

.inner-hero h1 { color: var(--white); font-size: 2.5rem; }
.inner-hero p { color: rgba(248, 250, 252, 0.75); margin-top: 8px; }

/* ==========================================================================
   CARDS & INFRASTRUCTURE ROWS
   ========================================================================== */
.card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-service .card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card-service h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card-service p { color: var(--muted-color); font-size: 0.95rem; }

.border-top-primary { border-top: 4px solid var(--primary-color); }
.border-top-secondary { border-top: 4px solid var(--secondary-color); }

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.feature-check {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--secondary-color);
    font-weight: bold;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.metrics-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}
.metric-block .metric-num { font-size: 3rem; font-weight: 700; color: var(--white); }
.metric-block .metric-label { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; text-transform: uppercase; }

.infra-row { display: flex; gap: 48px; }
.infra-row.reverse { flex-direction: row-reverse; }
.infra-img, .infra-text { flex: 1; }
.infra-text h3 { font-size: 1.75rem; margin-bottom: 16px; }

.gallery-preview-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); height: 250px; }
.preview-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.gallery-preview-card:hover .preview-img { transform: scale(1.05); }

.cta-section { background-color: var(--dark-color); color: var(--white); }
.cta-section h2 { color: var(--white); font-size: 2.25rem; }
.cta-section p { color: rgba(248, 250, 252, 0.8); margin-top: 12px; }

/* ==========================================================================
   PRODUCTION GALLERY GRID LAYER
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background-color: var(--border-light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.gallery-hover-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(46, 125, 50, 0.85); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition-smooth);
}
.gallery-hover-overlay span { color: var(--white); font-weight: 500; font-size: 1.1rem; transform: translateY(10px); transition: var(--transition-smooth); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-hover-overlay { opacity: 1; }
.gallery-item:hover .gallery-hover-overlay span { transform: translateY(0); }

/* Lightbox */
.lightbox {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.95); z-index: 2000; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: var(--white); font-size: 2.5rem; cursor: pointer; }
.lightbox-content-wrapper { max-width: 85%; max-height: 80%; text-align: center; }
.lightbox-content-wrapper img { max-height: 70vh; border-radius: var(--radius-sm); margin: 0 auto; }
.lightbox-caption { color: rgba(248, 250, 252, 0.9); margin-top: 16px; }

/* ==========================================================================
   CONTACT STYLES & FORM ELEMENTS
   ========================================================================== */
.contact-info-block { margin-top: 32px; }
.c-info-item { display: flex; gap: 16px; }
.c-icon { font-size: 1.5rem; background-color: var(--bg-color); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.c-info-item h5 { font-size: 1rem; margin-bottom: 2px;}
.c-info-item p { color: var(--muted-color); font-size: 0.95rem; }
.plain-link:hover { color: var(--primary-color); }

.modern-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.modern-form label { font-size: 0.85rem; font-weight: 500; }
.modern-form input, .modern-form textarea {
    font-family: var(--font-main); padding: 12px 16px; border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); outline: none; font-size: 0.95rem; background-color: var(--white); transition: var(--transition-smooth);
}
.modern-form input:focus, .modern-form textarea:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(46, 125, 80, 0.15); }
.form-feedback { padding: 12px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-top: 12px; }
.form-feedback.success { background-color: #DCFCE7; color: #166534; }
.hidden { display: none; }
.map-section { display: block; line-height: 0; }

/* ==========================================================================
   PRIVACY / COMPLIANCE
   ========================================================================== */
.legal-content h3 { font-size: 1.35rem; }
.legal-content p { color: var(--muted-color); margin-top: 8px; }

/* ==========================================================================
   FOOTER STRUCTURE & BACK TO TOP
   ========================================================================== */
.main-footer { background-color: var(--dark-color); color: rgba(248, 250, 252, 0.75); padding: 64px 0 24px 0; border-top: 4px solid var(--primary-color); }
.footer-title { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background-color: var(--accent-color); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--secondary-color); padding-left: 4px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 0.85rem; }

.back-to-top-btn {
    position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; background-color: var(--primary-color);
    color: var(--white); border: none; border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden;
    transition: var(--transition-smooth); box-shadow: var(--shadow-md); z-index: 999; font-weight: bold;
}
.back-to-top-btn.visible { opacity: 1; visibility: visible; }
.back-to-top-btn:hover { background-color: var(--accent-color); transform: translateY(-2px); }