﻿/* Default hiding of desktop navigation on mobile */
.nav-links, .nav-contact {
    display: none;
}

/* 
* North Park Pharmacy Website Styles
* A clean, professional design with pharmacy-inspired colors
*/

/* Reset and Base Styles */
:root {
    --primary-color: #2d5a35;
    --primary-color-rgb: 45, 90, 53;  /* RGB values for the primary color */
    --primary-dark: #244a2b;
    --primary-light: #4d7a55;
    --accent-color: #2e8b57;
    --accent-dark: #24704a;
    --accent-light: #5fa37c;
    --text-color: #333333;
    --text-light: #5e5e5e;
    --text-very-light: #999999;
    --text-dark: #1d1d1d;
    --background-light: #f9f9f9;
    --background-light-rgb: 249, 249, 249;  /* RGB values for background light */
    --background-medium: #f1f1f1;
    --background-dark: #e9e9e9;
    --white: #ffffff;
    --black: #000000;
    --success: #2e8b57;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-rounded: 50px;
    --z-header: 100;
    --z-dropdown: 200;
    --z-mobile-menu: 300;
    --z-overlay: 250;
    --transition-normal: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-nav: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-base: 1.5;
    --max-width: 1200px;
    
    /* Spacing system for consistency */
    --space-1: 0.25rem;  /* 4px */
    --space-2: 0.5rem;   /* 8px */
    --space-3: 0.75rem;  /* 12px */
    --space-4: 1rem;     /* 16px */
    --space-5: 1.5rem;   /* 24px */
    --space-6: 2rem;     /* 32px */
    --space-7: 3rem;     /* 48px */
    --space-8: 4rem;     /* 64px */
    --space-9: 6rem;     /* 96px */
    --space-10: 8rem;    /* 128px */
    --space-12: 12rem;   /* 192px */

    /* Additional color variables */
    --primary-color-light: #edf2f7;
    --secondary-color: #f56565;
    --background-color: #f8f9fa;
    --light-bg: #f7fafc;
    --heading-color: #1a202c;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    
    /* Add styles for value icons */
    --icon-bg-color: rgba(45, 90, 53, 0.1);
    --icon-color: var(--primary-color);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    position: relative;
    font-size: 2.2rem;
    font-family: var(--font-primary);
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.section-title:after {
    content: none;
    position: absolute;
    bottom: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    background-color: transparent;
    border-radius: 3px;
    display: none;
}

.section-subtitle {
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--text-light);
    max-width: 700px;
    margin: 0.75rem auto 0;
    line-height: 1.6;
    font-weight: 400;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-subtitle {
    color: var(--primary-color);
    opacity: 0.9;
}

.section-header.light .section-title:after {
    background-color: transparent;
    display: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-rounded);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-nav);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    border-radius: 0;
    border: none;
    font-weight: 600;
    font-family: var(--font-nav);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary .btn-text {
    margin-right: 10px;
}

.btn-primary:hover {
    background-color: #43A047;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-color-rgb), 0.05);
    color: rgba(var(--primary-color-rgb), 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-rounded);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    font-size: 0.9rem;
    margin-top: auto;
}

.btn-secondary:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: rgba(var(--primary-color-rgb), 0.9);
    transform: translateY(-2px);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 0;
    border: 1px solid var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: rgba(var(--primary-color), 0.05);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover .btn-text,
.btn-outline:hover i {
    color: var(--primary-color);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 0;
    padding: 12px 24px;
    font-weight: var(--font-weight-semibold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-text {
    color: inherit;
    position: relative;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.01em;
}

.btn-text i {
    margin-left: 12px;
    transition: transform 0.2s ease;
}

.btn-text:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: transparent;
    transition: var(--transition-normal);
    display: none;
}

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

.btn-text:hover:after {
    width: 0;
}

.btn-text:hover i {
    transform: translateX(3px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 95, 116, 0.9), rgba(30, 95, 116, 0.9)), url('../images/PharmacyFrontPicture.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 160px 0;
    text-align: center;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    padding: 1rem 2rem;
}

.hero-cta .btn-primary i,
.hero-cta .btn-secondary i {
    margin-left: 10px;
}

.hero-cta .btn-primary {
    background-color: #4CAF50;
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
}

.hero-cta .btn-primary:hover {
    background-color: #43A047;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
}

.hero-cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

/* Key Benefits Section */
.key-benefits {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: #2d5a35; /* Updated to brand forest green */
    margin-bottom: 1rem;
}

/* Services Showcase */
.services-showcase {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d5a35; /* Updated to brand forest green */
}

.section-subtitle {
    text-align: center;
    color: #333333; /* Darker text for better contrast */
    margin-bottom: 3rem;
}

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

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

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

.service-icon {
    font-size: 2rem;
    color: #2d5a35; /* Updated to brand forest green */
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: #2d5a35; /* Updated to brand forest green */
    text-decoration: none;
    font-weight: 600;
}

/* Add spacing for arrow icons */
.fas.fa-arrow-right {
    margin-left: 12px;
    padding-right: 4px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: #2d5a35; /* Updated to brand forest green */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: auto;
}

.author-info h4 {
    margin: 0;
    color: #2d5a35; /* Updated to brand forest green */
}

.author-info span {
    color: #333333; /* Darker text for better contrast */
    font-size: 0.9rem;
}

.rating {
    color: #ffc107; /* Amber color for stars */
}

/* Testimonials Section (Alternative) */
.testimonials-section {
    padding: var(--space-8) 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
    padding: 0 var(--space-4);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(45, 90, 53, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-content {
    position: relative;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333; /* Darker text for better contrast */
    margin-bottom: 0;
    position: relative;
    padding-left: var(--space-4);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: auto;
}

.author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #2d5a35; /* Updated to brand forest green */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-image i {
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    color: #2d5a35; /* Updated to brand forest green */
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #333333; /* Darker text for better contrast */
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #2d5a35 0%, #3a7a45 100%);
    padding: var(--space-12) 0;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E');
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-4);
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-4);
}

