/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
  font-family: 'Open Sans', 'Work Sans', sans-serif;
  /* Default base */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', sans-serif;
}

/* Unified Color Palette - CSS Custom Properties */
:root {
  /* Primary Brand Colors */
  --primary: #6da136;
  --primary-hover: #5a8a2d;
  --primary-light: #8bc34a;

  /* Secondary & Tertiary Colors */
  --secondary: #ffc107;
  --secondary-hover: #e6ae06;
  --tertiary: #0288d1;
  --tertiary-hover: #01579b;

  /* Status Colors */
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ff9800;
  --danger: #dc3545;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --black: #000000;

  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --text-link: #0288d1;
  --text-light: rgba(255, 255, 255, 0.9);

  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --overlay-light: rgba(0, 0, 0, 0.5);
  --overlay-dark: rgba(0, 0, 0, 0.9);

  /* Legacy Support (for backward compatibility) */
  --primary: #6da136;
  --dark-overlay: rgba(0, 0, 0, 0.9);
}

/* Hero Section / Home Slider */
/* Update the hero-wrap class or ID in HTML to ensure these apply */
.hero-wrap .overlay {
  background: rgba(0, 0, 0, 0.5) !important;
  /* Lighter base overlay */
}

/* Home Slider - Full Height Hero Section */
.home-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.home-slider .slider-item {
  height: 100vh;
  min-height: 700px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-slider .slider-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.home-slider .slider-item .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.home-slider .slider-text {
  width: 100%;
  text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {

  .home-slider,
  .home-slider .slider-item {
    height: auto;
    min-height: 500px;
    max-height: 70vh;
  }

  .home-slider .slider-item h1 {
    font-size: 28px !important;
  }

  .home-slider .slider-item p {
    font-size: 14px !important;
  }

  .home-slider .slider-item .text {
    padding: 40px 20px;
  }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 576px) {
  .home-slider,
  .home-slider .slider-item {
    height: auto;
    min-height: 450px;
    max-height: 60vh;
  }

  .home-slider .slider-item h1 {
    font-size: 24px !important;
    margin-bottom: 15px !important;
  }

  .home-slider .slider-item p {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }

  .home-slider .slider-item .btn {
    padding: 10px 20px !important;
    font-size: 13px !important;
  }

  .home-slider .slider-item .text {
    padding: 30px 15px;
  }
}

.hero-wrap h1 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero-wrap h1 .dot {
  color: var(--primary);
}

.hero-btn {
  border-radius: 50px;
  padding: 12px 40px;
  font-weight: 500;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.btn-outline-green {
  border: 2px solid var(--primary);
  color: #fff;
  background: transparent;
}

.btn-outline-green:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Navbar / Header Overlay */
/* Navbar / Header Overlay */
.wrap,
.ftco-section .wrap,
body .wrap {
  display: none !important;
  /* Hide top contact bar globally */
}

#ftco-navbar.ftco_navbar,
#ftco-navbar {
  position: fixed !important;
  /* Fixed position for sticky behavior */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000 !important;
  background: rgba(0, 0, 0, 0.2) !important;
  /* Lighter background */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#ftco-navbar .container-fluid {
  max-width: 1300px;
  /* Constrain width */
  margin: 0 auto;
}

#ftco-navbar .navbar-brand {
  color: #fff;
}

/* Constrain logo height via CSS to override inline styles effectively */
#ftco-navbar .navbar-brand img {
  max-height: 80px !important;
  width: auto;
}

#ftco-navbar .nav-link {
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

/* Resize CTA Button */
#ftco-navbar .nav-item .btn {
  padding: 0.5rem 1rem !important;
  font-size: 0.85rem !important;
}

#ftco-navbar .nav-link:hover {
  color: #6da136 !important;
}

/* Mobile Nav Toggle Adjustment */
.mobile-nav-toggle {
  top: 30px;
  /* Adjust for better alignment with logo */
}

/* Mobile Navigation Sidebar */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  /* Adjust based on logo position */
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #fff;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/* The Sidebar Container */
#mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  /* Full width on very small screens, or constrained */
  left: 100%;
  /* Start off-screen */
  z-index: 9997;
  overflow-y: auto;
  background: var(--dark-overlay);
  transition: left 0.4s;
  /* Slide in effect */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 80px 20px 20px;
}

/* When active, slide it in.
   Note: Better approach for "slide from right" is likely modifying right/left properties
   or using transform. Let's use left: 0 or similar mechanic.
   Actually, the target site uses right: 0; bottom: 0; left: 100px;
*/
.mobile-nav-active #mobile-nav {
  left: 0;
  /* If we want the "sidebar" look leaving some space on the left: */
  left: 60px;
  /* Leave 60px visible on the left side */
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
  width: 100%;
  max-width: 300px;
}

#mobile-nav ul li {
  position: relative;
  margin: 8px 0;
}

#mobile-nav ul li a {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'Roboto', sans-serif;
  display: block;
  padding: 8px 15px;
  text-align: left;
}

#mobile-nav ul li a:hover,
#mobile-nav ul li.active>a {
  color: var(--primary);
}

/* Mobile nav button styles */
#mobile-nav .btn {
  font-size: 14px;
  padding: 10px 20px !important;
  margin-bottom: 15px !important;
}

/* Mobile nav dropdown styles */
#mobile-nav .mobile-dropdown {
  position: relative;
}

#mobile-nav .mobile-dropdown > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

#mobile-nav .mobile-dropdown-toggle::after {
  content: '\f107';
  font-family: 'FontAwesome';
  margin-left: 5px;
  transition: transform 0.3s;
}

#mobile-nav .mobile-dropdown.open .mobile-dropdown-toggle::after {
  transform: rotate(180deg);
}

#mobile-nav .mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 0;
}

#mobile-nav .mobile-dropdown.open .mobile-dropdown-menu {
  max-height: 500px;
}

#mobile-nav .mobile-dropdown-menu li {
  margin: 5px 0;
}

#mobile-nav .mobile-dropdown-menu a {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 15px 6px 30px;
  text-transform: none;
  text-align: left;
}

/* Hide standard navbar on mobile, show styling for desktop */
@media (max-width: 991px) {

  /* Hide the Bootstrap collapse */
  #ftco-nav {
    display: none !important;
  }

  /* Show hamburger */
  .mobile-nav-toggle {
    display: block;
  }
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }

  #mobile-nav {
    display: none;
    /* Hide sidebar on desktop */
  }
}