:root {
    /* Color Palette */
    --color-primary: #1B4332;
    /* Deep Forest Green */
    --color-primary-light: #2D6A4F;
    --color-primary-dark: #081C15;
    --color-accent: #C78D5E;
    /* Adjusted to a more natural wood tone */
    --color-accent-light: #F5E6CA;
    --color-accent-dark: #8B5A2B;

    --color-bg: #FCFBF7;
    /* Slightly warmer cream bg */
    --color-bg-alt: #FFFFFF;
    --color-text: #2C2C2C;
    --color-text-light: #5A5A5A;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.py-section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-alt);
}

/* Typography */
.text-gradient {
    color: var(--color-accent-dark);
    display: inline-block;
}

.text-accent {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gradient {
    background-color: var(--color-accent-dark);
    color: white;
    border: none;
}

.btn-gradient:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
    color: var(--color-primary-dark);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    transition: var(--transition-fast);
}

.logo-accent {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using Unsplash for premium visual */
    background: url('https://images.unsplash.com/photo-1510798831971-661eb04b3739?auto=format&fit=crop&w=1920&q=80') center/cover;
    transform: scale(1.05);
    /* slightly scaled for entry animation */
    transition: transform 10s ease-out;
}

.hero.ready .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 28, 21, 0.85) 0%, rgba(8, 28, 21, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-text {
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    color: var(--color-accent-light);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Mouse Scroll */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Sections */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--color-bg-alt);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    bottom: -24px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.3);
    border: 4px solid var(--color-bg-alt);
    z-index: 2;
}

.service-content {
    padding: 40px 32px;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.service-content p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
}

.service-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent-dark);
    font-weight: bold;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.2), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--color-accent);
}

.experience-badge .badge-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    line-height: 1.3;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: url('https://images.unsplash.com/photo-1542315053-938b81dff905?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 28, 21, 0.9);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-content h2 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    flex: 1;
    max-width: 300px;
}

.contact-card svg {
    color: var(--color-accent);
    margin-bottom: 16px;
}

.contact-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.contact-link:hover {
    color: var(--color-accent);
}

.cta-final-btn {
    font-size: 1.2rem;
    padding: 20px 48px;
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 67, 50, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(27, 67, 50, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 67, 50, 0);
    }
}

/* Footer */
footer {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Animations Triggered by JS */
.animate-on-load,
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
}

.slide-up {
    transform: translateY(50px);
}

.slide-up-stagger-1 {
    transform: translateY(50px);
    transition-delay: 0.1s;
}

.slide-up-stagger-2 {
    transform: translateY(50px);
    transition-delay: 0.3s;
}

.slide-left {
    transform: translateX(50px);
}

.slide-right {
    transform: translateX(-50px);
}

.fade-in {
    transform: scale(0.95);
}

.animate-on-load.visible,
.animate-on-scroll.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0) scale(1);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive */
@media (max-width: 900px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .experience-badge {
        left: 20px;
        bottom: 20px;
        right: 20px;
    }
}