/* Core Styles */
:root {
  --primary-color: #1a4d2e; /* Deep green */
  --secondary-color: #cb8b0e; /* Gold accent */
  --accent-color: #e74c3c; /* For important CTAs */
  --neutral-light: #f5f5f5;
  --neutral-dark: #333333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 5px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  color: var(--neutral-dark);
  line-height: 1.6;
  background-color: var(--neutral-light);
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add padding for mobile */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-family: 'Lato', sans-serif;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

.btn:hover {
  background-color: #0f3d20;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: #a57109;
}

.btn-accent {
  background-color: var(--accent-color);
}

.btn-accent:hover {
  background-color: #c0392b;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  transition: var(--transition);
}

.nav-item {
  margin-left: 1.5rem;
  position: relative;
}

.nav-link {
  color: var(--neutral-dark);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Search Bar */
.search-container {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-top: 2rem;
  width: 100%;
}

.search-tabs {
  display: flex;
  margin-bottom: 1rem;
}

.search-tab {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  transition: var(--transition);
}

.search-tab.active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.search-tab:hover:not(.active) {
  border-bottom-color: var(--secondary-color);
  color: var(--secondary-color);
}

.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 77, 46, 0.2);
}

.search-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  grid-column: span 1;
  height: 100%;
  margin-top: 1.5rem;
}

.search-btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 25%;
  bottom: 0;
  width: 50%;
  height: 3px;
  background-color: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  margin-bottom: 1rem;
}

/* Featured Properties */
.featured-properties {
  padding: 5rem 0;
  background-color: white;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.property-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background-color: white;
  transition: var(--transition);
  position: relative;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.property-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.property-card:hover .property-img {
  transform: scale(1.05);
}

.property-info {
  padding: 1.5rem;
}

.property-price {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.property-location {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #777;
}

.property-features {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.feature {
  display: flex;
  align-items: center;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: var(--neutral-light);
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.testimonial-slider::-webkit-scrollbar {
  height: 8px;
}

.testimonial-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 0 1rem;
  scroll-snap-align: start;
  min-width: 300px;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--secondary-color);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: rgba(0, 0, 0, 0.1);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  background-size: cover;
}

.author-info h4 {
  margin-bottom: 0.2rem;
}

.author-info p {
  color: #777;
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/cta.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.footer-links h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page specific styles */
.page-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/images/page-header.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.page-content {
  padding: 5rem 0;
}

/* Contact form */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-control {
  width: 100%;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.map-container {
  height: 400px;
  margin-top: 2rem;
  background-color: #eee;
  border-radius: var(--border-radius);
}

/* About page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-img {
  height: 250px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
}

.team-title {
  color: #777;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.team-social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.team-social-icon:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-menu.active {
    max-height: 500px;
  }
  
  .nav-item {
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid #eee;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .search-form {
    grid-template-columns: 1fr;
  }
  
  .search-btn {
    grid-column: 1;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons a {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .search-container {
    width: 100%;
    overflow-x: hidden;
  }
  
  .properties-grid, 
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Fix for hero section */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-bottom: 2rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    display: block;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    position: relative;
    z-index: 5;
  }
  
  .search-container {
    position: relative;
    z-index: 4;
    margin-top: 1rem;
  }
}

/* Fix for larger screens (laptops and desktops) */
@media (min-width: 769px) {
  .hero {
    min-height: 80vh; /* Adjust height to ensure content fits */
    display: flex;
    align-items: center;
  }
  
  .hero-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    max-width: 90%; /* Prevent text from extending too far */
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    hyphens: auto;
  }
}

/* Additional fix for very large screens */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
    max-width: 80%;
  }
  
  .hero-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Base Styles */
.pricing-grid {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 30px;
margin: 40px 0;
}

.pricing-card {
flex: 1 1 300px;
max-width: 350px;
background: #fff;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
position: relative;
overflow: hidden;
}

.pricing-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Featured Card Styling */
.pricing-card.featured {
border: 2px solid #4a90e2;
transform: scale(1.05);
}

.pricing-card.featured:hover {
transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
position: absolute;
top: 0;
right: 0;
background: #4a90e2;
color: white;
padding: 8px 15px;
font-size: 14px;
font-weight: bold;
border-bottom-left-radius: 8px;
}

/* Header Styling */
.pricing-header {
padding: 30px 20px;
text-align: center;
background: #f8f9fa;
border-bottom: 1px solid #eee;
}

