/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    /* Color Theme - Matching Wonder Digimech Logo */
    --primary-color: #0f172a; /* Deep Modern Navy */
    --secondary-color: #52ba7d; /* Mint/Seafoam Green */
    --accent-blue: #38bdf8; /* Electric Blue Accent */
    --accent-color: #eab308; /* Warm yellow accent for warnings/highlights */
    
    --bg-light: #f4f7f6; /* Very light cool grey */
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #475569;
    --border-color: #cbd5e1;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Utilities */
    --section-pad: 100px 0;
    --border-radius: 8px; /* Uniform 8px for industrial premium look */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08); /* Navy shadow */
    --shadow-lg: 0 25px 50px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 10px 25px rgba(82, 186, 125, 0.4); /* Mint Green glow */
    --shadow-glow-blue: 0 10px 25px rgba(56, 189, 248, 0.4); /* Electric Blue glow */
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 30px; }
.mb-4 { margin-bottom: 30px; }
.w-100 { width: 100%; }

/* Modern Premium Buttons */
/* Unified Design System Buttons with Premium Shimmer Sweeps */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 30px; /* Modern ultra-sleek pill-shape */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Shimmer Light Sweeping Effect */
.btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    z-index: 2;
}

.btn-primary:hover::after, .btn-secondary:hover::after {
    left: 150%;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Icon slide micro-animation on hover */
.btn-primary i, .btn-secondary i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover i, .btn-secondary:hover i {
    transform: translateX(4px);
}

/* Primary Mint Green / High Tech Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1ba860 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(36, 194, 122, 0.25);
    border: 1px solid rgba(36, 194, 122, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #1ba860 0%, var(--secondary-color) 100%);
    z-index: -1;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(36, 194, 122, 0.4), 0 0 15px rgba(36, 194, 122, 0.2);
    color: #ffffff;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(36, 194, 122, 0.3);
}

/* Primary Outline Buttons */
.btn-primary.outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.btn-primary.outline::before {
    background: var(--secondary-color);
}

.btn-primary.outline:hover {
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(36, 194, 122, 0.3);
    border-color: transparent;
}

/* Secondary High-Tech Glass Buttons */
.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--primary-dark);
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.15);
}

.btn-secondary:active {
    transform: translateY(-2px);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.top-header {
    background: #0b1120; /* Very dark modern navy */
    color: #94a3b8; /* Soft slate text */
    padding: 14px 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle glowing line effect on top */
.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), rgba(124, 58, 237, 0.6), transparent);
}

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

.top-contact {
    display: flex;
    gap: 32px;
}

.top-contact a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 2px;
}

.top-contact a i {
    color: #38bdf8; /* Modern electric blue */
    font-size: 1.05rem;
    margin-right: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(56, 189, 248, 0.1);
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.top-contact a:hover {
    color: #ffffff;
}

.top-contact a:hover i {
    background: #38bdf8;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.top-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Add a subtle separator before social icons */
.top-social::before {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin-right: 8px;
}

.top-social a {
    text-decoration: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Colorful Brands */
.top-social a:nth-child(1) { border-color: rgba(24, 119, 242, 0.3); }
.top-social a:nth-child(1) i { color: #1877F2; }

.top-social a:nth-child(2) { border-color: rgba(29, 161, 242, 0.3); }
.top-social a:nth-child(2) i { color: #1DA1F2; }

.top-social a:nth-child(3) { border-color: rgba(10, 102, 194, 0.3); }
.top-social a:nth-child(3) i { color: #0A66C2; }

.top-social a:nth-child(4) { border-color: rgba(225, 48, 108, 0.3); }
.top-social a:nth-child(4) i { color: #E1306C; }

/* Colorful Brands Hover States */
.top-social a:nth-child(1):hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); transform: translateY(-4px) rotate(8deg); }
.top-social a:nth-child(2):hover { background: #1DA1F2; border-color: #1DA1F2; box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4); transform: translateY(-4px) rotate(8deg); }
.top-social a:nth-child(3):hover { background: #0A66C2; border-color: #0A66C2; box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4); transform: translateY(-4px) rotate(8deg); }
.top-social a:nth-child(4):hover { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); 
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4); 
    transform: translateY(-4px) rotate(8deg);
}

.top-social a:hover i {
    color: #ffffff;
}

.navbar {
    background: #ffffff; /* Solid white background */
    padding: 18px 0;
    position: absolute;
    width: 100%;
    top: 48px; /* Below top header */
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Custom width and padding for navbar container to give left and right side more space */
.navbar .container {
    max-width: 1400px;
    padding: 0 40px;
}

/* Abstract Navbar Background Shapes */
.navbar-bg-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.nav-blob {
    position: absolute;
    opacity: 0.75; /* Increased opacity from 0.2 to make morphing animation visible */
    filter: blur(40px); /* Smooth out the morphing shapes */
    animation: morphBlob 12s ease-in-out infinite alternate;
}

.nav-blob-1 {
    top: -50px; left: 10%;
    width: 250px; height: 150px;
    background: linear-gradient(135deg, rgba(82, 186, 125, 0.6), rgba(56, 189, 248, 0.4)); /* Mint Green to Electric Blue */
}

.nav-blob-2 {
    bottom: -80px; right: 20%;
    width: 300px; height: 180px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.5), rgba(82, 186, 125, 0.3)); /* Electric Blue to Mint Green */
    animation-delay: -3s;
    animation-duration: 18s;
}

.nav-blob-3 {
    top: -30px; left: 50%;
    width: 200px; height: 120px;
    background: linear-gradient(135deg, rgba(82, 186, 125, 0.5), rgba(56, 189, 248, 0.3));
    animation-delay: -7s;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    padding: 10px 0;
    background: #ffffff; /* Solid white background on scroll */
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.nav-logo-img {
    height: 65px; /* Slightly larger for better visibility */
    width: auto;
    max-width: min(232px, 48vw);
    object-fit: contain;
    display: block;
    image-rendering: auto;
    backface-visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar.sticky .nav-logo-img {
    height: 50px; /* Shrinks smoothly on scroll */
}

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

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li {
    position: relative;
}

.nav-menu ul a {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 20px;
    border-radius: 50px; /* Premium capsule shape */
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-menu ul a::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--bg-light);
    border-radius: 50px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.nav-menu ul a:hover::after, .nav-menu ul a.active::after {
    transform: scale(1);
    opacity: 1;
}

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

.nav-menu ul a i {
    font-size: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-menu li.dropdown:hover a i {
    transform: rotate(180deg);
}
/* Active Pill Styling for Dropdown Parent */
.nav-menu li.dropdown > a {
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu li.dropdown:hover > a,
.nav-menu li.dropdown > a.active {
    background-color: #ffffff !important;
    color: var(--secondary-color) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-menu li.dropdown:hover > a::after,
.nav-menu li.dropdown > a.active::after {
    display: none !important;
}
/* Modern Vertical Admin-Style Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    transform-origin: top left;
    transform: translateY(15px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    padding: 12px;
    z-index: 100;
}

/* Invisible bridge so mouse doesn't lose hover over the gap */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

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

.dropdown-menu li {
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin: 0;
}

.dropdown:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered entrance for dropdown items */
.dropdown:hover .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown:hover .dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
.dropdown:hover .dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
.dropdown:hover .dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }

.dropdown-menu a {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    color: #4b5563 !important; /* Admin panel grey text */
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    white-space: nowrap;
}

.dropdown-menu a .drop-icon {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-right: 12px;
    transition: all 0.25s ease;
    width: 20px;
    text-align: center;
}

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

.dropdown-menu a:hover {
    background: #e0f2fe !important; /* Soft active blue background */
    color: #0369a1 !important; /* Active blue highlight text */
}

.dropdown-menu a:hover .drop-icon {
    color: #0284c7; /* Active blue highlight icon */
    transform: scale(1.1);
}

/* Quote CTA Button - Electric Blue (Pill Shape for Navbar) */
.quote-btn {
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--accent-blue), #0284c7) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.quote-btn:hover {
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.5) !important;
    transform: translateY(-3px) scale(1.02) !important;
    color: #fff !important;
    background: linear-gradient(135deg, #0284c7, var(--accent-blue)) !important;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

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

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #f8fafc;
    image-rendering: high-quality;
    transform: scale(1.05); /* Start slightly zoomed in */
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .slide-img {
    transform: scale(1); /* Smooth Ken Burns zoom out */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary-color);
    border: 1px solid rgba(11, 46, 131, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 25px rgba(11, 46, 131, 0.3);
    border-color: transparent;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: var(--section-pad);
}

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

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.image-card {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    animation: floatImage 6s ease-in-out infinite;
}

.image-card::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    pointer-events: none;
}

.image-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 40px rgba(11, 46, 131, 0.15);
    transition: transform 0.5s ease;
}

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

.founder-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.founder-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-us {
    padding: var(--section-pad);
}

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

.why-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    z-index: 1;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(11, 46, 131, 0.08);
    z-index: 2;
}

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

.why-card .icon-box {
    width: 65px;
    height: 65px;
    background: rgba(36, 194, 122, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.why-card:hover .icon-box {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(36, 194, 122, 0.3);
    transform: rotateY(360deg) scale(1.1);
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.products {
    padding: var(--section-pad);
}

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

.product-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.product-img {
    position: relative;
    overflow: hidden;
}

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

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 46, 131, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 25px;
}

/* ==========================================================================
   Brands Section
   ========================================================================== */
.brands {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
    background-color: var(--primary-color); /* Fallback color */
    background-image: url('../images/a1.jpg'); /* New uploaded CNC image */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
}

.brands-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75); /* Darkened overlay for better text contrast */
    z-index: 1;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin-top: 50px;
    padding: 20px 0;
}

.brand-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85); /* Premium matte finish */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    height: 160px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Mystic Neon Inner Glow */
.brand-grid-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

/* Premium Shining Sweep Effect */
.brand-grid-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.8s ease;
    z-index: 1;
}

.brand-grid-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    background: #ffffff;
}

.brand-grid-item:hover::before {
    opacity: 1;
}

.brand-grid-item:hover::after {
    left: 200%;
    transition: all 1s ease-in-out;
}

.brand-grid-item img {
    height: 70px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2; /* Above the shine */
}

.brand-grid-item:hover img {
    filter: grayscale(0%) opacity(1) drop-shadow(0 10px 15px rgba(59, 130, 246, 0.3));
    transform: scale(1.18);
}

/* ==========================================================================
   Featured Brands Section
   ========================================================================== */
.featured-brands {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, #08111f 0%, #0f2f42 48%, #102033 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(82,186,125,0.03)" stroke-width="1"/></pattern></defs><rect width="1920" height="1080" fill="url(%23grid)"/></svg>');
    background-attachment: fixed;
    overflow: hidden;
}

.featured-brands::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(82, 186, 125, 0.1), transparent 30%, rgba(56, 189, 248, 0.1)),
                radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 34%);
    pointer-events: none;
    z-index: 0;
}

