/* ================================
    CSS Variables & Root Styles
    ================================ */
@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@600;700;900&family=Poppins:wght@400;600;700;900&display=swap');
:root {
    /* Color Palette - White + Sky Blue Theme */
    --primary-blue: #0EA5E9;
    --primary-blue-dark: #0284C7;
    --primary-blue-light: #38BDF8;
    --accent-blue: #7DD3FC;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --light-gray: #E2E8F0;
    --medium-gray: #94A3B8;
    --dark-gray: #334155;
    --text-dark: #1E293B;
    --text-light: #64748B;
    
    /* Typography */
    --font-display: 'Chivo', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 10px 30px rgba(14, 165, 233, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ================================
   Reset & Base Styles
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

ul {
    list-style: none;
}

/* ================================
   Container & Layout
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ================================
   Navigation Bar
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.logo:hover {
    opacity: 0.8;
    transform: scale(0.98);
}

.logo img {
    max-width: 40px;
    height: auto;
}

.logo-icon {
    font-size: 1.4rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    position: relative;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

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

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    z-index: 999;
    list-style: none;
}

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

.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-base);
    position: relative;
}

.dropdown-link:hover {
    color: var(--primary-blue);
    background: rgba(14, 165, 233, 0.1);
    padding-left: 1.75rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ================================
   Hero Section
   ================================ */
/* HERO SECTION LIKE THE IMAGE EXAMPLE */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: #4da3ff;  /* Accent highlight */
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* CTA Button */
.hero-btn {
    display: inline-block;
    background: #ffffff;
    color: #000;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #e6e6e6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    animation: circuit-flow 3s ease-in-out infinite;
}

.circuit-line:nth-child(1) {
    top: 20%;
    left: 0;
    right: 0;
    height: 2px;
    animation-delay: 0s;
}

.circuit-line:nth-child(2) {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    animation-delay: 1s;
}

.circuit-line:nth-child(3) {
    top: 80%;
    left: 0;
    right: 0;
    height: 2px;
    animation-delay: 2s;
}

@keyframes circuit-flow {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Doodle Styles */
.doodle {
    position: absolute;
    width: 60px;
    height: 60px;
    color: var(--primary-blue);
    opacity: 0.6;
    stroke-width: 2;
}

.lightning {
    top: 10%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.gear-1 {
    bottom: 20%;
    left: 5%;
    animation: spin-slow 8s linear infinite, float 4s ease-in-out infinite;
}

.gear-2 {
    top: 40%;
    right: 5%;
    width: 50px;
    height: 50px;
    animation: spin-fast 6s linear infinite, float 5s ease-in-out infinite;
}

.wrench {
    bottom: 15%;
    right: 15%;
    animation: rotate-slight 4s ease-in-out infinite, float 3.5s ease-in-out infinite;
}

.capacitor {
    top: 55%;
    left: 8%;
    animation: pulse 2s ease-in-out infinite;
}

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

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

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

@keyframes rotate-slight {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    transform: rotate(45deg);
    margin: 10px auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(10px); }
    60% { transform: rotate(45deg) translateY(5px); }
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-inquiry {
    padding: 0.7rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-inquiry:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

/* ================================
   Features Section
   ================================ */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    margin: 0 auto var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    text-align: center;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    color: var(--white);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   Categories Section
   ================================ */
.categories {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--light-gray);
    transition: var(--transition-base);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
}

.product-home-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--light-gray);
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.product-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--transition-base);
    display: inline-block;
}

.product-card:hover .product-link {
    transform: translateX(5px);
}

.category-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(2, 132, 199, 0.9));
    transition: var(--transition-base);
}

.category-item:hover .category-overlay {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.7), rgba(2, 132, 199, 0.7));
}

.category-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
    color: var(--white);
    text-align: center;
    z-index: 1;
}

.category-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.category-content p {
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.category-link {
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.category-item:hover .category-link {
    transform: translateX(10px);
}

/* ================================
   Page Header
   ================================ */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--off-white) 0%, #E0F2FE 100%);
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
}

/* ===========================
   ABOUT PAGE HERO SECTION
   =========================== */
.about-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    background: url("images/male-electrician.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    color: white;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.65), rgba(0,0,0,0));
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: white;
    color: black;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #dddddd;
}

.arrow {
    font-size: 1.3rem;
}

/* ================================
   Products Hero Section
   ================================ */
.product-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    background: url("images/product_hero.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    color: white;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.65), rgba(0,0,0,0));
    z-index: 1;
}

.product-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.product-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.product-hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ================================
   Company Profile (About Page)
   ================================ */
.company-profile {
    padding: var(--spacing-xl) 0;
}

