/* ============================================
   Newnarwhal B2B Website - Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary: #5B7B9A;
    --primary-dark: #4A6580;
    --primary-light: #7A9BB8;
    --accent: #C9A962;
    --accent-dark: #B89852;
    --accent-light: #DFC48A;
    --bg-light: #F8FAFB;
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-medium: #5D6D7E;
    --text-light: #8B9BAE;
    --border: #E8ECF0;
    --shadow: rgba(91, 123, 154, 0.1);
    --shadow-lg: rgba(91, 123, 154, 0.15);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px var(--shadow);
    padding: 12px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
}

.navbar:not(.scrolled) .logo-text,
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .nav-cta {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent);
}

.navbar.scrolled .nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   Page Hero (Sub-page headers)
   ============================================ */
.page-hero {
    position: relative;
    height: clamp(220px, 38vh, 340px);
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2C3E50 0%, #3A5A7C 50%, #5B7B9A 100%);
}

.page-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: #fff;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.page-hero p {
    font-size: clamp(13px, 1.5vw, 16px);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

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

/* ============================================
   Blog Section
   ============================================ */
.blogs-section {
    padding: clamp(80px, 12vh, 140px) 0;
    background: var(--bg-white);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-lg);
    border-color: transparent;
}

.blog-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-light);
}

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

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

.blog-content {
    padding: 28px;
}

