/* ==========================================================================
   CSS Variables & Theming
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-blue: #0A2463;
    --secondary-blue: #247BA0;
    --accent-orange: #FB3640;
    --text-dark: #1A1A1A;
    --text-light: #F4F4F9;
    --bg-light: #F8F9FA;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
}

/* ==========================================================================
   Base Overrides
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for fixed navbar */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ui.header {
    font-family: var(--font-heading) !important;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.premium-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    padding: 10px 0;
    transition: all var(--transition-speed) ease;
}

.premium-nav.scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98) !important;
}

.logo-container {
    display: flex !important;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue) !important;
}

.logo-container i {
    color: var(--secondary-blue);
}

.nav-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: contain;
    margin-right: 10px;
    background: white;
    padding: 2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    font-size: 1.2rem;
}

.logo-text small {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--secondary-blue);
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue)) !important;
    border-radius: 30px !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(36, 123, 160, 0.3) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 123, 160, 0.4) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('./statics/images/bg-hero-new.jpg') center/cover no-repeat;
    padding-top: 80px;
    /* Offset for fixed nav */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.9) 0%, rgba(36, 123, 160, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 4.5rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px !important;
    color: #fff !important;
}

.spark-plug-text {
    font-size: 2.5rem !important;
    color: var(--text-light) !important;
    font-weight: 300 !important;
    margin-top: 10px !important;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.glowing-btn {
    background: var(--accent-orange) !important;
    border-radius: 50px !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    padding: 18px 40px !important;
    box-shadow: 0 10px 30px rgba(251, 54, 64, 0.4) !important;
    transition: all var(--transition-speed) ease !important;
    text-transform: uppercase;
}

.glowing-btn:hover {
    background: #ff4a54 !important;
    box-shadow: 0 15px 40px rgba(251, 54, 64, 0.6) !important;
    transform: translateY(-3px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-speed) ease;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.glass-card h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.glass-card p {
    opacity: 0.8;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 3rem !important;
    color: var(--primary-blue) !important;
    margin-bottom: 60px !important;
}

.section-title .sub.header {
    font-size: 1.2rem !important;
    margin-top: 15px !important;
    color: #666 !important;
}

.glass-form-container .ui.header {
    margin-bottom: 25px !important;
}

.form-accordion .title {
    padding: 0 !important;
}

.form-accordion .title .dropdown.icon {
    float: right;
    margin-top: -15px;
    font-size: 1.2rem;
}

.cards-container {
    margin-bottom: 50px !important;
}

.service-card {
    border-radius: 15px !important;
    border: none !important;
    box-shadow: var(--shadow-soft) !important;
    transition: all var(--transition-speed) ease !important;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
    transition: background var(--transition-speed) ease;
}

.service-card:hover .service-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover) !important;
}

.service-card .content {
    padding: 40px 30px !important;
    position: relative;
    z-index: 2;
}

.service-icon {
    color: var(--secondary-blue) !important;
    margin-bottom: 20px !important;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-orange) !important;
}

.service-card .header {
    font-size: 1.5rem !important;
    color: #fff !important;
}

.service-card .description {
    color: #f0f0f0 !important;
    line-height: 1.6 !important;
    margin-top: 15px !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.btn-whatsapp-green {
    background: #25D366 !important;
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5) !important;
}

.btn-whatsapp-green:hover {
    background: #128C7E !important;
    box-shadow: 0 12px 35px rgba(18, 140, 126, 0.6) !important;
}