.profile-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.profile-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.profile-visual {
    position: relative;
    height: 400px;
}

.visual-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-element {
    position: absolute;
    border: 3px solid var(--primary-blue);
    border-radius: 12px;
    animation: float 6s ease-in-out infinite;
}

.visual-element:nth-child(1) {
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.1));
}

.visual-element:nth-child(2) {
    top: 100px;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(125, 211, 252, 0.1));
    animation-delay: 2s;
}

.visual-element:nth-child(3) {
    bottom: 0;
    left: 50px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.1), rgba(14, 165, 233, 0.1));
    animation-delay: 4s;
}

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

/* ================================
   Stats Section (About Page)
   ================================ */
.stats-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.stat-card {
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    display: inline-block;
}

.stat-plus {
    font-size: 3rem;
    display: inline-block;
    margin-left: 5px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: var(--spacing-sm);
    opacity: 0.9;
}

/* ================================
   Timeline Section (About Page)
   ================================ */
.timeline-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--light-gray);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: var(--spacing-md);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    transition: var(--transition-base);
}

.timeline-content:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================
   Values Section (About Page)
   ================================ */
.values-section {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.value-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    text-align: center;
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   Product Categories (Products Page)
   ================================ */
.product-category {
    padding: var(--spacing-lg) 0;
}

.product-category:nth-child(even) {
    background: var(--off-white);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
}

.category-icon svg {
    width: 40px;
    height: 40px;
}

.electrical-icon {
    background: linear-gradient(135deg, #F59E0B, #F97316);
}

.automation-icon {
    background: linear-gradient(135deg, var(--primary-blue), #6366F1);
}

.hardware-icon {
    background: linear-gradient(135deg, #10B981, #14B8A6);
}

.industrial-icon {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
}

.category-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.category-header p {
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--light-gray);
    transition: var(--transition-base);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

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

.electrical-gradient {
    background: linear-gradient(135deg, #FEF3C7, #FED7AA);
}

.automation-gradient {
    background: linear-gradient(135deg, #DBEAFE, #E0E7FF);
}

.hardware-gradient {
    background: linear-gradient(135deg, #D1FAE5, #CCFBF1);
}

.industrial-gradient {
    background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
}

.image-text {
    font-size: 5rem;
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.product-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.spec-tag {
    background: var(--off-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    border: 1px solid var(--light-gray);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-blue);
}

/* ================================
   CTA Section
   ================================ */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.cta-content .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-content .btn-primary:hover {
    background: var(--off-white);
}

/* ================================
   Contact Section (Contact Page)
   ================================ */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
}

.contact-form-container h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.form-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.contact-form {
    background: var(--white);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

.form-message {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    display: block;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    display: block;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-info-card {
    background: var(--off-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--light-gray);
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    gap: var(--spacing-sm);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 10px;
    color: var(--white);
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-item h4 {
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.social-links {
    background: var(--off-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    text-align: center;
}

.social-links h4 {
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    color: var(--primary-blue);
    transition: var(--transition-base);
}

.social-icon:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* ================================
   Map Section (Contact Page)
   ================================ */
.map-section {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.map-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--light-gray);
    box-shadow: var(--shadow-lg);
}

/* ================================
   Footer
   ================================ */
.footer {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================
   Animations
   ================================ */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-4 {
    animation-delay: 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-end !important;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
    }
}

@media (max-width: 768px) {
    .doodle {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: var(--spacing-lg) 0;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-dropdown {
        position: relative;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        max-height: 0;
        overflow: hidden;
        background: var(--off-white);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        transition: all var(--transition-base);
    }
    
    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .dropdown-link {
        padding: 0.75rem 2.5rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .features-grid,
    .categories-grid,
    .products-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* HERO VIDEO BACKGROUND */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    padding-top: 80px; /* space for fixed navbar */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    pointer-events: none; /* Prevent user from clicking video */
}

/* Existing content stays above */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);  /* dark overlay for readability */
    z-index: 1;
}


/* ================================
   Product Showcase Card
   ================================ */

.product-showcase {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin: 0 auto 40px auto;
    max-width: 1100px;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: var(--spacing-lg);
}

/* Image stays same size */
.product-image {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    border-radius: 16px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    object-fit: contain;
}


/* Right side content */
.product-details {
    max-width: 700px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-description {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 600;
    color: var(--text-light);
}
@media (max-width: 768px) {
    .product-showcase {
        flex-direction: column;
        text-align: center;
    }

    .product-image {
        width: 220px;
        height: 220px;
    }

    .product-title {
        font-size: 2.2rem;
    }
    .product-description{
        font-size: 1rem;
    }
}