.cta-buttons .btn-primary {
    background-color: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.cta-buttons .btn-primary i {
    margin-left: 10px;
}

.cta-buttons .btn-primary:hover {
    background-color: #43A047;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
}

.cta-buttons .btn-secondary i {
    margin-left: 10px;
}

.cta-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-feature .feature-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
}

.cta-feature span {
    font-size: 1rem;
    font-weight: 500;
    color: white; /* Changed to white */
}

.cta-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Hero Section Styles */
.hero {
    position: relative;
    padding: var(--space-10) 0;
    background: linear-gradient(rgba(45, 90, 53, 0.95), rgba(45, 90, 53, 0.8));
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top:40px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    line-height: 1.2;
    color: white;
}

.hero p, .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-6);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

/* Section Headers */
.section-title {
    color: #2d5a35;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    text-align: center;
}

.section-subtitle {
    color: #333333;
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-6);
}

/* Service Icons */
.service-icon {
    color: #2d5a35;
}

.service-icon i {
    font-size: 2rem;
    color: #333333;
}

/* Call to Action */
.cta {
    padding: var(--space-8) 0;
    background-color: var(--background-light);
}

.cta-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: #2d5a35;
    margin-bottom: var(--space-4);
}

.cta p {
    font-size: 1.125rem;
    color: #333333;
    margin-bottom: var(--space-6);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Adjust team CTA button */
.team-cta .btn-primary {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-content {
        text-align: center;
        padding: 0 1rem;
    }

    .cta-buttons {
        justify-content: center;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: var(--space-8) 0;
    }

    .cta-content {
        padding: 0 var(--space-3);
    }

    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: var(--space-3);
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: var(--space-4);
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--space-3);
    }
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: var(--z-header);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-cta {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 990;
    opacity: 1;
}

.mobile-call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 990;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: visible;
    margin: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0;
    z-index: 2;
}

.logo-image {
    width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

.nav-contact {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-contact .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4CAF50; /* Leaf green color */
    color: white;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13px;
    font-family: var(--font-nav);
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
    text-transform: uppercase;
}

.nav-contact .btn-primary:hover {
    background-color: #43A047;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: block;
    width: 32px;
    height: 28px;
    position: relative;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 6px;
    z-index: 10;
    margin-left: 10px;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 2.5px;
    width: 100%;
    background: white;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 8px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 16px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 90%;
    max-width: 450px;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: var(--z-mobile-menu);
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    display: block;
}

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

.menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.menu-close:hover {
    opacity: 0.8;
}

.menu-nav {
    padding: 1.5rem;
}

.menu-item {
    display: block;
    padding: 1rem 0;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-family: var(--font-nav);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-item:hover,
.menu-item.active {
    color: var(--accent-light);
}

.menu-item.highlight {
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    border-bottom: none;
}

.menu-item.highlight:hover {
    background-color: var(--accent-dark);
}

.menu-footer {
    margin-top: auto;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.1);
}

.menu-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.menu-hours .hours-text {
    display: inline-block;
    white-space: nowrap;
}

/* Opening Hours in Mobile Menu */
.mobile-menu .opening-hours {
    padding: 1.5rem;
    max-width: none;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .opening-hours h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-menu .hours-list {
    margin-top: 0.5rem;
}

.mobile-menu .hours-item {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-menu .hours-item .day {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-menu .hours-item .time {
    color: rgba(255, 255, 255, 0.8);
}

/* Overlay styling */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        z-index: var(--z-header);
        padding: 0.5rem 0;
    }
    
    .nav-contact {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo-image {
        width: 180px;
    }
}

@media (max-width: 767px) {
    .header {
        padding: 0.4rem 0;
    }
    
    .navbar {
        height: 60px;
        padding: 0.25rem 0.75rem;
    }
    
    .logo-image {
        width: 160px;
    }
    
    .mobile-menu-toggle {
        width: 24px;
        height: 20px;
        margin-left: 5px;
    }
    
    .mobile-menu-toggle span {
        height: 2px;
    }
    
    .mobile-menu-toggle span:nth-child(2) {
        top: 7px;
    }
    
    .mobile-menu-toggle span:nth-child(3) {
        top: 14px;
    }
    
    .nav-contact .btn-primary {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        height: 35px;
        border-radius: var(--radius-md);
    }
    
    .nav-contact .btn-primary i {
        display: none;
    }
}

/* Story Section Styles */
.story-section {
    padding: var(--space-9) 0 var(--space-9) 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.05);
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.03) 0%, rgba(var(--primary-color-rgb), 0) 100%);
    z-index: 0;
}

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

.story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-7);
    margin-top: var(--space-5);
    margin-bottom: var(--space-8);
}

.story-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    max-height: 360px;
}

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

.story-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    justify-content: center;
}

.story-highlight {
    background-color: rgba(var(--primary-color-rgb), 0.05);
    border-left: 4px solid var(--primary-color);
    padding: var(--space-4) var(--space-5);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: var(--space-4);
    position: relative;
}

.story-highlight i {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    color: var(--primary-light);
    font-size: 1.5rem;
    opacity: 0.3;
}

.story-highlight p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-dark);
    margin-left: var(--space-6);
    margin-bottom: 0;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 0;
}

.story-action {
    margin-top: var(--space-4);
}

.story-action .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.values-section {
    margin-top: var(--space-9);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.values-section .section-header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-5);
}

@media (min-width: 768px) and (max-width: 991px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .values-section {
        margin-top: var(--space-7);
        padding-top: var(--space-6);
    }

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

.value-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--space-3);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: var(--space-2);
}