.featured-brands::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 16%, rgba(0, 0, 0, 0.18) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
    animation: brandsBgDrift 22s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 70px;
}

.featured-brands .section-subtitle {
    color: #7ee3a6;
}

.featured-brands .section-title {
    color: #ffffff;
    margin-bottom: 18px;
}

.featured-brands .section-title::after {
    content: '';
    display: block;
    width: 86px;
    height: 3px;
    margin: 20px auto 0;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-blue));
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-brands .section-header.active .section-title::after {
    transform: scaleX(1);
}

.brands-tagline {
    color: rgba(226, 232, 240, 0.84);
    font-size: 1.08rem;
    max-width: 620px;
    margin: 18px auto 0;
    line-height: 1.8;
}

.brands-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.brand-card-premium {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(2, 6, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.45s ease,
                opacity 0.55s ease;
    cursor: pointer;
    border: 1px solid rgba(148, 163, 184, 0.28);
    height: 280px;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(28px);
}

.brands-showcase.active .brand-card-premium {
    opacity: 1;
    transform: translateY(0);
    animation: brandCardIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.brands-showcase.active .brand-card-premium:nth-child(1) { animation-delay: 0.05s; }
.brands-showcase.active .brand-card-premium:nth-child(2) { animation-delay: 0.13s; }
.brands-showcase.active .brand-card-premium:nth-child(3) { animation-delay: 0.21s; }
.brands-showcase.active .brand-card-premium:nth-child(4) { animation-delay: 0.29s; }
.brands-showcase.active .brand-card-premium:nth-child(5) { animation-delay: 0.37s; }
.brands-showcase.active .brand-card-premium:nth-child(6) { animation-delay: 0.45s; }

.brand-card-premium::before,
.brand-card-premium::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.brand-card-premium::before {
    inset: 0;
    background:
        linear-gradient(135deg, rgba(82, 186, 125, 0.12), rgba(56, 189, 248, 0.08)),
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.92), transparent 42%);
    opacity: 1;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.brand-card-premium:hover::before {
    opacity: 0.62;
    transform: scale(1.04);
}

.brand-card-premium::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-blue), var(--secondary-color));
    background-size: 220% 100%;
    opacity: 0.95;
    z-index: 8;
    transform: scaleX(0.3);
    transform-origin: left;
    transition: height 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card-premium:hover::after {
    height: 6px;
    transform: scaleX(1);
}

.brand-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 34px 24px 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.brand-card-inner::before {
    content: '';
    position: absolute;
    inset: 26px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: var(--border-radius);
    box-shadow: inset 0 1px 14px rgba(15, 23, 42, 0.04);
    opacity: 1;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease;
    z-index: 0;
}

.brand-card-inner::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -75%;
    width: 42%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
    transform: rotate(18deg);
    transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.brand-card-premium:hover .brand-card-inner::before {
    transform: translateY(-5px) scale(0.98);
    border-color: rgba(82, 186, 125, 0.38);
}

.brand-card-premium:hover .brand-card-inner::after {
    left: 132%;
}

.brand-card-premium img {
    height: 92px;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 3;
    margin-bottom: 0;
}

.brand-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 78px;
    padding: 16px 24px 18px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(12, 58, 78, 0.97));
    text-align: center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.45s ease, box-shadow 0.45s ease;
    z-index: 4;
    border-top: 3px solid #52ba7d;
    transform: translateY(0);
}

.brand-overlay-info h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.brand-overlay-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    transform: translateY(0);
    transition: color 0.35s ease, transform 0.35s ease;
}

.brands-showcase.active .brand-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 56px rgba(2, 6, 23, 0.34), 0 0 0 3px rgba(82, 186, 125, 0.16);
    border-color: rgba(82, 186, 125, 0.55);
}

.brand-card-premium:hover img {
    transform: scale(1.08) translateY(-8px);
    filter: drop-shadow(0 18px 28px rgba(82, 186, 125, 0.3));
}

.brand-card-premium:hover .brand-overlay-info {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 1), rgba(17, 75, 95, 1));
    box-shadow: inset 0 10px 25px rgba(0, 0, 0, 0.2);
}

.brand-card-premium:hover .brand-overlay-info p {
    color: rgba(226, 232, 240, 0.98);
    transform: translateY(-2px);
}

@keyframes brandsBgDrift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 0, 240px 0; }
}

@keyframes brandCardIn {
    0% {
        opacity: 0;
        transform: translateY(26px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .featured-brands::after,
    .brands-showcase.active .brand-card-premium {
        animation: none;
    }

    .brand-card-premium,
    .brand-card-premium::before,
    .brand-card-premium::after,
    .brand-card-inner::after,
    .brand-card-inner::before,
    .brand-card-premium img,
    .brand-overlay-info,
    .brand-overlay-info p {
        transition: none;
    }
}

@media (max-width: 1200px) {
    .brands-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .featured-brands {
        padding: 80px 0;
    }

    .brands-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .brand-card-premium {
        height: 240px;
    }

    .brand-card-premium img {
        height: 78px;
    }

    .section-header {
        margin-bottom: 50px;
    }
}

/* ==========================================================================
   Achievements
   ========================================================================== */
.achievements {
    padding: 80px 0;
    background: var(--primary-color);
    color: #fff;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.counter-card h2 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.counter-card p {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    padding: var(--section-pad);
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 10px 0 18px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: testimonialMarquee 34s linear infinite;
}

.testimonial-slider:hover .testimonial-track {
    animation-play-state: paused;
}

.testi-card {
    flex: 0 0 410px;
    position: relative;
    min-height: 300px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 42px 38px 36px;
    border-radius: 18px;
    border: 1px solid rgba(203, 213, 225, 0.82);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.testi-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-blue));
}

.testi-card::after {
    content: '\f10d';
    position: absolute;
    top: 26px;
    right: 30px;
    z-index: -1;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 4.8rem;
    line-height: 1;
    color: rgba(15, 23, 42, 0.045);
    transition: transform 0.3s ease, color 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-8px);
    border-color: rgba(82, 186, 125, 0.45);
    background: #ffffff;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.13);
}

.testi-card:hover::after {
    transform: translateY(-4px) scale(1.05);
    color: rgba(82, 186, 125, 0.08);
}

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

.stars {
    display: inline-flex;
    gap: 4px;
    color: #f59e0b;
    margin-bottom: 22px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.16);
    font-size: 0.9rem;
}

.review-text {
    min-height: 108px;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 28px;
    color: #334155;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 22px;
    border-top: 1px solid rgba(203, 213, 225, 0.7);
}

