/* ============================================
   HARDWARE & TOOLS COMPANY - MAIN STYLESHEET
   Modern Minimalist Design with Animations
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    /* Blue & Teal Color Palette */
    --primary: #e6f4f7;
    --primary-dark: #ffffff;
    --primary-light: #b8e0e8;
    --secondary: #0ea5e9;
    --accent: #0284c7;
    --bg: #0ea5e9;
    --bg-alt: #38bdf8;
    --text: #ffffff;
    --text-light: #e0f2fe;
    --border: #0284c7;
    --shadow: rgba(0, 0, 0, 0.15);
    --shadow-lg: rgba(0, 0, 0, 0.25);
    
    /* ceo section */
    --ceo-text-tile: #9f9d9d;
    --ceo-bio-text: #5b5b5b;



    /* WhatsApp Color */
    --whatsapp: #25D366;

    /* review Card color */
    --review-card-bg: #0284c7;
    
    /* Spacing */
    --container-max: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* === CONTAINER === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === HEADER === */
.site-header {
    background: var(--primary);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: transform var(--transition-normal);
    width: 100%;
    left: 0;
    right: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    height: 50px;
    width: auto;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Navigation */
.main-nav {
    display: block;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    transition: color var(--transition-fast);
    color: var(--bg-alt);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 80%;
}

/* Active Navigation State */
.nav-link.active {
    color: var(--secondary);
}

.nav-link.active::after {
    width: 80%;
    background: var(--secondary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    z-index: 99999 !important;
    cursor: pointer !important;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    -webkit-user-select: none;
    user-select: none;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    pointer-events: auto !important;
}

.mobile-menu-toggle:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--bg-alt);
    border-radius: 2px;
    transition: transform var(--transition-normal);
    pointer-events: none;
    display: block;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    box-shadow: -4px 0 12px var(--shadow-lg);
    z-index: 99998 !important;
    transition: right var(--transition-normal);
    padding: var(--spacing-lg) var(--spacing-md);
}

.mobile-menu-overlay.active {
    right: 0 !important;
}

.mobile-menu-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 2rem;
    color: var(--bg-alt);
}

.mobile-nav-menu {
    margin-top: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    padding: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color var(--transition-fast);
    color: var(--bg-alt);
}

.mobile-nav-link:hover {
    color: var(--secondary);
}

.mobile-nav-link.active {
    color: var(--secondary);
    font-weight: 600;
    border-left: 4px solid var(--secondary);
    padding-left: calc(var(--spacing-sm) - 4px);
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    z-index: 0;
    /* Animation is optional - visible by default */
    animation: fadeInUp var(--transition-slow) ease-out;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin: 0 auto var(--spacing-md);
    /* Visible by default, animation is enhancement */
    animation: fadeIn 0.8s ease-out 0.2s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--spacing-sm);
    /* Visible by default, animation is enhancement */
    animation: fadeInUp 0.8s ease-out 0.4s;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    /* Visible by default, animation is enhancement */
    animation: fadeInUp 0.8s ease-out 0.6s;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--secondary);
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-normal);
    /* Visible by default, animation is enhancement */
    animation: fadeInUp 0.8s ease-out 0.8s;
    border: 2px solid var(--primary);
}

.hero-cta:hover {
    background: var(--primary-dark);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow-lg);
}

/* === HERO SLIDER === */
.hero-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out 0.8s;
    animation-fill-mode: both;
    z-index: 0;
    isolation: isolate;
    pointer-events: auto;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-position: top;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-align: center;
    z-index: 3;
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: block;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* === SECTION STYLES === */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
}

/* === BRANDS GRID === */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.brand-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    opacity: 1;
    transform: translateY(0);
    flex: 0 1 250px;
    min-width: 250px;
}

/* Animation only if JS adds the animation class */
.brand-card.animate {
    opacity: 0;
    transform: translateY(20px);
}

.brand-card.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px var(--shadow-lg);
    border-color: var(--primary);
}

.brand-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto var(--spacing-sm);
    background: white;
    border-radius: 8px;
    padding: var(--spacing-sm);
    border: 2px solid #E8E8E8;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-xs);
}

.brand-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === PRODUCTS GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-card {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    opacity: 1;
    transform: translateY(0);
}

/* Animation only if JS adds the animation class */
.product-card.animate {
    opacity: 0;
    transform: translateY(20px);
}

.product-card.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px var(--shadow-lg);
    border-color: var(--primary-dark);
}

.product-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #F5F5F5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: var(--spacing-md);
}

.product-brand {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-xs);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === PRODUCT DETAIL PAGE === */
.breadcrumb {
    padding: var(--spacing-md) 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

/* === PRODUCT IMAGE GALLERY === */
.product-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.product-detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    border: 2px solid var(--primary);
    transition: all var(--transition-normal);
}

