:root {
    --color-bg: #0b1116;
    /* Very dark blue/black */
    --color-text-main: #e0e6ed;
    --color-text-muted: #94a3b8;
    --color-primary: #10b981;
    /* Emerald Green - vibrant but professional */
    --color-secondary: #0f172a;
    /* Navy Blue - Deep background */
    --color-accent: #d4af37;
    /* Metallic Gold */
    --color-card-bg: #1e293b;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 17, 22, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.3s;
}

.navbar.scrolled {
    padding: 1rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 400;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    font-weight: 500;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    background: #059669;
    /* Darker emerald */
    transform: translateY(-2px);
    color: #fff;
}

.btn-primary::after {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* We will use the generated image here, keeping a fallback gradient */
    background: linear-gradient(rgba(11, 17, 22, 0.6), rgba(11, 17, 22, 0.8)),
        url('hero_abstract_background.png') no-repeat center center/cover;
    /* The path above is tricky because the image is in artifacts. Better to move it or assume local. 
       For now I will assume the user or I will copy it. I will use a placeholder logic or absolute.
       Wait, I should copy the artifact to the project folder first! I missed that step. 
       I will do that in the next turn. For now I'll point to a generic place or wait. 
       Actually, let's just style it assuming it's there, and I will move it in the next step. */
}

/* Fixing the background path assumption */
/* I will copy the file in the next step. */

.hero-content {
    z-index: 2;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-content .highlight {
    color: var(--color-primary);
    font-style: italic;
    background: -webkit-linear-gradient(45deg, var(--color-primary), #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

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

/* Sections General */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.eyebrow {
    display: block;
    color: var(--color-primary);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header h2 {
    font-size: 3rem;
    color: #fff;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    background: var(--color-card-bg);
    padding: 2rem;
    border-top: 2px solid var(--color-primary);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services-section {
    background: #0f141a;
    /* Slightly lighter than main bg */
}

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

.service-card {
    background: var(--color-card-bg);
    /* Dark card */
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.1);
}

.icon-box {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--color-card-bg);
    padding: 4rem;
    border-radius: 4px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.contact-details p {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

input,
textarea {
    width: 100%;
    background: rgba(11, 17, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        background: rgba(11, 17, 22, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Hamburger Menu Icon */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1000;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation */
    .hamburger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Base Hamburger Styles needed outside media query (initially hidden on desktop) */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
}

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

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Section */
.blog-section {
    background: var(--color-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--color-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.blog-card:hover .read-more {
    color: var(--color-primary);
    gap: 0.8rem;
}

/* Article Pages */
.article-container {
    padding-top: 8rem;
    /* Accounts for fixed navbar */
    max-width: 800px !important;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.back-link:hover {
    color: var(--color-primary);
    transform: translateX(-5px);
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-date {
    display: block;
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-header h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.article-content {
    color: var(--color-text-main);
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.article-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content .lead {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 400;
}

.article-content strong {
    color: #fff;
    font-weight: 600;
}

.highlight-box {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--color-primary);
    padding: 2rem;
    margin: 3rem 0;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin: 3rem 0;
    text-align: center;
    line-height: 1.4;
}

/* Responsive for Blog */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2.25rem;
    }

    .article-container {
        padding: 6rem 1.5rem 4rem;
    }
}