/* --- 1. Reset & Variables --- */
:root {
    --primary: #667eea;
    --accent: #764ba2;
    --dark: #2d3748;
    --light: #f8f9fa;
    --white: #ffffff;
    --font-main: 'Poppins', sans-serif;
}

/* Dark Theme Variables */
.dark-theme {
    --dark: #f1f5f9;
    --light: #1a202c;
    --white: #2d3748;
    color: #f1f5f9;
    background-color: #1a202c;
}

body {
    font-family: var(--font-main);
    color: #2d3748;
    overflow-x: hidden;
}

.dark-theme body { color: #f1f5f9; }

a { text-decoration: none; }
.section-padding { padding: 80px 0; }
.divider { width: 50px; height: 3px; border-radius: 5px; margin: 15px auto 0; }

/* --- 2. Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 10px 0;
}
.dark-theme .navbar {
    background: rgba(26, 32, 44, 0.98);
    border-bottom: 1px solid #4a5568;
}

/* Brand Area */
.nav-logo { height: 40px; width: auto; }
.brand-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2d3748;
    letter-spacing: 1px;
}
.dark-theme .brand-text { color: #fff; }

.nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    transition: 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }
.dark-theme .nav-link { color: #cbd5e0 !important; }

/* Header Icons */
.social-link { font-size: 1.2rem; transition: 0.3s; }
.social-link.youtube { color: #dc3545; }
.social-link.facebook { color: #0d6efd; }
.social-link:hover { transform: translateY(-3px); }

.tool-btn {
    background: none;
    border: none;
    color: #4a5568;
    font-size: 1.1rem;
    transition: 0.2s;
}
.tool-btn:hover { color: var(--accent); }
.dark-theme .tool-btn { color: #cbd5e0; }

/* --- 3. Hero Carousel --- */
.carousel-item { height: 85vh; min-height: 500px; background: #000; position: relative; }
.hero-img { height: 100%; object-fit: cover; opacity: 0.6; }
.carousel-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

/* --- 4. Service Cards --- */
.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.icon-box {
    width: 60px; height: 60px;
    background: var(--light);
    color: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}
.dark-theme .service-card { border-color: #4a5568; }
.dark-theme .icon-box { background: #4a5568; color: #fff; }

/* --- 5. Client Grid --- */
.client-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: default;
    transition: 0.3s;
}
.client-box:hover {
    color: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background: #fff;
    transform: translateY(-2px);
}
.dark-theme .client-box { background: #2d3748; border-color: #4a5568; }

/* --- 6. Project Cards --- */
.project-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    height: 100%;
    padding: 30px;
}
.project-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.dark-theme .project-card { border-color: #4a5568; }

/* --- 7. Utilities --- */
.bg-light { background-color: #f8f9fa !important; }
.dark-theme .bg-light { background-color: #1a202c !important; }