
.navbar .nav-link {
  position: relative;
  color: #fff;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #f9d6b3; /* underline color */
  transition: width 0.3s ease;
}

.navbar .nav-link:hover {
  color: #f9d6b3;
}

.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar-brand {
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-toggler {
  border-color: #f9d6b3;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28%249, %246, %243%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/ %3E%3C/svg%3E");
}


/* HOME SECTION */
.home-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('images/Dream Home.avif') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.5s ease;
}

.home-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(81, 68, 52, 0.6); /* overlay color with transparency */
  top: 0;
  left: 0;
}

.overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.home-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

.home-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.8;
  animation: fadeInUp 1.5s ease forwards;
}

.btn-home {
  background-color: #f9d6b3;
  color: #514434;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-home:hover {
  background-color: #fff;
  color: #514434;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .home-title {
    font-size: 2rem;
  }
  .home-subtitle {
    font-size: 1rem;
  }
  .btn-home {
    padding: 10px 20px;
  }
}


/* WHO WE ARE SECTION */
.who-we-are-section {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #514434;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  animation: fadeInUp 1s ease forwards;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #f9d6b3;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1.2s ease forwards;
}

.who-card {
  background-color: #fefefe;
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  cursor: pointer;
}

.who-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.who-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #f9d6b3;
  transition: transform 0.3s ease;
}

.who-card:hover .icon {
  transform: rotate(15deg) scale(1.2);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #514434;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.who-card:hover .card-title {
  color: #f9d6b3;
}

.card-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.who-card:hover .card-text {
  color: #333;
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
}

.mission-vision-section {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.mv-card {
  background-color: #fefefe;
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  cursor: pointer;
}

.mv-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.mv-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #f9d6b3;
  transition: transform 0.3s ease;
}

.mv-card:hover .icon {
  transform: rotate(15deg) scale(1.2);
}

.mission-vision-section .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #514434;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.mv-card:hover .card-title {
  color: #f9d6b3;
}

.mission-vision-section .card-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.mv-card:hover .card-text {
  color: #333;
}

/* Animations */
.mission-vision-section .section-title,
.mission-vision-section .section-subtitle {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .mission-vision-section .section-title {
    font-size: 2rem;
  }
  .mission-vision-section .section-subtitle {
    font-size: 1rem;
  }
}

/*services*/
.services-section {
  background-color: #f0deca; /* Updated background color */
  padding: 80px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #514434;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #514434;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #514434;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Service Cards */
.service-card {
  background-color: #ffffff; /* Keep cards white for contrast */
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #f9d6b3;
  transition: transform 0.3s ease;
}

.service-card:hover .icon {
  transform: rotate(15deg) scale(1.2);
}

.service-card .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #514434;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.service-card:hover .card-title {
  color: #f9d6b3;
}

.service-card .card-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.service-card:hover .card-text {
  color: #333;
}

/* Responsive */
@media (max-width: 992px) {
  .service-card {
    margin-bottom: 30px;
  }
}


/*whychooseus*/
.why-choose-us-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #514434;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f9d6b3;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Enhanced Cards */
.choose-card {
  background-color: #fefefe;
  padding: 30px 20px 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.choose-card .card-top-border {
  height: 5px;
  width: 60px;
  background-color: #f9d6b3;
  border-radius: 5px;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
}

.choose-card:hover .card-top-border {
  width: 100%;
}

.choose-card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.choose-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #f9d6b3;
  transition: transform 0.3s ease, color 0.3s ease;
}

.choose-card:hover .icon {
  transform: rotate(20deg) scale(1.25);
  color: #514434;
}

.choose-card .card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #514434;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.choose-card:hover .card-title {
  color: #f9d6b3;
}

.choose-card .card-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.choose-card:hover .card-text {
  color: #333;
}

.choose-card .extra-text {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.5;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.choose-card:hover .extra-text {
  color: #555;
}

/* Animations for section header */
.section-title,
.section-subtitle {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .choose-card {
    margin-bottom: 30px;
  }
}


/*stayupdatedwithus*/
.stay-updated-section {
  background-color: #9d9080;
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* Form styling */
.update-form .form-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.update-form label {
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.95rem;
}

.update-form input {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.update-form input:focus {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Buttons */
.btn-subscribe,
.btn-unsubscribe {
  padding: 12px 10px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 150px;
  height: 45px !important;
  margin-top: 30px;
}

.btn-subscribe {
  background-color: #f9d6b3;
  color: #514434;
}

.btn-subscribe:hover {
  background-color: #fff;
  transform: scale(1.05);
}

.btn-unsubscribe {
  background-color: #514434;
  color: #f9d6b3;
}

.btn-unsubscribe:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .update-form {
    flex-direction: column;
    align-items: center;
  }
  .update-form .form-group, .form-buttons {
    width: 100%;
    max-width: 350px;
  }
  .form-buttons {
    justify-content: center;
  }
}


/*contact section*/
.contact-section {
  background-color: #f0deca;
  padding: 80px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #514434;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #514434;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #514434;
  max-width: 800px;
  margin: 0 auto 50px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transform: scale(1.02);
}

.btn-submit {
  background-color: #514434;
  color: #f9d6b3;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #3d342b;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form {
    width: 90%;
  }
}

/*terms*/
.terms-section {
  background-color: #eee6d6;
  padding: 80px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #514434;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f9d6b3;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 50px;
  animation: fadeInUp 1s ease forwards;
}

/* Terms cards */
.terms-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.term-card {
  background-color: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  cursor: pointer;
}

.term-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.term-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #514434;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.term-card:hover .term-title {
  color: #f9d6b3;
}

.term-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.term-card:hover .term-text {
  color: #333;
}

/* Section header animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .term-card {
    padding: 20px 15px;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
}

/*privacy-policy*/
.privacy-section {
  background-color: #eee6d6;
  padding: 80px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #514434;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f9d6b3;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 50px;
  animation: fadeInUp 1s ease forwards;
}

/* Privacy cards */
.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-card {
  background-color: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  cursor: pointer;
}

.privacy-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.privacy-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #514434;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.privacy-card:hover .privacy-title {
  color: #f9d6b3;
}

.privacy-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.privacy-card:hover .privacy-text {
  color: #333;
}

/* Section header animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .privacy-card {
    padding: 20px 15px;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
}

/*footer*/
footer a:hover {
  color: #f9d6b3;
  transition: color 0.3s ease;
}

footer .btn-warning:hover {
  background-color: #f7c06b;
  color: #514434;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

footer .social-icons a:hover {
  color: #f9d6b3;
  transform: scale(1.2);
  transition: all 0.3s ease;
}
