/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-liberty-creek.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

/* Mobile-first styles */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0;
        background-position: center center;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    .hero-cta .btn {
        width: 100%;
        margin: 0 !important;
    }

    .hero-cta .btn + .btn {
        margin-top: 1rem !important;
    }
}

/* Tablet and desktop styles */
@media (min-width: 769px) {
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

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

/* Base styles */
:root {
    --primary-color: #2C5530;
    --secondary-color: #4A7856;
    --accent-color: #8B4513;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 3rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;
    --spacing-xxl: 10rem;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: var(--spacing-sm);
}

/* Section Spacing */
section {
    padding: var(--spacing-xl) 0;
}

.page-header {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%);
    background-size: 3px 3px;
    pointer-events: none;
}

.page-header h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.page-header .lead {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Card Styles */
.service-card, .case-study-card, .program-card, .tip-card {
    background: #fff;
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover, .case-study-card:hover {
    transform: translateY(-5px);
}

.service-icon, .tip-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-content, .case-content {
    margin-top: var(--spacing-sm);
}

.service-features, .service-benefits, .achievements {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-sm) 0;
}

.service-features li, .service-benefits li, .achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.service-features li:before, .service-benefits li:before, .achievements li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Process Section */
.process-section {
    background-color: var(--light-bg);
    padding: var(--spacing-xl) 0;
}

.process-step {
    text-align: center;
    padding: var(--spacing-sm);
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    margin: 0 auto var(--spacing-sm);
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Process Timeline - Locked Responsive */
.service-process {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.9));
    min-height: 800px;
    overflow: hidden;
}

.service-process::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 100%;
    background-image: url('/images/tree_bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(rgba(44, 85, 48, 0.9), rgba(44, 85, 48, 0.9));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
    color: white;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background-color: #fff;
    color: #2c5530;
    border: 2px solid #fff;
}

.cta-buttons .btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.cta-buttons .btn-outline-light {
    border-width: 2px;
}

.cta-buttons .btn-outline-light:hover {
    background-color: #fff;
    color: #2c5530;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content .lead {
        font-size: 1.25rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 1rem 0;
    }
    
    .cta-buttons .btn-outline-light {
        margin-left: 0 !important;
    }
}

/* Navigation Styles */
.navbar {
    padding: 1rem 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo styles */
.navbar-brand {
    padding: 0;
    margin: 0;
}

.logo-img {
    height: 45px;
    width: auto;
}

/* Mobile styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-toggler {
        border: 1px solid var(--primary-color);
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 85, 48, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .logo-img {
        height: 60px;
    }
    
    .navbar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .left-menu {
        justify-content: flex-end;
        padding-right: 2rem;
        flex: 1;
    }

    .right-menu {
        justify-content: flex-start;
        padding-left: 2rem;
        flex: 1;
    }

    .logo-container {
        padding: 0 1rem;
    }
}

/* Common nav styles */
.nav-link {
    color: var(--primary-color) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Main Navigation */
.container-fluid {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.left-menu, .right-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.logo-container {
    padding: 0.5rem 1.5rem;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 0.75rem !important;
    transition: color 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    display: none;
    border: none;
}

#mobileNav {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-nav.left-menu,
    .navbar-nav.right-menu {
        display: none;
    }

    .navbar-toggler {
        display: block;
    }

    #mobileNav {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    .mobile-menu {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .logo-img {
        height: 80px;
    }

    .container-fluid {
        padding: 0 0.5rem;
    }

    .logo-container {
        padding: 0.5rem;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #1a4020;
    border-color: #1a4020;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
        --spacing-md: 2rem;
        --spacing-sm: 1.5rem;
        --spacing-xs: 1rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header .lead {
        font-size: 1.25rem;
    }
    
    .service-card, .case-study-card {
        margin-bottom: var(--spacing-sm);
    }
}

/* Container max-width adjustments for better readability */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Image styles */
.img-fluid {
    border-radius: 12px;
    margin-bottom: var(--spacing-sm);
}

/* List spacing */
ul, ol {
    margin-bottom: var(--spacing-sm);
}

li {
    margin-bottom: 0.5rem;
}

/* Text spacing */
p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

/* Grid spacing */
.row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

/* Card content spacing */
.card-body {
    padding: var(--spacing-md);
}

/* Section headers */
section h2 {
    margin-bottom: var(--spacing-lg);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .hero {
        padding-top: 6rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        margin: 0 auto;
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .service-card {
        padding: 2rem;
    }
}

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

main {
    margin-top: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1a331e;
}

#services {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.service-features li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-features, .service-benefits {
    margin-bottom: 2rem;
}

.feature-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-left: 0;
}

@media (max-width: 992px) {
    .service-process {
        min-height: 600px;
    }
    
    .service-process::before {
        width: 300px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-process {
        min-height: 500px;
    }
    
    .service-process::before {
        width: 200px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
}

/* Removing unused service-hero styles */

/* Process Timeline */
.service-process {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.9));
}

.service-process::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 100%;
    background-image: url('/images/tree_bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.process-timeline {
    position: relative;
    z-index: 1;
}

.process-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: #2c5530;
    top: 50px;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
    z-index: 1;
    display: block;
}

