/* ==========================================================================
   New Natraj Industries - Design System v4.0
   Structural Changes: Hamburger nav, Hero video background, Stats redesign
   Color Palette: Navy + Warm Cream + Blush + Terracotta (preserved)
   Typography: Fraunces (headings) + Inter (body) (preserved)
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #1A1A1A;
    background: #FBFBF8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.hidden {
    display: none !important;
}

/* Mobile-First Container (720px max-width centered)
   ========================================================================== */
.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Spacing - Mobile First */
section {
    padding: 64px 0;
}

/* Typography Scale - Mobile First
   ========================================================================== */
h1 {
    font-family: 'Fraunces', serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.lead {
    font-size: 18px;
    line-height: 1.5;
}

/* Navigation - Hamburger Menu on All Sizes
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1B2A4E;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo img {
    height: 56px;
    width: auto;
}

/* Hamburger Menu Button */
.hamburger-menu {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #FBFBF8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover .hamburger-line {
    background: #E8C8BD;
}

/* Full-Screen Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1B2A4E;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #FBFBF8;
    transition: color 0.3s ease;
}

.close-menu:hover {
    color: #E8C8BD;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.menu-link {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #FBFBF8;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.menu-link:hover {
    color: #E8C8BD;
}

/* Hero Section - Full Height with Video Background
   ========================================================================== */
.hero {
    position: relative;
    min-height: max(600px, 85vh);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 60px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(27, 42, 78, 0.3), transparent);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #FBFBF8;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    color: #FBFBF8;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subhead {
    color: rgba(251, 251, 248, 0.9);
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Strip - Horizontal Row with 5 Stats (incl. Made in India badge)
   ========================================================================== */
.stats-strip {
    background: #FBFBF8;
    padding: 48px 0;
}

.stats-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stats-row::-webkit-scrollbar {
    display: none;
}

.stat-item {
    flex: 0 0 150px;
    text-align: center;
    padding: 16px 10px;
}

.stat-value {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1B2A4E;
    margin-bottom: 8px;
    line-height: 1.2;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value-icon {
    padding: 0;
}

.make-in-india-badge {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #6B6B6B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.stat-divider {
    display: none;
}

/* Heritage Section - Off-white Background
   ========================================================================== */
.heritage-section {
    background: #FBFBF8;
}

.heritage-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.heritage-content {
    text-align: left;
}

.heritage-content h2 {
    margin-bottom: 16px;
    color: #1B2A4E;
}

.heritage-content .lead {
    font-size: 18px;
    font-weight: 400;
    color: #1A1A1A;
    margin-bottom: 16px;
}

.heritage-content p {
    text-align: left;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.heritage-content p strong {
    color: #1B2A4E;
}

.heritage-image {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.portrait-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #FBFBF8;
}

.portrait-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(27, 42, 78, 0.12);
    aspect-ratio: 5 / 3;
    background: #E5DCC9;
}

.portrait-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portrait-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 4px 0;
    border-left: 3px solid #C6553D;
    padding-left: 14px;
    margin-top: 14px;
}

.portrait-role {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #C6553D;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

.portrait-name {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 600;
    color: #1B2A4E;
    line-height: 1.3;
}

/* Section Headers - Centered
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    color: #1B2A4E;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #6B6B6B;
    max-width: 600px;
    margin: 0 auto;
}

/* Manufacturing Capabilities - Carousel (Warm Cream Background)
   ========================================================================== */
.capabilities-section {
    background: #FAF5EB;
    padding: 56px 0;
}

.capabilities-section .section-header {
    margin-bottom: 48px;
}

/* Carousel Wrapper (Full Width) */
.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.carousel-wrapper::-webkit-scrollbar { display: none; }

/* Fade Gradients - Narrower so cards visibly extend past them */
.carousel-fade-left,
.carousel-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 10;
    pointer-events: none;
}

.carousel-fade-left {
    left: 0;
    background: linear-gradient(to right, #FAF5EB 0%, rgba(250, 245, 235, 0) 100%);
}

.carousel-fade-right {
    right: 0;
    background: linear-gradient(to left, #FAF5EB 0%, rgba(250, 245, 235, 0) 100%);
}

/* Carousel Track */
.carousel-track {
    display: flex;
    gap: 16px;
    padding: 0 24px;
    width: max-content;
    --shift-amount: calc(-10 * (220px + 16px));
    animation: autoscroll 90s linear infinite;
    will-change: transform;
}

.carousel-track.paused {
    animation-play-state: paused;
}

/* 3 copies of card sequence in DOM → reset at -33.3333% for seamless loop */
@keyframes autoscroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(var(--shift-amount)); }
}

/* Carousel Cards */
.carousel-card {
    position: relative;
    flex: 0 0 220px;
    height: 220px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 3px solid transparent;
}

.carousel-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.carousel-card.active {
    border-color: #C6553D;
}

/* Card Image & Placeholder */
.card-image {
    position: relative;
    width: 100%;
    height: 100%;
    background: #D4D4D4;
    overflow: hidden;
}

.card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.placeholder-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #A3A3A3;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, rgba(27, 42, 78, 0.75) 100%);
}

