
:root {
  --primary-color: #95c11f;
  --secondary-color: #001529;
  --accent-color: #7a7f99;
  --nav-color: #585c71;
}

* {
  box-sizing: border-box;
  /* max-width: 100%; */
}

html, body {
  overflow-x: hidden;
  width: 100%;
}


/* Navigation */
.navbar-toggler-icon {
  color: var(--secondary-color);
}

@media (max-width: 991px) { 
  .navbar-collapse {
    position: absolute;
    top: 100%; 
    right: 0%;
    left: 50%;
    background: var(--secondary-color); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
    width: 50%;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar-nav .nav-link {
    color: white !important;
  }

  .btn {
    border: 1px solid white !important;
    border-radius: 40px;
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    background: transparent;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  }
}
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background-size: cover;
  background-blend-mode: overlay;
  background-image: url('public/img/background3.svg');
  background-repeat: no-repeat;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-nav .nav-link {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  font-weight: 400; 
  padding: 10px 15px;
  color: var(--secondary-color);
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.nav-link:hover {
  transform: scale(1.1);
}

.login {
  margin-left: 1rem;
}

.btn {
  border: 1px solid var(--secondary-color);
  border-radius: 40px;
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  background: transparent;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Hero Section */
.hero-section {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: white;
  padding: 80px 0;
  background-image: url('public/img/background3.svg'); /* Fixed path */
  text-align: start;
}

.title {
  font-size: 70px;
  background: linear-gradient(90deg, rgba(207, 220, 39, 1) 0%, rgba(29, 174, 75, 1) 100%);
  background-clip: text;
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

#header1 {
  position: relative;
  left: -100%;
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
}

/* Responsive Image */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
  width: 100%; 
  height: auto; 
  position: relative; 
}

.hero-section img {
  width: 100%; 
  height: auto;
  transform: scale(2.8); 
  transform-origin: center; 
}

/* Responsive Adjustments */
@media (max-width: 1450px) {
  .hero-section img {
    transform: scale(2.6); 
  }
}

@media (max-width: 900px) {
  .hero-section img {
    transform: scale(2.8); 
  }
}
@media (max-width: 980px) {
  .hero-section img {
    transform: scale(2.8); 
  }
}

@media (max-width: 768px) {
  .hero-section img {
    transform: scale(2.2); /
  }
}

@media (max-width: 643px) {
  .hero-section img {
    transform: scale(2.2); 
  }
}


/* Animations */
@keyframes slideInLeft {
  to {
    left: 0;
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column;
    gap: 10px;
  }

  .navbar-collapse {
    text-align: center;
    /* background-color: rgba(0, 0, 0, 0.9); */
    padding: 10px;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
  }

  .btn {
    font-size: 16px;
    padding: 0.4rem 0.8rem;
  }

  .title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .title {
    font-size: 3.5rem;
  }

  .navbar-brand img {
    height: 35px;
  }

  .btn {
    font-size: 14px;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 643px) {
  .title {
    font-size: 3.5rem
  }

  .hero-section img {
    max-width: 80%;
  }

  .btn {
    font-size: 12px;
    padding: 0.2rem 0.5rem;
  }
}


/* Slider */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

#div_1 {
  position: relative; /* added */
  width: 100%;
  height: 300px; /* Increased height */
  background: #FBFBFB;
  box-shadow: 1px 1px 30px rgba(0,0,0,.1);
  border-radius: 25px;
}

#div_2 {
  position: absolute; /* added */
  height: 90%; 
  width: 40%;
  bottom: -30%; /* modified */
  left: 70%; /* modified */
  background: #FBFBFB;
  box-shadow: 1px 1px 30px rgba(0,0,0,.1);
  border-radius: 25px;
}

#div_wrapper {
  border-radius: 25px;
  width: 50%;
  margin: 0 auto;
  padding: 80px 80px 130px 80px;
  background-color: var(--secondary-color);
    white-space: nowrap; /* Prevent text wrapping */
    position: relative; /* Adjust as needed */
}

.slider-text h1 {
  font-weight: 600;
  font-size: 38px;

}

#div_1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.halo {
  margin-bottom: 100px;
  margin-top: 100px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

.slider-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.swiper1-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -60px;
}
@media (max-width: 768px) {
  #div_wrapper {
    width: auto;
    padding: 40px 60px 60px 40px;
  }
  #div_2 {
    height: 60%; 
    width: 40%;
    bottom: -10%;
  }
  .halo {
    display: block;
  }
  .slider-text h1 {
    font-size: 28px;
  }
}

/* Features Section */
.feature-box {
  border-radius: 10px;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.dot {
  display: inline;
}

.dot--hide {
  display: none;
}

.read-more-text {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.read-more-text--show {
  max-height: 100px; 
  opacity: 1;
}

.read-more-container {
  display: flex;
  flex-direction: column;
}

.read-more-btn {
  color: var(--primary-color);
  cursor: pointer;
}

/* Pricing Cards */
.pricing-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border: 2px solid var(--primary-color);
}

.price {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--accent-color);
}

/* Testimonials */
.testimonials-slider {
  padding: 2rem 0;
  position: relative;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  margin: 3.3rem;
  height: 100%;
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.company {
  color: var(--accent-color);
  font-style: italic;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color) !important;
  display: block !important;
  opacity: 1 !important;
  z-index: 10;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* Footer */
.footer-logo a img {
  height: 100px;
  width: auto;
}

footer {
  background-color: var(--nav-color) !important;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
}

.social-icon a {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon a:hover {
  transform: scale(1.2); 
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.2)); 
}

.bi-facebook {
  color: var(--accent-color) ; 
}

.bi-facebook:hover {
  color: #1877F2; 
}

.bi-android2 {
  color: var(--accent-color); 
}

.bi-android2:hover {
  color: #78C257; 
}

.bi-apple {
  color: var(--accent-color); 
}

.bi-apple:hover {
  color: #000000; 
}

.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);

}

.btn-success :hover {
  background-color: #86ae1b;
  border-color: #86ae1b;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
  }

  .hero-section {
    text-align: center;
  }
}
