@import url('https://fonts.googleapis.com/css2?family=Nexa:wght@400;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Nexa', sans-serif;
  background-color: #f2eded;
}

#first-look {
  background-color: #161515;
  color: #f2eded;
  height: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px;
  margin-top: 20px;
}

.logo img {
  height: 100px; /* or whatever size suits */
  width: auto;
  display: block;
}

.nav-menu a:focus {
  outline: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-menu a {
  position: relative;
  text-decoration: none;
  color: #f2eded;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  transition: transform 0.3s ease;
  line-height: 1; /* keeps space consistent */
  padding: 0px 20px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #f2eded;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  transform: scale(1.1); /* instead of font-size change */
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none; /* hidden by default */
}

.logo {
  font-size: 18px;
  line-height: 1.2;
  font-weight: bold;
  color: #f2eded;
}

.intro-section {
  width: 80%;
  margin: 60px auto;
  text-align: center;
  justify-items: center;
}

.intro-heading {
  font-size: 47px;
  font-weight: 900;
  color: #161515;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  line-height: 1.4;
}

.text-box {
  max-width: 800px;
  padding: 30px;
  text-align: center;
  background: #fff; /* optional background */
  border-radius: 10px; /* optional style */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* optional */
}

.intro-para {
  font-size: 24px;
  font-weight: 400;
  color: #161515;
  margin-top: 25px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-heading {
  font-size: 45px;
  text-align: center;
}


.contact-info {
  display: flex;
  justify-content: center; /* centers horizontally */
  gap: 60px; /* spacing between Phone, Email, Home */
  flex-wrap: wrap; /* wraps on small screens */
  font-size: 16px;
  align-items: center;
}

.contact-info p {
  margin: 0;
}

.home-link {
  color: #f2eded;
  text-decoration: none;
  font-weight: bold;
}

.home-link:hover {
  text-decoration: underline;
}



.infographic-container {
  max-width: 1000px;
  margin: auto;
}

.step {
  display: flex;
  align-items: center;
  background: white;
  margin-bottom: 30px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 4px;
}

.number-box {
  transform: skewX(20deg);
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #161515;
}

.number-box span {
  transform: skewX(-20deg) scale(2, 2.5);
  color: #fff;
  font-weight: 700;
  font-size: 28px;
}

.content-box {
  flex: 1;
  padding: 20px;
}

h2 {
  margin: 0;
  padding-left: 10px;
}

.content-box p {
  margin: 0;
  color: #333;
  font-weight: 300;
  padding-left: 10px;
}

.icon-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 30px auto;
  transition: transform 0.3s ease;
  padding-right: 30px;
}

.icon-box:hover {
  transform: scale(1.05);
}

.icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.last {
  background-color: #161515;
  color: #f2eded;
  text-align: center; /* optional for h3 if used later */
  padding: 15px;
}



/* Tablet View (max-width: 992px) */
@media (max-width: 1024px) {
  .intro-section {
    width: 90%; /* take more space */
    margin: 40px auto;
  }

  .intro-heading {
    font-size: 36px; /* smaller heading */
    line-height: 1.3;
  }

  .text-box {
    padding: 20px;
  }

  .intro-para {
    font-size: 20px; /* slightly smaller */
    line-height: 1.6;
  }

  .info-heading {
    font-size: 32px; /* shrink for tablets */
    line-height: 1.3;
  }

  .infographic-container {
    max-width: 90%;
  }

  .step {
   
    text-align: center;
    padding: 20px;
  }

  .number-box {
    width: 100px;
    height: 100px;
    margin: 10px auto;
  }

  .number-box span {
    font-size: 24px;
  }

  .content-box {
    padding: 15px 10px;
  }

  .content-box h2 {
    font-size: 20px;
    padding: 0;
  }

  .content-box p {
    font-size: 16px;
    padding: 10px 0 0;
  }

  .icon-box {
    width: 70px;
    height: 70px;
    margin: 15px auto;
    padding: 0;
  }
}


/* Mobile View (max-width: 576px) */
@media (max-width: 768px) {

  .intro-section {
    width: 95%;
    margin: 30px auto;
  }

  .intro-heading {
    font-size: 26px; /* much smaller for readability */
    line-height: 1.3;
    text-decoration-thickness: 1.5px; /* thinner underline */
    text-underline-offset: 4px;
  }

  .text-box {
    padding: 15px;
    border-radius: 8px;
    box-shadow: none; /* cleaner look on small screens */
  }

  .intro-para {
    font-size: 16px; /* body text for mobile */
    line-height: 1.5;
    margin-top: 15px;
  }

  .info-heading {
    font-size: 24px; /* comfortable for small screens */
    line-height: 1.3;
    padding: 0 10px; /* little breathing space */
  }

  .step {
    padding: 15px;
  }

  .number-box {
    width: 60px;
    height: 80px;
  }

  .number-box span {
    font-size: 16px;
  }

  .content-box h2 {
    font-size: 14px;
  }

  .content-box p {
    font-size: 12px;
    line-height: 1.5;
  }

  .icon-box {
    width: 60px;
    height: 60px;
    margin: 10px auto 0;
  }
}
