:root {
    --primary: #059669;
    /* Emerald */
    --primary-dark: #047857;
    --accent: #84cc16;
    /* Lime */
    --dark: #111827;
    --gray: #374151;
    --light: #f3f4f6;
    --white: #ffffff;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    letter-spacing: -1px;
}

.logo .dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 10px 25px;
    background: var(--dark);
    color: var(--white) !important;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f3f4f6 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary);
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent);
    opacity: 0.3;
    z-index: -1;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--gray);
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: var(--dark);
    background: var(--white);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-card {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.stat-card i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.stat-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.stat-card p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.float-1 {
    top: 10%;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    bottom: 10%;
    right: -30px;
    animation: float 6s ease-in-out infinite 1s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Stats Bar */
.stats-bar {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item h3 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: #9ca3af;
    font-weight: 600;
}

/* Services */
.services {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-box i {
    color: var(--primary);
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
    color: #6b7280;
}

.link-arrow {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-arrow:hover {
    gap: 10px;
}

/* Process */
.process {
    padding: 100px 0;
    background: #f9fafb;
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.process-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.process-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(5, 150, 105, 0.2);
    font-family: 'Montserrat', sans-serif;
    min-width: 50px;
}

.step-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact-box {
    background: var(--dark);
    border-radius: 24px;
    padding: 60px;
    color: var(--white);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-header h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-header p {
    color: #9ca3af;
    margin-bottom: 40px;
}

.modern-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #d1d5db;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* Footer */
.footer-container {
    padding: 50px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    color: var(--dark);
}

.socials a:hover {
    color: var(--primary);
}

.theme-switcher {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.theme-btn {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    cursor: pointer;
    border: 2px solid var(--light);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.theme-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        height: calc(100vh - var(--nav-height));
        background: var(--white);
        flex-direction: column;
        width: 100%;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-container,
    .process-wrapper,
    .stats-grid,
    .form-row,
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .stat-card {
        display: none;
        /* Hide floating cards on mobile */
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}