/* =====================================
   CSS VARIABLES (Custom Properties)
   Centralized design tokens for consistent theming
   Dark navy/blue theme matching header image
   ===================================== */
:root {
    /* Primary brand colors - dark navy/blue palette matching header_1.jpg */
    --primary-color: #0a2540;        /* Deep navy blue - main brand color */
    --secondary-color: #1e4976;      /* Medium navy for accents */
    --accent-color: #2C5F6F;         /* Darker teal for WCAG AA compliance (7.06:1 ratio) */
    
    /* Typography colors - grayscale hierarchy */
    --text-dark: #2c3e50;            /* Main body text for optimal readability */
    --text-light: #6c757d;           /* Secondary text, descriptions, captions */
    
    /* Background colors */
    --bg-light: #f8f9fa;             /* Light gray for alternating sections */
    --bg-white: #ffffff;             /* Pure white for cards and header */
    --bg-dark: #0a2540;              /* Dark navy for themed sections */
    
    /* Shadow variations - depth and elevation system */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);           /* Subtle shadow for cards */
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);           /* Medium shadow for elevated elements */
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);    /* Large shadow for popovers and hover states */
    
    /* Animation */
    --transition: all 0.3s ease;     /* Standard transition for smooth interactions */
    
    /* Typography - Google Fonts */
    --font-primary: 'Montserrat', sans-serif;    /* Headings - modern, geometric */
    --font-secondary: 'Open Sans', sans-serif;   /* Body text - readable, friendly */
}

/* =====================================
   RESET & BASE STYLES
   Normalize browser defaults
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;  /* Include padding/border in element width */
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Body defaults - sets global font and prevents horizontal scroll */
body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;        /* Optimal readability (1.5-1.8 recommended) */
    overflow-x: hidden;      /* Prevent horizontal scrollbar from animations */
    padding-top: 180px;      /* Add padding to account for absolute header height */
}

/* Responsive images - prevent overflow and maintain aspect ratio */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Link defaults - remove underline, inherit color, add transition */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Remove list bullets by default */
ul {
    list-style: none;
}

/* =====================================
   UTILITY CLASSES
   Reusable layout and component styles
   ===================================== */

/* Container - centers content with max-width for large screens */
.container {
    max-width: 1400px;        /* Wider to accommodate navigation */
    margin: 0 auto;           /* Center horizontally */
    padding: 0 20px;          /* Prevent content from touching edges */
}

/* Button base styles - rounded pill shape with smooth interactions */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;      /* Fully rounded for modern pill design */
    font-weight: 600;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;    /* Slight tracking for uppercase text */
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

/* Primary button - main call-to-action style */
.btn-primary {
    background: var(--primary-color);
    color: white;
}

/* Primary button hover - lift effect with shadow */
.btn-primary:hover {
    background: #3a7a8f;      /* Darker shade on hover */
    transform: translateY(-2px);  /* Subtle lift effect */
    box-shadow: var(--shadow-lg);
}

/* Light button - alternative style for dark backgrounds */
.btn-light {
    background: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Section title - responsive typography using clamp() */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);  /* Min 1.8rem, preferred 4vw, max 2.5rem */
    font-family: var(--font-primary);
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.3;         /* Tighter for headings */
}

/* =====================================
   HERO SECTION - Image only
   Full width rotating images
   ===================================== */
.hero-split-container {
    display: flex;
    width: 100%;
    height: 700px;
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
}

/* Left: Image Section with Rotating Backgrounds (50%) */
.hero-image-section {
    flex: 1 1 50%;
    position: relative;
    background-color: #f0f0f0;
    background-image: url('../images/stock/home_banner_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: background-image 0.8s ease-in-out;
    order: 1;
}

/* Animated decorative circles */
.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    mix-blend-mode: screen;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.5);
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.3);
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.4);
    top: 40%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
}

/* Right: Text and Logo Section (50%) */
.hero-right-section {
    flex: 1 1 50%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(26, 77, 107, 0.85) 50%, rgba(42, 106, 138, 0.85) 100%),
                url('../images/stock/nature-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 2;
}

/* Background decoration pattern overlay */
.hero-right-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    pointer-events: none;
    opacity: 0.3;
    z-index: 1;
}

/* Main hero wrapper */
.hero-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Text Content Section */
.hero-text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.hero-text-content {
    padding: 0 2rem;
    max-width: 800px;
}

/* Hero title - large and bold */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: var(--font-primary);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* Hero tagline - subtitle */
.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Hero description - body text */
.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Hero button */
.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, #4A90A4, #68B3C8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero:hover {
    background: linear-gradient(135deg, #68B3C8, #4A90A4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.5);
}

