/* ========================================
   UNIOX LEATHER EXPORT - MAIN STYLESHEET
   Theme: Blue
   ======================================== */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Blue color palette */
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary: #3b82f6;
    --accent: #93c5fd;
    --dark: #0f172a;
    --darker: #020617;
    --white: #ffffff;
    --light: #f0f9ff;
    --gray: #475569;
    /* Blue gradients */
    --gradient-1: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-2: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    --gradient-3: linear-gradient(135deg, #3b82f6 0%, #93c5fd 100%);
    --gradient-4: linear-gradient(135deg, #2563eb 0%, #93c5fd 100%);
    /* Shadows with blue tones */
    --shadow-sm: 0 2px 8px rgba(30, 64, 175, 0.08);
    --shadow-md: 0 4px 16px rgba(30, 64, 175, 0.12);
    --shadow-lg: 0 8px 32px rgba(30, 64, 175, 0.16);
    --shadow-xl: 0 16px 48px rgba(30, 64, 175, 0.2);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Arial', sans-serif;
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
    background: #f8fafc;
    letter-spacing: 0.02em;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ===== NAVBAR ===== */
.navbar {
    background: transparent;
    backdrop-filter: none;
    padding: 2rem 0;
    box-shadow: none;
    transition: all 0.4s ease;
    border-bottom: none;
}

.navbar.scrolled {
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(147, 197, 253, 0.2);
}

.navbar.scrolled .navbar-brand {
    color: var(--white) !important;
}

.navbar.scrolled .brand-text {
    color: var(--white);
}

.navbar.scrolled .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
}

.navbar.scrolled .language-selector {
    color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark) !important;
    letter-spacing: 0.1em;
    text-transform: none;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.brand-text {
    color: var(--dark);
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 400;
    margin: 0 1rem;
    padding: 0.5rem 0 !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dark);
    transition: width 0.3s ease;
}

.navbar.scrolled .navbar-nav .nav-link::after {
    background: var(--white);
}

.navbar-nav .nav-link:hover {
    background: transparent;
    color: var(--primary) !important;
    transform: none;
}

.navbar.scrolled .navbar-nav .nav-link:hover {
    color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.language-selector {
    background: transparent;
    border: 1px solid rgba(30, 64, 175, 0.4);
    border-radius: 0;
    padding: 0.5rem 1rem !important;
    color: var(--dark) !important;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.language-selector:hover {
    background: rgba(30, 64, 175, 0.05) !important;
    border-color: var(--primary);
    transform: none;
    box-shadow: none;
}

.navbar.scrolled .language-selector:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6);
}

.dropdown-menu {
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(147, 197, 253, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    transform: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--darker);
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('https://unioxleatherexports.com/assets/7.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

@keyframes gradient-shift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Playfair Display', 'Georgia', serif;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons .btn {
    padding: 0.9rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--white);
    font-family: 'Arial', sans-serif;
}

.btn-primary {
    background: transparent;
    backdrop-filter: none;
    color: var(--white);
    border: 1px solid var(--white);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--white);
    border-color: var(--white);
    transform: none;
    box-shadow: none;
    color: var(--dark);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    box-shadow: none;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    transform: none;
    box-shadow: none;
}

.hero-location {
    font-size: 0.9rem;
    margin-top: 3rem;
    opacity: 0.8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

.hero-location i {
    color: var(--white);
    margin-right: 0.5rem;
    opacity: 0.7;
}

/* ===== SECTION COMMON STYLES ===== */
section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--dark);
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.title-underline {
    width: 60px;
    height: 2px;
    background: var(--primary);
    margin: 1rem auto;
    border-radius: 0;
    box-shadow: none;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 300;
    letter-spacing: 0.05em;
    font-family: 'Arial', sans-serif;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: 
        linear-gradient(180deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.95) 100%),
        url('https://images.unsplash.com/photo-1588850561407-ed78c282e89b?w=1920&h=800&fit=crop&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-image-frame {
    position: relative;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.about-image-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 64px rgba(30, 64, 175, 0.25);
}

.about-image-frame:hover::before {
    opacity: 0.2;
}

.about-image-frame img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
    transition: transform 0.4s ease;
}

.about-image-frame:hover img {
    transform: scale(1.05);
}

