:root {
  --primary-color: #2a6e35;
  --secondary-color: #3a8c45;
  --light-green: #e8f5e9;
  --dark-green: #1b5e20;
  --accent-color: #ffc107;
  --transition-duration: 0.8s;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #333;
}

/* Custom Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
/* FAB Icon */
.fab-icon {
  position: fixed;
  top: -2.4rem;
  left: 1.8rem;
  width: 150px;
  height: 150px;
  /* background-color: white; */
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3); */
  z-index: 1001;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 5px;
}

.fab-icon:hover {
  transform: scale(1.1);
  /* box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4); */
  text-decoration: none;
}

.fab-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Navigation */
.navbar {
  position: absolute;
  padding: 8px 0;
  top: 0.5rem;
  left: 2%;
  right: 2%;
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
  border-radius: 0.8rem;
  border-top: 1.5px solid var(--primary-color);
  border-bottom: 1.5px solid var(--primary-color);
  overflow-x: visible;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Remove navbar-brand styles since we're using FAB icon instead */
.navbar-brand {
  display: none;
}

/* Align navbar content to the right */
.navbar-nav {
  margin-left: auto !important;
}

.nav-link {
  font-weight: 500;
  color: #272727 !important;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.nav-link.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.nav-link:not(.active):after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.dropdown-menu {
  border: none;
  background-color: rgba(255, 255, 255, 1) !important;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  border-bottom: 1.5px solid var(--primary-color);
  margin-top: -1px;
  margin-left: -0.5rem;
}

.dropdown-item {
  padding: 8px 20px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--light-green);
  color: var(--primary-color);
  padding-left: 25px;
}

/* About Us dropdown specific styles */
.dropdown-hover:hover .dropdown-menu {
  display: block;
}

/* Mobile responsiveness for FAB */
@media (max-width: 768px) {
  .navbar {
    left: 0; /* Changed from 20% to 0 to move navbar to the left */
    /* right: 40%; */
    border: none !important;
    box-shadow: none !important;
  }



  .fab-icon {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 150px !important;
    height: 150px !important;
    position: fixed !important;
    top: -2.4rem !important;
    right: 0.8rem !important; /* Force to right side */
    left: auto !important; /* Override any left positioning */
  }

  .fab-icon img {
    width: 100%;
    height: 100%;
  }
}

/* Hero Carousel - Properly Centered and Sized */
.hero-carousel {
  position: relative;
  height: 530px; /* Fixed height instead of vh for consistency */
  width: 96%; /* Better width for centering */
  max-width: 1400px; /* Increased max-width for better proportion */
  margin: 40px auto; /* More generous top/bottom margin */
  overflow: hidden;
  top: 2.8rem;
  background: #222;
  border-radius: 16px; /* Slightly larger radius */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-duration, 0.8s) ease-in-out;
  transform: translateX(0);
}

.carousel-slide.active {
  opacity: 1;
  z-index: 3;
}

/* Slide Background - Enhanced */
.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  filter: brightness(0.9); /* Slightly darken for better text contrast */
}

/* Enhanced overlay gradient */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

/* Slide Content - Better positioning */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 900px;
  text-align: center;
  color: white;
  z-index: 3;
  padding: 30px;
}

.slide-text {
  animation: slideInUp 1s ease-out 0.2s both;
}

