/* ===== CSS Variables ===== */
:root {
    --forest-green: #064e3b;
    --forest-green-light: #065f46;
    --forest-green-dark: #022c22;
    --off-white: #fafaf9;
    --off-white-dark: #f5f5f4;
    --accent-green: #10b981;
    --accent-light: #d1fae5;
    --text-dark: #1c1917;
    --text-muted: #57534e;
    --text-light: #78716c;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 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 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* ===== Geometric Background ===== */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.05;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--forest-green);
    border-radius: 50%;
}

.shape-2 {
    bottom: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-green);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-3 {
    top: 50%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: var(--forest-green-light);
    transform: rotate(45deg);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--forest-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--forest-green);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest-green);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    background: var(--forest-green);
    color: var(--white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--forest-green-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--forest-green);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--accent-light) 100%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--forest-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--forest-green-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--forest-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--forest-green-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--forest-green);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--forest-green);
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-white:hover {
    background: var(--white);
    color: var(--forest-green);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Cards */
.hero-cards {
    position: relative;
    height: 400px;
}

.stat-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 220px;
}

.stat-card:nth-child(1) {
    top: 0;
    right: 0;
}

.stat-card:nth-child(2) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.stat-card:nth-child(3) {
    bottom: 0;
    right: 20%;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--forest-green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest-green);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delay {
    animation: float 6s ease-in-out infinite 2s;
}

.floating-delay-2 {
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--forest-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--forest-green-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ===== Services Section ===== */
.services {
    padding: 6rem 0;
    background: var(--white);
}

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

.service-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-green);
}

.service-card.accent {
    background: var(--forest-green);
    color: var(--white);
}

.service-card.accent .service-list li {
    color: rgba(255, 255, 255, 0.9);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon.legal {
    background: var(--accent-light);
    color: var(--forest-green);
}

.service-icon.finance {
    background: var(--forest-green);
    color: var(--white);
}

.service-icon.strategy {
    background: var(--accent-light);
    color: var(--forest-green);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--forest-green-dark);
}

.service-card.accent h3 {
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card.accent p {
    color: rgba(255, 255, 255, 0.9);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
}

/* ===== About Section ===== */
.about {
    padding: 6rem 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--forest-green-dark);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    color: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: var(--forest-green-dark);
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--forest-green);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.2;
}

/* ===== Process Section ===== */
.process {
    padding: 6rem 0;
    background: var(--forest-green);
    color: var(--white);
}

.process .section-header h2 {
    color: var(--white);
}

.process .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.process .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

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

.process-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--forest-green-dark) 0%, var(--forest-green) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .section-tag {
    margin-bottom: 1rem;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--forest-green-dark);
    margin-bottom: 1rem;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--forest-green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--forest-green-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--forest-green);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--forest-green-dark);
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--off-white-dark);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    color: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.form-success h3 {
    color: var(--forest-green-dark);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    background: var(--forest-green-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    background: var(--white);
    color: var(--forest-green);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--accent-green);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cards {
        display: none;
    }

    .hero-cta {
        justify-content: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .image-wrapper img {
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--off-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .process-step,
    .feature-item {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .service-card.visible,
    .process-step.visible,
    .feature-item.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
