/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - JANGRA SAMUHA (jangrasamuha.com)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: hsl(0, 58%, 22%);         /* Deep Heritage Burgundy */
    --primary-light: hsl(0, 50%, 32%);
    --primary-bg-light: hsl(42, 25%, 95%); /* Soft Warm Cream */
    --secondary: hsl(40, 55%, 58%);       /* Brass/Gold */
    --secondary-hover: hsl(40, 55%, 48%);
    --accent: hsl(28, 70%, 50%);          /* Terracotta Accent */
    --text-main: hsl(24, 15%, 15%);       /* Warm Charcoal */
    --text-muted: hsl(24, 10%, 42%);      /* Soft Warm Grey */
    --bg-main: hsl(42, 15%, 98%);         /* Warm Cream (matching logo paper background) */
    --bg-card: hsl(0, 0%, 100%);          /* White */
    
    /* Layout & Borders */
    --border-color: hsl(42, 10%, 90%);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(191, 163, 108, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Max Widths */
    --max-width: 1280px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

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

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

/* Common Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 32, 91, 0.25);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* ==========================================================================
   NAVIGATION BAR (Glassmorphism)
   ========================================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.85); /* Warm cream glassmorphism */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(230, 227, 218, 0.5);
    transition: var(--transition-fast);
}

header.scrolled {
    background: rgba(250, 249, 246, 0.96);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px; /* Increased from 80px to accommodate a larger logo */
    padding: 0 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.logo img {
    height: 80px; /* Increased from 60px to make it larger and more visible */
    width: auto;
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggler */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* ==========================================================================
   FOOTER (Premium Corporate)
   ========================================================================== */

footer {
    background: hsl(0, 58%, 10%); /* Deep rich burgundy dark background */
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-info .logo {
    display: inline-flex;
    margin-bottom: 24px;
}

.footer-info .logo img {
    height: 70px;
    width: auto;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--secondary);
    background-color: white;
    padding: 3px;
    box-shadow: var(--shadow-md);
}

.footer-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-links-col a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-newsletter h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 0 20px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--secondary-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

/* ==========================================================================
   PAGE HERO BANNERS (For Internal Pages)
   ========================================================================== */

.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(220, 95%, 8%) 100%);
    padding: 100px 0 80px 0;
    color: white;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 145, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 1s ease;
}

/* ==========================================================================
   HOME PAGE: HERO CAROUSEL
   ========================================================================== */

.carousel-section {
    position: relative;
    height: 650px;
    background-color: var(--primary);
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 1;
}

.carousel-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    margin-left: 80px;
}

.carousel-content .badge {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.carousel-content h2 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.1s;
}