.pricing-header h3 {
margin: 0 0 15px;
color: #333;
font-size: 24px;
}

.pricing-price {
font-size: 32px;
font-weight: bold;
color: #4a90e2;
}

.pricing-price span {
font-size: 16px;
font-weight: normal;
color: #777;
}

/* Features Styling */
.pricing-features {
padding: 20px;
}

.pricing-features ul {
list-style: none;
padding: 0;
margin: 0;
}

.pricing-features li {
padding: 10px 0;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 25px;
}

.pricing-features li:before {
content: "✓";
color: #4a90e2;
position: absolute;
left: 0;
}

.pricing-features li:last-child {
border-bottom: none;
}

/* CTA Button */
.pricing-cta {
padding: 20px;
text-align: center;
}

.btn {
display: inline-block;
padding: 12px 30px;
background: #4a90e2;
color: white;
border-radius: 4px;
text-decoration: none;
font-weight: bold;
transition: background 0.3s;
}

.btn:hover {
background: #3a7bd5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.pricing-card {
  flex: 1 1 100%;
  margin-bottom: 20px;
}

.pricing-card.featured {
  transform: scale(1);
}

.pricing-card.featured:hover {
  transform: translateY(-5px);
}
}

//* 1. Core Layout System */
.pricing-grid {
display: flex;
width: 100%;
position: relative;
overflow: hidden;
}

/* 2. Desktop Card Distribution */
@media (min-width: 993px) {
.pricing-grid {
  flex-wrap: nowrap;
  justify-content: space-between;
}

.pricing-card {
  flex: 1 1 0;
  margin: 0 10px;
}

.slider-controls {
  display: none;
}
}

/* 3. Mobile Carousel */
@media (max-width: 992px) {
.pricing-grid {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.pricing-card {
  flex: 0 0 85%;
  margin: 0 7.5%;
  scroll-snap-align: center;
}
}

/* 4. Card Base Styling */
.pricing-card {
background: #fff;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
position: relative;
overflow: hidden;
}

.pricing-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 5. Featured Card Styling */
.pricing-card.featured {
border: 2px solid #4a90e2;
z-index: 1;
}

.pricing-badge {
position: absolute;
top: 0;
right: 0;
background: #4a90e2;
color: white;
padding: 8px 15px;
font-size: max(12px, min(14px, 1vw));
font-weight: bold;
border-bottom-left-radius: 8px;
}

/* 6. Adaptive Content Typography */
.pricing-header {
padding: 20px 15px;
text-align: center;
background: #f8f9fa;
border-bottom: 1px solid #eee;
}

.pricing-header h3 {
margin: 0 0 10px;
color: #333;
font-size: max(16px, min(24px, 2vw));
}

.pricing-price {
font-size: max(22px, min(32px, 2.5vw));
font-weight: bold;
color: #4a90e2;
}

.pricing-price span {
font-size: max(12px, min(16px, 1.25vw));
font-weight: normal;
color: #777;
}

.pricing-features {
padding: 15px;
}

.pricing-features ul {
list-style: none;
padding: 0;
margin: 0;
}

.pricing-features li {
padding: 8px 0;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 20px;
font-size: max(12px, min(16px, 1.25vw));
}

.pricing-features li:before {
content: "✓";
color: #4a90e2;
position: absolute;
left: 0;
}

/* 7. CTA Button */
.pricing-cta {
padding: 15px;
text-align: center;
}

.btn {
display: inline-block;
padding: 10px 25px;
background: #4a90e2;
color: white;
border-radius: 4px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
font-size: max(12px, min(16px, 1.25vw));
}

.btn:hover {
background: #2a70c2;
transform: scale(1.1);
box-shadow: 0 5px 15px rgba(42, 112, 194, 0.3);
}

/* 8. Carousel Controls */
.slider-controls {
position: absolute;
bottom: 20px;
left: 0;
right: 0;
display: flex;
justify-content: center;
gap: 10px;
}

.slider-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: #ccc;
cursor: pointer;
transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
background: #4a90e2;
transform: scale(1.2);
}

.slider-arrows {
display: flex;
justify-content: space-between;
position: absolute;
top: 50%;
left: 0;
right: 0;
transform: translateY(-50%);
z-index: 2;
}

.slider-arrow {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.8);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: background 0.3s, transform 0.3s;
}

