/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  padding-top: 80px; /* for fixed header spacing */
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0f172a;
  color: white;
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-header .logo h1 {
  font-size: 1.5rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .navbar ul {
    display: block;
  }
  .navbar ul li {
    margin-bottom: 10px;
  }
}
/* Hero Section */
.hero-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 600px;
}

.hero-description {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 20px 0 0;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  margin-top: 20px;
  border-radius: 10px;
}

/* Features Section */
.features-section {
  padding: 50px 20px;
  background-color: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1e3a8a;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.feature-card {
  background-color: #f3f4f6;
  border-radius: 8px;
  padding: 20px;
}

.feature-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* About Section */
.about-section {
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  background-color: #e2e8f0;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px;
  border-radius: 10px;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  background-color: #0f172a;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-section {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  .about-image,
  .about-content {
    flex: 1;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  /* Header mobile layout */
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar ul {
    display: block;
    margin-top: 0;
  }

  .navbar ul li {
    margin-bottom: 10px;
  }

  .navbar ul li a {
    font-size: 1.1rem;
  }

  /* Hero adjustments */
  .hero-banner {
    padding: 20px;
  }

  .hero-content,
  .hero-image {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .hero-description {
    padding: 0 10px;
    text-align: justify;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
  }
}