.client-info img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.client-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.client-info span {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .testimonial-track {
        gap: 18px;
        animation-duration: 28s;
    }

    .testi-card {
        flex-basis: min(82vw, 340px);
        min-height: 320px;
        padding: 32px 28px 28px;
    }

    .review-text {
        min-height: 140px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-track {
        animation: none;
        transform: none;
    }

    .testimonial-slider {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    color: #fff;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: #e2e8f0;
    font-size: 1.2rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: var(--section-pad);
    background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 250, 252, 0.9);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.contact-info {
    padding: 50px;
    background: var(--primary-color);
    color: #fff;
}

.contact-info h2 {
    color: #fff;
}

.contact-info p {
    color: #e2e8f0;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--secondary-color);
}

.info-item h4 {
    color: #fff;
    margin: 0 0 5px 0;
}

.info-item p {
    margin: 0;
}

.contact-form-area {
    padding: 50px;
    background: #fff;
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(36, 194, 122, 0.1);
}

textarea.form-control {
    resize: vertical;
}

/* ==========================================================================
   Footer - Premium Modern Layout
   ========================================================================== */
.footer {
    position: relative;
    background: linear-gradient(180deg, #060914 0%, #090f1d 36%, #061021 100%);
    color: #cbd5e1;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(82, 186, 125, 0.16), transparent 20%),
                radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 18%);
    pointer-events: none;
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 32px;
    margin-bottom: 60px;
    z-index: 1;
}

.footer-grid > div {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.footer-about {
    max-width: 460px;
    padding-right: 10px;
}

.footer-logo {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .footer-logo {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        width: 110px;
    }
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.78);
}

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

.footer-social a {
    display: inline-flex;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #ffffff;
    transform: translateY(-4px);
}

.footer-social a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.footer-social a:focus-visible {
    outline: 3px solid rgba(82, 186, 125, 0.35);
    outline-offset: 3px;
}

.footer h4 {
    color: #f8fafc;
    margin-bottom: 16px;
    font-size: 1.12rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0;
}

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

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 6px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary-color);
    opacity: 0.85;
    transform: translateX(-8px);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links a:hover::before {
    transform: translateX(0);
    opacity: 1;
}

.footer-newsletter p {
    font-size: 0.96rem;
    margin-bottom: 22px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 6px;
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: rgba(56, 189, 248, 0.9);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    background: transparent;
    color: #ffffff;
    outline: none;
    font-size: 0.95rem;
    min-width: 0;
}

.newsletter-form input::placeholder {
    color: rgba(203, 213, 225, 0.7);
}

.newsletter-form button {
    padding: 0 24px;
    min-width: 120px;
    background: linear-gradient(135deg, var(--secondary-color), #3f9a65);
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 18px rgba(82, 186, 125, 0.25);
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(82, 186, 125, 0.3);
}

.footer-bottom {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 28px 0;
    font-size: 0.92rem;
    color: rgba(203, 213, 225, 0.68);
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   Floating Elements & Animations - Premium Polish
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #1ebd5a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

/* Glowing Pulsing Ring around WhatsApp */
.floating-wa::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 2px solid #25D366;
    border-radius: 50%;
    animation: pulseRing 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), #0284c7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-glow-blue);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .top-header {
        display: none;
    }
    
    .navbar {
        top: 0;
        padding: 10px 0;
    }
    
    .nav-logo-img {
        height: 40px !important;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        transition: 0.4s;
        padding: 20px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .quote-btn {
        margin-top: 20px;
        width: 100%;
    }
    
    /* Mobile Dropdown Menu Styles */
    .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        background: #f9fafb !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        min-width: auto !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06) !important;
        border-radius: 0 !important;
        border: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0 !important;
        overflow: visible !important;
        transition: all 0.3s ease !important;
        gap: 0 !important;
        pointer-events: none !important;
    }
    
    .dropdown.open .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #f0f0f0 !important;
        pointer-events: auto !important;
    }
    
    .dropdown.open > a i {
        transform: rotate(180deg);
    }
    
    .dropdown-menu li {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        border: none !important;
    }
    
    .dropdown-menu a {
        padding: 10px 20px !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        color: #4b5563 !important;
    }
    
    .dropdown-menu a .drop-icon {
        font-size: 1rem !important;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer {
        padding-top: 50px;
        padding-bottom: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .footer-links h4,
    .footer-about h4,
    .footer-newsletter h4 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   About Us Page Specific Styles
   ========================================================================== */
.page-hero {
    padding: 180px 0 100px;
    background: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.animated-gradient {
    background: linear-gradient(-45deg, #0B2E83, #1e3a8a, #24C27A, #1ea366);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.page-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.contact-page-hero {
    min-height: 360px;
    padding: 150px 0 80px;
    background-color: #07111f;
    background-image: url('../images/contact_baneer.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.contact-page-hero .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 17, 31, 0.68), rgba(7, 17, 31, 0.18) 48%, rgba(7, 17, 31, 0.68));
    backdrop-filter: none;
}

@media (max-width: 768px) {
    .contact-page-hero {
        min-height: 300px;
        padding: 130px 0 70px;
        background-size: cover;
    }
}

.breadcrumb {
    font-size: 1.1rem;
    color: #cbd5e1;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb .current {
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb span {
    margin: 0 10px;
}

/* Company Story Timeline */
.company-story {
    padding: var(--section-pad);
}

.max-w-700 {
    max-width: 700px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-white);
    border: 4px solid var(--secondary-color);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--shadow-glow);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 25px;
    background: #fff;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Founder Details */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
}

.founder-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.founder-text h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.founder-text .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.founder-text p:last-child {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-main);
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
}

/* Mission Vision Cards */
.mission-vision {
    padding: var(--section-pad);
}

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

.mv-card {
    padding: 50px;
    text-align: center;
    background: #fff;
    transition: var(--transition);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.mv-icon {
    width: 80px;
    height: 80px;
    background: rgba(36, 194, 122, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.mv-card:hover .mv-icon {
    background: var(--secondary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Showcase Section */
.showcase {
    padding: var(--section-pad);
}

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

.showcase-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 350px;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 46, 131, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.showcase-overlay h4 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.showcase-item:hover .showcase-overlay h4 {
    transform: translateY(0);
    opacity: 1;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 90px 0;
    color: #fff;
    background: linear-gradient(135deg, rgba(6, 36, 67, 0.98), rgba(15, 23, 42, 0.98));
    overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.8;
}

.cta-banner::before {
    background: radial-gradient(circle at 20% 20%, rgba(82, 186, 125, 0.24), transparent 22%),
                radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.18), transparent 18%);
}

.cta-banner::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05) 100%);
    mix-blend-mode: screen;
    animation: ctaShimmer 12s ease-in-out infinite;
}

.cta-banner .floating-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.55;
    pointer-events: none;
    animation: ctaGlowMove 18s ease-in-out infinite;
}

.cta-banner .floating-glow.glow-1 {
    top: 20%;
    left: 10%;
    background: rgba(82, 186, 125, 0.18);
}

.cta-banner .floating-glow.glow-2 {
    bottom: 15%;
    right: 8%;
    width: 280px;
    height: 280px;
    background: rgba(56, 189, 248, 0.12);
    animation-delay: 4s;
}

.cta-banner .cta-panel {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    overflow: hidden;
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 3rem;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 660px;
    margin: 0 auto;
}

.cta-banner .cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.cta-banner .btn-secondary {
    min-width: 240px;
    padding: 16px 42px;
    font-size: 0.98rem;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    border-radius: 999px;
}

.cta-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(82, 186, 125, 0.22);
}

@keyframes ctaGlowMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

@keyframes ctaShimmer {
    0%, 100% { opacity: 0.08; transform: translateX(-20px); }
    50% { opacity: 0.18; transform: translateX(20px); }
}

/* Responsive specific */
.cta-banner .btn-secondary:hover {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.cta-banner .btn-secondary::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
}

.brands-consultation-cta {
    background-image: url('../images/tec_p2 (2).png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #020814;
    min-height: clamp(560px, 43.7vw, 829px);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    padding: 0;
}

.brands-consultation-cta::before {
    background: linear-gradient(180deg, rgba(2, 8, 20, 0) 0%, rgba(2, 8, 20, 0.2) 68%, rgba(2, 8, 20, 0.62) 100%);
    z-index: -1;
}

.brands-consultation-cta::after {
    background: none;
    z-index: -1;
}

.brands-consultation-cta .container {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: 24px 28px;
    text-align: left;
    margin: 0 max(24px, calc((100vw - 1200px) / 2)) 38px auto;
    background: rgba(2, 8, 20, 0.58);
    border: 1px solid rgba(73, 147, 255, 0.24);
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

.brands-consultation-cta h2 {
    color: #ffffff;
    max-width: 470px;
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.brands-consultation-cta p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 460px;
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.05vw, 1.06rem);
    font-weight: 500;
    line-height: 1.65;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.brands-consultation-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.42);
}

.brands-consultation-cta .cta-buttons {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .brands-consultation-cta {
        background-image: url('../images/tec_p1 (1).png');
        background-color: #020814;
        min-height: 640px;
        background-position: center center;
        background-size: cover;
        padding: 0;
    }

    .brands-consultation-cta::before {
        background: linear-gradient(180deg, rgba(2, 8, 20, 0) 0%, rgba(2, 8, 20, 0.22) 50%, rgba(2, 8, 20, 0.76) 100%);
    }

    .brands-consultation-cta .container {
        text-align: center;
        margin: 0 auto 28px;
        width: calc(100% - 32px);
        padding: 24px 20px;
    }

    .brands-consultation-cta h2 {
        font-size: 1.9rem;
        line-height: 1.14;
    }

    .brands-consultation-cta .cta-buttons {
        justify-content: center;
    }

    .brands-consultation-cta .btn-secondary {
        width: min(100%, 280px);
    }
}

/* Responsive specific */
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }

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

/* ==========================================================================
   Products Page Styles
   ========================================================================== */
.product-hero {
    background: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    padding: 180px 0 100px;
    position: relative;
}

.catalog-section {
    padding: var(--section-pad);
    background-color: var(--bg-light);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
    gap: 20px;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.search-box input:focus {
    border-color: var(--secondary-color);
}

.search-box button {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: #1ea366;
}

.category-filter select {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    background: #fff;
}

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

.catalog-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.catalog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    pointer-events: none;
}

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

.catalog-card:hover::after {
    border-color: var(--secondary-color);
}

.catalog-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.catalog-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.badge {
    background: rgba(36, 194, 122, 0.1);
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 10px;
}

.catalog-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.catalog-info p {
    flex: 1;
    font-size: 0.95rem;
}

.catalog-card .btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-top: auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-main);
}

.page-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.page-btn.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   Product Detail Page Styles
   ========================================================================== */
