:root {
    --primary: #4A90E2;
    --dark-bg: #101827;
    --card-bg: #1f2937;
    --text-light: #f3f4f6;
    --text-dim: #9ca3af;
}

.menu-toggle {
    font-size: 35px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body { background-color: var(--dark-bg); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }

/* Navigation */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 5%;
    background: rgba(16, 24, 39, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
}

.logo { 
    font-weight: bold; 
    font-size: 2.5rem; 
    color: var(--primary);
    position: absolute;
    left: 5%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo img {
    height: 70px;
    vertical-align: middle;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo span {
    white-space: nowrap;
    margin-left: 10px;
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    justify-content: center;
}

.nav-links a { 
    text-decoration: none; 
    color: white; 
    font-size: 1.5rem; 
    font-weight: 600; 
    transition: 0.3s; 
    white-space: nowrap;
}

.menu-toggle, .burger {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #101827 0%, #1a2844 100%);
    border-top: 2px solid var(--primary);
    z-index: 999;
}

.dropdown-menu.active {
    display: flex;
    flex-direction: column;
}

.dropdown-menu ul {
    list-style: none;
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.dropdown-menu li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    text-align: center;
    font-size: 1.1rem;
}

.dropdown-menu a:hover {
    color: var(--primary);
}

/* Hero */
.electronical-hero {
    height: 40vh;
    background: linear-gradient(rgba(16, 24, 39, 0.8), rgba(16, 24, 39, 0.8)), url('../Images/Electronic.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-overlay h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 15px; }
.hero-overlay p { max-width: 800px; margin: 0 auto; color: var(--text-dim); padding: 0 20px; }

/* Content Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.feature-row.reverse { flex-direction: row-reverse; }

.feature-text { flex: 1.2; }
.feature-text h2 { font-size: 2.8rem; color: var(--primary); margin-bottom: 25px; }

.list-grid { display: flex; gap: 30px; }
.feature-text ul { list-style: none; flex: 1; font-size: larger; }
.feature-text ul li { 
    margin-bottom: 15px; 
    padding-left: 25px; 
    position: relative; 
    color: var(--text-dim);
}
.feature-text ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Images */
.feature-image { flex: 1; }
.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.feature-image-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.feature-image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.feature-image-gallery img:first-child { grid-column: span 2; height: 250px; }

/* Back Button */
.action-footer { text-align: center; margin-top: 50px; font-size: larger; }
.btn-main {
    padding: 15px 45px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s ease;
    display: inline-block;
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3); }

/* Responsive */
@media (min-width: 768px) {
    .menu-toggle {
        display: none !important;
    }
    
    .dropdown-menu {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        background: none !important;
        flex: none !important;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .nav-links { display: none; }
    .feature-row, .feature-row.reverse { flex-direction: column; text-align: center; }
    .list-grid { flex-direction: column; gap: 0; }
    .feature-image-gallery { grid-template-columns: 1fr; }
    .feature-image-gallery img:first-child { grid-column: span 1; }
}