.timeline-item:first-child {
    padding-top: 0;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #2c5530;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    margin-left: -10px;
    z-index: 2;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25%;
    height: 2px;
    background: #2c5530;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    right: 50%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    z-index: 2;
}

.timeline-item .step-number {
    background: #2c5530;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 0;
    padding-top: 1px;
}

.step-details {
    flex-grow: 1;
}

.step-details h3 {
    color: #2c5530;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.step-details p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .service-process::before {
        left: calc(10vw - 160px);
        transform: none;
        width: 400px;
        opacity: 0.1;
    }
    
    .process-timeline::before {
        left: 10vw;
        transform: none;
        height: calc(100% - 100px);
        min-height: 400px;
        display: block !important;
    }
    
    .timeline-content {
        width: calc(90vw - 10vw);
        margin-left: calc(10vw + 40px) !important;
        position: relative;
    }
    
    .timeline-item::before {
        left: 10vw;
    }
    
    .timeline-item::after {
        width: 40px;
        left: 10vw !important;
    }
}

@media (max-width: 480px) {
    .service-process::before {
        left: calc(15vw - 160px);
    }
    
    .process-timeline::before {
        left: 15vw;
        min-height: 500px;
        display: block !important;
    }
    
    .timeline-content {
        width: calc(85vw - 15vw);
        margin-left: calc(15vw + 40px) !important;
    }
    
    .timeline-item::before {
        left: 15vw;
    }
    
    .timeline-item::after {
        left: 15vw !important;
    }
}

@media (max-width: 768px) {
    .timeline-item::before {
        left: 10vw;
        margin-left: 0;
    }
    
    .timeline-item::after {
        width: 40px;
        left: 10vw !important;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: calc(10vw + 20px) !important;
        right: auto;
        width: 40px;
    }
}

@media (max-width: 992px) {
    .timeline-item::after {
        width: 40px;
        left: calc(10vw + 20px) !important;
        right: auto;
    }
}

@media (max-width: 480px) {
    .timeline-item::after {
        left: calc(15vw + 20px) !important;
    }
}

