/*
Theme Name: TEXTILE SERVICES Co.
Theme URI: https://texserco.com
Author: TEXSERCO
Author URI: https://texserco.com
Description: A premium custom theme for TEXTILE SERVICES Co. — Pakistan's leading textile machinery solutions provider. Features modern design with TSC brand colors.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: texserco
Tags: industrial, business, custom-background, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments
*/

/* ===================================================================
   TEXTILE SERVICES CO. BRAND DESIGN SYSTEM
   TSC Blue: #2E7FCF | TSC Golden: #F5A623 | TSC Green: #4DA34D
   =================================================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Primary Colors */
    --tsc-blue: #2E7FCF;
    --tsc-golden: #F5A623;
    --tsc-green: #4DA34D;

    /* Supporting Colors */
    --deep-blue: #1A5BA0;
    --titanium-grey: #4A5568;
    --cool-grey: #E8ECF0;
    --light-blue: #EBF4FC;

    /* Action Colors */
    --success-green: #4DA34D;
    --alert-red: #DC3545;

    /* Hover States */
    --golden-hover: #D98E1B;
    --blue-hover: #1A5BA0;
    --green-hover: #3D8A3D;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-8: 48px;
    --space-10: 64px;
    --space-12: 80px;
    --space-16: 128px;

    /* Container */
    --container-max: 1280px;
    --container-content: 1140px;
    --container-narrow: 720px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(46, 127, 207, 0.08);
    --shadow-md: 0 4px 16px rgba(46, 127, 207, 0.12);
    --shadow-lg: 0 12px 32px rgba(46, 127, 207, 0.15);
    --shadow-golden: 0 4px 12px rgba(245, 166, 35, 0.35);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--titanium-grey);
    background-color: #ffffff;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--space-6);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--space-5);
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

h4 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--tsc-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--deep-blue);
}

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

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.section {
    padding: var(--space-12) 0;
}

.section-sm {
    padding: var(--space-8) 0;
}

.section-lg {
    padding: var(--space-16) 0;
}

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

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

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #ffffff;
    z-index: 1000;
    transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.site-logo img {
    height: 80px;
    width: auto;
    max-width: 380px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    margin-left: var(--space-3);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--deep-blue);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-5);
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--titanium-grey);
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tsc-golden);
    transition: width var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--tsc-blue);
}

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

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 220px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: var(--space-3) 0;
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: var(--space-3) var(--space-5);
    color: var(--titanium-grey);
}

.dropdown-menu li a:hover {
    background: var(--light-blue);
    color: var(--tsc-blue);
}

.dropdown-menu li a::after {
    display: none;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
}

.mobile-nav[aria-hidden="false"] {
    transform: translateX(0);
}

.mobile-menu {
    list-style: none;
    padding: var(--space-5);
}

.mobile-menu>li {
    border-bottom: 1px solid var(--cool-grey);
}

.mobile-menu>li>a {
    display: block;
    padding: var(--space-4) 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--deep-blue);
}

.mobile-submenu {
    list-style: none;
    padding-left: var(--space-5);
    padding-bottom: var(--space-3);
}

.mobile-submenu li a {
    display: block;
    padding: var(--space-2) 0;
    color: var(--titanium-grey);
    font-size: 0.9375rem;
}

.mobile-menu .btn {
    width: 100%;
    margin-top: var(--space-4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--deep-blue);
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--tsc-golden);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--golden-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-golden);
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: var(--tsc-blue);
    border: 2px solid var(--tsc-blue);
}

.btn-secondary:hover {
    background: var(--tsc-blue);
    color: #ffffff;
}

.btn-tertiary {
    background: var(--tsc-green);
    color: #ffffff;
}

.btn-tertiary:hover {
    background: var(--green-hover);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--tsc-blue);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 127, 207, 0.9) 0%, rgba(26, 91, 160, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: #ffffff;
}

.hero-tagline {
    display: inline-block;
    background: rgba(77, 163, 77, 0.2);
    border: 1px solid rgba(77, 163, 77, 0.4);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a8e6a8;
    margin-bottom: var(--space-5);
}

.hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: var(--space-5);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--light-blue);
    padding: var(--space-8) 0;
}