/* Card Label */
.card-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 600;
    color: #FBFBF8;
    z-index: 5;
}

/* Card Chevron */
.card-chevron {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #FBFBF8;
    z-index: 5;
    transition: transform 0.3s ease;
}

.carousel-card.active .card-chevron {
    transform: rotate(180deg);
}

/* Details Panel */
.details-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
    margin-top: 0;
}

.details-panel.expanded {
    max-height: 500px;
    opacity: 1;
    margin-top: 32px;
}

.details-panel .container {
    background: #FBFBF8;
    border: 1px solid #E5DCC9;
    border-radius: 4px;
    padding: 24px;
    position: relative;
}

.details-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1B2A4E;
    margin-bottom: 20px;
}

.details-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.details-specs .spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E5DCC9;
}

.details-specs .spec-row:last-child {
    border-bottom: none;
}

.details-specs .spec-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B6B6B;
}

.details-specs .spec-value {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
}

.details-link {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #C6553D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.details-link:hover {
    color: #A8442F;
}

/* Client Logos Strip - Off-white background, compact credibility row
   ========================================================================== */
.clients-strip {
    background: #FBFBF8;
    padding: 32px 0;
    border-top: 1px solid #E5DCC9;
    border-bottom: 1px solid #E5DCC9;
}

.clients-strip-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6B6B6B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 24px;
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.client-logo {
    width: auto;
    max-width: 120px;
    height: 40px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Factory Tour - Warm Cream Background (Accordion Layout)
   ========================================================================== */
.factory-section {
    background: #FAF5EB;
}

.factory-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: #FBFBF8;
    border: 1px solid rgba(27, 42, 78, 0.12);
    border-left: 3px solid rgba(27, 42, 78, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.accordion-item:hover {
    box-shadow: 0 2px 8px rgba(27, 42, 78, 0.06);
}

.accordion-item.is-open {
    border-left-color: #C6553D;
    box-shadow: 0 4px 16px rgba(27, 42, 78, 0.08);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: rgba(27, 42, 78, 0.03);
}

.accordion-header:focus-visible {
    outline: 2px solid #C6553D;
    outline-offset: -2px;
}

.stage-badge {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #1B2A4E 0%, #142142 100%);
    color: #FBFBF8;
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.accordion-item.is-open .stage-badge {
    background: linear-gradient(135deg, #C6553D 0%, #A8442F 100%);
}

.stage-title {
    flex: 1;
    margin: 0;
    color: #1B2A4E;
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.accordion-chevron {
    flex-shrink: 0;
    color: #1B2A4E;
    transition: transform 0.3s ease, color 0.25s ease;
}

.accordion-item.is-open .accordion-chevron {
    transform: rotate(180deg);
    color: #C6553D;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.is-open .accordion-content {
    /* JS will set the exact max-height inline to allow smooth animation */
}

.accordion-content-inner {
    padding: 0 18px 20px 18px;
    border-top: 1px solid rgba(27, 42, 78, 0.08);
    padding-top: 18px;
}

.stage-description {
    text-align: left;
    color: #1A1A1A;
    margin: 0 0 18px 0;
}

.stage-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.stage-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Quality & Compliance - Warm Cream Background
   ========================================================================== */
.quality-section {
    background: #FAF5EB;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
    justify-items: center;
}

.cert-card {
    text-align: center;
    padding: 20px 16px;
    background: #F5EBE0;
    border-radius: 12px;
    border: 2px solid #E5DCC9;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.cert-card:hover {
    border-color: #C6553D;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.cert-image {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FBFBF8;
    border-radius: 50%;
    padding: 12px;
    flex-shrink: 0;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-card h3 {
    font-size: 16px;
    color: #1B2A4E;
    margin-bottom: 6px;
    line-height: 1.3;
}

.cert-card p {
    font-size: 13px;
    color: #6B6B6B;
    line-height: 1.5;
}

.qc-lab-showcase {
    background: linear-gradient(135deg, #FAF5EB 0%, #F5EBE0 100%);
    border-radius: 12px;
    padding: 32px 20px;
    border: 2px solid #E5DCC9;
    margin-top: 48px;
}

.qc-lab-showcase h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    color: #1B2A4E;
    text-align: center;
    margin-bottom: 24px;
}

.lab-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.lab-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.lab-description {
    text-align: center;
    color: #1A1A1A;
}

/* How We Work - Off-white Background
   ========================================================================== */
.how-we-work-section {
    background: #FBFBF8;
}

.process-flow {
    max-width: 720px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #FBFBF8;
    border-radius: 12px;
    border-left: 4px solid #C6553D;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: #F5EBE0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1B2A4E 0%, #142142 100%);
    color: #FBFBF8;
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h3 {
    color: #1B2A4E;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: #6B6B6B;
}

.step-arrow {
    display: none;
}

/* Catalogue Form - Warm Cream Background
   ========================================================================== */
.catalogue-form-section {
    background: #FAF5EB;
    color: #1A1A1A;
}

.form-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: #F5EBE0;
    border-radius: 12px;
    padding: 32px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 2px solid #E5DCC9;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    color: #1B2A4E;
    margin-bottom: 12px;
}

.form-header p {
    color: #6B6B6B;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1B2A4E;
    margin-bottom: 6px;
}

.required {
    color: #C6553D;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #E5DCC9;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    min-height: 50px;
    transition: border-color 0.3s ease;
    background: #FBFBF8;
}

.form-group input:focus {
    outline: none;
    border-color: #C6553D;
}

.error-message {
    color: #C6553D;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-privacy {
    background: #FAF5EB;
    border-left: 4px solid #C6553D;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.form-privacy p {
    font-size: 13px;
    color: #6B6B6B;
    margin: 0;
}

.form-submit-button {
    width: 100%;
    background: #C6553D;
    color: #FBFBF8;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit-button:hover {
    background: #A8442F;
    transform: translateY(-2px);
}

/* Contact Section - Off-white Background
   ========================================================================== */
.contact-section {
    background: #FBFBF8;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info h2 {
    color: #1B2A4E;
    text-align: center;
    margin-bottom: 12px;
}

.contact-intro {
    text-align: center;
    color: #6B6B6B;
    margin-bottom: 32px;
}

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

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

.contact-item svg {
    color: #C6553D;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    font-size: 13px;
    color: #6B6B6B;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 16px;
    color: #1B2A4E;
    font-weight: 600;
}

.contact-value a {
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #C6553D;
}

.contact-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    aspect-ratio: 3 / 2;
}

.contact-image img {
    width: 100%;
    height: auto;
}

/* Footer - Primary Navy Background
   ========================================================================== */
.site-footer {
    background: #1B2A4E;
    color: #FBFBF8;
    padding: 48px 0 24px;
}

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

.footer-logo {
    margin-bottom: 12px;
    background: #FBFBF8;
    padding: 8px;
    border-radius: 6px;
    width: 120px;
    height: auto;
}

.footer-tagline {
    font-size: 14px;
    color: #E5DCC9;
    margin-bottom: 8px;
}

.footer-cert {
    font-size: 13px;
    color: #E8C8BD;
    font-weight: 600;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FBFBF8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #E5DCC9;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FBFBF8;
}

.footer-contact li {
    color: #E5DCC9;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(229, 220, 201, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #E5DCC9;
    font-size: 13px;
}

/* Floating Action Buttons - Stacked on Right
   Mobile-first: icon + text pill on all viewports
   ========================================================================== */
.catalogue-float,
.whatsapp-float {
    position: fixed;
    right: 16px;
    color: white;
    width: auto;
    padding: 10px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.catalogue-float {
    bottom: 76px;
    background: #C6553D;
}

.catalogue-float:hover {
    background: #A8442F;
    transform: scale(1.05);
}

.whatsapp-float {
    bottom: 16px;
    background: #4A7C59;
}

.whatsapp-float:hover {
    background: #3D6549;
    transform: scale(1.05);
}

.catalogue-float svg,
.whatsapp-float svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.catalogue-text,
.whatsapp-text {
    display: inline;
}

/* Touch Targets - Mobile First
   ========================================================================== */
button,
a,
input[type="submit"],
.cta-button,
.form-submit-button {
    min-height: 44px;
}

/* Desktop Adjustments (768px+)
   ========================================================================== */
@media (min-width: 768px) {
    /* Container stays 720px, centered */
    .container {
        padding: 0 24px;
    }
    
    section {
        padding: 96px 0;
    }

    /* Heritage: text left (60%), portraits stacked right (40%) */
    .heritage-grid {
        flex-direction: row;
        align-items: flex-start;
        gap: 56px;
    }

    .heritage-content {
        flex: 1 1 60%;
        min-width: 0;
    }

    .heritage-image {
        flex: 0 0 38%;
        max-width: 360px;
        position: sticky;
        top: 100px;
    }

    .portrait-name {
        font-size: 20px;
    }
    
    /* Typography scales modestly */
    h1 {
        font-size: 64px;
    }
    
    h2 {
        font-size: 44px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    p {
        font-size: 17px;
    }
    
    .lead {
        font-size: 20px;
    }
    
    /* Navigation adjustments for tablet+ */
    .nav-container {
        padding: 12px 32px;
    }
    
    .nav-logo img {
        height: 64px;
    }
    
    .hamburger-line {
        width: 28px;
    }
    
    /* Hero adjustments */
    .hero {
        min-height: 90vh;
        padding: 140px 40px 80px;
    }
    
    .hero-subhead {
        font-size: 20px;
    }
    
    /* Stats - full-width spread across viewport on desktop */
    .stats-strip .container {
        max-width: none;
        padding: 0 48px;
    }

    .stats-row {
        justify-content: space-between;
        padding: 0;
        overflow-x: visible;
        gap: 0;
    }

    .stat-item {
        flex: 1 1 0;
        padding: 20px 16px;
        text-align: center;
    }
    
    .stat-value {
        font-size: 22px;
        min-height: 40px;
    }

    .make-in-india-badge {
        height: 40px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-divider {
        display: block;
        width: 1px;
        height: 60px;
        background: #E5DCC9;
        align-self: center;
        flex-shrink: 0;
    }
    
    /* Capabilities - desktop adjustments */
    .capabilities-section {
        padding: 80px 0;
    }
    
    .carousel-track {
        gap: 20px;
        --shift-amount: calc(-10 * (280px + 20px));
    }
    
    .carousel-card {
        flex: 0 0 280px;
        height: 280px;
    }
    
    .card-label {
        font-size: 22px;
    }
    
    .details-panel .container {
        padding: 32px;
    }
    
    .details-title {
        font-size: 24px;
    }
    
    .details-specs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 32px;
    }
    
    /* Client logos strip — wider gap, larger logos, hover color reveal */
    .clients-strip {
        padding: 40px 0;
    }

    .clients-logos {
        gap: 64px;
    }

    .client-logo {
        max-width: 180px;
        height: 60px;
    }

    .client-logo:hover {
        opacity: 1;
        transform: translateY(-2px);
    }

    /* Factory accordion - tighter spacing on desktop, 2-col images when open */
    .factory-accordion {
        gap: 14px;
    }

    .accordion-header {
        padding: 18px 24px;
        gap: 18px;
    }

    .stage-badge {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .stage-title {
        font-size: 19px;
    }

    .accordion-content-inner {
        padding: 18px 24px 24px 24px;
    }

    .stage-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    /* Certifications - 3 columns */
    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .cert-card {
        max-width: none;
    }
    
    .cert-card h3 {
        font-size: 18px;
    }
    
    .cert-card p {
        font-size: 14px;
    }
    
    .lab-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* Footer - 2 columns */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    /* Floating buttons — slightly larger on desktop */
    .catalogue-float,
    .whatsapp-float {
        right: 20px;
        padding: 14px 22px;
        font-size: 15px;
        gap: 10px;
    }

    .catalogue-float {
        bottom: 88px;
    }

    .whatsapp-float {
        bottom: 20px;
    }

    .catalogue-float svg,
    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

/* Large Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
    .qc-lab-showcase {
        margin-top: 64px;
    }
    
    /* Footer - 3 columns */
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Print Styles
   ========================================================================== */
@media print {
    .navbar,
    .whatsapp-float,
    .catalogue-form-section {
        display: none !important;
    }
}

.footer-social {
    margin-top: 20px;
}
.footer-social-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(251, 251, 248, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.footer-social-icons {
    display: flex;
    gap: 14px;
}
.footer-social-icons a {
    color: #FBFBF8;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    display: inline-flex;
}
.footer-social-icons a:hover {
    opacity: 1;
}
