/* ============================================================
   Ainety Garments - Global Stylesheet
   Version: 2026
   ============================================================ */

/* ============================================================
   1. GLOBAL RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #FAF9F7;
    color: #333;
    line-height: 1.6;
}

/* ============================================================
   2. HEADER & NAVIGATION
   ============================================================ */
header {
    background-color: #ffffff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e8e0d8;
    box-shadow: 0 2px 8px rgba(90, 61, 43, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #333333;
    letter-spacing: 3px;
}

nav {
    display: flex;
    align-items: center;
}

nav > ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

nav > ul > li {
    position: relative;
}

nav > ul > li > a {
    text-decoration: none;
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 18px;
    display: block;
    transition: all 0.3s;
    border-radius: 6px;
}

nav > ul > li > a:hover {
    color: #666666;
    background-color: #FAF9F7;
}

.dropdown { position: relative; }

.dropdown > a::after {
    content: ' ▾';
    font-size: 12px;
    margin-left: 5px;
    font-weight: normal;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(90, 61, 43, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 8px 0;
    border: 1px solid #e8e0d8;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li { list-style: none; }

.dropdown-menu a {
    text-decoration: none;
    color: #5a4a3c;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    color: #666666;
    background-color: #FAF9F7;
}

.dropdown-menu .dropdown-divider {
    height: 1px;
    background-color: #e8e0d8;
    margin: 8px 0;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #F5F3F0;
    padding: 6px 12px;
    border-radius: 4px;
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    margin-left: 8px;
    width: 180px;
}

/* ============================================================
   3. HERO CAROUSEL
   ============================================================ */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    height: 600px;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.carousel-slide:nth-child(1) { background: linear-gradient(135deg, #F5F3F0 0%, #F5F3F0 100%); }
.carousel-slide:nth-child(2) { background: linear-gradient(135deg, #F5F3F0 0%, #E8E5E0 100%); }
.carousel-slide:nth-child(3) { background: linear-gradient(135deg, #E8E5E0 0%, #DCD8D0 100%); }

.carousel-slide[style*="background-image"] {
    background-color: transparent !important;
}

.carousel-slide[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 0;
}

.carousel-slide[style*="background-image"] .carousel-content {
    position: relative;
    z-index: 1;
}

.carousel-slide[style*="background-image"] .carousel-content h1,
.carousel-slide[style*="background-image"] .carousel-content h2,
.carousel-slide[style*="background-image"] .carousel-content .carousel-features span,
.carousel-slide[style*="background-image"] .carousel-content .carousel-certifications {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.carousel-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.carousel-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #6d4c35;
    margin-bottom: 10px;
}

.carousel-content h1 {
    font-size: 64px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.carousel-content .cta-button {
    display: inline-block;
    background-color: #666666;
    color: #ffffff;
    padding: 15px 50px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background-color 0.3s;
}

.carousel-content .cta-button:hover { background-color: #9A846E; }

.carousel-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    font-size: 16px;
    color: #5a4a3c;
}

.carousel-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-certifications {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.carousel-btn {
    background-color: rgba(90, 61, 43, 0.7);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover { background-color: rgba(90, 61, 43, 0.9); }

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

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(90, 61, 43, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background-color: #333333;
    width: 30px;
    border-radius: 6px;
}

.carousel-dot:hover { background-color: rgba(90, 61, 43, 0.7); }

/* ============================================================
   4. HOMEPAGE SECTIONS
   ============================================================ */
.about-video-section {
    background-color: #ffffff;
    padding: 30px 40px 0;
    margin: 0 auto;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
}

.about-video-section::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(232, 220, 200, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.about-video-section::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(232, 220, 200, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.about-video-content {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.video-left { flex: 0 0 520px; }

.video-left h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 25px;
}

.about-right { flex: 1; padding-top: 10px; }

.about-right .about-subtitle {
    text-align: left;
    font-size: 22px;
    color: #333333;
    margin-top: 15px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.about-right .about-content { max-width: none; }

.about-right .about-intro {
    text-align: left;
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.5;
}

.about-right p {
    text-align: left;
    color: #555;
    line-height: 1.7;
    margin: 0 0 15px;
    font-size: 14px;
}

.about-right .about-tagline {
    text-align: center;
    font-style: italic;
    color: #333333;
    font-weight: 700;
    font-size: 16px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #FAF9F7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding: 25px 0;
    border-top: 1px solid #e8e0d8;
    position: relative;
    z-index: 1;
}

.feature-item { text-align: center; }

.feature-icon {
    width: 70px; height: 70px;
    margin: 0 auto 15px;
    background-color: #FAF9F7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid #F5F3F0;
}

.feature-item p { color: #5a4a3c; font-weight: 600; font-size: 16px; }

.laptop-container { position: relative; width: 680px; }

.laptop-screen {
    background: linear-gradient(135deg, #e8e0d8 0%, #F5F3F0 100%);
    border-radius: 12px 12px 0 0;
    width: 630px; height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 8px solid #333;
    border-bottom: none;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.laptop-screen video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.laptop-base {
    width: 680px; height: 30px;
    background: linear-gradient(180deg, #a0a0a0 0%, #666 50%, #444 100%);
    border-radius: 0 0 8px 8px;
    position: relative;
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 8px;
    background: #333;
    border-radius: 4px;
}

.play-button {
    width: 80px; height: 80px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
}

/* Factory Gallery */
.factory-gallery {
    padding: 40px;
    margin: 0 auto;
    max-width: 1400px;
    background-color: #ffffff;
    border-radius: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    background-color: #F5F3F0;
    border-radius: 8px;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    color: #5a4a3c;
    font-weight: 500;
    font-size: 14px;
    overflow: hidden;
}

.gallery-item .gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; height: 100%;
    justify-content: center;
    gap: 8px;
}

.gallery-item .gallery-image-wrapper {
    position: relative;
    width: 300px; height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: #e8e0d8;
}

.gallery-item .gallery-image-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

/* Material Show */
.material-section {
    background-color: #ffffff;
    padding: 40px;
    margin: 0 auto;
    max-width: 1400px;
    border-radius: 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 40px;
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.material-item { text-align: center; overflow: hidden; }

.material-image-wrapper {
    width: 100%; height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F3F0 0%, #E8E5E0 100%);
    margin-bottom: 15px;
}

.material-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.material-image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #F5F3F0 0%, #E8E5E0 100%);
}

.material-item:hover .material-image { transform: scale(1.05); }
.material-item h4 { font-size: 18px; font-weight: 600; color: #333; }

/* Craft Show */
.craft-section {
    background-color: #ffffff;
    padding: 40px;
    margin: 20px auto 0;
    max-width: 1400px;
    border-radius: 20px;
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.craft-item { text-align: center; overflow: hidden; }

.craft-image-wrapper {
    width: 100%; height: 180px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e0d8 0%, #d4c4b0 100%);
    margin-bottom: 15px;
}

.craft-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.craft-image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #e8e0d8 0%, #d4c4b0 100%);
}

.craft-item:hover .craft-image { transform: scale(1.05); }
.craft-item h4 { font-size: 18px; font-weight: 500; color: #333; }

/* Why Choose Us */
.why-choose-us {
    background: linear-gradient(135deg, #FAF9F7 0%, #FAF9F7 100%);
    padding: 60px 40px;
    margin-top: 20px;
    position: relative;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
}

.why-choose-us h2 span { color: #2563eb; }

.why-subtitle {
    text-align: center;
    font-size: 22px;
    color: #6d6d6d;
    margin-bottom: 40px;
    font-style: italic;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-icon {
    width: 60px; height: 60px;
    background-color: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #2563eb;
    flex-shrink: 0;
}

.why-card h4 { font-size: 18px; font-weight: 700; color: #1a365d; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: #666; }

/* Stats Bar */
.stats-bar {
    background-color: #1a365d;
    margin: 40px;
    padding: 25px 40px;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item { text-align: center; color: #ffffff; display: flex; align-items: center; gap: 15px; }
.stat-icon { font-size: 36px; }
.stat-number { font-size: 36px; font-weight: 700; }
.stat-label { font-size: 14px; opacity: 0.9; }

/* Product Category (Homepage) */
.product-category {
    background: linear-gradient(135deg, #FAF9F7 0%, #FAF9F7 100%);
    padding: 50px 40px;
    text-align: center;
}

.product-category h2 {
    font-size: 36px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 3px double #555555;
    padding-bottom: 10px;
}

.category-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    font-size: 40px;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 140px;
    height: 235px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-image {
    background: linear-gradient(135deg, #FAF9F7 0%, #FAF9F7 100%);
    height: 170px;
    border-radius: 8px;
    margin-bottom: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.product-card p {
    font-size: 13px;
    color: #444;
    font-weight: 600;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* ============================================================
   5. FOOTER
   ============================================================ */
.footer-top {
    background-color: #EDE9E3;
    color: #555555;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 2fr 2fr 3fr 2fr;
    gap: 40px;
    border-bottom: 2px solid #D8D3CD;
}

.footer-middle {
    background: linear-gradient(135deg, #D7CCC8 0%, #C9BBA3 100%);
    padding: 30px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    border-bottom: 1px solid #B8A093;
}

.footer-middle-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6D4C41;
    font-size: 14px;
}

.footer-middle-icon::before {
    content: '';
    width: 8px; height: 8px;
    background-color: #666666;
    border-radius: 50%;
}

.footer-bottom {
    background-color: #D8D3CD;
    color: #555555;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #444444;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: linear-gradient(90deg, #666666, #D2691E);
    border-radius: 2px;
}

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

.footer-column li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #6D4C41;
    position: relative;
    padding-left: 15px;
}

.footer-column li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #666666;
}

.footer-column li a {
    color: #8D6E63;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-column li a:hover {
    color: #D2691E;
    padding-left: 5px;
}

.newsletter {
    background: linear-gradient(145deg, #FFF8F0, #F5EDE0);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #E6D7C8;
    box-shadow: 0 2px 8px rgba(139, 90, 43, 0.1);
}

.newsletter input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    border: 2px solid #D7CCC8;
    background-color: #FFFFFF;
    color: #555555;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter input:focus {
    outline: none;
    border-color: #666666;
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

.newsletter input::placeholder { color: #A1887F; }

.newsletter button {
    background: linear-gradient(135deg, #666666 0%, #555555 100%);
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.footer-copyright { font-size: 13px; }

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

.footer-links-bottom a {
    color: #BCAAA4;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover { color: #FFE0B2; }

/* ============================================================
   6. COMMON TAB SYSTEM (about, factory, history, faq)
   ============================================================ */
.tab-menu {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 100px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tab-menu h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8e0d8;
}

.tab-item { list-style: none; }

.tab-item a {
    display: block;
    padding: 12px 16px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 4px;
}

.tab-item a:hover { background: #FAF9F7; color: #333; }

.tab-item a.active {
    background: #e8e0d8;
    color: #333;
    font-weight: 700;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

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

.tab-content.active {
    animation: fadeIn 0.4s ease;
}

.tab-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e0d8;
}

.tab-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin: 25px 0 15px;
}

.tab-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.tab-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.tab-content li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ============================================================
   7. FLOATING CONTACT BUTTON (end.php)
   ============================================================ */
.contact-fab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.contact-fab-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #555555 0%, #333333 100%);
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px 0 0 8px;
    box-shadow: -3px 0 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    position: relative;
}

.contact-fab-trigger:hover {
    background: linear-gradient(135deg, #666666 0%, #444444 100%);
    box-shadow: -4px 0 20px rgba(0,0,0,0.25);
    padding-right: 22px;
}

.contact-fab-trigger .fab-icon { font-size: 18px; }
.contact-fab-trigger .fab-text { font-size: 14px; }

.contact-fab-trigger::after {
    content: '';
    position: absolute;
    top: 8px; right: 8px;
    width: 10px; height: 10px;
    background: #4caf50;
    border-radius: 50%;
    animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
}

.contact-fab-panel {
    position: fixed;
    right: -420px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    max-height: 80vh;
    background: #fff;
    border-radius: 12px 0 0 12px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 9998;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.contact-fab-panel.active { right: 0; }

.contact-fab-panel-header {
    background: linear-gradient(135deg, #555555 0%, #333333 100%);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

.contact-fab-panel-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.contact-fab-panel-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.contact-fab-panel-close:hover { opacity: 1; }

.contact-fab-panel-body { padding: 20px 24px; }

.contact-fab-panel-body .subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
    text-align: center;
}

.contact-fab-panel-body .source-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.contact-fab-form .fab-form-group { margin-bottom: 14px; }

.contact-fab-form .fab-form-group input,
.contact-fab-form .fab-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e8e0d8;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fafafa;
    color: #333;
}

.contact-fab-form .fab-form-group input:focus,
.contact-fab-form .fab-form-group textarea:focus {
    outline: none;
    border-color: #555555;
    box-shadow: 0 0 0 3px rgba(85,85,85,0.08);
    background: #fff;
}

.contact-fab-form .fab-form-group textarea { min-height: 80px; resize: vertical; }

.contact-fab-form .fab-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #555555 0%, #333333 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.contact-fab-form .fab-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.contact-fab-form .fab-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.contact-fab-divider {
    text-align: center;
    margin: 16px 0;
    position: relative;
    color: #aaa;
    font-size: 12px;
}

.contact-fab-divider::before,
.contact-fab-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #e0e0e0;
}
.contact-fab-divider::before { left: 0; }
.contact-fab-divider::after { right: 0; }

.contact-fab-full-link {
    display: block;
    text-align: center;
    padding: 10px;
    color: #555555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px dashed #d0d0d0;
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-fab-full-link:hover {
    background: #faf9f7;
    border-color: #555555;
    color: #333;
}

.contact-fab-success { text-align: center; padding: 30px 20px; }
.contact-fab-success .success-icon { font-size: 48px; margin-bottom: 12px; }
.contact-fab-success p { color: #555; font-size: 14px; margin: 0; }

.contact-fab-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

/* ============================================================
   8. RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1200px) {
    .about-features { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .material-grid, .craft-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .footer-middle { flex-wrap: wrap; gap: 20px; padding: 20px; }
    .about-video-content { flex-direction: column; }
    .video-left { flex: none; }
    .laptop-container { width: 100%; }
    .laptop-screen { width: 100%; max-width: 500px; height: auto; aspect-ratio: 630/460; }
    .laptop-base { width: 100%; max-width: 550px; }
}

@media (max-width: 768px) {
    header {
        padding: 12px 15px;
        flex-wrap: wrap;
    }

    .logo { font-size: 18px; letter-spacing: 2px; }
    .mobile-menu-btn { display: flex; }

    .search-bar {
        order: 3;
        width: 100%;
        margin-top: 12px;
        max-width: none;
    }

    nav {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -5px 0 20px rgba(90, 61, 43, 0.15);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    nav.active { right: 0; }

    nav > ul {
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
    }

    nav > ul > li { width: 100%; border-bottom: 1px solid #e8e0d8; }
    nav > ul > li > a { font-size: 18px; padding: 15px 10px; }

    .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #FAF9F7;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu { max-height: 500px; }
    .dropdown-menu a { padding-left: 30px; }

    .hero-carousel { height: 300px; max-width: 100%; }
    .carousel-content h1 { font-size: 40px; }
    .carousel-content h2 { font-size: 20px; }
    .carousel-features { flex-direction: column; gap: 15px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 18px; }

    .about-right .about-subtitle { font-size: 18px; margin-bottom: 20px; text-align: center; }
    .about-right .about-intro { font-size: 16px; text-align: center; }
    .about-right p { font-size: 13px; text-align: justify; }
    .about-right .about-tagline { font-size: 14px; }
    .about-features { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .feature-icon { width: 55px; height: 55px; font-size: 20px; }
    .feature-item p { font-size: 12px; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-item { height: 120px; }

    .material-section, .craft-section {
        padding: 30px 15px;
        margin: 0 auto;
        max-width: 100%;
        border-radius: 15px;
    }
    .craft-section { margin: 15px auto 0; }
    .section-title { font-size: 24px; margin-bottom: 25px; }
    .material-grid, .craft-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .material-image { height: 140px; }
    .craft-image { height: 120px; }
    .material-item h4, .craft-item h4 { font-size: 14px; }

    .why-grid { grid-template-columns: 1fr; }
    .why-choose-us { padding: 40px 15px; }
    .why-choose-us h2 { font-size: 32px; }
    .why-subtitle { font-size: 16px; }

    .product-category { padding: 40px 15px; }
    .product-category h2 { font-size: 26px; }
    .category-icons { gap: 20px; font-size: 32px; margin-bottom: 25px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card { padding: 12px; width: 120px; height: 200px; }
    .product-image { height: 140px; }
    .product-card p { font-size: 12px; }

    .footer-top { grid-template-columns: 1fr; padding: 30px 20px; }
    .footer-middle { flex-direction: column; gap: 15px; padding: 20px; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 20px; }
    .stats-bar { flex-direction: column; gap: 25px; }

    .contact-fab-trigger { padding: 10px 14px; font-size: 13px; letter-spacing: 0.5px; }
    .contact-fab-trigger .fab-icon { font-size: 16px; }
    .contact-fab-panel { width: 90vw; right: -90vw; border-radius: 12px 0 0 12px; }
    .contact-fab-panel-body { padding: 16px; }

    /* Common tab responsive */
    .tab-menu {
        width: 100% !important;
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
    }
    .tab-menu h3 { width: 100%; margin-bottom: 8px; font-size: 16px; }
    .tab-item a { font-size: 13px; padding: 8px 12px; }
}