/* CSS Variables */
:root {
    --primary: #8B7355;
    --secondary: #D2B48C;
    --accent: #A0522D;
    --light: #ffffff;
    --dark: #2F2F2F;
    --success: #28a745;
    --white: #ffffff;
    --gray: #6c757d;
    --border: #e8e8e8;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
    --sappi-green: #2E8B57;
    --sappi-light: #90EE90;
    --tan-light: #F5F5DC;
    --header-height: 72px;
}

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

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-slider {
        animation: none !important;
    }
}

/* Nuclear reset for absolutely flush header */
html {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height); /* Account for fixed header height */
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    width: 100%;
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

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

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

/* Header Styles - flush and symmetrical */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
}

/* Keep header content perfectly centered */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 20px;
}

/* Let children keep their own padding/margins where needed */
header * {
    box-sizing: inherit;
}

/* Remove extra vertical padding that caused asymmetry */
.header-container { position: relative; }

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 22px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 2px solid var(--primary);
}

.contact-btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 3px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 520px;
    color: var(--white);
    overflow: hidden;
    background: var(--dark);
    margin-top: 0;
    padding-top: 0;
    margin: 0;
    padding: 0;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    isolation: isolate;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 700ms ease, transform 800ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(105%) contrast(102%);
    transform: scale(1.05);
    transition: transform 700ms ease;
}

.hero-slide.is-active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 20px 0;
    color: var(--white);
}

.hero-slide-content h1,
.hero-slide-content h2 {
    color: var(--white) !important;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-slide-content p {
    color: rgba(255,255,255,0.9) !important;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    margin-bottom: 24px;
}

.hero-cta .btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.hero-cta .btn:hover {
    filter: brightness(0.95);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-nav:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.05); }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dots button[aria-selected="true"] { background: var(--secondary); transform: scale(1.15); }

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 2px solid var(--primary);
    font-size: 1.1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Page Header */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    text-align: center;
    margin-top: 0;
}

.page-header.content-below-header {
    padding-top: 40px;
}

.page-header-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}


/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
    margin-top: 0;
}

/* Company Hero Section */
.company-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px 0;
}

.hero-content h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Focus Areas Grid */
.focus-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.focus-card {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.focus-card:hover::before {
    transform: scaleX(1);
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.focus-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.focus-card:hover .focus-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.3);
}

.focus-card h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.focus-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* 3-Step Plan Section */
.plan-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.plan-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.3);
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.step-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.guarantee-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    margin: 25px 0;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.guarantee-badge i {
    margin-right: 8px;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 100px 0;
    background-color: var(--tan-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mission-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
}

.mission-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Sustainability Section */
.sustainability {
    padding: 100px 0;
    background: #1B5E3A;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><defs><filter id="glow"><feGaussianBlur stdDeviation="2" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g filter="url(%23glow)"><circle cx="50" cy="50" r="8" fill="rgba(255,255,255,0.08)" stroke="rgba(255,255,255,0.12)" stroke-width="1"/><circle cx="350" cy="80" r="6" fill="rgba(255,255,255,0.06)" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><circle cx="280" cy="220" r="10" fill="rgba(255,255,255,0.05)" stroke="rgba(255,255,255,0.09)" stroke-width="1"/><circle cx="120" cy="180" r="7" fill="rgba(255,255,255,0.07)" stroke="rgba(255,255,255,0.11)" stroke-width="1"/><path d="M30 120 Q60 100 90 120 Q60 140 30 120" fill="rgba(255,255,255,0.04)" stroke="rgba(255,255,255,0.08)" stroke-width="0.8"/><path d="M320 200 Q350 180 380 200 Q350 220 320 200" fill="rgba(255,255,255,0.03)" stroke="rgba(255,255,255,0.07)" stroke-width="0.8"/><path d="M200 40 Q230 20 260 40 Q230 60 200 40" fill="rgba(255,255,255,0.05)" stroke="rgba(255,255,255,0.09)" stroke-width="0.8"/><ellipse cx="180" cy="250" rx="15" ry="8" fill="rgba(255,255,255,0.04)" stroke="rgba(255,255,255,0.08)" stroke-width="0.6"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Override section title colors for sustainability section */
.sustainability .section-title h2 {
    color: var(--white) !important;
}

.sustainability .section-title h2::after {
    background: var(--white) !important;
}

.sustainability .section-title p {
    color: var(--white) !important;
}

.sustainability .section-title div span {
    color: var(--white) !important;
}

/* Ensure ALL text in sustainability section is white */
.sustainability * {
    color: var(--white) !important;
}

.sustainability .point h3 {
    color: var(--white) !important;
}

.sustainability .point p {
    color: var(--white) !important;
}

.sustainability .point-icon {
    color: var(--white) !important;
}

/* Override any inline styles */
.sustainability [style*="color"] {
    color: var(--white) !important;
}

.sustainability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.sustainability-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.point {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.point:hover {
    transform: translateY(-10px);
}

.point-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.point:hover .point-icon {
    transform: scale(1.1);
}

.point h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.point p {
    color: var(--white);
    line-height: 1.7;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--tan-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 120px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary);
}

.product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-info p {
    color: var(--gray);
    line-height: 1.7;
}

/* Specifications Carousel - Fixed Layout */
.specs-carousel-container {
    position: relative;
    margin: 30px 0;
    padding: 0 80px;
    max-width: 100%;
    overflow: hidden;
}

.specs-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.specs-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 40px;
    width: 100%;
}

.specs-carousel-track .spec-card {
    min-width: calc((100% - 80px) / 3);
    flex: 0 0 calc((100% - 80px) / 3);
    max-width: calc((100% - 80px) / 3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.carousel-btn:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.carousel-btn:disabled:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1);
}

/* Specifications Grid (fallback) */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.spec-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary);
}

