:root {
    /* Primary Color Palette - Pastel High Contrast */
    --primary-color: #8474ff;
    --primary-light: #b1b9fa;
    --primary-dark: #4b42cb;
    
    --secondary-color: #ffa119;
    --secondary-light: #ffdc1e;
    --secondary-dark: #c45700;
    
    --accent-color: #0daf6d;
    --accent-light: #64f2cc;
    --accent-dark: #009263;
    
    --neutral-color: #545d6c;
    --neutral-light: #d3e1f3;
    --neutral-dark: #2c3341;
    
    --background-color: #f8fafc;
    --background-light: #ffffff;
    --background-dark: #2d3c4d;
    
    /* Typography */
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1200px;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: var(--line-height-base);
    color: var(--neutral-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.37rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1, .display-4 {
    font-size: 2.64rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

h3, h4, h5 {
    font-weight: 500;
    line-height: 1.4;
}

p, .lead {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 300;
}

/* Header */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.69s ease;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 1.05s 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%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23a5b4fc" stroke-width="0.5" opacity="0.3"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.70s ease, box-shadow 1.16s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 11px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 1.18s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.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);
}

/* Sections */
section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--background-color);
}

/* Team Section */
.rounded-circle {
    border: 4px solid var(--primary-light);
    transition: border-color 0.72s ease;
}

.rounded-circle:hover {
    border-color: var(--primary-color);
}

/* Contact Form */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--neutral-light);
    padding: 0.75rem 1rem;
    transition: border-color 1.10s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(103, 126, 255, 0.25);
}

/* Footer */
footer {
    background-color: var(--background-dark);
}

footer h5 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

footer a {
    text-decoration: none;
    transition: color 0.87s ease;
}

footer a:hover {
    color: var(--primary-light);
}

/* Gallery */
#gallery img {
    transition: transform 0.56s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Process Section */
.bg-primary.rounded-circle {
    background-color: var(--primary-color);
}

/* Animations - Sal.js Integration */
[data-sal] {
    transition-duration: 0.89s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
    
    #hero::before {
        animation: none;
    }
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #11008b;
        --secondary-color: #ff6518;
        --accent-color: #007605;
        --neutral-dark: #000000;
        --background-light: #ffffff;
    }
}

/* Breadcrumb */
.breadcrumb-section {
    border-bottom: 1px solid var(--neutral-light);
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
    padding: 0;
}

/* Contact Info */
.contact-info {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
} 


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

.x-link::after {
    content: 'X';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
