/* ===========================
   GLOBAL RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
}

/* Utility containers */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ===========================
   NAVIGATION BAR
=========================== */

.navbar {
    background: #ffffff;
    color: var(--text-dark);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-dark);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease-in-out;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    padding: 8px 16px;
    background: var(--accent);
    color: #0f172a !important;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #66d0ff;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #ffffff;
        padding: 20px;
        position: absolute;
        top: 60px;
        right: 20px;
        border-radius: 8px;
        width: 200px;
    }

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

/* ===========================
   COLOR SYSTEM (light + green)
=========================== */
:root {
    --primary: #059669;          /* Emerald green */
    --primary-dark: #047857;
    --accent: #10b981;           /* Brighter accent green */
    --text-dark: #0f172a;
    --text-light: #f9fafb;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --gradient-hero: linear-gradient(135deg, #ecfdf5, #e0f2fe);
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    background: var(--gradient-hero);
    color: var(--text-dark);
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero .subheadline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--accent);
    color: #f9fafb;
}

.btn-primary:hover {
    background-color: #34d399;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: #f9fafb;
}

/* ===========================
   SERVICES OVERVIEW
=========================== */
.services-overview {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.services-overview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: -20px auto 40px auto;
    opacity: 0.8;
    font-size: 0.98rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

.industries-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    list-style: none;
}

.industries-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.98rem;
}

/* ===========================
   ECOSYSTEM SECTION
=========================== */
.ecosystem {
    background: #f1f5f9;
    padding: 80px 20px;
}

.ecosystem h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.ecosystem-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    opacity: 0.85;
}

.ecosystem-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.ecosystem-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ecosystem-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.ecosystem-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.ecosystem-link:hover {
    color: var(--accent);
}

/* ===========================
   CTA SECTION
=========================== */
.cta {
    text-align: center;
    padding: 80px 20px;
    background: #0f172a;
    color: #f9fafb;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta p {
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    padding: 40px 20px 24px 20px;
    background: #0b1120;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.footer h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer p,
.footer li {
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
}

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

.footer-copy {
    text-align: center;
    opacity: 0.7;
}

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