:root {
    /* Dark Mode Variables */
    --bg-color: #0b0f19;
    --text-color: #e2e8f0;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(56, 189, 248, 0.2);
    --accent-color: #38bdf8;
    --accent-glow: 0 0 20px rgba(56, 189, 248, 0.5);
    --blob-1: #0ea5e9;
    --blob-2: #3b82f6;
}

[data-theme="light"] {
    /* Light Mode Variables */
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(14, 165, 233, 0.3);
    --accent-color: #0284c7;
    --accent-glow: 0 0 20px rgba(2, 132, 199, 0.3);
    --blob-1: #bae6fd;
    --blob-2: #93c5fd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs */
.blob-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background-color: var(--blob-1);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-bg-2 {
    top: auto;
    left: auto;
    bottom: -10%;
    right: -10%;
    background-color: var(--blob-2);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 1rem 2rem;
    border-radius: 16px;
    position: sticky;
    top: 1rem;
    z-index: 100;
}

.logo h1 {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

/* Theme Toggle */
.theme-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: transform 0.2s ease, color 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem;
    border-radius: 24px;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--accent-glow);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 30px var(--accent-color);
    transform: translateY(-3px);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--accent-glow);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    display: block;
    text-decoration: none !important;
    color: var(--text-color) !important;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.service-page-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: var(--accent-glow);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.service-card p {
    line-height: 1.6;
    opacity: 0.8;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 2rem;
    margin-top: auto;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .main-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}
