/* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: #f5f5f5;
  color: #333;
}

/* Navbar */
header {
  background-color: #fff;
  color: #175e64;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 80px;
  width: 150px;
  border-radius: 0;
  background: transparent;
  transition: transform 0.3s;
}

.logo-img:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #175e64;
  font-weight: 700;
  transition: 0.3s;
  font-size: 1.2rem;
}

nav ul li a:hover {
  color: #1abc9c;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fff;
  color: #175e64;
  padding: 50px 20px;
  min-height: 100vh; /* Full-screen hero */
}

.hero-logo {
  width: 80%;
  max-width: 1200px;
  height: auto;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* General Sections */
section {
  padding: 60px 0; /* comfortable spacing */
  min-height: auto; /* remove 100vh for all other sections */
  scroll-margin-top: 200px;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #175e64;
}

.about, .services, .why, .contact {
  background-color: #fff;
  font-size: 20px;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.services .service-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-item {
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 8px;
  width: 250px;
  text-align: center;
  font-weight: 500;
}

.why ul {
  /* list-style: inside circle; */
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  max-width: 500px;
  margin: 0 auto;
  background-color: #f1f1f1;
  padding: 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1.8;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-info p strong {
  color: #175e64;
}

footer {
  color: #fff;
  background-color: #175e64;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
/* @media(max-width: 768px){
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .services .service-items {
    flex-direction: column;
  }
} */

/* ===============================
   Tablet (max-width: 992px)
=================================*/
@media (max-width: 992px) {

  /* Services → 2 per row */
  .service-item {
    width: 45%;
  }

  .hero-text {
    font-size: 1.3rem;
  }

  section {
    padding: 50px 0;
  }
}


/* ===============================
   Mobile (max-width: 768px)
=================================*/
@media (max-width: 768px) {

  /* Navbar */
  nav {
    flex-direction: column;
    gap: 15px;
  }

  /* nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav ul li a {
    font-size: 1rem;
  } */
   nav ul {
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap; /* prevents breaking into 2 lines */
}

nav ul li a {
  font-size: 0.9rem; /* smaller text */
}

  .logo-img {
    height: 60px;
    width: auto;
  }

  /* Hero */
  .hero {
    min-height: 85vh; /* slightly smaller but still big */
    padding: 40px 15px;
  }

  .hero-text {
    font-size: 1.1rem;
  }

  /* Services → 1 per row */
  .service-item {
    width: 100%;
  }

  /* Section Cards */
  .about, .services, .why, .contact {
    padding: 20px;
    font-size: 16px;
  }

  section h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 40px 0;
  }

  .contact-info {
    padding: 20px;
  }
}