* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}
.navbar {
  width: 100%;
  background: white;
  padding: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  width: 60%;
  /* max-width: 150px; */
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.nav-links a:hover {
  color: #05716c;
}

.nav-links a.active {
  color: #05716c;
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #05716c;
  border-radius: 2px;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 998;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    padding: 80px 20px 20px;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .nav-links.open {
    right: 0;
  }

  .overlay.active {
    display: block;
  }
}

/* Hero Slider - Responsive */
.hero-slider {
  width: 100%;
  height: auto; /* Changed from fixed height */
  min-height: calc(100vh - 80px); /* Minimum height on desktop */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6f4f2;
  padding: 40px 0; /* Added vertical padding */
}

.slider-container {
  width: 90%;
  max-width: 1200px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px; /* Reduced padding for mobile */
}

.slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  opacity: 0;
  position: absolute;
  width: 100%;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: translateX(40px);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.text {
  flex: 1;
}

.text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.text p {
  font-size: 18px; /* Slightly larger */
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.btn {
  padding: 12px 25px;
  background: #05716c;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.image {
  flex: 1;
  position: relative;
  background-color: #f7f8fc;
  background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 10px 10px;
  padding: 15px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image img {
  display: block;
  width: 90%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* CONTROLS */
.control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  border: none;
  cursor: pointer;
  font-size: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.dots {
  text-align: center;
  margin-top: 20px;
  display: none;
}

/* ========== MOBILE RESPONSIVE STYLES ========== */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .hero-slider {
    min-height: auto;
    padding: 60px 0;
  }
  
  .slider-container {
    padding: 0 20px;
  }
  
  .slide {
    gap: 30px;
  }
  
  .text h2 {
    font-size: 32px;
  }
  
  .text p {
    font-size: 16px;
  }
}

/* Mobile: 480px - 768px */
@media (max-width: 768px) {
  .hero-slider {
    padding: 40px 0;
    min-height: auto;
  }
  
  .slider-container {
    padding: 0 15px;
  }
  
  .slide {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 20px 0;
  }
  
  .text {
    order: 2; /* Text comes after image on mobile */
  }
  
  .image {
    order: 1; /* Image comes first on mobile */
    max-width: 300px;
    margin: 0 auto;
  }
  
  .text h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .text p {
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  .control {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .prev {
    left: 5px;
  }
  
  .next {
    right: 5px;
  }
}

/* Small Mobile: < 480px */
@media (max-width: 480px) {
  .hero-slider {
    padding: 30px 0;
  }
  
  .slider-container {
    padding: 0 10px;
  }
  
  .slide {
    gap: 25px;
  }
  
  .text h2 {
    font-size: 24px;
  }
  
  .text p {
    font-size: 15px;
  }
  
  .image {
    max-width: 250px;
    padding: 12px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .control {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* Extra Small Mobile: < 360px */
@media (max-width: 360px) {
  .text h2 {
    font-size: 22px;
  }
  
  .text p {
    font-size: 14px;
  }
  
  .image {
    max-width: 220px;
  }
  
  .control {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

/* Landscape mode for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider {
    min-height: auto;
    padding: 20px 0;
  }
  
  .slide {
    flex-direction: row; /* Keep side-by-side in landscape */
    gap: 20px;
  }
  
  .text h2 {
    font-size: 22px;
  }
  
  .text p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .image {
    max-width: 200px;
  }
}

/* Prevent image hover effects on touch devices */
@media (hover: none) {
  .image:hover {
    transform: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  }
  
  .image:hover img {
    transform: none;
    filter: none;
  }
}

/* next section */
/* MOBILE */
/* @media (max-width: 900px) {
  .slide {
    flex-direction: column-reverse;
    text-align: center;
  }

  .image img {
    width: 320px;
  }

  .text h2 {
    font-size: 28px;
  }
} */

.welcome-card {
  padding: 60px 20px;
  background: #f7f9fc;
  text-align: center;
}

.welcome-card .container {
  max-width: 800px;
  margin: auto;
}

.welcome-card .card h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.welcome-card .card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

.welcome-card .card .btn {
  padding: 12px 25px;
  background: #05716c;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.welcome-card .card .btn:hover {
  background: #045b56;
}

.quick-features {
  padding: 60px 20px;
  text-align: center;
}

.quick-features h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 400;
  color: #333;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px;
  max-width: 280px;
}

.feature-card h3 {
  color: #05716c;
  margin-bottom: 10px;
}

.feature-card p {
  color: #555;
  font-size: 0.95rem;
}

.home-cta {
  padding: 60px 20px;
  text-align: center;
  margin: 40px auto;
  max-width: 1200px; /* Increased from 900px */
}

.home-cta .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-cta h2 {
  font-size: 2.5rem; /* Increased from 2rem */
  margin-bottom: 20px; /* Increased from 15px */
  color: #333;
  font-weight: 700;
  line-height: 1.2;
}

.home-cta > .container > p {
  color: #555;
  font-size: 1.2rem; /* Increased from 1rem */
  margin-bottom: 40px; /* Increased from 25px */
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.home-cta .cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; /* Increased from 40px */
  align-items: center; /* Uncommented and added */
  margin-top: 40px;
}

.home-cta .cta-grid .cta-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.home-cta .cta-grid .cta-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-cta .cta-grid .cta-image:hover img {
  transform: scale(1.03);
}

.home-cta .cta-grid .cta-content {
  text-align: left;
}

.home-cta .cta-grid .cta-content h3 {
  font-size: 1.8rem;
  color: #045b58; /* Uncommented */
  margin-bottom: 25px; /* Increased from 20px */
  font-weight: 600;
  line-height: 1.3;
}

.home-cta .cta-grid .cta-content .cta-points {
  padding-left: 20px;
  margin-bottom: 35px; /* Increased from 20px */
}

.home-cta .cta-grid .cta-content .cta-points li {
  font-size: 1.1rem; /* Increased from 1rem */
  color: #333;
  margin-bottom: 12px; /* Increased from 10px */
  list-style: disc;
  line-height: 1.6;
}

.home-cta .cta-grid .cta-content .cta-points li::marker {
  color: #05716c; /* Color the bullet points */
}

.home-cta .cta-grid .cta-content .btn {
  display: inline-block;
  padding: 14px 32px; /* Increased from 12px 24px */
  background: #045b58;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #045b58;
}

.home-cta .cta-grid .cta-content .btn:hover {
  background: #067a76;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(6, 122, 118, 0.2);
}

.btn24 {
  display: flex;
  align-items: flex-start;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .home-cta {
    padding: 50px 20px;
  }
  
  .home-cta h2 {
    font-size: 2.2rem;
  }
  
  .home-cta > .container > p {
    font-size: 1.1rem;
  }
  
  .home-cta .cta-grid {
    gap: 40px;
  }
  
  .home-cta .cta-grid .cta-content h3 {
    font-size: 1.6rem;
  }
  
  .home-cta .cta-grid .cta-content .cta-points li {
    font-size: 1rem;
  }
}

/* Mobile: 480px - 768px */
@media (max-width: 768px) {
  .home-cta {
    padding: 40px 15px;
    margin: 20px auto;
  }
  
  .home-cta .container {
    padding: 0 15px;
  }
  
  .home-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .home-cta > .container > p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .home-cta .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .home-cta .cta-grid .cta-content {
    text-align: center;
  }
  
  .home-cta .cta-grid .cta-content h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .home-cta .cta-grid .cta-content .cta-points {
    text-align: left;
    padding-left: 25px;
    margin-bottom: 30px;
  }
  
  .home-cta .cta-grid .cta-content .cta-points li {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: left;
  }
  
  .home-cta .cta-grid .cta-content .btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
  
  .btn24 {
    justify-content: center;
  }
}

/* Small Mobile: < 480px */
@media (max-width: 480px) {
  .home-cta {
    padding: 30px 10px;
  }
  
  .home-cta .container {
    padding: 0 10px;
  }
  
  .home-cta h2 {
    font-size: 1.6rem;
  }
  
  .home-cta > .container > p {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  
  .home-cta .cta-grid {
    gap: 30px;
  }
  
  .home-cta .cta-grid .cta-content h3 {
    font-size: 1.3rem;
  }
  
  .home-cta .cta-grid .cta-content .cta-points {
    padding-left: 20px;
    margin-bottom: 25px;
  }
  
  .home-cta .cta-grid .cta-content .cta-points li {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .home-cta .cta-grid .cta-content .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/* Extra Small Mobile: < 360px */
@media (max-width: 360px) {
  .home-cta h2 {
    font-size: 1.4rem;
  }
  
  .home-cta > .container > p {
    font-size: 0.9rem;
  }
  
  .home-cta .cta-grid .cta-content h3 {
    font-size: 1.2rem;
  }
  
  .home-cta .cta-grid .cta-content .cta-points li {
    font-size: 0.9rem;
  }
  
  .home-cta .cta-grid .cta-content .btn {
    padding: 9px 20px;
    font-size: 0.9rem;
  }
}

/* Landscape mode for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .home-cta {
    padding: 30px 20px;
  }
  
  .home-cta .cta-grid {
    grid-template-columns: 1fr 1fr; /* Keep side-by-side in landscape */
    gap: 30px;
  }
  
  .home-cta .cta-grid .cta-content h3 {
    font-size: 1.4rem;
  }
  
  .home-cta .cta-grid .cta-content .cta-points li {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
}

/* Optional: Add animation to list items */
.home-cta .cta-grid .cta-content .cta-points li {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease forwards;
}

.home-cta .cta-grid .cta-content .cta-points li:nth-child(1) { animation-delay: 0.1s; }
.home-cta .cta-grid .cta-content .cta-points li:nth-child(2) { animation-delay: 0.2s; }
.home-cta .cta-grid .cta-content .cta-points li:nth-child(3) { animation-delay: 0.3s; }
.home-cta .cta-grid .cta-content .cta-points li:nth-child(4) { animation-delay: 0.4s; }
.home-cta .cta-grid .cta-content .cta-points li:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.icon-circle {
  width: 55px;
  height: 55px;
  background: #e6f4f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}
.icon-circle svg {
  width: 28px;
}

.beforeFooter {
  background: #0f0f0f;
  color: #cfcfcf;
  padding: 30px 20px; /* Increased padding */
  text-align: center;
  font-family: "Manrope", sans-serif;
  position: relative;
}

.beforeFooter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
}

/* Container for the logos */
.logos-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo wrapper */
.logos {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px 0; /* Increased padding */
}

.logos img {
  width: 100px;
  height: auto;
  filter: grayscale(100%) brightness(150%);
  opacity: 0.8;
  transition: all 0.3s ease;
  object-fit: contain;
}

.logos img:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
  transform: translateY(-5px);
}

/* Heading above logos */
.beforeFooter h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #aaa;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .beforeFooter {
    padding: 50px 20px;
  }
  
  .logos {
    gap: 40px;
    padding: 25px 0;
  }
  
  .logos img {
    width: 90px;
  }
  
  .beforeFooter h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
}

/* Mobile: 480px - 768px */
@media (max-width: 768px) {
  .beforeFooter {
    padding: 40px 15px;
  }
  
  .logos {
    gap: 30px;
    padding: 20px 0;
  }
  
  .logos img {
    width: 80px;
  }
  
  .beforeFooter h3 {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .logos img:hover {
    transform: translateY(-3px);
  }
}

/* Small Mobile: < 480px */
@media (max-width: 480px) {
  .beforeFooter {
    padding: 30px 10px;
  }
  
  .logos {
    gap: 25px;
    padding: 15px 0;
  }
  
  .logos img {
    width: 70px;
  }
  
  .beforeFooter h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .beforeFooter::before {
    width: 95%;
  }
}

/* Extra Small Mobile: < 360px */
@media (max-width: 360px) {
  .beforeFooter {
    padding: 25px 10px;
  }
  
  .logos {
    gap: 20px;
  }
  
  .logos img {
    width: 60px;
  }
  
  .beforeFooter h3 {
    font-size: 0.85rem;
  }
}

/* Grid layout for better control on mobile */
@media (max-width: 768px) {
  .logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 25px;
    justify-items: center;
    align-items: center;
  }
  
  .logos img {
    width: 80px;
    max-width: 100%;
  }
}

/* Remove hover effects on touch devices */
@media (hover: none) {
  .logos img:hover {
    transform: none;
  }
}
.cta-section {
  background: #045b58;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  margin-top: 0;
}
.cta-container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

@media (max-width: 400px) {
  .cta-container h2 {
    font-size: 1.5rem;
  }
}

.cta-container p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 400px) {
  .cta-container p {
    font-size: 0.9rem;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  color: #045b58;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.download-btn:hover {
  background-color: #f3f3f3;
  transform: translateY(-3px);
}

.download-btn a {
  text-decoration: none;
  color: #045b58;
}

.btn-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