.detail-hero {
    background: url('https://images.unsplash.com/photo-1565514020179-026b92b84bb6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

.product-detail-section {
    padding: 80px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #fff;
}

.main-image img {
    width: 100%;
    display: block;
}

.short-desc {
    font-size: 1.2rem;
    color: var(--text-main);
}

.detail-specs {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.detail-specs h4 {
    margin-bottom: 15px;
}

.detail-specs ul {
    list-style: none;
}

.detail-specs li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.detail-specs li:last-child {
    border-bottom: none;
}

.long-desc-area {
    padding: 40px;
}

.inquiry-section {
    padding: var(--section-pad);
}

.related-products {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
    }
    .search-box {
        max-width: 100%;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Why Choose Us Banner (Index Page)
   ========================================================================== */
.why-choose-us-banner {
    background: linear-gradient(135deg, #07131f 0%, #0d243d 38%, #102d44 100%);
    position: relative;
    padding: 90px 0;
    color: #f8fafc;
    overflow: visible;
}

.why-choose-us-banner .why-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(82, 186, 125, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(7, 19, 31, 0.76) 0%, rgba(11, 29, 48, 0.88) 38%, rgba(15, 23, 42, 0.92) 100%);
    z-index: 1;
}

.why-flex-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}

.why-list-content {
    max-width: 720px;
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-cta-wrap {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.why-cta {
    padding: 16px 38px;
    min-width: 220px;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border: none;
    color: #ffffff;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1ba860 100%);
    box-shadow: 0 18px 36px rgba(36, 194, 122, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.why-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(36, 194, 122, 0.26);
    opacity: 0.98;
}

.why-cta:active {
    transform: translateY(-1px);
}

.why-title {
    font-size: clamp(2.6rem, 4.6vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    position: relative;
    display: block;
    line-height: 1.02;
    text-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.why-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-blue));
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(56, 189, 248, 0.35);
}

.why-intro {
    margin: 0 0 20px;
    padding: 0;
    color: rgba(248, 250, 252, 0.88);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 680px;
    position: relative;
}

.why-choose-us-banner .btn-primary.outline {
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    background: transparent;
}

.why-intro::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 70%);
    transform: translateX(-120%);
    animation: whyIntroSheen 5s ease-in-out infinite;
    pointer-events: none;
}

.why-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.why-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 92px;
    background: rgba(255, 255, 255, 0.08);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    animation: whyItemRise 0.56s cubic-bezier(0.22,0.98,0.3,1) both;
    animation-delay: calc(var(--why-delay, 0s) + 0.06s);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.why-list li::after {
    content: '';
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(82, 186, 125, 0.12);
    transition: transform 0.3s ease, background 0.3s ease;
}

.why-list li:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
    border-color: rgba(82, 186, 125, 0.16);
}

.why-list li:hover::after {
    transform: scale(1.25);
    background: rgba(56, 189, 248, 0.14);
}

.why-list li i {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(82, 186, 125, 0.18);
    color: #ffffff;
    font-size: 1.15rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 8px 20px rgba(82, 186, 125, 0.12);
}

.why-list li:hover i {
    background: rgba(56, 189, 248, 0.22);
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
    transform: scale(1.1);
}

.why-list li div {
    position: relative;
    z-index: 1;
}

.why-list li strong {
    display: block;
    color: #f8fafc;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 6px;
}

.why-list li span {
    display: block;
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.96rem;
    line-height: 1.6;
}

.why-logo-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
    justify-content: center;
}

/* Premium Glass Impact Card */
.glass-impact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    padding: 32px 26px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    min-height: 240px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.why-image-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    overflow: hidden;
    min-height: 260px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.why-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.glass-impact-card .logo-large,
.glass-impact-card .impact-text {
    width: 100%;
}

.why-card-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Internal Glow */
.glass-impact-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

.glass-impact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 35px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(56, 189, 248, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.glass-impact-card:hover::before {
    opacity: 1;
}

.glass-impact-card .logo-large h2 {
    font-size: 2.6rem;
    color: #ffffff;
    margin-bottom: 6px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.glass-impact-card .logo-large h2 span {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

.impact-text {
    font-size: 0.98rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.78);
    letter-spacing: 0.2px;
    line-height: 1.5;
    margin-top: 10px;
}

/* CTA outline hover for this section */
.why-choose-us-banner .btn-primary.outline:hover {
    background: linear-gradient(135deg, var(--secondary-color), #1ba860);
    color: #fff;
    border-color: transparent;
}

.glass-impact-card:hover .impact-text {
    color: #ffffff;
    transform: translateX(5px);
}

@keyframes whyIntroSheen {
    0%, 55% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

@keyframes whyItemRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .why-flex-container {
        flex-direction: column;
    }
    .why-list {
        grid-template-columns: 1fr;
    }
    .glass-impact-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .why-choose-us-banner {
        padding: 72px 0;
        background-attachment: scroll;
    }

    .why-intro {
        padding: 20px;
        font-size: 0.98rem;
    }
}

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

@media (max-width: 576px) {
    .brand-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Clients Section
   ========================================================================== */
.clients {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 1;
}

/* Abstract Liquid Background Shapes */
.bg-blobs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    opacity: 0.8;
    animation: morphBlob 15s ease-in-out infinite alternate;
}

.blob-1 {
    top: -15%;
    left: -10%;
    width: 650px;
    height: 650px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(0, 242, 254, 0.4));
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 750px;
    height: 750px;
    background: linear-gradient(135deg, rgba(0, 91, 234, 0.1), rgba(0, 198, 251, 0.3));
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes morphBlob {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: scale(1) rotate(0deg); }
    33% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%; transform: scale(1.05) rotate(15deg); }
    66% { border-radius: 50% 50% 20% 80% / 20% 80% 60% 40%; transform: scale(0.95) rotate(-15deg); }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: scale(1) rotate(0deg); }
}

.wireframe-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 198, 255, 0.4);
}

.wireframe-ring::before,
.wireframe-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 198, 255, 0.3);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.wireframe-ring::before { width: 130%; height: 130%; border: 1px solid rgba(0, 198, 255, 0.2); }
.wireframe-ring::after { width: 160%; height: 160%; }

.ring-1 {
    top: 15%; right: 5%;
    width: 180px; height: 180px;
    animation: floatShape 8s ease-in-out infinite;
}

.ring-2 {
    bottom: 15%; left: 10%;
    width: 120px; height: 120px;
    animation: floatShape 10s ease-in-out infinite reverse;
}

@keyframes floatShape {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Circular Flower Layout */
.flower-layout {
    position: relative;
    width: 920px;
    height: 920px;
    margin: 100px auto 140px;
    border-radius: 50%;
    animation: spinFlower 40s linear infinite;
    perspective: 1000px;
}

/* Pause the massive rotation when hovering so you can actually read the logos */
.flower-layout:hover {
    animation-play-state: paused;
}

@keyframes spinFlower {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flower-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    background: linear-gradient(135deg, #0b0f19, #020617);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    z-index: 5;
    /* Counter spin so text is always upright! */
    animation: counterSpinCenter 40s linear infinite;
    transition: scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* Independent scale hover to preserve active counter spin rotation */
.flower-center:hover {
    scale: 1.08;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(56, 189, 248, 0.3);
    cursor: pointer;
}

/* Breathing Aura Glow Behind the Center */
.flower-center::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
    z-index: -1;
    opacity: 0.7;
    filter: blur(10px);
    animation: centerPulse 3s ease-in-out infinite alternate;
}

@keyframes centerPulse {
    0% { transform: scale(0.95); opacity: 0.4; filter: blur(6px); }
    100% { transform: scale(1.08); opacity: 0.85; filter: blur(14px); }
}

/* Crisp Circular Gradient Border */
.flower-center::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.flower-layout:hover .flower-center {
    animation-play-state: paused;
}

@keyframes counterSpinCenter {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2; /* Keep above masked gradient borders */
}

.center-content .flower-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-blue);
    margin-bottom: 6px;
}

.center-content .flower-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.flower-petal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px; /* Unified to 100px for balanced logo-to-logo spacing */
    height: 100px;
    margin: -50px 0 0 -50px;
    /* Distribute the 8 petals evenly at 45 degree intervals around a 230px radius */
    transform: rotate(calc(45deg * var(--i))) translateX(230px);
    z-index: 2;
    /* Confine hues to Mint Green brand colors */
    --hue: calc(135 + var(--i) * 3);
    --petal-color: hsl(var(--hue), 65%, 52%);
    --petal-dark: hsl(var(--hue), 70%, 38%);
}

/* Outer concentric ring for additional clients */
.flower-petal.outer {
    width: 100px; /* Unified to 100px for symmetry and spacing */
    height: 100px;
    margin: -50px 0 0 -50px;
    /* Distribute the 12 petals evenly at 30 degree intervals around a 410px radius (balanced layer-to-layer spacing) */
    transform: rotate(calc(30deg * var(--i))) translateX(410px);
    z-index: 1; /* Outer sits slightly behind inner */
    /* Confine hues to Electric Blue brand colors */
    --hue: calc(195 + var(--i) * 2);
    --petal-color: hsl(var(--hue), 85%, 56%);
    --petal-dark: hsl(var(--hue), 90%, 42%);
}

