/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Primary Color Palette - 5 colors with light/dark shades */
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    
    --secondary-color: #6366f1;
    --secondary-light: #818cf8;
    --secondary-dark: #4338ca;
    
    --accent-color: #10b981;
    --accent-light: #34d399;
    --accent-dark: #059669;
    
    --neutral-color: #6b7280;
    --neutral-light: #9ca3af;
    --neutral-dark: #374151;
    
    --surface-color: #f8fafc;
    --surface-light: #ffffff;
    --surface-dark: #e2e8f0;
    
    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
    
    /* 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);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ===== PREFERS-REDUCED-MOTION ===== */
@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;
    }
}

/* ===== BASE STYLES ===== */
body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--surface-light);
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ENHANCEMENTS ===== */
.navbar-brand {
    font-size: var(--font-size-xl) !important;
    font-weight: 600;
    color: var(--primary-color) !important;
}

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

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

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

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

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

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--surface-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* ===== CUSTOM COMPONENTS ===== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all var(--transition-base);
}

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

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* ===== CARD ENHANCEMENTS ===== */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    background-color: var(--surface-light);
}

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

.card-img-top {
    border-radius: 0.75rem 0.75rem 0 0;
    height: 200px;
    object-fit: cover;
}

/* ===== NAVBAR ENHANCEMENTS ===== */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.nav-link {
    font-weight: 500;
    color: var(--neutral-dark) !important;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ===== FORM ENHANCEMENTS ===== */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--surface-dark);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--neutral-dark);
    margin-bottom: 0.5rem;
}

/* ===== FOOTER STYLES ===== */
footer {
    background-color: #1f2937 !important;
    color: #f9fafb;
}

footer h5, footer h6 {
    color: #f9fafb;
}

footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color var(--transition-fast);
}

footer a:hover {
    color: #f9fafb;
}

/* ===== SECTION SPACING ===== */
section {
    padding: var(--spacing-xl) 0;
}

.py-5 {
    padding: var(--spacing-xl) 0 !important;
}

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--neutral-color);
    margin: 0 0.5rem;
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* ===== ANIMATION UTILITIES ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn var(--transition-slow) ease-in-out forwards;
}

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

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp var(--transition-slow) ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
.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 indicators */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.img-fluid {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* GPU acceleration for smooth animations */
.card,
.btn-primary,
.navbar {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* ===== RESPONSIVE HELPERS ===== */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0;
        min-height: 60vh;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
} 

.hero-section h1 {
    padding-top: 200px;
}



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

.social-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 0.5);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.3);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 0.5);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.3);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.5);
}

.x-link {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.x-link i {
    display: none;
}

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



/* 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;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
