/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Color Palette - Pastel High Contrast */
    --primary-blue: #5B8DFF;
    --primary-green: #4ECDC4;
    --primary-purple: #9B59B6;
    --primary-orange: #FF8A65;
    --primary-pink: #E91E63;
    
    /* Light Shades */
    --light-blue: #E3EFFF;
    --light-green: #E0F7FA;
    --light-purple: #F3E5F5;
    --light-orange: #FFF3E0;
    --light-pink: #FCE4EC;
    
    /* Dark Shades */
    --dark-blue: #1565C0;
    --dark-green: #00695C;
    --dark-purple: #4A148C;
    --dark-orange: #BF360C;
    --dark-pink: #880E4F;
    
    /* Neutral Colors */
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --gray-900: #000000;
    
    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --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-padding: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--gray-700);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 300;
}

/* Conservative navbar brand sizing */
.navbar-brand {
    font-size: 1.125rem !important;
    font-weight: 600;
    color: var(--primary-blue) !important;
}

/* ===== CUSTOM BOOTSTRAP OVERRIDES ===== */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transition: var(--transition-base);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary-blue) !important;
}

.text-success {
    color: var(--primary-green) !important;
}

.text-warning {
    color: var(--primary-orange) !important;
}

.text-info {
    color: var(--primary-purple) !important;
}

.text-danger {
    color: var(--primary-pink) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.bg-light {
    background-color: var(--gray-100) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
}

.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="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    padding-top: 100px;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition-base);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    transition: var(--transition-base);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* ===== ANIMATIONS & EFFECTS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PROCESS STEPS ===== */
.process-step {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.timeline-year {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gray-900) 100%);
}

footer a {
    text-decoration: none;
    transition: var(--transition-base);
}

footer a:hover {
    color: var(--primary-blue) !important;
}

/* ===== GALLERY ===== */
#gallery img {
    border-radius: 8px;
    transition: var(--transition-base);
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===== FORMS ===== */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--gray-300);
    transition: var(--transition-base);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(91, 141, 255, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ===== UTILITIES ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.bg-gradient-light {
    background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
}

/* ===== 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 */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ===== RESPONSIVE HELPERS ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 100px;
}
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* ===== BREADCRUMB STYLING ===== */
.breadcrumb-container,
.breadcrumb-section {
    background-color: var(--gray-100);
    padding: 1rem 0;
    margin-top: 76px;
}

.breadcrumb-container img,
.breadcrumb-section img {
    max-height: 30px;
    opacity: 0.8;
}

/* ===== ICON STYLING ===== */
.fa {
    transition: var(--transition-base);
}

.card:hover .fa,
.text-center:hover .fa {
    transform: scale(1.1);
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
