@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Outfit:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
}

body {
  background: #f5f5f5;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  background: white;
  padding: 20px 0;
  z-index: 999;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 150px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
}

.nav-links .active {
  color: black;
}

.hamburger{
  display: none;
  cursor: pointer;
  width: 34px;
  position: relative;
  z-index: 1000;
}

.hamburger .bar{
  flex-basis: 100%;
  height: 4px;
  background-color: #111;
  margin: 3px;
}

.hero {
  position: relative;
  background: white;
  margin: 40px;
  padding: 40px 0px;
  min-height: 100vh;
}


.hero-content {
  display: flex;
  justify-content: space-between;
  /* border: 1px solid black; */
  align-items: center;
}


.hero-text {
  padding: 20px;
  max-width: 800px;
}


.hero-image {
  position: relative;
  overflow: visible;
}


.hero-image img {
  position: static;
  right: 0;
  top: 10%;
  /* vertically center */
  width: 100%;
  max-width: 700px;
  height: auto;
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* background image behind text */
.highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  /* adjust vertical position */
  width: 80%;
  height: 100%;
  background: url("images/yellow\ strips.png") no-repeat center;
  background-size: cover;
  z-index: -1;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 8vw, 90px);
  font-weight: 800;
  letter-spacing: 2px;
  font-family: 'DM Sans', sans-serif;
}

.hero-text p {
  font-size: clamp(1rem, 2.5vw, 25px);
  margin: 20px 0px;
  margin-bottom: 35px;
  font-weight: 500;
  line-height: 1.6;
}

.floating-img {
  position: absolute;
  top: 65px;
  right: 400px;
  width: 180px;
}


.btn {
  background: #af000f;
  color: white;
  padding: 12px 30px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
}

.why-section {
  background: #f3f3f3;
  text-align: center;
  margin: 100px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #1e1e1e;
}

.section-title span {
  font-weight: 800;
}

.why-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.why-card {
  flex: 1;
  min-width: 280px;
}

.why-img {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1e1e1e;
}

.why-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  max-width: 280px;
  margin: auto;
  font-family: 'DM Sans', sans-serif;
}

.footer {
  background: #ffffff;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 30px;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.logo-icon {
  margin-right: 6px;
}

.footer-links a {
  margin-right: 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #e21b1b;
}

.footer-social {
  text-align: right;
}

.footer-social p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
}

.social-icons a {
  margin-left: 10px;
  font-size: 18px;
  color: #e21b1b;
  transition: 0.3s;
  border-bottom: 0;
}

.social-icons a:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #777;
}

.hamburger {
  display: none;
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

/* Tablets */
@media (max-width: 992px) {

  .hero {
    margin: 20px;
    padding: 40px 20px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .floating-img {
    display: none;
  }

  .why-section {
    margin: 60px 20px;
  }

  .why-grid {
    justify-content: center;
  }

}


/* Mobile */
@media (max-width: 600px) {

  header {
    padding: 15px 0;
  }

  .nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .hero {
    margin: 10px;
    padding: 30px 15px;
    min-height: auto;
  }

  .btn {
    width: 100%;
  }

  .why-section {
    margin: 40px 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .why-card {
    min-width: 100%;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    text-align: center;
  }

}

/* ============================= */
/* NAVBAR RESPONSIVENESS */
/* ============================= */

/* Tablet */
@media (max-width: 992px) {

  .nav {
    flex-wrap: wrap;
    gap: 20px;
  }

  .nav-links {
    gap: 20px;
  }

}


/* Mobile */
@media (max-width: 768px) {

  nav{
    flex-wrap: wrap;
  }

  .nav-links {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
    transition: all 0.4s ease;
    gap: 30px;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 20px 0;
    background-color: #fff;
  }

  .nav-links li{
    margin: 15px 0;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    display: flex;
  }

  .hamburger {

    display: block;
    font-size: 28px;
    cursor: pointer;
    /* Show the hamburger icon */
  }
}