:root {
    /* Color Palette - Defaulting to Navy Blue and Gold/Amber which fits electrical and premium aesthetics */
    /* You can adjust these to perfectly match the logo if needed */
    --primary-color: #f8fafc; /* Light grey/white */
    --primary-light: #ffffff;
    --accent-color: #f59e0b; /* Amber/Gold Accent */
    --accent-hover: #d97706;
    --red-color: #e3000f; /* Red from Logo */
    --text-main: #334155; /* Dark text */
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Dynamic background pattern/gradient */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(245, 158, 11, 0.05), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(15, 23, 42, 0.03), transparent 25%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 280px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.05);
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.tagline {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: rgba(245, 158, 11, 0.3);
}

/* About Section */
.about-section {
    animation-delay: 0.2s;
}

.glass-panel h2 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.glass-panel h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.about-section p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-muted);
    text-align: justify;
}

.about-section strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    animation-delay: 0.4s;
}

.contact-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

.contact-list li:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(245, 158, 11, 0.2);
    transform: translateX(-5px);
}

.icon-box {
    width: 35px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--red-color);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.contact-list li:hover .icon-box {
    transform: scale(1.15) rotate(8deg);
}

.info {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.info a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
    letter-spacing: 0.5px;
}

.info a[dir="ltr"] {
    text-align: right;
    display: inline-block;
}

.info a:hover {
    color: var(--accent-hover);
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive Adjustments */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .company-name {
        font-size: 1.5rem;
    }
    
    .glass-panel {
        padding: 1.8rem;
    }
    
    .contact-list {
        grid-template-columns: 1fr;
    }
    
    .contact-list li:hover {
        transform: translateX(0) scale(1.02);
    }
}
