@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins";
  font-size: 1.02rem;
  position: relative;
  background-color: rgb(253, 248, 238);
}
p {
  color: rgba(109, 109, 109, 0.93);
  

}

ul {
  list-style: none;
}
a {
  text-decoration: none;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgb(253, 248, 238);
  z-index: 1000;
  height: 4.5rem;
}

.nav__close {
  display: none;
}
.nav__toggle {
  display: none;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 4rem;
}

.nav__list {
  display: flex;
  justify-content: space-evenly;
  gap: 40px;
  font-size: 0.8rem;
  padding: 10px 20px;
}

.nav__link {
  color: #01030f;
  font-weight: 600;
  font-size: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo {
  width: 29px;
  height: 29px;
}
.sign__btn {
  color: whitesmoke;
  background-color: rgb(71, 39, 88);
  padding: 13px 40px;
  border: 1px;
  border-radius: 20px;
  border-color: rgb(71, 39, 88);
  font-size: 0.8rem;
  cursor: pointer;
}

.sign__btn a {
  color: #fff;
}

li {
  display: flex;
  align-items: center;
}

@media (min-width: 240px) and (max-width: 844px) {
  .nav {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .nav__toggle,
  .nav__close {
    width: 32px;
    height: 32px;
    display: grid;
    border: 2px solid rgb(71, 39, 88);
    color: rgb(71, 39, 88);
    place-items: center;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: rgb(97, 97, 97, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 100%;
    width: 50%;
    padding: 7rem 3.5rem 3.5rem;
    transition: right 0.5s;
  }
  .nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
  }

  .nav__close {
    position: absolute;
    top: 0.8rem;
    right: 1.5rem;
  }

  .show-menu {
    right: 0;
  }
  .nav button {
    display: none;
  }
}

@media (min-width: 287px) and (max-width: 422px) {
  .nav__menu {
    padding: 7rem 2rem 3rem;
    width: 70%;
  }
}

#hero {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 110vh;
  background-color: rgb(253, 248, 238);
}

.hero_left img {
  height: 400px;
  width: 480px;
  margin-right: 20px;
}

.hero_right {
  margin-left: 100px;
}
#hero h1 {
  display: flex;
  gap: 10px;
}
#hero h1 p {
  color: rgb(255, 116, 38);
  transition: transform 0.7s ease;
}

.hero_right {
  font-size: 1.89rem;
}
.hero_para {
  color: rgba(109, 109, 109, 0.93);
  font-size: 0.9rem;
}
.hero_input {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 30px;
}

.hero_input input {
  background-color: white;
  padding: 12px 45px;
  border: 1px solid black;
  border-radius: 20px;
}

#hero_btn {
  position: relative;
  left: -38px;
  color: whitesmoke;
  background-color: rgb(71, 39, 88);
  padding: 14px 40px;
  border: 1px;
  border-radius: 20px;
  border-color: rgb(71, 39, 88);
  font-size: 0.8rem;
  cursor: pointer;
}

@media (max-width: 1088px) {
  #hero h1 {
    font-size: 1.89rem;
    margin-bottom: 20px;
  }
}
@media (max-width: 1140px) {
  .hero_right {
    margin-left: 60px;
  }
}

@media (min-width: 200px) and (max-width: 767px) {
  #hero {
    display: block;
    position: relative;
    top: 120px;
    text-align: center;
    margin-left: 10px;
  }
  .hero_left img {
    width: 280px;
  }

  .hero_input {
    justify-content: center;
  }
}
@media (max-width: 515px) {
  .hero_right {
    margin-left: 10px;
  }
}
@media (max-width: 389px) {
  .hero_input input {
    padding: 12px 25px;
  }
  .hero_left img {
    width: 250px;
  }
}

.hero__bar {
  display: flex;
  align-items: center;
  background-color: rgb(71, 39, 88);
  padding: 30px 30px;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 6px;
}

.hero_bar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero_img img {
  height: 42px;
  width: 42px;
}

.content {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  color: white;
}

.content p {
  color: rgba(240, 255, 255, 0.517);
  font-size: 0.8rem;
}
.content h1 {
  font-size: 1.2rem;
  padding-bottom: 9px;
}