.about-content h3 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 1.2rem;
    line-height: 1.9;
    letter-spacing: -0.01em;
}

.about-stats {
    margin-top: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.product-filter .btn {
    margin: 0.5rem;
    padding: 0.6rem 1.8rem;
    border-radius: 0;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

.product-filter .btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.product-filter .btn-outline-primary:hover,
.product-filter .btn-outline-primary.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: none;
    box-shadow: none;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(30, 64, 175, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Playfair Display', 'Georgia', serif;
}

/* ===== ORNATE PRODUCT FRAMES ===== */
.product-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.product-card::before {
    display: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(30, 64, 175, 0.3);
}

.product-card:hover::before {
    display: none;
}

.product-image-frame {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #f8f8f8;
}

/* Carousel styling for product images */
.product-image-frame .carousel {
    height: 280px;
}

.product-image-frame .carousel-inner {
    height: 100%;
}

.product-image-frame .carousel-item {
    height: 100%;
}

.product-image-frame .carousel-indicators {
    bottom: 10px;
    margin: 0;
    z-index: 3;
}

.product-image-frame .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.product-image-frame .carousel-indicators button.active {
    background-color: #ffffff;
    width: 24px;
    border-radius: 4px;
}

.product-image-frame .carousel-control-prev,
.product-image-frame .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 64, 175, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.product-card:hover .carousel-control-prev,
.product-card:hover .carousel-control-next {
    opacity: 1;
}

.product-image-frame .carousel-control-prev {
    left: 10px;
}

.product-image-frame .carousel-control-next {
    right: 10px;
}

.product-image-frame .carousel-control-prev:hover,
.product-image-frame .carousel-control-next:hover {
    background: rgba(30, 64, 175, 1);
}

.product-image-frame .carousel-control-prev-icon,
.product-image-frame .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.product-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.product-card:hover .product-image-frame::before {
    opacity: 0.15;
}

.product-image-frame::after {
    display: none;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.92) 0%, rgba(59, 130, 246, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    font-size: 3.5rem;
    color: var(--white);
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.product-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #faf8f5;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
}

.product-desc {
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.4;
    letter-spacing: 0.02em;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.map-container {
    background: var(--white);
    border-radius: 0;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 500px;
}

.world-map-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-1);
    transform: translateX(-50%);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.25);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: calc(50% + 50px);
}

.timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: calc(50% + 50px);
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: var(--gradient-2);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.3);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(30, 64, 175, 0.2);
    }
}

.timeline-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.timeline-item:nth-child(even) .timeline-content {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.6rem 1.8rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.timeline-content h4 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.9;
    letter-spacing: -0.01em;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: var(--dark);
}