.value-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .story-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
        align-items: center;
    }
    
    .story-text {
        padding-right: var(--space-4);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        max-width: 80%;
        margin: 0 auto;
        max-height: 320px;
    }
}

@media (max-width: 767px) {
    .story-image {
        max-height: 280px;
    }
    
    .story-action {
        text-align: center;
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Areas Section */
.areas-section {
    padding: var(--space-8) 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.areas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(var(--primary-color-rgb), 0.03) 2px, transparent 2px),
        radial-gradient(rgba(var(--primary-color-rgb), 0.02) 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.5;
    z-index: 0;
}

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

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
    margin-bottom: var(--space-6);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.area-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.area-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.area-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.area-card:hover .area-image img {
    transform: scale(1.05);
}

.area-content {
    padding: var(--space-5);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.area-title {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.area-description {
    color: var(--text-light);
    margin-bottom: var(--space-4);
    line-height: 1.6;
    font-size: 0.95rem;
}

.area-distance {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: var(--space-4);
}

.area-distance i {
    font-size: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-color-rgb), 0.05);
    color: rgba(var(--primary-color-rgb), 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-rounded);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    font-size: 0.9rem;
    margin-top: auto;
}

.btn-secondary:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: rgba(var(--primary-color-rgb), 0.9);
    transform: translateY(-2px);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.areas-cta {
    text-align: center;
    margin-top: var(--space-6);
    padding: var(--space-6);
    background-color: rgba(var(--primary-color-rgb), 0.05);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.areas-cta p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) and (max-width: 991px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
}

@media (min-width: 992px) {
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
    }
}

@media (max-width: 767px) {
    .areas-section {
        padding: var(--space-6) 0;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .area-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .area-image {
        height: 180px;
    }
    
    .area-content {
        padding: var(--space-4);
    }
    
    .area-title {
        font-size: 1.2rem;
    }
    
    .areas-cta {
        padding: var(--space-4);
        margin-top: var(--space-4);
    }
    
    .areas-cta p {
        font-size: 1rem;
    }
}

/* Services Section Styles */
.services-highlight {
    padding: 6rem 0;
    background-color: var(--background-light);
}

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

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    margin-bottom: 1rem;
}

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

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem 0;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary-color-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.35rem;
    color: white;
    margin: 0;
}

.service-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 2rem 1.5rem;
    margin-left: var(--space-6);
}

.service-card-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.service-feature i {
    color: #2d5a35;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.service-feature span {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-card-footer {
    margin-top: 1rem;
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-left: var(--space-6);
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease;
    margin: 0;
    padding: 0;
}

.service-link:hover {
    gap: 1rem;
}

.services-cta {
    margin-top: 4rem;
    text-align: center;
}