/* Right: Logo Section */
.hero-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-site-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Bottom: Feature Badges */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    padding: 2rem 0 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.hero-feature-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-feature-badge svg {
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

/* Floating animation for circles */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-split-container {
        height: auto;
        flex-direction: column;
    }
    
    .hero-image-section {
        flex: 1 1 40%;
        height: 350px;
        min-height: 300px;
    }
    
    .hero-right-section {
        flex: 1 1 60%;
        padding: 3rem 0 2rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text-content {
        padding: 0;
    }
    
    .hero-site-logo {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-split-container {
        padding: 3rem 0 2rem;
    }
    
    .hero-wrapper {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-feature-badge {
        justify-content: center;
    }
}

/* =====================================
   HERO ANIMATIONS
   Floating circles create depth and movement
   ===================================== */
.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

/* Animated circle elements - float and rotate */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);  /* Subtle white circles */
    animation: float 20s infinite ease-in-out;
}

/* Circle size and positioning variations */
.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;              /* Half outside viewport */
    left: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 10%;
    animation-delay: 5s;      /* Staggered animation start */
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: -125px;
    animation-delay: 10s;
}

/* Float animation - vertical movement and rotation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* =====================================
   FEATURES SECTION
   Service highlights grid
   Cards with icons and hover effects
   ===================================== */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(74, 144, 164, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(10, 37, 64, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Section header styling */
.features .section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 1;
}

.features .section-title {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
}

.features .section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    margin: 1.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(74, 144, 164, 0.3);
}

.features .section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 500;
    margin-top: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive grid - adjusts from 1-3 columns */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Feature card - elevated card design with hover effect */
.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    border: 1px solid transparent;
    overflow: hidden;
}

/* Decorative top border on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Lift card on hover */
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(74, 144, 164, 0.2);
    border-color: rgba(74, 144, 164, 0.1);
}

/* Icon circle with gradient background */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74,144,164,0.1), rgba(10,37,64,0.05));
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--accent-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* =====================================
   REVIEWS SNIPPET
   Customer testimonials preview
   Star ratings with quotes
   ===================================== */
.reviews-snippet {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d6b 50%, #0a2540 100%);
    position: relative;
    overflow: hidden;
}

.reviews-snippet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(74, 144, 164, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.reviews-snippet .section-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    color: white;
    margin-bottom: 4rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reviews-snippet .section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #68b3c8);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(74, 144, 164, 0.4);
}

/* Review cards grid */
.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

/* Individual review card */
.review-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 100px;
    color: rgba(74, 144, 164, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 50px rgba(74, 144, 164, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(74, 144, 164, 0.3);
    background: white;
}

/* Reviews button container */
.reviews-button-container {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* Reviews platform title */
.reviews-platform-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Star rating display - gold color with CSS-generated stars */
.review-card .stars {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    font-size: 0;
    position: relative;
    z-index: 1;
}

/* Generate stars using CSS to avoid encoding issues */
.review-card .stars::before {
    content: '\2605\2605\2605\2605\2605';
    font-size: 1.3rem;
    letter-spacing: 3px;
}

/* Review text - italic quote style */
.review-card p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Reviewer name */
.review-card strong {
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    display: block;
    margin-top: auto;
}

/* =====================================
   REVIEW PLATFORMS - HOME PAGE
   Modern card layout with logos and ratings
   ===================================== */
.review-platforms-home {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    position: relative;
}

.review-platforms-home h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.review-platforms-home h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.home-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Individual platform card */
.home-platform-card {
    background: linear-gradient(135deg, #0a2540 0%, #1a4d6b 100%);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
    border: 2px solid transparent;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

/* Animated top border */
.home-platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.home-platform-card:hover::before {
    transform: scaleX(1);
}

.home-platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

/* Platform icon container */
.home-platform-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 164, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.home-platform-card:hover .home-platform-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scale(1.1) rotate(5deg);
}

.home-platform-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.home-platform-card h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    transition: color 0.3s ease;
}

/* Platform-specific hover colors */
.home-platform-card.google:hover h4 {
    color: #4285F4;
}

.home-platform-card.yelp:hover h4 {
    color: #D32323;
}

.home-platform-card.demandforce:hover h4 {
    color: var(--primary-color);
}

/* =====================================
   CTA (Call-to-Action) SECTION
   Prominent section to drive conversions
   Gradient background for visual impact
   ===================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-family: var(--font-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =====================================
   FOOTER
   Dark footer with links and contact info
   Multi-column grid layout
   ===================================== */
.footer {
    background: #2c3e50;      /* Dark slate gray */
    color: #ecf0f1;           /* Light text for contrast */
    padding: 3rem 0 1rem;
}

/* Footer columns grid - auto-adjusts to available space */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-col p,
.footer-col a {
    color: #bdc3c7;           /* Muted gray */
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Footer links hover - change to accent color */
.footer-col a:hover {
    color: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

/* =====================================
   SOCIAL MEDIA LINKS
   Professional icon buttons with images
   ===================================== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Social icon styling with images and text */
.social-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-decoration: none;
    color: #e8e8e8;
    font-size: 0.9rem;
}

/* Icon images */
.social-icon img {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

/* Hover effect - enhanced background and slight lift */
.social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: white;
}

/* Text labels */
.social-icon span {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Legacy SVG support for backward compatibility */
.social-links svg {
    width: 20px;
    height: 20px;
}

/* Footer copyright section */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* =====================================
   WELCOME SECTION
   Introduction with image and features
   ===================================== */

/* =====================================
   WELCOME HERO SECTION
   Centered, beautiful welcome statement
   Updated: v2.0
   ===================================== */
.welcome-hero {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Override container max-width for welcome section */
.welcome-hero .container {
    max-width: 100%;
    padding: 0 2rem;
}

/* Decorative background elements */
.welcome-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 164, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 37, 64, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.welcome-hero-content .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    text-shadow: none;
}

/* Decorative underline for title */
.welcome-hero-content .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* Hero title in welcome section */
.welcome-hero-content .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    text-shadow: none;
}

/* Feature badges in a row */
.welcome-features-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

.welcome-feature-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.welcome-feature-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.2);
    border-color: var(--accent-color);
}

.welcome-feature-badge svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.welcome-feature-badge span {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    font-size: 0.95rem;
}

.welcome-hero-content .btn-large {
    margin-top: 1rem;
    margin-bottom: 3rem;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.3);
}

