:root {
    --primary: #cf161d;
    --primary-dark: #ac040b;
    --secondary: #eca4a7;
    --accent: #fabec0;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #666666;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== HEADER / NAVBAR ===================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 150px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 140px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    position: absolute;
}

/* On transparent header (hero): show white logo, hide dark */
header:not(.scrolled) .logo-white { opacity: 1; }
header:not(.scrolled) .logo-dark  { opacity: 0; }

/* On scrolled/solid header: show dark logo, hide white */
header.scrolled .logo-white { opacity: 0; }
header.scrolled .logo-dark  { opacity: 1; }

/* Reserve space so layout doesn't collapse */
.logo::after {
    content: '';
    display: block;
    width: 160px; /* adjust to match your actual logo width */
    height: 44px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

header.scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

header.scrolled .nav-links a:hover {
    color: var(--primary);
}

/* ===================== BUTTONS ===================== */
.btn {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===================== HERO SECTION ===================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.6), #662b39e6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    line-height: 1.15;
    font-weight: 800;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease both;
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.85;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1s ease 0.6s both;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero floating icons */
.hero-float {
    position: absolute;
    opacity: 0.15;
    animation: floatAnim 3s ease-in-out infinite;
    font-size: 5rem;
    color: var(--primary);
    z-index: 2;
    pointer-events: none;
}

.hero-float.left {
    top: 25%;
    left: 40px;
}

.hero-float.right {
    bottom: 25%;
    right: 40px;
    animation-delay: 1s;
    color: var(--secondary);
}

/* ===================== SECTIONS ===================== */
.section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    background: #ffd5e2;
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

/* ===================== ABOUT HOME ===================== */
.about-section {
    background: var(--white);
    padding: 100px 0;
    overflow: hidden;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    margin: 12px 0 20px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.8;
}

.learn-more {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.learn-more:hover {
    gap: 14px;
}

.about-img-wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img-wrap:hover img {
    transform: scale(1.05);
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,102,204,0.15);
    mix-blend-mode: multiply;
}

/* ===================== STATS GRID ===================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 70px;
}

.stat-card {
    background: rgba(248,249,250,0.8);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 800;
    transition: var(--transition);
}

.stat-card:hover h3 {
    transform: scale(1.1);
}

.stat-card p {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    margin-top: 8px;
}

/* ===================== GLOBAL NETWORK SECTION ===================== */
.global-section {
    background: var(--dark);
    color: var(--white);
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title p {
    color: #888;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.locations-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.location-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 420px;
}

.location-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
}

.location-card .location-globe {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transition: var(--transition);
    pointer-events: none;
}

.location-card:hover .location-globe {
    opacity: 0.12;
}

.location-card .flag {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.location-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.location-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.location-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.location-card a:hover {
    color: var(--white);
    gap: 12px;
}

/* ===================== OEM/ODM SECTION ===================== */
.services-home-section {
    background: var(--white);
    padding: 100px 0;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-card {
    padding: 50px;
    border-radius: 25px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-card.oem {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.service-card.odm {
    background: linear-gradient(135deg, var(--secondary) 0%, #e85a2b 100%);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card > p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 24px;
}

.service-card ul {
    list-style: none;
    margin-top: 10px;
}

.service-card li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.service-card li::before {
    content: '✓';
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===================== FEATURED PRODUCTS HOME ===================== */
.featured-section {
    background: var(--light);
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0,102,204,0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-card-body p {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(0,102,204,0.08);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===================== CTA SECTION ===================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #fb4f7d 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 50px;
}

.footer-col {
    text-align: left; /* add karo agar nahi hai */
}

.footer-col:first-child {
    text-align: left;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col p {
    color: #888;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #888;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-logo {
    display: block;
    margin-bottom: 16px;
}

.footer-logo img {
    display: block;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===================== INNER PAGE HERO ===================== */
.page-hero {
    background: var(--dark);
    padding: 160px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1558223108-630d93211d81?auto=format&fit=crop&q=80&w=2000') center/cover;
    opacity: 0.15;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.7;
}

/* ===================== ABOUT PAGE ===================== */
.mission-vision {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.mission-vision .card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.mission-vision .card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.values-section {
    background: var(--light);
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,102,204,0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: #ffd5e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.value-card p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================== PRODUCTS PAGE ===================== */
.products-section {
    padding: 80px 0;
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid #ddd;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    color: #555;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 12px;
    margin-bottom: 16px;
}

.spec-item {
    font-size: 0.8rem;
    color: #888;
}

.spec-item strong {
    color: var(--dark);
    font-weight: 600;
}

/* ===================== SERVICES PAGE ===================== */
.services-section {
    padding: 80px 0;
}

.service-detail-card {
    padding: 60px;
    border-radius: 25px;
    color: var(--white);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-card.oem {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.service-detail-card.odm {
    background: linear-gradient(135deg, var(--secondary), #e85a2b);
}

.service-detail-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-detail-card > div p {
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-detail-card ul {
    list-style: none;
}

.service-detail-card li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.service-detail-card li::before {
    content: '✓';
    background: rgba(255,255,255,0.2);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-section {
    background: var(--light);
    padding: 100px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(0,102,204,0.3);
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: #777;
}

/* ===================== CONTACT PAGE ===================== */
.contact-section {
    padding: 80px 0;
}

.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.07);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.office-card {
    background: var(--white);
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid transparent;
}

.office-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.office-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.office-flag {
    font-size: 2rem;
}

.office-card h4 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.office-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-quick {
    background: var(--dark);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    margin-top: 10px;
}

.contact-quick h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.contact-quick-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
}

/* ===================== FORM SUCCESS ===================== */
.form-success {
    display: none;
    background: rgba(0,212,170,0.1);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #00a085;
    font-weight: 600;
    margin-top: 16px;
}

/* ===================== MOBILE MENU ===================== */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    background: none;
    border: none;
}

header.scrolled .menu-toggle {
    color: var(--dark);
}

/* ===================== BTN SECONDARY ===================== */
.btn-secondary {
    background: #ffffff;
    color: #000000;
    border-radius: 50px;
    padding: 18px 50px;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}
.btn-secondary:hover {
    background: #e85a2b;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,107,53,0.5);
}

/* ===================== MD SPOTLIGHT ===================== */
.md-spotlight-section {
    background: #f0f4f8;
    padding: 100px 0;
}

.md-spotlight-card {
    background: var(--white);
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 60px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.md-spotlight-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
}

.md-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid rgba(0,102,204,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.md-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.md-quote-content {
    flex: 1;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.18;
    margin-bottom: 10px;
    line-height: 1;
}

.md-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}

.md-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.md-info span {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.md-contact-links {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}
.md-contact-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.md-contact-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===================== TESTIMONIALS SECTION ===================== */
.testimonials-section {
    background: var(--dark);
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-section .section-title {
    margin-bottom: 60px;
}

.testimonials-section .section-title h2 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.testimonials-section .section-title p {
    color: #888;
    font-size: 1.05rem;
}

.testimonials-section .section-tag {
    background: rgba(0, 102, 204, 0.25);
    color: #6ab0ff;
}

/* ===================== CAROUSEL WRAPPER ===================== */
.testimonials-carousel-wrapper {
    position: relative;
    margin-bottom: 36px;
}

/* TRACK OUTER — clips overflow */
.testimonials-track-outer {
    overflow: hidden;
    border-radius: 28px;
}

/* TRACK — scrolls horizontally */
.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ===================== CARD ===================== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;

    /* show 3 cards — (100% - 2 gaps) / 3 */
    width: calc((100% - 48px) / 3);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0,102,204,0.06), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(0, 102, 204, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* QUOTE ICON */
.testimonial-quote-icon {
    font-size: 1.6rem;
    color: var(--primary);
    opacity: 0.5;
    line-height: 1;
}

/* TEXT */
.testimonial-text {
    font-size: 0.97rem;
    color: #b0b8c8;
    line-height: 1.85;
    flex: 1;
    font-style: italic;
}

/* STARS */
.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars i {
    color: #f5a623;
    font-size: 0.85rem;
}

/* AUTHOR */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 102, 204, 0.4);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.testimonial-author-info span {
    font-size: 0.78rem;
    color: #666;
}

/* ===================== ARROWS ===================== */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.carousel-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

/* ===================== DOTS ===================== */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 50px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 4px;
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 40px;
    flex-wrap: wrap;
    row-gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 36px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.trust-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    /* show 2 cards */
    .testimonial-card {
        width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .testimonials-section {
        padding: 70px 0;
    }

    .testimonials-section .section-title h2 {
        font-size: 2rem;
    }

    /* show 1 card */
    .testimonial-card {
        width: 100%;
    }

    .carousel-prev { left: -10px; }
    .carousel-next { right: -10px; }

    .trust-bar {
        padding: 24px 20px;
    }

    .trust-item {
        width: 50%;
        padding: 10px 16px;
    }

    .trust-divider {
        display: none;
    }
}

@media (max-width: 420px) {
    .trust-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .md-spotlight-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        border-radius: 30px;
        gap: 30px;
    }
    .md-contact-links {
        justify-content: center;
    }
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .locations-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-top: 40px;
    }

    .stat-card {
        padding: 28px 16px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .stat-card p {
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .locations-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        text-align: center;
        gap: 0;
    }

    .nav-links li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        color: var(--dark) !important;
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    header:not(.scrolled) .logo {
        color: var(--white);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .trust-badges {
        flex-wrap: wrap;
    }

    .hero-float {
        display: none;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .service-detail-card {
        padding: 30px 20px;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}


/* ============================================================
   PRODUCTS PAGE — extracted from products.html inline <style>
   All class names are prefixed with prod-*, products-*, 
   sidebar-*, selection-*, modal-* to avoid any overlap with
   the shared stylesheet above.
   ============================================================ */

/* ---- Hero -------------------------------------------------- */
.products-page-hero {
    background: #0f172a;
    padding: 140px 0 60px;
    color: #fff;
}
.products-page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.products-page-hero p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 600px;
}

/* ---- Layout wrapper --------------------------------------- */
.products-layout {
    display: flex;
    gap: 40px;
    padding: 50px 0 80px;
    align-items: flex-start;
}

/* ---- Sidebar ---------------------------------------------- */
.products-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
}
.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}
.category-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 9px 14px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    transition: var(--transition);
    margin-bottom: 4px;
}
.category-btn:hover  { background: #ffd5e2; color: var(--primary); }
.category-btn.active { background: #ffd5e2; color: var(--primary); font-weight: 700; }

.subcategory-list {
    border-left: 2px solid #e5e7eb;
    margin-left: 14px;
    padding-left: 12px;
    margin-bottom: 6px;
    display: none;
}
.subcategory-list.open { display: block; }
.subcategory-list span {
    display: block;
    font-size: 0.78rem;
    color: #888;
    padding: 4px 0;
}

.sidebar-divider { border: none; border-top: 1px solid #e5e7eb; margin: 20px 0; }

.sidebar-help { background: #ffd5e2; border-radius: 12px; padding: 16px; }
.sidebar-help h4 { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.sidebar-help p  { font-size: 0.78rem; color: #000; margin-bottom: 12px; line-height: 1.5; }
.sidebar-help a  {
    display: block; text-align: center; padding: 8px 0;
    border: 2px solid var(--primary); border-radius: 8px;
    color: var(--primary); font-size: 0.82rem; font-weight: 600;
    text-decoration: none; transition: var(--transition);
}
.sidebar-help a:hover { background: var(--primary); color: #fff; }

/* ---- Main content area ------------------------------------ */
.products-main { flex: 1; min-width: 0; }

/* ---- Toolbar ---------------------------------------------- */
.products-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; background: #fff; padding: 16px 20px;
    border-radius: 14px; border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); margin-bottom: 24px; flex-wrap: wrap;
}
.search-wrap { position: relative; flex: 1; max-width: 300px; }
.search-wrap i {
    position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%); color: #aaa; font-size: 0.9rem;
}
.search-input {
    width: 100%; padding: 10px 14px 10px 36px;
    border: 1px solid #ddd; border-radius: 8px;
    font-family: inherit; font-size: 0.9rem; outline: none;
    transition: var(--transition); color: var(--dark);
}
.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(207,22,29,0.08);
}
.toolbar-actions { display: flex; align-items: center; gap: 10px; }
.select-all-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 16px; border: 1px solid #ddd; border-radius: 8px;
    background: transparent; cursor: pointer; font-family: inherit;
    font-size: 0.85rem; font-weight: 600; color: #555; transition: var(--transition);
}
.select-all-btn:hover { border-color: var(--primary); color: var(--primary); }
.mobile-filter-btn {
    display: none; align-items: center; gap: 7px; padding: 9px 16px;
    border: 1px solid #ddd; border-radius: 8px; background: transparent;
    cursor: pointer; font-family: inherit; font-size: 0.85rem; font-weight: 600; color: #555;
}

/* ---- Sticky selection bar --------------------------------- */
.selection-bar {
    position: sticky; top: 80px; z-index: 100;
    background: var(--primary); color: #fff;
    padding: 14px 20px; border-radius: 12px;
    display: none; align-items: center; justify-content: space-between; gap: 12px;
    box-shadow: 0 8px 30px rgba(207,22,29,0.3); margin-bottom: 20px;
    animation: selSlideDown 0.3s ease;
}
.selection-bar.visible { display: flex; }

/* Namespaced to avoid any clash with a shared slideDown keyframe */
@keyframes selSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sel-count { font-weight: 700; font-size: 0.95rem; }
.selection-bar-actions { display: flex; gap: 10px; }
.sel-request-btn {
    display: flex; align-items: center; gap: 7px; padding: 8px 18px;
    background: #fff; color: var(--primary); border: none; border-radius: 8px;
    font-family: inherit; font-size: 0.85rem; font-weight: 700;
    cursor: pointer; transition: var(--transition);
}
.sel-request-btn:hover { background: rgba(255,255,255,0.9); }
.sel-clear-btn {
    padding: 8px 14px; background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.4); border-radius: 8px;
    font-family: inherit; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
}
.sel-clear-btn:hover { background: rgba(255,255,255,0.15); }

/* ---- Products grid ---------------------------------------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.prod-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    overflow: hidden; transition: var(--transition); position: relative; cursor: pointer;
}
.prod-card:hover    { box-shadow: 0 12px 35px rgba(0,0,0,0.1); transform: translateY(-4px); }
.prod-card.selected { border: 2px solid var(--primary); box-shadow: 0 0 0 3px rgba(207,22,29,0.12); }

.prod-checkbox {
    position: absolute; top: 12px; left: 12px; z-index: 10;
    width: 22px; height: 22px; border-radius: 6px; border: 2px solid #cbd5e1;
    background: rgba(255,255,255,0.92); display: flex; align-items: center;
    justify-content: center; transition: var(--transition); cursor: pointer; flex-shrink: 0;
}
.prod-checkbox.checked { background: var(--primary); border-color: var(--primary); }
.prod-checkbox i       { color: #fff; font-size: 0.7rem; display: none; }
.prod-checkbox.checked i { display: block; }

/* NAYA */
.prod-img-wrap { overflow: hidden; background: #ffffff; }
.prod-img {
    width: 100%; aspect-ratio: 1/1; object-fit: contain;
    transition: transform 0.4s ease; display: block;
    padding: 12px;
}
.prod-card:hover .prod-img { transform: scale(1.04); }

.prod-body    { padding: 18px; }
.prod-subcat  { font-size: 0.72rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.prod-name    { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); transition: var(--transition); }
.prod-card:hover .prod-name { color: var(--primary); }
.prod-desc    {
    font-size: 0.82rem; color: #777; line-height: 1.6; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-features-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.prod-feat-tag {
    background: #ffd5e2; color: var(--primary);
    font-size: 0.68rem; font-weight: 600; padding: 3px 9px; border-radius: 20px;
}
.view-details-link {
    font-size: 0.78rem; font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ---- No results ------------------------------------------- */
.no-results {
    text-align: center; padding: 80px 20px;
    background: rgba(0,0,0,0.02); border: 2px dashed #ddd; border-radius: 16px;
}
.no-results p      { color: #888; font-size: 1.1rem; margin-bottom: 16px; }
.no-results button {
    background: none; border: none; color: var(--primary);
    font-weight: 700; cursor: pointer; font-size: 0.95rem;
    font-family: inherit; text-decoration: underline;
}

/* ---- Shared inquiry modal (used by products + product-detail) */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 20px; backdrop-filter: blur(3px);
}
.modal-backdrop.open { display: flex; }

.modal-box {
    background: #fff; border-radius: 20px; width: 100%; max-width: 520px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25); animation: prodModalIn 0.3s ease;
}
/* Single named keyframe — used by both pages */
@keyframes prodModalIn {
    from { opacity: 0; transform: scale(0.94) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header        { padding: 28px 28px 20px; border-bottom: 1px solid #f0f0f0; }
.modal-header-top    { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.modal-header h3     { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.modal-header p      { font-size: 0.88rem; color: #888; }
.modal-close-btn {
    background: #f0f0f0; border: none; border-radius: 50%;
    width: 34px; height: 34px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #555; font-size: 0.9rem; flex-shrink: 0; transition: var(--transition);
}
.modal-close-btn:hover { background: #e0e0e0; }

.modal-body          { padding: 24px 28px; }
.modal-form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-form-group    { margin-bottom: 16px; }
.modal-form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 7px; color: var(--dark);
}
.modal-form-group input,
.modal-form-group textarea {
    width: 100%; padding: 10px 13px; border: 1.5px solid #e0e0e0;
    border-radius: 9px; font-family: inherit; font-size: 0.9rem;
    outline: none; transition: var(--transition); color: var(--dark);
}
.modal-form-group input:focus,
.modal-form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(207,22,29,0.08);
}

.modal-selected-list { background: #f8f9fa; border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.modal-selected-list strong { font-size: 0.82rem; display: block; margin-bottom: 8px; color: var(--dark); }
.modal-selected-list ul {
    list-style: disc; list-style-position: inside;
    max-height: 100px; overflow-y: auto;
}
.modal-selected-list ul li {
    font-size: 0.82rem; color: #666; padding: 2px 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.modal-footer       { display: flex; gap: 12px; justify-content: flex-end; padding: 0 28px 28px; }
.modal-cancel-btn {
    padding: 11px 22px; border: 1.5px solid #ddd; border-radius: 9px;
    background: transparent; font-family: inherit; font-size: 0.9rem;
    font-weight: 600; color: #555; cursor: pointer; transition: var(--transition);
}
.modal-cancel-btn:hover { border-color: #bbb; }
.modal-submit-btn {
    display: flex; align-items: center; gap: 8px; padding: 11px 24px;
    background: var(--primary); color: #fff; border: none; border-radius: 9px;
    font-family: inherit; font-size: 0.9rem; font-weight: 700;
    cursor: pointer; transition: var(--transition);
}
.modal-submit-btn:hover    { background: var(--primary-dark); }
.modal-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Single spinner — used by both modals */
.spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
    border-radius: 50%; animation: prodSpin 0.7s linear infinite;
}
@keyframes prodSpin { to { transform: rotate(360deg); } }

/* ---- Mobile sidebar drawer -------------------------------- */
.sidebar-drawer-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1500; display: none;
}
.sidebar-drawer-backdrop.open { display: block; }
.sidebar-drawer {
    position: fixed; left: 0; top: 0; height: 100%; width: 280px;
    background: #fff; z-index: 1501; padding: 30px 24px;
    overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease;
}
.sidebar-drawer.open { transform: translateX(0); }
.drawer-close { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.drawer-close button {
    background: #f0f0f0; border: none; border-radius: 50%;
    width: 34px; height: 34px; cursor: pointer; font-size: 0.9rem; color: #555;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .products-sidebar  { display: none; }
    .mobile-filter-btn { display: flex; }
    .products-layout   { padding: 30px 0 60px; }
}
@media (max-width: 576px) {
    .products-grid   { grid-template-columns: 1fr; }
    .modal-form-row  { grid-template-columns: 1fr; }
    .search-wrap     { max-width: 100%; }
}

/* ============================================================
   PRODUCT DETAIL PAGE
   Classes prefixed pd-*, breadcrumb-*, specs-*, features-*,
   related-*, share-* — no overlap with products-page rules.
   Modal / spinner styles are SHARED with the products page
   (already defined above) — not repeated here.
   ============================================================ */

/* ---- Page shell ------------------------------------------- */
.pd-page {
    min-height: 100vh;
    background: #fff;
    padding-top: 80px;
    animation: fadeIn 0.5s ease;
}

/* ---- Breadcrumb bar --------------------------------------- */
.breadcrumb-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #888;
}
.breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover  { color: var(--primary); }
.breadcrumb .sep     { color: #ccc; }
.breadcrumb .current { color: var(--dark); font-weight: 600; }

/* ---- Back link -------------------------------------------- */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 8px 0;
    margin-bottom: 32px;
}
.back-btn:hover         { color: var(--primary); gap: 12px; }
.back-btn i             { font-size: 0.85rem; }

/* ---- Container / two-column grid -------------------------- */
.pd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}
.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* ---- Image column — GALLERY ------------------------------- */

/* Outer wrapper */
.pd-gallery { display: flex; flex-direction: column; gap: 14px; }

/* Main image area */
.pd-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    background: #ffffff;
    cursor: zoom-in;
}

.pd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* ← contain */
    padding: 16px;          /* ← thoda breathing space */
    background: #ffffff;    /* ← white background */
}

.pd-gallery-main:hover img { transform: scale(1.03); }

/* Prev / Next arrows on main image */
.pd-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.88);
    color: var(--dark);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
}
.pd-gallery-prev { left: 12px; }
.pd-gallery-next { right: 12px; }
.pd-gallery-arrow:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}
.pd-gallery-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

/* Expand (full-screen) button */
.pd-gallery-expand {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.88);
    color: var(--dark);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    backdrop-filter: blur(4px);
}
.pd-gallery-expand:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

/* Image counter badge */
.pd-gallery-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    white-space: nowrap;
}

/* Thumbnail strip */
.pd-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.pd-gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}
.pd-gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.pd-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    background: #ffffff;
}
.pd-thumb:hover {
    border-color: rgba(207,22,29,0.4);
    transform: translateY(-2px);
}
.pd-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(207,22,29,0.15);
}
.pd-thumb:hover img { transform: scale(1.08); }

/* ---- Lightbox -------------------------------------------- */
.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(0,0,0,0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: pdLbFadeIn 0.2s ease;
}
.pd-lightbox.open { display: flex; }

@keyframes pdLbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Image stage */
.pd-lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 80px);
}

.pd-lightbox-stage img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: pdLbImgIn 0.25s ease;
    display: block;
}

@keyframes pdLbImgIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

/* Close button */
.pd-lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 4010;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(6px);
}
.pd-lightbox-close:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Lightbox arrows */
.pd-lightbox-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(6px);
}
.pd-lightbox-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}
.pd-lightbox-arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    transform: scale(1);
}
.pd-lightbox-prev { margin-right: 16px; }
.pd-lightbox-next { margin-left: 16px; }

/* Counter */
.pd-lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    pointer-events: none;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 900px) {
    .pd-grid     { grid-template-columns: 1fr; gap: 40px; }
    .pd-title    { font-size: 1.9rem; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .pd-lightbox-stage { max-width: calc(100vw - 100px); }
    .pd-lightbox-prev  { margin-right: 8px; }
    .pd-lightbox-next  { margin-left: 8px; }
    .pd-lightbox-arrow { width: 38px; height: 38px; font-size: 0.85rem; }
    .pd-thumb { width: 58px; height: 58px; }
}

@media (max-width: 576px) {
    .pd-container  { padding: 30px 16px 60px; }
    .features-grid { grid-template-columns: 1fr; }
    .related-grid  { grid-template-columns: 1fr; }
    .pd-actions    { flex-direction: column; }
    .pd-inquire-btn,
    .pd-share-btn  { justify-content: center; }
}
.pd-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---- Header block ----------------------------------------- */
.pd-header-block { display: flex; flex-direction: column; gap: 10px; }
.pd-meta-row     { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pd-breadcrumb-tag {
    display: inline-block;
    background: #f0f4f8;
    color: #666;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}
.pd-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin: 8px 0 0;
}
.pd-subtitle {
    font-size: 1rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* ---- Tabs ------------------------------------------------- */
.pd-tabs {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.pd-tab-nav {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    background: #f8f9fa;
    overflow-x: auto;
    scrollbar-width: none;
}
.pd-tab-nav::-webkit-scrollbar { display: none; }

.pd-tab-btn {
    flex-shrink: 0;
    padding: 14px 22px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.pd-tab-btn i      { font-size: 0.8rem; }
.pd-tab-btn:hover  { color: var(--primary); }
.pd-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #fff;
}

/* Tab panels */
.pd-tab-panel        { display: none; padding: 24px; }
.pd-tab-panel.active { display: block; }

/* Description text */
.pd-desc-body {
    font-size: 1rem;
    color: #555;
    line-height: 1.85;
    white-space: pre-line;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.pd-desc-collapsed {
    max-height: 120px;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Read-more toggle */
.pd-readmore-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: gap 0.2s ease;
}
.pd-readmore-btn:hover { gap: 10px; }
.pd-readmore-btn i     { font-size: 0.75rem; transition: transform 0.3s ease; }

/* Remove old pd-description (replaced by pd-desc-body inside tab) */
.pd-description { display: none; }


/* ---- Action buttons --------------------------------------- */
.pd-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.pd-inquire-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.pd-inquire-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.pd-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 24px;
    background: transparent;
    color: #555;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.pd-share-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ---- Section heading inside info col ---------------------- */
.pd-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

/* ---- Specs table ------------------------------------------ */
.specs-table {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.9rem;
    border-collapse: collapse;
}
.specs-table tr              { border-bottom: 1px solid #e5e7eb; }
.specs-table tr:last-child   { border-bottom: none; }
.specs-table tr:nth-child(even) { background: #f8f9fa; }
.specs-table td {
    padding: 12px 16px;
    vertical-align: middle;
}
.specs-table td:first-child {
    font-weight: 600;
    color: #444;
    width: 38%;
    border-right: 1px solid #e5e7eb;
}
.specs-table td:last-child { color: #666; }

/* ---- Features grid ---------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
}
.feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.feature-check i { font-size: 0.6rem; color: #00a085; }

/* ---- Related products section ----------------------------- */
.related-section {
    background: #f8f9fa;
    padding: 80px 0;
    border-top: 1px solid #e5e7eb;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}
.related-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.related-card:hover img          { transform: scale(1.05); }
.related-card-body               { padding: 16px; }
.related-card-sub {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.related-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    transition: color 0.2s;
}
.related-card:hover .related-card-name { color: var(--primary); }
.related-card-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Product-not-found state ------------------------------ */
.pd-not-found {
    text-align: center;
    padding: 120px 20px;
}
.pd-not-found h2 { font-size: 2rem; margin-bottom: 12px; }
.pd-not-found p  { color: #888; margin-bottom: 24px; }

/* ---- Share / copy toast ----------------------------------- */
.share-copied {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

