/*
Theme Name: Tomta Furniture
Author: Antigravity
Description: Custom theme for Tomta Furniture based on Figma design.
Version: 2.0
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
    /* Light Mode Colors (Default) */
    --primary-color: #00AEEF;
    --secondary-color: #003366;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #FFFFFF;
    --light-gray: #F5F7FA;
    --border-color: #E5E7EB;
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Stack Sans Text', sans-serif;

    /* Component Colors */
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --bottom-bar-bg: #E0F7FA;
    --hero-overlay-bg: rgba(0, 174, 239, 0.92);
    --shadow-color: rgba(0, 0, 0, 0.05);
    --shadow-hover: rgba(0, 0, 0, 0.12);
}

/* Dark Mode */
body.dark-mode {
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --background-color: #0e1419;
    --light-gray: #1a2027;
    --border-color: #2d3748;

    /* Component Colors */
    --header-bg: #1a2027;
    --card-bg: #1a2027;
    --bottom-bar-bg: #0a0f14;
    --hero-overlay-bg: rgba(0, 174, 239, 0.85);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
    --secondary-color: #4a7ba7;
}

/* Dark Mode - Additional overrides for all sections */
body.dark-mode .site-footer {
    background-color: var(--light-gray);
}

body.dark-mode .footer-content {
    border-bottom-color: var(--border-color);
}

body.dark-mode .footer-nav-col a,
body.dark-mode .footer-social a {
    color: var(--text-light);
}

body.dark-mode .footer-nav-col a:hover,
body.dark-mode .footer-social a:hover {
    color: var(--primary-color);
}

body.dark-mode .footer-copyright {
    color: var(--text-light);
}

body.dark-mode .bottom-bar a {
    color: var(--text-light);
}

body.dark-mode .portfolio-page {
    background-color: var(--background-color) !important;
}

body.dark-mode .portfolio-header h1 {
    color: var(--text-color);
}

body.dark-mode .portfolio-sidebar h3 {
    color: var(--text-light);
}

body.dark-mode .portfolio-filters a {
    color: var(--text-light);
}

body.dark-mode .portfolio-item {
    background-color: var(--card-bg);
}

body.dark-mode .portfolio-info {
    background-color: var(--card-bg);
}

body.dark-mode .portfolio-info h3,
body.dark-mode .portfolio-info h3 a {
    color: var(--text-color);
}

body.dark-mode .hero-content h1 {
    color: var(--text-color);
}

body.dark-mode .hero-subtitle {
    color: var(--text-light);
}

body.dark-mode .hero-nav-arrow {
    background: var(--card-bg);
    color: var(--text-color);
}

body.dark-mode .hero-nav-arrow:hover {
    background: var(--primary-color);
    color: white;
}

body.dark-mode .product-card {
    background-color: var(--card-bg);
}

body.dark-mode .product-info h3 {
    color: var(--text-color);
}

body.dark-mode .product-description {
    color: var(--text-light);
}

body.dark-mode .stats-section {
    background-color: var(--light-gray);
}

body.dark-mode .stat-number {
    color: var(--text-color);
}

body.dark-mode .stat-label {
    color: var(--text-light);
}

body.dark-mode .inspiring-section {
    background-color: var(--background-color);
}

body.dark-mode .inspiring-content h2 {
    color: var(--text-color);
}

body.dark-mode .inspiring-content p {
    color: var(--text-light);
}

body.dark-mode .history-section {
    background-color: var(--light-gray);
}

body.dark-mode .history-content h2,
body.dark-mode .history-content h3 {
    color: #111827 !important;
}

body.dark-mode .history-content p {
    color: #111827 !important;
}

body.dark-mode .history-content {
    color: #111827;
}

body.dark-mode .clients-header h2 {
    color: #111827 !important;
}

body.dark-mode .clients-header p {
    color: #111827 !important;
}

body.dark-mode .about-page {
    background-color: var(--background-color);
}

body.dark-mode .about-hero {
    background-color: var(--light-gray);
}

body.dark-mode .about-hero h1,
body.dark-mode .about-hero p {
    color: var(--text-color);
}

body.dark-mode .about-values,
body.dark-mode .about-team {
    background-color: var(--background-color);
}

body.dark-mode .value-card,
body.dark-mode .team-card {
    background-color: var(--card-bg);
}

body.dark-mode .value-card h3,
body.dark-mode .team-card h3 {
    color: var(--text-color);
}

body.dark-mode .value-card p,
body.dark-mode .team-card p {
    color: var(--text-light);
}

body.dark-mode .placeholder-image {
    background-color: var(--border-color);
    color: var(--text-light);
}

body.dark-mode .portfolio-image {
    background-color: var(--border-color);
}

body.dark-mode .product-image {
    background-color: var(--border-color);
}

/* Additional dark mode text and background fixes */
body.dark-mode p,
body.dark-mode .product-description,
body.dark-mode .blog-card-content p {
    color: var(--text-light);
}

body.dark-mode .section-header h2,
body.dark-mode .mission-content h2,
body.dark-mode .cta-content h2 {
    color: var(--text-color);
}

body.dark-mode .section-header p,
body.dark-mode .mission-content p,
body.dark-mode .cta-content p {
    color: var(--text-light);
}

/* Dark mode for contact and additional sections */
body.dark-mode .contact-split-left,
body.dark-mode .contact-split-right {
    background-color: var(--card-bg);
}