.hero_img {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(180, 180, 180, 0.7);
  padding: 6px;
  border: 1px;
  border-radius: 12px;
}

@media (max-width: 1018px) {
  .hero__bar {
    display: none;
  }
}

#track {
  padding-top: 120px;
  margin-top: 20px;
  height: 120vh;
  background-color: white;
}

#track p {
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 20px;
}
#track h1 {
  text-align: center;
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card h3 {
  font-weight: 550;
  font-size: 1.3rem;
}

.card img {
  width: 100%;
  height: 150px;
  border-radius: 10px;
}

.rating {
  color: #f39c12;
  font-size: 16px;
  margin: 5px 0;
}

.price {
  font-weight: bold;
  color: rgb(255, 116, 38);
}

.duration {
  color: #555;
}

.join-btn {
  background-color: rgba(15, 132, 15, 0.732);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.join-btn:hover {
  background-color: green;
}

@media (max-width: 958px) {
  #track {
    height: 90rem;
  }
  .hero_right {
    margin-left: 20px;
  }
  .hero_left img {
    width: 300px;
  }
}

#service {
  height: 27rem;
  display: flex;
  justify-content: space-around;
}
#learn_img {
  width: 350px;
  height: 400px;
}

#service_content h1 {
  text-align: center;
  margin: 25px;
  padding-top: 20px;
}
.content_service {
  width: 700px;
  padding-top: 50px;
}

#btn {
  margin-top: 20px;
  padding: 13px 40px;
  border-radius: 18px;
}

#customer_content {
  background-color: #fff;
  height: 40rem;
}

#customer {
  height: 70vh;
  display: flex;
  justify-content: space-around;
}
#customer div {
  height: 240px;
}
.box-1 {
  background-color: rgba(255, 255, 255, 0.715);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  border-radius: 20px;
  padding: 20px;
  width: 330px;
}
.img_customer {
  margin-left: 10px;
  height: 60px;
  border-radius: 50%;
  width: 60px;
  margin-top: 20px;
}
.relate {
  position: relative;
  bottom: 60px;
  margin-left: 80px;
}
.star {
  width: 100px;
  margin-bottom: 10px;
  margin-left: 5px;
}

#customer_content h1 {
  text-align: center;
  margin: 25px;
}
.color {
  padding-top: 70px;
}

@media (min-width: 240px) and (max-width: 1000px) {
  #customer {
    flex-direction: column;
    align-items: center;
    height: 50rem;
  }
  #service {
    flex-wrap: wrap;
  }
  #customer_content {
    height: 70rem;
  }
}

@media (max-width: 1200px) {
  .content_service {
    width: 500px;
    padding-top: 50px;
  }
  #learn_img {
    width: 200px;
    height: 190px;
  }
  #service {
    height: 36rem;
  }
  .content_service p {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #btn {
    text-align: center;
    position: relative;
    left: 30%;
  }
  .content_service {
    padding-top: 10px;
  }
}

#contact {
  background-color: white;
  height: 70rem;
}
.w-full {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}
.head {
  text-align: center;
  padding: 17px;
}

/* ====== Contact Form Styling ====== */
form {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Grouped inputs */
#form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Input fields */
#form input,
#form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button */
.btn {
  background: #367132cd;
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #0ee915;
}

@media (max-width: 480px) {
  #form {
    flex-direction: column;
    gap: 12px;
  }
}

/* ___________________________________________________ */

:root {
  --bg: #0e1117; /* footer background */
  --card: rgb(253, 248, 238); /* panels */
  --fg: #191919; /* text */
  --muted: #9ca3af; /* secondary text */
  --accent: #38bdf8; /* brand accent */
  --ring: rgba(56, 189, 248, 0.5);
  --divider: rgba(255, 255, 255, 0.12);
}

/* ===== Footer ===== */

section#footer {
  background-color: rgb(253, 248, 238);
  color: var(--fg);
}
.footer-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding: 48px 20px 24px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  margin-top: 22px;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
}
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 18px 18px;
}
.panel h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.muted {
  color: var(--muted);
}

/* Links */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.link-list a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
}
.link-list a:hover {
  opacity: 1;
  color: var(--accent);
}
