:root {
  --primary-color: #84bb41;
  --secondary-color: #6c757d;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}
.text-primary{
    color: #84bb41 !important;
}
.bg-primary{
    background: #84bb41 !important;
}

body {
  font-family: var(--font-primary);
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 76px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Video Hero Section */
.video-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -76px; /* Offset the navbar padding */
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.11);
  z-index: 2;
}

.video-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.video-content h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.video-content .btn {
  margin: 0 10px;
  padding: 12px 30px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Section */
.hero-section {
  background-color: #f8f9fa;
  padding: 100px 0;
  position: relative;
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
}

.section-title h6 {
  font-weight: 600;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

/* Card Styling */
.card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

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

.icon-box {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  margin: 0 auto;
}

/* Button Styling */
.btn {
  padding: 10px 24px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: #84bb41;
  border-color: #84bb41;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Navbar Styling */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  max-height: 150px;
}

.navbar-light .navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  padding: 8px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px;
}

.dropdown-item {
  padding: 8px 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(0, 86, 179, 0.1);
  color: var(--primary-color);
}

/* Testimonial Styling */
.rating i {
  color: #ffc107;
}

.avatar-initial {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

/* Contact Form */
.form-control, .form-select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
}

.form-floating label {
  padding: 12px 15px;
}

/* Footer Styling */
footer {
  background-color: var(--dark-color);
}

footer a:hover {
  color: var(--primary-color) !important;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }
  
  .hero-section {
    padding: 60px 0;
    text-align: center;
  }
  
  .hero-section img {
    margin-top: 30px;
  }

  .video-content h1 {
    font-size: 2.5rem;
  }

  .video-content p {
    font-size: 1.1rem;
  }

  .video-content .btn {
    margin: 5px;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
}