:root {
    /* Primary Color Palette - Pastel High-Contrast Colors */
    --primary-color: #6366f1;
    --primary-light: #a5b4fc;
    --primary-dark: #4f46e5;
    
    --secondary-color: #f59e0b;
    --secondary-light: #fde68a;
    --secondary-dark: #d97706;
    
    --accent-color: #10b981;
    --accent-light: #a7f3d0;
    --accent-dark: #047857;
    
    --neutral-color: #6b7280;
    --neutral-light: #f3f4f6;
    --neutral-dark: #374151;
    
    --danger-color: #ef4444;
    --danger-light: #fecaca;
    --danger-dark: #dc2626;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1rem;
    
    /* 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);
    
    /* Border Radius */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--neutral-dark);
    font-size: 16px;
    overflow-x: hidden;
}

/* Respect reduced motion preferences */
@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;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    color: var(--neutral-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
}

.h2 {
    font-size: 2rem;
}

.h4 {
    font-size: 1.25rem;
}

.h5 {
    font-size: 1.125rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: var(--font-weight-normal);
    color: var(--neutral-color);
}

.text-muted {
    color: var(--neutral-color) !important;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: var(--font-weight-medium);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Header Styles */
#header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--neutral-dark);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--neutral-light) 0%, rgba(255, 255, 255, 0.8) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-light));
    border-radius: 50%;
    opacity: 0.3;
}

.shape-2 {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--secondary-light), var(--primary-light));
    border-radius: 30px;
    opacity: 0.3;
    transform: rotate(45deg);
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--neutral-light) !important;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.card:hover {
    transform: translateY(-5px);
    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;
}

/* Icon Styles */
.fas, .fab {
    color: var(--primary-color);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--neutral-light);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    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);
}

.form-select {
    border: 2px solid var(--neutral-light);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer Styles */
#footer {
    background-color: var(--neutral-dark);
    color: white;
}

#footer a {
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-light) !important;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.breadcrumb-item:hover img {
    filter: grayscale(0);
}

/* Timeline Styles */
.timeline {
    position: relative;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Rounded Utilities */
.rounded-3 {
    border-radius: var(--border-radius-lg) !important;
}

/* Custom Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Item Specific Styles */
[id^="services-item-"] .card {
    height: 100%;
}

[id^="services-item-"] .card-body {
    padding: 2rem;
}

[id^="services-item-"] .card-img-top {
    height: 250px;
}

/* Team Member Styles */
[id^="team-member-"] img,
[id^="team_"] {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

/* FAQ Styles */
#faq .card {
    border-left: 4px solid var(--primary-color);
}

/* Gallery Styles */
#gallery img {
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Contact Section */
#contacts .form-control,
#contacts .form-select {
    margin-bottom: 1rem;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* List Styles */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

/* Pricing Cards */
.border-primary {
    position: relative;
}

.border-primary::before {
    content: 'Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-shapes,
    #header,
    #footer {
        display: none !important;
    }
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