.accent-text {
    color: var(--accent-orange) !important;
    font-size: 2rem !important;
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */
.cta-strip {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Add some abstract shapes to the background */
.cta-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-strip::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-strip .header {
    font-size: 2.5rem !important;
    margin-bottom: 40px !important;
    position: relative;
    z-index: 2;
}

.white-btn {
    background: #ffffff !important;
    color: var(--primary-blue) !important;
    border-radius: 50px !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease !important;
    padding: 15px 35px !important;
}

.white-btn:hover {
    background: var(--bg-light) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.premium-footer {
    background: #051334;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.website-link {
    color: var(--text-light);
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 300;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.website-link:hover {
    color: var(--accent-orange);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media only screen and (max-width: 767px) {
    .main-title {
        font-size: 2.8rem !important;
    }

    .spark-plug-text {
        font-size: 1.8rem !important;
    }

    .glass-card {
        margin-top: 30px;
        transform: none;
    }

    .glass-card:hover {
        transform: none;
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
    }

    .left-content {
        text-align: center;
    }

    .cta-strip .header {
        font-size: 1.8rem !important;
    }

    .hero-section {
        padding-top: 100px;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .logo-container {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Payment Section (Square)
   ========================================================================== */
.payment-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.payment-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border-top: 4px solid #000000 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    padding: 50px 40px !important;
    margin: 0 auto;
}

.payment-card .header {
    color: var(--text-dark);
    margin-bottom: 20px !important;
    font-weight: 800;
}

.qr-container {
    margin: 30px 0;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.scan-text {
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.qr-code {
    border: 10px solid #ffffff;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: #fff;
}

.square-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
    margin-bottom: 10px !important;
}

.square-btn:hover {
    background-color: #333333 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.paypal-btn {
    background-color: #0070ba !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
}

.paypal-btn:hover {
    background-color: #003087 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.reviews-title {
    color: var(--primary-blue) !important;
    font-size: 2.5rem !important;
}

.reviews-title .sub.header {
    margin-top: 10px !important;
}

.google-icon-color {
    color: #DB4437 !important;
}

.google-review-btn-container {
    margin-top: 30px;
}

.google-review-btn {
    background: #ffffff !important;
    color: #DB4437 !important;
    border: 2px solid #DB4437 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

.google-review-btn:hover {
    background: #DB4437 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(219, 68, 55, 0.2) !important;
}

/* Appointment Section */
.appointment-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

/* Sharp & Modern Automotive Input Styling */
.glass-form-container {
    background: #ffffff !important;
    border-radius: 0px !important;
    border-top: 4px solid var(--accent-orange) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    padding: 40px !important;
    margin-top: -80px !important;
    position: relative;
}

.glass-form-container .ui.form input[type="text"],
.glass-form-container .ui.form input[type="tel"],
.glass-form-container .ui.form textarea,
.glass-form-container .ui.selection.dropdown {
    background: #F8F9FA !important;
    border: none !important;
    border-bottom: 2px solid #E0E0E0 !important;
    border-radius: 0 !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease !important;
    color: var(--text-dark) !important;
}

.glass-form-container .ui.form input[type="text"]:focus,
.glass-form-container .ui.form input[type="tel"]:focus,
.glass-form-container .ui.form textarea:focus,
.glass-form-container .ui.selection.dropdown.active {
    background: #F0F2F5 !important;
    border-bottom: 2px solid var(--accent-orange) !important;
    box-shadow: none !important;
}

.glass-form-container .ui.selection.dropdown .menu {
    border-radius: 0 !important;
    border: 1px solid #E0E0E0 !important;
    border-top: none !important;
}

.submit-btn {
    background-color: var(--text-dark) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px !important;
    transition: all 0.3s ease !important;
}

.submit-btn:hover {
    background-color: var(--accent-orange) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 54, 64, 0.3) !important;
}

/* ==========================================================================
   Responsive & Mobile Adjustments
   ========================================================================== */
.mobile-only-flex {
    display: none !important;
}

@media only screen and (max-width: 767px) {
    .mobile-only-flex {
        display: flex !important;
        align-items: center;
    }

    /* Navbar text hiding */
    .nav-hide-mobile-text,
    .nav-hide-mobile {
        display: none !important;
    }

    /* Shrink padding in nav items to prevent overflow */
    .premium-nav .item {
        padding: 0.2em !important;
    }

    .premium-nav .nav-cta,
    .premium-nav .basic.button {
        padding: 0.6em 0.8em !important;
    }

    /* Shrink logo text and icon slightly */
    .nav-logo {
        height: 32px;
        width: 32px;
        margin-right: 6px;
    }

    .premium-nav .logo-text {
        font-size: 0.9rem;
    }

    .premium-nav .logo-text small {
        font-size: 0.65rem;
    }

    .premium-nav .ui.container {
        width: 100% !important;
        margin: 0 !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* ==========================================================================
   Glider Brands Carousel
   ========================================================================== */
.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    color: #b0b0b0;
    transition: color var(--transition-speed) ease, transform 0.3s ease;
    cursor: grab;
}

.brand-item:active {
    cursor: grabbing;
}

.brand-item:hover {
    color: var(--primary-blue);
    transform: translateY(-5px);
}

.brand-icon {
    width: 100px;
    height: 100px;
    background-color: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.brand-name {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glider Layout & Controls */
.glider-contain {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.glider::-webkit-scrollbar {
    display: none;
}

.glider {
    scrollbar-width: none;
}

.glider-prev,
.glider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 3rem;
    color: #d0d0d0;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    transition: color var(--transition-speed) ease;
}

.glider-prev {
    left: -50px;
}

.glider-next {
    right: -50px;
}

.glider-prev:hover,
.glider-next:hover {
    color: var(--primary-blue);
}

@media only screen and (max-width: 767px) {
    .glider-prev {
        left: -10px;
    }

    .glider-next {
        right: -10px;
    }

    .brand-icon {
        width: 70px;
        height: 70px;
    }
}

/* Floating Action Button */
.floating-action-btn {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 133, 208, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(33, 133, 208, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(33, 133, 208, 0);
    }
}

@media only screen and (max-width: 767px) {
    .floating-action-btn {
        bottom: 20px;
        right: 20px;
    }
}

/* Modal styling */
.modal-services-col {
    background-color: #f4f8fb;
    border-radius: 8px;
    padding: 20px !important;
}

/* Hero Brands and Pills */
.hero-brands {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
    margin-bottom: 20px;
}

.brand-pill {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.brand-pill:hover {
    transform: translateY(-3px);
}

.brand-icon-mini {
    width: 25px;
    height: 25px;
    background-color: #888;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.brand-icon-mini:hover {
    opacity: 1;
    background-color: var(--primary-blue);
    transform: scale(1.1);
}

/* ==========================================================================
   Extracted Inline Styles from index.php
   ========================================================================== */
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dropdown-inline {
    display: inline-block;
}

.hidden-field {
    display: none;
}

.card-content-overlay {
    position: relative;
    z-index: 2;
    color: white;
}

.service-icon-shadow {
    color: white !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.card-header-shadow {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.card-desc-shadow {
    color: #eee !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.appointment-btn-container {
    margin-top: 40px;
    margin-bottom: 20px;
}

.credit-card-icon {
    color: #000;
}

.qr-code-img {
    width: 250px;
    height: initial;
    aspect-ratio: 1 / 1;
}

.mission-card {
    box-shadow: var(--shadow-soft);
    border: none;
    border-radius: 15px;
    border-top: 5px solid var(--primary-blue);
    height: 100%;
}

.mission-icon {
    color: var(--primary-blue) !important;
    margin-bottom: 20px;
}

.mission-title {
    color: var(--text-dark) !important;
    font-size: 2.2rem !important;
    margin-top: 0 !important;
}

.mission-divider {
    width: 60px;
    margin: 15px auto;
    border-top: 3px solid var(--accent-orange);
}

.mission-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

.modal-main-title {
    margin-bottom: 0 !important;
}

.modal-subtitle {
    font-weight: 400;
    font-size: 1.1rem;
    color: #555;
    margin-top: 5px;
}

.turnstile-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

#modalSuccessMessage {
    margin-top: 0 !important;
}

.modal-actions-footer {
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #eaeaea;
    padding: 1.5rem;
}

.modal-brands-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-brands-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Service Area Map Section
   ========================================================================== */
.service-area-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #f0f4ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.service-area-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(26, 87, 165, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.service-area-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-area-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 12px 0 16px;
    line-height: 1.2;
}

.service-area-subtitle {
    font-size: 1.05rem;
    color: #555;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.service-area-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: 32px;
    border: 3px solid rgba(26, 87, 165, 0.15);
}

#coverageMap {
    height: 420px;
    width: 100%;
}

.service-area-cta {
    text-align: center;
}

.location-result {
    margin-top: 24px;
    padding: 20px 28px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: inline-block;
    max-width: 560px;
    width: 100%;
    text-align: left;
}

.location-result.hidden {
    display: none;
}

.location-result.result-in {
    border-left: 5px solid #21ba45;
    background: #f0fff4;
}

.location-result.result-out {
    border-left: 5px solid #f2711c;
    background: #fff8f4;
}

#locationResultText {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text-dark);
}

.location-distance {
    font-size: 0.9rem;
    color: #777;
    margin: 0 0 16px;
}

.location-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media only screen and (max-width: 767px) {
    .service-area-title {
        font-size: 1.6rem;
    }

    #coverageMap {
        height: 300px;
    }

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

    .location-actions {
        justify-content: center;
    }
}

/* ==========================================================================
   Mini Coverage Map (below appointment form)
   ========================================================================== */
.mini-coverage-map-wrapper {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(26, 87, 165, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    user-select: none;
}

.mini-map-label {
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.45rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#miniCoverageMap {
    height: 180px;
    width: 100%;
    pointer-events: none; /* map canvas: no interaction */
}

.mini-map-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    background: #f0f4ff;
    border: none;
    border-top: 1px solid rgba(26, 87, 165, 0.12);
    color: var(--primary-blue);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-speed), color var(--transition-speed);
    text-align: left;
}

.mini-map-action:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* ==========================================================================
   Hero Area Notice
   ========================================================================== */
.hero-area-notice {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    display: inline-block;
    max-width: 100%;
}

.hero-area-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffd166;
    margin-bottom: 0.35rem;
}

.hero-area-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.hero-area-text strong {
    color: #fff;
}

.hero-area-check-btn {
    font-size: 0.82rem !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: background var(--transition-speed), border-color var(--transition-speed) !important;
}

.hero-area-check-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* ==========================================================================
   Coverage Map Modal
   ========================================================================== */
.coverage-map-modal {
    max-width: 720px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

.coverage-map-modal > .header {
    font-family: var(--font-heading) !important;
    font-size: 1.2rem !important;
    background: var(--primary-blue) !important;
    color: #fff !important;
    padding: 1rem 1.5rem !important;
}

.coverage-map-modal .ui.info.message {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.coverage-map-modal .actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 1.5rem !important;
    background: #f8f9fa !important;
}

/* Booking modal service area notice */
.modal-area-notice {
    margin: 0 1.5rem 0 !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
}

.modal-area-notice a {
    font-weight: 600;
    color: var(--primary-blue);
}

@media only screen and (max-width: 767px) {
    .hero-area-notice {
        display: block;
        margin-top: 1.2rem;
    }

    .coverage-map-modal {
        max-width: 100% !important;
    }

    .coverage-map-modal .actions {
        justify-content: center;
    }
}
