/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Color Palette - Pastel High-Contrast */
    --primary-color: #665bff;          /* Indigo */
    --secondary-color: #04a165;        /* Emerald */
    --accent-color: #fab207;           /* Amber */
    --info-color: #3f6efd;             /* Blue */
    --success-color: #0daf5f;          /* Green */
    
    /* Light Shades */
    --primary-light: #bac8ee;
    --secondary-light: #e0fff1;
    --accent-light: #e9dfb1;
    --info-light: #dce9f4;
    --success-light: #f2fff5;
    
    /* Dark Shades */
    --primary-dark: #2e2ddd;
    --secondary-dark: #088f6a;
    --accent-dark: #e05900;
    --info-dark: #1e40f1;
    --success-dark: #229a41;
    
    /* Neutral Colors */
    --dark: #1a1f2b;
    --light: #f9fafb;
    --muted: #7c7f8a;
    
    /* 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;
    --card-border-radius: 0.5rem;
    --box-shadow: 0 6px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: var(--line-height-base);
    color: var(--dark);
    background-color: #ffffff;
}

/* Conservative Typography Sizes */
.navbar-brand {
    font-size: 10px !important;
    font-size: 1.31rem !important;
}

h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
    font-size: 1.86rem;
}

h3, .h3 {
    font-size: 1.54rem;
}

h4, .h4 {
    font-size: 1.37rem;
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1rem;
}

p, .lead {
    font-size: var(--font-size-base);
}

.small {
    font-size: var(--font-size-sm);
}

/* ===== COMPONENT STYLES ===== */

/* Header */
.navbar {
    backdrop-filter: none;
}

.navbar-brand {
    font-size: 10px !important;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-size: 10px !important;
    font-weight: 500;
    color: var(--dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::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"><circle cx="20" cy="20" r="2" fill="%236366f1" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="%2310b981" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="%23f59e0b" opacity="0.1"/></svg>');
    opacity: 0.5;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
}

/* Buttons */
.btn {
    border-radius: var(--card-border-radius);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--muted) !important;
}

.text-success {
    color: var(--success-color) !important;
}

/* Background Colors */
.bg-light {
    background-color: var(--light) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Sections */
section {
    position: relative;
}

/* Form Styles */
.form-control {
    border-radius: var(--card-border-radius);
    border: 2px solid #f0f2f5;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.67rem;
}

/* Icon Styling */
.fa-2x {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark) !important;
    color: #ffffff;
}

footer a {
    color: #dbdbdb;
    text-decoration: none;
}

/* Breadcrumb */
nav.py-2 {
    border-bottom: 1px solid #dddddd;
}

/* Team Images */
.rounded-circle {
    border: 4px solid var(--primary-light);
}

/* Process Numbers */
.bg-primary.rounded-circle {
    font-weight: 700;
    font-size: 1.28rem;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: var(--box-shadow) !important;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    h1, .h1 {
        font-size: 1.79rem;
    }
    
    h2, .h2 {
        font-size: 1.60rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* Accessibility */
@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;
    }
}

/* Focus Indicators */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

/* Animation for Sal.js elements - DISABLED */
[data-sal] {
    transition-duration: 0s;
    transition-timing-function: none;
}

/* Space page specific styles */
#space {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    border-radius: var(--card-border-radius);
    margin: 2rem 0;
} 

.hero-section h1 {
    padding-top: 125px;
}


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
