/* Purja - Jai Mahavir Electricals - Modern Premium Light Theme Stylesheet */

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

:root {
    /* Color Palette */
    --bg-body: #f8fafc;        /* Slate 50 */
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;  /* Slate 100 */
    --border-color: #e2e8f0;    /* Slate 200 */
    --border-color-hover: #cbd5e1; /* Slate 300 */
    
    --primary: #ea580c;        /* Vibrant Indian Orange */
    --primary-hover: #c2410c;
    --primary-glow: rgba(234, 88, 12, 0.08);
    
    --accent: #2563eb;         /* Corporate Royal Blue */
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.08);
    
    --text-main: #0f172a;      /* Slate 900 */
    --text-muted: #475569;     /* Slate 600 */
    --text-light: #64748b;     /* Slate 500 */
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Soft Geometric Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    border: 2px solid var(--bg-body);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

/* Sticky Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
    letter-spacing: -0.03em;
}

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

.logo-tag {
    font-size: 9px;
    font-weight: 700;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(234, 88, 12, 0.15);
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.25);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-main);
    border-color: var(--border-color-hover);
}

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

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

/* Premium Carousel Hero */
.hero-carousel-container {
    position: relative;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    height: 600px;
}

.carousel-track {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    background-image: radial-gradient(rgba(234, 88, 12, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-slide-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.carousel-slide h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.carousel-slide h1 span {
    color: var(--primary);
}

.carousel-slide p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.carousel-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.carousel-visual img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.04));
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    color: var(--text-main);
}

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

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

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

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

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--primary);
    width: 28px;
    border-radius: 6px;
}

/* Brand Compatibility slider */
.brands-showcase {
    background-color: var(--bg-white);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.brands-showcase h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 28px;
    font-weight: 700;
}

.brands-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand-logo-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: var(--transition-fast);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    height: 64px;
}

.brand-logo-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(234, 88, 12, 0.08);
}

/* Page Section Base */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Category Grid */
.categories-section {
    padding: 100px 0;
}

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

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: 0 16px 36px rgba(0,0,0,0.06);
}

.category-img {
    height: 200px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.category-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.category-card:hover .category-img img {
    transform: scale(1.06);
}

.category-info {
    padding: 24px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
}

.category-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

/* Products grid */
.featured-section {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.product-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08), 0 0 1px 1px var(--primary-glow);
}

.product-media {
    position: relative;
    background-color: #f8fafc;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.product-media img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: var(--transition-normal);
}

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.product-code {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 0.08em;
}

.product-name {
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.compatibility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.compatibility-tag {
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    font-size: 13px;
    padding: 10px 14px;
}

/* Step list style for Procurement Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: var(--transition-normal);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.04);
    border-color: var(--border-color-hover);
}

.process-step-num {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-glow);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
}

.process-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    margin-top: 20px;
    font-family: var(--font-heading);
}

.process-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* About Section & Stats */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-box {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.about-stat-box h2 {
    font-size: 40px;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.about-stat-box p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Catalog Page Layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 40px 0;
}

/* Filters Sidebar */
.filters-sidebar {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.filter-group {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

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

.filter-group h3 {
    font-size: 13px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
}

.search-input-wrapper input {
    width: 100%;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.filter-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.filter-link a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.filter-link a:hover, .filter-link.active a {
    color: var(--primary);
}

.brand-badge {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-light);
}

.filter-link.active .brand-badge {
    background-color: var(--primary-glow);
    border-color: rgba(234, 88, 12, 0.25);
    color: var(--primary);
    font-weight: 700;
}

/* Infrastructure Gallery Page */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.infra-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: var(--transition-normal);
}

.infra-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.05);
}

.infra-media {
    height: 240px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.infra-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.infra-card:hover .infra-media img {
    transform: scale(1.06);
}

.infra-content {
    padding: 28px;
}

.infra-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.infra-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* B2B Inquiries Page & Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 50px 0;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 18px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-card-info h4 {
    font-size: 19px;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.contact-card-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.inquiry-form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Forms & Inputs styling */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.form-control {
    width: 100%;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

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

/* FAQ Accordion Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

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

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--bg-body);
}

.faq-item summary {
    padding: 22px 28px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item[open] {
    background-color: var(--bg-white);
    border-color: var(--border-color-hover);
}

.faq-content {
    padding: 0 28px 24px 28px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

/* Shortlist Drawer UI */
.shortlist-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--primary);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 0 8px rgba(234, 88, 12, 0.4);
}

.btn-shortlist-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.3);
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-shortlist-float:hover {
    transform: scale(1.06) translateY(-2px);
    background-color: var(--primary-hover);
}

.btn-shortlist-float .shortlist-badge {
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    font-size: 11px;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: var(--bg-white);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.drawer-backdrop.open + .drawer, .drawer.open {
    right: 0;
}

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

.drawer-header h2 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.drawer-close:hover {
    background-color: var(--bg-body);
    color: var(--text-main);
}

.drawer-body {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-empty {
    margin: auto;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 300px;
}

.drawer-empty svg {
    opacity: 0.15;
    width: 64px;
    height: 64px;
}

.drawer-item {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.drawer-item-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-main);
    font-weight: 700;
}

.drawer-item-info span {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
}

.drawer-item-remove {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
    padding: 4px;
    border-radius: 4px;
}

.drawer-item-remove:hover {
    opacity: 1;
    background-color: rgba(239, 68, 68, 0.08);
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-body);
}

.drawer-footer .btn {
    width: 100%;
    padding: 14px;
}

/* Native Dialog Modals */
dialog::backdrop {
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

dialog {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background-color: var(--bg-white);
    color: var(--text-main);
    max-width: 680px;
    width: 90%;
    margin: auto;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.12);
    overflow: hidden;
}

dialog:not([open]) {
    display: none;
}

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

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

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--bg-body);
    color: var(--text-main);
}