.trust-bar-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--titanium-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-6);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.trust-logos img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-normal);
}

.trust-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-10);
}

.section-header h2 {
    color: var(--deep-blue);
    margin-bottom: var(--space-4);
}

.section-header p {
    color: var(--titanium-grey);
    font-size: 1.125rem;
}

/* ===== PRODUCT CATEGORIES ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.category-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.category-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-content {
    padding: var(--space-5);
}

.category-content h3 {
    font-size: 1.25rem;
    color: var(--tsc-blue);
    margin-bottom: var(--space-3);
}

.category-content p {
    font-size: 0.9375rem;
    color: var(--titanium-grey);
    margin-bottom: var(--space-4);
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: var(--tsc-golden);
}

.category-link:hover {
    gap: var(--space-3);
    color: var(--golden-hover);
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--tsc-blue) 100%);
    color: #ffffff;
}

.why-choose-us .section-header h2 {
    color: #ffffff;
}

.why-choose-us .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.feature-card {
    text-align: center;
    padding: var(--space-6);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--tsc-golden);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    stroke: #ffffff;
}

.feature-card h4 {
    color: #ffffff;
    margin-bottom: var(--space-3);
    font-size: 1.125rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

/* View Toggle */
.products-controls {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.view-toggle {
    display: flex;
    gap: var(--space-1);
    background: var(--cloud-white);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--cool-grey);
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--titanium-grey);
    transition: all var(--transition-fast);
}

.view-btn:hover {
    color: var(--tsc-blue);
    background: rgba(22, 82, 149, 0.1);
}

.view-btn.active {
    background: var(--tsc-blue);
    color: #ffffff;
}

/* Grid View (Default - 2 columns) */
.products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
}

/* ===== LIST VIEW - Mockup Style ===== */
.products-grid.list-view {
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--tsc-golden);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-normal);
}

.products-grid.list-view .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-left-color: var(--tsc-blue);
}

.products-grid.list-view .product-card-image {
    aspect-ratio: 4/3;
    height: auto;
    min-height: 200px;
    max-height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.products-grid.list-view .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    mix-blend-mode: multiply;
}

.products-grid.list-view .product-card-content {
    display: flex;
    flex-direction: column;
    padding: var(--space-5) var(--space-6);
    gap: var(--space-2);
}

.products-grid.list-view .product-card-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tsc-blue);
    margin: 0 0 var(--space-1) 0;
    line-height: 1.3;
}

.products-grid.list-view .product-card-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.products-grid.list-view .product-card-content h4 a:hover {
    color: var(--tsc-golden);
}

/* Category tag in list view */
.products-grid.list-view .product-card-content>p:first-of-type {
    color: var(--tsc-golden) !important;
    font-size: 0.8125rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 var(--space-3) 0 !important;
}

/* Product specs in list view - vertical like mockup */
.products-grid.list-view .product-specs {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 0;
    border: none;
    margin: var(--space-2) 0;
}

.products-grid.list-view .product-specs span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
}

.products-grid.list-view .product-specs span svg {
    color: var(--tsc-blue);
    flex-shrink: 0;
}

/* Description text */
.products-grid.list-view .product-card-content>p[style*="titanium"] {
    font-size: 0.9375rem !important;
    line-height: 1.6;
    color: #6b7280 !important;
    margin: var(--space-2) 0 !important;
    flex-grow: 1;
}

/* Actions in list view - matching mockup */
.products-grid.list-view .product-card-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: none;
}

.products-grid.list-view .product-card-actions .btn {
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.products-grid.list-view .product-card-actions .btn-primary {
    background: var(--tsc-golden);
    border-color: var(--tsc-golden);
    color: #ffffff;
}

.products-grid.list-view .product-card-actions .btn-primary:hover {
    background: #e08a00;
    border-color: #e08a00;
    transform: translateY(-2px);
}

.products-grid.list-view .product-card-actions .btn-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tsc-blue);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
}

.products-grid.list-view .product-card-actions .btn-link:hover {
    color: var(--tsc-golden);
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--tsc-golden);
}

.product-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cool-grey);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-content {
    padding: var(--space-5);
}

