: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: #64748b;
    --neutral-light: #94a3b8;
    --neutral-dark: #475569;
    
    --background-color: #f8fafc;
    --background-light: #ffffff;
    --background-dark: #e2e8f0;
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 1rem;
    --font-size-small: 0.875rem;
    --font-size-large: 1.125rem;
    
    /* 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;
    --border-radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Base Styles */
body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography Overrides - Conservative Sizes */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1, .h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-dark);
    line-height: 1.2;
}

h2, .h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--neutral-dark);
    line-height: 1.3;
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-color);
    line-height: 1.3;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--neutral-dark);
    line-height: 1.4;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--neutral-dark);
    line-height: 1.4;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-dark);
    line-height: 1.4;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: var(--font-size-large);
    font-weight: 400;
    color: var(--neutral-color);
}

.small {
    font-size: var(--font-size-small);
}

/* Header Styles */
.navbar {
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--neutral-dark);
    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(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-light));
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

/* Button Styles */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Card Styles */
.card {
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--background-dark);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    height: 200px;
    object-fit: cover;
}

/* Section Spacing */
.py-5 {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Background Colors */
.bg-light {
    background-color: var(--background-color);
}

.bg-dark {
    background-color: var(--neutral-dark);
}

/* Text Colors */
.text-primary {
    color: var(--primary-color);
}

.text-muted {
    color: var(--neutral-color);
}

.text-success {
    color: var(--accent-color);
}

/* Form Styles */
.form-control {
    border-radius: var(--border-radius-md);
    border: 2px solid var(--background-dark);
    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);
}

/* Gallery Styles */
#gallery img {
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Footer Styles */
#footer {
    background-color: var(--neutral-dark);
}

#footer a {
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-light);
}

/* Utility Classes */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.rounded-3 {
    border-radius: var(--border-radius-lg);
}

/* Animation Utilities */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Icon Styles */
.fa-2x {
    color: var(--primary-color);
}

/* Team Member Images */
#team img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--background-dark);
    transition: all 0.3s ease;
}

#team img:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Pricing Card Highlights */
.border-primary {
    border-color: var(--primary-color);
    position: relative;
}

.border-primary::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Process Steps */
.bg-primary.text-white.rounded-circle {
    background-color: var(--primary-color);
    font-weight: 600;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Spacing */
.mb-3 {
    margin-bottom: var(--spacing-sm);
}

.mb-4 {
    margin-bottom: var(--spacing-md);
}

.mb-5 {
    margin-bottom: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-lg);
}

/* Fixed Header Offset */
body {
    padding-top: 76px;
}

.fixed-top {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* FAQ Cards */
#faq .card {
    border-left: 4px solid var(--primary-color);
}

/* Blog Grid */
#blog_grid .card {
    border-top: 4px solid var(--accent-color);
}

/* Services Grid */
#services .card {
    border-bottom: 4px solid var(--secondary-color);
}

/* Lightbox Override */
.lb-data .lb-close {
    background: var(--primary-color);
} 


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

.x-link::after {
    content: '✦';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