.spec-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.spec-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.spec-card-body {
    padding: 30px 30px 50px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.badge-code {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.spec-card-title {
    margin: 12px 0 10px;
    color: var(--primary);
    font-size: 1.4rem;
}

.spec-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    color: var(--gray);
    font-size: 0.95rem;
}

.spec-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-meta li i {
    color: var(--primary);
}

.spec-meta li span {
    font-weight: 600;
    color: var(--dark);
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary);
}

.team-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    border: 5px solid var(--tan-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.team-member:hover .team-img {
    border-color: var(--primary);
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.team-member p {
    color: var(--gray);
    font-weight: 500;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.partner-logo {
    max-width: 250px;
    margin: 30px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* Quality & Standards Section */
.quality-standards {
    padding: 100px 0;
    background-color: var(--white);
}

.quality-content {
    margin-top: 60px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.quality-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.quality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary);
}

.quality-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.quality-card:hover .quality-icon {
    transform: scale(1.1);
}

.quality-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.quality-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.certification-badge {
    background: linear-gradient(135deg, var(--sappi-green), var(--sappi-light));
    color: var(--white);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
}

.sensitivity-features,
.quality-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--tan-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-item:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 0.9rem;
}

.quality-commitment {
    background: linear-gradient(135deg, var(--tan-light), var(--white));
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border);
}

.commitment-content h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.commitment-content p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.commitment-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.commitment-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 25px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.commitment-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.commitment-point i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 5px;
    flex-shrink: 0;
}