.testimonials-section .section-title {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-section .title-underline {
    background: var(--gradient-1);
}

.testimonial-card {
    background: var(--white);
    backdrop-filter: none;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.testimonial-card:hover::before {
    opacity: 0.03;
}

.testimonial-stars {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.8rem;
    line-height: 1.9;
    color: var(--gray);
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.testimonial-author h6 {
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.testimonial-author span {
    font-size: 0.95rem;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.client-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.client-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 64, 175, 0.2);
}

.client-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(30, 64, 175, 0.2);
    border-radius: 12px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: 
        linear-gradient(rgba(30, 64, 175, 0.92), rgba(30, 58, 138, 0.95)),
        url('https://images.unsplash.com/photo-1542838132-92c53300491e?w=1920&h=800&fit=crop&q=80') center/cover;
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 100px 0;
}

.contact-section::before {
    display: none;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    color: var(--white);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.contact-info h4 {
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Playfair Display', 'Georgia', serif;
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.4rem;
    margin-right: 1rem;
    color: var(--accent);
    min-width: 30px;
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
    letter-spacing: 0.05em;
    font-family: 'Lato', sans-serif;
}

.contact-item p {
    margin: 0;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.form-control {
    border: 1px solid rgba(30, 64, 175, 0.3);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-size: 0.95rem;
    color: var(--dark);
    font-family: 'Lato', sans-serif;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
    background: var(--white);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .title-underline {
    background: var(--accent);
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== FOOTER ===== */
.footer {
    background: 
        linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%),
        url('https://images.unsplash.com/photo-1588850561407-ed78c282e89b?w=1920&h=600&fit=crop&q=80') center/cover;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 80px 0 40px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
}

.footer-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer-text {
    opacity: 0.85;
    line-height: 1.9;
    letter-spacing: -0.01em;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(30, 64, 175, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--gold);
    min-width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== MODAL ===== */
.modal-content {
    background: var(--primary-blue-dark);
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    color: var(--white);
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 20px;
        transform: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 5px solid var(--primary-blue);
        border-right: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-filter .btn {
        margin: 0.25rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
    }
    
    .about-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info h4 {
        font-size: 1.3rem !important;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .map-container {
        height: 350px !important;
    }
    
    .subcategory-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons .btn.me-3 {
        margin-right: 0 !important;
    }
    
    .product-filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-filter .btn {
        flex: 1 1 auto;
        min-width: 100px;
    }
    
    .certification-banner .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

/* ===== CHEMICAL PRODUCTS SECTION - C&E Catalogue ===== */
.certification-banner {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 64, 175, 0.15);
}

.certification-banner .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.certification-banner .badge.bg-primary {
    background-color: var(--primary) !important;
}

.certification-banner .badge.bg-success {
    background-color: #2d5a3d !important;
}

.certification-banner .badge.bg-info {
    background-color: #3d6b8a !important;
}

.certification-banner .badge.bg-warning {
    background-color: #d2b48c !important;
    color: var(--dark) !important;
}

.chemical-subcategory {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

.chemical-subcategory:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.subcategory-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subcategory-title i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.table-section {
    margin-bottom: 1.5rem;
}

.table-title {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    background: linear-gradient(135deg, var(--accent) 0%, rgba(147, 197, 253, 0.5) 100%);
    padding: 0.75rem 1rem;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chemical-table {
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.chemical-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.chemical-table thead th {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 1rem;
    border: none;
    vertical-align: middle;
}

.chemical-table tbody tr {
    transition: all 0.2s ease;
}

.chemical-table tbody tr:nth-child(even) {
    background-color: rgba(147, 197, 253, 0.1);
}

.chemical-table tbody tr:hover {
    background-color: rgba(30, 64, 175, 0.08);
}

.chemical-table tbody td {
    padding: 0.85rem 1rem;
    border-color: rgba(30, 64, 175, 0.1);
    vertical-align: middle;
    color: var(--gray);
}

.chemical-table tbody td strong {
    color: var(--primary);
    font-weight: 600;
}

.chemical-table tbody td:first-child {
    font-weight: 500;
}

/* Supplier Info Card */
.chemical-supplier-info {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(30, 64, 175, 0.15);
    border-left: 4px solid var(--primary);
}

.chemical-supplier-info h5 {
    font-family: 'Playfair Display', 'Georgia', serif;
    color: var(--primary);
}

.chemical-supplier-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

.chemical-supplier-info i.text-primary {
    color: var(--primary) !important;
    margin-right: 0.5rem;
}

/* Responsive adjustments for chemical tables */
@media (max-width: 991px) {
    .chemical-subcategory {
        padding: 1.5rem;
    }
    
    .subcategory-title {
        font-size: 1.2rem;
    }
    
    .chemical-table {
        font-size: 0.8rem;
    }
    
    .chemical-table thead th,
    .chemical-table tbody td {
        padding: 0.65rem 0.5rem;
    }
}

@media (max-width: 767px) {
    .chemical-subcategory {
        padding: 1rem;
    }
    
    .certification-banner .badge {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .chemical-table thead th,
    .chemical-table tbody td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .table-title {
        font-size: 0.85rem;
    }
}

/* ===== COLOR CARDS FOR DYE PRODUCTS ===== */
.color-cards-grid {
    margin-top: 1rem;
}

.color-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.color-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.color-swatch {
    height: 80px;
    width: 100%;
    position: relative;
}

.color-swatch::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

.color-info {
    padding: 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(250, 245, 235, 0.8) 0%, rgba(147, 197, 253, 0.2) 100%);
}

.color-name {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.color-ph {
    display: block;
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 500;
}

/* Responsive adjustments for color cards */
@media (max-width: 767px) {
    .color-swatch {
        height: 60px;
    }
    
    .color-info {
        padding: 0.5rem;
    }
    
    .color-name {
        font-size: 0.75rem;
    }
    
    .color-ph {
        font-size: 0.65rem;
    }
}

/* ==================== CHEMICAL TABS STYLING ==================== */
.chemical-tabs {
    border-bottom: 2px solid var(--primary);
    margin-bottom: 2rem;
}

.chemical-tabs .nav-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.chemical-tabs .nav-link:hover {
    color: var(--primary-dark);
    background: linear-gradient(135deg, #dbeafe 0%, #c7e0f9 100%);
    transform: translateY(-2px);
}

.chemical-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.chemical-tabs .nav-link i {
    font-size: 1.2rem;
}

/* Tab Content Styling */
.tab-content {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 1.5rem 0;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tabs */
@media (max-width: 767px) {
    .chemical-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .chemical-tabs .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .chemical-tabs .nav-link {
        width: 100%;
        border-radius: 8px;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .chemical-tabs .nav-link.active {
        border-radius: 8px;
    }
}

@media (max-width: 576px) {
    .chemical-tabs .nav-link {
        font-size: 0.9rem;
        padding: 0.7rem 0.8rem;
    }
    
    .chemical-tabs .nav-link i {
        font-size: 1rem;
    }
}

/* Product Range List Styling */
.product-range-list {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
}

.product-range-list li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(30, 64, 175, 0.15);
    transition: all 0.2s ease;
}

.product-range-list li:last-child {
    border-bottom: none;
}

.product-range-list li:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.product-range-list li::marker {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 767px) {
    .product-range-list {
        padding: 1rem 1rem 1rem 2rem;
    }
    
    .product-range-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
}

/* Product Description Box Styling */
.product-description-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.product-type-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed rgba(30, 64, 175, 0.2);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.95rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.feature-list li i {
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .product-description-box {
        padding: 1rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
    
    .product-type-title {
        font-size: 1rem;
    }
}

/* Color Product Cards Styling */
.color-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border-radius: 16px;
}

.color-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.08);
}

.color-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
}

.color-product-header {
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-product-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
}

.color-product-body {
    padding: 1rem;
}

.color-product-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-product-name .color-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.color-product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.spec-item {
    background: #f8fafc;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.spec-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.spec-item.ph-spec {
    grid-column: span 2;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.spec-item.ph-spec .spec-value {
    color: #0d9488;
}

/* Product Range Cards Styling */
.product-range-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 197, 253, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-range-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(30, 64, 175, 0.18);
}

.product-range-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-range-header.wet-end {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.product-range-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.product-range-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.product-range-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.03em;
}

.product-range-body {
    padding: 1.25rem;
    flex: 1;
}

.product-range-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-range-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.product-range-item:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.product-range-number {
    width: 32px;
    height: 32px;
    background: var(--gradient-3);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.product-range-name {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

.product-range-footer {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-top: 1px solid rgba(147, 197, 253, 0.3);
}

.product-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-count i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .product-range-header {
        padding: 1.25rem;
    }
    
    .product-range-icon {
        width: 48px;
        height: 48px;
    }
    
    .product-range-icon i {
        font-size: 1.5rem;
    }
    
    .product-range-title {
        font-size: 1.1rem;
    }
    
    .product-range-item {
        padding: 0.6rem 0.8rem;
    }
    
    .product-range-number {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .product-range-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .color-products-grid {
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }
    
    .color-product-header {
        height: 60px;
    }
    
    .color-product-body {
        padding: 0.75rem;
    }
    
    .color-product-name {
        font-size: 0.9rem;
    }
}

/* Color Range Table Styling */
.color-range-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.15);
}

.color-range-table thead th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: 1rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    white-space: nowrap;
}

.color-range-table thead th:first-child {
    border-left: none;
}

.color-range-table thead th:last-child {
    border-right: none;
}

.color-dot {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    vertical-align: middle;
    margin-right: 8px;
}

.color-range-table tbody tr {
    transition: background-color 0.2s ease;
}

.color-range-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.color-range-table tbody tr:hover {
    background-color: #e0f2fe;
}

.color-range-table tbody td {
    vertical-align: middle;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.color-range-table tbody td:first-child {
    font-weight: 600;
    color: var(--primary);
    border-left: none;
}

.color-range-table tbody td:last-child {
    border-right: none;
}

.color-range-table tbody td:nth-child(2) {
    text-align: left;
    font-weight: 500;
}

.color-range-table tbody td:nth-child(3) {
    text-align: center;
    font-weight: 500;
    color: #0d9488;
}

.color-range-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 767px) {
    .color-dot {
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }
    
    .color-range-table thead th,
    .color-range-table tbody td {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
    }
    
    .color-range-table thead tr:first-child th {
        padding: 0.7rem 0.4rem;
    }
}

/* Feature Cards Container */
.feature-cards-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
}

.feature-header-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.feature-header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-header-card h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
    border-color: var(--secondary);
}

.feature-card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.feature-card:hover .feature-card-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.feature-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.feature-card-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
}

.feature-card-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .feature-cards-container {
        padding: 1rem;
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-header-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .feature-header-card h5 {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 0.75rem;
    }
    
    .feature-card-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 1rem;
    }
}

/* Application Note Styling */
.application-note {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 4px solid var(--primary);
}

.application-note i {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.application-note span {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
}

.application-note strong {
    color: var(--primary);
}

@media (max-width: 576px) {
    .application-note {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
    }
    
    .application-note span {
        font-size: 0.85rem;
    }
}

/* ==================== COLOR CATALOGUE ENHANCEMENTS ==================== */

/* Section Divider */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), var(--secondary), transparent);
    border-radius: 3px;
    margin: 2rem 0;
    opacity: 0.6;
}

/* Enhanced Chemical Subcategory Cards */
.chemical-subcategory {
    position: relative;
    overflow: hidden;
}

.chemical-subcategory::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

/* Numbered Section Badge */
.subcategory-title .section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 0.5rem;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

/* Color Cards Grid Enhancement */
.color-cards-grid {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border-radius: 12px;
    padding: 1rem;
}

.color-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 64, 175, 0.08);
}

.color-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
}