.modal-body {
    padding: 28px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
}

.modal-img-wrapper {
    height: 200px;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

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

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

.modal-code {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.modal-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.modal-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
}

.specs-table td:first-child {
    color: var(--text-light);
    font-weight: 600;
    width: 35%;
}

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

.modal-footer {
    padding: 18px 28px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-body);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.page-item .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
}

.page-item.active .page-link {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-item:not(.active):not(.disabled) .page-link:hover {
    border-color: var(--border-color-hover);
    color: var(--primary);
}

/* Modern Gen-Z Load More Button Styles */
.load-more-container {
    margin-top: 40px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.btn-load-more {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid var(--primary);
    color: var(--text-dark);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-load-more:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.25);
    background: var(--primary);
    color: white;
}

.btn-load-more:active {
    transform: translateY(-1px) scale(0.98);
}

/* Three bounce spinner animation */
.btn-load-more .spinner {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.btn-load-more .spinner span {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: three-bounce-bounce 1.4s infinite ease-in-out both;
}

.btn-load-more .spinner .bounce1 {
    animation-delay: -0.32s;
}

.btn-load-more .spinner .bounce2 {
    animation-delay: -0.16s;
}

@keyframes three-bounce-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1.0);
    }
}

/* Footer styling */
footer {
    margin-top: auto;
    background-color: #0f172a; /* Keep dark footer for high-end professional appearance */
    color: #e2e8f0;
    border-top: 1px solid #1e293b;
    padding: 80px 0 40px 0;
}

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

.footer-info p {
    color: #94a3b8;
    margin-top: 20px;
    line-height: 1.6;
    max-width: 420px;
    font-size: 14.5px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 13px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    font-weight: 700;
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 14.5px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
    font-size: 14.5px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: #94a3b8;
}

/* Timeline Layout for About Page History */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 12px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    background-color: var(--bg-white);
    border: 4px solid var(--primary);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -9px;
}

.timeline-content {
    padding: 24px 32px;
    background-color: var(--bg-white);
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
    font-family: var(--font-heading);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Grid layout for values cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.03);
    border-color: var(--border-color-hover);
}

.value-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.value-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
    }
    
    .hero-grid, .about-grid, .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 44px;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .process-grid, .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 22px;
    }
    
    .timeline-item.right {
        left: 0%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-img-wrapper {
        height: 180px;
    }
}

/* ==========================================================================
   Admin Panel Styles
   ========================================================================== */

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background-color: var(--bg-body);
}

