/*
Theme Name: Burton Latimer Chiropractic
Theme URI: https://burtonlatimerchiropractic.com
Author: Burton Latimer Chiropractic
Author URI: https://burtonlatimerchiropractic.com
Description: Custom WordPress theme for Burton Latimer & Billing Road Chiropractic - A family-run practice with over 30 years of experience
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: burton-latimer-chiropractic
Tags: health, medical, chiropractic, responsive, custom-menu
*/

/* ===================================
   CSS CUSTOM PROPERTIES (DESIGN SYSTEM)
   =================================== */

:root {
    /* Core Brand Colors - HSL values */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(210, 20%, 15%);

    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(210, 20%, 15%);

    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(210, 20%, 15%);

    /* Brand Colors */
    --primary: hsl(88, 53%, 57%);
    /* Lime Green #8BC34A */
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(88, 53%, 67%);
    --primary-dark: hsl(88, 53%, 47%);

    --secondary: hsl(122, 48%, 33%);
    /* Dark Green #2E7D32 */
    --secondary-foreground: hsl(0, 0%, 100%);
    --secondary-light: hsl(122, 48%, 43%);

    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215, 16%, 47%);

    --accent: hsl(88, 53%, 95%);
    --accent-foreground: hsl(210, 20%, 15%);

    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(210, 40%, 98%);

    --border: hsl(214, 32%, 91%);
    --input: hsl(214, 32%, 91%);
    --ring: hsl(88, 53%, 57%);

    --radius: 0.75rem;

    /* Custom Shadows */
    --shadow-soft: 0 2px 20px hsla(88, 53%, 57%, 0.1);
    --shadow-primary: 0 8px 30px hsla(88, 53%, 57%, 0.3);
    --shadow-secondary: 0 8px 30px hsla(122, 48%, 33%, 0.2);

    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-primary {
    box-shadow: var(--shadow-primary);
}

.shadow-secondary {
    box-shadow: var(--shadow-secondary);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===================================
   HEADER STYLES
   =================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

@media (min-width: 768px) {
    .header-container {
        height: 6rem;
    }
}

.site-logo img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .site-logo img {
        height: 5rem;
    }
}

.site-logo:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Desktop Navigation */
.main-navigation {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: flex;
    }
}

.main-navigation a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary);
}

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

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.3s ease;
    font-family: var(--font-body);
}

.dropdown-trigger:hover {
    color: var(--primary);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-primary);
    min-width: 500px;
    padding: 1rem;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    display: block;
}

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

.dropdown-item {
    display: block;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

/* Header CTA */
.header-cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .header-cta {
        display: flex;
    }
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-button {
        display: none;
    }
}

.mobile-menu-button svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--foreground);
}

/* Mobile Navigation */
.mobile-navigation {
    display: none;
    border-top: 1px solid var(--border);
    background-color: var(--background);
    padding: 0.5rem;
}

.mobile-navigation.active {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-navigation {
        display: none !important;
    }
}

.mobile-navigation a,
.mobile-navigation button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    background: none;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-navigation a:hover,
.mobile-navigation button:hover {
    color: var(--primary);
    background-color: var(--accent);
}

.mobile-submenu {
    display: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu a {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* ===================================
   BUTTON STYLES
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-primary);
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid rgba(139, 195, 74, 0.2);
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    color: var(--foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    transform: scale(1.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 0.375rem;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
    }
}

.hero-content {
    width: 100%;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

@media (min-width: 768px) {
    .hero-content {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        width: 41.666667%;
    }
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--background), rgba(139, 195, 74, 0.05), rgba(139, 195, 74, 0.1));
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
}

.hero-content-inner {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
    .hero-content-inner {
        align-items: center;
        padding: 0 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-content-inner {
        padding: 0 4rem;
    }
}

@media (min-width: 1280px) {
    .hero-content-inner {
        padding: 0 5rem;
    }
}

.hero-text {
    width: 100%;
    max-width: 42rem;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .hero-cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-cta-buttons {
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .hero-cta-buttons {
        flex-direction: row;
    }
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .trust-grid {
        gap: 3rem;
    }
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .hero-trust-badges {
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-trust-badges {
        gap: 1.5rem;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(214, 232, 191, 0.5);
}

.trust-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 9999px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.trust-badge-text {
    font-weight: 600;
    color: rgba(33, 37, 41, 0.9);
}

/* Hero Carousel */
.hero-carousel-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-carousel-wrapper {
        width: 50%;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .hero-carousel-wrapper {
        width: 58.333333%;
    }
}

.hero-carousel-container {
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .hero-carousel-container {
        max-width: 28rem;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-carousel-container {
        max-width: 36rem;
        padding: 0 2rem;
    }
}

.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-secondary);
}

@media (min-width: 768px) {
    .hero-carousel {
        aspect-ratio: 3/4;
    }
}

.carousel-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.carousel-slide {
    position: absolute;
    inset: 0;
    transition: all 1s ease-out;
    opacity: 0;
    transform: translateY(1.5rem) scale(1.05);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent, transparent);
}

.carousel-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, transparent, rgba(255, 255, 255, 0.1));
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(-50%) translateX(0.5rem);
    transition: all 0.3s ease;
}

