
/* 1. General Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background: #fff0e0;
}

/* 2. Custom Fonts */
@font-face {
    font-family: 'SpotNormal';
    src: url('images/Spot-Normal.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Acumin';
    src: url('images/acumin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 3. CSS Variables (Design Tokens) */
:root {
    --white: #ffffff;
    --red: #e03438;
    --yellow: #fdcc32;
    --brown: #602f18;
    --pastel-red: #f2B8B9;
    --pastel-yellow: #FEF5C2;
    --pastel-brown: #B9A197;
    --light-neutral: #F5F5F5;
    --dark-neutral: #333333;

    /* New variables for commonly used text styles */
    --font-heading: 'SpotNormal', sans-serif;
    --font-body: 'Acumin', sans-serif;
}

/* 4. Typography */
h1, h2, h3, h5, h6 {
    /* Consolidate font-family property */
    font-family: var(--font-heading) !important;
    letter-spacing: 1px;
}

h3 {
    /* Remove redundant letter-spacing: 1px; and use a cleaner font-weight value */
    font-weight: 100 !important;
}

p {
    font-family: var(--font-body);
}

h5 {
    /* Optimized: Consolidate 'SpotNormal' to var() */
    background: var(--red);
    color: var(--white) !important;
    font-size: clamp(1.5rem, 3vw, 3rem) !important;
    font-weight: 600;
    display: inline;
    padding: 5px 20px;
    /* Consolidate position/z-index properties */
    position: relative;
    z-index: 9;
    overflow: hidden;
    /* Removed commented-out transform */
}

/* 5. Buttons */
.button-1 {
    background-color: var(--white);
    border-radius: 5px;
    padding: 10px 15px;
    color: var(--dark-neutral); /* Use variable */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
        transform: scale(1.1);

    position: relative;
    border: 1px solid var(--dark-neutral);
    box-shadow: 5px 5px 0px #222; 
    font-weight: 600;
}

.button-1:hover {
    box-shadow: 2px 2px 0px var(--red);
    background-color: var(--yellow);
    /* Consolidate transforms */
    transform: scale(1);
    transform-origin: start;
    color: white;
}

.button-2 {
    background-color: var(--yellow);
    border-radius: 5px;
    padding: 10px 15px;
    color: var(--white); /* Use variable */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
        transform: scale(1.1);

    position: relative;
    border: 1px solid var(--dark-neutral);
    box-shadow: 5px 5px 0px var(--red); 
    font-weight: 600;
}

.button-2:hover {
    box-shadow: 2px 2px 0px #222;
    background-color: var(--white);
    /* Consolidate transforms */
    transform: scale(1);
    transform-origin: start;
    color: var(--dark-neutral);
}


/* 6. Utility Classes */
.gradient-text {
    /* Use vendor prefix and standard property, simplified comments */
    background: linear-gradient(to right, #ff4848, #f2d96b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 7. Icons */
.icons-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px !important;
    
}

.icons-box .row .col-lg-6 div{
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #222;
    box-shadow: 5px 5px 0px #222;
    backdrop-filter: blur(10px);
    background: var(--yellow);
    color: white;
}

.icons-box .fa-solid {
    font-size: 41px;
    padding: 0.5em;
    border-radius: 15px;
    /* Use variables for color and background/border */
    background-color: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
}

/* 8. Hero Section Styling */

/* Hero - 1 (Shared Gradient/Animation) */
.hero-main { /* Combined from .hero-main and .row-box-1 */
    /* background: radial-gradient(circle at 20% 30%, #d87373 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, #f2d96b 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, #f2f2f2 0%, transparent 50%),
                var(--white); 
    background-size: 400% 400%;
    animation: pastelGradient 15s ease infinite; */
    background: var(--red);
}

.hero-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@keyframes pastelGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Waffle Image Styling */
.flying-waffle-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    width: clamp(200px, 40vw, 500px);
}

.flying-waffle {
    width: 100%;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.6));
    z-index: 10;
    
}

.scroll-away {
    background: transparent;
    color: var(--red);
    font-weight: 600;
}

/* Hero - 2 Section */
.hero-main-2 {
    min-height: auto;
}

.hero-col {
    min-height: 100vh;
    padding: 2rem;
    display: flex;
  
  
}
.hero-col h1{
    color: var(--red);
}


.hero-text {
font-size: clamp(3rem, 12vw, 15em);
    color: var(--white);
    text-shadow: 2px 2px 3px #222;
    z-index: 9;
    overflow: hidden;
    /* Removed commented-out styles: -webkit-text-stroke & -webkit-text-fill-color */
}

.hero-text-inner {
    display: block;
}

#target-container {
    border-radius: 1rem;
    width: 100%;
    height: 100vh;
    position: relative;
}

