/* =========================================
   PROTEDARIK - B2B CATALOG DESIGN SYSTEM
   ========================================= */

:root {
    /* Color Palette based on MERIN Logo */
    --primary: #034375; /* Dark Blue from the M */
    --primary-light: #007CB9; /* Medium Blue */
    --accent: #2DC5E6; /* Light Cyan for MERIN text and accents */
    --accent-hover: #1FAAC9;
    --text-color: #334155;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border: #E2E8F0;
    --page-header-bg: #f1f5f9;
    --success: #10B981;
    --danger: #EF4444;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Setup */
    --radius: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

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

/* Typography Utilities */
.subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* =========================================
   NAVIGATION / HEADER
   ========================================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.navbar.dark-mode-initial .logo {
    color: var(--bg-white);
}
.navbar.scrolled .logo {
    color: var(--primary);
}

.logo-icon {
    color: var(--accent);
    font-size: 28px;
}

.logo-accent {
    color: var(--accent);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 16px;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-transform: uppercase;
}

.navbar.dark-mode-initial:not(.scrolled) .lang-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn:hover {
    background: var(--bg-color);
    border-color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 1001;
    min-width: 120px;
    margin-top: 8px;
}

.lang-dropdown.active {
    display: block;
    animation: fadeInDown 0.2s ease forwards;
}

.lang-option {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.lang-option:hover {
    background: var(--bg-color);
    color: var(--primary);
}

.lang-option.active {
    background: var(--primary-light);
    color: var(--primary);
}

.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-search {
    position: relative;
    flex: 1;
    max-width: 320px;
    margin: 0 32px;
}

.nav-search input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.navbar.dark-mode-initial .nav-search input {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.navbar.dark-mode-initial .nav-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.nav-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 197, 230, 0.2);
}

.nav-search button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 18px;
}
.navbar.dark-mode-initial .nav-search button {
    color: rgba(255,255,255,0.7);
}

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

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--bg-white);
    position: relative;
}

.navbar.dark-mode-initial .nav-link {
    color: var(--bg-white);
}

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

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

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

.nav-mobile-action {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--bg-white);
}

.navbar.dark-mode-initial .nav-toggle {
    color: var(--bg-white);
}
.navbar.scrolled .nav-toggle {
    color: var(--primary);
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border);
    z-index: 1001;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-color);
    color: var(--primary);
    padding-left: 30px; /* Slight indent on hover */
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 100px 0 80px;
    background-color: var(--primary);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header {
    background-color: var(--primary) !important; /* Force brand blue */
    color: #ffffff !important;
    text-align: center;
    padding: 160px 0 80px;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.2); /* Subtle depth */
}

.page-header h1 {
    color: #ffffff !important;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    font-size: 3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.page-header p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Dynamic background gradient mesh instead of plain image for modern vibe */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to right, rgba(2, 6, 23, 0.90) 0%, rgba(3, 67, 117, 0.70) 100%),
        url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 197, 230, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-content {
    flex: 1;
    color: var(--bg-white);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(45, 197, 230, 0.2);
    color: var(--accent);
    border: 1px solid rgba(45, 197, 230, 0.4);
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-motto {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #ffffff !important;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-motto {
        font-size: 1.8rem;
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 24px;
    line-height: 1.1;
}

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

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--bg-white);
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--bg-white);
    margin-bottom: 4px;
}

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

.hero-image {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: #fff;
    width: 100%;
    max-width: 400px;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.glass-card:hover {
    transform: rotate(0) scale(1.02);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.card-header i {
    color: var(--success);
    font-size: 24px;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 24px;
}

.mock-ui {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    padding: 16px;
}

.mock-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 12px;
    width: 100%;
}

.mock-line.short {
    width: 60%;
    margin-bottom: 24px;
}

.mock-btn {
    height: 36px;
    background: var(--accent);
    border-radius: 6px;
    width: 100%;
}

.brand-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

/* =========================================
   FEATURES (TRUST BADGES)
   ========================================= */
.features {
    padding: 0;
    margin-top: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

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

.feature-box {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-top: 4px solid var(--accent);
}

.feature-box:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(45, 197, 230, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: var(--accent);
    color: var(--bg-white);
}

.feature-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-light);
}

/* =========================================
   HOW WE WORK
   ========================================= */
.how-we-work-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hww-left p {
    font-size: 18px;
    line-height: 1.8;
}

.hww-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hww-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: rgba(45, 197, 230, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-text p {
    font-size: 15px;
    color: var(--text-light);
}

/* =========================================
   CATEGORIES SECTION
   ========================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.category-card {
    background: var(--bg-color);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.category-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: var(--accent);
}

.category-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.category-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.category-link {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-link i {
    transition: transform 0.3s;
}

.category-card:hover .category-link {
    color: var(--accent);
}

.category-card:hover .category-link i {
    transform: translateX(4px);
}

/* =========================================
   ABOUT US
   ========================================= */
.about-container {
    display: flex;
    align-items: center;
    gap: 64px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
    padding: 24px 0 0 24px;
}

.about-image-main {
    background: var(--primary) url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=800') center/cover;
    height: 500px;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
}

.about-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(#e5e7eb 2px, transparent 2px);
    background-size: 24px 24px;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.year-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--accent);
    color: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.year-badge h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 0;
}