.timeline-item:nth-child(odd)::after {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    right: 50%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

/* Qualification Cards */
.qualifications-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qualifications-card h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.qualifications-card h4 {
    color: #2c5530;
    font-size: 1.2rem;
    font-weight: 600;
}

.qualification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualification-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.qualification-list li:before {
    content: "•";
    color: #2c5530;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.state-cert {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44, 85, 48, 0.1);
}

.state-cert p {
    margin-bottom: 0.5rem;
}

/* Qualification Logo */
.qualification-logo-container {
    padding-top: 2rem;
    border-top: 2px solid rgba(44, 85, 48, 0.1);
}

.cert-logo {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .cert-logo {
        height: 60px;
    }
    
    .qualifications-card {
        padding: 1.5rem;
    }
}

/* About Page Spacing */
.about-content {
    padding: 4rem 0;
}

.about-content .section-block {
    margin-bottom: 6rem;
}

.about-content .section-block:last-child {
    margin-bottom: 0;
}

.about-content h2 {
    margin-bottom: 2.5rem;
}

.about-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.value-card {
    padding: 2rem;
    margin-bottom: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card .value-icon {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1.25rem;
}

.qualifications-card {
    margin-bottom: 3rem;
    padding: 2.5rem;
}

/* Update contact items */
.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-item p {
    margin: 0.25rem 0 0;
    color: var(--text-color);
    line-height: 1.5;
}

/* Service Areas List */
.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.area-list i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.service-areas {
    background: rgba(var(--primary-rgb), 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.core-services {
    position: relative;
    overflow: hidden;
}

.core-services::before {
    content: '';
    position: absolute;
    right: -20%;
    bottom: -33%;  
    width: 800px;
    height: 800px;
    background-image: url('/images/tree_bg2.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08;  
    z-index: 0;
    pointer-events: none;
}

.core-services .container {
    position: relative;
    z-index: 1;
}

/* Gallery Styles */
.gallery-section {
    padding: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 85, 48, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Services */
.featured-services {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.featured-services::before {
    content: '';
    position: absolute;
    right: -15%;
    bottom: -5%;
    width: 1000px;
    height: 1000px;
    background-image: url('/images/tree_bg2.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.featured-services .container {
    position: relative;
    z-index: 1;
}

.featured-services .section-header {
    margin-bottom: var(--spacing-xl);
}

.featured-services .section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.featured-services .section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.featured-services .feature-card {
    background: #ffffff9c;
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.featured-services .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background: #ffffffc9;
}

.featured-services .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgb(63, 50, 135), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.featured-services .feature-icon i {
    font-size: 2rem;
    color: #ffffff;
    line-height: 0;
}

.featured-services .feature-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.featured-services .feature-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.featured-services .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.featured-services .feature-list li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.featured-services .feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.featured-services .feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.featured-services .feature-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.featured-services .feature-link:hover {
    color: var(--secondary-color);
}

.featured-services .feature-link:hover i {
    transform: translateX(5px);
}

.featured-services .section-header .lead {
    font-size: 1.25rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 1.5rem auto 0;
    opacity: 0.9;
}

.featured-services .row {
    margin-top: 2rem;
}

.featured-services .feature-card {
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.featured-services .feature-icon {
    position: relative;
}

.featured-services .feature-icon:after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.timeline-item .step-number {
    background: #2c5530;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    padding-bottom: 3px;
}

@media (max-width: 992px) {
    .featured-services::before {
        right: -25%;
        width: 800px;
        height: 800px;
    }
}

@media (max-width: 768px) {
    .featured-services::before {
        right: -35%;
        width: 600px;
        height: 600px;
        opacity: 0.1;
    }
    
    .featured-services .feature-card {
        padding: 2rem;
    }
    
    .featured-services .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .featured-services .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Why Choose Us */
.why-choose-us {
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background-image: url(/images/tree_bg3.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .why-choose-us::before {
        width: 300px;
        height: 300px;
        opacity: 0.1;
    }
}

.why-choose-us {
    padding: var(--spacing-xxl) 0;
}

.why-choose-us .row {
    margin-bottom: 5rem;
}

.why-choose-us .row:last-child {
    margin-bottom: 0;
}

.why-choose-us h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.why-choose-us p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.why-choose-us img {
    transition: transform 0.3s ease;
}

.why-choose-us img:hover {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .why-choose-us .row {
        margin-bottom: 3rem;
    }
    
    .why-choose-us .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
}

/* Home Page Testimonials */
.home-testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

.home-testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.home-testimonials blockquote {
    background: white;
    padding: 2rem;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.home-testimonials blockquote p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    font-style: italic;
}

.home-testimonials blockquote cite {
    display: block;
    font-style: normal;
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .home-testimonials blockquote {
        margin-bottom: 1rem;
    }
}

/* Service Detail Sections */
.service-detail {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background-color: #fff;
}

.service-detail::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 600px;
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%234A7856' stroke-opacity='0.08'%3E%3Cpath d='M30,220 L65,130 L100,220 L30,220 Z M55,155 L65,125 L75,155 Z'/%3E%3Cpath d='M90,200 L140,80 L190,200 L90,200 Z M125,110 L140,70 L155,110 Z'/%3E%3Cpath d='M160,230 L185,150 L210,230 L160,230 Z M178,165 L185,140 L192,165 Z'/%3E%3Cpath d='M50,190 L85,100 L120,190 L50,190 Z M75,120 L85,90 L95,120 Z'/%3E%3Cpath d='M130,210 L180,100 L230,210 L130,210 Z M165,130 L180,95 L195,130 Z'/%3E%3Cpath d='M15,200 L45,120 L75,200 L15,200 Z M35,140 L45,110 L55,140 Z'/%3E%3Cpath d='M270,205 L305,115 L340,205 L270,205 Z M293,135 L305,105 L317,135 Z'/%3E%3Cpath d='M320,225 L355,135 L390,225 L320,225 Z M343,155 L355,125 L367,155 Z'/%3E%3Cpath d='M230,190 L260,100 L290,190 L230,190 Z M250,120 L260,90 L270,120 Z'/%3E%3Cpath d='M200,240 L220,180 L240,240 L200,240 Z M213,195 L220,175 L227,195 Z'/%3E%3Cpath d='M400,220 L435,140 L470,220 L400,220 Z M423,160 L435,135 L447,160 Z'/%3E%3Cpath d='M350,235 L375,175 L400,235 L350,235 Z M367,190 L375,170 L383,190 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 500px 400px;
    background-repeat: repeat;
    z-index: 0;
    opacity: 0.8;
}

.service-detail:nth-child(odd)::before {
    left: -200px;
}

.service-detail:nth-child(even)::before {
    right: -200px;
}

.service-detail:nth-child(even) {
    background-color: #f8f9fa;
}

.service-detail::before {
    content: none;
}

.service-detail:nth-child(odd)::before {
    transform: rotate(-1deg);
}

.service-detail:nth-child(even)::before {
    transform: rotate(1deg);
}

@media (max-width: 768px) {
    .service-detail::before {
        width: 300px;
    }
    
    .service-detail:nth-child(odd)::before {
        left: -150px;
    }
    
    .service-detail:nth-child(even)::before {
        right: -150px;
    }
}

.service-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16/9;
    background: var(--primary-color);
    width: 100%;
    margin-bottom: 2rem;
}

.service-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.6s ease, opacity 0.3s ease;
    opacity: 0.95;
}

.service-image-wrapper:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, 
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.02) 100%);
    transition: opacity 0.3s ease;
}

.service-image-wrapper:hover .service-image-overlay {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .service-image-wrapper {
        aspect-ratio: 3/2;
        margin-bottom: 2rem;
    }
}

.service-content {
    position: relative;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.2);
}

.service-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.service-content .lead {
    color: #666;
    font-size: 1.2rem;
}

.feature-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #444;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.service-benefits .feature-list li i {
    color: #ffc107;
}

@media (max-width: 992px) {
    .service-content {
        margin-top: 2rem;
    }
    
    .service-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: 3rem 0;
    }
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-color);
    color: #ffffff;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--primary-color);
    font-weight: 700;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .process-timeline {
        flex-direction: column;
        padding: 0;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        margin: 0 0 var(--spacing-md);
    }

    .service-content {
        padding: var(--spacing-md) 0;
    }
}

@media (max-width: 768px) {
    .service-content h2 {
        font-size: 2rem;
    }
    
    .service-detail .col-lg-6:first-child {
        margin-bottom: var(--spacing-md);
    }
}

/* Lists with icons */
.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list li {
    margin-bottom: 0.5rem;
}

.icon-list li::before {
    content: none;
}

.icon-list li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Service Image Gallery */
.service-gallery {
    margin-bottom: 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .service-gallery {
        margin-bottom: 1rem;
    }

    .service-content {
        margin-top: 1rem;
    }

    .service-section {
        padding: 2rem 0;
    }

    .service-section h2 {
        margin-bottom: 1rem;
    }

    .service-section p {
        margin-bottom: 1rem;
    }
}

.service-main-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 
                0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    transform-origin: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-main-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Add a subtle gradient overlay */
.service-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.02) 100%);
    border-radius: 12px;
    pointer-events: none;
}

