:root {
  /* Primary Color Palette - 5 pastel high-contrast colors */
  --primary-green: #8FBC8F;
  --primary-sage: #B5C99A;
  --primary-cream: #F7F3E9;
  --primary-terracotta: #E07A5F;
  --primary-charcoal: #3D405B;
  
  /* Light/Dark Shades */
  --light-green: #A8CCA8;
  --dark-green: #6B9A6B;
  --light-sage: #C8D6B0;
  --dark-sage: #9BB885;
  --light-cream: #FDFCF7;
  --dark-cream: #F0EBD8;
  --light-terracotta: #E89A80;
  --dark-terracotta: #D85A3F;
  --light-charcoal: #525570;
  --dark-charcoal: #2A2D42;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-charcoal);
  font-size: 16px;
    overflow-x: hidden;
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
}

h1, .h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-charcoal);
}

h2, .h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-charcoal);
}

h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: var(--primary-charcoal);
}

p, .lead {
  font-size: 1rem;
  color: var(--primary-charcoal);
}

/* Custom Buttons */
.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
  color: var(--primary-charcoal);
  font-weight: 500;
}

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

/* Hero Section */
#hero {
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--light-sage) 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--primary-sage);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Section Backgrounds */
.bg-light {
  background-color: var(--primary-cream) !important;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-title {
  color: var(--primary-charcoal);
  font-weight: 600;
}

.card-text {
  color: var(--dark-charcoal);
}

/* Services Section */
#services .card {
  height: 100%;
}

#services .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Team Section */
#team .card-img-top {
  height: 250px;
  object-fit: cover;
}

/* Reviews Section */
#reviews .card {
  background: linear-gradient(135deg, var(--light-cream) 0%, white 100%);
}

/* Process Section */
#process .rounded-circle {
  background-color: var(--primary-green);
  width: 60px;
  height: 60px;
}

/* Footer */
#footer {
  background-color: #1a1a1a;  /* Darker background for better contrast */
  color: #ffffff;  /* Bright white text for maximum contrast */
}

#footer h5, #footer h6 {
  color: #ffffff;  /* White headings for better visibility */
  font-weight: 600;  /* Make headings bolder */
}

#footer p {
  color: #f0f0f0;  /* Slightly off-white for paragraphs */
  font-size: 1rem;  /* Ensure text is readable size */
}

#footer small, #footer .small {
  color: #e0e0e0;  /* Light gray for smaller text */
}

#footer a {
  color: #93c5fd;  /* Light blue links for better contrast */
  text-decoration: underline;  /* Add underline for better accessibility */
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

#footer a:hover {
  color: #dbeafe;  /* Lighter blue on hover */
  text-decoration: none;  /* Remove underline on hover */
}

#footer a:focus {
  outline: 2px solid #93c5fd;  /* Outline for keyboard navigation */
  outline-offset: 2px;
}

#footer hr {
  border-color: #444444;  /* Darker horizontal rule */
  opacity: 0.5;
}

#footer ul.list-unstyled li {
  margin-bottom: 10px;  /* More spacing between list items */
}

/* Forms */
.form-control {
  border: 2px solid var(--light-sage);
  border-radius: 8px;
  padding: 12px 15px;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(143, 188, 143, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--primary-charcoal);
}

/* Gallery */
#gallery img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

#gallery img:hover {
  transform: scale(1.05);
}

/* FAQ Section */
#faq .card {
  background: white;
  border-left: 4px solid var(--primary-green);
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item img {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.breadcrumb-item:hover img {
  opacity: 1;
}

/* Text Colors */
.text-primary {
  color: var(--primary-green) !important;
}

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

/* Animations - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .card, .btn, .nav-link, img {
    transition: all 0.3s ease;
  }
}

@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;
  }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  #footer {
    background-color: #000000 !important;  /* Black background for maximum contrast */
    color: #ffffff !important;  /* White text */
  }
  
  #footer h5, #footer h6 {
    color: #ffffff !important;
    font-weight: 700 !important;
  }
  
  #footer p, #footer small, #footer .small {
    color: #ffffff !important;
  }
  
  #footer a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
  }
  
  #footer hr {
    border-color: #ffffff !important;
    opacity: 1 !important;
  }
}

/* Icon Styling */
.fa, .fas, .far, .fab {
  color: var(--primary-green);
}

/* Price Display */
.h3, .h4 {
  font-weight: 600;
}

/* List Styling */
.list-unstyled li {
  margin-bottom: 8px;
}

.list-unstyled .fa-check {
  color: var(--primary-green);
  margin-right: 8px;
}

/* Contact Info Icons */
#contacts .fa-2x {
  color: var(--primary-green);
}

/* Utility Classes */
.shadow-sm {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Responsive Image Handling */
img {
  max-width: 100%;
  height: auto;
}

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

/* Fixed navbar spacing */
body {
  padding-top: 76px;
}

/* Team member role styling */
#team .text-muted {
  font-style: italic;
  color: var(--primary-sage) !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;
}

.instagram-link:hover {
    background: #e4405f;
    border-color: #e4405f;
    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;
    }
}