#target-container img {
    position: absolute;
    width: 100%;
    right: 4.8%;
    top: 5%;
}


.values .value-icon {
    height: 150px;
    width: 100%;
    object-fit: contain;
}

/* about us  */

/* Styling for the decorative image in the first section (right side) */
.decorative-corner-image-left {
    height: 300px;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Styling for the decorative image in the second section (left side) */
.decorative-corner-image-right {
    height: 300px;
    position: absolute;
    left: 0;
    bottom: 0;
}

/* 9. Horizontal Scroll */
section {
    height: 60vh;
    display: flex;
    padding: 200px 0;
    justify-content: center;
    align-items: center;
    background: white;
}

@media(max-width:991px){
  .pinned-section{
    background: white !important;
  }
}

.pinned-section {

    background: var(--yellow);

    position: relative;

    text-align: center;

    overflow: hidden;

    flex-direction: column;

   

}



.big-text {

    /* Simplified font-size clamp */

    font-size: clamp(10vw, 5vw, 100px);

    font-weight: 400;

    letter-spacing: clamp(1px, 0.5vw, 5px);

    white-space: nowrap;

    display: inline-block;

    position: relative;

    /* Removed duplicate color declaration */

    color: var(--red) !important;

    text-shadow: 2px 5px 5px var(--dark-neutral);

    font-family: var(--font-heading);

}



.letter {

    display: inline-block;

    position: relative;

}



.sub-text {

    margin-top: 2rem;

    max-width: 600px;

    line-height: 1.4;

    margin-left: auto;

    margin-right: auto;

}

/* about us  */
 .about-section {
            min-height: 60vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        .about-content {
            display: flex;
            align-items: start;
            padding: 80px 60px;
            background: var(--pastel-yellow);
            position: relative;

        }

        .about-content::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 200px;
            height: 200px;
            background: var(--yellow);
            opacity: 0.3;
            border-radius: 0 0 0 100%;
        }

        .about-content::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 150px;
            height: 150px;
            background: var(--pastel-red);
            opacity: 0.4;
            border-radius: 0 100% 0 0;
        }

        .content-wrapper:nth-child(1) {
            position: relative;
            z-index: 2;
        
        }
        

        .content-wrapper:nth-child(2) {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: end;
            flex-direction: column;
            align-items: end;
            padding-left: 150px;    
        }
        

        .about-content h1 {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 700;
            color: var(--red);
            margin-bottom: 30px;
            line-height: 1.2;
        }

        .about-content p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--dark-neutral);
            margin-bottom: 20px;
            opacity: 0.9;
        }

        .button-1 {
            display: inline-block;
            padding: 14px 40px;
            background: var(--red);
            color: var(--white);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .button-1::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--brown);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .button-1:hover::before {
            left: 0;
        }

        .button-1:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(224, 52, 56, 0.3);
        }

        .about-image {
            position: relative;
            overflow: hidden;
            background: var(--brown);
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(224, 52, 56, 0.2) 0%, transparent 50%);
            z-index: 1;
            pointer-events: none;
        }

        /* Decorative Elements */
        .decorative-circle {
            position: absolute;
            width: 80px;
            height: 80px;
            border: 3px solid var(--red);
            border-radius: 50%;
            opacity: 0.3;
            animation: float 6s ease-in-out infinite;
        }

        .circle-1 {
            top: 20%;
            right: 10%;
        }

        .circle-2 {
            bottom: 30%;
            right: 5%;
            animation-delay: 2s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .about-section {
                grid-template-columns: 1fr;
            }

            .about-content {
                padding: 60px 40px;
            }

            .about-image {
                min-height: 400px;
            }

            .about-content::before,
            .about-content::after {
                width: 120px;
                height: 120px;
            }
        }

        @media (max-width: 576px) {
            .about-content {
                padding: 40px 25px;
            }

            .about-content h1 {
                font-size: 2rem;
                margin-bottom: 20px;
            }

            .about-content p {
                font-size: 0.95rem;
            }

            .button-1 {
                padding: 12px 30px;
                font-size: 0.9rem;
            }

            .decorative-circle {
                display: none;
            }
        }

        /* Alternative Layout - Reversed */
        .about-section.reversed {
            
        }

        .about-section.reversed .about-content {
            order: 2;
            background: var(--pastel-red);
        }

        .about-section.reversed .about-image {
            order: 1;
        }

        @media (max-width: 992px) {
            .about-section.reversed .about-content {
                order: 1;
            }
            
            .about-section.reversed .about-image {
                order: 2;
            }
        }