/* Origami Flower Petal Outer Design */
.flower-petal::before {
    content: '';
    position: absolute;
    top: -25px; left: -25px; right: -25px; bottom: -25px;
    border-radius: 50%;
    /* Two-tone striped origami effect matching the reference image */
    border: 25px solid var(--petal-color);
    border-top-color: var(--petal-dark);
    border-left-color: transparent; /* Opening faces the center */
    transform: rotate(45deg);
    z-index: -1;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.flower-petal:hover::before {
    transform: rotate(45deg) scale(1.8); /* Scale the outer flower ring with the celebrity card */
    box-shadow: 20px 20px 40px rgba(0,0,0,0.3);
}

.petal-counter-spin {
    width: 100%;
    height: 100%;
    /* Counter spin offsets BOTH the petal angle AND the container spin */
    animation: counterSpinPetal 40s linear infinite;
}

.flower-petal.outer .petal-counter-spin {
    animation: counterSpinPetalOuter 40s linear infinite;
}

.flower-layout:hover .petal-counter-spin {
    animation-play-state: paused;
}

@keyframes counterSpinPetal {
    0% { transform: rotate(calc(-45deg * var(--i))); }
    100% { transform: rotate(calc(-45deg * var(--i) - 360deg)); }
}

@keyframes counterSpinPetalOuter {
    0% { transform: rotate(calc(-30deg * var(--i))); }
    100% { transform: rotate(calc(-30deg * var(--i) - 360deg)); }
}

.client-card {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%; /* Pure round like reference */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    will-change: transform;
}

/* Blank Card Placeholders for Outer Ring */
.client-card.blank-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(56, 189, 248, 0.3);
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.blank-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blank-placeholder i {
    font-size: 1.8rem;
    color: var(--accent-blue);
    opacity: 0.7;
    transition: all 0.4s ease;
}

/* Hover effects for blank card */
.flower-layout .petal-counter-spin:hover .client-card.blank-card {
    background: #ffffff;
    border: 3px solid var(--secondary-color);
}

.flower-layout .petal-counter-spin:hover .client-card.blank-card .blank-placeholder i {
    color: var(--secondary-color);
    transform: scale(1.1);
    opacity: 1;
}

/* Hover Round Animation & Celebrity Growth */
/* Fans step back */
.flower-layout:hover .client-card {
    transform: scale(0.75);
    opacity: 0.4;
    filter: blur(2px) grayscale(100%);
}

/* Celebrity scales up */
.flower-petal:hover {
    z-index: 20; /* Ensure hovered petal pops over others */
}

.flower-layout .petal-counter-spin:hover .client-card {
    transform: scale(1.8);
    opacity: 1;
    filter: blur(0) grayscale(0%);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.5);
    border: 3px solid var(--secondary-color);
}

.client-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.flower-layout .petal-counter-spin:hover .client-card::before {
    width: 100%;
    height: 100%;
    animation: rotateRound 4s linear infinite;
}

.client-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: grayscale(100%);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.flower-layout .petal-counter-spin:hover .client-card img {
    max-height: 80px;
    transform: scale(1.2);
    filter: grayscale(0%);
}

@keyframes rotateRound {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive adjustments for the Flower Layout */
@media (max-width: 992px) {
    .flower-layout {
        transform: scale(0.75);
        margin: -30px auto;
    }
}

@media (max-width: 768px) {
    .flower-layout {
        transform: scale(0.55);
        margin: -100px auto;
    }
}

@media (max-width: 480px) {
    .flower-layout {
        transform: scale(0.38);
        margin: -160px auto;
    }
}

/* ==========================================================================
   Quick Contact Section - Premium Glassmorphism Design
   ========================================================================== */
.contact {
    padding: 120px 0;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

/* Background Video Styling */
.contact-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.65;
}

/* Animated CSS Background Fallback Blobs (Uses Brand Colors) */
.css-video-bg, .css-video-bg-2, .css-video-bg-3 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    filter: blur(100px);
    will-change: transform;
    transition: opacity 1s ease-in-out;
}

/* Mint Green Blob */
.css-video-bg {
    width: 65vw;
    height: 65vw;
    top: -25%;
    left: -15%;
    background: radial-gradient(circle, rgba(82, 186, 125, 0.45) 0%, transparent 70%);
    animation: floatBg1 25s infinite alternate ease-in-out;
}

/* Electric Blue Blob */
.css-video-bg-2 {
    width: 55vw;
    height: 55vw;
    bottom: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, transparent 70%);
    animation: floatBg2 30s infinite alternate ease-in-out;
}

/* Deep Navy/Teal Blend Blob */
.css-video-bg-3 {
    width: 50vw;
    height: 50vw;
    top: 15%;
    left: 20%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(82, 186, 125, 0.2) 60%, transparent 80%);
    animation: floatBg3 22s infinite alternate ease-in-out;
}

@keyframes floatBg1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8vw, 5vh) scale(1.1); }
    100% { transform: translate(-4vw, 10vh) scale(0.95); }
}

@keyframes floatBg2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-6vw, -8vh) scale(0.9); }
    100% { transform: translate(4vw, 4vh) scale(1.15); }
}

@keyframes floatBg3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10vw, -4vh) scale(1.15); }
    100% { transform: translate(-8vw, 6vh) scale(0.9); }
}

/* Hide CSS Blobs when video is successfully playing */
.contact.video-playing .css-video-bg,
.contact.video-playing .css-video-bg-2,
.contact.video-playing .css-video-bg-3 {
    opacity: 0;
}

.contact-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(2, 6, 23, 0.85) 100%);
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 0 auto;
    max-width: 1100px;
    position: relative;
}

.contact-info {
    background: rgba(15, 23, 42, 0.35);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-blue));
}

.contact-info h2 {
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 45px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.info-item:hover {
    transform: translateX(8px);
}

.info-item i {
    font-size: 1.3rem;
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(82, 186, 125, 0.15) 100%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-right: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover i {
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(82, 186, 125, 0.3);
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
}

.info-item h4 {
    color: #f1f5f9;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.info-item p {
    color: #94a3b8;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-area {
    padding: 60px 45px;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-area .form-group {
    margin-bottom: 22px;
    position: relative;
}

.contact-form-area .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.4);
    font-size: 1rem;
    color: #f8fafc;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(5px);
}

.contact-form-area .form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(15, 23, 42, 0.65);
    box-shadow: 
        0 0 0 4px rgba(56, 189, 248, 0.15), 
        0 0 20px rgba(56, 189, 248, 0.1);
}

.contact-form-area .form-control::placeholder {
    color: #64748b;
}

.contact-form-area select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.contact-form-area select.form-control option {
    background-color: #0f172a;
    color: #f8fafc;
}

/* Premium Submit Button Design */
.contact-btn {
    min-height: 58px;
    background: linear-gradient(135deg, #52ba7d 0%, #1ba860 100%);
    border: 1px solid rgba(82, 186, 125, 0.35);
    color: #fff;
    padding: 16px 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 28px rgba(27, 168, 96, 0.28);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 10px;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    z-index: -1;
}

.contact-btn:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 18px 34px rgba(27, 168, 96, 0.38), 0 0 0 4px rgba(82, 186, 125, 0.12);
}

.contact-btn:hover::before {
    left: 135%;
}

.contact-btn:focus-visible {
    outline: 3px solid rgba(82, 186, 125, 0.35);
    outline-offset: 4px;
}

.contact-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(27, 168, 96, 0.28);
}

.contact-btn i {
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: translate(5px, -3px) rotate(-8deg);
}

/* Mobile Responsive Override */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .contact-info {
        padding: 50px 30px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .contact-info::before {
        top: 0; left: 0; width: 100%; height: 4px;
        background: linear-gradient(to right, var(--secondary-color), var(--accent-blue));
    }
    .contact-form-area {
        padding: 50px 30px;
    }
}

/* ==========================================================================
   DYNAMIC PRODUCTS PAGE
   ========================================================================== */

/* Filter Bar */
.catalog-section {
    padding: 60px 0 100px;
    background: #f8fafc;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 5px 15px;
    flex-grow: 1;
    max-width: 400px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 10px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #334155;
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.search-box button:hover {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.category-filter select {
    padding: 12px 40px 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #334155;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    transition: all 0.3s ease;
}

.category-filter select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Product Grid Layout */
.product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* Premium Product Card */
.catalog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    /* Gradient Border Setup */
    background-clip: padding-box;
    border: 2px solid transparent;
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

/* Hover Effects */
.catalog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.catalog-card:hover::before {
    opacity: 1; /* Reveal Gradient Border */
}

.catalog-img {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.catalog-card:hover .catalog-img img {
    transform: scale(1.12); /* Zoom Animation */
}

.catalog-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 1;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.catalog-info .badge {
    align-self: flex-start;
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.catalog-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.catalog-info p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.catalog-info .btn-primary {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--border-radius);
}

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

.page-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius); /* Standardized */
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover, .page-btn.active {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   BRANDS SHOWCASE PAGE
   ========================================================================== */

/* Hero */
.brands-hero {
    /* Use gradient only here â€” slideshow provides the images */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(6, 36, 67, 0.94));
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    --hero-slide-duration: 6000ms; /* default slide display time */
    --hero-kenburns-duration: 11000ms; /* default kenburns length */
}

.brands-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(82, 186, 125, 0.15), transparent 25%),
                radial-gradient(circle at 85% 70%, rgba(56, 189, 248, 0.12), transparent 22%);
    pointer-events: none;
    z-index: 1;
}

.brands-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2;
}

/* Hero background slideshow */
.hero-bg-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-slideshow .slide {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform-origin: center center;
    transition: opacity 1.2s ease-in-out;
}

.hero-bg-slideshow .slide.active {
    opacity: 1;
    visibility: visible;
    animation: kenburns var(--hero-kenburns-duration) ease-in-out both, slideFade var(--hero-slide-duration) ease-in-out both;
}