.admin-sidebar {
    background-color: var(--bg-white);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-logo {
    margin-bottom: 40px;
    padding-left: 10px;
}

.admin-logo .logo span {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.admin-nav-item a svg {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.admin-nav-item a:hover {
    background-color: var(--bg-body);
    color: var(--primary);
}

.admin-nav-item a:hover svg {
    color: var(--primary);
}

.admin-nav-item.active a {
    background-color: var(--primary-glow);
    color: var(--primary);
}

.admin-nav-item.active a svg {
    color: var(--primary);
}

.admin-logout-btn {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.admin-main {
    padding: 40px;
    overflow-y: auto;
    max-height: 100vh;
}

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

.admin-header h1 {
    font-size: 28px;
    font-weight: 800;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

@media (max-width: 1200px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        height: auto;
        position: static;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.stat-info span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-info h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 8px;
    line-height: 1;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-wrapper {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    margin-bottom: 30px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background-color: #f8fafc;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 18px 24px;
    font-size: 14.5px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background-color: #f8fafc;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge-active {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--success);
}

.status-badge-inactive {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger);
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.alert svg {
    flex-shrink: 0;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

/* Switch Toggle widget for Admin Panel */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: var(--success);
}

.switch input:checked + .slider:before {
    transform: translateX(24px);
}

/* ==========================================================================
   Responsive Overrides and Mobile Enhancements
   ========================================================================== */

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    z-index: 200;
    transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.08);
    z-index: 150;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px 30px;
    border-left: 1px solid var(--border-color);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: auto;
}

.mobile-nav-links a {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    transition: var(--transition-fast);
    display: block;
    padding: 8px 0;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
    color: var(--primary);
    transform: translateX(4px);
}

.mobile-nav-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Collapsible Filter Elements */
.mobile-filter-bar {
    display: none;
    margin-bottom: 24px;
}

.filters-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.filters-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.filters-sidebar-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filters-sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.btn-close-filters {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 4px;
}

.btn-close-filters:hover {
    color: var(--danger);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    /* Filters as slide-up drawer on tablet & mobile */
    .mobile-filter-bar {
        display: block;
    }
    
    .filters-sidebar {
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
        padding: 30px 24px;
        z-index: 950;
        max-height: 85vh;
        overflow-y: auto;
        transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid var(--border-color);
    }
    
    .filters-sidebar.open {
        bottom: 0;
    }
    
    .filters-sidebar-header {
        display: flex;
    }
}

@media (max-width: 768px) {
    /* Header responsiveness */
    .header-container {
        height: 70px;
    }
    
    .header-actions {
        display: flex !important; /* Keep Enquiry Cart visible in header on mobile! */
        gap: 8px !important;
    }

    .header-actions .btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none !important;
    }
    
    /* Override inline section paddings on Home Page */
    section[style*="padding: 100px"], 
    section[style*="padding:100px"] {
        padding: 50px 0 !important;
    }

    /* Stack QA Section grid vertically */
    div[style*="grid-template-columns: 1fr 1.1fr"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }

    div[style*="grid-template-columns: 1fr 1.1fr"] ul {
        text-align: left !important;
    }

    /* Layout structural changes */
    .section-title {
        font-size: 28px !important;
    }
    
    .about-grid, .contact-layout, .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Carousel / Hero Section stacking fixes */
    .hero-carousel-container {
        height: 600px !important; /* Lock height on mobile */
    }

    .carousel-slide-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 50px 20px !important;
        height: 100% !important;
        gap: 20px !important;
    }

    .carousel-slide-content > div:first-child {
        width: 100% !important;
    }

    .carousel-slide h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    .carousel-slide p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        line-height: 1.5 !important;
    }

    .hero-ctas {
        display: flex !important;
        gap: 8px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .hero-ctas .btn {
        padding: 10px 14px !important;
        font-size: 12.5px !important;
    }

    .carousel-visual {
        height: 160px !important;
        margin-top: 10px !important;
        width: 100% !important;
    }

    .carousel-visual img {
        max-height: 100% !important;
        max-width: 100% !important;
        width: auto !important;
    }
}

@media (max-width: 576px) {
    /* 2 Columns Products Grid on Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .product-card {
        border-radius: 12px !important;
    }
    
    .product-media {
        height: 150px !important;
    }
    
    .product-badge {
        top: 8px !important;
        left: 8px !important;
        padding: 3px 6px !important;
        font-size: 9px !important;
    }
    
    .product-content {
        padding: 12px !important;
    }
    
    .product-code {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }
    
    .product-name {
        font-size: 14px !important;
        margin-bottom: 8px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 38px; /* Fixed height for name to align buttons */
    }
    
    .compatibility-tags {
        display: none !important; /* Hide tags in grid on mobile for compactness, visible in modal anyway! */
    }
    
    .product-actions {
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .product-actions .btn {
        padding: 8px 10px !important;
        font-size: 11px !important;
        width: 100% !important;
        justify-content: center;
    }
    
    /* Footer tweaks */
    footer {
        padding: 40px 0 20px 0 !important;
    }
    
    .footer-grid {
        gap: 30px !important;
    }
}

/* Brand Compatibility Marquee */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    padding-right: 24px;
}

.marquee-group .brand-logo-card {
    flex-shrink: 0;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover to allow users to look at specific brands */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* Founder Message Card styling */
.founder-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .founder-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        text-align: center;
    }
    
    .founder-card blockquote {
        padding-left: 0 !important;
        border-left: none !important;
        border-top: 2px solid var(--primary);
        padding-top: 15px;
    }
}



