* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  color: #222;
  background: #faf8f3;
  font-family: Poppins, sans-serif;
}
.hero {
  background-color: #0000;
  background-image: linear-gradient(#00000073, #00000073), url(./hero.jpg);
  background-position: 50%;
  background-repeat: repeat, repeat;
  background-size: cover;
  background-attachment: scroll, scroll;
  background-origin: padding-box, padding-box;
  background-clip: border-box, border-box;
  justify-content: center;
  align-items: center;
  height: 85vh;
  display: flex;
  position: relative;
}
.overlay {
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 20px;
}
.hero-logo {
  background: #fff;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  margin-bottom: 25px;
  padding: 10px;
}
.hero h1 {
  margin-bottom: 20px;
  font-size: 4rem;
  font-weight: 600;
}
.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
}
.back-button {
  -webkit-backdrop-filter: blur(10px);
  color: #111;
  z-index: 20;
  background: #ffffffe6;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  position: absolute;
  top: 24px;
  left: 24px;
  box-shadow: 0 6px 20px #00000026;
}
.back-button svg {
  width: 18px;
  height: 18px;
  display: block;
}
.back-button:hover {
  background: #fff;
  transform: translate(-3px);
  box-shadow: 0 10px 30px #00000038;
}
@media (width<=768px) {
  .back-button {
    padding: 8px 14px;
    font-size: 14px;
    top: 16px;
    left: 16px;
  }
  .back-button svg {
    width: 16px;
    height: 16px;
  }
}
.features {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: -60px auto 70px;
  padding: 0 5%;
  display: grid;
}
.feature-card {
  text-align: center;
  background: #fff;
  border-radius: 18px;
  padding: 35px 25px;
  box-shadow: 0 8px 30px #00000014;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
}
.contact-section {
  width: 100%;
  padding: 80px 7%;
}
.contact-heading {
  text-align: center;
  margin-bottom: 50px;
}
.contact-heading h2 {
  margin-bottom: 15px;
  font-size: 3rem;
}
.contact-heading p {
  color: #666;
  font-size: 17px;
}
.contact-form {
  max-width: 1200px;
  margin: auto;
}
.row {
  gap: 20px;
  display: flex;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  outline: none;
  width: 100%;
  margin-bottom: 20px;
  padding: 18px 25px;
  font-size: 16px;
}
.contact-form textarea {
  resize: none;
  border-radius: 25px;
  min-height: 160px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #111;
}
.contact-form button {
  color: #fff;
  cursor: pointer;
  background: #111;
  border: none;
  border-radius: 50px;
  margin: 30px auto;
  padding: 18px 50px;
  font-size: 16px;
  transition: all 0.3s;
  display: block;
}
.contact-form button:hover {
  transform: translateY(-2px);
}
.gallery {
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 5%;
  display: grid;
}
.gallery img {
  object-fit: cover;
  border-radius: 20px;
  width: 100%;
  height: 380px;
  transition: all 0.4s;
}
.gallery img:hover {
  transform: scale(1.03);
}
.success-overlay {
  z-index: 99999;
  background: #000000b3;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}
.success-modal {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  width: 420px;
  padding: 40px;
  animation: 0.35s popup;
}
.success-icon {
  color: #fff;
  background: #16a34a;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  margin: auto auto 20px;
  font-size: 42px;
  display: flex;
}
.success-modal h2 {
  margin-bottom: 15px;
}
.success-modal p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
}
.success-modal button {
  color: #fff;
  cursor: pointer;
  background: #000;
  border: none;
  border-radius: 30px;
  padding: 12px 35px;
}
@keyframes popup {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (width<=992px) {
  .features,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .row {
    flex-direction: column;
    gap: 0;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}
@media (width<=768px) {
  .features,
  .gallery {
    grid-template-columns: 1fr;
  }
  .contact-heading h2 {
    font-size: 2rem;
  }
  .hero {
    height: 70vh;
  }
  .hero-logo {
    width: 110px;
    height: 110px;
  }
}
.features-section {
  text-align: center;
  background: #fff;
  padding: 80px 5%;
}
.features-heading {
  color: #222;
  margin-bottom: 60px;
  font-size: 3rem;
  font-weight: 700;
}
.features-grid {
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 30px;
  display: grid;
}
.feature-card {
  flex-direction: column;
  align-items: center;
  transition: all 0.3s;
  display: flex;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.feature-icon {
  color: #222;
  margin-bottom: 20px;
  font-size: 50px;
}
.feature-card h3 {
  color: #222;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}
@media (width<=992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (width<=768px) {
  .features-heading {
    font-size: 2rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .feature-icon {
    font-size: 40px;
  }
  .feature-card h3 {
    font-size: 1rem;
  }
}
@media (width<=480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
.features-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  display: grid;
}
@media (width<=992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (width<=768px) {
  .features-section {
    padding: 40px 20px;
  }
  .features-heading {
    margin-bottom: 25px;
    font-size: 2rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .feature-card {
    border-radius: 16px;
    min-height: 110px;
    padding: 15px 10px;
  }
  .feature-icon {
    margin-bottom: 10px;
  }
  .feature-icon svg {
    width: 28px;
    height: 28px;
  }
  .feature-card h3 {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}