/* Maintain existing thumbnail styles */
.thumbnails-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
}

.service-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 0.25rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.service-thumbnails::-webkit-scrollbar {
    display: none;
}

.service-thumbnail {
    min-width: calc(20% - 0.4rem);
    max-width: 120px;
    aspect-ratio: 16/9;
    max-height: 68px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.thumbnail-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.landowner-tips {
    padding: 4rem 0;
    color: #fff;
    position: relative;
    background-image: url('/images/forest-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.landowner-tips .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.landowner-tips .container {
    z-index: 1;
}

.landowner-tips h2,
.landowner-tips h3,
.landowner-tips .tip-card {
    color: #fff;
}

.landowner-tips .tip-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
}

.landowner-tips .tip-icon {
    color: #fff;
    margin-bottom: 1rem;
}

.what-is-firewise {
    padding: 4rem 0;
    position: relative;
}

.what-is-firewise .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.what-is-firewise .container {
    position: relative;
    z-index: 1;
}

.what-is-firewise img {
    position: relative;
    z-index: 2;
}

.what-is-firewise .feature-list {
    list-style: none;
    padding-left: 0;
}

.what-is-firewise .feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.what-is-firewise .feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}

.what-is-firewise {
    padding: 4rem 0;
    position: relative;
}

.what-is-firewise .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.what-is-firewise .container {
    position: relative;
    z-index: 1;
}

