:root {
  /* Primary color palette - 5 colors + shades */
  --color-primary: #397f55;        /* Forest Green */
  --color-secondary: #66ac77;      /* Sage Green */
  --color-accent: #9ac53b;         /* Light Green */
  --color-tertiary: #69bedb;       /* Sky Blue */
  --color-quaternary: #f4f7f0;     /* Soft Mint */
  
  /* Light shades */
  --color-primary-light: #3a7c4c;
  --color-secondary-light: #9bcca4;
  --color-accent-light: #98ce5a;
  --color-tertiary-light: #7fb7e9;
  --color-quaternary-light: #f8faf6;
  
  /* Dark shades */
  --color-primary-dark: #193e22;
  --color-secondary-dark: #447a52;
  --color-accent-dark: #5aa02e;
  --color-tertiary-dark: #34657b;
  --color-quaternary-dark: #c9d4c0;
}

/* Custom properties for conservative font sizes */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-primary-dark);
  line-height: 1.6;
}

.navbar-brand {
  font-size: 1.20rem;
  font-weight: 600;
  color: var(--color-primary);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

h2 {
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

h3 {
  font-size: 1.61rem;
  font-weight: 500;
  color: var(--color-primary);
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Hero section styling */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-quaternary) 0%, var(--color-quaternary-light) 100%);
  display: flex;
  align-items: center;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-decorative:nth-child(1) {
  top: 10%;
  right: 10%;
}

.hero-decorative:nth-child(2) {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
}

/* Custom button styles using CSS variables */
.btn-primary-custom {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

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

.btn-secondary-custom {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: white;
}

.btn-secondary-custom:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
}

/* Section spacing */
.section-padding {
  padding: 4rem 0;
}

.section-padding-lg {
  padding: 6rem 0;
}

/* Card enhancements */
.card-enhanced {
  border: none;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

/* Service cards */
.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.service-price {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1.39rem;
  font-weight: 600;
}

/* Team member cards */
.team-member {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-accent);
  margin: 0 auto 1rem;
}

/* FAQ styling */
.faq-card {
  margin-bottom: 1rem;
  border-left: 4px solid var(--color-accent);
}

/* Footer styling */
.footer-bg {
  background-color: var(--color-primary-dark);
  color: white;
}

.footer-bg a {
  color: var(--color-accent-light);
  text-decoration: none;
}

.footer-bg a:hover {
  color: var(--color-accent);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Accessibility - respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Contact form styling */
.contact-form {
  background: var(--color-quaternary);
  padding: 2rem;
  border-radius: 8px;
}

.contact-info {
  background: var(--color-primary);
  color: white;
  padding: 2rem;
  border-radius: 8px;
}

/* Process timeline */
.process-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.process-container {
  counter-reset: step-counter;
} 

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


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Disable all scroll animations on mobile devices */
@media (max-width: 767.98px) {
    /* Disable Sal.js animations by overriding their effects */
    [data-sal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Disable all CSS animations and transitions on mobile */
    *, *::before, *::after {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    
    /* Re-enable essential transitions for user interactions */
    .btn, .form-control, .nav-link {
        transition: background-color 0.15s ease-in-out, 
                   border-color 0.15s ease-in-out, 
                   box-shadow 0.15s ease-in-out !important;
    }
}
