:root {
    /* Color Palette using HSL format */
    --primary: 214 95% 52%; /* #0B7CE8 */
    --secondary: 258 90% 66%; /* #7C3AED */
    --success: 142 71% 45%; /* #10B981 */
    --warning: 43 96% 56%; /* #F59E0B */
    --danger: 0 84% 60%; /* #EF4444 */
    --info: 199 89% 48%; /* #06B6D4 */
    --light: 210 20% 98%; /* #F8FAFC */
    --dark: 222 84% 5%; /* #0F172A */
    --background: 210 11% 98%; /* #F5F7FA */
    --surface: 0 0% 100%; /* #FFFFFF */
    --text-primary: 215 25% 27%; /* #374151 */
    --text-secondary: 215 16% 47%; /* #6B7280 */
    --text-muted: 215 13% 65%; /* #9CA3AF */
    --border: 214 32% 91%; /* #E5E7EB */
    --shadow: 220 43% 11%; /* rgba(15, 23, 42, 0.1) */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
    overflow-x: hidden;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: hsl(214 95% 45%);
    border-color: hsl(214 95% 45%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(var(--primary) / 0.3);
}

.btn-outline-primary {
    color: hsl(var(--primary));
    border-color: hsl(var(--primary));
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(var(--primary) / 0.3);
}

.text-primary {
    color: hsl(var(--primary)) !important;
}

.bg-primary {
    background-color: hsl(var(--primary)) !important;
}

/* Navigation */
.custom-navbar {
    background-color: hsla(var(--surface) / 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: hsl(var(--text-primary)) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: hsl(var(--text-secondary)) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: hsl(var(--primary)) !important;
    background-color: hsla(var(--primary) / 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsla(var(--primary) / 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e5e7eb' fill-opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-graphic {
    display: inline-block;
    padding: 2rem;
    background: hsla(var(--surface) / 0.8);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid hsl(var(--border));
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Cards */
.feature-card {
    background: hsl(var(--surface));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px hsla(var(--shadow) / 0.1);
    border-color: hsla(var(--primary) / 0.3);
}

.service-card {
    background: hsl(var(--surface));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px hsla(var(--shadow) / 0.1);
    border-color: hsla(var(--primary) / 0.3);
}

.service-detail-card {
    background: hsl(var(--surface));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    box-shadow: 0 20px 40px hsla(var(--shadow) / 0.1);
    border-color: hsla(var(--primary) / 0.3);
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

/* Team Cards */
.team-card {
    background: hsl(var(--surface));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px hsla(var(--shadow) / 0.1);
}

/* MVV Cards */
.mvv-card {
    background: hsl(var(--surface));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px hsla(var(--shadow) / 0.1);
}

/* Contact Forms */
.contact-form-card {
    background: hsl(var(--surface));
    border-radius: 16px;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 10px 30px hsla(var(--shadow) / 0.05);
}

.contact-info-card {
    background: hsl(var(--surface));
    border-radius: 16px;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 10px 30px hsla(var(--shadow) / 0.05);
}

.form-control {
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 0.2rem hsla(var(--primary) / 0.25);
}

.form-select {
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 12px 16px;
}

.form-select:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 0.2rem hsla(var(--primary) / 0.25);
}

/* Social Links */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsla(var(--primary) / 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: hsl(var(--primary));
    color: white !important;
    transform: translateY(-2px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: hsla(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: hsl(var(--primary));
    color: white;
    transform: translateY(-2px);
}

/* Accordion */
.accordion-item {
    border: 1px solid hsl(var(--border));
    border-radius: 8px !important;
    margin-bottom: 1rem;
}

.accordion-button {
    border-radius: 8px !important;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: hsla(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem hsla(var(--primary) / 0.25);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, hsl(var(--light)) 0%, hsla(var(--primary) / 0.05) 100%);
    margin-top: 76px;
}

/* Utilities */
.text-muted {
    color: hsl(var(--text-muted)) !important;
}

.bg-light {
    background-color: hsl(var(--light)) !important;
}

.bg-dark {
    background-color: hsl(var(--dark)) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem hsla(var(--primary) / 0.25);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
}