* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Lexend Deca", sans-serif;
  font-size: 1.8rem;
  background-color: #faffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 7.2rem;
  background-color: #010101;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.8rem;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.header-logo {
  height: 7.2rem;
  width: auto;
  padding: 0.5rem 0;
}

.container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  width: 100%;
  padding: 9rem 2rem 8rem;
}
.section:not(:first-child) {
  border-top: 1px solid #0a0c0c;
}

.primary-heading {
  font-size: 6rem;
  font-weight: 700;
  color: #000000;
  text-shadow: 2px 2px 3px #0088aa86;
  line-height: 1.01;
  letter-spacing: -3px;
}
.secondary-heading {
  color: #000000;
  text-shadow: 2px 2px 3px #0088aa86;
  margin-bottom: 1rem;
  letter-spacing: -2px;
  font-size: 4.8rem;
}
.ternary-heading {
  font-size: 4rem;
  color: #101212;
  margin-bottom: 1rem;
  letter-spacing: -2px;
  font-weight: 500;
}
.btn:link,
.btn:visited {
  font-size: 2rem;
  padding: 1.6rem 2.6rem;
  border-radius: 10px;
  text-decoration: none;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6rem;
  margin-left: 4rem;
  padding-right: 4rem;
}

.nav-links:link,
.nav-links:visited {
  display: inline-block;
  font-size: 1.8rem;
  color: #e5d4d4;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s;
  white-space: nowrap;
  padding: 1rem;
}

.nav-links:hover {
  text-decoration: underline;
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
  padding: 0 2rem;
  margin-top: 7.2rem;
  min-height: calc(100vh - 7.2rem);
}