.product-card-content h4 {
    color: var(--tsc-blue);
    margin-bottom: var(--space-3);
    font-size: 1.0625rem;
    line-height: 1.3;
}

.product-specs {
    display: flex;
    gap: var(--space-3);
    font-size: 0.8125rem;
    color: var(--titanium-grey);
    margin-bottom: var(--space-4);
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.product-specs-detailed {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.product-specs-detailed .spec-item {
    display: flex;
    gap: var(--space-2);
    font-size: 0.8125rem;
}

.product-specs-detailed .spec-label {
    font-weight: 600;
    color: var(--titanium-grey);
}

.product-specs-detailed .spec-value {
    color: var(--deep-blue);
}

.product-card-actions {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.product-card-actions .btn-primary {
    width: 100%;
    justify-content: center;
}

.product-card-actions .btn {
    flex: 1;
}

.product-card-actions .btn-link {
    color: var(--tsc-blue);
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===== STATISTICS ===== */
.stats-section {
    background: var(--light-blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--tsc-blue);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 1rem;
    color: var(--titanium-grey);
    font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--cool-grey);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: left;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-4);
}

.testimonial-rating .star-filled {
    width: 18px;
    height: 18px;
    color: var(--tsc-golden);
    fill: var(--tsc-golden);
}

.testimonial-quote {
    font-size: 0.9375rem;
    color: var(--titanium-grey);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.testimonial-quote::before {
    display: none;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--tsc-blue);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author {
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 0.9375rem;
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--titanium-grey);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--tsc-golden) 0%, #e6951a 100%);
    color: #ffffff;
    text-align: center;
    padding: var(--space-10) 0;
}

.newsletter-section h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.newsletter-section>.container>p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.0625rem;
    margin-bottom: var(--space-6);
}

.newsletter-form-inline {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    max-width: 500px;
    margin: 0 auto var(--space-4);
}

.newsletter-form-inline input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.newsletter-form-inline input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form-inline input:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.btn-dark {
    background: var(--deep-blue);
    color: #ffffff;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-dark:hover {
    background: #133d6b;
    transform: translateY(-2px);
}

.newsletter-privacy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #0d3d6b 100%);
    color: #ffffff;
    text-align: center;
    padding: var(--space-12) 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cta-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: #ffffff;
    margin-bottom: var(--space-4);
}

.cta-banner p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: var(--space-6);
}

.cta-banner .btn-primary {
    background: var(--deep-blue);
}

.cta-banner .btn-primary:hover {
    background: #133d6b;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--deep-blue);
    color: #ffffff;
    padding: var(--space-12) 0 var(--space-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-about .footer-logo {
    margin-bottom: var(--space-4);
}

.footer-about .footer-logo img {
    height: 50px;
}

.footer-about .footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: var(--space-4);
    letter-spacing: 0.5px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    color: #ffffff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--tsc-golden);
}

.footer-contact-item {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--tsc-golden);
}

/* Newsletter */
.footer-newsletter {
    margin-top: var(--space-6);
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: var(--space-5);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--tsc-golden);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--deep-blue);
    font-size: 0.9375rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--cool-grey);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: #ffffff;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--tsc-blue);
    box-shadow: 0 0 0 3px rgba(46, 127, 207, 0.15);
}

.form-input.error {
    border-color: var(--alert-red);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--tsc-blue);
}

/* ===== PAGE HEADERS ===== */
.page-header {
    background: linear-gradient(135deg, rgba(26, 91, 160, 0.75) 0%, rgba(46, 127, 207, 0.70) 100%),
        url('../../../uploads/products/bando_hemming.jpg') center/cover no-repeat;
    padding: 160px 0 80px;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: var(--space-4);
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: var(--space-4) 0;
    background: var(--light-blue);
}