.image-counter {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding-bottom: var(--spacing-xs);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 10px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.thumbnail-item {
    min-width: 100px;
    height: 100px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: all var(--transition-normal);
    position: relative;
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: all var(--transition-normal);
    z-index: 1;
}

.thumbnail-item:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.thumbnail-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--secondary);
    transform: scale(1.05);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-item:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-detail-info {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    border: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
}

.product-detail-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    border-radius: 16px 16px 0 0;
}

.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-xs);
    color: var(--bg-alt);
}

.product-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-alt);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.meta-item {
    font-size: 0.9rem;
}

.meta-label {
    color: var(--text-light);
    margin-right: var(--spacing-xs);
}

.meta-value {
    font-weight: 600;
    color: var(--text);
}

.product-description {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--ceo-bio-text);
}

.product-specs {
    margin-bottom: var(--spacing-lg);
    background: var(--bg-alt);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--border);
}

.product-specs h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
    font-weight: 700;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: var(--spacing-sm);
    color: var(--ceo-bio-text);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--ceo-bio-text);
    width: 40%;
    background: #FAFAFA;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1rem 2rem;
    background: var(--whatsapp);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    border: 2px solid var(--whatsapp);
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

/* === ABOUT SECTION === */
.about-snippet {
    background: var(--bg-alt);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    border: 2px solid var(--border);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--bg-alt);
    font-weight: 700;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--bg-alt);
    font-weight: 700;
    position: relative;
    padding-bottom: var(--spacing-sm);
}
.about-content h5 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--text);
    font-weight: 700;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.about-content h2:first-of-type {
    margin-top: 0;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.about-content p {
    margin-bottom: var(--spacing-md);
    color: var(--ceo-text-tile);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-content l {
    margin-bottom: var(--spacing-md);
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
  }

.about-content strong {
    color: var(--bg-alt);
    font-weight: 700;
}
.about-content strong1 {
    color: var(--primary);
    font-weight: 700;
}

/* About Section Cards */
.about-section-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-lg);
}

.about-section-card h2 {
    margin-top: 0;
}

.about-highlight-box {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin: var(--spacing-sm) 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-highlight-box p {
    margin: 0;
    font-size: 1rem;
}

/* === CEO SECTION === */
.ceo-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-lg);
    background: white;
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    align-items: start;
}

.ceo-photo {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ceo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-info {
    padding: var(--spacing-sm);
}

.ceo-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-alt);
    margin-bottom: var(--spacing-xs);
}

.ceo-title {
    font-size: 1.1rem;
    color: var(--ceo-text-tile);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ceo-bio p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--ceo-bio-text);
    font-size: 1rem;
}

.ceo-bio p:last-child {
    font-style: italic;
    color: var(--text);
    border-left: 4px solid var(--secondary);
    padding-left: var(--spacing-md);
    background: var(--bg-alt);
    padding: var(--spacing-md);
    border-radius: 8px;
}

/* === FACILITIES SECTION === */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.facility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-normal);
}

.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.facility-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.facility-card:hover .facility-image img {
    transform: scale(1.08);
}

.facility-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--primary);
    color: var(--secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.facility-details {
    padding: var(--spacing-md);
}

.facility-details h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-alt);
    margin-bottom: var(--spacing-xs);
}

.facility-details p {
    color: var(--ceo-text-tile);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.facility-location {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    background: var(--bg-alt);
    padding: var(--spacing-sm);
    border-radius: 6px;
    border-left: 3px solid var(--secondary);
    color: var(--text);
    font-size: 0.85rem;
    line-height: 1.5;
}

.facility-location svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
    width: 16px;
    height: 16px;
}

.facility-location span {
    font-weight: 500;
}

.facility-map {
    margin-top: var(--spacing-sm);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.facility-map iframe {
    display: block;
    width: 100%;
    height: 180px;
}

/* === REVIEWS SECTION === */
.reviews-container {
    position: relative;
    padding: var(--spacing-md) 0;
}

.reviews-slider {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
    padding: var(--spacing-md) 0;
}

/* Hide scrollbar but keep functionality */
.reviews-slider::-webkit-scrollbar {
    height: 6px;
}

.reviews-slider::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 10px;
}

.reviews-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.reviews-slider::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.reviews-wrapper {
    display: flex;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
}

.review-card {
    min-width: 300px;
    max-width: 320px;
    background: var(--review-card-bg);
    border: 2px solid var(--border);
    border-radius: 5%;
    padding: var(--spacing-md);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.review-card:hover {
    box-shadow: 0 8px 16px var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-dark);
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
}

.stars {
    color: #545659;
    font-size: 1.2rem;
    display: inline-flex;
    gap: 2px;
    margin-top: 4px;
}

.star {
    color: #9ca3af00;
    display: inline-block;
}

.star.filled {
    color: #ffcb00;
}

