/* ========== Global Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Spectral", serif;
  font-weight: 400;
  color: black;
}

/* ========== Navbar ========== */
body {
  margin: 0;
  padding: 0;
  font-family: "Spectral", serif;
}

.navbar {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 0 2rem;
  border-bottom: 1px solid #eee;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 90px;
}

.logo{
  left: 2rem;
  position: absolute;
}

.logo img {
  width: 90px;
  left: 2rem;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 18px;
  align-items: center;
}

.nav-center{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}



/* ========== Hero Section ========== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 3rem 2rem;
  background: #f5f7fa;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
}

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

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
}

/* ========== Button ========== */
.btn {
  display: inline-block;
  background: #0078a0;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* ========== Why Choose Us ========== */
.why-choose-us {
  text-align: center;
  padding: 3rem 2rem;
}

.why-choose-us ul {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
}

.why-choose-us li {
  margin-bottom: 0.75rem;
}

/* ========== Featured Services ========== */
.featured-services {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  flex: 1 1 250px;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ========== Testimonials ========== */
.testimonials {
  padding: 3rem 2rem;
  background: #f1f1f1;
  text-align: center;
}

.testimonials blockquote {
  font-style: italic;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Call to Action ========== */
.cta {
  padding: 3rem 2rem;
  text-align: center;
  background: #0078a0;
  color: white;
}

.cta h2 {
  margin-bottom: 1rem;
}

/* ========== Services Layout ========== */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-section .container {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service {
  padding: 2rem 4rem;
  background-color: #f5f7fa;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 1000px;
}

.service-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.service-text {
  flex: 2;
}

.service-image {
  flex: 1;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 400px;
  max-height: 300px;
}

/* ========== About Page Layout ========== */
.about-wrapper {
  background-color: #f5f7fa;
  border-radius: 16px;
  padding: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  color: black;
  text-decoration: none;
}

.about-text {
  flex: 1.5;
  color: black;
  text-decoration: none;
}

.about-text a{
  flex: 1.5;
  color: black;
  text-decoration: none;
}


.pricing td:last-child {
  padding-left: 2rem; /* adjust space as needed */
}

.pricing td {
  padding: 0.5rem 1.5rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ========== for mobile devices ========== */
@media (max-width: 768px) {
  .hero, .featured-services, .service-content, .about-container {
    flex-direction: column;
    text-align: center;
  }

  .btn{
    margin-bottom: 1.5rem;
  }
  .service {
    padding: 1.5rem 1rem;
    margin: 1.5rem auto;
  }

  .service-image img {
    width: 100%;
    max-width: 300px; 
    height: auto;
  }
  .service-text {
    width: 100%;
  }
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
    padding: 1rem 0;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .service {
    padding: 2rem;
  }
  .logo{
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 0.5rem;
  }
}
