/*
* Tree Service Lafayette LA - Main Stylesheet
* Tree Service in Lafayette, LA
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary-color: #f9a825;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --background-light: #f8f9fa;
    --background-dark: #263238;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #f57f17;
    color: var(--text-dark);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-phone {
    background-color: transparent;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
}

.btn-phone:hover {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--primary-dark);
}



.section {
    padding: 80px 0;
}

.section.full-width {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Header ===== */
header {
    background-color: #ffffff;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
}

header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    height: 60px;
}

.cta-button {
    display: flex;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    color: inherit;
}

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

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-text .location {
    font-size: 0.7rem;
    color: var(--text-muted);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
}

nav ul li {
    margin: 0 10px;
    display: flex;
    align-items: center;
    height: 100%;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    font-size: 0.9rem;
    padding: 5px 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav > ul > li > a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(10px);
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    display: block;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    display: block;
    width: 100%;
    height: auto;
}

.dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    text-align: left;
    font-size: 0.85rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    color: var(--text-dark);
    background-color: #ffffff;
    margin: 0;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    border-left: 3px solid var(--primary-color);
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ===== Hero Section ===== */
#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), url('images/tree-removal-specialists.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3; /* Adjusted line height for better spacing */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-left: 0; /* Remove left padding */
}

.benefit-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    width: auto; /* Changed from 100% to auto */
    text-align: left;
    position: relative;
    margin: 0 auto; /* Center each item */
    padding-left: 36px; /* Space for the icon */
}

.benefit-item i {
    position: absolute;
    left: 0; /* Position icon at the start of the padding */
    color: var(--text-light);
    font-size: 0.9rem;
    background-color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    min-width: 220px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary.hero-btn i {
    font-size: 1.2rem;
}

/* Hero Rating Styles */
.hero-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 8px;
    line-height: 1;
}

.rating-stars {
    display: inline-flex;
    line-height: 1;
}

