:root {
    --primary-color: #007bff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #1a1a1a;
    --bs-body-color: #ffffff;
    --bs-navbar-bg: #2d2d2d;
    --bs-light: #2d2d2d;
}

[data-bs-theme="dark"] .navbar-light {
    background-color: var(--bs-navbar-bg) !important;
}

[data-bs-theme="dark"] .navbar-light .navbar-brand,
[data-bs-theme="dark"] .navbar-light .navbar-nav .nav-link {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: var(--bs-light) !important;
}

[data-bs-theme="dark"] .service-card {
    background-color: #3d3d3d !important;
    color: #ffffff !important;
}

body {
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
    transition: all 0.3s ease;
}

.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

[data-bs-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-illustration {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.element-1 {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.element-3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.element-4 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

.element-5 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    top: 40%;
    left: 60%;
    animation-delay: 4s;
}

.hero-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    border-radius: 50%;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.service-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 1rem;
}

.btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border: none;
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

#themeToggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#themeToggle:hover {
    transform: rotate(180deg);
}

.navbar-brand {
    font-size: 1.5rem !important;
}

.text-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.text-success {
    color: #198754 !important;
}

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

[data-bs-theme="dark"] footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-illustration {
        height: 300px;
        margin-top: 2rem;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-shape {
        width: 200px;
        height: 200px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .navbar.scrolled {
    background-color: rgba(45, 45, 45, 0.95) !important;
}