/* =========================================
   4 STARS - PREMIUM STYLESHEET
   ========================================= */

:root {
    --primary: #0B2418; /* Dark Green */
    --primary-light: #123C28;
    --accent: #D4AF37; /* Golden */
    --accent-hover: #B8860B;
    --text-main: #222E27; /* Dark forest charcoal */
    --text-muted: #5C6B61; /* Muted forest charcoal */
    --bg-main: #FCFAF7; /* Creamy White */
    --bg-alt: #F3EFEA; /* Warm Cream */
    --white: #FFFFFF;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); /* Realistic shadow */
    border-bottom: 2px solid var(--accent); /* Logo color border */
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled .nav-container {
    padding: 0.5rem 2rem;
}

/* User requested larger logo with high visibility */
.logo img {
    height: 125px; /* Increased from 100px */
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 12px rgba(11, 36, 24, 0.14)) drop-shadow(0 1px 3px rgba(11, 36, 24, 0.1));
}

.logo img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 18px rgba(11, 36, 24, 0.2)) drop-shadow(0 2px 5px rgba(212, 175, 55, 0.2));
}

.navbar.scrolled .logo img {
    height: 70px; /* Increased from 55px */
}


.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links > a::after, .dropbtn::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links > a:hover, .dropdown:hover .dropbtn {
    color: var(--accent);
}

.nav-links > a:hover::after, .dropdown:hover .dropbtn::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1;
    top: 100%;
    left: 0;
    overflow: hidden;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.dropdown-content a::after {
    display: none; /* No underline in dropdown */
}

.dropdown-content a:hover {
    background-color: var(--bg-alt);
    color: var(--accent);
    padding-left: 25px; /* micro interaction */
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Split Hero Section */
.split-hero {
    min-height: 100vh;
    padding-top: 140px; /* Adjusted to fit content better without pushing down too much */
    padding-bottom: 3rem;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 580px 1fr; /* Increased width for larger default slider image */
    gap: 4rem; /* Reduced gap slightly for wider slider layout */
    align-items: stretch; /* Stretch items to match tallest content height */
    width: 100%;
    transition: grid-template-columns 0.8s cubic-bezier(0.4, 0, 0.2, 1), gap 0.8s ease;
}

/* Hover to expand slider and move services to 30% rounded box */
.hero-container.is-expanded {
    grid-template-columns: 70% 30%; 
    gap: 1.5rem;
}

/* Reel Slider Container */
.hero-left {
    position: relative;
    width: 100%;
    height: 100%; /* Automatically matches right-side content height */
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.reelSwiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-left .swiper-slide {
    height: 100%;
    width: 100%;
}

.hero-left .slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease-out;
}

.hero-left .swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.hero-right {
    min-width: 0; /* Prevents grid blowout */
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
}

/* On hover, make the right side a rounded box */
.hero-container.is-expanded .hero-right {
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.hero-right h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: all 0.8s ease;
}

.hero-container.is-expanded .hero-right h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-right > p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 3rem;
    transition: all 0.5s ease;
    overflow: hidden;
    max-height: 300px;
}

/* Hide paragraph on hover to save space in the 20% box */
.hero-container.is-expanded .hero-right > p {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
}

/* Services List inside Hero */
.hero-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    transition: all 0.8s ease;
}

/* Stack cards vertically in the 20% box */
.hero-container.is-expanded .hero-services-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.service-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: #fff;
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-right: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
}

.service-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

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

