@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@500;700;800&display=swap');

:root {
    --primary: #0B1120; /* Sleek deep slate */
    --primary-light: #1E293B;
    --secondary: #059669; /* Emerald green */
    --secondary-dark: #047857;
    --accent: #F59E0B; /* Solar gold */
    --bg-main: #FFFFFF;
    --bg-alt: #F4F6F8;
    --bg-dark: #0B1120;
    --text-main: #334155;
    --text-heading: #0B1120;
    --text-light: #F8FAFC;
    --border-color: #E2E8F0;
    
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(5, 150, 105, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* Minimal & Elegant Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1140px; /* Narrower container for minimal look */
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-alt); /* Very subtle off-white */
}

.section-dark {
    background-color: var(--bg-main); /* Removed dark blocks, keep it light and minimal */
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--text-heading);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.mt-4 { margin-top: 32px; }

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    margin-bottom: 12px;
}

/* Minimal Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 4px; /* Subtle radius */
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--secondary-dark);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    border-color: var(--primary);
}

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

/* Minimal Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 24px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-logo img {
    height: 60px !important;
}

.nav-hidden {
    transform: translateY(-100%);
}

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

.nav-logo img {
    height: 160px;
    object-fit: contain;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-light); /* White by default for dark banners */
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-light);
    padding: 8px;
    width: 44px;
    height: 44px;
    z-index: 1001;
    transition: color 0.3s ease;
}

.navbar.scrolled .hamburger {
    color: var(--text-heading);
}

.navbar-light .nav-links a {
    color: var(--text-main);
}
.navbar-light .hamburger {
    color: var(--text-heading);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 999;
    padding: 140px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--primary);
}

.mobile-menu .btn-primary {
    color: var(--bg-main);
    width: 100%;
}

/* Minimal Hero */
.hero {
    padding-top: 220px;
    min-height: 80vh; /* Not full screen, more balanced */
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--secondary);
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.hero-image {
    position: relative;
    overflow: hidden;
    height: 500px;
}

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

.hero-badge {
    display: none; /* Removed heavy badge for minimal look */
}

/* Clean Stats Section */
.stats-section {
    background-color: var(--bg-alt);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-image {
    position: relative;
    height: 100%;
}

.split-content h2 {
    margin-bottom: 20px;
}

.split-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    color: var(--secondary);
    width: 18px;
    height: 18px;
}

.feature-text {
    font-size: 0.85rem;
    color: var(--text-main);
}

/* Minimal Solutions Cards */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background-color: var(--bg-main);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.solution-card:hover {
    border-color: var(--secondary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.solution-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.solution-desc {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 300;
}

.solution-link {
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    color: var(--secondary);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.project-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.project-card:hover .project-image img {
    filter: grayscale(0%);
}

.project-info {
    padding: 16px;
}

.project-title {
    font-size: 1rem;
    margin-bottom: 4px;
}

.project-details {
    color: var(--text-main);
    font-size: 0.8rem;
    display: flex;
    gap: 12px;
}

/* Minimal Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    text-align: left; /* Left align for cleaner reading */
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
}

.step-number {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-info-card {
    background-color: var(--primary);
    color: var(--bg-main);
    padding: 48px;
    border-radius: var(--radius-lg);
}

.contact-info-card h4 {
    color: var(--bg-main);
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.info-item i {
    color: var(--secondary);
}

.contact-form {
    background-color: var(--bg-main);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-alt);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--bg-main);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Map Section */
.map-section {
    position: relative; 
    width: 100%; 
    height: 450px; 
    background-color: var(--bg-alt); 
    overflow: hidden; 
    border-top: 1px solid var(--border-color);
}

.map-link-btn {
    position: absolute; 
    bottom: 24px; 
    left: 24px; 
    z-index: 10; 
    background: var(--primary); 
    color: white; 
    padding: 12px 24px; 
    border-radius: 8px; 
    font-weight: 600; 
    font-size: 0.9rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    box-shadow: var(--shadow-md); 
    transition: transform 0.3s;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo img {
    height: 120px;
    object-fit: contain;
}

.footer-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    opacity: 0.8;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.footer-heading {
    color: var(--bg-main);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-links a i {
    flex-shrink: 0;
    margin-right: 0 !important;
    margin-top: 2px;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer .btn-outline {
    color: var(--bg-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-main);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

/* Gallery Styles */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--bg-main);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--bg-main);
    width: 40px;
    height: 40px;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 32, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--secondary);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img, .lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .split-section {
        grid-template-columns: 1fr;
    }
    
    .hero-badge {
        left: 24px;
    }
    
    .stats-grid, .solutions-grid, .projects-grid, .footer-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-logo img {
        height: 140px;
        max-width: 75vw;
    }

    .nav-links, .nav-cta {
        display: none;
    }
    
    .nav-container {
        position: relative;
    }
    
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .stats-grid, .solutions-grid, .projects-grid, .footer-grid, .process-grid, .gallery-grid, .video-grid, .two-col-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Spacing & Typography */
    .section {
        padding: 60px 0 !important;
    }
    
    header {
        padding: 190px 0 50px !important;
        min-height: auto !important;
    }
    
    .hero {
        padding-top: 190px !important;
    }
    
    h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    /* Optimize Cards for Mobile */
    .contact-info-card, .contact-form {
        padding: 32px 24px !important;
    }
    
    .solution-card {
        padding: 32px 24px !important;
    }
    
    .contact-grid, .split-section {
        gap: 32px;
    }
    
    .map-section {
        height: 350px;
    }
    
    .map-link-btn {
        bottom: 16px;
        left: 16px;
        right: 16px;
        justify-content: center;
        text-align: center;
    }
    
    /* Full-width buttons on mobile for better tap targets */
    .btn:not(.filter-btn) {
        width: 100%;
        justify-content: center;
    }
    
    /* Refined Mobile Footer */
    .footer {
        padding: 50px 0 24px;
    }
    
    .footer-grid {
        gap: 48px;
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
        margin-bottom: 8px;
    }
    
    .footer-links {
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-links a {
        padding: 4px 0;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}