/* Opt-out: static slide should not animate or be transitioned */
.hero-bg-slideshow .slide.static {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Polished static-image treatment: soft entrance + color wash + vignette */
.hero-bg-slideshow .slide.static {
    animation: staticEntrance 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: opacity, transform;
}

.hero-bg-slideshow .slide.static::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* subtle mint + blue wash to tie into brand colors */
    background: linear-gradient(120deg, rgba(82,186,125,0.08), rgba(56,189,248,0.06));
    mix-blend-mode: overlay;
    opacity: 0.95;
}

.brands-hero .hero-overlay {
    /* slightly lighter overlay so static image shows through but text remains readable */
    background: linear-gradient(180deg, rgba(15,23,42,0.36) 0%, rgba(15,23,42,0.62) 55%, rgba(15,23,42,0.78) 100%);
}

/* soft vignette and glow to focus center */
.brands-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
    z-index: 1;
}

@keyframes staticEntrance {
    0% { opacity: 0; transform: scale(1.06); filter: blur(1px); }
    60% { opacity: 1; transform: scale(1.01); filter: blur(0.2px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes kenburns {
    0% { transform: scale(1.03) translateY(0); }
    50% { transform: scale(1.12) translateY(-6px); }
    100% { transform: scale(1.08) translateY(0); }
}

/* soft crossfade between slides using opacity */
@keyframes slideFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { opacity: 0; }
}

/* small decorative floating glows on hero */
.brands-hero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(82,186,125,0.12), transparent 30%);
    filter: blur(30px);
    left: -60px;
    top: 10%;
    z-index: 1;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-slideshow .slide,
    .brands-hero h1,
    .brands-hero .breadcrumb {
        animation: none !important;
        transition: none !important;
    }
}

/* shimmer and vignette for a premium finish */
.brands-hero .container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    width: 80%;
    height: 36%;
    transform: translateX(-50%) rotate(-4deg);
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    filter: blur(30px);
    opacity: 0.0;
    z-index: 4;
    pointer-events: none;
    animation: shimmer 3.6s linear infinite;
}

.brands-hero::before {
    /* darker vignette to anchor content */
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
}

@keyframes shimmer {
    0% { opacity: 0; transform: translateX(-40%) rotate(-4deg); }
    10% { opacity: 0.22; }
    50% { opacity: 0.08; transform: translateX(40%) rotate(-4deg); }
    90% { opacity: 0.18; }
    100% { opacity: 0; transform: translateX(80%) rotate(-4deg); }
}

/* Ensure single-slide still animates softly with kenburns */
.hero-bg-slideshow .slide {
    will-change: transform, opacity;
}

/* Fallback background color in case images missing */
.brands-hero {
    background-color: #071020;
}

.brands-hero .container {
    position: relative;
    z-index: 3;
    animation: heroSlideUp 0.8s ease-out;
}

.brands-hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: titleFadeIn 0.9s ease-out 0.2s both;
}

.brands-hero .breadcrumb {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    animation: breadcrumbFadeIn 0.9s ease-out 0.4s both;
}

.brands-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.brands-hero .breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), rgba(82, 186, 125, 0.5));
    transition: width 0.3s ease;
}

.brands-hero .breadcrumb a:hover {
    color: var(--secondary-color);
}

.brands-hero .breadcrumb a:hover::after {
    width: 100%;
}

.brands-hero .breadcrumb .current {
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brands-hero .breadcrumb span {
    margin: 0 12px;
    opacity: 0.7;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breadcrumbFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .brands-hero {
        padding-top: 140px;
        padding-bottom: 100px;
    }

    .brands-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .brands-hero {
        padding-top: 120px;
        padding-bottom: 80px;
        min-height: 400px;
    }

    .brands-hero h1 {
        font-size: 2.8rem;
    }

    .brands-hero .breadcrumb {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .brands-hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: 320px;
    }

    .brands-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .brands-hero .breadcrumb {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
}

/* Brands Grid */
.brands-showcase-section {
    padding: 100px 0;
    background: #f8fafc;
}

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

/* Premium Brand Card */
.brand-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.02);
}

/* Hover Glow Effect */
.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.2); /* Outer Blue Glow */
    border-color: rgba(59, 130, 246, 0.3);
}

/* Logo Animation inside Card */
.brand-logo-wrapper {
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.brand-logo-wrapper img {
    max-width: 160px;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7); /* Starts greyed out */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-card:hover .brand-logo-wrapper img {
    filter: grayscale(0%) opacity(1); /* Full color on hover */
    transform: scale(1.15); /* Logo Zoom Animation */
}

/* Overlay that appears on hover */
.brand-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.brand-overlay h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.brand-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.brand-card:hover .brand-overlay {
    bottom: 0;
}

.brand-card:hover .brand-overlay h3,
.brand-card:hover .brand-overlay span {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   8. INDUSTRIAL MACHINE SHOWCASE STYLES
   ========================================================================== */
.industrial-showcase {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(243, 244, 246, 0.6) 0%, rgba(249, 250, 251, 1) 90.1%);
    overflow: hidden;
}

.industrial-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
}

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

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

@media (max-width: 768px) {
    .industrial-grid {
        grid-template-columns: 1fr;
    }
}

.industrial-item {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Background Radial Glow Effect behind the transparency */
.industrial-item::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.industrial-img-wrapper {
    width: 80%;
    height: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industrial-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Animated Overlay */
.industrial-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.4) 75%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 35px;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industrial-info {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    width: 100%;
}

.ind-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.industrial-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.industrial-info p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ind-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.ind-btn i {
    transition: transform 0.3s ease;
}

.ind-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.ind-btn:hover i {
    transform: translateX(5px);
}

/* Hover States & Micro-animations */
.industrial-item:hover {
    transform: translateY(-12px);
    border-color: rgba(82, 186, 125, 0.3);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.industrial-item:hover::before {
    transform: translate(-50%, -50%) scale(1.4);
    background: radial-gradient(circle, rgba(82, 186, 125, 0.15) 0%, rgba(82, 186, 125, 0) 70%);
}

.industrial-item:hover .industrial-img-wrapper {
    transform: scale(0.9) translateY(-10px);
}

.industrial-item:hover .industrial-img-wrapper img {
    filter: drop-shadow(0 25px 35px rgba(82, 186, 125, 0.25));
}

.industrial-item:hover .industrial-overlay {
    opacity: 1;
    visibility: visible;
}

.industrial-item:hover .industrial-info {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   WONDER DIGIMECH - COMPANY STORY & TIMELINE STYLES
   ========================================================================== */
.company-story {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.company-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

@media (max-width: 991px) {
    .company-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.company-intro-text h2 {
    margin-bottom: 25px;
}

.intro-lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
}

.intro-badge-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.intro-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(15, 23, 42, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.intro-badge:hover {
    background: rgba(15, 23, 42, 0.06);
    transform: translateX(8px);
    border-color: rgba(82, 186, 125, 0.3);
}

.intro-badge i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
}

.intro-badge:hover i {
    transform: scale(1.15) rotate(15deg);
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(82, 186, 125, 0.4);
}

.intro-badge span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.company-intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (max-width: 991px) and (min-width: 576px) {
    .company-intro-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* 3D Parallax Tilt Ready Cards */
.stat-glass-card {
    background: radial-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(243,244,246,0.8) 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.stat-glass-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1), 0 0 20px rgba(82, 186, 125, 0.1);
    border-color: rgba(82, 186, 125, 0.2);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color); /* Emphasize with Logo Mint Green */
    line-height: 1;
    margin-bottom: 10px;
    transform: translateZ(30px);
    text-shadow: 0 10px 20px rgba(82, 186, 125, 0.15);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateZ(15px);
}

/* Timeline Custom Styles */
.timeline-title-wrapper {
    margin-bottom: 60px;
}

.timeline-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 100px auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
}

.timeline-item.reveal-left {
    left: 0;
    text-align: right;
}

.timeline-item.reveal-right {
    left: 50%;
    text-align: left;
}

@media (max-width: 768px) {
    .timeline-item.reveal-left,
    .timeline-item.reveal-right {
        left: 0;
        text-align: left;
    }
}

/* Glowing Radar Pulse for Timeline Dot */
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--secondary-color);
    top: 40px;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(82, 186, 125, 0.4);
    animation: dotPulse 2s infinite;
}

.timeline-item.reveal-left .timeline-dot {
    right: -10px;
}

.timeline-item.reveal-right .timeline-dot {
    left: -10px;
}

@media (max-width: 768px) {
    .timeline-item .timeline-dot {
        left: 21px !important;
        right: auto !important;
    }
}

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(82, 186, 125, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(82, 186, 125, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(82, 186, 125, 0);
    }
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    transform: scale(1.3);
    animation: none;
    box-shadow: 0 0 20px rgba(82, 186, 125, 0.6);
}

.timeline-content {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.06);
    border-color: rgba(82, 186, 125, 0.2);
}

.timeline-year {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--secondary-color); /* Harmonized with logo green */
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(82, 186, 125, 0.2);
}

.timeline-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Founder Grid & Cards Styles */
.founder-section-header {
    margin-top: 80px;
    margin-bottom: 50px;
}

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

@media (max-width: 868px) {
    .founder-grid-new {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.founder-card-new {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: flex-start;
}

@media (max-width: 576px) {
    .founder-card-new {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
    }
}

.founder-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08), 0 0 25px rgba(82, 186, 125, 0.05);
    border-color: rgba(82, 186, 125, 0.2);
}

.founder-avatar-wrapper {
    flex-shrink: 0;
}