/* icon box why us  */
/* promot */



        .feature-card {
            background:var(--yellow);
            border: 1px solid #ffffff;
            border-radius: 25px;
            padding: 1em;
            height: 100%;
            box-shadow: 5px 5px 0px #ffffff;
            transition: transform 0.3s;
        }

        /* .col-sm-6:nth-child(1) .feature-card{
            transform: rotate(-5deg);
        }
        .col-sm-6:nth-child(2) .feature-card{
            transform: rotate(10deg);
        }
        .col-sm-6:nth-child(3) .feature-card{
            transform: rotate(-5deg);
        }
        .col-sm-6:nth-child(4) .feature-card{
            transform: rotate(10deg);
        } */

     
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            display: block;
        }

        .feature-title {
            font-size: 1.5rem;
            font-weight: 900;
            margin-bottom: 1rem;
        }

        .price-badge {
            background: #E63946;
            color: white;
            padding: 0.3rem 1rem;
            border-radius: 25px;
            font-weight: 400;
        }

        .waffle-showcase {
            position: relative;
            width: 100%;
            max-width: 500px;
            aspect-ratio: 1;
            margin: 0 auto;
        }

        .waffle-image {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: contain;
            opacity: 0;
            animation: fadeSlide 15s infinite;
        }

        .waffle-image:nth-child(1) { animation-delay: 0s; }
        .waffle-image:nth-child(2) { animation-delay: 3s; }
        .waffle-image:nth-child(3) { animation-delay: 6s; }
        .waffle-image:nth-child(4) { animation-delay: 9s; }
        .waffle-image:nth-child(5) { animation-delay: 12s; }

        @keyframes fadeSlide {
            0%, 20%, 100% { opacity: 0; }
            5%, 15% { opacity: 1; }
        }

        .mascot {
            position: absolute;
            bottom: -30px;
            right: -30px;
            width: 200px;
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        @media (max-width: 991px) {
            .mascot {
                width: 150px;
                bottom: -20px;
                right: -20px;
            }
        }

/* 10. Animation and Layout Boxes */
.main-row-box {
    padding: 5em 0 0 2em;
    overflow: hidden;
    background-color: var(--yellow);
}

/* .row-box-1 now shares styles with .hero-main (see above) */

/* .row-box-1{
background-image:url(images/pattern.png);
background-color: var(--red);
background-size: contain;
background-repeat: no-repeat ;
} */

.big-text-2 {
    font-size: clamp(2.5rem, 5vw, 6rem);
    line-height: 1;
    font-weight: 400;
    display: inline-block;
    overflow-wrap: normal;
    word-break: normal;
    font-family: var(--font-heading);
    z-index: 5;
}

.revealUp {
    opacity: 1;
}

.big-text-1 {
    font-size: clamp(2.5rem, 4vw, 6rem);
    line-height: 1;
    word-spacing: 0 !important;
    /* Use variable and combine sans-serif fallback */
    font-family: var(--font-heading);
    font-weight: 400;
}

.image-placeholder-1 {
    width: auto;
    height: 100px;
    border-radius: 25px;
    display: inline-block;
    animation: start 0.6s linear;
}

/* 11. Swiper Container Styles */
#cardSwiper6 {
    width: 100%;
    padding: 150px 20px 50px 20px;
    overflow: visible;
}