body.dark-mode .contact-split-left h2 {
    color: var(--text-color);
}

body.dark-mode .contact-split-left p {
    color: var(--text-light);
}

body.dark-mode .timeline-year {
    background-color: var(--border-color);
    color: var(--text-light);
}

body.dark-mode .timeline-year.active {
    background-color: var(--primary-color);
    color: white;
}

body.dark-mode .timeline-nav-wrapper {
    background-color: var(--border-color);
}

body.dark-mode .contact-form-left h2,
body.dark-mode .contact-form-left p {
    color: var(--text-color);
}

body.dark-mode .about-form input,
body.dark-mode .about-form textarea {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

body.dark-mode .about-form input::placeholder,
body.dark-mode .about-form textarea::placeholder {
    color: var(--text-light);
}

body.dark-mode .section-label {
    color: var(--primary-color);
}

body.dark-mode .history-content h2,
body.dark-mode .history-content p {
    color: var(--text-color);
}

body.dark-mode .subtitle {
    color: var(--primary-color);
}

/* Smooth transitions for theme switching */
html.dark-mode,
body,
.site-header,
.top-bar,
.bottom-bar,
.hero-section,
.product-section,
.inspiring-section,
.history-section,
.portfolio-page,
.about-page,
.product-card,
.portfolio-item,
.hero-img,
.product-image,
.portfolio-image {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Apply dark mode to html element as well */
html.dark-mode {
    background-color: #0e1419;
}

html.dark-mode body {
    background-color: #0e1419;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

h1 {
    font-size: 3rem;
}

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

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    /* Rounded pill shape */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0099d6;
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

/* Header Styles */
.site-header {
    background: var(--header-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
}


.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-weight: 700;
    font-size: 1rem;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Dark Mode Toggle */
.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dark-mode-toggle {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    padding: 0;
    color: white;
}

.dark-mode-toggle:hover {
    background: #0099d6;
    transform: scale(1.05);
}

.dark-mode-toggle .toggle-icon {
    transition: transform 0.3s ease;
    display: block;
    filter: brightness(0) invert(1);
}

body.dark-mode .dark-mode-toggle {
    background: var(--primary-color);
}

.bottom-bar {
    background: var(--bottom-bar-bg);
    padding: 15px 0;
}

.bottom-bar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 3rem;
}

.bottom-bar a {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: capitalize;
}

.bottom-bar a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 60px 0 100px;
    text-align: center;
    background-color: var(--background-color);
}

.hero-content h1 {
    margin-bottom: 50px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-weight: 400;
    color: var(--text-light);
    display: block;
    margin-top: 15px;
    font-size: 1.1rem;
}

.hero-image-wrapper {
    margin-top: 30px;
    position: relative;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.placeholder-image {
    background-color: var(--border-color);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: bold;
    border-radius: 20px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 550px;
    background: url('https://placehold.co/1200x550/00AEEF/FFFFFF?text=Hero+Image') center/cover;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.01);
}

.hero-overlay-card {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background: rgba(0, 174, 239, 0.92);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    color: white;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-overlay-card:hover {
    transform: translateY(-5px);
}

.hero-overlay-card h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-overlay-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.95;
}

.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--shadow-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-nav-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-arrow.left {
    left: 30px;
}

.hero-nav-arrow.right {
    right: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inspiring Section */
.inspiring-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.inspiring-text h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 400;
}

.inspiring-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1rem;
}

.content-img {
    width: 100%;
    height: 350px;
    background: url('https://placehold.co/600x350/003366/FFFFFF?text=Workspace') center/cover;
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(90deg, #003366 0%, #005599 100%);
    padding: 60px 0;
    color: white;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: inherit;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: inherit;
}

/* Section Headers */
.section-header {
    margin-bottom: 40px;
}

.subtitle {
    color: #FF6B6B;
    /* Salmon/Red accent */
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

/* Product Grid */
.product-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 300px;
    background-color: var(--border-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.product-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(0, 174, 239, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Featured Products Carousel */
.featured-products-carousel-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px 0 40px 80px;
}

.featured-products-carousel {
    display: inline-flex;
    gap: 25px;
    animation: featuredProductsScroll 40s linear infinite;
    will-change: transform;
}

.featured-products-carousel:hover {
    animation-play-state: paused;
}

@keyframes featuredProductsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 12.5px));
    }
}

.featured-products-carousel .product-card {
    width: 280px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .featured-products-carousel-wrapper {
        padding-left: 20px;
    }
    
    .featured-products-carousel .product-card {
        width: 250px;
    }
    
    @keyframes featuredProductsScroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-50% - 12.5px));
        }
    }
    
    .featured-products-carousel {
        animation: featuredProductsScroll 30s linear infinite;
    }
}

/* History Section */
.history-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    text-align: center;
    position: relative;
}

.history-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.logo-icon-large {
    margin-bottom: 20px;
}

.history-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.history-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Contact Banner */
.contact-banner {
    background-color: var(--secondary-color);
    padding: 50px 0;
    color: white;
}

.contact-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-text h2 {
    color: white;
    margin-bottom: 5px;
}

.contact-text p {
    opacity: 0.8;
}

.btn-white {
    background-color: white;
    color: var(--secondary-color);
}

.btn-white:hover {
    background-color: var(--light-gray);
}