.rating-stars i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 0 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.rating-text {
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

/* ===== Services Section ===== */
#services {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    background-color: rgba(76, 175, 80, 0.1);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.service-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ===== Testimonials Section ===== */
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 350px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: rgba(76, 175, 80, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: var(--secondary-color);
    margin-right: 3px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author .name {
    font-weight: 600;
    color: var(--primary-dark);
}

.testimonial-author .location {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 45%;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    margin-bottom: 30px;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ===== Process Section ===== */
#process {
    background-color: var(--background-light);
}

.process-content {
    display: flex;
    margin-bottom: 30px;
}

.process-list-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

@media (max-width: 992px) {
    .process-content {
        padding: 0 15px;
    }
}

.process-list {
    list-style: none;
    counter-reset: process-counter;
    position: relative;
}

.process-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    background-color: var(--primary-light);
    border-radius: 4px;
}

.process-item {
    position: relative;
    padding-bottom: 50px;
    counter-increment: process-counter;
}

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

.process-item::before {
    content: counter(process-counter);
    position: absolute;
    left: 20px;
    top: 0;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.process-item-content {
    margin-left: 90px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.process-item-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-icon {
    background-color: rgba(76, 175, 80, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.process-item-content:hover .process-icon {
    transform: rotate(10deg);
}

.process-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.process-text {
    flex: 1;
}

.process-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.process-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.process-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== Pricing Section ===== */
.pricing-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-factors {
    width: 100%;
}

.pricing-factors h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
    text-align: center;
}

.factors-list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.factors-list {
    list-style: none;
    position: relative;
}

.factor-item {
    position: relative;
    padding-bottom: 30px;
}

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

.factor-item-content {
    background-color: white;
    border-radius: 8px;
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.factor-item-content:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.factor-icon {
    background-color: rgba(76, 175, 80, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.factor-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.factor-text {
    flex: 1;
}

.factor-text h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 600;
}

.estimate-process {
    width: 100%;
    padding: 40px 0;
    margin-top: 40px;
    background-color: var(--background-light);
    border-radius: 12px;
}

.estimate-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.estimate-header h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.estimate-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.estimate-steps-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.estimate-image {
    flex: 1;
    max-width: 400px;
}

.estimate-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.estimate-steps {
    flex: 1.5;
    padding: 20px 0;
}

.estimate-intro {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.estimate-intro i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
    background-color: rgba(76, 175, 80, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estimate-intro h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin: 0;
}

.numbered-steps {
    list-style-position: outside;
    padding-left: 25px;
    counter-reset: step-counter;
}

.numbered-steps li {
    position: relative;
    margin-bottom: 20px;
    padding-left: 10px;
    line-height: 1.6;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.step-highlight {
    font-weight: 600;
    color: var(--primary-dark);
}

.estimate-cta {
    margin-top: 30px;
}

/* CTA Styles - Multiple Variations */
.section-cta {
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

/* Primary CTA - Green Background */
.section-cta.primary-cta {
    background-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-cta.primary-cta h3 {
    color: #ffffff;
}

/* Light CTA - Light Background with Border */
.section-cta.light-cta {
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-cta.light-cta h3 {
    color: var(--primary-dark);
}

/* Gradient CTA - Gradient Background */
.section-cta.gradient-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.section-cta.gradient-cta h3 {
    color: #ffffff;
}

/* Subtle CTA - Very Light Background */
.section-cta.subtle-cta {
    background-color: var(--background-light);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    border-radius: 0;
}

.section-cta.subtle-cta h3 {
    color: var(--primary-dark);
}

/* Blend CTA - No Background or Border */
.section-cta.blend-cta {
    background-color: transparent;
    box-shadow: none;
    padding: 30px 0;
    margin-top: 20px;
}

.section-cta.blend-cta h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.section-cta.blend-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.section-cta h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cta-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.large-cta-btn {
    font-size: 1.3rem;
    padding: 18px 36px;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.large-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary.large-cta-btn {
    box-shadow: 0 8px 20px rgba(249, 168, 37, 0.3);
    border: none;
}

.btn-secondary.large-cta-btn:hover {
    box-shadow: 0 12px 25px rgba(249, 168, 37, 0.4);
    background-color: #ffb300;
}

/* ===== FAQ Section ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Tree Care Guide Section ===== */
#tree-guide {
    background-color: #ffffff;
    padding: 60px 0;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.guide-content h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.guide-content h3:first-of-type {
    margin-top: 10px;
}

.guide-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-dark);
}

.guide-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.guide-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.guide-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: #ffffff;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin: 0;
    padding-right: 15px;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    background-color: var(--background-light);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px; /* Large enough to fit content */
}

.faq-item.active .faq-question {
    background-color: var(--primary-light);
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: white;
}

/* ===== Gallery Section ===== */
#gallery {
    background-color: var(--background-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

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

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

    .gallery-item {
        height: 200px;
    }
}

/* ===== Contact/CTA Section ===== */
#contact {
    background-color: var(--background-light);
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/professional-tree-care-team.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.contact-cta-large {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.rating {
    margin-bottom: 15px;
}

.rating i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin: 0 5px;
}

.contact-cta-large h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-cta-large p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.service-area-note {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.8;
    color: #ffffff;
}

.contact-buttons .or {
    font-weight: 600;
    color: var(--text-muted);
}

.contact-content {
    display: flex;
    gap: 30px;
}

.contact-info {
    flex: 1;
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 30px;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.contact-info ul {
    margin-bottom: 25px;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info ul li i {
    margin-right: 15px;
    width: 20px;
}

.service-area {
    margin-bottom: 25px;
}

.service-area h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

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

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.contact-form {
    flex: 1;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* ===== Footer ===== */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-right: 10px;
}

.footer-logo .logo-text .main-text {
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--text-light);
}

.credentials {
    margin-top: 10px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }

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

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-content,
    .pricing-content,
    .contact-content {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 30px;
        max-width: 100%;
    }

    .pricing-factors {
        margin-bottom: 30px;
    }

    .estimate-steps-container {
        flex-direction: column;
    }

    .estimate-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .contact-info {
        margin-bottom: 30px;
    }

    .process-list-container {
        padding: 10px 0;
    }

    /* Apply mobile menu to tablets */
    header .container {
        grid-template-columns: auto auto;
        padding: 10px 15px;
    }

    .logo {
        flex: 1;
    }

    nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
        grid-column: 2;
    }

    nav > ul {
        display: none;
        position: absolute;
        top: 45px;
        right: 0;
        width: 220px;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 0;
        margin: 0;
        flex-direction: column;
        border-radius: 4px;
        transition: all 0.3s ease;
        height: auto;
    }

    nav > ul.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    nav > ul > li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        height: auto;
        display: block;
    }

    nav > ul > li:last-child {
        border-bottom: none;
    }

    nav > ul > li > a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 15px;
        font-size: 1rem;
        height: auto;
    }

    nav ul li a::after {
        display: none;
    }

    /* Mobile dropdown styles */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
        right: auto;
    }

    .dropdown-menu.active {
        max-height: 500px;
    }

    .dropdown-menu li {
        border-top: 1px solid var(--border-color);
        background-color: rgba(0, 0, 0, 0.02);
    }

    .dropdown-menu li a {
        padding: 10px 15px 10px 30px;
        font-size: 0.9rem;
        color: var(--text-dark);
    }

    .dropdown-menu li a:hover {
        color: var(--primary-color);
    }

    .dropdown-toggle {
        justify-content: center;
    }

    .mobile-menu {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }

    .mobile-menu:hover {
        color: var(--primary-dark);
    }

    .cta-button {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-text .main-text {
        font-size: 1.1rem;
    }

    .logo i {
        font-size: 1.8rem;
    }

    .mobile-menu {
        font-size: 1.4rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-benefits {
        margin-bottom: 25px;
        max-width: 320px;
    }

    .benefit-item {
        font-size: 0.95rem;
        padding-left: 30px; /* Reduced padding for mobile */
    }

    .benefit-item i {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-cta h2 {
        font-size: 1.8rem;
    }

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

@media (max-width: 576px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .process-list::before {
        left: 25px;
    }

    .process-item::before {
        left: 5px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .process-item-content {
        margin-left: 60px;
        padding: 20px;
    }

    .process-icon {
        width: 50px;
        height: 50px;
    }

    .process-icon i {
        font-size: 1.5rem;
    }

    .factor-item-content {
        padding: 20px;
    }

    .factor-icon {
        width: 50px;
        height: 50px;
    }

    .factor-icon i {
        font-size: 1.5rem;
    }

    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 100%;
        max-width: 100%;
    }

    .contact-cta-large h2 {
        font-size: 2.2rem;
    }

    .contact-cta-large p {
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
    }

    .footer-column {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .logo-text .main-text {
        font-size: 1rem;
    }

    .logo-text .location {
        font-size: 0.7rem;
    }

    .logo i {
        font-size: 2rem;
    }

    .process-item-content,
    .factor-item-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-icon,
    .factor-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .guide-content h3 {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons a {
        width: 100%;
        min-width: unset;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .cta-button a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .contact-buttons,
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-buttons a,
    .cta-buttons a {
        width: 100%;
    }

    .contact-buttons .or {
        margin: 5px 0;
    }

    .rating i {
        font-size: 1.5rem;
    }

    .contact-cta-large h2 {
        font-size: 1.8rem;
    }

    .contact-cta-large p {
        font-size: 1rem;
    }

    .footer-column {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .testimonial {
        padding: 20px;
    }
}

/* ===== Legal Pages Styles ===== */
.legal-content {
    padding: 80px 0;
}

.legal-content .section-header {
    margin-bottom: 40px;
}

.legal-content .section-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-text h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.legal-text p {
    margin-bottom: 20px;
}

.legal-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
}

.legal-text ul li {
    margin-bottom: 10px;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-text a:hover {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 60px 0;
    }

    .legal-content .section-header h1 {
        font-size: 2rem;
    }

    .legal-text h2 {
        font-size: 1.5rem;
    }

    .legal-text h3 {
        font-size: 1.2rem;
    }
}