/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-color: #4c94f4;
  --primary-light: #97bcef;
  --primary-dark: #1546ec;
  
  --secondary-color: #8461f7;
  --secondary-light: #b9b4ff;
  --secondary-dark: #8f35e2;
  
  --accent-color: #04bdd0;
  --accent-light: #6fdbfd;
  --accent-dark: #1781a3;
  
  --success-color: #10a166;
  --success-light: #67d1b5;
  --success-dark: #009c52;
  
  --warning-color: #f68302;
  --warning-light: #eac25a;
  --warning-dark: #c95205;
  
  /* Neutral Colors */
  --gray-100: #f8fafc;
  --gray-200: #e8e8e8;
  --gray-300: #cad0df;
  --gray-400: #acb8c1;
  --gray-500: #778093;
  --gray-600: #545d6e;
  --gray-700: #334252;
  --gray-800: #243049;
  --gray-900: #0c1029;
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --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;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--success-color));
  --gradient-hero: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  
  /* Transitions */
  --transition-base: all 0.49s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.37s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: #ffffff;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

.display-4 {
  font-size: var(--font-size-4xl) !important;
  font-weight: 700;
}

.lead {
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: var(--gray-600);
}

/* ===== NAVIGATION ===== */
.navbar-brand {
  font-size: var(--font-size-xl) !important;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-600) !important;
  transition: var(--transition-fast);
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  color: var(--gray-800);
  margin-bottom: 1.55rem;
}

.hero-section .lead {
  color: var(--gray-700);
  font-size: var(--font-size-xl);
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 500;
  border-radius: 0.5rem;
  transition: var(--transition-base);
  padding: 0.75rem 1.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 13px 15px -3px rgb(0 0 0 / 0.1);
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  transition: var(--transition-base);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 21px 25px -5px rgb(0 0 0 / 0.1);
}

.card-img-top {
  transition: var(--transition-base);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* ===== SECTIONS ===== */
section {
  scroll-margin-top: 80px;
}

.bg-light {
  background-color: var(--gray-100) !important;
}

/* ===== FORMS ===== */
.form-control {
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(55, 126, 253, 0.15);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  opacity: 0.6;
  transition: var(--transition-fast);
}

.breadcrumb-item img:hover {
  opacity: 1;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--gray-900) !important;
}

footer h5, footer h6 {
  color: white;
  margin-bottom: 1rem;
}

footer p {
  color: var(--gray-400);
  margin-bottom: 0.71rem;
}

footer a {
  color: var(--gray-400);
  transition: var(--transition-fast);
}

footer a:hover {
  color: white;
  text-decoration: none;
}

footer hr {
  border-color: var(--gray-700);
  margin: 2rem 0 1rem;
}

footer small {
  color: var(--gray-500);
}

/* ===== UTILITIES ===== */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 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;
  }
}

/* ===== SPACE PAGE ===== */
#space {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 1rem;
  margin: 2rem 0;
}

/* ===== TEAM SECTION ===== */
.team-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 4px solid var(--primary-light);
  transition: var(--transition-base);
}

.team-member:hover .team-photo {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* ===== FAQ SECTION ===== */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--gray-100);
  padding: 1.5rem;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  transition: var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.faq-answer {
  padding: 1.5rem;
  background: white;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  position: relative;
  background: white;
  border-radius: 1rem;
  padding: 0;
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 3rem;
  color: var(--primary-color);
  font-family: serif;
  line-height: 1;
}

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  display: block;
  transition: var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  transition: var(--transition-base);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== PROCESS STEPS ===== */
.process-step {
  position: relative;
}

@media (min-width: 992px) {
  .process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    z-index: -1;
  }
  
  .process-step:last-child::after {
    display: none;
  }
}

/* ===== RESPONSIVE IMAGES ===== */
img {
  max-width: 100%;
  height: auto;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  footer,
  .btn,
  .breadcrumb {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