.hero-img-container {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

.hero-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-frame {
  width: 100%;
  height: 100%;
  max-height: 1000px; /* Adjust this value to control image height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: none;
  transition: transform 0.3s ease;
}

.hero-description {
  margin: 3rem 0 5rem 0;
  color: #555;
  line-height: 1.6;
}
.hero-prices {
  margin: 6rem 0 1rem 0;
  text-transform: uppercase;
}
.hero-price {
  color: #e97a11;
  font-size: 2.2rem;
  font-weight: 500;
}

.btn-properties:link,
.btn-properties:visited {
  background-color: #6c8e97;
  color: #28afaf;
  margin-right: 0rem;
}

.btn-properties:hover,
.btn-properties:active {
  background-color: #1a343b;
  color: #d8ffff;
}

.btn-contact:link,
.btn-contact:visited {
  background-color: #c6ffff;
  color: #153138;
}

.btn-contact:hover,
.btn-contact:active {
  background-color: #195969;
  color: #f1ffff;
}

.about-description {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
}
.about-container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
  padding: 0 2rem;
}

.about-logo {
  height: 3.2rem;
  width: 3.2rem;
  padding: 2rem;
  border-radius: 50%;
  color: #153138;
  background-color: #c6ffff;
  margin-bottom: 1rem;
}

.about-heading {
  font-size: 2.8rem;
  font-weight: 500;
  color: #3a3a3a;
  margin-bottom: 2rem;
}
.about-box-description {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
}

.center-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.properties-set {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7rem;
}

.properties-card {
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 1rem;
  background-color: #f8feff;
}

.properties-img {
  border-bottom-left-radius: 8rem;
  border-top-left-radius: 8rem;
  width: 100%;
  height: 100%;
}
.properties-right {
  border-radius: 0;
  border-bottom-right-radius: 8rem;
  border-top-right-radius: 8rem;
}
.properties-container {
  padding: 2rem 3.5rem 2rem 3.5rem;
}
.properties-loc {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  color: #353535;
  gap: 4px;
  margin-bottom: 1rem;
}
.properties-card-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.properties-cards {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #c6ffff;
  font-size: 1.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
}

.price-section {
  margin-bottom: 2rem;
}

.size-label {
  font-size: 1.8rem;
  color: #333;
  margin: 1rem 0 0.5rem;
  font-weight: 500;
}

.properties-price {
  margin-bottom: 1.5rem;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.price-mrp {
  position: relative;
  color: #666;
  font-size: 2rem;
  text-decoration: line-through;
  text-decoration-color: #ff4444;
  text-decoration-thickness: 2px;
  opacity: 0.8;
}

.price-special {
  color: #00a67e;
  font-weight: 700;
  font-size: 2.8rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 0 0.5rem;
}

.price-special::before {
  display: none;
}

.price-tag {
  background: linear-gradient(45deg, #ff4444, #ff6b6b);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(255, 68, 68, 0.3);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.price-tag:hover {
  transform: rotate(0deg) scale(1.05);
}

.properties-price.active .price-special {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(0, 166, 126, 0.3);
  }
  100% {
    transform: scale(1);
  }
}

.properties-price.active {
  opacity: 1;
  transform: translateY(0);
}

.price-mrp {
  visibility: hidden;
}

.properties-price.active .price-mrp {
  visibility: visible;
  animation: strikethrough 0.5s ease forwards;
}

.price-special {
  opacity: 0;
}

.properties-price.active .price-special {
  animation: fadeInUp 0.5s ease forwards 0.3s;
}

.price-tag {
  opacity: 0;
}

.properties-price.active .price-tag {
  animation: fadeIn 0.5s ease forwards 0.6s;
}

@keyframes strikethrough {
  0% {
    text-decoration-color: transparent;
  }
  100% {
    text-decoration-color: #666;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.properties-card-logo {
  height: 2.4rem;
  width: 2.4rem;
}

.properties-description {
  font-size: 1.7rem;
  line-height: 2;
  color: #444;
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.properties-description br {
  margin-bottom: 0.8rem;
  display: block;
}

.properties-list-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.properties-link:link,
.properties-link:visited {
  display: inline-block;
  text-decoration: none;
  background-color: #0088aa;
  font-size: 1.9rem;
  color: #f1ffff;
}
.properties-link:hover,
.properties-link:active {
  background-color: #153138;
  color: #c6ffff;
}
.properties-link-logo {
  display: flex;
  align-items: center;
}
.properties-source-logo {
  height: 2.4rem;
  width: 2.4rem;
}
.properties-more:link,
.properties-more:visited {
  text-decoration: none;
  font-size: 1.8rem;
  color: #0088aa;
}
.properties-more:hover,
.properties-more:active {
  text-decoration: underline;
}
.testimonial-container {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.testimonial-container:active {
  cursor: grabbing;
}

.testimonial-box {
  flex: 0 0 auto;
  width: 300px;
  background-color: #f8feff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: none;
}

.contact-heading {
  text-align: center;
  margin-bottom: 5rem;
}
.contact-container {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}
.contact-label {
  display: block;
  margin-bottom: 1rem;
}
.contact-house {
  grid-column: 1/3;
}

.contact-input {
  padding: 1.4rem 2rem;
  width: 100%;
  border-radius: 8px;
  font-size: 1.6rem;
  font-family: inherit;
  border: 1px solid #0088aa;
}
.contact-input:focus {
  border: 2px solid #0088aa;
  outline: none;
}

.contact-input::placeholder {
  color: #01aaaa;
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 400;
}
.contact-link {
  padding-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem;
  background-color: #000000 ;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: between;
}
.footer-heading {
  font-size: 2.4rem;
  color: #d7d7e0;
  margin-bottom: 3rem;
}
.footer-logo {
  height: 11rem;
  margin-bottom: 5rem;
}
.copyright {
  font-family: inherit;
  font-size: 1.4rem;
  color: #fcfcfc;
}
.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  margin-top: 2rem;
}
.social-container {
  margin-left: 8rem;
}
.social-links-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.footer-social-logo {
  height: 2.4rem;
  width: 2.4rem;
}
.social {
  font-size: 1.8rem;
  display: inline-block;
}
.address {
  color: #fefeff;
  font-size: 1.6rem;
  margin-bottom: 3rem;
}

.social-link:link,
.social-link:visited {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #feffff;
  font-size: 1.6rem;
}
.social-link:hover,
.social-link:active {
  color: #0f1717;
}

.sponsor-container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  overflow: hidden;
  background-color: #f8f8f8;
  margin-bottom: 2rem;
}

.sponsor-logos {
  display: flex;
  gap: 10rem;
  animation: scroll 10s linear infinite;
}

.sponsor-logo {
  height: 6rem;
  transition: transform 0.1s;
}

.sponsor-logo:hover {
  transform: scale(2);
}

.sponsor-container:hover .sponsor-logos {
  animation-play-state: paused;
}

.sponsor-title {
  text-align: center;
  margin-bottom: 1rem;
}

.sponsor-title h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.highlight {
  color: #00a67e;
  font-weight: 600;
  font-style: italic;
}

.product-title {
  font-size: 2.4rem;
  color: #00a67e;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 1rem;
}

.product-intro {
  font-size: 1.8rem;
  color: #666;
  font-style: italic;
}

.section-title {
  display: inline-block;
  font-size: 2rem;
  color: #0088aa;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0088aa;
}

.list-item {
  color: #00a67e;
  margin-right: 0.5rem;
}

@media (max-width: 1200px) {
  html {
    font-size: 56.25%;
  }

  .hero {
    width: 100%;
    gap: 5rem;
    padding: 8rem 4rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .header {
    padding: 0 2rem;
  }

  .hamburger {
    display: block;
    z-index: 100;
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 7.2rem;
    right: -100%;
    width: 100%;
    height: calc(100vh - 7.2rem);
    background: #010101;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    gap: 3rem;
  }

  .nav.active {
    right: 0;
  }

  .primary-heading {
    font-size: 4.2rem;
    letter-spacing: -1px;
  }

  .secondary-heading {
    font-size: 3.6rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-img-container {
    max-width: 100%;
    padding: 0.5rem;
  }

  .hero-img-frame {
    max-height: 600px; /* Adjust for mobile */
  }

  .hero-img {
    max-height: 70vh;
    min-height: 400px;
  }

  .hero-img-container {
    max-height: 50vh;
    order: -1;
  }

  .properties-card {
    grid-template-columns: 1fr;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-house {
    grid-column: 1;
  }

  .social-container {
    margin-left: 0;
  }

  .properties-img {
    border-radius: 0;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .testimonial-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-description {
    margin: 2rem 0 3rem 0;
  }

  .properties-cards {
    font-size: 1.2rem;
  }

  .testimonial-box {
    padding: 1rem;
  }

  .sponsor-logos {
    gap: 5rem;
  }
}