.service-card .arrow {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.25rem;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .arrow {
    opacity: 1;
    right: 1rem;
}

/* Process Sections */
.factories-section {
    padding: 6rem 0 2rem;
    background: var(--bg-main);
}

.text-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.process-section {
    padding: 6rem 0;
}

.alternate-bg {
    background-color: var(--bg-alt);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.process-grid.reverse .process-text {
    order: 2;
}

.process-grid.reverse .process-image {
    order: 1;
}

.section-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
}

.feature-list i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Image Wrappers with Micro-interactions */
.img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.img-accent {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-top-left-radius: 100px;
    z-index: 2;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-hero {
    padding: 160px 0 80px;
    background: var(--bg-alt);
    text-align: center;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 4rem 0;
}

.contact-info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.contact-info-card i {
    color: var(--accent);
    font-size: 1.5rem;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 70px; /* increased slightly */
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

.footer h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

/* --- Fabrics Immersive Slider Showcase --- */
.fabrics-showcase-section {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fabrics-static-overlay {
    position: absolute;
    top: 170px; /* Approximately 50px below the thinner sticky header */
    transform: none;
    right: 2rem; /* Position on the right side */
    left: auto;
    width: 250px; /* Compact width for right-side menu */
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.fabrics-static-overlay .container {
    pointer-events: auto; /* Re-enable clicks for the cards */
}

/* The Slider Area */
.fabricShowcaseSwiper {
    width: 100%;
    height: auto;
    min-height: 100vh;
    position: relative;
    z-index: 1; /* Behind the static overlay */
}

/* Common text utilities */
.text-white { color: white !important; }

/* Intro Slide Layout with s1.jpg and Gradient */
.intro-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    text-align: left;
    padding-top: calc(130px + 5vh);
    height: auto;
    min-height: 100vh;
    padding-right: 250px; /* Leave space for the right menu */
}

.intro-slide-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%; /* Covers right side */
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.intro-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark green gradient from left to transparent on the right */
    background: linear-gradient(to right, #0B2418 0%, #0B2418 35%, rgba(11, 36, 24, 0.95) 45%, rgba(11, 36, 24, 0.7) 60%, rgba(11, 36, 24, 0) 100%);
    z-index: 2;
}

.intro-slide .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.intro-slide-content {
    max-width: 650px;
    padding-left: 2rem;
}

@media (max-width: 992px) {
    .intro-slide {
        justify-content: center;
        text-align: center;
        padding-right: 0;
        padding-bottom: 160px; /* Space for the bottom menu */
    }
    .intro-slide-bg {
        width: 100%; /* Cover whole slide on mobile */
    }
    .intro-slide-overlay {
        background: linear-gradient(to bottom, rgba(11, 36, 24, 0.95) 0%, rgba(11, 36, 24, 0.8) 50%, rgba(11, 36, 24, 0.6) 100%);
    }
    .intro-slide-content {
        max-width: 100%;
        padding-left: 0;
        padding: 0 1rem;
    }
}
.fabric-cards-grid {
    display: flex;
    flex-direction: column; /* Vertical stack */
    gap: 0.8rem;
    width: 100%;
}

.smart-nav-box {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    align-items: center;
    justify-content: flex-start;
    background: #f8faff;
    padding: 0.5rem 1rem;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid transparent;
}

.smart-nav-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.smart-icon {
    font-size: 1.4rem;
    color: #3b82f6; /* Blueish tone like the reference image */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent squishing */
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    margin-right: 0.8rem;
    transition: all 0.3s ease;
}

.smart-nav-box:hover .smart-icon {
    background: #3b82f6;
    color: white;
}

.smart-info {
    text-align: left;
}

.smart-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* The Slider Area */
.fabricShowcaseSwiper {
    width: 100%;
    height: auto;
    min-height: 100vh;
    position: relative;
    z-index: 1; /* Behind the static overlay */
}

/* Common text utilities */
.text-white { color: white !important; }

/* Detail Slides */
.detail-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    padding-top: calc(130px + 5vh); 
    padding-right: 250px; /* Leave space for the right menu */
    position: relative;
    height: auto;
    min-height: 100vh;
}

.btn-back-fabrics {
    position: absolute;
    top: calc(130px + 2vh);
    left: 4rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

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

/* Centered Product Showcase */
.fabric-product-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px; /* Expanded max-width for larger showcase scale */
    margin: 0 auto;
}

.product-image-container {
    height: 450px; /* Set exactly to 450px as requested by user */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.product-png {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Optional: Slight float animation for PNGs to make it dynamic */
@keyframes productFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.swiper-slide-active .product-png {
    animation: productFloat 6s ease-in-out infinite;
}

.product-details h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-details p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Light background swiper slide contrast overrides */
.detail-slide.light-slide .product-details h3 {
    color: var(--primary);
    text-shadow: none;
}
.detail-slide.light-slide .product-details p {
    color: var(--text-main);
}
.detail-slide.light-slide .btn-back-fabrics {
    color: var(--primary);
    border-color: rgba(11, 36, 24, 0.25);
    background: rgba(11, 36, 24, 0.04);
}
.detail-slide.light-slide .btn-back-fabrics:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 1200px) {
    .fabric-nav-boxes {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    .nav-box {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .nav-box {
        width: 45%;
        height: 150px;
    }
    .btn-back-fabrics {
        top: 1rem;
        left: 1rem;
    }
    .product-image-container {
        height: 450px; /* Increased from 300px for tablet viewports */
    }
    .product-details h3 {
        font-size: 2rem;
    }
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.footer-contact i {
    font-size: 1.25rem;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Navigation Backdrop */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 400px 1fr;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }
    .hero-left {
        height: 50vh;
        max-height: 450px;
        min-height: 300px;
        order: 1; /* slider on top */
        margin-bottom: 2rem;
    }
    .hero-right {
        order: 2;
    }
    .hero-right h1 {
        font-size: 3.5rem;
    }
    .process-grid {
        gap: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 60px; /* shrink slightly on mobile but still bigger than before */
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        padding: 7rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        font-size: 1.15rem;
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .dropdown {
        width: 100%;
    }
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        background-color: transparent;
        opacity: 1;
        transform: none;
        padding: 0 0 0 1rem;
        margin-top: 0.5rem;
        border-left: 2px solid var(--accent);
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .dropdown.active .dropbtn i {
        transform: rotate(180deg);
    }
    .dropbtn i {
        transition: transform 0.3s ease;
    }
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        position: relative;
    }
    .hero-left {
        height: 40vh;
        max-height: 350px;
        min-height: 250px;
    }
    .hero-right h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    .hero-right > p {
        text-align: center;
        margin: 0 auto 2rem;
        font-size: 1rem;
    }
    .hero-services-list {
        grid-template-columns: repeat(2, 1fr); /* 2x2 Grid for better mobile UX */
        gap: 0.75rem;
    }
    .service-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 0.75rem;
    }
    .service-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
        font-size: 1.8rem;
        padding: 0.6rem;
    }
    .service-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    .service-info p {
        display: none; /* Keep it clean on mobile */
    }
    .service-card .arrow {
        display: none;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .process-grid.reverse .process-text {
        order: 1;
    }
    .process-grid.reverse .process-image {
        order: 2;
    }
    .img-wrapper img {
        height: 350px;
    }
    .footer-content {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 1rem;
    }
    .footer-logo {
        height: 50px;
        margin-bottom: 1rem;
    }
    .footer-brand p {
        font-size: 0.8rem;
    }
    .footer h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .footer-links {
        gap: 0.5rem;
    }
    .footer-links a, .footer-contact p {
        font-size: 0.78rem;
        margin-bottom: 0.5rem;
    }
    .footer-contact p {
        gap: 0.4rem;
    }
    .footer-contact i {
        font-size: 1rem;
    }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0.75rem 0;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #64748b;
        font-size: 0.75rem;
        font-weight: 500;
        gap: 0.25rem;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.5rem;
    }

    .mobile-bottom-nav .nav-item.active {
        color: var(--accent);
    }
}

/* =========================================
   FABRICS SHOWCASE RESPONSIVENESS
   ========================================= */

@media (max-width: 1200px) {
    .fabrics-static-overlay {
        width: 220px;
        right: 1rem;
    }
    .intro-slide, .detail-slide {
        padding-right: 180px;
    }
    .static-header h2 { font-size: 3rem; }
}

@media (max-width: 992px) {
    /* Tablet: Move navigation to bottom dock */
    .fabrics-static-overlay {
        position: absolute;
        top: auto;
        bottom: 1rem;
        right: 0;
        transform: none;
        width: 100%;
        padding: 0 1.5rem;
    }
    
    .fabric-cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        flex-direction: row;
    }

    .smart-nav-box {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0.75rem;
        height: auto;
    }

    .smart-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .smart-info h4 {
        font-size: 0.85rem;
    }

    .intro-slide, .detail-slide {
        padding-right: 0; 
        padding-bottom: 160px; /* Space for the bottom menu */
    }

    .btn-back-fabrics {
        left: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile: Compact 3x2 grid (3 upper, 3 lower) centered */
    .fabrics-showcase-section {
        height: auto;
        min-height: 100vh;
    }

    .fabrics-static-overlay {
        bottom: 70px;
        padding: 0 10px;
    }
    
    .fabric-cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }

    .smart-nav-box {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0.3rem;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .smart-icon {
        margin-right: 0;
        margin-bottom: 0.2rem;
        width: 20px;
        height: 20px;
        font-size: 0.9rem;
        padding: 0.15rem;
        border-radius: 5px;
    }
    
    .smart-info h4 {
        font-size: 0.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .product-image-container {
        height: 35vh; /* Increased from 25vh for mobile viewports */
        margin-bottom: 0.75rem;
    }
    
    .btn-back-fabrics {
        top: 85px;
        left: 0.8rem;
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }

    .intro-slide, .detail-slide {
        padding-top: 100px; /* Reduced top padding on mobile */
        padding-bottom: 120px; /* Reduced bottom padding */
        justify-content: center;
        height: auto;
        min-height: 100vh;
    }

    .static-header h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
    .static-header p { font-size: 0.85rem; padding: 0 1rem; line-height: 1.4; }
    .product-details h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
    .product-details p { font-size: 0.8rem; padding: 0 1rem; }
}

/* --- Glassmorphic Team Section --- */
.team-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

/* Background ambient light glowing bubbles behind glass cards */
.team-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.15); /* Gold glow */
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: rgba(11, 36, 24, 0.12); /* Dark green glow */
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
}

.team-section .container {
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
}

/* Glassmorphic card styling */
.team-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(11, 36, 24, 0.05);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 30px 60px rgba(11, 36, 24, 0.12);
}

.member-image-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-card:hover .member-image-wrapper img {
    transform: scale(1.08);
}

.member-info {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.member-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(11, 36, 24, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(11, 36, 24, 0.05);
}

.member-socials a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Responsiveness for team cards */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 5rem 0;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 450px;
        margin: 0 auto;
    }
    .member-image-wrapper {
        height: 280px;
    }
}

/* Swiper Customizations for Team Section */
.teamSwiper {
    width: 100%;
    padding: 1rem 1.5rem 4rem 1.5rem !important; /* Extra bottom padding for pagination dots */
    position: relative;
}

/* Glassmorphic Navigation Buttons */
.team-button-next,
.team-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.team-button-next::after,
.team-button-prev::after {
    font-size: 1.1rem;
    font-weight: 700;
}

.team-button-next:hover,
.team-button-prev:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.08);
}