/* Contact Banner */
.contact-banner {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-banner .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-banner .btn-primary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* =========================================
   Portfolio Page
   ========================================= */
.portfolio-page {
    background-color: var(--light-gray);
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Mobile portfolio page padding */
@media (max-width: 768px) {
    .portfolio-page {
        padding-bottom: 40px;
    }
}

.portfolio-header {
    padding: 80px 0 50px;
}

.portfolio-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

/* Mobile portfolio header */
@media (max-width: 768px) {
    .portfolio-header {
        padding: 30px 0 0;
    }

    .portfolio-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
}

.portfolio-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Sidebar */
.portfolio-sidebar {
    width: 180px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.portfolio-sidebar h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* Mobile filter tabs */
@media (max-width: 768px) {
    .portfolio-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    .portfolio-sidebar h3 {
        font-size: 0.7rem;
        margin-bottom: 15px;
        padding: 0;
        color: var(--text-light);
    }
}

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

.portfolio-filters li {
    margin-bottom: 18px;
}

/* Mobile horizontal filters */
@media (max-width: 768px) {
    .portfolio-filters {
        display: flex;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--border-color);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .portfolio-filters li {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

.portfolio-filters a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.portfolio-filters a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-filters a:hover,
.portfolio-filters a.active {
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 15px;
}

.portfolio-filters a:hover::before,
.portfolio-filters a.active::before {
    opacity: 1;
}

/* Mobile filter tabs styling */
@media (max-width: 768px) {
    .portfolio-filters a {
        padding: 12px 16px;
        font-size: 0.9rem;
        color: var(--text-light);
        font-weight: 500;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
    }

    .portfolio-filters a::before {
        display: none;
    }

    .portfolio-filters a:hover,
    .portfolio-filters a.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        padding-left: 16px;
        font-weight: 600;
    }
}

/* Grid */
.portfolio-content {
    flex-grow: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 80px;
}

.portfolio-item {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

/* Mobile portfolio items */
@media (max-width: 768px) {
    .portfolio-item {
        border-radius: 0 !important;
        box-shadow: none;
        margin: 0;
        overflow: hidden;
    }

    .portfolio-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px var(--shadow-hover);
    }
}

.portfolio-image {
    height: 350px;
    background-color: var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Mobile portfolio images */
@media (max-width: 768px) {
    .portfolio-image {
        height: 180px;
        border-radius: 0;
    }
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.08);
}

.portfolio-info {
    padding: 30px;
    background: var(--card-bg);
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Mobile portfolio info */
@media (max-width: 768px) {
    .portfolio-info {
        padding: 12px;
        border-radius: 0;
    }

    .portfolio-info h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}    .portfolio-info h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

.portfolio-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-info h3 a {
    color: var(--primary-color);
}

/* Pagination */
.portfolio-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.portfolio-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.portfolio-pagination a,
.portfolio-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.portfolio-pagination a:hover {
    background-color: rgba(0, 174, 239, 0.1);
    color: var(--primary-color);
}

.portfolio-pagination .current {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.portfolio-pagination .dots {
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-layout {
        flex-direction: column;
    }

    .portfolio-sidebar {
        width: 100%;
        margin-bottom: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        margin-bottom: 0;
    }
}

/* =========================================
   About Page
   ========================================= */
.about-page {
    background-color: var(--background-color);
}

/* About Hero */
.about-hero {
    background: linear-gradient(135deg, #00AEEF 0%, #003366 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 400;
}

/* History Section */
.about-history {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.history-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.history-content .section-label {
    color: #FF6B6B;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 15px;
}

.history-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.history-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Mission Section */
.about-mission {
    padding: 100px 0;
    background-color: var(--background-color);
}

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

.mission-content .section-label {
    color: #FF6B6B;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 15px;
}

.mission-content h2 {
    font-size: 2.8rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.mission-content p {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Values Section */
.about-values {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about-values .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-values .section-label {
    color: #FF6B6B;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 15px;
}

.about-values .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.value-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.value-icon {
    margin-bottom: 25px;
}

.value-icon svg {
    width: 48px;
    height: 48px;
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Stats Section */
.about-stats {
    padding: 80px 0;
    background: linear-gradient(90deg, #003366 0%, #005599 100%);
    color: white;
}

.about-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.about-stats .stat-item {
    display: flex;
    flex-direction: column;
}

.about-stats .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.about-stats .stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.about-cta {
    padding: 100px 0;
    background-color: var(--background-color);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .history-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .about-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* =========================================
   Blog Page
   ========================================= */
.blog-page {
    background-color: var(--light-gray);
}

/* Blog Header */
.blog-header {
    background-color: var(--background-color);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

/* Blog Content */
.blog-content {
    padding: 80px 0;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--border-color);
}

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

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

.blog-card-content {
    padding: 30px;
}

.blog-card-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

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

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.blog-pagination .page-numbers:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.blog-pagination .page-numbers.current {
    background: var(--primary-color);
    color: white;
}

.blog-pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .blog-card {
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .blog-card:hover {
        transform: none;
        box-shadow: none;
    }

    .blog-card-image {
        height: 140px;
        border-radius: 8px;
        overflow: hidden;
    }

    .blog-card-content {
        padding: 12px 0;
    }

    .blog-card-content h3 {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* =========================================
   Homepage Redesign - Updated Styles
   ========================================= */

/* Hero Section - Updated */
.hero-section h1 {
    font-size: 3rem;
    text-align: center;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 40px;
}

/* Remove overlay card from hero */
.hero-overlay-card {
    display: none;
}

/* Inspiring Section - Updated Button */
.inspiring-text .btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.inspiring-text .btn-primary:hover {
    background: #0099d6;
    transform: translateY(-2px);
}

/* Stats Section - 3 Columns */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.stat-number sup {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: lowercase;
}

/* Product Grid - 4 Columns */
.product-grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px;
}

/* Blue Product Tag */
.product-tag-blue {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    background-color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
}

/* History Section - Updated */
.history-section {
    background: url('https://placehold.co/1920x600/E8E8E8/666666?text=Factory+Background') center/cover;
    position: relative;
    padding: 120px 0;
}

.history-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px 60px;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.history-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 400;
}

.history-content p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.history-content .logo-icon-large {
    display: none;
}

/* Portfolio Home Section */
.portfolio-home-section {
    background-color: var(--light-gray);
}

.portfolio-home-section .product-info h3 {
    font-size: 1rem;
}

/* Contact Banner Split Layout */
.contact-banner-split {
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
}

.contact-split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
    width: 100%;
}

.contact-split-left {
    background: var(--primary-color);
    color: white;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-split-left h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 400;
}

.contact-split-left p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-split-left .btn-primary {
    background: white;
    color: var(--primary-color);
    padding: 14px 35px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    align-self: flex-start;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-split-left .btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.contact-split-right {
    background: var(--border-color);
    overflow: hidden;
    position: relative;
}

.contact-split-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: white;
}

.clients-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.clients-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 400;
}

.clients-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Clients Carousel Wrapper */
.clients-carousel-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px 0;
}

.clients-carousel {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: clientsScroll 30s linear infinite;
}

.clients-carousel:hover {
    animation-play-state: paused;
}

@keyframes clientsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .clients-carousel {
        gap: 50px;
    }
    
    .client-logo {
        min-width: 100px;
    }
}

/* Get in Touch Section */
.get-in-touch-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background-image: url('https://placehold.co/1920x400/2c3e50/FFFFFF?text=Meeting+Room');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
}

.get-in-touch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.85);
}

.get-in-touch-section .container {
    position: relative;
    z-index: 1;
}

.get-in-touch-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 400;
}

.get-in-touch-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contact-split-content {
        grid-template-columns: 1fr;
    }

    .contact-split-left {
        padding: 60px 40px;
    }

    .contact-split-right {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-grid-4 {
        grid-template-columns: 1fr !important;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-split-left {
        padding: 50px 30px;
    }
}

/* Contact Banner Split - Additional Fixes */
.contact-banner-split .container {
    max-width: none !important;
    padding: 0 !important;
}

.contact-split-content {
    max-width: none !important;
}

@media (min-width: 769px) {
    .contact-split-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
}

/* Portfolio Scrollable Section */
.portfolio-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    padding-bottom: 20px;
}

.portfolio-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.portfolio-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.portfolio-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.portfolio-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0099d6;
}

.portfolio-scroll-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(280px, 1fr));
    gap: 25px;
    width: max-content;
}

.portfolio-scroll-grid .product-card {
    width: 280px;
}

@media (max-width: 768px) {
    .portfolio-scroll-grid {
        grid-template-columns: repeat(8, minmax(250px, 1fr));
    }

    .portfolio-scroll-grid .product-card {
        width: 250px;
    }
}

/* Portfolio Full Width */
.portfolio-home-section .portfolio-scroll-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 80px;
}

@media (max-width: 768px) {
    .portfolio-home-section .portfolio-scroll-wrapper {
        padding-left: 20px;
    }
}

/* Hide Scrollbar and Add Auto-Scroll */
.portfolio-scroll-wrapper {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.portfolio-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Auto-scroll animation */
@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.portfolio-scroll-grid {
    animation: autoScroll 40s linear infinite;
}

.portfolio-scroll-grid:hover {
    animation-play-state: paused;
}

/* Duplicate items for seamless loop */
.portfolio-scroll-wrapper {
    overflow: hidden !important;
}

/* Enable manual scrolling while auto-scrolling */
.portfolio-scroll-wrapper {
    overflow-x: auto !important;
    cursor: grab;
}

.portfolio-scroll-wrapper:active {
    cursor: grabbing;
}

/* Update grid columns for duplicated items */
.portfolio-scroll-grid {
    grid-template-columns: repeat(16, minmax(280px, 1fr));
}

/* =========================================
   Footer - Updated Design
   ========================================= */
.site-footer {
    background-color: var(--light-gray);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav-col a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav-col a:hover {
    color: var(--primary-color);
}

.footer-right {
    text-align: right;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}

.footer-logo img {
    height: 48px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-logo svg {
    width: 48px;
    height: 48px;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.footer-social a {
    color: var(--text-light);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Hide mobile footer elements on desktop */
.footer-bottom-mobile {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 30px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .footer-nav {
        flex-direction: row;
        gap: 40px;
        width: 100%;
    }

    .footer-nav-col {
        gap: 12px;
        text-align: left;
    }

    .footer-nav-col a {
        font-size: 0.9rem;
    }

    .footer-right {
        display: none; /* Hide on mobile, will show differently below */
    }

    .footer-logo {
        justify-content: flex-start;
    }

    /* Mobile footer bottom section */
    .footer-bottom-mobile {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
    }

    .footer-logo-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-logo-mobile img {
        height: 48px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
    }

    .footer-logo-mobile svg {
        width: 48px;
        height: 48px;
    }

    .footer-copyright-mobile {
        color: var(--text-light);
        font-size: 0.75rem;
        line-height: 1.4;
        margin: 0;
        max-width: 180px;
    }

    .footer-social {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .footer-social a svg {
        width: 24px;
        height: 24px;
    }
}

/* Desktop - hide mobile-only elements */
@media (min-width: 769px) {
    .footer-bottom-mobile {
        display: none;
    }
    
    .footer-social-desktop {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .footer-social-desktop {
        display: none !important;
    }
}

/* Portfolio Page - Updated Styling - These are overrides for responsive */
/* Main portfolio styles are defined earlier in the file */

.portfolio-filters a {
    font-size: 0.95rem;
}

.portfolio-filters a.active {
    color: var(--primary-color);
    font-weight: 400;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.portfolio-image {
    height: 320px;
    background-color: var(--border-color);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0;
}

.portfolio-info h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.portfolio-pagination {
    text-align: center;
    margin-top: 60px;
}

.portfolio-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.portfolio-pagination .page-numbers.current {
    color: var(--primary-color);
    font-weight: 600;
}

.portfolio-pagination .page-numbers:hover {
    color: var(--primary-color);
}

/* =========================================
    .about-intro h1 {
        font-size: 1.8rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-nav {
        flex-wrap: wrap;
    }
    
    .achievements-grid,
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-card {
        padding: 40px 30px;
    }
}

/* =========================================
   About Us Page - Fixed CSS
   ========================================= */

/* Reset About Page */
.about-page {
    background: white;
}

/* Hero Image */
.about-hero-image {
    padding-top: 40px;
    width: 100vw; /* full viewport width */
    margin-left: calc(-50vw + 50%);
}

.hero-image-wrapper {
    border-radius: 16px; /* slightly tighter corners */
    overflow: hidden;
    max-height: 520px;  /* taller hero */
}

.hero-image-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* Intro Section */
.about-intro {
    padding: 60px 0;
    text-align: center;
}

.inspiring-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    max-width: 850px;
    margin: 0 auto;
}

/* Values Grid */
.about-values {
    padding: 60px 0;
    background: #e3f7ff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.value-icon {
    margin-bottom: 15px;
}

.value-icon svg {
    stroke: #00AEEF;
}

.value-item h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.value-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Timeline */
.about-timeline {
    padding: 60px 0;
    background: var(--light-gray);
}

.timeline-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.timeline-year {
    padding: 10px 24px;
    border: none;
    background: var(--border-color);
    color: var(--text-light);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.timeline-year.active {
    background: var(--primary-color);
    color: white;
}

.timeline-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-image img {
    width: 100%;
    border-radius: 8px;
}

.timeline-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-text h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.timeline-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Achievements */
.about-achievements {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.about-achievements h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 50px;
    font-weight: 400;
}

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

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

.achievement-item img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

.achievement-item h4 {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 400;
}

/* Certificates */
.about-certificates {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.about-certificates h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 50px;
    font-weight: 400;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cert-logo img {
    max-width: 120px;
    height: auto;
}

body.dark-mode .about-certificates {
    background: var(--background-color);
}

body.dark-mode .about-achievements {
    background: var(--background-color);
}

body.dark-mode .about-contact-form {
    background: var(--background-color);
}

/* Mission with Image */
.about-mission-image {
    padding: 0;
}

.mission-image-bg {
    background: url('images/about-us/mission.png') center/cover;
    padding: 300px 0;
    position: relative;
}

.mission-card {
    background: var(--primary-color);
    color: #000000;
    padding: 40px 50px;
    border-radius: 12px;
    max-width: 750px; /* wider */
    opacity: 0.85;   /* reduce opacity */
}

.mission-card p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #000000;
}

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

.mission-card strong {
    font-weight: 600;
}

body.dark-mode .mission-card {
    color: white;
}

body.dark-mode .mission-card p {
    color: white;
}

/* Contact Form */
.about-contact-form {
    padding: 60px 0;
    background: var(--light-gray);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-form-left h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.contact-location {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.5;
}

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

.about-form label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
}

.about-form input,
.about-form select,
.about-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
}

.about-form input:focus,
.about-form select:focus,
.about-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.about-form button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.about-form button:hover {
    background: #0099d6;
}

/* Responsive */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-intro h1 {
        font-size: 1.6rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .timeline-nav {
        flex-wrap: wrap;
        gap: 8px;
    }

    .timeline-year {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

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

/* Timeline Transition Effects */
.timeline-image img,
.timeline-text h2,
.timeline-text p {
    transition: opacity 0.3s ease;
}

/* Timeline Navigation Wrapper - Large Pill */
.timeline-nav-wrapper {
    background: var(--border-color);
    border-radius: 50px;
    padding: 8px;
    display: inline-block;
    margin: 0 auto 60px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.about-timeline .timeline-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.about-timeline .timeline-year {
    padding: 10px 24px;
    background: transparent;
    border-radius: 20px;
}

.about-timeline .timeline-year.active {
    background: var(--primary-color);
    color: white;
}

.about-timeline .container {
    text-align: center;
}

/* =========================================
   MOBILE RESPONSIVE STYLES
   ========================================= */

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active {
    opacity: 0;
    pointer-events: none;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Slide-out Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--header-bg);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px var(--shadow-color);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-nav {
    padding: 20px 0;
}

.mobile-nav ul,
.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 0;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--light-gray);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Mobile menu section header */
.menu-section-header {
    padding: 20px 20px 10px 20px;
    margin-top: 10px;
}

.menu-section-header span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

/* Indented menu items under section */
.menu-item-indented a {
    padding-left: 40px;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Hide desktop-only elements on mobile */
.desktop-only {
    display: inline-block;
}

/* =========================================
   MEDIA QUERIES
   ========================================= */

/* Tablet & Mobile */
@media (max-width: 768px) {

    /* Show hamburger menu */
    .hamburger-menu {
        display: flex;
    }

    /* Hide desktop navigation */
    .main-nav {
        display: none;
    }

    /* Hide desktop "Reach out" button */
    .desktop-only {
        display: none !important;
    }

    /* Adjust top bar layout */
    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .logo {
        flex: 1;
        text-align: center;
    }

    .header-cta {
        gap: 0;
    }

    /* Dark mode toggle - keep on right */
    .dark-mode-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Bottom bar - hide on mobile */
    .bottom-bar {
        display: none;
    }

    /* Hero Section */
    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

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

    .hero-img {
        height: 350px;
    }

    .hero-overlay-card {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        padding: 20px;
    }

    .hero-overlay-card h4 {
        font-size: 1.2rem;
    }

    .hero-nav-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-nav-arrow.left {
        left: 15px;
    }

    .hero-nav-arrow.right {
        right: 15px;
    }

    /* Inspiring Section */
    .inspiring-section {
        padding: 50px 0;
    }

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

    .inspiring-text h2 {
        font-size: 1.5rem;
    }

    .content-img {
        height: 250px;
    }

    /* Stats Banner */
    .stats-banner {
        padding: 40px 0;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Product Section */
    .product-section {
        padding: 50px 0;
    }

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

    .product-image {
        height: 200px;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* History Section */
    .history-section {
        padding: 60px 0;
    }

    .history-content {
        padding: 40px 20px;
    }

    .history-content h2 {
        font-size: 1.8rem;
    }

    /* Contact Banner */
    .contact-banner {
        padding: 50px 0;
    }

    .contact-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-banner h2 {
        font-size: 1.8rem;
    }

    /* Portfolio Page */
    .portfolio-layout {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-sidebar {
        width: 100%;
        position: static;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        margin-bottom: 0;
    }

    .portfolio-image {
        height: 250px;
    }

    /* About Page */
    .about-hero {
        padding: 50px 0;
    }

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

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

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile Only */
@media (max-width: 480px) {

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

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

    /* Hero Section */
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-img {
        height: 250px;
        border-radius: 10px;
    }

    .hero-overlay-card {
        padding: 15px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .hero-overlay-card h4 {
        font-size: 1rem;
    }

    .hero-overlay-card p {
        font-size: 0.85rem;
    }

    /* Product Grid - Single Column */
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 250px;
    }

    /* Stats */
    .stat-number {
        font-size: 1.8rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* Logo */
    .logo a {
        font-size: 1.5rem;
    }

    .custom-logo {
        max-height: 40px;
    }

    /* Bottom bar text */
    .bottom-bar a {
        font-size: 0.85rem;
    }

    /* Portfolio */
    .portfolio-header h1 {
        font-size: 1.8rem;
    }

    .portfolio-image {
        height: 200px;
    }

    /* About Page */
    .about-hero h1 {
        font-size: 1.5rem;
    }

    .about-hero p {
        font-size: 0.95rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-img {
        height: 300px;
    }

    .mobile-menu {
        width: 250px;
    }
}

/* ============================================================
   Our Collection Page
   ============================================================ */

.collection-page {
    background-color: var(--light-gray);
    padding-bottom: 80px;
    min-height: 100vh;
}

.collection-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding-top: 60px;
}

/* Sidebar */
.collection-sidebar {
    width: 160px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.collection-sidebar h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.collection-category-filters {
    list-style: none;
    padding: 0;
    margin: 0;
}

.collection-category-filters li {
    margin-bottom: 18px;
}

.collection-category-filters a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.collection-category-filters a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-category-filters a:hover,
.collection-category-filters a.active {
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 15px;
}

.collection-category-filters a:hover::before,
.collection-category-filters a.active::before {
    opacity: 1;
}

/* Main content area */
.collection-content {
    flex-grow: 1;
}

.collection-header {
    margin-bottom: 24px;
}

.collection-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

/* Pill type filters — matches bottom-bar nav style */
.collection-type-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 3rem;
    margin-bottom: 36px;
    background: var(--bottom-bar-bg);
    padding: 15px 24px;
    border-radius: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.collection-type-filters::-webkit-scrollbar {
    display: none;
}

.collection-pill {
    display: inline-block;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text-light);
    transition: color 0.2s ease;
    white-space: nowrap;
    text-transform: capitalize;
}

.collection-pill:hover {
    color: var(--primary-color);
}

.collection-pill.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Product grid — 3 columns */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.collection-item {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px var(--shadow-hover);
}

.collection-item-image {
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-color);
}

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

.collection-item:hover .collection-item-image img {
    transform: scale(1.06);
}

.collection-item-info {
    padding: 16px 20px 20px;
}

.collection-item-info h3 {
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    color: var(--text-color);
    line-height: 1.4;
}

.collection-item-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.collection-item:hover .collection-item-info h3 a {
    color: var(--primary-color);
}

/* Dark mode */
body.dark-mode .collection-page {
    background-color: var(--background-color) !important;
}

body.dark-mode .collection-sidebar h3 {
    color: var(--text-light);
}

body.dark-mode .collection-category-filters a {
    color: var(--text-light);
}

body.dark-mode .collection-item {
    background: var(--card-bg);
}

body.dark-mode .collection-type-filters {
    background: var(--bottom-bar-bg);
}

body.dark-mode .collection-pill {
    color: var(--text-light);
    background: transparent;
    border: none;
}

body.dark-mode .collection-pill:hover {
    color: var(--primary-color);
}

body.dark-mode .collection-pill.active {
    color: var(--primary-color);
    background: transparent;
}

/* Responsive */
@media (max-width: 1024px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .collection-layout {
        flex-direction: column;
        gap: 20px;
        padding-top: 30px;
    }

    .collection-sidebar {
        width: 100%;
        position: static;
    }

    .collection-category-filters {
        display: flex;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--border-color);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .collection-category-filters::-webkit-scrollbar {
        display: none;
    }

    .collection-category-filters li {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .collection-category-filters a {
        padding: 12px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .collection-category-filters a::before {
        display: none;
    }

    .collection-category-filters a:hover,
    .collection-category-filters a.active {
        padding-left: 16px;
        border-bottom: 2px solid var(--primary-color);
    }

    .collection-header h1 {
        font-size: 1.8rem;
    }

    .collection-type-filters {
        gap: 8px;
    }

    .collection-type-filters {
        gap: 1.5rem;
        padding: 12px 16px;
        justify-content: flex-start;
    }

    .collection-pill {
        font-size: 0.85rem;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .collection-item-image {
        height: 180px;
    }
}

/* ============================================================
   Single Collection Item (product detail page)
   ============================================================ */

.collection-single-page {
    background-color: var(--background-color);
    padding-bottom: 80px;
    min-height: 100vh;
}

.collection-single-breadcrumb {
    padding: 30px 0 20px;
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.collection-single-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.collection-single-breadcrumb a:hover {
    color: var(--primary-color);
}

.collection-single-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    padding-bottom: 60px;
}

.collection-single-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-gray);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collection-single-details {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.collection-single-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
}

.collection-single-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.collection-single-meta-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    font-weight: 600;
}

.collection-single-tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1.5px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.collection-single-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.collection-single-excerpt,
.collection-single-content {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.collection-single-back {
    align-self: flex-start;
    margin-top: 10px;
    color: var(--text-color);
    border: 1.5px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: inline-block;
}

.collection-single-back:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Dark mode */
body.dark-mode .collection-single-page {
    background-color: var(--background-color);
}

body.dark-mode .collection-single-image {
    background: var(--light-gray);
}

body.dark-mode .collection-single-title {
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .collection-single-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .collection-single-title {
        font-size: 1.5rem;
    }
}

/* ── Colour Swatches ── */
.collection-single-colors {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.collection-single-swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    padding: 0;
    outline: none;
}

.color-swatch:hover,
.color-swatch.active {
    transform: scale(1.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px var(--primary-color);
}

/* ── Inquire button ── */
.collection-inquire-btn {
    display: inline-block;
    padding: 12px 36px;
    font-size: 1rem;
    font-weight: 600;
}

/* ── Key Feature Badges ── */
.collection-single-badges {
    display: flex;
    gap: 20px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.collection-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 120px;
}

.collection-badge-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.collection-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.collection-badge-text strong {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
}

.collection-badge-text span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ── Tabs ── */
.collection-tabs {
    margin-top: 48px;
}

.collection-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
}

.collection-tab-btn {
    background: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: 999px;
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.collection-tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.collection-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.collection-tab-panel {
    display: none;
    padding: 28px 0;
}

.collection-tab-panel.active {
    display: block;
}

.collection-tab-content {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 780px;
}

.collection-tab-content p {
    margin-bottom: 12px;
}

/* ── Feature Highlight Cards ── */
.collection-features-section {
    margin-top: 56px;
}

.collection-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.collection-feature-card {
    text-align: center;
}

.collection-feature-image {
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-gray);
    margin-bottom: 18px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collection-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px;
}

.collection-feature-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ── Related Products ── */
.collection-related-section {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.collection-related-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 28px;
}

.collection-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.collection-related-item {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.25s ease;
}

.collection-related-item:hover {
    transform: translateY(-5px);
}

.collection-related-image {
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-gray);
    aspect-ratio: 1 / 1;
    margin-bottom: 12px;
}

.collection-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collection-related-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.collection-related-info h4 {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
}

/* ── Talk to Us / Contact Section ── */
.collection-contact-section {
    background: var(--secondary-color);
    padding: 72px 0;
    margin-top: 72px;
}

.collection-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.collection-contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 16px;
}

.collection-contact-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 28px;
}

.collection-contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.collection-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.collection-contact-details li svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--primary-color);
}

/* Form */
.product-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-row--inline-label {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.form-row--inline-label label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.product-inquiry-form input,
.product-inquiry-form select,
.product-inquiry-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    font-size: 0.9rem;
    color: #fff;
    width: 100%;
    outline: none;
    border-radius: 0;
    transition: border-color 0.2s ease;
    font-family: var(--font-body);
}

.product-inquiry-form input::placeholder,
.product-inquiry-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.product-inquiry-form input:focus,
.product-inquiry-form select:focus,
.product-inquiry-form textarea:focus {
    border-bottom-color: var(--primary-color);
}

.product-inquiry-form select option {
    background: var(--secondary-color);
    color: #fff;
}

.product-inquiry-form .btn {
    align-self: flex-start;
    padding: 12px 36px;
    margin-top: 6px;
}

.inquiry-success {
    background: rgba(0, 174, 239, 0.15);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 24px;
    color: #fff;
    font-size: 0.95rem;
}

/* Dark mode overrides for new sections */
body.dark-mode .collection-tabs {
    border-top-color: var(--border-color);
}

body.dark-mode .collection-tab-btn {
    color: var(--text-light);
}

body.dark-mode .collection-tab-content {
    color: var(--text-light);
}

body.dark-mode .collection-single-badges {
    border-top-color: var(--border-color);
}

body.dark-mode .collection-badge-text strong {
    color: var(--text-color);
}

body.dark-mode .collection-related-title {
    color: var(--text-color);
}

body.dark-mode .collection-feature-title {
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .collection-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .collection-features-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .collection-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .collection-contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .collection-contact-info h2 {
        font-size: 1.5rem;
    }

    .form-row-group {
        grid-template-columns: 1fr;
    }

    .collection-single-badges {
        flex-direction: column;
        gap: 14px;
    }
}

/* ==========================================================================
   Blog Single Post Styles
   ========================================================================== */

.blog-single {
    background-color: var(--background-color);
}

/* Blog Hero Banner */
.blog-hero {
    width: 100%;
    margin-bottom: 40px;
}

.blog-hero-image {
    width: 100%;
    aspect-ratio: 16 / 5;
    overflow: hidden;
    background-color: var(--light-gray);
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--border-color) 100%);
}

/* Blog Title */
.blog-title-section {
    padding: 0 0 40px;
}

.blog-title-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    max-width: 800px;
}

/* Blog Article Content */
.blog-article {
    padding: 0 0 60px;
}

.blog-article-content {
    max-width: 900px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.blog-article-content h2 {
    font-size: 1.5rem;
}

.blog-article-content h3 {
    font-size: 1.25rem;
}

.blog-article-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-article-content li {
    margin-bottom: 10px;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.blog-article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-article-content a:hover {
    color: #0099d6;
}

.blog-article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
}

/* Related Articles Section */
.related-articles {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.related-articles h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

.related-articles .related-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
}

.related-articles .related-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.related-card-link {
    display: block;
    text-decoration: none;
}

.related-card-image {
    height: 180px;
    overflow: hidden;
}

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

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

.related-card-content {
    padding: 16px;
}

.related-card-content h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
}

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

/* Blog Contact Section */
.blog-contact-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.blog-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.blog-contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.contact-tagline {
    font-size: 1.1rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Blog Contact Form */
.blog-contact-form {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.interest-select {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
}

.contact-form .form-row {
    margin-bottom: 16px;
}

.contact-form .form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--background-color);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    padding: 14px 40px;
    font-size: 1rem;
}

/* Dark Mode for Blog Single */
body.dark-mode .blog-title-section h1 {
    color: var(--text-color);
}

body.dark-mode .blog-article-content {
    color: var(--text-light);
}

body.dark-mode .blog-article-content h2,
body.dark-mode .blog-article-content h3,
body.dark-mode .blog-article-content h4 {
    color: var(--text-color);
}

body.dark-mode .related-articles {
    background-color: var(--light-gray);
}

body.dark-mode .related-card {
    background: var(--card-bg);
}

body.dark-mode .related-card-content h3 {
    color: var(--text-color);
}

body.dark-mode .blog-contact-form {
    background: var(--card-bg);
}

body.dark-mode .interest-select {
    background: var(--background-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: var(--background-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

/* Responsive Blog Single */
@media (max-width: 1024px) {
    .related-articles .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .blog-contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Blog Hero Mobile */
    .blog-hero {
        margin-bottom: 24px;
    }
    
    .blog-hero-image {
        aspect-ratio: 16 / 9;
    }
    
    /* Blog Title Mobile */
    .blog-title-section {
        padding: 0 0 24px;
    }
    
    .blog-title-section h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    /* Blog Article Content Mobile */
    .blog-article {
        padding: 0 0 40px;
    }
    
    .blog-article-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .blog-article-content h2 {
        font-size: 1.25rem;
        margin-top: 30px;
        margin-bottom: 16px;
    }
    
    .blog-article-content h3 {
        font-size: 1.1rem;
    }
    
    .blog-article-content p {
        margin-bottom: 16px;
    }
    
    .blog-article-content img {
        margin: 20px 0;
        border-radius: 8px;
    }
    
    /* Related Articles Mobile */
    .related-articles {
        padding: 40px 0;
    }
    
    .related-articles h2 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .related-articles .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .related-card {
        border-radius: 8px;
    }
    
    .related-card-image {
        height: 120px;
    }
    
    .related-card-content {
        padding: 12px;
    }
    
    .related-card-content h3 {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Blog Contact Section Mobile */
    .blog-contact-section {
        padding: 50px 0;
    }
    
    .blog-contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .contact-tagline {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .contact-details {
        gap: 14px;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .blog-contact-form {
        padding: 24px 20px;
    }
    
    .form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .interest-select {
        width: 100%;
    }
    
    .contact-form .form-row-2col {
        grid-template-columns: 1fr;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 14px;
    }
}