.slider-arrow:hover {
background: white;
transform: scale(1.1);
}

.slider-arrow.prev {
margin-left: 10px;
}

.slider-arrow.next {
margin-right: 10px;
}

@media (min-width: 993px) {
.slider-arrows {
  display: none;
}
}

/* Button Color Standardization */
/* Button Color Alternation System */

/* 1. Base Button Styles - Maintain existing variables */
.btn {
background-color: var(--primary-color);
color: white;
transition: var(--transition);
}

.btn:hover {
background-color: #0f3d20;
color: white;
}

/* 2. Two-Button Alternation Pattern */
/* First button in a row/container */
.btn-secondary,
.cta-buttons a:nth-child(2) {
background-color: var(--secondary-color); /* #cb8b0e */
color: white;
}

.btn-secondary:hover,
.cta-buttons a:nth-child(2):hover {
background-color: #a57109;
}

/* 3. Search Button - Preserve original style */
.search-btn {
background-color: var(--accent-color);
color: white;
}

.search-btn:hover {
background-color: #c0392b;
}

/* 4. CTA Section Button Alternation */
.cta-buttons a:first-child {
background-color: var(--primary-color);
}

.cta-buttons a:first-child:hover {
background-color: #0f3d20;
}

/* 5. Multi-Button Row Pattern (for rows with >2 buttons) */
.footer-social .social-icon,
.team-social .team-social-icon {
background-color: var(--secondary-color); /* #cb8b0e */
}

.footer-social .social-icon:hover,
.team-social .team-social-icon:hover {
background-color: var(--primary-color);
}

/* 6. Pricing Component Button Standardization */
.pricing-badge {
background: var(--primary-color);
}

.pricing-price {
color: var(--primary-color);
}

.pricing-features li:before {
color: var(--primary-color);
}

/* Alternate pricing buttons */
.pricing-card:nth-child(odd) .btn {
background: var(--primary-color);
}

.pricing-card:nth-child(odd) .btn:hover {
background: #0f3d20;
}

.pricing-card:nth-child(even) .btn {
background: var(--secondary-color);
}

.pricing-card:nth-child(even) .btn:hover {
background: #a57109;
}

/* 7. Featured Card Highlighting */
.pricing-card.featured {
border: 2px solid var(--secondary-color);
}

/* 8. Slider Controls */
.slider-dot.active {
background: var(--primary-color);
}

/* Slider arrows alternation */
.slider-arrow.prev {
background-color: rgba(255, 255, 255, 0.8);
}

.slider-arrow.next {
background-color: rgba(203, 139, 14, 0.8); /* Secondary with opacity */
}

.slider-arrow.prev:hover {
background-color: white;
}

.slider-arrow.next:hover {
background-color: var(--secondary-color);
}

.search-container {
position: relative;
z-index: 10;
margin-bottom: 40px; /* Add space below the search container */
}

/* Ensure services section stays below */
.services {
position: relative;
z-index: 5;
padding-top: 30px; /* Add padding to the top of services section */
clear: both; /* Ensure it clears any floated elements above */
}

/* Make the search button responsive */
.search-btn {
width: 100%;
margin-top: 10px;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
.search-container {
  margin-bottom: 60px; /* Increase bottom margin on mobile */
}

.search-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  width: 100%;
  margin-bottom: 15px;
}

/* Ensure section titles are properly spaced */
.section-title {
  margin-top: 20px;
  padding-top: 20px;
}
}

/* Fix hero section height on mobile */
@media (max-width: 576px) {
.hero {
  min-height: auto;
  padding-bottom: 70px;
}

.hero-content {
  padding-bottom: 20px;
}
}

/* Additional Styling for Team Section*/

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-photo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Email Link Styling */
.email-link {
  color: white;                   
  cursor: pointer;                
  display: inline-block;          
  transition: 
    transform 0.2s, 
    text-decoration 0.3s, 
    text-shadow 0.3s;
  text-decoration: none;
}

/* Hover Effects */
.email-link:hover {
  text-decoration: underline;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Click "Pop" Effect */
.email-link:active {
  transform: scale(0.95);
}

/* Phone Link Styling */
.phone-link {
  color: white;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s, text-decoration 0.3s;
}
.phone-link:hover {
  text-decoration: underline;
}
.phone-link:active {
  transform: scale(0.95);
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  color: #333;
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  color: #007bff;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}