/* ========================================
   KHANDELWAL BAJAJ - Multi Page Website CSS
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0773ef;
    --primary-dark: #0773ef;
    --secondary: #1a1a2e;
    --accent: #0774f1;
    --dark: #0f0f23;
    --light: #ffffff;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --gradient: linear-gradient(135deg, #0774f1 0%, #0773ef 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 45px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    font-weight: 500;
    color: var(--dark);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgb(255 255 255);
}

.nav-link i {
    font-size: 0.75rem;
    transition: var(--transition);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 100;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgb(255 255 255);
    color: var(--primary);
    padding-left: 25px;
}

/* Nested Dropdown */
.nested-dropdown {
    position: relative;
}

.nested-menu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    padding: 10px 0;
}

.nested-dropdown:hover > .nested-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgb(59 148 250);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ========================================
   VEHICLE SEARCH
   ======================================== */
.search-wrapper {
    position: relative;
}

.search-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--gray-light);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-toggle:hover {
    background: var(--primary);
    color: white;
}

.search-panel {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 400px;
    background: var(--light);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 10000;
    overflow: hidden;
    animation: searchSlideDown 0.3s ease;
}

.search-panel.active {
    display: block;
}

@keyframes searchSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-input-wrap {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    gap: 10px;
}

.search-input-wrap .search-icon {
    color: var(--gray);
    font-size: 0.95rem;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: var(--dark);
    font-family: inherit;
}

.search-input-wrap input::placeholder {
    color: var(--gray);
}

.search-close {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-close:hover {
    background: var(--gray-light);
    color: var(--dark);
}

.search-results {
    max-height: 420px;
    overflow-y: auto;
    display: none;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 3px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-item:hover {
    background: var(--gray-light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-no-img {
    color: var(--gray);
    font-size: 1.5rem;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-specs {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 3px;
}

.search-result-specs i {
    margin-right: 3px;
}

.search-result-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 3px;
    display: block;
}

.search-result-arrow {
    color: var(--gray);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.search-empty {
    padding: 30px 16px;
    text-align: center;
    color: var(--gray);
}

.search-empty i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.search-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
/* HERO SECTION */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Slider container */
.hero-slider {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individual slides */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
}

.hero-slide.active {
    opacity: 1;
}

/* Image handling — keeps perfect ratio */
.hero-slide picture,
.hero-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* prevents zoom/crop */
    margin: 0 auto;
    background: #ffffff;
}

/* Hero content overlay */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--dark);
    padding: 40px 20px;
    background: var(--light);
}

.hero-content > div {
    max-width: 700px;
    margin: 0 auto;
}

/* Tagline, title, subtitle */
.hero-tagline {
    display: inline-block;
    padding: 8px 20px;
    background: rgb(7 115 239);
    border: 1px solid rgb(7 115 239);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider controls */
.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--primary);
}

/* Dots (optional) */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}


/* ========================================
   BRANDS / CATEGORIES SECTION
   ======================================== */