.what-is-firewise h2,
.what-is-firewise h3 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.what-is-firewise p,
.what-is-firewise .feature-list li {
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    line-height: 1.6;
}

.what-is-firewise img {
    position: relative;
    z-index: 2;
}

.what-is-firewise .feature-list {
    list-style: none;
    padding-left: 0;
}

.what-is-firewise .feature-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.what-is-firewise .feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}

.landowner-tips {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.landowner-tips h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.landowner-tips h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.landowner-tips .tip-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.landowner-tips .tip-card:hover {
    transform: translateY(-5px);
}

.landowner-tips .tip-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.landowner-tips ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.landowner-tips ul li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Contact Page Styles */
.contact-section {
    padding: var(--spacing-lg) 0;
}

.contact-info {
    background-color: var(--light-bg);
    padding: var(--spacing-md);
    border-radius: 12px;
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-details {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-color);
}

.contact-form {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--primary-color);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.15);
}

.area-list {
    margin-bottom: var(--spacing-sm);
}

.area-list li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.area-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

@media (max-width: 991.98px) {
    .contact-info {
        margin-bottom: var(--spacing-md);
    }
}

/* Enhanced Contact Page Styles */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: -2;
}

.service-areas {
    position: relative;
    overflow: hidden;
}

.service-areas::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' fill='%232c5530' fill-opacity='0.03'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    z-index: 0;
}