#cardSwiper6 .swiper-slide {
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-1 {
    width: 100%;
    background: var(--white);
    /* Removed !important: background/border match, so can remove */
    border: 3px solid var(--white);
    border-radius: 20px;
    padding: 20px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.15); */
    text-align: center;
    transform: scale(0.85);
    opacity: 0.6;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    box-sizing: border-box;
    background-size: cover;
}

/* Static backgrounds per card (left as-is) */
.card-6-1 { background: linear-gradient(135deg, #ffadad 0%, #ffd6a5 100%); }
.card-6-2 { background: linear-gradient(135deg, #ffd6a5 0%, #fdffb6 100%); }
.card-6-3 { background: linear-gradient(135deg, #caffbf 0%, #9bf6ff 100%); }
.card-6-4 { background: linear-gradient(135deg, #a0c4ff 0%, #bdb2ff 100%); }
.card-6-5 { background: linear-gradient(135deg, #bdb2ff 0%, #ffc6ff 100%); }
.card-6-6 { background: linear-gradient(135deg, #9bf6ff 0%, #caffbf 100%); }

.card-1 img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    /* Use a single transform for better performance */
    transform: translate(10%, 0) rotate(-20deg) scale(1);
    filter: drop-shadow(2px 2px 2px #222);
    will-change: transform;
    backface-visibility: hidden;
}

.card-1 .product-doodle {
    position: absolute;
    height: 150px;
    left: 38%;
    right: 50%;
    top: -10%;
}

/* Swiper Navigation & Pagination */
.card-swiper-pagination-6 { bottom: 0; }

.card-swiper-prev-6,
.card-swiper-next-6 {
    /* Combined declarations and used more variables */
    color: var(--light-neutral) !important;
    background: var(--red);
    height: 50px !important;
    width: 50px !important;
    border-radius: 50% !important; /* Used 50% for standard circle */
    margin: 1em !important;
    top: 50% !important;
    z-index: 20 !important;
    font-size: 14px !important;
}

.card-swiper-prev-6::after,
.card-swiper-next-6::after {
    font-size: 30px !important;
    font-weight: 800 !important;
}

/* 12. Category Section (Section 6) */
.category {
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 0;
    padding: 2rem;
    border-radius: 12px;
    height: 90vh;
    box-shadow: 10px 10px 0px #222;
    border: 1px solid #222;
}

@media(max-width:991px) {
    .category{
        padding: 10px;
    }

    .category div .col-lg-6 p {
        font-size: 12px;}

    .number {
        font-size: 4em !important;
    }
    .card-1 .product-doodle {
    position: absolute;
    height: 80px;
    left: 38%;
    right: 50%;
    top: -10%;
}

}

/* Consolidate repetitive selectors for background images */
.col-lg-6:nth-child(2) .category {
    background-image: url(images/categpry\ \(2\).png); /* Note: assuming 'muilkshake' is correct typo */
}
.horizontal-scroll-wrapper .category-container .row .col-lg-6:nth-child(1) .category {
     background-image: url(images/categpry\ \(3\).png); 
}
.horizontal-scroll-wrapper .category-container .row .col-lg-6:nth-child(2) .category {
    background-image: url(images/categpry\ \(1\).png); 
}
/* Revert first one to its initial state (icecream.png) if it was meant to be generic */
.col-lg-6:nth-child(1) .category {
     background-image: url(images/category\ \(4\).png); 
}


.category::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #222222 0%, transparent 30%);
    z-index: 1;
    border-radius: 12px;
}

.category > * {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.category-wrapper-container {
    position: relative;
    height: 100vh;
}

.category-fixed-background,
.horizontal-scroll-wrapper { /* Consolidated position/size/overflow */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.horizontal-scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
}

.category-container {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

.number {
    font-size: 6em;
    color: #ffffff50;
}

.category div .col-lg-6 {
    padding: 0;
}

.category div .col-lg-6 p {
    
    backdrop-filter: blur(10px);
    background: #222;
    color: #fff;
    padding: 1em;
    border-radius: 15px;
    border: 1px solid #fff;
    box-shadow: 5px 5px 0px #fff;
}
/* 13. Section 7 */
.section-7 {
    background-color: #0a0a20;
}

/* 14. Globe and Map Styles */     /* Header Section */
        .franchise-header {
            padding: 3rem 0 2rem;
            text-align: center;
        }

        /* Controls Panel */
        .controls-wrapper {
            background: var(--cream);
            
            border-radius: 20px;
            padding: clamp(1rem, 3vw, 2rem);
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .dropdown-label {
            font-weight: 900;
            color: var(--dark);
            font-size: clamp(0.95rem, 2vw, 1.1rem);
            margin-bottom: 0.5rem;
            display: block;
        }

        .custom-select {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 3px solid var(--dark);
            border-radius: 12px;
            background: var(--white);
            font-size: clamp(0.9rem, 2vw, 1rem);
            font-weight: 600;
            color: var(--dark);
            cursor: pointer;
            transition: all 0.3s ease;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232C2C2C' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            padding-right: 3rem;
        }

        .custom-select:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background-color: #f0f0f0;
        }

        .custom-select:focus {
            outline: none;
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
        }

        .custom-select:hover:not(:disabled) {
            border-color: var(--red);
        }

        /* Results Panel */
        .results-panel {
            background: var(--white);
            border: 3px solid var(--dark);
            border-radius: 15px;
            padding: 1.5rem;
        
            min-height: 20px;
            max-height: auto;
            overflow-y: auto;
        }

        .results-title {
            font-weight: 900;
            color: var(--dark);
            font-size: clamp(1rem, 2vw, 1.25rem);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid var(--yellow);
            position: sticky;
            top: 0;
            background: var(--white);
            z-index: 1;
        }

        .location-item {
            padding: 0.75rem;
            margin-bottom: 0.5rem;
            background: var(--cream);
            border-radius: 8px;
            border-left: 4px solid var(--red);
            font-weight: 600;
            color: var(--dark);
            font-size: clamp(0.85rem, 2vw, 0.95rem);
            transition: transform 0.2s ease;
            cursor: pointer;
        }

        .location-item:hover {
            transform: translateX(5px);
            background: #fff8dc;
        }

        .empty-state {
            text-align: center;
            color: var(--dark);
            opacity: 0.6;
            padding: 2rem 1rem;
            font-weight: 600;
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        /* Globe Container */
        .globe-wrapper {
            position: relative;
            /* background: linear-gradient(135deg, #0a0a20 0%, #1a1a3e 100%); */
            background-image: url(images/stars.jpg);
            background-size: cover;
            overflow: hidden;
        }

        #globe-container {
            width: 100%;
            height: 70vh;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        #globe-container canvas {
            display: block;
            max-width: 100%;
            max-height: 100%;
        }

        /* Tooltip */
        #tooltip {
            position: fixed;
            display: none;
            background: var(--dark);
            color: var(--white);
            padding: 1rem 1.25rem;
            border-radius: 12px;
            pointer-events: none;
            z-index: 10000;
            font-size: clamp(0.85rem, 2vw, 0.95rem);
            line-height: 1.5;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border: 2px solid var(--yellow);
            max-width: min(280px, 90vw);
            word-wrap: break-word;
        }

        .tooltip-city {
            font-weight: 900;
            color: var(--yellow);
            font-size: clamp(1rem, 2vw, 1.1rem);
            margin-bottom: 0.25rem;
            display: block;
        }

        /* Zoom Controls */
        #custom-controls {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .zoom-button {
            background: var(--yellow);
            color: var(--dark);
            border: 3px solid var(--dark);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.75rem;
            font-weight: 900;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            user-select: none;
        }

        .zoom-button:hover:not(:disabled) {
            background: var(--red);
            color: var(--white);
            transform: scale(1.1);
        }

        .zoom-button:active:not(:disabled) {
            transform: scale(0.95);
        }

        .zoom-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Loading Spinner */
        .loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 10, 32, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 1;
            transition: opacity 0.5s ease;
        }

        .loading-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .spinner {
            border: 4px solid rgba(255, 201, 51, 0.3);
            border-top: 4px solid var(--yellow);
            border-radius: 50%;
            width: 10px;
            height: 10px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Error Message */
        .error-message {
            display: none;
            background: #ff6b6b;
            color: white;
            padding: 1rem;
            border-radius: 10px;
            margin: 1rem 0;
            text-align: center;
            font-weight: 600;
        }

        /* Responsive Adjustments */
        @media (max-width: 991px) {
            .franchise-header {
                padding: 2rem 0 1.5rem;
            }

            .controls-wrapper {
                padding: 1.5rem;
            }

            .results-panel {
                margin-top: 1rem;
                max-height: 250px;
            }

            #globe-container {
                height: 60vh;
                min-height: 350px;
            }

            #custom-controls {
                top: 15px;
                right: 15px;
                gap: 0.5rem;
            }

            .zoom-button {
                width: 44px;
                height: 44px;
                font-size: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .franchise-header {
                padding: 1.5rem 0 1rem;
            }

            .controls-wrapper {
                padding: 1rem;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .custom-select {
                padding: 0.75rem;
                font-size: 0.9rem;
            }

            .results-panel {
                padding: 1rem;
                max-height: 200px;
            }

            #globe-container {
                height: 50vh;
                min-height: 300px;
            }

            #custom-controls {
                top: 10px;
                right: 10px;
            }

            .zoom-button {
                width: 38px;
                height: 38px;
                font-size: 1.25rem;
                border-width: 2px;
            }

            #tooltip {
                font-size: 0.8rem;
                padding: 0.75rem 1rem;
            }
        }

        /* Scrollbar Styling */
        .results-panel::-webkit-scrollbar {
            width: 8px;
        }

        .results-panel::-webkit-scrollbar-track {
            background: var(--cream);
            border-radius: 10px;
        }

        .results-panel::-webkit-scrollbar-thumb {
            background: var(--red);
            border-radius: 10px;
        }

        .results-panel::-webkit-scrollbar-thumb:hover {
            background: #c62c38;
        }

        /* Focus States for Accessibility */
        *:focus-visible {
            outline: 3px solid var(--red);
            outline-offset: 2px;
        }

        /* Performance Optimizations */
        .will-change-transform {
            will-change: transform;
        }

/* 15. Responsive Adjustments */

/* Grouping common mobile styles for better clarity */
@media (max-width: 1000px) {
    h5 {
        letter-spacing: 1px;
    }

    .big-text-1 {
        line-height: 1;
    }

    /* Section 3 */
    .main-row-box {
        padding: 1em;
    }

    .row-box-1 {
        /* Keep specific mobile style for the box */
        border-radius: 15px 15px 0 0 !important;
    }

    /* Note: The @keyframes for pastelGradient is already defined globally. */

    .image-placeholder-1 {
        height: 50px;
    }

    .lotties {
        height: 80px !important;
        width: 80px !important;
        object-fit: contain !important;
    }

    .category {
        height: 45vh;
    }
}

/* Hero Section Media Queries */
@media(max-width: 991px) {
    .flying-waffle {
        /* Simplified properties for mobile */
        height: 550px !important;
        width: 100%;
        object-fit: cover;
    }

    .hero-col {
        min-height: 50vh !important;
    }

    #target-container {
        height: 50vh;
    }

    #target-container img {
        top: 30% !important;
    }
}

/* Swiper Media Queries */
@media (max-width: 1024px) {
    #cardSwiper6 .swiper-slide {
        width: 220px;
    }
    .card-1 img {
        max-height: 35vh;
    }
}

@media (max-width: 768px) {
    #cardSwiper6 .swiper-slide {
        width: 180px;
    }
    .card-1 img {
        max-height: 30vh;
    }
}

@media (max-width: 480px) {
    #cardSwiper6 {
        padding: 60px 10px;
    }
    #cardSwiper6 .swiper-slide {
        width: 160px;
    }
    .card-1 img {
        max-height: 25vh;
    }
}