:root {
    /* PNG Inspired Primary Palette - Refined HSL for harmony */
    --primary-red: hsl(354, 85%, 44%);
    /* PNG Red */
    --primary-green: hsl(150, 100%, 20%);
    /* Deeper PNG Green for backgrounds */
    --primary-gold: hsl(48, 100%, 50%);
    /* PNG Gold/Yellow */
    --primary-brown: hsl(16, 25%, 20%);
    /* Darker Brown */
    --primary-black: hsl(0, 0%, 5%);

    /* Semantic Colors - ELIMINATING PURE WHITE */
    --text-on-dark: hsl(48, 100%, 90%);
    /* Very light gold for text */
    --text-gold: var(--primary-gold);
    --bg-deep: var(--primary-green);
    --bg-accent: var(--primary-red);
    --white: hsl(48, 100%, 95%);
    /* Off-white gold tint */

    /* Premium Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-red) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(150, 100%, 15%) 0%, var(--primary-red) 100%);
    --gradient-card: linear-gradient(135deg, hsla(0, 0%, 100%, 0.1), hsla(0, 0%, 100%, 0.05));

    /* Modern Elevation System - Adjusted for dark backgrounds */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px hsla(48, 100%, 50%, 0.3);
    /* Gold glow */

    /* Transitions & Blur */
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --blur-base: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark);
    background-color: var(--bg-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-green);
    border-right: 5px solid var(--primary-red);
    border-bottom: 5px solid var(--primary-gold);
    border-left: 5px solid var(--primary-brown);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-main);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--primary-gold);
}

.text-red {
    color: var(--primary-red);
}

.text-green {
    color: var(--primary-green);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}

.btn-outline {
    border-color: var(--primary-gold);
    color: var(--white);
    background: rgba(93, 64, 55, 0.3);
    /* Brown tint */
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--primary-brown);
    transform: translateY(-3px);
    border-color: var(--primary-gold);
}

.btn-white {
    background: var(--primary-gold);
    color: var(--primary-black);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background: transparent;
}

nav.scrolled {
    background: hsla(150, 100%, 10%, 0.85);
    /* Darker translucent green */
    backdrop-filter: blur(var(--blur-base));
    -webkit-backdrop-filter: blur(var(--blur-base));
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid hsla(48, 100%, 50%, 0.1);
}

nav.scrolled .logo-text {
    color: var(--white);
}

nav.scrolled .nav-links a {
    color: var(--white);
}

nav.scrolled .nav-links a:hover {
    color: var(--primary-gold);
}

nav.scrolled .hamburger span {
    background: var(--white);
}

nav.scrolled .nav-btn {
    color: var(--white);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo img {
    height: 45px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
}

.highlight {
    color: var(--primary-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-btn {
    background: var(--primary-brown);
    color: var(--primary-gold) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600 !important;
    border: 1px solid var(--primary-gold);
}

.nav-btn:hover {
    background: var(--primary-gold) !important;
    color: var(--primary-brown) !important;
}

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

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-main) !important;
    background-image: none !important;
    /* Explicitly remove any background images */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 48px;
    font-weight: 400;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Services */
.services {
    padding: 100px 0;
    background: var(--bg-deep);
    position: relative;
    border-top: 1px solid hsla(0, 0%, 100%, 0.05);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-gold);
}

.section-header p {
    color: var(--text-on-dark);
    opacity: 0.8;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary-gold);
    margin: 0 auto 15px;
    border-radius: 2px;
}

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

.service-card {
    background: hsla(0, 0%, 100%, 0.03);
    /* Translucent depth */
    backdrop-filter: blur(10px);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    z-index: 1;
    padding: 48px 32px;
    text-align: center;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: hsla(0, 0%, 100%, 0.08);
    border-color: var(--primary-gold);
}

.icon-box {
    width: 88px;
    height: 88px;
    background: hsla(150, 100%, 24%, 0.08);
    /* Faded green */
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    transition: var(--transition-base);
}

.icon-box i {
    font-size: 2.2rem;
    color: var(--primary-green);
    transition: var(--transition-base);
}

.service-card:hover .icon-box {
    background: var(--gradient-main);
    transform: scale(1.1) rotate(8deg);
    box-shadow: var(--shadow-glow);
}

.service-card:hover .icon-box i {
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

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

/* Why Choose Us */
.why-us {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, hsl(150, 100%, 10%) 100%);
}

.feature-item {
    text-align: center;
    padding: 48px 32px;
    border-radius: 24px;
    background: hsla(0, 0%, 100%, 0.03);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    transition: var(--transition-base);
}

.feature-item p {
    color: var(--text-on-dark);
}

.feature-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-lg);
    background: hsla(0, 0%, 100%, 0.08);
    transform: translateY(-8px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Banner */
.banner {
    background: var(--gradient-main) !important;
    background-image: none !important;
    /* Explicitly remove any background images */
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner .container {
    position: relative;
    z-index: 2;
}

.banner h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner p {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Contact */
.contact {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: hsla(0, 0%, 100%, 0.02);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid hsla(0, 0%, 100%, 0.05);
}

.contact-info {
    background: var(--primary-black);
    padding: 64px 48px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 48px 32px;
    }

    .contact-form {
        padding: 48px 32px;
    }
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: hsla(0, 0%, 100%, 0.05);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 12px;
    font-family: inherit;
    color: var(--white);
    transition: var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: hsla(0, 0%, 100%, 0.08);
    box-shadow: 0 0 15px hsla(48, 100%, 50%, 0.2);
}

/* Footer */
footer {
    background: var(--primary-black);
    color: hsla(0, 0%, 100%, 0.5);
    padding: 64px 0 48px;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.05);
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom p:first-child {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 12px;
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background: var(--primary-brown);
    color: var(--primary-gold);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    background-color: var(--primary-gold);
    color: var(--primary-brown);
    transform: translateY(-5px);
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

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

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mobile Responsiveness */
@media (max-width: 900px) {
    /* Integrated into Contact section above */
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero h1 {
        font-size: 3.25rem;
        letter-spacing: -0.02em;
    }

    .hero p {
        font-size: 1.15rem;
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        /* background: var(--primary-black); */
        /* Overridden above */
        flex-direction: column;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links li {
        opacity: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 20px 0;
        font-size: 1.2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.toggle .line2 {
        opacity: 0;
    }

    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}