.reviewer-company {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.review-text {
    line-height: 1.6;
    color: var(--text);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
}

/* Review Navigation Arrows */
.review-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px var(--shadow);
}

.review-nav-btn:hover {
    background: var(--bg);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px var(--shadow-lg);
}

.review-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.review-nav-btn.disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
}

.review-nav-btn svg {
    width: 20px;
    height: 20px;
}

.review-nav-prev {
    left: -20px;
}

.review-nav-next {
    right: -20px;
}

/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-info {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-alt) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    color: white;
    border: 3px solid var(--secondary);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="rgba(253,181,21,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}

.contact-info > * {
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--text);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-info > p {
    color: var(--text);
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(14, 165, 233, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--secondary);
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.contact-item svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 8px;
    background: var(--secondary);
    border-radius: 10px;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.contact-item:hover svg {
    background: var(--accent);
    transform: rotate(5deg) scale(1.1);
}

.contact-item div {
    flex: 1;
    color: var(--text);
    line-height: 1.8;
    font-weight: 500;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.contact-item a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item:hover a {
    color: var(--primary) !important;
    transform: translateX(3px);
}

.contact-item a[href*="wa.me"],
.contact-item a[href*="whatsapp"] {
    color: var(--whatsapp) !important;
}

.contact-item:hover a[href*="wa.me"],
.contact-item:hover a[href*="whatsapp"] {
    color: var(--whatsapp) !important;
}

.contact-item span {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-alt);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 2px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(253, 181, 21, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--primary);
    color: var(--secondary);
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-normal);
    border: 2px solid var(--primary);
}

.btn-submit:hover {
    background: var(--primary-dark);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-lg);
}

/* Contact Page Map */
.contact-map {
    margin-top: var(--spacing-lg);
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* === TRUST BADGE - FOOTER === */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--secondary) 100%);
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(230, 0, 0, 0.3);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
    margin-top: var(--spacing-sm);
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.badge-text {
    display: flex;
    gap: 4px;
    align-items: center;
    line-height: 1;
}

.badge-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.badge-year {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
    white-space: nowrap;
}

/* === FLOATING WHATSAPP BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 45px;
    right: 45px;
    width: 70px;
    height: 70px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float svg {
    width: 38px;
    height: 38px;
}

/* WhatsApp Tooltip/Bubble */
.whatsapp-tooltip {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    color: var(--bg-alt);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    pointer-events: none;
}

/* Arrow pointing down */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: white transparent transparent transparent;
}

/* Show tooltip on hover */
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Auto-show class (added by JavaScript) */
.whatsapp-tooltip.show-auto {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* === FOOTER === */
.site-footer {
    background: var(--text);
    color: var(--bg-alt);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--bg-alt);
}

.footer-desc {
    color: var(--bg-alt);
    line-height: 1.6;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.contact-list svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-menu a {
    color: var(--bg-alt);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(14, 165, 233, 0.3);
}

.copyright {
    color: var(--bg-alt);
    font-size: 0.9rem;
    margin: 0;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll animation class - visible by default, animated if JS loads */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

/* Only hide if JavaScript adds the animate class */
.animate-on-scroll.will-animate {
    opacity: 0;
    transform: translateY(20px);
}

.animate-on-scroll.will-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .brands-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .brand-card {
        width: 100%;
        max-width: 400px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        min-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-tooltip {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        bottom: 70px;
    }
    
    /* Trust Badge Mobile */
    .trust-badge {
        padding: 6px 12px;
        gap: 6px;
    }
    
    .badge-icon {
        width: 20px;
        height: 20px;
    }
    
    .badge-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .badge-title {
        font-size: 0.7rem;
    }
    
    .badge-year {
        font-size: 0.7rem;
    }
    
    /* Review arrows on mobile */
    .review-nav-prev {
        left: 5px;
    }
    
    .review-nav-next {
        right: 5px;
    }
    
    .review-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .review-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* CEO Section Mobile */
    .ceo-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .ceo-photo {
        height: 280px;
        margin: 0 auto;
        max-width: 280px;
    }
    
    /* Facilities Mobile */
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero Slider Mobile */
    .hero-slider {
        height: 300px;
    }
    
    .slider-arrow {
        width: 40px !important;
        height: 40px !important;
    }
    
    .slider-arrow.prev {
        left: 10px !important;
    }
    
    .slider-arrow.next {
        right: 10px !important;
    }
    
    .slider-arrow svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .slide-caption {
        font-size: 1.2rem;
        padding: 1.5rem 1rem;
    }
    
    .dot {
        width: 10px !important;
        height: 10px !important;
    }
    
    .dot.active {
        width: 24px !important;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .review-card {
        min-width: 280px;
        max-width: 300px;
    }
    
    .reviewer-photo {
        width: 40px;
        height: 40px;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.hidden {
    display: none !important;
}