.welcome-hero-content .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 144, 164, 0.4);
}

/* Welcome section info grid */
.welcome-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    max-width: 95%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive grid - 2 columns on tablets */
@media (max-width: 1024px) {
    .welcome-info-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

/* Single column on mobile */
@media (max-width: 768px) {
    .welcome-info-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.welcome-info-item {
    position: relative;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #0a2540 0%, #1a4d6b 100%);
    padding: 2.5rem 2rem;
    min-height: 480px;
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.15);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

/* Remove animated diagonal stripe background */
.welcome-info-item::before {
    display: none;
}

.welcome-info-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-left-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Compact icon with circle background */
.welcome-info-item .icon {
    width: 40px;
    height: 40px;
    padding: 8px;
    background: linear-gradient(135deg, var(--accent-color), #5ba4ba);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(74, 144, 164, 0.25);
    transition: all 0.3s ease;
}

.welcome-info-item:hover .icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(74, 144, 164, 0.35);
}

.welcome-info-item h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.welcome-info-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.25rem 0;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 400;
}

.welcome-info-item strong {
    color: white;
    font-weight: 600;
    display: inline-block;
    min-width: 45px;
}

.welcome-info-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
}

.welcome-info-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welcome-info-item a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(74, 144, 164, 0.5);
}

.welcome-info-item a:hover::after {
    opacity: 1;
}

/* =====================================
   NEW PATIENT SPECIAL
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
    border-color: var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4A90A4, #68B3C8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #68B3C8, #4A90A4);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link::after {
    content: '\2192';
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
    color: var(--primary-color);
}

/* =====================================
   MEET THE DOCTOR SECTION
   Doctor profile and credentials
   ===================================== */
.meet-doctor {
    padding: 5rem 0;
    background: var(--bg-light);
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.doctor-image {
    position: relative;
}

.doctor-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.15);
}

.doctor-title {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
}

.doctor-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.doctor-highlights {
    margin: 2.5rem 0;
    display: grid;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.highlight-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.highlight-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* =====================================
   NEW PATIENT SPECIAL
   Eye-catching promotional section
   ===================================== */
.new-patient-special {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
}

.new-patient-special::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.special-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.special-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    display: inline-block;
    padding: 0.5rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

.special-card h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-family: var(--font-primary);
    font-weight: 700;
}

