:root {
  /* Primary Color Palette - High Contrast Pastels */
  --color-primary: #166aed;
  --color-primary-light: #56bbff;
  --color-primary-dark: #0945c9;
  
  --color-secondary: #02a475;
  --color-secondary-light: #1eca82;
  --color-secondary-dark: #057e4b;
  
  --color-accent: #fcae16;
  --color-accent-light: #ffd918;
  --color-accent-dark: #eda318;
  
  --color-neutral: #8b8f95;
  --color-neutral-light: #9097ac;
  --color-neutral-dark: #283040;
  
  --color-danger: #ed374a;
  --color-danger-light: #ff5e5f;
  --color-danger-dark: #c81a33;
  
  /* Text Colors */
  --text-dark: #16192a;
  --text-light: #f9fafb;
  --text-muted: #505967;
  
  /* Background Colors */
  --bg-light: #ffffff;
  --bg-section: #f8fafc;
  --bg-dark: #323a50;
  
  /* Conservative Font Sizes */
  font-size: 16px;
}

/* Bootstrap Override - Conservative Sizing */
.navbar-brand {
  font-size: 1.21rem !important;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.79rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.56rem;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Accessibility - Respect 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;
  }
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)) !important;
  padding: 0.75rem 0;
  box-shadow: 0 3px 10px rgba(25, 117, 229, 0.10);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-weight: 600;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-accent-light) !important;
}

/* Hero Section - Fullscreen */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../BOV_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-decorative {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--color-accent-light), var(--color-accent));
  border-radius: 50%;
  opacity: 0.1;
  right: -150px;
  top: 20%;
  z-index: 1;
}

/* Services Block */
.services-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid #f9f9f9;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 30px rgba(61, 143, 255, 0.15);
}

.services-card .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.services-price {
  font-size: 1.58rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1rem 0;
}

/* Testimonials Slider */
.testimonial-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.08);
  margin: 1rem;
  border-left: 9px solid var(--color-primary);
}

/* Gallery Section */
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* FAQ Section */
.faq-card {
  background: var(--bg-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #dbdde2;
  overflow: hidden;
}

.faq-header {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--text-light);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
}

.faq-body {
  padding: 1.5rem;
  background: var(--bg-light);
}

/* Team Block */
.team-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 7px solid var(--color-primary-light);
}

/* Contact Form */
.contact-form {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-control {
  border: 2px solid #f1f1f1;
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(14, 62, 212, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-neutral));
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-accent);
}

/* Section Styling */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-section);
}

.section-title {
  color: var(--color-primary);
  margin-bottom: 0.71rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Gradients and Effects */
.gradient-bg {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--color-primary) !important;
}

.bg-primary-custom {
  background-color: var(--color-primary) !important;
}

/* Breadcrumbs */
.breadcrumb-img {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}

/* Image Placeholders */
img {
  max-width: 100%;
  height: auto;
}

/* Blog Grid */
#blog_grid .card {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

#blog_grid .card:hover {
  transform: translateY(-5px);
}

/* Space Page */
#space {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
  border-radius: 12px;
  margin: 2rem 0;
}

/* Testimonial Dots */
.testimonial-dots {
  margin-top: 2rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--color-neutral-light);
  margin: 0 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dot.active {
  background: var(--color-primary);
}

.testimonial-dot:hover {
  background: var(--color-primary-light);
}

/* FAQ Enhancements */
.faq-body {
  display: none;
}

.faq-header {
  position: relative;
  transition: background 0.3s ease;
}

.faq-header:after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.30rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-header.active:after {
  content: '';
  transform: translateY(-50%) rotate(180deg);
}

.faq-header.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)) !important;
}

/* Form Validation Styles */
.just-validate-error-label {
  color: var(--color-danger) !important;
  font-size: 1.00rem;
  margin-top: 0.50rem;
}

.just-validate-error-field {
  border-color: var(--color-danger) !important;
}

.just-validate-success-field {
  border-color: var(--color-secondary) !important;
}

/* Bootstrap Validation Styles */
.was-validated .form-control:invalid {
  border-color: var(--color-danger);
}

.was-validated .form-control:valid {
  border-color: var(--color-secondary);
}

.was-validated .form-check-input:invalid {
  border-color: var(--color-danger);
}

.was-validated .form-check-input:valid {
  border-color: var(--color-secondary);
}

.invalid-feedback {
  color: var(--color-danger);
  font-size: 0.99rem;
}

.valid-feedback {
  color: var(--color-secondary);
  font-size: 0.99rem;
}

/* Animation Classes */
.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy.fade-in {
  opacity: 1;
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Navbar Toggle Fix */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Scroll Reveal Elements */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .testimonial-dot,
  .services-card,
  .team-card,
  .gallery-item,
  .btn-primary {
    transition: none !important;
  }
  
  .loading::before {
    animation: none !important;
  }
} 


/* 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;
    }
}