.breadcrumbs-list {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumbs-list li::after {
    content: '/';
    margin-left: var(--space-2);
    color: var(--titanium-grey);
}

.breadcrumbs-list li:last-child::after {
    display: none;
}

.breadcrumbs-list a {
    color: var(--tsc-blue);
}

.breadcrumbs-list li:last-child {
    color: var(--titanium-grey);
}

/* ===== ABOUT PAGE ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.about-intro-content h2 {
    margin-bottom: var(--space-5);
}

.about-intro-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.mv-card {
    background: #ffffff;
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--tsc-golden);
}

.mv-card h3 {
    color: var(--tsc-blue);
    margin-bottom: var(--space-4);
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.value-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--tsc-golden);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
}

.value-card h4 {
    color: #ffffff;
    margin-bottom: var(--space-2);
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-10);
}

.contact-form-wrapper {
    background: #ffffff;
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info-card {
    background: var(--light-blue);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
}

.contact-info-card h4 {
    color: var(--tsc-blue);
    margin-bottom: var(--space-4);
}

.contact-info-item {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: 0.9375rem;
}

.contact-info-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--tsc-golden);
    flex-shrink: 0;
}

/* Map */
.contact-map {
    margin-top: var(--space-8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== PRODUCTS PAGE ===== */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
}

.products-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-group {
    margin-bottom: var(--space-6);
    background: #ffffff;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(46, 127, 207, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--space-4);
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid rgba(46, 127, 207, 0.1);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: 0.9375rem;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid transparent;
    color: var(--titanium-grey);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.filter-option:hover {
    background: #e8f4fc;
    color: var(--tsc-blue);
    border-color: rgba(46, 127, 207, 0.2);
    transform: translateX(4px);
}

.filter-option.active {
    background: linear-gradient(135deg, rgba(46, 127, 207, 0.1) 0%, rgba(46, 127, 207, 0.05) 100%);
    color: var(--tsc-blue) !important;
    border-color: var(--tsc-blue);
    font-weight: 600 !important;
}

.filter-option.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--tsc-blue);
    border-radius: 4px 0 0 4px;
}

.filter-option span {
    background: rgba(46, 127, 207, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tsc-blue);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.products-count {
    color: var(--titanium-grey);
    font-size: 0.9375rem;
}

.products-sort select {
    padding: 10px 16px;
    border: 1px solid var(--cool-grey);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

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

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
    }

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

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

@media (max-width: 768px) {
    :root {
        --space-12: 60px;
        --space-10: 48px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .site-header {
        height: 64px;
    }

    .hero {
        padding-top: 64px;
        min-height: 100vh;
    }

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

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

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

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-nav {
        display: block;
        top: 64px;
    }

    .categories-grid,
    .products-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .page-header {
        padding: 120px 0 60px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form-inline {
        flex-direction: column;
    }

    .newsletter-form-inline input,
    .newsletter-form-inline button {
        width: 100%;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

/* ===== UTILITIES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-deep-blue {
    background-color: var(--deep-blue);
}

.text-blue {
    color: var(--tsc-blue);
}

.text-golden {
    color: var(--tsc-golden);
}

.text-green {
    color: var(--tsc-green);
}

.text-white {
    color: #ffffff;
}

/* ===== IMPROVED LOGO ===== */
.site-logo .logo-main {
    height: 80px;
    width: auto;
    max-width: 380px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

@media (max-width: 1024px) {
    .site-logo .logo-main {
        height: 70px;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .site-logo .logo-main {
        height: 55px;
        max-width: 250px;
    }
}

/* ===== MEGA MENU ===== */
.nav-item-mega {
    position: static;
}

.nav-item-mega>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item-mega>a svg {
    transition: transform var(--transition-fast);
}

.nav-item-mega:hover>a svg {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-top: 3px solid var(--tsc-golden);
}

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

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-8) var(--space-5);
}

.mega-menu-column {
    padding: 0 var(--space-4);
}

.mega-menu-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--cool-grey);
}

.mega-menu-title svg,
.mega-menu-title i {
    width: 20px;
    height: 20px;
    color: var(--tsc-golden);
}

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

.mega-menu-list li {
    margin-bottom: var(--space-2);
}

.mega-menu-list li a {
    display: block;
    padding: var(--space-2) 0;
    color: var(--titanium-grey);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.mega-menu-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--tsc-golden);
    transition: width var(--transition-fast);
    transform: translateY(-50%);
}

.mega-menu-list li a:hover {
    color: var(--tsc-blue);
    padding-left: var(--space-4);
}

.mega-menu-list li a:hover::before {
    width: 12px;
}

.mega-menu-list li a::after {
    display: none;
}

/* Mega Menu Featured Column */
.mega-menu-featured {
    background: linear-gradient(135deg, var(--light-blue) 0%, #f0f7ff 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-5) !important;
}

.mega-menu-cta {
    text-align: center;
    padding: var(--space-5);
}

.mega-menu-cta h4 {
    color: var(--deep-blue);
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
}

.mega-menu-cta p {
    font-size: 0.875rem;
    color: var(--titanium-grey);
    margin-bottom: var(--space-4);
}

.mega-menu-view-all {
    display: block;
    text-align: center;
    margin-top: var(--space-5);
    font-weight: 600;
    color: var(--tsc-blue);
    font-size: 0.9375rem;
}

.mega-menu-view-all:hover {
    color: var(--tsc-golden);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 127, 207, 0.92) 0%, rgba(26, 91, 160, 0.85) 100%);
}

.hero-slide-overlay.overlay-gradient-2 {
    background: linear-gradient(135deg, rgba(26, 91, 160, 0.92) 0%, rgba(46, 127, 207, 0.85) 100%);
}

.hero-slide-overlay.overlay-gradient-3 {
    background: linear-gradient(135deg, rgba(77, 163, 77, 0.85) 0%, rgba(46, 127, 207, 0.9) 100%);
}

.hero-slide-overlay.overlay-gradient-4 {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.88) 0%, rgba(192, 57, 43, 0.85) 100%);
}