.blog-date {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.blog-link:hover {
    color: var(--accent);
    gap: 12px;
}

.blog-cta {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    .page-hero {
        height: clamp(180px, 30vh, 240px);
    }
}

.nav-cta {
    background: var(--accent);
    color: var(--bg-white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 98, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.navbar:not(.scrolled) .nav-toggle span {
    background: var(--primary);
}

/* ============================================
   Hero Banner Carousel
   ============================================ */
.hero-carousel {
    position: relative;
    width: 100%;
    height: clamp(320px, 65vh, 750px);
    overflow: hidden;
    background: #1a1a2e;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1;
}

.slide.active {
    display: block;
    z-index: 2;
    animation: fadeSlideIn 0.6s ease-out;
}

@keyframes fadeSlideIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 0 8%;
    max-width: 750px;
    z-index: 3;
}

.slide-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.slide-title {
    font-size: clamp(32px, 5vw, 56px);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slide-subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 550px;
}

.slide-buttons {
    display: flex;
    gap: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 98, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 5px;
}

/* ============================================
   Section Common Styles
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(30px, 5vh, 60px);
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 8px 20px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 30px;
}

.section-title {
    font-size: clamp(32px, 4vw, 44px);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: clamp(60px, 10vh, 120px) 0;
    background: var(--bg-light);
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--accent);
    color: var(--bg-white);
    padding: 24px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.35);
}

.badge-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 13px;
    margin-top: 6px;
    opacity: 0.9;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-top: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    padding: 24px 28px;
    background: var(--bg-white);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 4px 0;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(44, 62, 80, 0.12);
    border-color: var(--accent);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    transform: scale(1.08);
}

.feature-card:hover h3 {
    color: var(--primary);
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 18px;
    color: var(--bg-white);
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: clamp(60px, 10vh, 120px) 0;
    background: var(--bg-white);
}

.product-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 8px;
}

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-group {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    background: #4A6B8A;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #3A5A7C;
}

.filter-btn.active {
    background: #2C4A6A;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow-lg);
    border-color: transparent;
}

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.15s ease;
}

/* Default: show product/SKU image, hide lifestyle */
.product-sku-img {
    opacity: 1;
    z-index: 2;
}

.product-lifestyle-img {
    opacity: 0;
    z-index: 1;
}

/* Hover / tap: switch to lifestyle image */
.product-image.show-lifestyle .product-sku-img {
    opacity: 0;
}

.product-image.show-lifestyle .product-lifestyle-img {
    opacity: 1;
}

/* Desktop hover */
@media (min-width: 769px) {
    .product-card:hover .product-sku-img {
        opacity: 0;
    }
    .product-card:hover .product-lifestyle-img {
        opacity: 1;
    }
}

/* Remove old scale effect */
.product-card:hover .product-image img {
    transform: none;
}

.product-category-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-category {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.product-id {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}

/* Mobile tap indicator */
@media (max-width: 768px) {
    .product-image::after {
        content: 'Tap to view';
        position: absolute;
        bottom: 12px;
        right: 12px;
        background: rgba(0,0,0,0.5);
        color: #fff;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 11px;
        z-index: 3;
        opacity: 0.7;
        transition: opacity 0.3s;
        pointer-events: none;
    }
    .product-image.show-lifestyle::after {
        content: 'Tap to return';
    }
}

.product-info {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

.product-desc {
    font-size: 12px;
    color: var(--text-medium);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-tag {
    font-size: 11px;
    padding: 5px 10px;
    background: var(--bg-light);
    color: var(--text-medium);
    border-radius: 6px;
    font-weight: 500;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}

.product-link:hover {
    color: var(--accent);
    gap: 12px;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: clamp(80px, 12vh, 140px) 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.service-card {
    padding: 24px 28px;
    background: var(--bg-white);
    border-radius: 14px;
    text-align: left;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 4px 0;
}

.service-card:hover::before,
.service-card:active::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(44, 62, 80, 0.12);
    border-color: var(--accent);
}

.service-card:active {
    transform: translateY(-4px) scale(0.99);
    box-shadow: 0 12px 30px rgba(44, 62, 80, 0.15);
    border-color: var(--accent-dark);
}

.service-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    transform: scale(1.08);
    border-radius: 20px;
}

.service-icon i {
    font-size: 18px;
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text-dark);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ============================================
   Certifications Section
   ============================================ */
.certifications {
    padding: clamp(80px, 12vh, 140px) 0;
    background: var(--bg-white);
}

.cert-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 40px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-width: 150px;
}

.cert-item:hover {
    transform: translateY(-8px);
    background: var(--bg-white);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon i {
    font-size: 24px;
    color: var(--bg-white);
}

.cert-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 1px;
}

/* ============================================
   Inquiry Section
   ============================================ */
.inquiry {
    padding: clamp(80px, 12vh, 140px) 0;
    background: linear-gradient(135deg, #3A5A7C 0%, #5B7B9A 50%, #4A6B8A 100%);
    position: relative;
}

.inquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.inquiry-info {
    color: var(--bg-white);
}

.inquiry-info .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
}

.inquiry-info .section-title {
    color: var(--bg-white);
    margin-bottom: 24px;
}

.inquiry .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.inquiry .section-tag {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
}

.inquiry .section-title {
    color: var(--bg-white);
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.inquiry .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.inquiry-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

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

.contact-item i {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item strong {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item span,
.contact-item a {
    font-size: 16px;
    color: var(--bg-white);
}

.contact-item a:hover {
    color: var(--accent);
}

.inquiry-form-wrapper {
    background: var(--bg-white);
    padding: clamp(30px, 5vh, 50px);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(91, 123, 154, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 16px;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #D4EDDA;
    color: #155724;
}

.form-message.error {
    display: block;
    background: #F8D7DA;
    color: #721C24;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: clamp(50px, 8vh, 80px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 55px;
}

.footer-logo span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--bg-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 16px;
    width: 20px;
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-icp {
    margin-top: 8px !important;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.35) !important;
    text-decoration: none;
    font-size: 12px !important;
    transition: color 0.2s;
}

.footer-icp a:hover {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .hero-carousel {
        height: clamp(300px, 55vh, 600px);
    }
    .slide-content {
        padding: 0 5%;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1002;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark);
        font-size: 18px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-carousel {
        height: clamp(280px, 50vh, 500px);
    }
    .slide-content {
        padding: 0 6%;
    }
    .slide-title {
        font-size: clamp(26px, 6vw, 40px);
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    .slide-subtitle {
        font-size: 15px;
        max-width: 90%;
    }
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-badge {
        right: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        gap: 20px;
    }
    
    .cert-item {
        padding: 20px 30px;
        min-width: 130px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .season-btn, .color-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    color: #fff;
    font-size: 28px;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    .whatsapp-float i {
        font-size: 24px;
    }
}

/* Sections after page-hero - unified spacing */
.why-us,
.about-story,
.products-section,
.products-preview,
.services-preview,
.stats-section,
.values-section {
    padding: clamp(80px, 12vh, 140px) 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(44, 62, 80, 0.1);
    border-color: transparent;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card h3 {
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.stat-card p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-medium);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-story {
    background: var(--bg-light);
}

.values-section {
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    padding: 32px 28px;
    background: var(--bg-white);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(44, 62, 80, 0.08);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.value-icon i {
    font-size: 20px;
    color: var(--bg-white);
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   Blog Article Page Styles
   ============================================ */
.article-section {
    padding: clamp(60px, 10vh, 100px) 0;
    background: var(--bg-white);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.article-content {
    max-width: 800px;
}

.article-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.article-date,
.article-author {
    font-size: 14px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-date i,
.article-author i {
    color: var(--accent);
    font-size: 14px;
}

.article-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-dark);
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.article-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 36px 0 16px;
}

.article-body h4 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 28px 0 12px;
}

.article-body p {
    margin-bottom: 1.5em;
    color: var(--text-dark);
}

.article-body ul,
.article-body ol {
    margin: 20px 0 24px 0;
    padding-left: 28px;
}

.article-body ul {
    list-style: none;
}

.article-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.article-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
}

.article-body ol {
    list-style: decimal;
}

.article-body ol li {
    padding-left: 8px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.article-body li.checkbox-item {
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.article-body li.checkbox-item::before {
    display: none;
}

.article-body li.checkbox-item input {
    margin-top: 6px;
    flex-shrink: 0;
}

.article-body blockquote {
    margin: 32px 0;
    padding: 20px 28px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-medium);
}

.article-body blockquote strong {
    color: var(--text-dark);
}

.article-body hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid var(--border);
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(91, 123, 154, 0.3);
    transition: all 0.3s ease;
}

.article-body a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.article-body strong {
    font-weight: 600;
    color: var(--text-dark);
}

.article-body .table-wrapper {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.article-body thead {
    background: var(--primary);
    color: white;
}

.article-body thead th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.article-body tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.article-body tbody tr:hover {
    background: var(--bg-light);
}

.article-body tbody tr:last-child {
    border-bottom: none;
}

.article-body tbody td {
    padding: 14px 18px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
}

.article-body tbody td:first-child {
    font-weight: 600;
    color: var(--primary);
}

.article-body pre {
    background: var(--text-dark);
    color: #f8f8f2;
    padding: 20px 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

.article-body code {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-tags {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.tag:hover {
    background: var(--primary);
    color: white;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
}

.sidebar-widget h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.sidebar-widget p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
}

.sidebar-link:hover {
    color: var(--accent);
    gap: 12px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-list a {
    color: var(--text-medium);
    font-size: 14px;
    text-decoration: none !important;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-list a::before {
    content: '→';
    color: var(--accent);
    font-weight: 600;
}

.sidebar-list a:hover {
    color: var(--primary);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
}

.sidebar-cta h4 {
    color: white;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive for article page */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .article-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-body h2 {
        font-size: 22px;
    }
    
    .article-body h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .article-section {
        padding: 40px 0;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}

/* Values grid mobile responsive */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 24px 20px;
    }
}

/* ============================================
   Blog Carousel (Homepage)
   ============================================ */
.blog-preview {
    padding: 80px 0;
    background: #fff;
}

.blog-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.blog-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    padding: 0 50px;
}

.blog-carousel-card {
    min-width: calc(33.333% - 16px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.blog-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-card-body {
    padding: 20px;
}

.blog-card-date {
    font-size: 13px;
    color: #888;
    display: block;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    font-size: 14px;
    color: #4A6B8A;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.blog-card-link:hover {
    gap: 10px;
    color: #2C4A6A;
}

.blog-card-link i {
    font-size: 12px;
}

.blog-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-carousel-arrow:hover {
    background: #4A6B8A;
    color: #fff;
    border-color: #4A6B8A;
}

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

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

@media (max-width: 992px) {
    .blog-carousel-card {
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .blog-carousel-card {
        min-width: calc(100% - 0px);
    }
    .blog-carousel-track {
        gap: 16px;
        padding: 0 40px;
    }
    .blog-card-image {
        height: 180px;
    }
}

/* ============================================
   Mobile Responsive Overrides (end of file for specificity)
   ============================================ */
@media (max-width: 768px) {
    /* Page Hero - smaller on mobile */
    .page-hero {
        height: clamp(180px, 30vh, 260px);
    }
    .page-hero h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    .page-hero p {
        font-size: 13px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.5;
    }

    /* Section titles - consistent sizing */
    .section-title {
        font-size: 26px !important;
        margin-bottom: 14px;
    }
    .section-tag {
        font-size: 11px;
        margin-bottom: 10px;
    }
    .section-subtitle {
        font-size: 14px;
        line-height: 1.7;
    }
    .section-header {
        margin-bottom: 36px;
    }

    /* Stats - 2x2 grid, harmonized sizing */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-card {
        padding: 24px 12px;
    }
    .stat-card h3 {
        font-size: 32px;
        margin-bottom: 6px;
    }
    .stat-card p {
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    /* Features grid - single column */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-card {
        padding: 24px 20px;
    }
    .feature-card h3 {
        font-size: 16px;
    }
    .feature-card p {
        font-size: 13px;
    }

    /* Values grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .value-card {
        padding: 20px 18px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-card {
        padding: 24px 20px;
    }

    /* About section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .about-image img {
        height: 260px;
    }
    .about-badge {
        bottom: 16px;
        right: 16px;
        padding: 16px 20px;
    }
    .badge-number {
        font-size: 28px;
    }
    .badge-text {
        font-size: 11px;
    }

    /* Products page - filter buttons wrap nicely */
    .filter-group {
        gap: 8px;
    }
    .filter-btn {
        padding: 7px 14px;
        font-size: 12px;
    }

    /* Inquiry/CTA section */
    .inquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .inquiry-info .section-title {
        font-size: 26px !important;
    }
    .inquiry-desc {
        font-size: 14px;
    }
    .inquiry-form-wrapper {
        padding: 24px 18px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand .footer-logo {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-contact-item {
        justify-content: center;
    }

    /* Buttons */
    .btn {
        padding: 11px 22px;
        font-size: 13px;
    }

    /* Container padding */
    .container {
        padding: 0 18px;
    }

    /* Section padding reduction */
    .why-us,
    .about-story,
    .products-section,
    .products-preview,
    .services-preview,
    .stats-section,
    .values-section {
        padding: 60px 0;
    }
    .inquiry {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .page-hero {
        height: clamp(160px, 28vh, 220px);
    }
    .page-hero h1 {
        font-size: 24px;
    }
    .page-hero p {
        font-size: 12px;
    }
    .section-title {
        font-size: 22px !important;
    }
    .stat-card {
        padding: 20px 10px;
    }
    .stat-card h3 {
        font-size: 26px;
    }
    .stat-card p {
        font-size: 10px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .container {
        padding: 0 14px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* ============================================
   Homepage Mobile Fixes
   ============================================ */
@media (max-width: 768px) {
    /* Hero Banner - center content, compact on mobile */
    .hero-carousel {
        height: clamp(220px, 42vh, 360px);
    }
    .slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 20px;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    .slide-tag {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }
    .slide-title {
        font-size: 24px;
        line-height: 1.15;
        margin-bottom: 10px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    .slide-subtitle {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 16px;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .slide-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .slide-buttons .btn {
        padding: 9px 18px;
        font-size: 11px;
        white-space: nowrap;
    }
    .slide-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 100%);
    }

    /* Carousel arrows */
    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
    .carousel-arrow.prev { left: 8px; }
    .carousel-arrow.next { right: 8px; }

    /* Carousel dots */
    .carousel-dots {
        bottom: 12px;
    }
    .carousel-dots .dot {
        width: 8px;
        height: 8px;
    }

    /* Feature cards on mobile */
    .feature-card {
        padding: 20px 16px;
    }
    .feature-card .feature-icon {
        font-size: 20px;
    }
    .feature-card h3 {
        font-size: 15px;
    }
    .feature-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    /* Product cards on mobile */
    .product-card .product-name {
        font-size: 13px;
    }
    .product-card .product-desc {
        font-size: 11px;
        line-height: 1.5;
        -webkit-line-clamp: 2;
    }
    .product-card .product-link {
        font-size: 11px;
    }

    /* Service cards */
    .service-card h3 {
        font-size: 15px;
    }
    .service-card p {
        font-size: 12px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: clamp(200px, 40vh, 320px);
    }
    .slide-title {
        font-size: 20px;
    }
    .slide-subtitle {
        font-size: 11px;
    }
    .slide-buttons .btn {
        padding: 8px 14px;
        font-size: 10px;
    }
}