.brands-section {
    padding: 80px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgb(59 148 250);
    color: #0773ef;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Brand Tabs */
.brand-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.brand-tab {
    padding: 12px 24px;
    background: var(--gray-light);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.brand-tab:hover,
.brand-tab.active {
    background: var(--primary);
    color: white;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    border: 1px solid var(--gray-light);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    mix-blend-mode: multiply;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.product-content {
    padding: 18px 20px 20px;
}

.product-brand {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--gray-light);
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
}

.btn-outline {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgb(7 115 239);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ========================================
   OUTLETS SECTION
   ======================================== */
.outlets-section {
    padding: 80px 0;
    background: var(--light);
}

.outlets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.outlet-card {
    background: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.outlet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.outlet-image {
    height: 200px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
}

.outlet-content {
    padding: 25px;
}

.outlet-city {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.outlet-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.outlet-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.outlet-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.outlet-info i {
    color: var(--primary);
    width: 20px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 80px 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.about-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.about-badge .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature i {
    width: 50px;
    height: 50px;
    background: rgb(59 148 250);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.about-feature p {
    font-size: 0.85rem;
    margin: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgb(59 148 250);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ========================================
   CAREERS SECTION
   ======================================== */
.careers-section {
    padding: 80px 0;
    background: var(--light);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.career-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.career-department {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.career-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.career-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.career-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
}

.career-detail i {
    color: var(--primary);
}

/* ========================================
   PAGE HEADER (Inner Pages)
   ======================================== */
.page-header {
    padding: 160px 0 60px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--primary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #0b0b1d;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 80px 40px;
  gap: 40px;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-about h3 {
  color: #007bff;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-about p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #007bff;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #007bff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #ccc;
}

.footer-contact-item i {
  color: #007bff;
}

.footer-bottom {
  background: #0b0b1d;
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
  }
  .footer-column {
    width: 100%;
  }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0773ef 0%, #3b94fa 100%); /* Blue gradient */
  color: white;
  text-align: center;
}


.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    background: white;
    border-color: white;
    color: var(--primary);
    padding: 14px 32px;
    font-size: 1.05rem;
}

.cta-btn i {
    font-size: 1.1rem;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgb(59 148 250);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ========================================
   BOOKING MODAL — FINAL RESPONSIVE & CENTERED
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
  overflow-y: auto; /* allows scroll if modal taller than viewport */
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 30px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  margin: auto; /* keeps it centered */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: white;
}

.modal h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  text-align: center;
}

/* Form fields */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
}

/* Submit button aligned */
.modal form {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* ensures button spans full width */
}

.modal form button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center; /* centers text + icon */
  width: 100%;             /* full width on all devices */
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.modal form button[type="submit"]:hover {
  background: #005fd1;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 768px) {
  .modal {
    max-width: 90%;
    padding: 25px;
  }
  .modal h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .modal {
    max-width: 95%;
    padding: 20px;
  }
  .modal h2 {
    font-size: 1.2rem;
  }
  .form-group input,
  .form-group select {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
  .modal form button[type="submit"] {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}


/* ========================================
    RESPONSIVE DESIGN
    ======================================== */

/* Global mobile padding fix */
@media (max-width: 992px) {
    .brands-section,
    .services-section,
    .outlets-section,
    .about-section,
    .contact-section,
    .careers-section,
    .cta-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-grid,
    .services-grid,
    .outlets-grid,
    .careers-grid {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .brands-section,
    .services-section,
    .outlets-section,
    .about-section,
    .contact-section,
    .careers-section,
    .cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Touch-friendly base styles */
@media (pointer: coarse) {
    button, a, input, select, textarea {
        min-height: 44px;
    }
}

/* Tablet and below (992px and under) */
@media (max-width: 992px) {
    .header-container {
        padding: 12px 20px;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
        align-items: stretch;
        gap: 5px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-link {
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-light);
        margin-top: 5px;
        display: none;
        border-radius: 10px;
        padding: 8px 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 20px;
    }

    .nested-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-light);
        display: none;
        margin-left: 15px;
    }

    .nested-menu.active {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-slider {
        height: 70vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }

    .product-card {
        max-width: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 30px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-about h3 {
        font-size: 1.5rem;
    }

    .footer-links h4 {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 25px;
    }

    .section-title {
        font-size: 2rem;
    }

    .brand-tabs {
        gap: 8px;
    }

    .brand-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .modal {
        padding: 30px 20px;
        margin: 15px;
    }

    .modal h2 {
        font-size: 1.5rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* Mobile phones (576px and under) */
@media (max-width: 576px) {
    .header-container {
        padding: 10px 15px;
    }

    .mobile-toggle {
        padding: 12px 8px;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .logo img {
        height: 35px;
    }

    .btn-primary {
        padding: 12px 22px;
        font-size: 0.95rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-slider {
        height: 60vh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-tagline {
        font-size: 0.8rem;
        padding: 6px 15px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .brands-section,
    .services-section,
    .outlets-section,
    .about-section,
    .contact-section,
    .careers-section,
    .cta-section {
        padding: 50px 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        border-radius: 10px;
        max-width: none;
    }

    .product-image {
        height: 200px;
    }

    .product-content {
        padding: 18px;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-specs {
        gap: 12px;
        font-size: 0.85rem;
    }

    .product-price {
        flex-wrap: wrap;
        gap: 10px;
    }

    .price {
        font-size: 1.15rem;
    }

    .btn-outline {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .services-grid {
        gap: 15px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .outlets-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .outlet-card {
        border-radius: 10px;
    }

    .outlet-content {
        padding: 20px;
    }

    .outlet-name {
        font-size: 1.1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer {
        padding: 40px 15px 20px;
    }

    .footer-about h3 {
        font-size: 1.3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .slider-controls {
        bottom: 15px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .about-badge {
        bottom: -15px;
        right: -10px;
        padding: 15px 20px;
    }

    .about-badge .number {
        font-size: 2rem;
    }

    .about-badge .label {
        font-size: 0.8rem;
    }

    .careers-grid {
        grid-template-columns: 1fr;
    }

    .career-card {
        padding: 20px;
    }

    .page-header {
        padding: 80px 0 25px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .main-nav {
        width: 85%;
    }

    .contact-info {
        padding: 20px 15px;
    }

    .contact-form-wrapper {
        padding: 20px 15px;
    }

    .modal {
        padding: 25px 15px;
        margin: 10px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 50px 15px;
    }

    .outlets-grid {
        grid-template-columns: 1fr;
    }

    /* Force single column on inline grids with minmax(350px) */
    [style*="minmax(350px"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Global CTA section mobile fixes */
    section[style*="padding: 80px"] {
        padding: 40px 15px !important;
    }

    section[style*="font-size: 2.5rem"] h2,
    section[style*="padding: 80px"] h2 {
        font-size: 1.4rem !important;
    }

    section[style*="padding: 80px"] p {
        font-size: 0.9rem !important;
    }
}

/* Very small phones (400px and under) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .price {
        font-size: 1rem;
    }
}

/* Landscape mode on phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-slider {
        height: auto;
        min-height: 300px;
    }

    .hero-content {
        padding: 20px 15px;
    }

    .page-header {
        padding: 80px 0 30px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 768px Breakpoint - Tablets & Large Phones */
@media (max-width: 768px) {
    .search-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    .search-results {
        max-height: calc(100vh - 60px);
    }
    .search-input-wrap {
        padding-top: calc(14px + env(safe-area-inset-top));
    }
    .cta-title { font-size: 1.8rem; }
    .cta-subtitle { font-size: 1rem; }
    .cta-section { padding: 60px 15px; }
    .contact-info { padding: 25px 20px; }
    .contact-form-wrapper { padding: 25px 20px; }
    .modal { padding: 30px 20px; }
    .outlets-grid { grid-template-columns: 1fr; }

    /* Global inline CTA section fixes */
    section[style*="padding: 80px"] {
        padding: 50px 15px !important;
    }
    section[style*="padding: 80px"] h2 {
        font-size: 1.6rem !important;
    }
    section[style*="padding: 80px"] p {
        font-size: 1rem !important;
    }
}

.map-container {
  background: var(--gray-light);
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  border: 0;
}

