/* 
    Donohue's Tree Surgeon - Modern Stylesheet
    Premium design focused on conversions and user engagement
*/

:root {
    /* Enhanced Color Palette */
    --primary-green: #2c5f2d;      /* Dark forest green - primary brand color */
    --secondary-green: #4ade80;    /* Modern bright green - accent */
    --accent-green: #22c55e;       /* Call-to-action green */
    --gradient-green: linear-gradient(135deg, #2c5f2d 0%, #4ade80 100%);
    --accent-brown: #5a3921;       /* Earthy brown - for contrast */
    --light-green: #ecfdf5;        /* Very light green - backgrounds */
    --dark-green: #1b4332;         /* Very dark green - footer backgrounds */
    --text-dark: #1f2937;          /* Darker grey for better contrast */
    --text-light: #f8fafc;         /* Light color for text on dark backgrounds */
    --subtle-bg: #f8fafc;          /* Clean off-white for sections */
    --border-light: #e5e7eb;       /* Light borders */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

/* Modern Base Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #ffffff;
    font-size: 16px;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

a {
    color: var(--primary-green);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

a:hover {
    color: var(--accent-green);
    text-decoration: none;
}

/* Floating Call Button - Professional Design */
.floating-call-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
    transition: all 0.3s ease;
}

.floating-call-btn:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.4);
    color: white;
    text-decoration: none;
}

.floating-call-btn i {
    font-size: 1rem;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 12px;
        justify-content: center;
        font-weight: 700;
        box-shadow: 0 4px 20px rgba(44, 95, 45, 0.4);
    }
    
    .header-call-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    /* Mobile hero optimizations */
    .hero-professional {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem) !important;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-phone-section {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .phone-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .phone-number {
        font-size: 1.75rem !important;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-call, .btn-quote {
        width: 100%;
        min-width: auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Mobile navigation */
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 6px;
    }
    
    /* Mobile sections */
    .section-modern {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: clamp(1.875rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Mobile cards */
    .card-modern {
        margin-bottom: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Mobile trust badges */
    .trust-badges {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-around;
    }
    
    .trust-badge i {
        font-size: 1.5rem;
    }
    
    .trust-badge h4 {
        font-size: 1rem;
    }
    
    .trust-badge p {
        font-size: 0.8rem;
    }
    
    /* Mobile typography */
    body {
        font-size: 15px;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
    
    /* Mobile CTA section */
    .cta-section {
        margin: 0 1rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .trust-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile call bar styles */
    .mobile-call-bar {
        background: var(--primary-green);
        color: white;
        padding: 0.75rem 1rem;
        text-align: center;
        font-weight: 600;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        cursor: pointer;
    }
    
    .mobile-call-bar a {
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .mobile-call-bar a:hover,
    .mobile-call-bar a:focus {
        color: white;
        text-decoration: none;
    }
    
    /* Adjust main padding for mobile call bar */
    main {
        padding-top: 130px !important;
    }
}

/* Conversion-focused styles */
.conversion-btn {
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.4) !important;
    transform: scale(1.05);
    font-weight: 700;
}

.conversion-btn:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.5) !important;
}

.trust-item {
    font-weight: 600;
    color: var(--text-dark);
}

.trust-item i {
    font-size: 1.1rem;
}

/* Professional trust signals */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.trust-badge {
    text-align: center;
    color: var(--primary-green);
}

.trust-badge i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trust-badge h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.trust-badge p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Professional Hero Section */
.hero-professional {
    min-height: 100vh;
    background: url('/static/img/hero-bg.svg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.85) 0%, rgba(26, 61, 27, 0.9) 100%);
    z-index: 1;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    color: white;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
}

.feature-item i {
    font-size: 1.1rem;
    color: #a8d5aa;
}

.hero-phone-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 0 auto;
}

.phone-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.phone-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.phone-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.phone-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
    color: white;
}

.phone-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
}

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

.btn-call {
    background: #ffffff;
    color: var(--primary-green);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-call:hover {
    background: #f8f9fa;
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-quote {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-quote:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Hide mobile call bar on desktop */
@media (min-width: 769px) {
    .mobile-call-bar {
        display: none !important;
    }
    
    main {
        padding-top: 75px !important;
    }
}

/* Modern Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px 0 rgb(0 0 0 / 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--primary-green);
    font-size: 1.75rem;
    letter-spacing: -0.025em;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--accent-green);
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    position: relative;
    border-radius: 8px;
    margin: 0 0.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
    background-color: var(--light-green);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: white;
    background: var(--gradient-green);
    box-shadow: var(--shadow-sm);
}

/* Header Call Button */
.header-call-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.header-call-btn:hover {
    background: var(--accent-green);
    color: white;
    text-decoration: none;
}

/* Modern Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.9) 0%, rgba(27, 67, 50, 0.85) 100%), 
                linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), 
                url('https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 10rem 0;
    position: relative;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(44, 95, 45, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
    animation: hero-fade-in 1.5s ease-out;
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* Hero Phone Display */
.hero-phone {
    text-align: center;
}

.phone-display {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.phone-display i {
    font-size: 1.25rem;
    opacity: 0.9;
}

.phone-number {
    font-family: 'Inter', monospace;
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* Modern Buttons */
.btn-primary {
    background: var(--gradient-green);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.025em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}



/* Modern Section Styling */
.section-modern {
    padding: 5rem 0;
    position: relative;
}

.section-light {
    background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 100%);
}

.section-dark {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-green);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title p {
    color: white;
}

/* Modern Card Components */
.card-modern {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-modern:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.3);
}

.card-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.card-modern p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

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

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.bg-light-green {
    background-color: var(--light-green);
}

.bg-subtle {
    background-color: var(--subtle-bg);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.service-card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.service-card-text {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Gallery */
.gallery-container {
    margin-bottom: 2rem;
}

.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

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

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

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.quote {
    position: relative;
    font-style: italic;
    padding: 0 1rem;
}

.quote:before {
    content: '\201C';
    font-size: 3rem;
    position: absolute;
    left: -15px;
    top: -20px;
    color: var(--secondary-green);
    opacity: 0.3;
}

.customer-name {
    font-weight: 700;
    margin-top: 1rem;
    color: var(--primary-green);
}

/* Contact Section */
.contact-info {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-form {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-control {
    border: 1px solid #e0e0e0;
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 0.2rem rgba(151, 188, 98, 0.25);
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-green);
}

.footer-link {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.5rem 1.2rem;
    }
    
    .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: center;
    }
    
    .d-flex.justify-content-center.gap-3 .btn {
        margin-bottom: 10px;
        width: 200px;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .testimonial-card, .service-card {
        padding: 1rem;
    }
    
    .section-intro p {
        padding: 0 10px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Animation Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Button animations */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    z-index: -2;
}

.btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

/* Scroll animations */
.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-green {
    color: var(--primary-green);
}

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

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.shadow-md {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}

.rounded-lg {
    border-radius: 8px !important;
}
