:root {
    --primary-color: #026504;
    --secondary-color: #013b03;
    --light-bg: #f8f9fa;
    --dark-text: #333;
}

body {
    font-family: 'Open Sans', Verdana, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

/*contact form message*/
#formMessage {
    display: none; /* Initially hidden */
    background-color: #dff0d8; /* Light green background for success */
    color: #3c763d; /* Darker green text */
    padding: 15px;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 1.2em;
    text-align: center;
  }
  /* For error messages, you can add a different style */
  #formMessage.error {
    background-color: #f2dede;
    color: #a94442;
    border-color: #ebccd1;


}
.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
  }
  
  .language-selector .lang-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color); /* Uses your primary green */
    color: var(--light-bg); /* Light background color for contrast */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .language-selector .lang-icon:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color); /* Darker green on hover */
  } 
/* Top Bar */
.top-bar {
    background-color: #f8f9fa;
    font-size: 0.8rem;
    padding: 5px 0;
}

/* Header */
.main-header {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 15px 0;
}

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    font-weight: 600;
    padding: 10px 15px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background-color: var(--primary-color);
}

/* Page Header */
.page-header {
    background-color: var(--light-bg);
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.page-header h1 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0;
}

/* Content Sections */
.content-section {
    padding: 40px 0;
}

.content-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.content-section h3 {
    color: #003366;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Hero Slider */
.hero-slider {
    margin-bottom: 40px;
}

.swiper-slide {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 5px;
}

.slide-content h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
}

.slide-content h3 {
    color: #003366;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Feature Boxes */
.feature-box {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 5px;
    height: 100%;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-box img {
    border-radius: 5px;
    margin-bottom: 15px;
}

.feature-box h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Service Sidebar */
.service-sidebar {
    background-color: var(--light-bg);
    border-radius: 5px;
    padding: 20px;
}

.service-sidebar h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.service-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.service-sidebar ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.service-sidebar ul li a {
    color: var(--dark-text);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.service-sidebar ul li a:hover {
    color: var(--primary-color);
}

.service-sidebar ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: #bbe4e8;
    text-decoration: none;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Copyright */
.copyright {
    background-color: #012b02;
    color: #bbe4e8;
    padding: 15px 0;
    font-size: 0.9rem;
}
.whatsapp-float {
    position: fixed;
    bottom: 80px; /* Adjust so it doesn't overlap with the back-to-top button */
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
  }
  
  .whatsapp-float:hover {
    background-color: #128C7E;
  }
/* Responsive Media Queries */
@media (max-width: 768px) {
    .navbar-brand img {
        max-width: 200px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .service-sidebar {
        margin-top: 30px;
    }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 9999;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Page transitions */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Improve 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: 0;
}

/* Improve focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
} 

  
/* Adjust for mobile devices */
@media (max-width: 576px) {
    .language-selector {
      gap: 5px;
      padding: 5px;
    }
    
    .language-selector .lang-icon {
      width: 28px;
      height: 28px;
      font-size: 0.9rem;
    }
  }