:root {
  /* Primary color palette - exactly 5 primary colors + light/dark shades */
  --primary-color: #4f46e5;
  --secondary-color: #06b6d4;
  --accent-color: #ec4899;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  
  /* Light shades */
  --primary-light: #c7d2fe;
  --secondary-light: #a7f3d0;
  --accent-light: #fce7f3;
  --success-light: #d1fae5;
  --warning-light: #fef3c7;
  
  /* Dark shades */
  --primary-dark: #312e81;
  --secondary-dark: #164e63;
  --accent-dark: #9d174d;
  --success-dark: #047857;
  --warning-dark: #92400e;
  
  /* Conservative font sizes */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
}

/* Bootstrap 5 color overrides using CSS variables */
.bg-primary {
  background-color: var(--primary-color) !important;
}

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

.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);
}

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

/* Conservative typography - avoiding large sizes */
.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

h1, .h1, .display-4 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.2;
}

h2, .h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  line-height: 1.3;
}

h3, .h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
}

h4, .h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

h5, .h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

p, .lead {
  font-size: var(--font-size-base);
  line-height: 1.6;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Hero section styling */
.hero-section {
  padding-top: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}

/* Card enhancements */
.card {
  border: none;
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-2px);
}

.card.shadow-sm {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.card.shadow {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

/* Custom spacing for sections */
.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Form styling */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

.btn {
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.15s ease-in-out;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-lg);
}

/* Icon styling */
.fa, .fas {
  line-height: inherit;
}

/* Navbar fixes */
.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
}

/* Footer styling */
footer {
  background-color: #1f2937;
}

footer a {
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

footer a:hover {
  color: var(--primary-light) !important;
}

/* Breadcrumb styling */
nav img {
  opacity: 0.7;
}

/* Gallery lightbox compatibility */
.img-fluid {
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

.img-fluid:hover {
  opacity: 0.9;
}

/* Team member styling */
.rounded-circle {
  object-fit: cover;
}

/* Utility classes for consistent spacing */
.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

/* Animation classes for ScrollReveal */
.reveal-fade {
  visibility: hidden;
}

.reveal-slide {
  visibility: hidden;
}

/* No animations on mobile for better performance */
@media (max-width: 768px) {
  .card:hover {
    transform: none;
  }
  
  .img-fluid:hover {
    opacity: 1;
  }
}

/* High contrast colors for accessibility */
.text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.text-secondary {
  color: #6b7280 !important;
}

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

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

/* Custom background for alternating sections */
.bg-light {
  background-color: #f8fafc !important;
}

/* Ensure proper contrast ratios */
.bg-dark {
  background-color: #111827 !important;
  color: #f9fafb;
}

/* Space page styling */
#space {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  padding-top: 80px;
}

/* Process section step circles */
.bg-primary.rounded-circle {
  font-weight: 700;
  font-size: 1.25rem;
}

/* Ensure consistent button styling */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
} 

body {
    overflow-x: hidden;
}

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


/* 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;
    }
}
