:root {
    /* Primary Color Palette - Pastel High-Contrast Colors */
    --primary-color: #6366f1;
    --primary-light: #a5b4fc;
    --primary-dark: #4338ca;
    
    --secondary-color: #f59e0b;
    --secondary-light: #fbbf24;
    --secondary-dark: #d97706;
    
    --accent-color: #10b981;
    --accent-light: #34d399;
    --accent-dark: #059669;
    
    --neutral-color: #6b7280;
    --neutral-light: #9ca3af;
    --neutral-dark: #374151;
    
    --background-color: #f8fafc;
    --background-light: #ffffff;
    --background-dark: #1f2937;
    
    /* Typography */
    --font-family-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Base Typography - Conservative Sizes */
body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--neutral-dark);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Headings - Conservative Sizes */
.navbar-brand {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: var(--primary-color);
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--neutral-dark);
    line-height: 1.2;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--neutral-dark);
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-color);
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--neutral-dark);
}

h5 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--neutral-dark);
}

p {
    font-size: var(--font-size-base);
    color: var(--neutral-color);
    margin-bottom: var(--spacing-sm);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Header Styles */
.navbar {
    background-color: var(--background-light) !important;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
}

.navbar-nav .nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--primary-light) 100%);
    min-height: 100vh;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--background-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-title {
    color: var(--neutral-dark);
    font-weight: 600;
}

.card-text {
    color: var(--neutral-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--background-color) !important;
}

/* Icons */
.fas, .fab {
    color: var(--primary-color);
}

/* Services Section */
#services .card {
    height: 100%;
}

#services .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

/* Team Section */
#team img {
    border: 3px solid var(--primary-light);
    transition: transform 0.3s ease;
}

#team img:hover {
    transform: scale(1.05);
}

/* Gallery Section */
#gallery img {
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.02);
}

/* Contact Form */
.form-control {
    border: 2px solid var(--neutral-light);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Footer */
#footer {
    background-color: var(--background-dark) !important;
    color: var(--neutral-light);
}

#footer h5 {
    color: var(--background-light);
    margin-bottom: var(--spacing-md);
}

#footer a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-light);
}

/* Breadcrumb */
.breadcrumb-nav {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--neutral-light);
}

.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item:hover img {
    opacity: 1;
}

/* Animation Enhancements */
.card, .btn, .form-control, img {
    transition: all 0.3s ease;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

/* Spacing Utilities */
.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

.m-xs { margin: var(--spacing-xs); }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.m-xl { margin: var(--spacing-xl); }

/* Border Radius Utilities */
.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded-md { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Custom Components */
.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
}

.price-tag {
    background-color: var(--accent-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: inline-block;
}

.testimonial-card {
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-md);
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: var(--primary-light);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

/* Timeline */
.timeline-item {
    border-left: 3px solid var(--primary-color);
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* FAQ Cards */
.faq-card {
    border: 1px solid var(--neutral-light);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
}

.faq-card:hover {
    border-color: var(--primary-color);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, var(--neutral-light) 25%, transparent 50%, var(--neutral-light) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --neutral-color: #000000;
        --neutral-dark: #000000;
        --background-color: #ffffff;
    }
    
    .card {
        border: 2px solid var(--neutral-dark);
    }
}

/* Print Styles */
@media print {
    .navbar,
    #footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5 {
        color: black !important;
    }
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
