* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body,
html {
  font-size: 16px;
  font-family: "Kumbh Sans", sans-serif;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-padding, 80px);
}

/*Navbar*/

nav {
  height: 75px;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(20px);
  display: flex;
  position: fixed;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*Logo*/

.logo {
  padding: 1vh 1vw;
  text-align: center;
}

.logo img {
  width: 140px;
}

/*Links*/

.nav-links {
  display: flex;
  list-style: none;
  width: 88vw;
  font-size: 20px;
  justify-content: space-evenly;
  align-items: center;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.nav-links li a {
  text-decoration: none;
  color: #f1f1f1;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease-in;
}

/*hover effect*/

.nav-links li a:hover {
  color: #feff86;
  text-shadow: 0px 0px 8px #feff86;
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/*Change nav color on scroll*/
nav.scroll {
  background-color: rgba(39, 40, 41, 0.9);
  transition: 0.5s ease-in-out;
}

/*Hamburger Icon*/
.hamburger div {
  width: 30px;
  height: 3px;
  background-color: #f2f2f2;
  margin: 5px;
  transition: all 0.3s ease;
}

.hamburger {
  display: none;
}

/*responsive styling for nav*/

@media screen and (max-width: 800px) {
  nav {
    position: fixed;
    z-index: 3;
  }
  .hamburger {
    display: block;
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 50%;
    transform: translate(-5%, -50%);
    z-index: 2;
    transition: all 0.7s ease;
  }
  .nav-links {
    position: fixed;
    background-color: rgba(39, 40, 41, 0.95);
    height: 100vh;
    width: 100%;
    flex-direction: column;
    clip-path: circle(100px at 100% -20%);
    -webkit-clip-path: circle(100px at 100% -20%);
    transition: all 0.3s ease-out;
    pointer-events: none;
  }

  .nav-links.open {
    clip-path: inset(0px);
    -webkit-clip-path: inset(0px);
    pointer-events: all;
  }

  .nav-links li a {
    font-size: 18px;
    padding: 12px;
  }

  .hero .hero-content .hero-text .btn2 {
    font-size: 16px;
    line-height: 1.2;
    padding: 12px 20px;
    white-space: nowrap;
    word-break: keep-all;
    width: fit-content;
    max-width: 90%;
  }

  .nav-links li {
    opacity: 0;
  }

  li.fade {
    opacity: 1;
  }

  .testimonials .testimonials-slider {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/*Animating Hamburger Icon on Click*/
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  transition: all 0.1s ease;
  width: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/*hero*/

.hero-text {
  border-radius: 30px;
  margin-top: 50px;
  font-family: "Rubik", sans-serif;
}

.hero {
  margin-top: 0;
  padding-top: 75px;
}

/* Hero btn*/
.hero .hero-content .hero-text .btn2 {
  line-height: 80px;
  font-size: 20px;
  padding: 10px 30px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: 0.3s ease;
  background-color: #fff;
  cursor: pointer;
}

.hero .hero-content .hero-text .btn2:hover {
  transform: translateY(-10px);
  color: #333;
  background-color: #f7d774;
  box-shadow: 0 0 8px #f7d774;
  transition: 0.5s ease-in-out;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)),
    url("Images/pexels-quoc-bao-2118045.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-content: center;
}

.hero .hero-content {
  width: 90%;
  height: 50vh;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-self: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-content {
  flex-wrap: wrap;
}

.hero-text {
  max-width: 100%;
  text-align: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  font-size: 36px;
  color: #fffbea;
}

/*Whatsapp click*/
.whatsapp-container {
  display: flex;
  position: fixed;
  right: 20px;
  bottom: 20px;
  color: #82cd47;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 9;
}

.whatsapp-container h3 {
  padding: 5px;
  margin: 0;
}

.whatsapp-container a {
  display: flex;
}

/*Repsonive styling for whatsapp & hero text*/
@media screen and (max-width: 817px) {
  .hero-text {
    font-size: 26px;
  }

  .whatsapp-container a img {
    width: 40px;
  }

  .whatsapp-container h3 {
    font-size: 14px;
  }
}

/*Styling service cards section*/
.cards-container {
  margin: 0 auto;
  max-width: 1300px;
  padding: 40px 20px;
}

.cards-container .cards-heading {
  text-align: center;
  padding-bottom: 20px;
}

.cards-heading h1 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
}

.card .card-name {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 24px;
}

.card .card-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.card .btn {
  margin-top: auto;
  padding: 12px 25px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  transition: 0.3s ease;
  background-color: #fff;
  cursor: pointer;
}

.card .btn:hover {
  color: #333;
  background-color: #f7d774;
  box-shadow: 0 0 8px #f7d774;
  transition: 0.5s ease-in-out;
}

/*Repsonive styling for cards*/
@media screen and (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .hero-text {
    font-size: 25px;
  }

  .hero {
    background-position: center;
  }
}

.cards-section {
  background-color: #ede4e0;
  padding: 20px 0 40px;
}

/*Modal background*/
.modal {
  display: none;
  position: fixed;
  padding-top: 100px;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/*Modal content/box*/
.modal-content {
  position: relative;
  background-color: rgba(51, 51, 51, 0.9);
  backdrop-filter: blur(12px);
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  color: #333;
}

/*Close Button*/
.close {
  color: #f1f1f1;
  float: right;
  font-weight: bold;
  font-size: 30px;
  margin-top: -10px;
  margin-right: 10px;
}

.close:hover,
.close:focus {
  color: #e57373;
  text-decoration: none;
  cursor: pointer;
}

/*Modal Header*/
.modal-header {
  background-color: #5e503f; /* Elegant warm brown */
  color: #fffbea; /* Off-white text */
  padding: 15px 20px;
  border-radius: 10px 10px 0 0;
}

.modal-body {
  padding: 20px;
  background-color: rgba(250, 245, 240, 0.95); /* Soft beige */
  color: #2e2e2e;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: #333;
}

/*Form Section of modal*/
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  font-family: inherit;
}

/* Style the submit button with a specific background color etc */
input[type="submit"] {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  color: #fffbea;
  background-color: #a4907c;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: inherit;
  font-size: 16px;
  display: block;
  margin: 20px auto 0;
  width: 100%;
}

input[type="submit"]:hover {
  background-color: #a4907c;
  color: #fffbea;
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

label {
  color: #333;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

@media screen and (min-width: 1700px) {
  .modal-content {
    max-width: 800px;
  }
}

/*Repsonive styling for modal*/
@media screen and (max-width: 768px) {
  .modal {
    padding-top: 60px;
  }

  .modal-content {
    width: 95%;
  }
}

/*about section*/
#about-section {
  position: relative;
  width: 100%;
  height: 80vh; /* or change based on content */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: cover;
  z-index: 1;
}

.about-overlay {
  position: relative;
  z-index: 2;
  color: white;
  background-color: rgba(0, 0, 0, 0.1); /* optional dimming for contrast */
  padding: 50px 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: auto;
}

#about-heading h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

#about-body p {
  font-size: 18px;
  line-height: 1.6;
}

.testimonials {
  padding: 50px 0;
  width: 100%;
  background-color: #f0f0f1;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 30px;
  font-size: 36px;
  color: #333;
}

.swiper {
  width: 100%;
  height: 350px;
}

.swiper-scrollbar {
  display: none !important;
}

.checked {
  color: orange;
}

.testimonials .testimonials-slider {
  background-color: #fffafa;
  margin: 0 auto;
  padding: 30px;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  line-height: 1.6;
}

.testimonials .testimonials-slider p {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonials .testimonials-slider h3 {
  font-weight: bold;
  margin-bottom: 10px;
}

/*FAQ section*/
#FAQ-section {
  padding: 50px 0;
  background-color: #fff;
}

.accordion {
  text-align: left;
  font-size: 18px;
  width: 90%;
  max-width: 800px;
  margin: 32px auto;
}

.accordion-heading {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #333;
}

.accordion-item {
  background-color: #f5f5f5;
  color: #333;
  margin: 16px 0;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.accordion-item-header {
  padding: 16px 20px;
  min-height: 56px;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  background-color: #e9e9e9;
}

.accordion-item-header::after {
  content: "\266a";
  font-size: 24px;
  position: absolute;
  right: 16px;
  transition: 0.2s ease-in-out;
  color: #a4907c;
}

.accordion-item-header.active::after {
  content: "\266b";
}

.accordion-item-body {
  padding: 0;
  line-height: 1.6;
  border-top: 1px solid #ddd;
  display: none;
}

.accordion-item-body-content {
  padding: 16px 20px;
}

.accordion-item-header.active + .accordion-item-body {
  display: block;
}

/*Repsonive styling for FAQ*/
@media screen and (max-width: 800px) {
  .accordion-item-header {
    line-height: 24px;
  }
}

/*Contact form*/
.blackboard {
  margin: 50px auto;
  width: 90%;
  max-width: 800px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow-x: hidden;
  padding: 40px;
  border-radius: 10px;
  background-color: #2e2e2e;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blackboard * {
  font-weight: normal;
  letter-spacing: 2px;
  color: #fffbea;
  text-align: center;
}

#contact-heading {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fffbea;
}

.contact-body {
  font-size: 20px;
  line-height: 1.8;
}

.contact-body a {
  color: #feff86;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-body a:hover {
  text-shadow: 0 0 8px #feff86;
}

/*Footer*/
footer {
  width: 100%;
  background-color: #2e2e2e;
  padding: 20px 0;
  text-align: center;
  margin-top: 0;
}

#footer-text {
  color: #fffbea;
  margin: 0;
}

/* Fix white space under footer */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Responsive improvements */
@media screen and (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 20px;
  }

  .cards-heading h1,
  #about-heading h1,
  .accordion-heading,
  #contact-heading,
  .testimonials h2 {
    font-size: 28px;
  }

  .blackboard {
    padding: 20px;
  }

  .contact-body {
    font-size: 16px;
  }
}

/* Animation for reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
