:root {
    --primary-dark: #5a0563;
    --primary-light: #0066cc;
    --bg-dark: #0f0f1a;
    --bg-light: #f8f9fa;
    --text-dark: #ffffff;
    --text-light: #212529;
    --gradient-primary: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    --gradient-dark: linear-gradient(135deg, #6c5ce7 0%, #483d8b 100%);
}

body {
    transition: all 0.3s ease;
}

body.dark-theme {
    background: var(--bg-dark);
    color: var(--text-dark);
}

body.light-theme {
    background: var(--bg-light);
    color: var(--text-light);
}

.dark-theme .sidebar {
    background: rgba(90, 5, 99, 0.95);
}

.light-theme .sidebar {
    background: rgba(0, 102, 204, 0.95);
}

.service-card {
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .service-card {
    background: rgba(90, 5, 99, 0.1);
}

.light-theme .service-card {
    background: rgba(0, 102, 204, 0.1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    padding: 120px 0 80px;
}

.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dark-theme .navbar {
    background: rgba(18, 18, 18, 0.9);
}

.light-theme .navbar {
    background: rgba(255, 255, 255, 0.9);
}

.navbar-brand {
    color: inherit !important;
}

.sidebar {
    height: 100vh;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.5s;
    padding-top: 70px;
    z-index: 1000;
}

.sidebar.active {
    width: 250px;
}

.sidebar a {
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    color: #ffffff;
    display: block;
    white-space: nowrap;
    transition: 0.3s;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle {
    cursor: pointer;
    font-size: 24px;
    margin-right: 15px;
}

.custom-section {
    background: linear-gradient(45deg, rgba(90, 5, 99, 0.1), rgba(0, 102, 204, 0.1));
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    margin: 40px auto;
    max-width: 1200px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.dark-theme footer {
    background: rgba(18, 18, 18, 0.8);
}

.light-theme footer {
    background: rgba(255, 255, 255, 0.8);
}

.social-icons a {
    color: var(--primary-dark);
    transition: all 0.3s ease;
    margin: 0 10px;
    font-size: 1.5rem;
    text-decoration: none;
}

.light-theme .social-icons a {
    color: var(--primary-light);
}

.social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

@media (max-width: 991.98px) {
    .menu-toggle {
        display: block;
    }
    .sidebar.active {
        width: 100% !important;
    }
}