.hero-slide-overlay.overlay-gradient-5 {
    background: linear-gradient(135deg, rgba(13, 126, 80, 0.9) 0%, rgba(39, 174, 96, 0.85) 100%);
}

.hero-slide-overlay.overlay-gradient-6 {
    background: linear-gradient(135deg, rgba(26, 91, 160, 0.9) 0%, rgba(52, 73, 94, 0.88) 100%);
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slide .hero-content {
    max-width: 800px;
    color: #ffffff;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--space-3);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle-large {
    font-size: 2rem;
    font-weight: 600;
    color: var(--tsc-golden);
    margin-bottom: var(--space-5);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(77, 163, 77, 0.25);
    border: 1px solid rgba(77, 163, 77, 0.5);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a8e6a8;
    margin-bottom: var(--space-5);
    backdrop-filter: blur(10px);
}

.hero-tagline svg {
    width: 16px;
    height: 16px;
}

/* Animation delays for staggered entrance */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* Slider Navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-5);
    z-index: 10;
}

.slider-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.slider-nav-btn:hover {
    background: var(--tsc-golden);
    border-color: var(--tsc-golden);
    transform: scale(1.1);
}

.slider-nav-btn svg {
    color: #ffffff;
}

.slider-dots {
    display: flex;
    gap: var(--space-3);
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
    background: var(--tsc-golden);
    border-color: var(--tsc-golden);
    transform: scale(1.2);
}



/* ===== IMPROVED TRUST BAR ===== */
.trust-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3);
}

.trust-logo-item img {
    height: 40px;
    width: auto;
    max-width: 120px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.trust-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== ENHANCED MOBILE NAV ===== */
.mobile-menu-has-children {
    position: relative;
}

.mobile-submenu-toggle {
    position: absolute;
    right: 0;
    top: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light-blue);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.mobile-submenu-toggle svg {
    transition: transform var(--transition-fast);
}

.mobile-submenu-toggle.active svg {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding-left: var(--space-4);
    margin-top: var(--space-2);
    border-left: 2px solid var(--cool-grey);
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--titanium-grey);
    padding: var(--space-3) 0 var(--space-2);
    margin-top: var(--space-3);
}

.mobile-submenu-header:first-child {
    margin-top: 0;
}

.mobile-submenu li a {
    font-size: 0.9375rem !important;
    padding: var(--space-2) 0 !important;
}