/* Services Page Styles */
.services-header {
    position: relative;
    padding: 8rem 0;
    background-color: var(--primary);
    color: #fff;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='500' height='250' viewBox='0 0 500 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232C5530' fill-opacity='0.045'%3E%3Cpath d='M30,220 L65,130 L100,220 L30,220 Z M55,155 L65,125 L75,155 Z'/%3E%3Cpath d='M90,200 L140,80 L190,200 L90,200 Z M125,110 L140,70 L155,110 Z'/%3E%3Cpath d='M160,230 L185,150 L210,230 L160,230 Z M178,165 L185,140 L192,165 Z'/%3E%3Cpath d='M50,190 L85,100 L120,190 L50,190 Z M75,120 L85,90 L95,120 Z'/%3E%3Cpath d='M130,210 L180,100 L230,210 L130,210 Z M165,130 L180,95 L195,130 Z'/%3E%3Cpath d='M15,200 L45,120 L75,200 L15,200 Z M35,140 L45,110 L55,140 Z'/%3E%3Cpath d='M270,205 L305,115 L340,205 L270,205 Z M293,135 L305,105 L317,135 Z'/%3E%3Cpath d='M320,225 L355,135 L390,225 L320,225 Z M343,155 L355,125 L367,155 Z'/%3E%3Cpath d='M230,190 L260,100 L290,190 L230,190 Z M250,120 L260,90 L270,120 Z'/%3E%3Cpath d='M200,240 L220,180 L240,240 L200,240 Z M213,195 L220,175 L227,195 Z'/%3E%3Cpath d='M400,220 L435,140 L470,220 L400,220 Z M423,160 L435,135 L447,160 Z'/%3E%3Cpath d='M350,235 L375,175 L400,235 L350,235 Z M367,190 L375,170 L383,190 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 500px 250px;
    background-repeat: repeat;
    opacity: 0.7;
    transform: rotate(-2deg);
}

.services-header-bg {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232C5530' fill-opacity='0.05'%3E%3Cpath d='M42.8,-49.1C54.9,-34.4,63.5,-17.2,64.1,0.6C64.7,18.4,57.2,36.8,45.1,51.5C32.9,66.2,16.4,77.2,-1.1,78.3C-18.7,79.4,-37.4,70.6,-49.6,55.9C-61.8,41.2,-67.5,20.6,-67.1,0.4C-66.7,-19.8,-60.2,-39.6,-48,-54.3C-35.8,-69,-17.9,-78.6,-0.3,-78.3C17.2,-77.9,34.4,-67.6,42.8,-49.1Z' transform='translate(100 100)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.3;
    transform: rotate(-10deg);
    z-index: 0;
}

.services-header .container {
    position: relative;
    z-index: 1;
}

.services-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.services-header .lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
}

.service-detail {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.service-detail:nth-child(odd) {
    background-color: var(--light-bg);
}

.service-detail:nth-child(even) {
    background-color: #fff;
}

.service-detail::before {
    content: none;
}

.service-detail:nth-child(odd)::before {
    transform: rotate(-1deg);
}

.service-detail:nth-child(even)::before {
    transform: rotate(1deg);
}

@media (max-width: 768px) {
    .services-header {
        padding: 6rem 0;
    }

    .services-header h1 {
        font-size: 2.5rem;
    }

    .services-header .lead {
        font-size: 1.25rem;
    }

    .services-header-bg {
        width: 400px;
        height: 400px;
        top: -10%;
        right: -30%;
    }
}

.contact-service-areas.service-areas::after {
    display: none;
}

/* Footer Styles */
footer {
    position: relative;
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='500' height='250' viewBox='0 0 500 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40,230 L75,130 L110,230 L40,230 Z M55,155 L65,125 L75,155 Z'/%3E%3Cpath d='M120,210 L170,80 L220,210 L120,210 Z M155,110 L170,70 L185,110 Z'/%3E%3Cpath d='M190,235 L215,155 L240,235 L190,235 Z M208,165 L215,140 L222,165 Z'/%3E%3Cpath d='M80,200 L115,110 L150,200 L80,200 Z M105,130 L115,100 L125,130 Z'/%3E%3Cpath d='M160,220 L210,110 L260,220 L160,220 Z M195,140 L210,95 L225,140 Z'/%3E%3Cpath d='M25,210 L45,130 L75,210 L25,210 Z M35,150 L45,120 L55,150 Z'/%3E%3Cpath d='M270,205 L305,115 L340,205 L270,205 Z M293,135 L305,105 L317,135 Z'/%3E%3Cpath d='M320,225 L355,135 L390,225 L320,225 Z M343,155 L355,125 L367,155 Z'/%3E%3Cpath d='M230,190 L260,100 L290,190 L230,190 Z M250,120 L260,90 L270,120 Z'/%3E%3Cpath d='M200,240 L220,180 L240,240 L200,240 Z M213,195 L220,175 L227,195 Z'/%3E%3Cpath d='M400,220 L435,140 L470,220 L400,220 Z M423,160 L435,135 L447,160 Z'/%3E%3Cpath d='M350,235 L375,175 L400,235 L350,235 Z M367,190 L375,170 L383,190 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 500px 250px;
    background-repeat: repeat-x;
    opacity: 1;
    transform: rotate(-1deg) scale(1.1);
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 600;
}

footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xs);
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.8);
    width: 20px;
    margin-right: var(--spacing-xs);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0;
    }
    
    .footer-col {
        margin-bottom: 2rem;
    }
    
    .footer-col:last-child {
        margin-bottom: 0;
    }
    
    footer::before {
        opacity: 0.06;
        height: 200px;
    }
}