/* Position adjustments for navigation buttons */
.team-button-next {
    right: 5px;
}

.team-button-prev {
    left: 5px;
}

/* Pagination Dots */
.team-pagination {
    bottom: 1.5rem !important;
}

.team-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--text-muted);
    opacity: 0.35;
    transition: all 0.3s ease;
}

.team-pagination .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
    width: 26px;
    border-radius: 5px;
}

/* Ensure slides have equal height in Swiper */
.teamSwiper .swiper-slide {
    height: auto !important;
    display: flex;
}

.teamSwiper .team-card {
    height: 100%;
    width: 100%;
}

/* Adjust layout space on desktop viewports */
@media (max-width: 1200px) {
    .team-button-next,
    .team-button-prev {
        display: none !important; /* Hide arrows on smaller viewports to prevent layout overflow */
    }
    .teamSwiper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* --- Sub-page Hero Headers --- */
.about-hero, .services-hero {
    padding: 160px 0 80px;
    background: var(--bg-alt);
    text-align: center;
}

.about-hero h1, .services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* --- Active Nav Items State --- */
.nav-links > a.active, 
.nav-links .dropdown.active .dropbtn {
    color: var(--accent) !important;
}

.nav-links > a.active::after, 
.nav-links .dropdown.active .dropbtn::after {
    width: 100% !important;
}

/* --- About & Core Values Cards --- */
.about-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(11, 36, 24, 0.08);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--accent);
}

.value-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(11, 36, 24, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--accent);
}