.founder-avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(82, 186, 125, 0.04));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-avatar-placeholder i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-card-new:hover .founder-avatar-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(82, 186, 125, 0.3);
}

.founder-card-new:hover .founder-avatar-placeholder i {
    color: #ffffff;
    transform: scale(1.15) rotate(8deg);
}

.founder-info-new h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.founder-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.founder-bio {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.founder-quote {
    display: flex;
    gap: 12px;
    background: rgba(15, 23, 42, 0.015);
    border-left: 3px solid var(--secondary-color);
    padding: 15px 18px;
    border-radius: 0 16px 16px 0;
    transition: all 0.4s ease;
}

.founder-card-new:hover .founder-quote {
    background: rgba(82, 186, 125, 0.03);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.founder-quote i {
    color: rgba(15, 23, 42, 0.15);
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.founder-card-new:hover .founder-quote i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.founder-quote span {
    font-size: 0.85rem;
    font-style: italic;
    color: #334155;
    line-height: 1.5;
}

/* Industrial Showcase Background */
.industrial-showcase {
    position: relative;
    padding: var(--section-pad);
    background: linear-gradient(rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.16)), url('../images/cnc-materials-image1.jpg') center center/cover no-repeat fixed !important;
    background-blend-mode: overlay;
}
.industrial-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.16);
    z-index: 0;
}
.industrial-showcase > .container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   TERMS & CONDITIONS PAGE
   ========================================================================== */
.terms-hero {
    position: relative;
    min-height: 480px;
    padding: 180px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(6, 36, 67, 0.9)),
        url('../images/cnc-materials-image1.jpg') center center / cover no-repeat;
}

.terms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.45;
}

.terms-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 186, 125, 0.18), transparent 68%);
    pointer-events: none;
}

.terms-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.terms-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--secondary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.terms-kicker::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--secondary-color);
}

.terms-hero h1 {
    color: #ffffff;
    font-size: clamp(2.6rem, 6vw, 5rem);
    margin-bottom: 18px;
}

.terms-hero p {
    color: #dbeafe;
    max-width: 720px;
    font-size: 1.18rem;
    line-height: 1.8;
}

.terms-hero .breadcrumb {
    margin-top: 28px;
    justify-content: flex-start;
}

.terms-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef6f3 100%);
}

.terms-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 36px;
    align-items: start;
}

.terms-sidebar {
    position: sticky;
    top: 112px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(203, 213, 225, 0.75);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
}

.terms-sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.terms-toc {
    display: grid;
    gap: 8px;
}

.terms-toc a {
    color: #475569;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.94rem;
    border-left: 3px solid transparent;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.terms-toc a:hover {
    color: var(--primary-color);
    background: rgba(82, 186, 125, 0.1);
    border-left-color: var(--secondary-color);
    transform: translateX(4px);
}

.terms-content {
    display: grid;
    gap: 20px;
}

.term-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.72);
    border-radius: 8px;
    padding: 30px 32px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.term-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-blue));
}

.term-card:hover {
    transform: translateY(-5px);
    border-color: rgba(82, 186, 125, 0.45);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.term-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 30px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: rgba(82, 186, 125, 0.12);
    color: #15803d;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.86rem;
}

.term-card h2 {
    font-size: 1.42rem;
    margin-bottom: 12px;
}

.term-card p {
    margin-bottom: 0;
    color: #475569;
}

.terms-contact-section {
    padding: 0 0 100px;
    background: #eef6f3;
}

.terms-contact-box {
    background: linear-gradient(135deg, #0f172a 0%, #12375a 100%);
    border-radius: 8px;
    padding: 42px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.terms-contact-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 18% 20%, rgba(82, 186, 125, 0.18), transparent 26%),
                      radial-gradient(circle at 86% 70%, rgba(56, 189, 248, 0.16), transparent 24%);
}

.terms-contact-heading,
.terms-contact-grid {
    position: relative;
    z-index: 1;
}

.terms-contact-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.terms-contact-heading h2 {
    color: #ffffff;
    font-size: 2rem;
    margin: 0;
}

.terms-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.terms-contact-item {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.terms-contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(82, 186, 125, 0.55);
}

.terms-contact-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
}

.terms-contact-item span {
    color: #cbd5e1;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.terms-contact-item strong {
    color: #ffffff;
    font-size: 1.02rem;
}

@media (max-width: 992px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        position: relative;
        top: auto;
    }

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

    .terms-contact-heading {
        display: block;
    }

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

@media (max-width: 576px) {
    .terms-hero {
        min-height: 420px;
        padding: 150px 0 70px;
    }

    .terms-section {
        padding: 70px 0;
    }

    .terms-toc {
        grid-template-columns: 1fr;
    }

    .term-card,
    .terms-contact-box {
        padding: 24px;
    }

    .terms-contact-section {
        padding-bottom: 70px;
    }
}

/* ==========================================================================
   PRIVACY POLICY PAGE
   ========================================================================== */
.privacy-hero {
    position: relative;
    min-height: 480px;
    padding: 180px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(230, 246, 239, 0.92)),
        url('../images/cnc-materials-image1.jpg') center center / cover no-repeat;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.48;
}

.privacy-hero::after {
    content: '';
    position: absolute;
    right: 8%;
    bottom: -90px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(82, 186, 125, 0.28);
    border-radius: 50%;
    box-shadow: inset 0 0 0 26px rgba(82, 186, 125, 0.08);
}

.privacy-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.privacy-hero h1 {
    color: var(--primary-color);
    font-size: clamp(2.6rem, 6vw, 5rem);
    margin-bottom: 18px;
}

.privacy-hero p {
    max-width: 720px;
    font-size: 1.18rem;
    line-height: 1.8;
    color: #334155;
}

.privacy-hero .breadcrumb {
    margin-top: 28px;
    justify-content: flex-start;
    color: #475569;
}

.privacy-hero .breadcrumb a {
    color: var(--primary-color);
}

.privacy-section {
    padding: 100px 0;
    background: #f8fafc;
}

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

.privacy-card {
    position: relative;
    min-height: 240px;
    padding: 32px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.72);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.privacy-card::before {
    content: '';
    position: absolute;
    right: -42px;
    top: -42px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(82, 186, 125, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-6px);
    border-color: rgba(82, 186, 125, 0.5);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.11);
}

.privacy-card:hover::before {
    transform: scale(1.18);
    background: rgba(56, 189, 248, 0.12);
}

.privacy-card > i {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
    box-shadow: 0 10px 20px rgba(82, 186, 125, 0.24);
}

.privacy-card h2 {
    font-size: 1.38rem;
    margin-bottom: 12px;
}

.privacy-card p {
    margin-bottom: 0;
    color: #475569;
}

.privacy-card-wide {
    grid-column: 1 / -1;
}

.privacy-contact-section {
    padding: 0 0 100px;
    background: #f8fafc;
}

.privacy-contact-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    padding: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border: 1px solid rgba(203, 213, 225, 0.8);
    box-shadow: var(--shadow-lg);
}

.privacy-contact-card h2 {
    margin-bottom: 10px;
}

.privacy-contact-list {
    display: grid;
    gap: 14px;
}

