/* ==========================================
   1. FONTS (External & Local)
   ========================================== */
@font-face {
    font-family: 'Aventa-Bold';
    src: url('./../fonts/Aventa/Aventa Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Aventa-SemiBold';
    src: url('./../fonts/Aventa/Aventa Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

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

@font-face {
    font-family: 'Aventa-Light';
    src: url('./../fonts/Aventa/Aventa Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Parslay';
    src: url('./../fonts/Parslay/Parslay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Badrock';
    src: url('./../fonts/Badrock/Badrock.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================
   2. BASE STYLES & TYPOGRAPHY
   ========================================== */
body {
    font-family: 'Aventa', sans-serif;
    color: #111827;
    /* Standard gray-900 */
}

.font-parslay {
    font-family: 'Parslay', cursive;
    font-weight: 400 !important;
}

.font-badrock {
    font-family: 'Badrock', sans-serif;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
}

.branch-address {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
}

/* ==========================================
   3. LAYOUT & CONTAINERS
   ========================================== */
.section-container {
    max-width: 95%;
    /* Increased from 90% for better mobile usage */
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    /* Reduced from 1rem */
    padding-right: 0.5rem;
}

.policy-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .section-container {
        max-width: 90%;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ==========================================
   4. ANIMATIONS
   ========================================== */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes ticker-reverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.animate-shake {
    animation: shake 0.2s ease-in-out 0s 2;
}

/* ==========================================
   5. COMPONENT SPECIFIC (Hero, Ticker, Map)
   ========================================== */

/* Hero Section */
.hero-section-title {
    font-family: 'Aventa-Bold', sans-serif;
    font-size: 48px;
    line-height: 1.19;
    text-align: center;
}

.hero-gradient-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        linear-gradient(191.1deg, rgba(0, 0, 0, 0) 3.7%, rgba(7, 52, 128, 0.96) 97.25%);
}

/* Product Tickers */
.ticker-wrapper {
    display: flex;
    width: max-content;
    animation: ticker 2000s linear infinite;
}

.ticker-wrapper-reverse {
    display: flex;
    width: max-content;
    animation: ticker-reverse 2000s linear infinite;
    animation-delay: -1000s;
}

/* Styling for category background text */
.category-text-stroke {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Badrock';
    font-size: 130px;
    line-height: 75px;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-weight: 400 !important;
}

.placeholder-gradient {
    background: linear-gradient(180deg, #073480 0%, #104DB5 100%);
}

.placeholder-fonts {
    font-family: 'Aventa-SemiBold', sans-serif;
    font-size: 22px;
    line-height: 28px;
}

/* Map & Radar */
#map-container {
    height: 400px;
    width: 100%;
}

.radar-logo,
.maplibregl-ctrl-attrib {
    display: none !important;
}

.radar-autocomplete-results {
    z-index: 50 !important;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-top: 4px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.radar-autocomplete-wrapper {
    display: none !important;
}

.responsive-popup-container {
    display: block;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
}