@media (max-width: 768px) {
    .services-highlight {
        padding: 4rem 0;
    }
    
    .services-grid {
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .service-card-header {
        padding: 1.25rem 1.5rem 0;
        gap: 1rem;
    }
    
    .service-card-content {
        padding: 0 1.5rem 1.25rem;
    }
    
    .service-card-footer {
        padding: 0.75rem 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card.featured {
    position: relative;
    border: 1px solid rgba(var(--primary-color-rgb), 0.15);
    box-shadow: var(--shadow-md);
}

.service-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

.service-card.featured .service-card-header {
    background-image: linear-gradient(to right, #4CAF50, #43A047);
}

.service-card-title {
    color: var(--white);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.service-card-body {
    padding: var(--space-5);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-description {
    color: var(--text-light);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.service-features {
    margin-bottom: var(--space-4);
}

.service-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    transition: transform 0.2s ease;
}

.service-feature:hover {
    transform: translateX(5px);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-card-footer {
    padding: 0 var(--space-5) var(--space-5);
    margin-top: auto;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.service-link .link-text {
    margin-right: var(--space-2);
}

.service-link .link-icon {
    transition: transform 0.3s ease;
}

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

.service-link:hover .link-icon {
    transform: translateX(8px);
}

.service-link .link-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0;
    width: 0;
    background-color: transparent;
    transition: width 0.3s ease;
    display: none;
}

.service-link:hover .link-hover-effect {
    width: 0;
}

.services-cta {
    text-align: center;
    margin-top: var(--space-7);
}

.services-cta .btn-primary {
    padding: 0.9rem 2rem;
}

@media (min-width: 768px) and (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
    
    .service-card.featured {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {
    .services-highlight {
        padding: var(--space-8) 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
    }
    
    .service-card-header {
        padding: var(--space-5);
    }
    
    .service-card-body,
    .service-card-footer {
        padding-left: var(--space-5);
        padding-right: var(--space-5);
    }
}

@media (max-width: 767px) {
    .services-highlight {
        padding: var(--space-8) 0;
    }
    
    .services-grid {
        gap: var(--space-5);
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-right: var(--space-3);
        margin-top: var(--space-2)
    }
    
    .service-card-title {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .service-card-header {
        padding: var(--space-3);
        flex-direction: row;
        align-items: center;
        padding-top: var(--space-3);
        border-radius: 0.75rem 0.75rem 0 0;
    }
    
    .service-card-body {
        padding: var(--space-3);
    }
    
    .service-card-footer {
        padding: 0 var(--space-3) var(--space-3);
    }
    
    .service-card {
        margin-bottom: var(--space-4);
        border-radius: 0.75rem;
    }
    
    .service-card-content {
        padding: var(--space-3) !important;
    }
    
    .service-features {
        margin-top: var(--space-2);
    }
    
    .service-feature {
        margin-bottom: var(--space-2);
    }
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-rounded);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-family: var(--font-nav);
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card-header {
    background-color: #2d5a35;
    background-image: linear-gradient(to right, #2d5a35, #244a2b);
    padding: var(--space-5);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--space-5) + 2.5rem);
}

.service-card.featured .service-card-header {
    background-image: linear-gradient(to right, #4CAF50, #43A047);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--space-8) 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
    padding: 0 var(--space-4);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-content {
    position: relative;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333; /* Darker text for better contrast */
    margin-bottom: 0;
    position: relative;
    padding-left: var(--space-4);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: auto;
}

.author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #2d5a35; /* Updated to brand forest green */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-image i {
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    color: #2d5a35; /* Updated to brand forest green */
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #333333; /* Darker text for better contrast */
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-4);
        padding: 0 var(--space-3);
    }
    
    .testimonial-card {
        padding: var(--space-4);
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: var(--space-6) 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding: 0 var(--space-3);
    }
    
    .testimonial-card {
        padding: var(--space-3);
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        padding-left: var(--space-3);
    }
    
    .author-image {
        width: 40px;
        height: 40px;
    }
    
    .author-image i {
        font-size: 1rem;
    }
    
    .author-info {
        padding-left: 25px;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-info p {
        font-size: 0.85rem;
    }
    
    .testimonial-author {
        gap: var(--space-2);
    }
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-8);
    text-align: center;
}

.trust-item {
    background-color: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.trust-info h4 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.trust-info p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 767px) {
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .trust-item {
        padding: var(--space-3);
    }
    
    .trust-info h4 {
        font-size: 1.75rem;
    }
}

/* Team Section Styles */
.team-section {
    padding: 4rem 0;
    background-color: #ffffff;
    border-top: 1px solid rgba(45, 90, 53, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(45, 90, 53, 0.1);
    border-color: #2d5a35;
}

.team-member-image {
    width: 120px;
    height: 120px;
    background-color: rgba(45, 90, 53, 0.1);
    margin: 0 auto 1.5rem;
    border-radius: 50%;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.placeholder-image i {
    font-size: 2.5rem;
    color: #2d5a35;
}

.team-member-info {
    text-align: center;
}

.member-name {
    color: #2d5a35;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-title {
    color: #666666;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-bio {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-credentials {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.credential-badge {
    background-color: rgba(45, 90, 53, 0.1);
    color: #2d5a35;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.team-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(45, 90, 53, 0.05);
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-cta-text {
    font-size: 1.1rem;
    color: #2d5a35;
    margin-bottom: 1rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    .team-section {
        padding: 3rem 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 1.25rem;
    }

    .member-name {
        font-size: 1.2rem;
    }

    .team-cta {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    padding: 1rem;
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    color: #333333;
    font-size: 1.1rem;
    margin: 0;
}

.faq-icon {
    color: #2d5a35;
}

.faq-answer {
    padding: 0 1rem 1rem;
    color: #666666;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

@media (max-width: 767px) {
    .team-section,
    .faq-section {
        padding: 2rem 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(45, 90, 53, 0.05);
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta p {
    font-size: 1.1rem;
    color: #2d5a35;
    margin-bottom: 1rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    .faq-cta {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: var(--space-8) 0;
    background-color: var(--white);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.contact-card {
    background: var(--white);
    padding: var(--space-5);
    text-align: center;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.contact-card h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    margin-top: auto;
    justify-content: center;
    width: 100%;
}

.contact-link i {
    transition: transform 0.3s ease;
}

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

.contact-link:hover i {
    transform: translateX(5px);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-3);
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
}

.hours-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
    padding: var(--space-1) 0;
    width: 100%;
}

.hours-item .day {
    font-weight: 500;
    width: 130px;
    text-align: right;
    padding-right: 10px;
    white-space: nowrap;
}

.hours-item .time {
    color: var(--primary-color);
    text-align: left;
    flex: 1;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .contact-grid {
        gap: var(--space-3);
    }
    
    .contact-card {
        padding: var(--space-4);
    }
    
    .contact-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
        margin-bottom: var(--space-3);
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: var(--space-2);
    }
    
    .contact-card p {
        font-size: 1rem;
        margin-bottom: var(--space-3);
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: var(--space-6) 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding: 0 var(--space-3);
    }
    
    .contact-card {
        padding: var(--space-4); /* Increased from var(--space-3) */
    }
    
    .contact-icon {
        width: 56px; /* Increased from 48px */
        height: 56px; /* Increased from 48px */
        font-size: 1.25rem; /* Increased from 1.1rem */
        margin-bottom: var(--space-3); /* Increased from var(--space-2) */
    }
    
    .contact-card h3 {
        font-size: 1.2rem; /* Increased from 1.1rem */
        margin-bottom: var(--space-3); /* Increased from var(--space-2) */
    }
    
    .contact-card p {
        font-size: 1rem; /* Increased from 0.95rem */
        margin-bottom: var(--space-3); /* Increased from var(--space-2) */
    }
    
    .contact-link {
        font-size: 1rem; /* Increased from 0.95rem */
    }
    
    .hours-item {
        font-size: 0.9rem;
        padding: var(--space-1) 0;
    }
}

/* Footer Styles */
.footer {
    background-color: #2d5a35; /* Changed to primary green color */
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pattern.png');
    opacity: 0.1;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr); /* Changed to 5 columns */
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Brand Column */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 250px; /* Increased logo size */
    height: auto;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Contact Info */
.footer-contact-info {
    margin-bottom: 2rem;
}

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

.contact-item i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.2rem;
}

.contact-details {
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-details a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ffffff;
}

/* Opening Hours */
.footer-hours h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-badges {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-badges img {
    max-height: 75px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.logo-with-background {
    background-color: transparent;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 174px; /* 150px for image + 24px for padding */
    height: 91px; /* 75px for image + 16px for padding */
}

.logo-with-background img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .logo-with-background {
        width: 140px;
        height: 74px;
        padding: 10px 15px;
    }
    
    .footer-logo img {
        width: 200px; /* Slightly smaller on mobile */
    }

    /* Increase logo image size on mobile */
    .logo-with-background img {
        max-width: 150%;
        max-height: 150%;
    }
}

/* Smart Location Banner */
.smart-location-banner {
    padding: var(--space-2) var(--space-3);
    transition: var(--transition-normal);
    font-size: 0.875rem;
    background: var(--white);
    border-bottom: 1px solid var(--background-dark);
}

.location-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: var(--space-4);
}

.location-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.location-info i {
    color: #2d5a35;
    font-size: 1.1rem;
}

.location-text {
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    font-size: 0.9rem;
}

.directions-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: #2d5a35;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    background: rgba(45, 90, 53, 0.1);
}

.directions-link:hover {
    background: rgba(45, 90, 53, 0.2);
    color: #2d5a35;
}

.directions-link i {
    font-size: 1rem;
}

@media (max-width: 767px) {
    .smart-location-banner {
        padding: var(--space-4) var(--space-3) var(--space-2);
    }

    .location-content {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
        padding: 0;
    }
    
    .location-info {
        justify-content: center;
        width: 100%;
    }
    
    .directions-link {
        width: 100%;
        justify-content: center;
        padding: var(--space-2) var(--space-3);
        margin: 0;
    }
}

.badge-text {
    font-weight: 800;
    color: #2d5a35; /* Updated from NHS Blue to brand green */
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-text i {
    color: #4CAF50; /* Updated from NHS Green to bright green */
    font-size: 0.9rem;
}

/* Update any services card headers that might still be blue */
.service-card-header {
    background-color: #2d5a35;
    background-image: linear-gradient(to right, #2d5a35, #244a2b);
    padding: var(--space-5);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--space-5) + 2.5rem);
}

.service-card.featured .service-card-header {
    background-image: linear-gradient(to right, #4CAF50, #43A047);
}

/* Update any remaining blue headers */
.section-title.community-voices {
    color: #2d5a35;
}

/* Update location-info and banner colors */
.location-info i {
    color: #2d5a35;
}

.directions-link {
    color: #2d5a35;
}

.directions-link:hover {
    background: rgba(45, 90, 53, 0.1);
    color: #2d5a35;
}

/* Prescription Form Styles */
.prescription-form-container {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.form-section {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--background-medium);
    padding-bottom: 2rem;
}

.form-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.form-section-title i {
    margin-right: 0.75rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--background-dark);
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.form-control::placeholder {
    color: var(--text-very-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
    padding-right: 2.5rem;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.checkbox-field input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    border: 1px solid var(--background-dark);
    border-radius: 3px;
    appearance: none;
    background-color: var(--white);
    transition: var(--transition-normal);
    position: relative;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-field input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-field label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-light);
    font-weight: 400;
}

.checkbox-field a {
    color: var(--primary-color);
    font-weight: 500;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.form-submit .btn-primary {
    padding: 1rem 2rem;
    font-weight: 600;
    min-width: 250px;
}

.file-upload {
    position: relative;
    margin-bottom: 0.5rem;
}

.file-upload label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px dashed var(--background-dark);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    justify-content: center;
}

.file-upload label:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-name {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Responsive styles for prescription form */
@media (max-width: 991px) {
    .prescription-form-container {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .prescription-form-container {
        padding: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.2rem;
    }
    
    .form-submit .btn-primary {
        width: 100%;
    }
}

/* FAQ Styles for Prescription Page */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    background-color: var(--white);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    transition: height 0.3s ease;
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 0 1.25rem 1.25rem;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Responsive styles for FAQ section */
@media (max-width: 767px) {
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 992px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .navbar {
        height: 90px;
        padding: 0.5rem 2rem;
    }
    
    .logo-image {
        width: 200px;
    }
    
    .mobile-menu-toggle {
        margin-left: 15px;
    }
    
    .nav-contact .btn-primary {
        padding: 0.75rem 1.5rem;
    }
}

.header-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: var(--z-header);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 990;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.map-container {
    margin-top: var(--space-5);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.map-container iframe {
    display: block;
}

/* Trust Builder Section */
.trust-builder {
    background-color: #f7f9fc;
    padding: 3rem 0;
    border-bottom: 1px solid #eaedf2;
}

.trust-builder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-title {
    font-size: 1.5rem;
    color: #2d5a35;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: inline-block;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.trust-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive styles for trust builder */
@media (max-width: 767px) {
    .trust-builder {
        padding: 2rem 0;
    }
    
    .trust-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .trust-logos {
        gap: 1.5rem;
        flex-direction: column;
    }
}

.opening-hours {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.opening-hours h3 {
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-3);
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
}

.hours-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.95rem;
    padding: var(--space-1) 0;
    width: 100%;
}

.hours-item .day {
    font-weight: 500;
    text-align: left;
    flex: 1;
}

.hours-item .time {
    color: var(--primary-color);
    text-align: right;
    flex: 1;
}

.smart-location-banner, .location-content, .location-info, .location-text, .directions-link {
    display: none;
}

/* Thank You Page Styles */
.thank-you-hero {
    background-color: var(--primary-color-light);
    text-align: center;
    padding: 80px 0;
}

.thank-you-hero h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-confirmation {
    padding: 60px 0;
    background-color: #fff;
}

.confirmation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.confirmation-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.confirmation-step {
    flex: 1;
    min-width: 250px;
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: left;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.step-content h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color-dark);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .confirmation-steps {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thank-you-hero h1 {
        font-size: 2.5rem;
    }
}

/* Services Process Steps */
.services-process {
    padding: 2rem 0;
    background-color: #ffffff;
    width: 100%;
    margin: 0;
}

.services-process .container {
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
    margin: 0;
}

.services-process .section-title {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.process-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: calc(33.333% - 2rem);
    padding: 1rem;
}

.step-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    padding: 2rem;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.step-content p {
    color: #4a4a4a;
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .process-grid {
        flex-direction: column;
    }
    
    .process-step {
        margin-top: 2rem;
        width: 100%;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
}

/* Form Progress Indicator Styles */
.form-progress {
    margin-bottom: 2rem; 
    position: relative;
}

.progress-bar {
    height: 4px; 
    background-color: #e0e0e0; 
    width: 100%; 
    position: absolute; 
    top: 14px; 
    z-index: 1;
}

.progress-bar-fill {
    height: 4px; 
    background-color: var(--primary-color); 
    width: 0; 
    position: absolute; 
    top: 14px; 
    z-index: 2; 
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex; 
    justify-content: space-between; 
    position: relative; 
    z-index: 3;
}

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

.step-indicator {
    width: 30px; 
    height: 30px; 
    border-radius: 50%; 
    background-color: #e0e0e0; 
    color: #666; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 8px; 
    font-weight: 600;
}

.progress-step.active .step-indicator {
    background-color: var(--primary-color); 
    color: white;
}

.step-name {
    font-size: 0.875rem; 
    color: #666;
}

.progress-step.active .step-name {
    color: var(--primary-color); 
    font-weight: 600;
}

/* Consolidated Media Queries */
@media (max-width: 991px) {
    /* Header and Navigation */
    .header {
        padding: 1rem 0;
    }
    
    .navbar {
        justify-content: space-between;
    }
    
    .logo-image {
        max-width: 200px;
        height: auto;
    }
    
    .nav-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    /* CTA Section */
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content {
        text-align: center;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    /* Header and Navigation */
    .header {
        padding: 0.75rem 0;
    }
    
    .navbar {
        padding: 0 1rem;
    }
    
    .logo-image {
        max-width: 140px;
    }
    
    .mobile-menu-toggle {
        width: 25px;
        height: 20px;
    }
    
    .mobile-menu-toggle span {
        height: 2px;
    }
    
    /* Hero Section */
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
    }
    
    /* Section Layouts */
    .story-section, 
    .areas-section,
    .services-highlight,
    .testimonials-section,
    .team-section,
    .faq-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1.25rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    /* Grid Layouts */
    .story-content,
    .areas-grid,
    .services-grid,
    .testimonials-grid,
    .team-grid,
    .contact-grid,
    .values-grid,
    .trust-indicators,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Card Elements */
    .area-card,
    .service-card,
    .testimonial-card,
    .team-card,
    .contact-card,
    .story-highlight,
    .value-card,
    .trust-item {
        padding: 1.25rem;
    }
    
    /* Form Elements */
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .prescription-form-container {
        padding: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.2rem;
    }
    
    .form-submit .btn-primary {
        width: 100%;
    }
    
    /* CTA Sections */
    .cta-section,
    .areas-cta,
    .services-cta,
    .team-cta,
    .faq-cta {
        padding: 2rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        width: 100%;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .cta-features {
        margin-top: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .cta-image {
        display: none;
    }
    
    /* Typography and Spacing */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Footer Elements */
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .logo-with-background {
        margin: 0 auto 1rem;
    }
    
    .footer-logo img {
        max-width: 200px;
    }
    
    /* Location Banner */
    .smart-location-banner {
        padding: 0.75rem 0;
    }
    
    .location-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .location-info {
        text-align: center;
        justify-content: center;
    }
    
    .directions-link {
        margin-top: 0.5rem;
        padding: 0.5rem 1rem;
    }
}

/* About Page Styles */
.detailed-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.vision-card:hover .detailed-logo,
.mission-card:hover .detailed-logo,
.values-icon:hover .detailed-logo {
    transform: scale(1.05);
}

.vision-icon, .mission-icon, .values-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.vision-mission-grid {
    gap: 3rem;
}

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

/* Trust and Accreditation Styles */
.trust-section .trust-icon {
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    margin: 0 auto 1rem;
}

.trust-section .trust-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-section .trust-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trust-section .logo-with-background {
    margin: 0 auto;
    width: 250px;
    height: 130px;
    background-color: white !important;
    border-radius: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.trust-section .trust-icon img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    filter: none !important;
    width: 220px;
    height: auto;
}

.trust-section .trust-item:hover .trust-icon img {
    transform: scale(1.05);
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-badges img {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-badges img:hover {
    opacity: 1;
}

/* Logo Background */
.logo-with-background {
    background-color: white;
}

/* Ensure logos display in their original colors */
.trust-icon img, .footer-badges img {
    filter: none !important;
}

@media (max-width: 768px) {
    .detailed-logo {
        width: 100px;
        height: 100px;
    }
    
    .trust-section .logo-with-background {
        width: 200px;
        height: 100px;
    }
    
    .trust-section .trust-icon img {
        width: 180px;
    }
}

/* Contact Page Styles */
.page-header {
    background-color: transparent;
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.map-container {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-info {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.emergency-assistance {
    background-color: var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.emergency-assistance h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.emergency-assistance p {
    margin-bottom: 0.5rem;
}

.emergency-assistance a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

/* Thank You Page Specific Styles */
.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.thank-you-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(45, 90, 53, 0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(45, 90, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.thank-you-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.thank-you-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.thank-you-message {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--accent-color);
}

/* Private Services Section Styles */
#private-services {
    background-color: var(--background-light);
    padding: var(--space-8) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    max-width: var(--max-width);
    margin: 0 auto;
}

.value-item {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.value-item .value-icon {
    margin-bottom: var(--space-4);
    background-color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.value-item h3 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.value-item p {
    color: rgba(255, 255, 255, 0.9);
}

.value-item:hover .value-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.value-item:hover .value-icon i {
    color: white;
}

/* Mobile specific styles for value items */
@media (max-width: 767px) {
    .value-item .value-icon {
        background-color: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    
    .value-item .value-icon i {
        color: var(--primary-color);
    }
}

/* Service Highlight Section */
.service-highlight {
    background-color: var(--background-light);
    border-radius: var(--radius-lg);
    padding: var(--space-7);
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: var(--space-4) auto;
    text-align: left;
}

.highlight-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-4);
}

.highlight-icon {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-3);
    flex-shrink: 0;
}

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

.highlight-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: var(--space-1);
    font-weight: var(--font-weight-bold);
}

.highlight-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-4);
    margin: var(--space-4) 0;
}

.feature-card {
    background-color: var(--white);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon-wrapper {
    text-align: center;
    margin-bottom: var(--space-2);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--space-2);
    font-size: 1.2rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Support List */
.support-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2);
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}

.support-item i {
    color: var(--primary-color);
    margin-top: var(--space-1);
}

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

/* Process Steps */
.process-step {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    padding: var(--space-4);
    text-align: center;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-md);
}

.step-icon {
    margin: var(--space-4) 0;
}

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

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-2);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Loading Overlay */
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9999;
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-message {
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

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

/* Hero Section with Background Image */
.hero.with-background {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
}

.hero.with-background .container {
    position: relative;
    z-index: 2;
}

/* Honeypot field for forms */
input[name="_honey"] {
    display: none;
}

/* Services Highlight Section - New Implementation */
.services-highlight {
    padding: var(--space-8) 0;
    background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.2;
}

.services-highlight .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0rem;
    margin-bottom: 1.5rem;
}

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

.service-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color:white;
    border-color:white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

.service-card-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.service-card-body {
    padding: var(--space-5);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.service-description {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.service-features {
    margin-bottom: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-card-footer {
    padding: var(--space-4) var(--space-5);
    background: var(--background-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.service-link:hover::after {
    width: 100%;
}

.service-link .link-icon {
    transition: transform 0.3s ease;
}

.service-link:hover .link-icon {
    transform: translateX(4px);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
}

@media (max-width: 767px) {
    .services-highlight {
        padding: var(--space-6) 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .service-card-header {
        padding: var(--space-4);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .service-card-title {
        font-size: 1.1rem;
    }
    
    .service-card-body {
        padding: var(--space-4);
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .service-card-footer {
        padding: var(--space-3) var(--space-4);
    }
}

.service-features {
    margin-bottom: var(--space-4);
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    transition: transform 0.2s ease;
}

.service-feature:hover {
    transform: translateX(5px);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.125rem;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Increase logo image size on mobile */
.logo-with-background img {
    max-width: 150%;
    max-height: 150%;
    padding: 8px;
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1.25rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
}

/* Phone icon color */
.fas.fa-phone-alt {
    color: #2d5a35;
}

/* Phone icon in mobile call button should be white */
.mobile-call-button .fas.fa-phone-alt {
    color: white;
}

/* "Get in touch" section phone icon should be green (default) */
.contact-card .fas.fa-phone-alt {
    color: #2d5a35;
}

@media (max-width: 767px) {
    .hours-list {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hours-item {
        width: 100%;
    }
    
    .hours-item .day {
        width: 50%;
        padding-right: 15px;
    }
    
    .hours-item .time {
        width: 50%;
    }
}

.footer-bottom .trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.footer-bottom .trust-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fix for community section icons */
.value-item .value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(45, 90, 53, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

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

.bg-light .value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bg-light .value-item p {
    color: var(--text-color);
}

/* Value Icon Styles */
.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.value-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.value-item:hover .value-icon i {
    color: white;
}

/* Ensure icons are visible on mobile */
@media (max-width: 767px) {
    .value-icon {
        background-color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
    
    .value-icon i {
        color: var(--primary-color);
    }
}

/* Service feature list alignment */
.service-features, 
.feature-list,
ul[style*="list-style-type: none"] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.service-feature,
.feature-item,
ul[style*="list-style-type: none"] li {
  display: flex;
  align-items: flex-start;
}

.service-feature i,
.feature-item i,
ul[style*="list-style-type: none"] li i {
  flex-shrink: 0;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.service-feature .feature-text,
.feature-item .feature-text,
ul[style*="list-style-type: none"] li span {
  flex: 1;
}

/* Service feature styling */
.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

/* Remove redundant .feature-icon definition */
/*
.feature-icon {
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: rgba(45, 90, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
*/

/* Remove redundant .feature-text definition */
/*
.feature-text {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.4;
}
*/

/* Care Home Services value icons */
#care-home-services .value-icon {
    background-color: rgba(45, 90, 53, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#care-home-services .value-icon i {
    font-size: 2rem;
    color: #2d5a35;
    transition: all 0.3s ease;
}

#care-home-services .value-item:hover .value-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    background-color: #2d5a35;
}

#care-home-services .value-item:hover .value-icon i {
    color: white;
}

@media (max-width: 767px) {
    #care-home-services .value-icon {
        width: 70px;
        height: 70px;
    }
    
    #care-home-services .value-icon i {
        font-size: 1.75rem;
    }
}

/* Private Services value icons */
#private-services .value-icon {
    background-color: rgba(45, 90, 53, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#private-services .value-icon i {
    font-size: 2rem;
    color: #2d5a35;
    transition: all 0.3s ease;
}

#private-services .value-item:hover .value-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    background-color: #2d5a35;
}

#private-services .value-item:hover .value-icon i {
    color: white;
}

@media (max-width: 767px) {
    #private-services .value-icon {
        width: 70px;
        height: 70px;
    }
    
    #private-services .value-icon i {
        font-size: 1.75rem;
    }
}

/* Care Home Services value icons */
#care-home-services .value-icon {
    background-color: rgba(45, 90, 53, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#care-home-services .value-icon i {
    font-size: 2rem;
    color: #2d5a35;
    transition: all 0.3s ease;
}

#care-home-services .value-item:hover .value-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    background-color: #2d5a35;
}

#care-home-services .value-item:hover .value-icon i {
    color: white;
}

@media (max-width: 767px) {
    #care-home-services .value-icon {
        width: 70px;
        height: 70px;
    }
    
    #care-home-services .value-icon i {
        font-size: 1.75rem;
    }
}

/* =================================== */
/* Firhill Page Specific Styles        */
/* =================================== */

/* Hero section background */
.firhill-hero .hero-background {
    background-image: url('../images/pharmacist-patient.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

/* Local Area Section */
.local-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6); /* Using variable */
    margin-bottom: var(--space-7);
}

.local-area-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.local-area-text h3 {
    color: var(--primary-dark);
    margin: 1.8rem 0 1.2rem;
    font-size: 1.4rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    font-weight: var(--font-weight-medium);
}

.benefits-list i {
    color: var(--black); /* Black for contrast */
    margin-right: 0.9rem;
    font-size: 1.2rem;
    min-width: 1.2rem;
    margin-top: 0.25rem;
}

.benefits-list i.fa-check-circle::before {
    content: "✓";
    display: inline-block;
    font-family: sans-serif; /* Ensure fallback is rendered */
}

.local-area-map iframe {
    border:0;
    border-radius: var(--radius-lg); /* Using variable */
    box-shadow: var(--shadow-md); /* Using variable */
}

/* Travel Info Section */
.travel-info {
    background-color: #f5f7f5;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.travel-info h3 {
    color: var(--primary-dark);
    margin-bottom: 1.8rem;
    text-align: center;
    font-size: 1.4rem;
}

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

.travel-method {
    text-align: center;
    padding: 1.8rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.travel-method i {
    font-size: 2.2rem;
    color: var(--black); /* Black for contrast */
    margin-bottom: 1.2rem;
}

.travel-method i.fa-walking::before {
    content: "🚶";
    display: inline-block;
    font-family: sans-serif;
}

.travel-method i.fa-bus::before {
    content: "🚌";
    display: inline-block;
    font-family: sans-serif;
}

.travel-method i.fa-car::before {
    content: "🚗";
    display: inline-block;
    font-family: sans-serif;
}

.travel-method h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
}

.travel-method p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.travel-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Services Section on Firhill Page */
.firhill-services .service-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.firhill-services .service-icon {
    background-color: #f0f5f0;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}


/* Add padding to the services section */
.services-section {
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .services-section {
        padding-bottom: 3rem;
    }
}

/* FAQ Section on Firhill Page */
.firhill-faq {
    background-color: #f5f7f5; /* Light grey background */
    padding: var(--space-8) 0;
}

.firhill-faq .section-title {
    color: var(--primary-dark);
}

.firhill-faq .faq-container {
    max-width: 900px;
    margin: 2rem auto 0;
}

.firhill-faq .faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    border: none; /* Override general faq-item border */
    padding: 0;   /* Override general faq-item padding */
}

.firhill-faq .faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    background: none; /* Override general faq-question background */
}

.firhill-faq .faq-question:hover,
.firhill-faq .faq-question:focus {
    background-color: #f0f4f0;
}

.firhill-faq .faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
    flex: 1;
}

.firhill-faq .faq-icon {
    color: var(--black); /* Black for contrast */
    transition: transform 0.3s;
    display: inline-block;
    font-size: 1.2rem;
}

.firhill-faq .faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.firhill-faq .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 0 1.5rem 1.5rem;
}

.firhill-faq .faq-answer p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.firhill-faq .faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Firhill Page Responsive adjustments */
@media (max-width: 991px) {
    .local-area-content {
        grid-template-columns: 1fr;
    }
    
    .local-area-map {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .travel-methods {
        grid-template-columns: 1fr;
    }
    
    .firhill-faq .faq-question h3 {
        font-size: 1rem;
    }
}

/* Firhill Page Focus states for accessibility */
.firhill-faq .faq-question:focus {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
    background-color: #f0f4f0;
}

/* Adjust Footer Social Links (if needed, moved from inline) */
.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.2); /* Adjusted opacity */
    color: var(--white); /* Ensure icon color is white */
}

.footer-social .social-link:hover,
.footer-social .social-link:focus {
    background-color: rgba(255, 255, 255, 0.3); /* Slightly more opaque on hover/focus */
    color: var(--white);
}

/* Remove color style from mobile menu phone link */
.menu-phone a {
    color: inherit;
} 

/* =================================== */
/* End Firhill Page Specific Styles    */
/* =================================== */

/* Woodside Services Section Styles */
.woodside-services .service-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.woodside-services .service-icon {
    background-color: #f0f5f0;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.woodside-services .service-icon i {
    font-size: 2rem;
    color: var(--black); /* Black for contrast */
}

.woodside-services .service-icon i.fa-prescription-bottle-alt::before {
    content: "💊";
    display: inline-block;
    font-family: sans-serif;
}

.woodside-services .service-icon i.fa-truck::before {
    content: "🚚";
    display: inline-block;
    font-family: sans-serif;
}

.woodside-services .service-icon i.fa-user-md::before {
    content: "👨‍⚕️";
    display: inline-block;
    font-family: sans-serif;
}

.woodside-services .service-card h3 {
    margin: 1.2rem 0 0.8rem;
    color: var(--primary-dark);
}

.woodside-services .service-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}