.year-badge span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1.2;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.about-list {
    margin-bottom: 40px;
}

.about-list li {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.about-list i {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

/* =========================================
   FEATURED PRODUCTS
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.product-image {
    height: 240px;
    background-color: var(--bg-color);
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Placeholder image backgrounds for demo since user doesn't have images yet */
.placeholder-1 { background-image: url('https://images.unsplash.com/photo-1590846406792-0adc7f938f1d?auto=format&fit=crop&q=80&w=400'); }
.placeholder-2 { background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&q=80&w=400'); }
.placeholder-3 { background-image: url('https://images.unsplash.com/photo-1587595431973-160d0d94add1?auto=format&fit=crop&q=80&w=400'); }
.placeholder-4 { background-image: url('https://images.unsplash.com/photo-1584824486509-112e41815064?auto=format&fit=crop&q=80&w=400'); }

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-badge.new { background: var(--success); color: #fff; }
.product-badge.hot { background: var(--danger); color: #fff; }

.product-info {
    padding: 24px;
}

.product-code {
    font-size: 13px;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 24px;
    min-height: 44px;
}

/* =========================================
   BRANDS (SLIDER / MARQUEE)
   ========================================= */
.brands {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.brand-slider {
    margin-top: 32px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.brand-slider::before,
.brand-slider::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}

.brand-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, rgba(248, 250, 252, 0) 100%);
}

.brand-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, rgba(248, 250, 252, 0) 100%);
}

.brand-track {
    display: inline-block;
    animation: scrollBrands 25s linear infinite;
}

.brand-logo {
    display: inline-block;
    padding: 0 40px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-light);
    opacity: 0.5;
    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 1;
    color: var(--primary);
}

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

/* =========================================
   CONTACT & FORM
   ========================================= */
.contact-cta {
    background: var(--primary) url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h20v20H0V0zm10 17a7 7 0 100-14 7 7 0 000 14z" fill="%23ffffff" fill-opacity="0.02" fill-rule="evenodd"/%3E%3C/svg%3E');
    color: #fff;
    position: relative;
}

.contact-container {
    display: flex;
    gap: 64px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 24px;
}

.contact-info > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

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

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

.detail-item i {
    font-size: 24px;
    color: var(--accent);
    background: rgba(45, 197, 230, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.detail-item h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 4px;
}

.detail-item p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form-wrapper {
    flex: 1;
    background: rgba(255, 255, 255, 1);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-color);
}

.quote-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background: var(--bg-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 197, 230, 0.1);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #020617; /* Very dark blue/black */
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    color: #fff !important;
    margin-bottom: 24px;
}

.brand-col p {
    margin-bottom: 24px;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

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

.footer-col h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: #fff;
}

/* Floating WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* =========================================
   ANIMATIONS
   ========================================= */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

[data-reveal="fade-up"] { transform: translateY(50px); }
[data-reveal="fade-left"] { transform: translateX(50px); }
[data-reveal="fade-right"] { transform: translateX(-50px); }
[data-reveal="zoom-in"] { transform: scale(0.9); }
[data-reveal="fade-in"] { transform: translateY(0); }

.revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* =========================================
   BRANDS SECTION
   ========================================= */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.brand-item {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* =========================================
   MODALS
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--danger);
}

.modal-body {
    margin-top: 20px;
}

.modal-body p {
    margin-bottom: 16px;
    color: var(--text-color);
}

.modal-list {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.modal-list h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.modal-list ul {
    list-style-type: disc;
    padding-left: 20px;
}

.modal-list ul li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* =========================================
   RESPONSIVE (MOBILE / TABLET)
   ========================================= */
@media (max-width: 992px) {
    .hidden-mobile { display: none !important; }
    
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        margin-bottom: 32px;
    }
    
    .nav-link {
        color: var(--primary) !important;
        font-size: 18px;
    }
    
    .nav-mobile-action {
        display: block;
        width: 100%;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title { font-size: 32px; }
    .hero-motto { font-size: 1.8rem; margin-bottom: 16px; }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .how-we-work-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .quote-form {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* =========================================
   TABS
   ========================================= */
.modal-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

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

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

/* =========================================
   INDUSTRIAL SEARCH & PRODUCTS
   ========================================= */
.search-input-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
}

.search-form {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.search-form:focus-within {
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.search-form input {
    flex: 1;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
}

.search-form .btn {
    border-radius: 40px;
    padding: 12px 32px;
}

.parts-ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.parts-li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.parts-li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.part-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.part-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.part-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 4px;
}

.part-desc {
    color: var(--text-light);
    font-size: 14px;
}

@media (max-width: 768px) {
    .parts-li {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .part-actions .btn {
        width: 100%;
        text-align: center;
    }
}