.commitment-point h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.commitment-point p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* DOUX SOFT Section */
.doux-soft {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.doux-soft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><defs><filter id="softGlow"><feGaussianBlur stdDeviation="3" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g filter="url(%23softGlow)"><circle cx="80" cy="60" r="12" fill="rgba(255,255,255,0.15)" stroke="rgba(255,255,255,0.2)" stroke-width="1"/><circle cx="320" cy="80" r="8" fill="rgba(255,255,255,0.12)" stroke="rgba(255,255,255,0.18)" stroke-width="1"/><circle cx="250" cy="200" r="15" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.16)" stroke-width="1"/><circle cx="120" cy="180" r="10" fill="rgba(255,255,255,0.14)" stroke="rgba(255,255,255,0.2)" stroke-width="1"/><path d="M40 140 Q70 120 100 140 Q70 160 40 140" fill="rgba(255,255,255,0.08)" stroke="rgba(255,255,255,0.12)" stroke-width="0.8"/><path d="M300 180 Q330 160 360 180 Q330 200 300 180" fill="rgba(255,255,255,0.06)" stroke="rgba(255,255,255,0.1)" stroke-width="0.8"/><path d="M180 40 Q210 20 240 40 Q210 60 180 40" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.16)" stroke-width="0.8"/><ellipse cx="200" cy="250" rx="20" ry="10" fill="rgba(255,255,255,0.08)" stroke="rgba(255,255,255,0.12)" stroke-width="0.6"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.doux-soft .section-title h2 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.doux-soft .section-title h2::after {
    background: linear-gradient(90deg, #ffffff, #f8f9ff) !important;
    box-shadow: 0 2px 8px rgba(255,255,255,0.3);
}

.doux-soft .section-title p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.doux-soft-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.doux-soft-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.doux-soft-image:hover {
    transform: translateY(-10px) scale(1.02);
}

.doux-soft-image img {
    width: 50%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    margin: 0 auto;
}

.doux-soft-image:hover img {
    transform: scale(1.05);
}

.doux-soft-info {
    color: #ffffff;
}

.doux-soft-info h3 {
    font-size: 1.6rem;
    color: #ffffff !important;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.doux-soft-info p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.doux-soft-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 0;
}

.doux-soft .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.doux-soft .feature-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.doux-soft .feature-item i {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background-color: var(--tan-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.partner-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary);
}

.partner-logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--tan-light);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.partner-card:hover .partner-logo-container {
    background-color: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.partner-info p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.partners-commitment {
    background: linear-gradient(135deg, var(--white), var(--tan-light));
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border);
    margin-top: 40px;
}

.commitment-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.commitment-text p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--tan-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-item div h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-item div p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
    transform: translateY(-2px);
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: #ffffff;
    padding: 80px 0 30px;
}

/* AGGRESSIVE: Force all footer text to be white with maximum specificity */
footer,
footer *,
footer a,
footer a:link,
footer a:visited,
footer a:hover,
footer a:active,
footer a:focus,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, footer li, footer span, footer small,
footer div, footer ul, footer li,
footer .footer-col,
footer .footer-col *,
footer .footer-col h4,
footer .footer-col ul,
footer .footer-col ul li,
footer .footer-col ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Nuclear option: Override any inherited colors */
footer * {
    color: #ffffff !important;
    text-decoration: none !important;
}

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