.color-swatch {
    height: 80px;
    position: relative;
    overflow: hidden;
}

.color-swatch::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.color-card:hover .color-swatch::after {
    left: 100%;
}

.color-info {
    padding: 0.75rem;
    text-align: center;
    background: #fff;
}

.color-name {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.color-ph {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    background: rgba(30, 64, 175, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Enhanced Table Styling */
.table-responsive {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
}

/* Resistance Header Badge Styling */
.resistance-header {
    position: relative;
}

.color-range-table thead tr.sub-header th:nth-child(4),
.color-range-table thead tr.sub-header th:nth-child(5),
.color-range-table thead tr.sub-header th:nth-child(6) {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

/* Color Dot Pulse Animation */
.color-dot {
    animation: colorPulse 2s ease-in-out infinite;
}

@keyframes colorPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.color-range-table tbody tr:hover .color-dot {
    animation: none;
    transform: scale(1.15);
    transition: transform 0.2s ease;
}

/* Table Row Highlight Animation */
.color-range-table tbody tr {
    position: relative;
}

.color-range-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.3s ease;
    opacity: 0.1;
}

.color-range-table tbody tr:hover::before {
    width: 100%;
}

/* Resistance Value Styling */
.color-range-table tbody td:nth-child(4),
.color-range-table tbody td:nth-child(5),
.color-range-table tbody td:nth-child(6) {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Rating badge colors based on values */
.rating-high {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.rating-medium {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.rating-low {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Feature Card Icon Hover Effect */
.feature-card:hover .feature-card-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.feature-card:hover .feature-card-icon i {
    color: #fff;
}

/* Tab Content Animation */
.tab-pane {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Range List Icon Enhancement */
.product-range-list li {
    position: relative;
    padding-left: 0.5rem;
}

.product-range-list li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-range-list li:hover::before {
    opacity: 1;
}

/* Section Title Enhancement */
.table-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    margin-left: 1rem;
}

/* Scrollbar Styling for Tables */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive Enhancements */
@media (max-width: 991px) {
    .color-cards-grid .col-lg-2 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 767px) {
    .color-swatch {
        height: 60px;
    }
    
    .color-info {
        padding: 0.5rem;
    }
    
    .color-name {
        font-size: 0.75rem;
    }
    
    .color-ph {
        font-size: 0.65rem;
    }
    
    .chemical-subcategory {
        padding: 1.25rem;
    }
    
    .chemical-subcategory::before {
        height: 3px;
    }
}

@media (max-width: 576px) {
    .color-cards-grid .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .color-swatch {
        height: 50px;
    }
}