.privacy-contact-list a,
.privacy-contact-list span {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.72);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.privacy-contact-list a:hover,
.privacy-contact-list span:hover {
    transform: translateX(5px);
    border-color: rgba(82, 186, 125, 0.55);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.privacy-contact-list i {
    color: var(--secondary-color);
}

@media (max-width: 900px) {
    .privacy-grid,
    .privacy-contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .privacy-hero {
        min-height: 420px;
        padding: 150px 0 70px;
    }

    .privacy-section {
        padding: 70px 0;
    }

    .privacy-card,
    .privacy-contact-card {
        padding: 24px;
    }

    .privacy-contact-section {
        padding-bottom: 70px;
    }
}

/* ==========================================================================
   RESPONSIVE HARDENING LAYER
   Keeps the existing design intact while preventing overflow/cut-off issues.
   ========================================================================== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
canvas,
svg {
    max-width: 100%;
}

img,
video {
    height: auto;
}

section,
header,
footer,
main {
    max-width: 100%;
}

.container,
.navbar .container {
    width: min(100%, 1200px);
}

.navbar .container {
    max-width: 1400px;
}

.nav-menu,
.nav-menu ul,
.dropdown-menu,
.footer-grid,
.about-grid,
.contact-wrapper,
.why-flex-container,
.privacy-contact-card,
.terms-layout {
    min-width: 0;
}

.section-title,
.why-title,
.page-hero h1,
.brands-hero h1,
.terms-hero h1,
.privacy-hero h1,
.hero h1,
.hero-content h1,
.cta-section h2,
.brands-consultation-cta h2 {
    overflow-wrap: anywhere;
}

.btn-primary,
.btn-secondary,
.quote-btn,
.contact-btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.slide-img,
.product-img img,
.brand-card-premium img,
.brand-grid-item img,
.client-card img,
.industrial-img-wrapper img,
.brand-logo-wrapper img {
    max-width: 100%;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }

    .navbar .container {
        max-width: 1480px;
    }
}

@media (max-width: 1200px) {
    :root {
        --section-pad: 84px 0;
    }

    .navbar .container {
        padding-inline: 28px;
    }

    .nav-menu {
        gap: 18px;
    }

    .nav-menu ul a {
        padding-inline: 14px;
        font-size: 0.98rem;
    }

    .quote-btn {
        padding-inline: 24px !important;
    }

    .flower-layout {
        transform: scale(0.82);
        transform-origin: center;
    }

    .brands-consultation-cta .container {
        margin-inline: auto;
    }
}

@media (max-width: 992px) {
    :root {
        --section-pad: 74px 0;
    }

    .container {
        padding-inline: 24px;
    }

    .about-grid,
    .contact-wrapper,
    .why-flex-container,
    .terms-layout,
    .privacy-contact-card,
    .company-intro-grid {
        grid-template-columns: 1fr;
    }

    .why-flex-container {
        align-items: stretch;
    }

    .why-list-content,
    .why-logo-content {
        width: 100%;
        max-width: 100%;
    }

    .glass-impact-card {
        max-width: 620px;
        margin-inline: auto;
    }

    .product-catalog-grid,
    .brands-grid,
    .industrial-grid,
    .privacy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .terms-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 64px 0;
    }

    .container,
    .navbar .container {
        padding-inline: 18px;
    }

    .top-header {
        display: none;
    }

    .navbar {
        top: 0;
        padding: 12px 0;
    }

    .nav-logo-img,
    .navbar.sticky .nav-logo-img {
        height: 48px;
    }

    .nav-menu {
        top: 72px;
        height: calc(100dvh - 72px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 28px 18px 40px;
        gap: 18px;
        z-index: 999;
    }

    .nav-menu ul {
        gap: 8px;
    }

    .nav-menu li {
        margin-bottom: 0;
    }

    .nav-menu ul a,
    .dropdown-menu a {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .dropdown-menu {
        position: static;
        min-width: 0;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 10px;
        box-shadow: none;
        background: rgba(248, 250, 252, 0.94);
    }

    .dropdown.open .dropdown-menu {
        display: flex;
    }

    .dropdown.open > a i {
        transform: rotate(180deg);
    }

    .dropdown-menu li {
        opacity: 1;
        transform: none;
    }

    .quote-btn {
        width: 100%;
        margin-top: 0;
    }

    .hero-slider {
        min-height: 520px;
        height: min(82vh, 680px);
    }

    .slider-btn {
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }

    .prev-btn {
        left: 14px;
    }

    .next-btn {
        right: 14px;
    }

    .section-title {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
    }

    .page-hero,
    .terms-hero,
    .privacy-hero {
        padding-top: 132px;
        padding-bottom: 66px;
    }

    .page-hero h1,
    .brands-hero h1,
    .terms-hero h1,
    .privacy-hero h1 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .why-list,
    .product-catalog-grid,
    .brands-grid,
    .industrial-grid,
    .privacy-grid,
    .terms-contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .why-list li {
        min-height: auto;
    }

    .testimonial-slider {
        margin-inline: -18px;
        padding-inline: 18px;
    }

    .testi-card {
        flex-basis: min(84vw, 360px);
    }

    .review-text {
        min-height: auto;
    }

    .flower-layout {
        width: 920px;
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%) scale(0.55);
        transform-origin: center;
    }

    .clients {
        min-height: 720px;
    }

    .brand-grid {
        gap: 18px;
    }

    .contact-form-area,
    .contact-info {
        padding: 34px 24px;
    }

    .newsletter-form {
        align-items: stretch;
    }

    .footer {
        padding-top: 64px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-pad: 58px 0;
    }

    .container,
    .navbar .container {
        padding-inline: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 22px;
        font-size: 0.86rem;
        letter-spacing: 0.8px;
    }

    .hero-slider {
        min-height: 460px;
        height: 72vh;
    }

    .slide-img {
        object-fit: contain;
    }

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

    .why-intro,
    .term-card,
    .privacy-card,
    .terms-contact-box,
    .privacy-contact-card,
    .glass-impact-card {
        border-radius: 14px;
    }

    .why-list li {
        padding: 18px;
    }

    .glass-impact-card .logo-large h2 {
        font-size: clamp(2rem, 12vw, 2.8rem);
    }

    .impact-text {
        font-size: 1.15rem;
        letter-spacing: 0.5px;
    }

    .flower-layout {
        transform: translateX(-50%) scale(0.42);
    }

    .clients {
        min-height: 600px;
    }

    .brand-card-premium,
    .industrial-item {
        height: auto;
        min-height: 230px;
    }

    .contact-form-area,
    .contact-info {
        padding: 28px 18px;
    }

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

    .newsletter-form button {
        min-height: 44px;
        padding: 0 18px;
        border-radius: 10px;
    }

    .footer-bottom p {
        font-size: 0.86rem;
        line-height: 1.7;
    }
}

@media (max-width: 380px) {
    .container,
    .navbar .container {
        padding-inline: 12px;
    }

    .nav-logo-img,
    .navbar.sticky .nav-logo-img {
        height: 42px;
    }

    .mobile-toggle {
        font-size: 1.55rem;
    }

    .flower-layout {
        transform: translateX(-50%) scale(0.34);
    }

    .clients {
        min-height: 520px;
    }

    .testi-card {
        flex-basis: 88vw;
        padding: 26px 22px;
    }
}

/* Client flower mobile containment fix */
@media (max-width: 768px) {
    .clients {
        min-height: auto;
        padding: 70px 0;
        overflow: hidden;
    }

    .clients .container {
        overflow: visible;
    }

    .flower-layout,
    .flower-layout.mt-5 {
        width: 100%;
        height: auto;
        max-width: 560px;
        margin: 34px auto 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        justify-items: center;
        align-items: center;
        border-radius: 0;
        animation: none;
        transform: none;
        perspective: none;
    }

    .flower-center,
    .flower-petal,
    .flower-petal.outer {
        position: relative;
        top: auto;
        left: auto;
        width: 108px;
        height: 108px;
        margin: 0;
        transform: none;
        animation: none;
    }

    .flower-center {
        grid-column: 1 / -1;
        width: 150px;
        height: 150px;
        margin-bottom: 8px;
        order: -1;
    }

    .petal-counter-spin,
    .flower-petal.outer .petal-counter-spin {
        animation: none;
    }

    .flower-petal::before {
        inset: -16px;
        border-width: 16px;
    }

    .client-card {
        padding: 18px;
    }

    .client-card img {
        max-height: 56px;
    }

    .flower-layout:hover .client-card {
        transform: none;
        opacity: 1;
        filter: none;
    }

    .flower-layout .petal-counter-spin:hover .client-card {
        transform: scale(1.08);
        opacity: 1;
        filter: none;
    }

    .flower-petal:hover::before {
        transform: rotate(45deg) scale(1.08);
    }
}

@media (max-width: 480px) {
    .flower-layout,
    .flower-layout.mt-5 {
        max-width: 360px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
    }

    .flower-center {
        width: 136px;
        height: 136px;
    }

    .flower-petal,
    .flower-petal.outer {
        width: 98px;
        height: 98px;
    }

    .center-content .flower-title {
        font-size: 1.45rem;
    }

    .center-content .flower-subtitle {
        font-size: 0.68rem;
        letter-spacing: 1.8px;
    }
}

@media (max-width: 340px) {
    .flower-layout,
    .flower-layout.mt-5 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PREMIUM 2D & 3D CSS ANIMATIONS & INTERACTIONS
   Adds high-end, responsive micro-animations for buttons, cards, and links.
   ========================================================================== */

/* 1. Logo Hover 3D Pulse & Rotate */
.nav-logo-img {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}
.nav-logo-img:hover {
    transform: scale(1.04) rotate(-1deg);
    filter: drop-shadow(0 8px 16px rgba(82, 186, 125, 0.18));
}

/* 2. Interactive Navigation Link Underlines */
.nav-menu ul li a {
    position: relative;
}
.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 3. Catalog Card Premium 3D Lift & Shadow Depth */
.catalog-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    transform-style: preserve-3d;
    perspective: 800px;
}
.catalog-card:hover {
    transform: translateY(-8px) translateZ(10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(15, 23, 42, 0.08), 
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 0 25px rgba(82, 186, 125, 0.04);
    border-color: rgba(82, 186, 125, 0.25);
}

/* 4. Stat & Founder Cards 3D Translation Enhancements */
.stat-glass-card,
.founder-card-new {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease !important;
}
.stat-glass-card:hover {
    transform: translateY(-12px) translateZ(20px) scale(1.01) !important;
}
.founder-card-new:hover {
    transform: translateY(-10px) translateZ(15px) !important;
}

/* 5. Button 2D Glow & Pulse Transition */
.btn-primary,
.btn-secondary,
.quote-btn,
.contact-btn,
.contact-btn:enabled {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn-primary:hover,
.quote-btn:hover,
.contact-btn:hover:enabled {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(82, 186, 125, 0.28);
}
.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

/* Button Sliding Shine Overlay (3D depth simulation) */
.btn-primary::before,
.quote-btn::before,
.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: -1;
}
.btn-primary:hover::before,
.quote-btn:hover::before,
.contact-btn:hover:enabled::before {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

/* 6. Brands Grid Item Zoom & Depth */
.brand-grid-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.brand-grid-item:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    border-color: rgba(82, 186, 125, 0.2);
}

/* 7. Floating WhatsApp & Scroll To Top Subtle 3D Pulse */
.floating-wa,
.scroll-top {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease !important;
}
.floating-wa:hover {
    transform: scale(1.12) translateY(-3px) rotate(5deg) !important;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35) !important;
}
.scroll-top:hover {
    transform: scale(1.12) translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(82, 186, 125, 0.35) !important;
}

/* 8. Footer Link Hover Left-Border Sliding */
.footer-links ul li a {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.footer-links ul li a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(6px);
}