.special-offer {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.special-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.price-old {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.price-new {
    font-size: 3.5rem;
    color: var(--accent-color);
    font-weight: 700;
    font-family: var(--font-primary);
    position: relative;
}

.price-new::before {
    content: '$';
    font-size: 2rem;
    position: relative;
    top: -0.5rem;
    margin-right: 0.2rem;
}

.price-save {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.special-details {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 1.5rem 0;
    padding: 0 1rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.special-note {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 1rem;
    font-style: italic;
}

/* =====================================
   EMERGENCY CARE BANNER
   Urgent care highlight section
   ===================================== */
.emergency-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.emergency-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.emergency-icon svg {
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.emergency-text h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 700;
}

.emergency-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.emergency-action {
    text-align: center;
}

.btn-emergency {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.95);
}

.emergency-hours {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-top: 0.8rem;
}

/* ===== NEW SECTIONS RESPONSIVE ===== */
@media (max-width: 992px) {
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .emergency-icon {
        margin: 0 auto;
    }

    .emergency-text h2 {
        font-size: 1.6rem;
    }

    .emergency-text p {
        font-size: 1rem;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .emergency-icon {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .new-patient-special {
        padding: 3rem 0;
    }
    
    .special-card {
        padding: 2.5rem 2rem;
    }
    
    .special-card h2 {
        font-size: 2rem;
    }

    .special-offer {
        font-size: 1.1rem;
    }

    .special-price {
        gap: 1.2rem;
    }

    .price-old {
        font-size: 1.3rem;
    }
    
    .price-new {
        font-size: 3rem;
    }

    .price-new::before {
        font-size: 1.8rem;
    }

    .price-save {
        font-size: 0.95rem;
        padding: 0.5rem 1.2rem;
    }

    .special-details {
        padding: 0 0.5rem;
    }

    /* Reviews section */
    .review-card {
        padding: 2rem;
    }

    .review-card::before {
        font-size: 80px;
        top: -5px;
        left: 15px;
    }

    .review-card p {
        font-size: 1rem;
    }

    .review-platforms-home {
        padding: 2rem;
        margin-top: 3rem;
    }

    .review-platforms-home h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .home-platforms-grid {
        gap: 1.5rem;
    }

    .home-platform-card {
        padding: 2rem 1.2rem;
    }

    .home-platform-icon {
        width: 75px;
        height: 75px;
    }

    .home-platform-icon img {
        width: 45px;
        height: 45px;
    }

    .btn-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .emergency-banner {
        padding: 3rem 0;
    }

    .emergency-icon {
        width: 70px;
        height: 70px;
    }

    .emergency-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .emergency-text h2 {
        font-size: 1.4rem;
    }

    .emergency-text p {
        font-size: 0.95rem;
    }

    .btn-emergency {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .emergency-hours {
        font-size: 0.8rem;
    }
}

/* =====================================
   RESPONSIVE DESIGN
   Breakpoints for tablet and mobile
   ===================================== */

/* ===== TABLET (768px and below) ===== 
   - Show mobile menu toggle
   - Stack some grid layouts
   - Stack hero sections vertically
*/
@media (max-width: 768px) {
    /* Stack hero sections vertically on tablets/mobile */
    .hero-split-container {
        flex-direction: column;
        height: auto;
    }
    
    .hero-image-section {
        flex: 0 0 auto;
        height: 350px;
        width: 100%;
    }
    
    .hero-text-section {
        flex: 0 0 auto;
        width: 100%;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Stack grids to single column for better mobile readability */
    .features-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Welcome hero responsive */
    .welcome-hero {
        padding: 4rem 0;
    }
    
    .welcome-hero-content {
        font-size: 2rem;
    }
    
    .welcome-features-inline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .welcome-feature-badge {
        width: 100%;
        justify-content: center;
    }
    
    .welcome-info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }
    
    .welcome-info-item {
        padding: 1.25rem;
    }
    
    .welcome-info-item .icon {
        width: 36px;
        height: 36px;
        padding: 7px;
    }
    
    .welcome-info-item h3 {
        font-size: 0.95rem;
    }
    
    .welcome-hero::before,
    .welcome-hero::after {
        opacity: 0.5;
    }
    
    /* Home platform cards responsive */
    .home-platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .home-platform-card {
        padding: 1.5rem;
    }
    
    .home-platform-icon {
        width: 70px;
        height: 70px;
    }
    
    .home-platform-icon img {
        width: 45px;
        height: 45px;
    }
    
    /* QR Code section responsive */
    .qr-code-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .qr-code-text h3 {
        font-size: 1.8rem;
    }
    
    .qr-code-features {
        justify-content: center;
    }
    
    .qr-code-wrapper img {
        width: 220px;
        height: 220px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        align-items: center;
    }
    
    /* Mobile social icons - horizontal layout */
    .social-icon {
        flex-direction: row;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .social-icon img {
        width: 24px;
        height: 24px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ===== MOBILE (480px and below) ===== 
   - Further reduce sizing and spacing
   - Smaller buttons and typography
   - Stack all layouts vertically
*/
@media (max-width: 480px) {
    /* Tighter padding on small screens */
    .container {
        padding: 0 15px;
    }
    
    /* Smaller hero for mobile */
    .hero-image-section {
        height: 300px;
    }
    
    .hero-text-section {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Hide hero person image on mobile */
    .hero img[alt="Dr. Gorgaes"] {
        display: none !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Compact button sizing */
    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    /* Features section responsive */
    .features {
        padding: 3rem 0;
    }

    .features .section-header {
        margin-bottom: 2.5rem;
    }

    .features .section-title {
        font-size: 1.8rem;
    }

    .features .section-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        gap: 1.5rem;
    }

    /* Reduce card padding */
    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon svg {
        width: 35px;
        height: 35px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }
    
    /* Stack info items vertically with centered text */
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item .icon {
        margin: 0 auto;
    }
}

/* ===== LARGE DESKTOP (1400px and above) ===== 
   - Wider container
   - Fixed 3-column layout for features
*/
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Force 3 columns on large screens for consistency */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================
   ACCESSIBILITY
   Skip Link, Focus styles and motion preferences
   ===================================== */

/* Skip navigation link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Visible focus indicator for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Respect user's motion preferences - reduce animations for users with vestibular disorders */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;      /* Almost instant */
        animation-iteration-count: 1 !important;    /* No loops */
        transition-duration: 0.01ms !important;     /* Almost instant */
    }
}

/* =====================================
   LEAVE A REVIEW SECTION STYLES
   For "Love Your Experience?" section on home page
   Complete styling for review section
   ===================================== */
.leave-review-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2f7 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1400px;
}

.leave-review-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(74, 144, 164, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(104, 179, 200, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.leave-review-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.review-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

.review-icon svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(255, 215, 0, 0.5);
    }
}

.leave-review-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.leave-review-section > .container > .leave-review-content > p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Google Review Button */
.btn-review {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-review:hover::before {
    left: 100%;
}

.btn-review:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(66, 133, 244, 0.6);
}

.btn-review svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn-review .arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    margin-left: 4px;
    display: inline-block;
}

/* Add arrow using CSS to avoid encoding issues */
.btn-review .arrow::before {
    content: '\2192';  /* Right arrow Unicode escape */
}

.btn-review:hover .arrow {
    transform: translateX(8px);
}

/* Review options layout (QR + Button) */
.review-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem 0;
}

/* QR Code styling - features centered below QR code */
.review-qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-wrapper {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(10, 37, 64, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.18);
}

.qr-wrapper img {
    width: 200px;
    height: 200px;
    display: block;
    border-radius: 8px;
}

.qr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #f1f5f9, #ffffff);
    border-radius: 20px;
    font-weight: 600;
    color: #0a2540;
    font-size: 0.85rem;
}

.qr-label svg {
    width: 18px;
    height: 18px;
}

.qr-instruction {
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Divider styling */
.review-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-divider span {
    background: linear-gradient(135deg, #e0f2f7, #f8fafc);
    padding: 0.8rem 1.2rem;
    border-radius: 50%;
    font-weight: 600;
    color: #64748b;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.08);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Button container styling */
.review-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.button-subtext {
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

.review-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #94a3b8;
    font-style: italic;
}

/* Quick features list - centered below QR code */
.qr-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.qr-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
}

.qr-feature svg {
    color: #2C5F6F;
    flex-shrink: 0;
}

/* Hide QR code section in accessibility mode (no visual QR code needed) */
.accessibility-mode .review-qr-code {
    display: none;
}

/* Adjust review options grid when QR code is hidden */
.accessibility-mode .review-options {
    grid-template-columns: 1fr;
    justify-items: center;
}

.accessibility-mode .review-divider {
    display: none;
}

/* Responsive mobile styling for review section */
@media (max-width: 768px) {
    .leave-review-section {
        padding: 2.5rem 1rem;
        border-radius: 0;
        margin: 0;
    }
    
    .leave-review-section h2 {
        font-size: 2rem;
    }
    
    .review-options {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .review-divider {
        display: none;
    }
    
    .qr-wrapper img {
        width: 180px;
        height: 180px;
    }
    
    .btn-review {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .leave-review-section {
        padding: 2rem 1rem;
    }
    
    .leave-review-section h2 {
        font-size: 1.8rem;
    }
    
    .review-icon {
        width: 80px;
        height: 80px;
    }
    
    .review-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .qr-wrapper img {
        width: 160px;
        height: 160px;
    }
    
    .btn-review {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        gap: 8px;
    }
    
    .btn-review svg {
        width: 24px;
        height: 24px;
    }
}
