* {
  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;
  }
}

.features-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  background: #f7f9fc;
  height: calc(100vh - 70px);
  /* border-radius: 12px; */
  /* margin-bottom: 30px; */
}

.features-hero .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 60px;
}

.features-hero .hero-content {
  flex: 1;
  min-width: 280px;
}

.features-hero .hero-content h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

.features-hero .hero-content p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 25px;
}

.features-hero .hero-content .btn {
  background: #05716c;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.features-hero .hero-content .btn:hover {
  background: #034744;
}

.features-hero .hero-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.features-hero .hero-image img {
  max-width: 100%;
  border-radius: 12px;
  /* margin-top: 40px; */
}



/*  */
.core-features {
  padding: 80px 0;
  background: #fff;
  padding: 0 60px;
  margin-top: 40px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
}

.section-sub {
  text-align: center;
  max-width: 600px;
  margin: 10px auto 40px;
  color: #555;
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.feature-box {
  background: #f7f9fc;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
}

.f-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 8px;
  /* color: #034744; */
}

.feature-box p {
  font-size: 14px;
  color: #555;
}

.how-to-use {
  /* background: #f7f9fc; */
  padding: 80px 60px;
  margin-top: 30px;
}

.how-to-use .section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
  /* color: #034744; */
}

.how-to-use .section-sub {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 15px;
  color: #555;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.step-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: #05716c;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  margin: 0 auto 15px;
}

.step-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #034744;
}

.step-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.cta-container {
  text-align: center;
  margin-top: 40px;
}

.cta-container .btn {
  background: #05716c;
  color: #fff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.cta-container .btn:hover {
  background: #034744;
}

/* Responsive Design - Mobile First Additions */

/* Features Hero Section Responsive */
@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
}


@media (max-width: 1024px) {
  .features-hero .container {
    padding: 0 40px;
  }
  
  .features-hero .hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .features-hero {
    padding: 60px 20px;
    height: auto;
    min-height: calc(100vh - 70px);
  }
  
  .features-hero .container {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
  }
  
  .features-hero .hero-content h1 {
    font-size: 2rem;
    text-align: center;
  }
  
  .features-hero .hero-content p {
    text-align: center;
    font-size: 1rem;
  }
  
  .features-hero .hero-content .btn {
    display: block;
    text-align: center;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .features-hero .hero-image img {
    max-width: 90%;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .features-hero .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .features-hero .hero-content p {
    font-size: 0.95rem;
  }
  
  .features-hero .hero-image img {
    max-width: 100%;
  }
}

/* Core Features Section Responsive */
@media (max-width: 992px) {
  .core-features {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .core-features {
    padding: 50px 20px;
    margin-top: 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-sub {
    font-size: 14px;
    padding: 0 20px;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .feature-box {
    padding: 25px 20px;
  }
  
  .feature-box h3 {
    font-size: 18px;
  }
  
  .feature-box p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
  
  .section-sub {
    font-size: 13px;
  }
  
  .feature-box {
    padding: 20px 15px;
  }
  
  .f-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* How to Use Section Responsive */
@media (max-width: 992px) {
  .how-to-use {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .how-to-use {
    padding: 50px 20px;
    margin-top: 20px;
  }
  
  .how-to-use .section-title {
    font-size: 28px;
  }
  
  .how-to-use .section-sub {
    font-size: 14px;
    padding: 0 20px;
  }
  
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .step-box {
    padding: 25px 15px;
  }
}

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .step-box h3 {
    font-size: 18px;
  }
  
  .step-box p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .how-to-use .section-title {
    font-size: 24px;
  }
  
  .how-to-use .section-sub {
    font-size: 13px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
  }
  
  .cta-container .btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* Container and Global Responsive */
@media (max-width: 768px) {
  .navbar .container {
    width: 95%;
  }
  
  .logo {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 45%;
  }
  
  .nav-links {
    width: 85%;
  }
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
  .nav-links a {
    padding: 12px 0;
    font-size: 16px;
  }
  
  .btn, .cta-container .btn {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* Prevent horizontal scrolling */
@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }
  
  .container {
    width: 100%;
    padding: 0 15px;
  }
}

/* Adjust AOS animations for mobile */
@media (max-width: 768px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Improve readability on small screens */
@media (max-width: 480px) {
  h1, h2, h3 {
    line-height: 1.3;
  }
  
  p {
    line-height: 1.5;
  }
}