/* Inter Font - Local */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/inter-300.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/inter-400.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/inter-500.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/inter-600.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/inter-700.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(fonts/inter-800.ttf) format('truetype');
}

/* Shared styles for location pages */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

/* Gradient headings */
h1,
h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subpage Layout Synchronization & Mobile Fixes */
/* Force fixed header to match main website.html behavior */
header {
    position: fixed !important;
    width: 100%;
    top: 0;
}

/* Ensure consistent spacing under fixed header */
main {
    padding-top: 6rem !important;
    /* 96px, matches pt-24 */
}

/* Force full height for hero section on subpages */
main>section:first-of-type {
    min-height: 105vh !important;
    min-height: 105dvh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 6rem;
    /* Adjusted to center text while clearing fixed button */
}

/* Navigation link animations */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2563EB;
    transition: width 0.3s ease;
}

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

/* Fade-in section animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Halo glow animation */
@keyframes halo-glow {
    0% {
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.2), 0 0 10px rgba(37, 99, 235, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.6), 0 0 30px rgba(37, 99, 235, 0.4);
    }

    100% {
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.2), 0 0 10px rgba(37, 99, 235, 0.2);
    }
}

.halo-glow {
    animation: halo-glow 4s ease-in-out infinite;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Map Backdrop */
#map-backdrop {
    position: absolute;
    width: 100%;
    height: 125vh;
    top: 0;
    left: 0;
    z-index: -2;
    filter: grayscale(100%) brightness(0.9) contrast(1.2);
}

.map-gradient-overlay {
    position: absolute;
    width: 100%;
    height: 125vh;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(249, 250, 251, 0.95) 70%, rgba(249, 250, 251, 1) 100%);
    pointer-events: none;
}

.dark .map-gradient-overlay {
    background: radial-gradient(circle at center, rgba(17, 24, 39, 0.2) 0%, rgba(17, 24, 39, 0.9) 70%, rgba(17, 24, 39, 1) 100%);
}

.dark #map-backdrop {
    filter: grayscale(100%) invert(1) brightness(0.6) contrast(1.2);
}

/* Custom Scrollbar - Light Mode */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
}

/* Custom Scrollbar - Dark Mode */
.dark::-webkit-scrollbar-track,
.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}

.dark::-webkit-scrollbar-thumb,
.dark ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #764ba2 #f3f4f6;
}

.dark * {
    scrollbar-color: #764ba2 #1f2937;
}

/* Reviews Carousel */
.reviews-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    min-width: 100%;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-card.active {
    opacity: 1;
    transform: scale(1);
}

.review-stars {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.review-text {
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.review-author {
    font-weight: 600;
    font-size: 1rem;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(107, 114, 128, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.2);
}

.review-dot:hover {
    background-color: rgba(107, 114, 128, 0.7);
}

/* Review Navigation Arrows */
.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.review-nav:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.dark .review-nav {
    background: #374151;
    color: white;
}

.dark .review-nav:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.review-nav-prev {
    left: 0;
}

.review-nav-next {
    right: 0;
}

.review-nav svg {
    width: 20px;
    height: 20px;
}

/* Mobile styles for review arrows */
@media (max-width: 640px) {
    .review-nav {
        width: 32px;
        height: 32px;
    }

    .review-nav-prev {
        left: -8px;
    }

    .review-nav-next {
        right: -8px;
    }

    .review-nav svg {
        width: 16px;
        height: 16px;
    }
}

.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-reviews-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.4);
}

.google-reviews-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Full-screen Google Calendar Modal */
/* Full-screen Google Calendar Modal */
iframe[src*="calendar.google.com"] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border: none !important;
    z-index: 9999 !important;
    background: white !important;
}

/* Full-screen overlay for calendar */
div[style*="z-index"][style*="9999"] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

/* Ensure Google Calendar modal close button stays on top and is visible */
.Xfsokf {
    z-index: 2147483647 !important;
    position: fixed !important;
    display: block !important;
    opacity: 1 !important;
    /* Ensure visibility against white background */
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    top: 10px !important;
    right: 10px !important;
}

/* Consultation button - visible on all screens */