:root {
    /* Color Palette */
    --primary: #c2410c;
    /* Deep Amber / Orange associated with cedar wood */
    --primary-light: #f97316;
    --primary-dark: #9a3412;
    --secondary: #0f172a;
    /* Slate / Navy */
    --secondary-light: #1e293b;
    --accent: #10b981;
    /* Emerald green for preservation/eco vibes */
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Transitions & Shadows */
    --trans-fast: 0.2s ease-in-out;
    --trans-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography styles */
h1,
h2,
h3,
h4,
.logo span {
    font-family: var(--font-serif);
    color: var(--secondary);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight {
    color: var(--primary);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--trans-fast);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(194, 65, 12, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(194, 65, 12, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    transition: var(--trans-fast);
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 5%;
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.navbar.scrolled .logo span {
    color: var(--secondary);
}

.navbar:not(.scrolled) .logo span {
    color: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    transition: var(--trans-fast);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--secondary);
}

.navbar:not(.scrolled) .nav-links a {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--trans-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

.navbar:not(.scrolled) .hamburger {
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    /* Fallback color */
    /* Beautiful realistic roof/home hero image */
    background-image: url('https://images.unsplash.com/photo-1505843490538-5133c6c7d0e1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
    /* Slight scale to allow for parallax if needed */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: left;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    font-size: 2rem;
}

/* Services Section */
.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid #e2e8f0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary));
    opacity: 0.05;
    z-index: -1;
    transition: var(--trans-slow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    height: 100%;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(194, 65, 12, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--trans-fast);
}

.service-card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Banner CTA */
.banner-cta {
    position: relative;
    background-color: var(--secondary-light);
    /* Fallback color */
    background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=2069&auto=format&fit=crop');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.85), rgba(15, 23, 42, 0.9));
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.banner-content h2 {
    color: var(--white);
    font-size: 3rem;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.stats-container-simple {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.stats-container-simple p {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
    margin: 0;
}

.stats-container-simple i {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    width: 100%;
    height: 500px;
    background-color: #e2e8f0;
    background-image: url('about-image.png');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

/* Glassmorphism float element */
.glass-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: floating 4s ease-in-out infinite;
}

.glass-float i {
    color: #fbbf24;
    font-size: 2rem;
}

.glass-float p {
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--accent);
    font-size: 1.3rem;
}

/* Contact Section */
.contact-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.contact-info {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem;
}

.contact-info h2 {
    color: var(--white);
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-top: 0.2rem;
}

.info-item h4 {
    margin-bottom: 0.3rem;
    color: var(--white);
    font-family: var(--font-sans);
}

.contact-form-container {
    padding: 4rem;
    background: #ffffff;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--secondary);
    font-size: 1.8rem;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1rem;
    color: var(--text-main);
    border: none;
    border-bottom: 2px solid #cbd5e1;
    outline: none;
    background: transparent;
    transition: var(--trans-fast);
    font-family: var(--font-sans);
}

.input-group label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--trans-fast);
    font-size: 1rem;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group input:valid,
.input-group textarea:valid {
    border-bottom-color: var(--primary);
}

.input-group input:focus~label,
.input-group textarea:focus~label,
.input-group input:valid~label,
.input-group textarea:valid~label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.w-100 {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #020617;
    color: #94a3b8;
    padding-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo span {
    color: var(--white);
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--trans-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #1e293b;
}

/* Animations & Utilities */
.down-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(194, 65, 12, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(194, 65, 12, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(194, 65, 12, 0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .stats-container {
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 2rem;
    }
}