/* Font & Global Settings */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  height: 70px;
  padding: 0 2rem;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-logo img {
  height: 50px;
}

.nav-links {
  list-style-type: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #007bff;
}

.btn-primary {
  background-color: #007bff;
  color: #fff !important;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Mobile Menu Icon */
.mobile-menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url('https://www.geodidymos.com/backgound.webp') center/cover no-repeat;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-hero {
  background-color: #007bff;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-hero:hover {
  background-color: #0056b3;
}

/* Section Headings */
section h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
  text-align: center;
  color: #333;
}

/* About Section */
.about-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
  background-color: #ffffff;
}

.about-section .section-content,
.about-section .section-image {
  flex: 1 1 45%;
  min-width: 300px;
}

.about-section .section-content p {
  line-height: 1.8;
}

/* Features Section */
.features-section {
  background-color: #f0f0f0;
  padding: 3rem 2rem;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.feature-box:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-box i {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.feature-box h3 {
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background-color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-section p {
  max-width: 600px;
  margin: 1rem auto;
}

/* Contact Section */
.contact-section {
  background-color: #f0f0f0;
  padding: 3rem 2rem;
  text-align: center;
}

/* Footer */
.footer {
  background-color: #fff;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #e0e0e0;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    height: calc(100vh - 70px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.active {
    transform: translateX(0);
  }
  .nav-links li {
    margin: 2rem 0;
    text-align: center;
  }
  .mobile-menu-icon {
    display: block;
  }
  .about-section {
    flex-direction: column;
  }
  .about-section .section-content,
  .about-section .section-image {
    flex-basis: 100%;
  }
}