/* Footer Logo Overlap Styling */
.site-footer {
    padding-top: 100px;  /* Make room for the overlapping logo */
    margin-top: 0;    /* Space above footer for logo overlap */
}

.footer-logo-container {
    transition: transform 0.3s ease;
}

.footer-logo-container:hover {
    transform: scale(1.05);
}

/* AOS Animation Fixes */
[data-aos="fade"] {
    opacity: 0;
    transition-property: opacity;
}

[data-aos="fade"].aos-animate {
    opacity: 1;
}

/* Service Areas Styling */
.service-regions {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.region-cities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid rgba(44, 85, 48, 0.1);
    transition: all 0.2s ease;
}

.city-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(44, 85, 48, 0.1);
}

.city-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.city-item span {
    font-size: 0.95rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .service-regions {
        padding: 1.5rem;
    }
    
    .region-cities {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styling */
.contact-header {
    padding: 2rem 0;
}

.contact-details-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(44, 85, 48, 0.2);
}

.contact-details-top .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-details-top .contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-details-top .contact-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .contact-details-top {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-divider {
        width: 80px;
        height: 1px;
    }
}

.contact-section {
    padding: 4rem 0;
}

.contact-info {
    margin: 2rem 0;
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-form-card, .service-area-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.region-cities {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.city-item i {
    color: var(--primary-color);
}

.city-item:hover {
    background: #e9ecef;
}

/* Hero Contact */
.hero-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hero-contact-item:hover {
    color: var(--primary-color);
    background: rgba(44, 85, 48, 0.05);
}

.hero-contact-item i {
    font-size: 1.5rem;
}

.locations-list {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    height: 100%;
}

.cities {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.city {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: white;
    transition: all 0.2s ease;
}

.city:hover {
    background: var(--primary-color);
    color: white;
}

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

.form-control-lg {
    padding: 1rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-contact {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-contact-item {
        justify-content: center;
    }
    
    .locations-list {
        margin-bottom: 2rem;
    }
}

/* Contact Page Styling */
.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-method {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-method-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(44, 85, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-method h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.service-areas-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: 100%;
}

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

.service-area-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.service-area-item:hover {
    background: rgba(44, 85, 48, 0.1);
}

.service-area-item i {
    color: var(--primary-color);
}

.form-floating > .form-control {
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(44, 85, 48, 0.25);
}

@media (max-width: 992px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-method {
        padding: 1.5rem;
    }

    .service-areas-wrapper {
        margin-top: 2rem;
    }
}