/* ===== ENHANCED RESPONSIVE ===== */
@media (max-width: 1200px) {
    .mega-menu-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-menu-featured {
        grid-column: span 2;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mega-menu-cta {
        text-align: left;
    }

    .mega-menu-view-all {
        margin-top: 0;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle-large {
        font-size: 1.5rem;
    }

    .mega-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }

    .hero-slider {
        min-height: 100vh;
    }

    .hero-slide {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle-large {
        font-size: 1.25rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-slider-nav {
        bottom: 30px;
    }

    .slider-nav-btn {
        width: 40px;
        height: 40px;
    }

    .slider-nav-btn.prev,
    .slider-nav-btn.next {
        display: none;
    }

    .mobile-nav {
        top: 70px;
    }

    .trust-logos {
        gap: var(--space-4);
    }

    .trust-logo-item img {
        height: 30px;
        max-width: 80px;
    }

    .header-cta span {
        display: none;
    }

    .header-cta {
        padding: 10px 14px;
    }

    .header-cta::after {
        content: '📞';
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle-large {
        font-size: 1.1rem;
    }

    .hero-tagline {
        font-size: 0.75rem;
        padding: var(--space-1) var(--space-3);
    }

    .categories-grid {
        gap: var(--space-4);
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .products-grid.grid-view {
        grid-template-columns: 1fr;
    }

    .products-grid.list-view .product-card {
        grid-template-columns: 1fr;
        border-left: none;
        border-top: 4px solid transparent;
    }

    .products-grid.list-view .product-card:hover {
        transform: translateY(-4px);
        border-top-color: var(--tsc-golden);
        border-left-color: transparent;
    }

    .products-grid.list-view .product-card-image {
        min-height: 200px;
        aspect-ratio: 16/9;
    }

    .products-grid.list-view .product-card-content {
        padding: var(--space-5);
    }

    .products-grid.list-view .product-card-content h4 {
        font-size: 1.125rem;
    }

    .products-grid.list-view .product-card-actions {
        flex-direction: column;
        gap: var(--space-3);
    }

    .products-grid.list-view .product-card-actions .btn {
        width: 100%;
        text-align: center;
    }

    .products-controls {
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .view-toggle {
        order: 2;
    }

    .products-sort {
        order: 1;
        flex: 1;
    }
}

/* ===== SLIDER JS ANIMATIONS ===== */
.hero-slide.active .animate-fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-slide:not(.active) .animate-fadeInUp {
    opacity: 0;
    animation: none;
}

/* Delay classes for staggered slide content animations */
.hero-slide.active .delay-1 {
    animation-delay: 0.15s;
}

.hero-slide.active .delay-2 {
    animation-delay: 0.3s;
}

.hero-slide.active .delay-3 {
    animation-delay: 0.45s;
}

.hero-slide.active .delay-4 {
    animation-delay: 0.6s;
}

/* ===== SINGLE PRODUCT PAGE RESPONSIVE ===== */
.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: start;
}

@media (max-width: 992px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .product-gallery {
        order: 1;
    }

    .product-gallery .gallery-thumbnails {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2) !important;
    }

    .product-gallery .gallery-thumbnails .thumb {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .product-main-grid {
        gap: var(--space-5);
    }

    .product-gallery .gallery-slider {
        aspect-ratio: 4/3 !important;
    }

    .product-gallery .gallery-slider .slider-arrow {
        width: 36px !important;
        height: 36px !important;
    }

    .product-gallery .gallery-slider .slider-arrow i {
        width: 18px !important;
        height: 18px !important;
    }

    .product-gallery .gallery-thumbnails .thumb {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px;
        border-width: 2px !important;
    }

    /* Product Info Mobile */
    .product-info h1 {
        font-size: 1.75rem !important;
    }

    .product-info .product-sku {
        font-size: 0.75rem !important;
    }

    /* Key Specs Grid */
    .key-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-3) !important;
    }

    .key-specs-grid .spec-item {
        padding: var(--space-3) !important;
    }

    /* Sticky Sidebar - Not Sticky on Mobile */
    .product-sticky-sidebar {
        position: relative !important;
        top: auto !important;
    }

    /* CTA Buttons */
    .product-cta-buttons {
        flex-direction: column !important;
    }

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

@media (max-width: 480px) {
    .product-gallery .gallery-thumbnails {
        gap: var(--space-1) !important;
    }

    .product-gallery .gallery-thumbnails .thumb {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px;
    }

    .key-specs-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .product-info h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
}