:root {
    /* Primary Color Palette - Pastel High-Contrast */
    --primary-color: #675cff;
    --primary-light: #899af0;
    --primary-dark: #4a4cda;
    
    --secondary-color: #03c59a;
    --secondary-light: #7adfa9;
    --secondary-dark: #01ab8c;
    
    --accent-color: #e8991b;
    --accent-light: #ffc737;
    --accent-dark: #e39c1d;
    
    --neutral-color: #898c93;
    --neutral-light: #cecfd0;
    --neutral-dark: #292f3a;
    
    --background-color: #f8fafc;
    --background-light: #ffffff;
    --background-dark: #293543;
    
    /* Conservative Typography */
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    
    /* Conservative Brand Sizing */
    --brand-font-size: 1.54rem;
    --h1-font-size: 2.30rem;
    --p-font-size: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--background-light);
}

/* Conservative Typography */
.navbar-brand {
    font-size: var(--brand-font-size);
    font-weight: 600;
    color: var(--primary-color);
}

h1 {
    font-size: var(--h1-font-size);
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 1.01rem;
}

h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.70rem;
}

h4, h5, h6 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.85rem;
}

p {
    font-size: var(--p-font-size);
    color: var(--neutral-color);
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-color) 100%);
    position: relative;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-light));
    opacity: 0.1;
    border-radius: 50% 0 0 50%;
}

/* Color Utilities */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-6px);
}

.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(0);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-outline-primary:active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(0);
}

/* Card Styling */
.card {
    border: 1px solid var(--neutral-light);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

/* Section Spacing */
section {
    position: relative;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Form Styling */
.form-control {
    border: 1px solid var(--neutral-light);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(105, 115, 255, 0.25);
}

.form-control.is-invalid {
    border-color: #da4a6b;
    box-shadow: 0 0 0 0.2rem rgba(225, 64, 54, 0.25);
}

.form-control.is-valid {
    border-color: #1c6f4a;
    box-shadow: 0 0 0 0.2rem rgba(21, 135, 93, 0.25);
}

.invalid-feedback {
    color: #db5046;
    font-size: 0.98rem;
    margin-top: 0.67rem;
}

.valid-feedback {
    color: #11783e;
    font-size: 0.93rem;
    margin-top: 0.47rem;
}

/* Navbar Styling */
.navbar {
    background-color: var(--background-light);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    color: var(--neutral-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

/* Footer Styling */
footer {
    background-color: var(--background-dark);
    color: var(--neutral-light);
}

footer h5 {
    color: var(--background-light);
}

/* Background Variations */
.bg-light {
    background-color: var(--background-color);
}

/* Animation Ready Classes */
.sal-animate {
    transition: all 0.3s ease;
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
    
    .sal-animate {
        transform: none;
        opacity: 1;
    }
}

/* Decorative Elements */
.decorative-shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-light));
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* Team Section Styling */
.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Process Section Styling */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Gallery Section */
#gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Image lazy loading */
.img-lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-lazy.loaded {
    opacity: 1;
}

/* Minimal Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Conservative Spacing */
.section-padding {
    padding: 3rem 0;
}

/* Utility Classes */
.text-conservative {
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.heading-conservative {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: 1rem;
}

.subtitle-conservative {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--neutral-color);
    margin-bottom: 0.85rem;
}

/* Ensure Bootstrap Grid Integrity */
.container,
.container-fluid,
.row,
[class*="col-"] {
    /* No custom modifications - Bootstrap grid used as-is */
}

/* Minimal gradient usage */
.subtle-gradient {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-color) 100%);
}

/* Conservative button styling */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.btn.loading {
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--neutral-light);
}

.breadcrumb-image {
    max-height: 24px;
    width: auto;
    opacity: 0.7;
}

/* 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 styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
} 

.hero-section h1 {
    padding-top: 225px;
}


/* 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);
}

.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;
    }
}
