/* Modern Enterprise Design System - Electrical Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@700;800&display=swap');

:root {
    /* Colors */
    --primary: #0a192f;
    --primary-light: #112240;
    --secondary: #64ffda;
    --accent: #ffd700;
    --text: #ccd6f6;
    --text-light: #8892b0;
    --white: #e6f1ff;
    --glass: rgba(17, 34, 64, 0.7);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);

    /* Spacing */
    --container: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.text-accent {
    color: var(--secondary);
}

.text-gold {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-primary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.3);
}

.btn-glow {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.4);
    border: none;
}

.btn-glow:hover {
    box-shadow: 0 0 50px rgba(100, 255, 218, 0.6);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    gap: 35px;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--secondary);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background: var(--primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(100, 255, 218, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--primary), transparent);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-illustration img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(100, 255, 218, 0.2));
    animation: float 3s ease-in-out infinite;
}

.hero-illustration i {
    font-size: 200px;
    color: var(--secondary);
    opacity: 0.15;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-surtitle {
    color: var(--secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.05;
}

.hero h1 span {
    color: var(--text-light);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-right: 25px;
    white-space: nowrap;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    flex: 1;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(to right, var(--secondary), transparent);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: var(--primary-light);
    padding: 35px;
    border-radius: 12px;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    border: 1px solid transparent;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 255, 218, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
    display: block;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.3rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Clickable Cards */
.card-clickable {
    cursor: pointer;
}

.card-clickable:hover .card-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--secondary));
}

.card-icon {
    transition: transform 0.3s, filter 0.3s;
}

.card-link-indicator {
    display: block;
    margin-top: 15px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Service Cards - used in news grid */
.service-card {
    background: var(--primary-light);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    text-align: center;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.stat-item {
    padding: 20px;
}

.stat-item h3 {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* About Section */
#about {
    background: var(--primary);
}

/* Services Section */
#services {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* News Section */
#news {
    background: var(--primary);
}

/* Contact */
#contact {
    background: var(--primary-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 1rem;
}

.contact-info i {
    color: var(--secondary);
    font-size: 1.2rem;
    width: 25px;
}

/* Language Switch */
.lang-switch {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.lang-btn {
    padding: 14px 28px;
    background: var(--primary);
    border: 2px solid var(--text-light);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.lang-btn.active {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(100, 255, 218, 0.1);
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    background: var(--primary);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-illustration {
        order: -1;
    }

    .hero-illustration i {
        font-size: 120px;
    }

    .hero-illustration img {
        max-height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-item h3 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title::after {
        max-width: 100px;
    }

    nav ul {
        display: none;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* Light Mode */
body.light-mode {
    --primary: #f8fafc;
    --primary-light: #ffffff;
    --text: #1e293b;
    --text-light: #475569;
    --white: #0f172a;
    --glass: rgba(255, 255, 255, 0.9);
    --border: #e2e8f0;
}

body.light-mode .section-title h2,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4 {
    color: var(--white);
}

body.light-mode .card {
    background: var(--primary-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

body.light-mode .card-clickable:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body.light-mode .stat-item h3 {
    color: var(--secondary);
}

body.light-mode nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
}