/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007BFF;
    --primary-hover: #0056b3;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #f9f9f9;
    --border-color: #eee;
    --header-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
}

body.dark-mode {
    --primary-color: #0084ff;
    --primary-hover: #359dff;
    --secondary-color: #f4f4f4;
    --text-color: #e0e0e0;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --header-bg: rgba(30, 30, 30, 0.8);
    --shadow: 0 4px 15px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s, border-color 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover, .nav-links a:focus {
    color: var(--primary-color);
}

.nav-links a:hover::after, .nav-links a:focus::after {
    width: 100%;
    left: 0;
}

.controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}
.language-switcher a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 2px 5px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}
.language-switcher a.active {
    background-color: var(--primary-color);
    color: white;
}
.language-switcher a:not(.active):hover {
    background-color: var(--border-color);
}


/* Theme Switcher */
.theme-switcher button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}
.theme-switcher button:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px; /* Header height */
    background: var(--bg-color) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke-width="0.5" stroke="%23cccccc"/></svg>') 0 0/10px 10px;
}
body.dark-mode .hero {
     background: var(--bg-color) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke-width="0.5" stroke="%23333333"/></svg>') 0 0/10px 10px;
}
.hero-content {
    max-width: 800px;
}
.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.hero .slogan {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--secondary-color);
}
.hero .intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}
.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* --- General Section Styling --- */
section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* --- Services Section --- */
.services {
    background-color: var(--card-bg);
}
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
body.dark-mode .card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Products Section --- */
.products h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--card-bg);
    position: relative;
    padding: 30px;
    transition: transform 0.3s;
}
.product-card:hover {
    transform: scale(1.05);
}
.product-info h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
}
.product-info p {
    font-family: monospace;
    margin-bottom: 15px;
}
.product-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}
.product-link:hover {
    color: var(--primary-color);
}

/* --- Contact Section --- */
.contact {
    background-color: var(--card-bg);
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.contact-details .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}
.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-item a:hover {
    color: var(--primary-color);
}
.contact-map iframe {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* --- Footer --- */
.footer {
    background-color: var(--secondary-color);
    color: #f4f4f4;
    text-align: center;
    padding: 20px 0;
}
body.dark-mode .footer {
    background-color: #000;
}

/* --- WhatsApp Toggle --- */
.whatsapp-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left 0.4s ease-in-out;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .hamburger {
        display: block;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero .slogan {
        font-size: 1.4rem;
    }
    .section-title {
        font-size: 2rem;
    }
}