.carousel-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.carousel-content .btn-group {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

/* Animations when active */
.carousel-slide.active .carousel-content .badge,
.carousel-slide.active .carousel-content h2,
.carousel-slide.active .carousel-content p,
.carousel-slide.active .carousel-content .btn-group {
    opacity: 1;
    transform: translateY(0);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.carousel-btn-prev {
    left: 24px;
}

.carousel-btn-next {
    right: 24px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.indicator.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* ==========================================================================
   HOME PAGE: PRODUCT CATEGORIES & HIGHLIGHTS
   ========================================================================== */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.category-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-card:hover::before {
    transform: scaleX(1);
    background: var(--secondary);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.category-card:hover .category-icon {
    background: var(--secondary);
    color: white;
}

.category-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   RETAIL PAGE: DYNAMIC PRODUCT CATALOG
   ========================================================================== */

.retail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.catalog-filter {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    align-self: start;
    position: sticky;
    top: 110px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-btn span {
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 20px;
}

.filter-btn.active span {
    background: rgba(255, 255, 255, 0.2);
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.catalog-products-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.catalog-count {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: var(--primary);
    padding: 4px 10px;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
}

.product-img-container {
    background: hsl(220, 20%, 97%);
    height: 240px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-container img {
    height: 80%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img-container img {
    transform: scale(1.08);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.product-features-brief {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-features-brief li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features-brief li i {
    color: var(--primary);
    font-size: 0.75rem;
}

.product-action {
    margin-top: auto;
    width: 100%;
}

/* ==========================================================================
   ENERGY SAVINGS CALCULATOR
   ========================================================================== */

.calculator-section {
    background: var(--primary-bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.calc-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.calc-group {
    margin-bottom: 30px;
}

.calc-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.calc-appliance-btn {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.calc-appliance-btn i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.calc-appliance-btn.active {
    border-color: var(--primary);
    background: var(--primary-bg-light);
    box-shadow: var(--shadow-sm);
}

.calc-appliance-btn.active i {
    color: var(--primary);
}

.calc-appliance-btn.active span {
    font-weight: 600;
    color: var(--primary);
}

.range-slider-wrapper {
    position: relative;
    padding-bottom: 20px;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--secondary-hover);
}

.slider-val {
    position: absolute;
    right: 0;
    bottom: -5px;
    font-weight: 700;
    color: var(--primary);
}

.calc-results {
    padding: 20px 0;
}

.calc-results-header {
    margin-bottom: 40px;
}

.calc-results-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
}

.calc-results-header p {
    color: var(--text-muted);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.result-box {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 30px 24px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.result-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-bg-light);
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-box.highlight {
    border-color: var(--secondary);
    background: radial-gradient(circle at top right, rgba(255, 145, 0, 0.05) 0%, white 70%);
}

.result-box.highlight .result-icon {
    background: rgba(255, 145, 0, 0.1);
    color: var(--secondary);
}

.result-details h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.result-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.result-box.highlight .result-value {
    color: hsl(35, 100%, 40%);
}

/* ==========================================================================
   DEALER LOCATOR
   ========================================================================== */

.locator-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 400px 1fr;
    height: 550px;
}

.locator-search-sidebar {
    padding: 30px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.locator-search-form {
    display: flex;
    gap: 10px;
}

.locator-search-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.95rem;
}

.locator-search-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.dealer-list {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 5px;
}

/* Custom scrollbar for dealer list */
.dealer-list::-webkit-scrollbar {
    width: 6px;
}
.dealer-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.dealer-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.dealer-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dealer-card:hover,
.dealer-card.active {
    border-color: var(--primary);
    background: white;
    box-shadow: var(--shadow-sm);
}

.dealer-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.dealer-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.dealer-contact {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.dealer-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.locator-map-container {
    position: relative;
    background: hsl(210, 20%, 93%);
    height: 100%;
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 16px;
    animation: bounce 2s infinite;
}

.map-grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 32, 91, 0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.map-location-marker {
    position: absolute;
    background: var(--secondary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: var(--shadow-md);
    transform: translate(-50%, -100%);
    display: none;
    animation: fadeInUp 0.5s ease;
}

.map-location-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: var(--secondary) transparent;
}

/* ==========================================================================
   SERVICES PAGE: INTERACTIVE BOOKING
   ========================================================================== */

.services-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-intro-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.service-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-intro-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.service-intro-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-intro-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.booking-section {
    background: var(--primary-bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.booking-info h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.booking-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.booking-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-step {
    display: flex;
    gap: 16px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.booking-form-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
}

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

.form-group textarea {
    height: 100px;
    resize: none;
}

/* ==========================================================================
   ABOUT US PAGE: HISTORIC STATS & CORPORATE DETAILS
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.about-text-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-bg-light);
    color: var(--primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   CONTACT PAGE: ENHANCED INTERACTIVE DETAILS
   ========================================================================== */

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

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-item i {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 4px;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.contact-form-wrapper p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Accordion FAQs */
.faq-section {
    background: var(--primary-bg-light);
    border-top: 1px solid var(--border-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
}

.faq-question i {
    transition: var(--transition-fast);
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 24px 20px 24px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 900px;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-main);
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

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

.modal-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-img-wrapper {
    background: hsl(220, 20%, 97%);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.modal-img-wrapper img {
    max-height: 85%;
    object-fit: contain;
}

.modal-details {
    display: flex;
    flex-direction: column;
}

.modal-cat {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.modal-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.modal-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.modal-specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.modal-specs-table tr:last-child {
    border-bottom: none;
}

.modal-specs-table td {
    padding: 10px 0;
    font-size: 0.9rem;
}

.modal-specs-table td:first-child {
    font-weight: 600;
    color: var(--primary);
    width: 40%;
}

.modal-specs-table td:last-child {
    color: var(--text-main);
}

/* ==========================================================================
   FEEDBACK MESSAGE POPUPS
   ========================================================================== */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    display: none;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    border-left: 4px solid var(--secondary);
    animation: slideInRight 0.3s ease;
}

.toast.active {
    display: flex;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .navbar {
        height: 70px;
    }
    .nav-links {
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .retail-layout {
        grid-template-columns: 1fr;
    }
    .catalog-filter {
        position: static;
        margin-bottom: 30px;
        width: 100%;
    }
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .locator-card {
        grid-template-columns: 320px 1fr;
    }
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu toggling logic in JS */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(0,0,0,0.02);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .carousel-section {
        height: 500px;
    }
    
    .carousel-content {
        margin-left: 40px;
        margin-right: 40px;
    }
    
    .carousel-content h2 {
        font-size: 2.2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .locator-card {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .locator-search-sidebar {
        height: 350px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .locator-map-container {
        height: 300px;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .modal-img-wrapper {
        height: 250px;
    }
    
    .services-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form-card {
        padding: 24px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .name-grid-container {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Floating WhatsApp Widget */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
    border: 2px solid #ffffff;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.7);
    color: #ffffff;
}


