body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f7fb;
  color: #1f2937;
}

nav {
  background-color: #111827;
  padding: 18px;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  color: #93c5fd;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Home / Hero section */
#hero {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 55px;
  background-color: white;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.1);
}

.hero-text {
  flex: 1;
}

.logo {
  width: 110px;
  height: auto;
  display: block;
  margin-bottom: 25px;
}

.hero-label {
  color: #1d4ed8 !important;
  font-size: 14px !important;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

#hero h1 {
  color: #1d4ed8;
  font-size: 46px;
  margin: 0 0 18px;
  line-height: 1.1;
}

.hero-description {
  color: #4b5563;
  font-size: 19px !important;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 13px 21px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.button-primary {
  background-color: #1d4ed8;
  color: white;
}

.button-primary:hover {
  background-color: #1e40af;
}

.button-secondary {
  border: 2px solid #1d4ed8;
  color: #1d4ed8;
}

.button-secondary:hover {
  background-color: #dbeafe;
}

.hero-image {
  flex-shrink: 0;
}

.profile-photo {
  width: 270px;
  height: 270px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  display: block;
  border: 7px solid #dbeafe;
}

/* This image will be used later in the About section */
.profile-photo2 {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  display: block;
  margin: 25px auto;
  border: 4px solid #2454d3;
}

/* Phone layout */
@media (max-width: 700px) {
  nav a {
    display: inline-block;
    margin: 7px 10px;
  }

  main {
    padding: 25px 15px;
  }

  #hero {
    flex-direction: column-reverse;
    gap: 30px;
    padding: 35px 25px;
    text-align: center;
  }

  .logo {
    margin: 0 auto 25px;
  }

  #hero h1 {
    font-size: 36px;
  }

  .hero-description {
    font-size: 17px !important;
  }

  .hero-buttons {
    justify-content: center;
  }

  .profile-photo {
    width: 210px;
    height: 210px;
  }
}
/* Services section */
#services {
  padding: 85px 0 30px;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-heading p {
  color: #1d4ed8;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0 10px;
}

.section-heading h2 {
  color: #111827;
  font-size: 34px;
  margin: 0 0 14px;
}

.section-heading span {
  color: #4b5563;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background-color: white;
  padding: 28px 24px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(31, 41, 55, 0.14);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.service-card h3 {
  color: #1d4ed8;
  font-size: 20px;
  margin: 0 0 10px;
}

.service-card p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Service cards on smaller screens */
@media (max-width: 850px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  #services {
    padding-top: 60px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}
/* About section */
#about {
  display: flex;
  align-items: center;
  gap: 65px;
  padding: 85px 45px;
  margin-top: 55px;
  background-color: #111827;
  border-radius: 18px;
  color: white;
}

.about-image {
  flex-shrink: 0;
}

.about-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  display: block;
  border: 6px solid #3b82f6;
}

.about-content {
  max-width: 600px;
}

.section-label {
  color: #93c5fd;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.about-content h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 20px;
}

.about-content p {
  color: #d1d5db;
  line-height: 1.7;
}

.about-content h3 {
  color: white;
  margin: 26px 0 14px;
}

.why-choose-us {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose-us li {
  color: #dbeafe;
  margin: 11px 0;
}

.why-choose-us li::before {
  content: "✓";
  color: #60a5fa;
  font-weight: bold;
  margin-right: 10px;
}

/* About section on phones */
@media (max-width: 700px) {
  #about {
    flex-direction: column;
    gap: 30px;
    padding: 45px 25px;
    text-align: center;
  }

  .about-photo {
    width: 220px;
    height: 220px;
  }

  .about-content h2 {
    font-size: 30px;
  }
}
/* Contact section */
#contact {
  padding: 85px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px;
  background-color: white;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(31, 41, 55, 0.14);
}

.contact-icon {
  font-size: 30px;
}

.contact-card h3 {
  color: #1d4ed8;
  margin: 0 0 7px;
}

.contact-card p {
  color: #4b5563;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Footer */
footer {
  padding: 35px 20px;
  background-color: #111827;
  color: #d1d5db;
  text-align: center;
}

.footer-name {
  color: white;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0 15px;
}

.footer-links {
  margin-bottom: 18px;
}

.footer-links a {
  color: #93c5fd;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

footer p:last-child {
  margin: 0;
  font-size: 14px;
}

/* Contact layout on phones */
@media (max-width: 700px) {
  #contact {
    padding: 60px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }
}