.slide-title {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.slide-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 2rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.4;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.slide-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Enhanced CTA Buttons */
.hero-cta-btn {
  padding: 16px 36px;
  font-size: 1.1rem;
  /* font-weight: 600;  */
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.btn-primary {
  background: linear-gradient(
    45deg,
    var(--primary-color, #2a6e35),
    var(--secondary-color, #34a853)
  );
  color: white;
  box-shadow: 0 8px 25px rgba(42, 110, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(42, 110, 53, 0.4);
  color: white;
  text-decoration: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color, #2a6e35);
  border-color: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  text-decoration: none;
}

/* Enhanced Navigation */
.carousel-nav {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 10;
}

.nav-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
}

.nav-dot.active {
  background: var(--accent-color, #ffc107);
  transform: scale(1.4);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

/* Enhanced Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.15);
}

.carousel-arrow.prev {
  left: 25px;
}

.carousel-arrow.next {
  right: 25px;
}

/* Enhanced Progress Bar */
.progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--accent-color, #ffc107),
    var(--primary-color, #2a6e35)
  );
  transition: width 0.3s linear;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

/* Enhanced Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.floating {
  animation: float 4s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-carousel {
    width: 95%;
    top: 3.8rem;
    height: 450px;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 400px;
    width: 95%;
    margin: 25px auto;
    border-radius: 12px;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .carousel-arrow.prev {
    left: 15px;
  }

  .carousel-arrow.next {
    right: 15px;
  }

  .slide-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta-btn {
    width: 200px;
    padding: 14px 28px;
  }

  .slide-content {
    padding: 20px;
  }

  .carousel-nav {
    bottom: 25px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-carousel {
    height: 350px;
    width: 98%;
    margin: 20px auto;
    border-radius: 10px;
  }

  .hero-cta-btn {
    padding: 12px 24px;
    font-size: 1rem;
    width: 180px;
    min-width: 160px;
  }

  .carousel-nav {
    bottom: 20px;
    gap: 10px;
  }

  .nav-dot {
    width: 12px;
    height: 12px;
  }

  .slide-content {
    padding: 15px;
    width: 90%;
  }

  .slide-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
  }

  .slide-subtitle {
    font-size: clamp(0.95rem, 3vw, 1.3rem);
    margin-bottom: 2rem;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }
}
/* About Section */
.about-section {
  margin-top: 5rem;
  padding: 50px 0;
  background-color: #fff;
}

.section-title {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.about-content {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.about-image {
  height: 23rem;
  width: 40rem;
  margin-bottom: 1rem;
  align-items: center;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: translateY(-10px);
}

/* Features Section */
.features-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.feature-card {
  border: none;
  border-radius: 15px;
  transition: all 0.4s ease;
  background-color: white;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  color: var(--secondary-color);
}

.feature-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature-text {
  color: #666;
}

/* Testimonials Section */
.testimonials-section {
  padding: 50px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/content/Gallery/Grape\ 1.png") center/cover;
  opacity: 0.3;
  z-index: 0;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.testimonial-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.testimonial-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-container {
  position: relative;
  z-index: 1;
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-col {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  display: flex;
}

.testimonial-card {
  background-color: white;
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(42, 110, 53, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 5rem;
  color: rgba(42, 110, 53, 0.08);
  font-family: serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  flex-grow: 1;
  text-align: center;
  padding-top: 20px;
}

.testimonial-author {
  display: grid;
  align-items: center;
  text-align: center;
  margin-top: auto;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(42, 110, 53, 0.2);
  margin-right: 15px;
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-img {
  border-color: var(--primary-color);
}

.author-info h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 3px;
}

.author-info p {
  font-size: 0.7rem;
  color: #777;
}

/* Rating Stars */
.testimonial-rating {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .testimonial-col {
    min-width: 280px;
  }
}

@media (max-width: 991.98px) {
  .testimonials-section {
    padding: 80px 0;
  }

  .testimonial-title {
    font-size: 2.2rem;
  }

  .testimonial-row {
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonial-header {
    margin-bottom: 40px;
  }

  .testimonial-title {
    font-size: 2rem;
  }

  .testimonial-col {
    min-width: 100%;
    margin-bottom: 20px;
  }

  .testimonial-col:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .testimonial-card {
    padding: 25px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .author-info h5 {
    font-size: 1rem;
  }
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-green));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.cta-text {
  font-size: 1.2rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta-btn {
  font-weight: 600;
  padding: 12px 35px;
  border-radius: 50px;
  background-color: white;
  color: var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid white;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background-color: transparent;
  color: white;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background-color: #222;
  color: #aaa;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-about {
  margin-bottom: 20px;
}

.footer-title {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  text-align: justify;
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 0.7;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 100px 0 60px;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* ✅ For Chrome, Safari, Edge, Opera (WebKit/Blink) */
::-webkit-scrollbar {
  width: 2px; /* vertical scrollbar width */
  height: 5px; /* horizontal scrollbar height */
}

::-webkit-scrollbar-track {
  background: #e8f5e9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #3a8c45;
  border-radius: 50%;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ✅ For Firefox */
* {
  scrollbar-width: thin; /* makes scrollbar small */
  scrollbar-color: #3a8c45 #e8f5e9; /* thumb color | track color */
}
