/*!
 * Mark Leigh Excavations - Premium Modern Design
 * Optimized for SEO and User Experience
 */

/* ========== CSS Variables - Green Theme ========== */
:root {
  --primary-green: #2d5016;
  --primary-green-light: #3a6b1e;
  --primary-green-dark: #1f3810;
  --accent-green: #4a7c2c;
  --accent-green-light: #5d9a38;
  --success-green: #52c41a;
  --neutral-dark: #1a1a1a;
  --neutral-gray: #333333;
  --neutral-light-gray: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* ========== Global Styles ========== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 76px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--neutral-gray);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

@media (min-width: 992px) {
  body {
    padding-top: 80px;
  }
}

/* Bootstrap container fixes */
.container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--neutral-light-gray);
}

@media (max-width: 576px) {
  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-green);
  text-decoration: none;
}

/* ========== Images ========== */
img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .img-fluid.rounded {
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  .img-fluid.rounded {
    margin-top: 1rem;
  }
}

/* ========== Navigation ========== */
.navbar {
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%) !important;
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0 !important;
  transition: var(--transition-normal);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-white) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  margin-right: 2rem !important;
}

.navbar-brand:hover {
  color: var(--success-green) !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.1rem;
    margin-right: 1rem !important;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 4px;
  transition: var(--transition-fast);
  position: relative;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--bg-white) !important;
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
    font-size: 1rem;
  }
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  background: var(--bg-white) !important;
}

@media (max-width: 991px) {
  .dropdown-menu {
    border-radius: 4px;
    margin-top: 0.25rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05) !important;
  }
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--neutral-gray);
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--accent-green-light) !important;
  color: var(--bg-white) !important;
  padding-left: 2rem;
}

@media (max-width: 991px) {
  .dropdown-item {
    padding: 0.625rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .dropdown-item:hover,
  .dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--bg-white) !important;
    padding-left: 1.5rem;
  }
}

/* ========== Navbar Phone Number ========== */
.navbar-phone {
  color: var(--bg-white) !important;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: var(--transition-fast);
}

.navbar-phone:hover {
  color: var(--success-green) !important;
  text-decoration: none;
}

@media (max-width: 991px) {
  .navbar-phone {
    margin-left: 0;
    margin-top: 1rem;
    border-left: none;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0 0.5rem 0;
    justify-content: center;
  }
  
  .navbar-toggler {
    margin-right: 0;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 50%, var(--accent-green) 100%);
  color: var(--bg-white);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 1rem 0.5rem;
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-section {
    min-height: 450px;
    padding: 2rem 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-section {
    min-height: 400px;
    padding: 1.5rem 0;
  }
  
  .hero-buttons {
    gap: 0.75rem;
  }
}

/* ========== Buttons ========== */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }
}

.btn-outline-light {
  border: 2px solid var(--bg-white);
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  color: var(--bg-white);
}

.btn-outline-light:hover {
  background: var(--bg-white);
  color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .btn-outline-light {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .btn-outline-light {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }
}

.btn-secondary {
  background: var(--accent-green);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .btn-secondary {
    padding: 0.75rem 1.75rem;
  }
}

@media (max-width: 576px) {
  .btn-secondary {
    padding: 0.625rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    margin-top: 0.5rem;
  }
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ========== Carousel ========== */
.carousel-item {
  height: 70vh;
  min-height: 400px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
}

@media (max-width: 768px) {
  .carousel-item {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    height: 40vh;
    min-height: 300px;
  }
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(58, 107, 30, 0.5) 100%);
}

.carousel-caption {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .carousel-caption {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .carousel-caption {
    padding: 1rem;
    bottom: 0.5rem;
  }
}

.carousel-caption h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--bg-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .carousel-caption h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 576px) {
  .carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

.carousel-caption p {
  font-size: 1.5rem;
  color: var(--bg-white);
  font-weight: 400;
}

@media (max-width: 768px) {
  .carousel-caption p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .carousel-caption p {
    font-size: 0.9rem;
  }
}

/* ========== Section Styles ========== */
.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 2rem 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 2rem;
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green) 0%, var(--primary-green) 100%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--neutral-light-gray);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .section-subtitle {
    margin: 0 auto 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .section-subtitle {
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
    padding: 0 1rem;
  }
}

.bg-light-section {
  background-color: var(--bg-light);
}

.bg-white-section {
  background-color: var(--bg-white);
}

/* ========== Service Cards ========== */
.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-green);
}

.service-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-img {
  transform: scale(1.1);
}

.service-card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.service-card-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(58, 107, 30, 0.5) 100%);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover .service-card-img-wrapper::after {
  opacity: 1;
}

.service-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .service-card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .service-card-body {
    padding: 1.25rem 1rem;
  }
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--neutral-dark);
}