.hero-carousel:hover .carousel-nav {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.carousel-nav-btn {
    height: 3rem;
    width: 3rem;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(214, 232, 191, 0.5);
    border-radius: 0.375rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav-btn:hover {
    background-color: var(--background);
    transform: scale(1.1);
}

.carousel-nav-btn svg {
    height: 1.25rem;
    width: 1.25rem;
    color: var(--primary);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
}

.carousel-dot {
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background-color: rgba(255, 255, 255, 0.6);
    width: 0.5rem;
    height: 0.5rem;
}

.carousel-dot:hover {
    transform: scale(1.25);
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    width: 2rem;
    height: 0.5rem;
    background-color: var(--background);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===================================
   SECTION STYLES
   =================================== */

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/* Background Variations */
.bg-accent {
    background-color: var(--accent);
}

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

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

/* ===================================
   CARD STYLES
   =================================== */

.card {
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-primary);
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

/* Condition Cards */
.condition-card {
    position: relative;
    background-color: var(--background);
    border: none;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.condition-card:hover {
    box-shadow: var(--shadow-primary);
    transform: scale(1.05);
}

.condition-card-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.condition-card:hover .condition-card-overlay {
    opacity: 0.9;
}

.condition-card-content {
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .condition-card-content {
        padding: 1.5rem;
    }
}

.condition-card-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.condition-card-icon img {
    width: 4rem;
    height: 4rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

@media (min-width: 768px) {
    .condition-card-icon img {
        width: 5rem;
        height: 5rem;
    }
}

.condition-card:hover .condition-card-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.condition-card-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
    line-height: 1.2;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .condition-card-title {
        font-size: 1rem;
    }
}

.condition-card:hover .condition-card-title {
    color: var(--primary-foreground);
}

/* ===================================
   GRID LAYOUTS
   =================================== */

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

/* Responsive utilities */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===================================
   FOOTER STYLES
   =================================== */

.site-footer {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-company {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .footer-company {
        grid-column: span 2;
    }
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.footer-social-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

.footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-gcc-badge {
    height: 2.5rem;
    width: auto;
    margin-left: 0.5rem;
}

.footer-clinic-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-clinic-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-clinic-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-clinic-item svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-clinic-item a {
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-clinic-item a:hover {
    color: var(--background);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-start;
        margin-bottom: 0;
    }
}

.footer-links a {
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--background);
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   TRUST INDICATORS SECTION
   =================================== */

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

.trust-indicator-icon {
    background-color: var(--background);
    border-radius: 9999px;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.trust-indicator-icon:hover {
    box-shadow: var(--shadow-primary);
    transform: scale(1.1);
}

.trust-indicator-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

.trust-indicator-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-foreground);
    margin-bottom: 0.5rem;
}

.trust-indicator-description {
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   GALLERY SECTION
   =================================== */

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: var(--shadow-primary);
    transform: scale(1.05);
}

.gallery-image-wrapper {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background-color: var(--muted);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(139, 195, 74, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ===================================
   VIDEO SECTION
   =================================== */

.video-wrapper {
    max-width: 56rem;
    margin: 0 auto;
}

.video-container {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-secondary);
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

/* ===================================
   WORDPRESS SPECIFIC
   =================================== */

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 0.5rem;
}

.sticky {
    /* Styles for sticky posts */
}

.bypostauthor {
    /* Styles for post author */
}

/* ===================================
   CONTACT FORM 7 STYLES
   =================================== */

.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: block;
}

/* Form rows */
.wpcf7-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .wpcf7-form .form-row {
        flex-direction: row;
    }
}

/* Form fields */
.wpcf7-form .form-field {
    flex: 1;
    min-width: 0;
}

.wpcf7-form .form-field-full {
    flex: 1 1 100%;
}

.wpcf7-form label {
    display: block;
    width: 100%;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: var(--background);
    color: var(--foreground);
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: var(--muted-foreground);
    opacity: 0.6;
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23697586' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Submit Button Styling */
.wpcf7-form .wpcf7-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    font-family: var(--font-body);
    margin-top: 1rem;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.wpcf7-form .wpcf7-submit:active {
    transform: translateY(0);
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    color: var(--destructive);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
    border-color: var(--destructive);
}

/* Success/Error Messages */
.wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background-color: rgba(139, 195, 74, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary-dark);
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--destructive);
    color: var(--destructive);
}

.wpcf7-spinner {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

/* Hide honeypot field */
.wpcf7-form div[style*="display:none"],
.wpcf7-form div[style*="display: none"] {
    display: none !important;
}