/* Footer logo styling */
.footer-container img {
    max-width: 400px !important;
    height: auto !important;
    filter: brightness(0) invert(1) opacity(0.9) !important;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.footer-col p {
    color: #ffffff !important;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    color: #ffffff !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: inline-block;
}

/* Ensure Quick Links are specifically white */
.footer-col ul li a,
.footer-col ul li a:visited,
.footer-col ul li a:active,
.footer-col ul li a:focus {
    color: #ffffff !important;
}

/* Force Quick Links section to be white */
.footer-col h4,
.footer-col ul,
.footer-col ul li,
.footer-col ul li a {
    color: #ffffff !important;
}

/* AGGRESSIVE: Override any tan/brown colors specifically */
footer *[style*="color"],
footer *[style*="Color"],
footer .footer-col *,
footer .footer-col h4,
footer .footer-col ul li a,
footer .footer-col ul li a:link,
footer .footer-col ul li a:visited,
footer .footer-col ul li a:hover,
footer .footer-col ul li a:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-col ul li a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.social-icons {
    display: none; /* Hidden until social media accounts are available */
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.social-icons a:hover {
    background: #ffffff !important;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: #ffffff !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Company Hero Mobile */
    .company-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
        padding: 20px 0;
    }
    
    .hero-content h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
        font-size: 1rem;
    }
    
    /* Focus Areas Mobile */
    .focus-areas {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .focus-card {
        padding: 25px 20px;
    }
    
    .focus-card h4 {
        font-size: 1.2rem;
    }
    
    .focus-card p {
        font-size: 0.9rem;
    }
    
    /* Plan Section Mobile */
    .plan-steps {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .step-card h3 {
        font-size: 1.3rem;
    }
    
    .step-card p {
        font-size: 0.9rem;
    }
    
    .sustainability-points {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Product Carousel Mobile */
    .specs-carousel-container {
        padding: 0 20px;
        margin: 20px 0;
    }

    /* Use native horizontal scroll with snap on mobile */
    .specs-carousel {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        position: relative;
        width: 100%;
    }

    .specs-carousel-track {
        display: flex;
        gap: 20px;
        width: auto;
        transform: none !important;
        transition: none !important;
        padding-bottom: 4px; /* room for iOS scrollbar */
    }

    .specs-carousel-track .spec-card {
        scroll-snap-align: center;
        flex: 0 0 calc(100% - 60px);
        max-width: calc(100% - 60px);
        min-width: calc(100% - 60px);
        height: auto;
        min-height: 400px;
        margin: 0;
    }

    .specs-carousel-track .spec-card-image {
        height: 200px;
    }

    .specs-carousel-track .spec-card-body {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .specs-carousel-track .spec-card-title {
        font-size: 1.3rem;
        margin: 10px 0 8px;
    }

    .specs-carousel-track .spec-meta {
        gap: 8px;
        font-size: 0.9rem;
    }

    .specs-carousel-track .spec-meta li {
        gap: 8px;
    }

    /* Hide arrows on mobile when using native scroll */
    .carousel-btn { display: none; }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--dark), var(--primary));
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    nav.active {
        transform: translateX(0);
    }
    
    /* Hide header logo when mobile menu is open */
    nav.active ~ .header-container .logo {
        display: none;
    }
    
    /* Alternative: Hide logo when body has nav-open class */
    body.nav-open .logo {
        display: none;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-top: 80px; /* Space for logo */
    }
    
    /* Mobile menu logo */
    nav::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        background: url('https://brimstohn.co.za/images/2.png') center/contain no-repeat;
        filter: brightness(0) invert(1) opacity(0.9) !important;
        z-index: 1001;
    }
    
    /* Mobile menu company name */
    nav::after {
        content: 'BRIMSTOHN';
        position: absolute;
        top: 110px;
        left: 50%;
        transform: translateX(-50%);
        color: #ffffff !important;
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 2px;
        z-index: 1001;
    }

    nav ul li a {
        color: #ffffff !important;
        font-size: 1.3rem;
        font-weight: 600;
        text-decoration: none !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        display: inline-block;
        padding: 10px 20px;
        border-radius: 5px;
    }
    
    nav ul li a:hover {
        color: #ffffff !important;
        transform: translateX(5px);
    }
    
    /* Override any inherited colors with maximum specificity */
    nav ul li a,
    nav ul li a:link,
    nav ul li a:visited,
    nav ul li a:hover,
    nav ul li a:active,
    nav ul li a:focus {
        color: #ffffff !important;
        text-decoration: none !important;
    }

    nav ul li a::after {
        display: none;
    }
    
    /* Ensure all mobile menu text is white like footer */
    nav,
    nav *,
    nav a,
    nav a:link,
    nav a:visited,
    nav a:hover,
    nav a:active,
    nav a:focus,
    nav ul,
    nav ul li,
    nav ul li a {
        color: #ffffff !important;
        text-decoration: none !important;
    }
    
    /* Force white color on all mobile menu elements */
    nav ul li a,
    nav ul li a:link,
    nav ul li a:visited,
    nav ul li a:hover,
    nav ul li a:active,
    nav ul li a:focus {
        color: #ffffff !important;
        text-decoration: none !important;
    }
    
    /* Nuclear option: Override any brown/tan colors */
    nav ul li a[style*="color"],
    nav ul li a[style*="Color"] {
        color: #ffffff !important;
    }
    
    /* Override any CSS variables that might be causing brown colors */
    nav ul li a {
        color: #ffffff !important;
    }
    
    /* ULTIMATE OVERRIDE - Force white with maximum specificity */
    @media (max-width: 768px) {
        nav ul li a,
        nav ul li a:link,
        nav ul li a:visited,
        nav ul li a:hover,
        nav ul li a:active,
        nav ul li a:focus,
        nav ul li a:target,
        nav ul li a:focus-visible,
        nav ul li a:focus-within {
            color: #ffffff !important;
            text-decoration: none !important;
        }
        
        /* Override any inherited colors from parent elements */
        nav ul li a * {
            color: #ffffff !important;
        }
        
        /* Override any CSS custom properties */
        nav ul li a {
            color: #ffffff !important;
            --text-color: #ffffff !important;
            --link-color: #ffffff !important;
            --primary-color: #ffffff !important;
        }
        
        /* NUCLEAR OPTION - Override everything with maximum specificity */
        body nav ul li a,
        html body nav ul li a,
        .container nav ul li a,
        header nav ul li a {
            color: #ffffff !important;
            text-decoration: none !important;
        }
        
        /* Force white on any pseudo-elements */
        nav ul li a::before,
        nav ul li a::after {
            color: #ffffff !important;
        }
        
        /* Override CSS variables specifically for mobile menu */
        nav ul li a {
            color: #ffffff !important;
            --primary: #ffffff !important;
            --accent: #ffffff !important;
            --dark: #ffffff !important;
            --gray: #ffffff !important;
        }
        
        /* Final nuclear option - override everything */
        nav ul li a {
            color: #ffffff !important;
            text-decoration: none !important;
            background: none !important;
            border: none !important;
        }
    }

    .contact-btn {
        display: none;
    }

    /* Hero Section */
    .hero {
        height: 90vh;
    }
    
    .hero-slider {
        padding-top: 20px;
        height: calc(100vh - 20px);
        min-height: 500px;
    }
    
    .hero-slide-content {
        padding: 40px 20px 20px;
        margin-top: 0;
    }
    
    .hero-slide-content h1,
    .hero-slide-content h2 {
        font-size: 2.2rem !important;
        margin-bottom: 20px;
    }
    
    .hero-slide-content p {
        font-size: 1.1rem !important;
        margin-bottom: 30px;
    }
    
    /* Hide hero navigation on mobile */
    .hero-nav {
        display: none;
    }
    
    .hero-dots {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero::after {
        width: 100%;
        background-size: 100% 100%;
        opacity: 0.8;
        filter: brightness(1.5) contrast(1.3);
    }

    /* Sections */
    .page-header, .about, .mission-vision, .sustainability, .products, .quality-standards, .partners, .team, .contact {
        padding: 80px 0;
    }

    /* Mobile: ensure white backgrounds for Products and Contact sections */
    .products,
    .contact {
        background-color: var(--white);
    }

    /* Mobile: make contact form inputs clearly identifiable */
    .contact .form-control {
        border: 2px solid var(--primary);
        background-color: var(--white);
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .sustainability-points {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .product-card {
        height: auto;
        min-height: 320px;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 25px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product-info h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .product-info p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Quality Section Mobile */
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quality-card {
        padding: 30px 20px;
    }

    .quality-commitment {
        padding: 40px 20px;
    }

    .commitment-content h3 {
        font-size: 1.8rem;
    }

    .commitment-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .commitment-point {
        padding: 20px;
    }

    /* DOUX SOFT Section Mobile */
    .doux-soft {
        padding: 40px 0;
    }

    .doux-soft-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .doux-soft-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .doux-soft .feature-item {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .doux-soft-info h3 {
        font-size: 1.4rem;
    }

    .doux-soft-info p {
        font-size: 0.95rem;
    }

    /* Partners Section Mobile */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .partner-card {
        padding: 30px 20px;
    }

    .partner-logo-container {
        height: 100px;
        padding: 15px;
    }

    .partners-commitment {
        padding: 40px 20px;
    }

    .commitment-text h3 {
        font-size: 1.6rem;
    }

    /* Mission Vision Mobile */
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mission-card {
        padding: 30px 20px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        display: none; /* Keep hidden on mobile too */
    }
    
    /* Mobile footer logo */
    .footer-container img {
        max-width: 120px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Contact Form Mobile - Restructure for mobile */
    .contact-container {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        padding: 0 20px;
    }
    
    /* Mobile: Vertical scroll layout - no side by side */
    .contact {
        display: block !important;
        flex-direction: unset !important;
        padding: 60px 0 !important;
    }
    
    .contact-info {
        order: unset !important;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .contact-form {
        order: unset !important;
        margin-top: 0 !important;
        width: 100%;
        display: block !important;
    }
    
    /* Mobile: Center contact info content */
    .contact-info h2 {
        text-align: center !important;
        font-size: 2rem !important;
        margin-bottom: 20px !important;
    }
    
    .contact-info p {
        text-align: center !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }
    
    /* Mobile: Responsive info grid - single column */
    .info-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 20px !important;
    }
    
    /* Mobile: Info items - full width */
    .info-item {
        width: 100% !important;
        padding: 20px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    
    .info-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
        margin: 0 auto !important;
    }
    
    .info-item h4 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    
    .info-item p {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    
    /* Mobile: Center business hours */
    .business-hours {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 30px !important;
        padding: 20px !important;
    }
    
    .business-hours h4 {
        justify-content: center !important;
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }

    /* Products Page Mobile - Vertical Scroll Layout */
    .product-showcase {
        display: block !important;
        margin-bottom: 60px !important;
    }
    
    .product-content {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        margin-bottom: 40px !important;
    }
    
    .product-image {
        width: 100% !important;
        margin-bottom: 30px !important;
        padding: 20px !important;
        min-height: auto !important;
    }
    
    .product-info {
        width: 100% !important;
    }
    
    .product-info h2 {
        font-size: 2rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .product-info p {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .product-highlights {
        margin-top: 20px !important;
        padding: 20px !important;
    }
    
    .product-highlights h4 {
        font-size: 1.1rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .product-variants {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    .variant-card {
        padding: 20px !important;
        text-align: center !important;
    }
    
    .variant-badge {
        font-size: 0.9rem !important;
        padding: 6px 12px !important;
        margin-bottom: 12px !important;
    }
    
    .variant-card h4 {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    
    .variant-card p {
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
    }
    
    /* Mobile: Contact form adjustments */
    .contact-form {
        padding: 25px 15px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form h3 {
        font-size: 1.6rem !important;
        margin-bottom: 25px !important;
    }

    .contact-form {
        padding: 30px 20px !important;
    }

    .contact-form h3 {
        font-size: 1.6rem !important;
        margin-bottom: 25px !important;
    }

    .form-group {
        margin-bottom: 20px !important;
    }

    .form-group label {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }

    .form-control {
        padding: 12px !important;
        font-size: 0.95rem !important;
    }

    .form-control[type="text"],
    .form-control[type="email"],
    .form-control[type="tel"] {
        width: 100% !important;
    }

    .form-control[rows="5"] {
        min-height: 100px !important;
    }

    .btn {
        padding: 15px !important;
        font-size: 1rem !important;
    }

    /* Info Grid Mobile */
    .info-grid {
        gap: 20px !important;
    }

    .info-item {
        padding: 20px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .info-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }

    .info-item h4 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .info-item p {
        font-size: 0.9rem !important;
    }

    /* Business Hours Mobile */
    .business-hours {
        padding: 25px 20px !important;
        margin-top: 30px !important;
    }

    .business-hours h4 {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Extra small screen carousel optimizations */
    .specs-carousel-container {
        padding: 0 20px;
    }

    .specs-carousel-track .spec-card {
        flex: 0 0 calc(100% - 40px);
        max-width: calc(100% - 40px);
        min-width: calc(100% - 40px);
        min-height: 380px;
    }

    .specs-carousel-track .spec-card-image {
        height: 180px;
    }

    .specs-carousel-track .spec-card-body {
        padding: 18px;
    }

    .specs-carousel-track .spec-card-title {
        font-size: 1.2rem;
    }

    .specs-carousel-track .spec-meta {
        font-size: 0.85rem;
        gap: 6px;
    }

    /* Extra Small Mobile Contact Form */
    .contact-form {
        padding: 25px 15px !important;
    }

    .contact-form h3 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }

    .form-group {
        margin-bottom: 18px !important;
    }

    .form-group label {
        font-size: 0.9rem !important;
    }

    .form-control {
        padding: 10px !important;
        font-size: 0.9rem !important;
    }

    .form-control[rows="5"] {
        min-height: 80px !important;
    }

    .btn {
        padding: 12px !important;
        font-size: 0.95rem !important;
    }

    /* Extra Small Mobile Info Items */
    .info-item {
        padding: 15px !important;
        gap: 12px !important;
    }

    .info-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }

    .info-item h4 {
        font-size: 1rem !important;
    }

    .info-item p {
        font-size: 0.85rem !important;
    }

    /* Extra Small Mobile Products Page */
    .product-showcase {
        margin-bottom: 50px !important;
    }
    
    .product-content {
        margin-bottom: 30px !important;
    }
    
    .product-image {
        padding: 15px !important;
        margin-bottom: 25px !important;
    }
    
    .product-info h2 {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }
    
    .product-info p {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }
    
    .product-highlights {
        padding: 15px !important;
        margin-top: 15px !important;
    }
    
    .product-highlights h4 {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .product-variants {
        gap: 15px !important;
        margin-top: 25px !important;
    }
    
    .variant-card {
        padding: 15px !important;
    }
    
    .variant-badge {
        font-size: 0.8rem !important;
        padding: 5px 10px !important;
        margin-bottom: 10px !important;
    }
    
    .variant-card h4 {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }
    
    .variant-card p {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }

    /* Extra Small Mobile Footer */
    .footer-container img {
        max-width: 100px !important;
    }

    .footer-col h3 {
        font-size: 1.5rem !important;
    }

    /* Extra Small Mobile Contact Page */
    .contact-container {
        display: block !important;
        grid-template-columns: none !important;
        padding: 0 15px !important;
        gap: 0 !important;
    }
    
    .contact {
        display: block !important;
        flex-direction: unset !important;
        padding: 40px 0 !important;
    }
    
    .contact-info {
        margin-bottom: 30px !important;
    }
    
    .contact-form {
        margin-top: 0 !important;
        display: block !important;
    }
    
    .contact-info h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
    
    .contact-info p {
        font-size: 0.9rem !important;
        margin-bottom: 25px !important;
    }
    
    .info-grid {
        gap: 15px !important;
    }
    
    .info-item {
        padding: 15px !important;
        gap: 12px !important;
    }
    
    .info-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
    
    .info-item h4 {
        font-size: 1rem !important;
    }
    
    .info-item p {
        font-size: 0.85rem !important;
    }
    
    .business-hours {
        padding: 15px !important;
        margin-top: 25px !important;
    }
    
    .business-hours h4 {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .contact-form {
        padding: 20px 10px !important;
    }
    
    .contact-form h3 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .about, .sustainability, .products, .team, .contact {
        padding: 60px 0;
    }

    .point, .product-card, .team-member {
        padding: 25px 20px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .btn, .contact-form {
        display: none;
    }
    
    .hero {
        height: auto;
        background: none;
        color: var(--dark);
        margin-top: 0;
    }
    
    .section-title h2::after {
        display: none;
    }
    
    .point, .product-card, .team-member {
        box-shadow: none;
        border: 1px solid var(--border);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
nav ul li a:focus {
    outline: 2px solid var(--primary) !important;
    outline-offset: 2px;
}

/* Override any browser default blue colors */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Ensure no blue appears in any interactive elements */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1) !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #8B4513;
        --secondary: #D2691E;
        --light: #ffffff;
        --dark: #000000;
    }
}

/* Ensure no blue colors appear anywhere */
* {
    border-color: inherit;
}

/* Override any potential browser default link colors */
a:not(.btn):not(.contact-btn) {
    color: var(--primary) !important;
}

a:not(.btn):not(.contact-btn):hover {
    color: var(--accent) !important;
}

/* Ensure all links use our color scheme */
a {
    color: var(--primary) !important;
}

a:hover {
    color: var(--accent) !important;
}

/* Force override any browser default colors */
* {
    color: inherit;
}

body {
    color: var(--dark) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary) !important;
}

p {
    color: var(--gray) !important;
}

/* Override any potential blue/orange browser defaults */
:root {
    --primary: #8B7355 !important;
    --secondary: #D2B48C !important;
    --accent: #A0522D !important;
    --light: #ffffff !important;
    --dark: #2F2F2F !important;
    --success: #28a745 !important;
    --white: #ffffff !important;
    --gray: #6c757d !important;
    --border: #e8e8e8 !important;
    --shadow: rgba(0, 0, 0, 0.08) !important;
    --shadow-hover: rgba(0, 0, 0, 0.12) !important;
    --sappi-green: #2E8B57 !important;
    --sappi-light: #90EE90 !important;
    --tan-light: #F5F5DC !important;
}

/* Ensure form elements don't have blue focus rings */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1) !important;
}

/* Override any browser default button colors */
button {
    border-color: var(--primary);
}

/* Ensure table borders use tan colors */
.specs-table {
    border-color: var(--border);
}

.specs-table th,
.specs-table td {
    border-color: var(--border);
}

/* Additional overrides to prevent blue/orange */
input, textarea, select, button {
    color: var(--dark) !important;
    background-color: var(--white) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1) !important;
    outline-color: var(--primary) !important;
}

/* Override any remaining browser defaults */
::placeholder {
    color: var(--gray) !important;
}

::-webkit-input-placeholder {
    color: var(--gray) !important;
}

::-moz-placeholder {
    color: var(--gray) !important;
}