@media (max-width: 576px) {
  .service-card-title {
    font-size: 1.25rem;
  }
}

.service-card-title a {
  color: var(--neutral-dark);
  transition: var(--transition-fast);
}

.service-card-title a:hover {
  color: var(--accent-green);
}

.service-card-text {
  color: var(--neutral-light-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-link {
  color: var(--accent-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.service-card-link:hover {
  color: var(--primary-green);
  gap: 0.75rem;
}

.service-card-link::after {
  content: '→';
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

/* ========== Feature Icons ========== */
.feature-icon-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
  border: 2px solid var(--accent-green);
  color: var(--neutral-gray);
}

.feature-icon-box:hover {
  border-color: var(--accent-green-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .feature-icon-box {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 576px) {
  .feature-icon-box {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(74, 124, 44, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent-green);
  transition: var(--transition-normal);
  border: 2px solid var(--accent-green-light);
}

.feature-icon-box:hover .feature-icon {
  transform: rotate(360deg) scale(1.1);
  background: rgba(74, 124, 44, 0.15);
}

@media (max-width: 576px) {
  .feature-icon {
    width: 65px;
    height: 65px;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--neutral-dark);
}

@media (max-width: 576px) {
  .feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
}

.feature-text {
  color: var(--neutral-gray);
  font-size: 1rem;
}

@media (max-width: 576px) {
  .feature-text {
    font-size: 0.9rem;
  }
}

/* ========== Portfolio/Gallery ========== */
.portfolio-item {
  margin-bottom: 30px;
}

@media (max-width: 576px) {
  .portfolio-item {
    margin-bottom: 20px;
  }
}

.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .card:hover {
    transform: translateY(-4px);
  }
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

@media (max-width: 576px) {
  .card-img-top {
    height: 180px;
  }
}

.card-body {
  padding: 1.5rem;
}

@media (max-width: 576px) {
  .card-body {
    padding: 1.25rem 1rem;
  }
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (max-width: 576px) {
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
}

.card-title a {
  color: var(--neutral-dark);
  transition: var(--transition-fast);
}

.card-title a:hover {
  color: var(--accent-green);
}

/* ========== Call to Action ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 50%, var(--accent-green) 100%);
  color: var(--bg-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .cta-section {
    padding: 2rem 0;
  }
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
  background-size: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bg-white);
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
  .cta-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .cta-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-content .col-lg-8 {
    text-align: center;
  }
  
  .cta-content .col-lg-4 {
    text-align: center !important;
  }
}

/* ========== Contact Info Boxes ========== */
.contact-info-box {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 2px solid transparent;
  height: 100%;
}

.contact-info-box:hover {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .contact-info-box {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .contact-info-box {
    padding: 1.25rem 1rem;
  }
}

/* Fix for contact page spacing */
.contact-info-box.mb-4:last-child {
  margin-bottom: 0 !important;
}

/* Ensure proper spacing for contact page h2 headings */
.contact-info-box + .contact-info-box {
  margin-top: 0;
}

@media (min-width: 992px) {
  .contact-info-box {
    margin-bottom: 1.5rem !important;
  }
  
  .contact-info-box:last-child {
    margin-bottom: 0 !important;
  }
}

.contact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--bg-white);
}

@media (max-width: 576px) {
  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
}

.contact-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--neutral-dark);
}

@media (max-width: 576px) {
  .contact-info-title {
    font-size: 1.1rem;
  }
}

.contact-info-text {
  color: var(--neutral-light-gray);
  font-size: 1rem;
}

@media (max-width: 576px) {
  .contact-info-text {
    font-size: 0.9rem;
  }
}

.contact-info-text a {
  color: var(--accent-green);
  font-weight: 600;
}

.contact-info-text a:hover {
  color: var(--primary-green);
}

/* ========== Forms ========== */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 0.2rem rgba(74, 124, 44, 0.25);
}

@media (max-width: 576px) {
  .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.95rem;
  }
}

textarea.form-control {
  min-height: 150px;
}

@media (max-width: 576px) {
  textarea.form-control {
    min-height: 120px;
  }
}

.form-label {
  font-weight: 600;
  color: var(--neutral-dark);
  margin-bottom: 0.5rem;
}

@media (max-width: 576px) {
  .form-label {
    font-size: 0.95rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}

.form-row > .col,
.form-row > [class*="col-"] {
  padding-right: 5px;
  padding-left: 5px;
}

/* ========== FAQ / Accordion ========== */
.accordion .card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion .card-header {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
}

.accordion .card-header h5 {
  margin-bottom: 0;
}

.accordion .btn-link {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  color: var(--neutral-dark);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-fast);
  display: block;
}

.accordion .btn-link:hover {
  color: var(--accent-green);
  text-decoration: none;
  background-color: rgba(74, 124, 44, 0.05);
}

.accordion .btn-link:focus {
  text-decoration: none;
  box-shadow: none;
}

.accordion .card-body {
  padding: 1.5rem;
  color: var(--neutral-light-gray);
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 576px) {
  .accordion .btn-link {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .accordion .card-body {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

.alert-info {
  background-color: rgba(74, 124, 44, 0.1);
  border: 2px solid var(--accent-green);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--neutral-dark);
}

.alert-info h5 {
  color: var(--accent-green);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.alert-info a {
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: underline;
}

.alert-info a:hover {
  color: var(--primary-green);
}

/* ========== Lists ========== */
.content-list {
  list-style: none;
  padding: 0;
}

.content-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--neutral-light-gray);
}

.content-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: 700;
  font-size: 1.2rem;
}

ul {
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.5rem;
  color: var(--neutral-light-gray);
}

/* ========== Testimonials ========== */
.testimonial-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-green);
  margin-bottom: 2rem;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.75rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.25rem;
  }
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--neutral-light-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

@media (max-width: 576px) {
  .testimonial-text {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
}

.testimonial-author {
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 0.25rem;
}

.testimonial-position {
  color: var(--accent-green);
  font-size: 0.9rem;
}

/* ========== Stats/Counter ========== */
.stats-box {
  text-align: center;
  padding: 2rem 1rem;
}

@media (max-width: 576px) {
  .stats-box {
    padding: 1.5rem 0.5rem;
  }
}

.stats-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
  display: block;
}

@media (max-width: 768px) {
  .stats-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .stats-number {
    font-size: 2rem;
  }
}

.stats-label {
  font-size: 1.1rem;
  color: var(--neutral-light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-label {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .stats-label {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }
}

/* ========== Footer ========== */
footer {
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--neutral-dark) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
}

footer h5 {
  color: var(--bg-white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

footer a:hover {
  color: var(--success-green);
  padding-left: 5px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.75rem;
}

@media (max-width: 991px) {
  footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  footer h5 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  
  footer .col-lg-4:first-child h5,
  footer .col-lg-2:first-child h5,
  footer .col-lg-3:first-child h5 {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  footer {
    padding: 2rem 0 1rem;
  }
  
  footer h5 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  footer p {
    font-size: 0.9rem;
  }
  
  footer ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.85rem;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .footer-bottom {
    margin-top: 1rem;
  }
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-green);
  transform: translateY(-3px);
}

/* ========== Breadcrumbs ========== */
.breadcrumb {
  background: var(--bg-light);
  padding: 1rem 0;
  border-radius: 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: var(--accent-green);
}

.breadcrumb-item.active {
  color: var(--neutral-light-gray);
}

/* ========== Page Header ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
  color: var(--bg-white);
  padding: 4rem 0 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-header {
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 2rem 0 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--bg-white);
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 576px) {
  .page-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
}

.page-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
}

@media (max-width: 768px) {
  .page-subtitle {
    font-size: 1.15rem;
  }
}

@media (max-width: 576px) {
  .page-subtitle {
    font-size: 1rem;
  }
}

/* ========== Utilities ========== */
.text-green {
  color: var(--accent-green) !important;
}

.bg-green {
  background-color: var(--accent-green) !important;
}

.border-green {
  border-color: var(--accent-green) !important;
}

.mb-6 {
  margin-bottom: 4rem !important;
}

.mt-6 {
  margin-top: 4rem !important;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .hero-section {
    min-height: 500px;
  }
  
  body {
    padding-top: 70px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .service-card-img {
    height: 200px;
  }
  
  /* Add margin bottom to stacked columns */
  .row > [class*='col-'] {
    margin-bottom: 1rem;
  }
  
  .row > [class*='col-']:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 15px;
    padding-top: 66px;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .service-card-img {
    height: 180px;
  }
  
  /* Improve list spacing on mobile */
  .content-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    font-size: 0.95rem;
  }
  
  .content-list li::before {
    font-size: 1rem;
  }
  
  /* Adjust card spacing */
  .card {
    margin-bottom: 1rem;
  }
  
  /* Ensure proper spacing for mb-4 on mobile */
  .mb-4 {
    margin-bottom: 1rem !important;
  }
  
  /* Fix ml-2 buttons on mobile */
  .ml-2 {
    margin-left: 0 !important;
    margin-top: 0.75rem;
  }
}

/* ========== Print Styles ========== */
@media print {
  .navbar,
  footer,
  .cta-section,
  .btn {
    display: none !important;
  }
  
  body {
    padding-top: 0;
  }
}

/* ========== Accessibility ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

*:focus {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* ========== Loading Animation ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}


