@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background-color: #fff9f3;
}

a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
}

li {
  list-style-type: none;
}

h2 {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.5;
  color: #3c1f11;
  margin-bottom: 10px;
}

iframe {
  width: 100%;
  height: 100%;
}

.container {
  max-width: 1920px;
  margin-top: 8vh;
}

.btn {
  background-color: #f58220;
  border-radius: 5px;
  outline: none;
  border: none;
  cursor: pointer;
}

.btn:active {
  scale: 0.8;
}

.heading-underline {
  width: 128px;
  height: 3px;
  background-color: #f58220;
}

#all-website-content {
  display: none;
}

.loader-wrapper {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #f58220;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

/* Bottom animation */

.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 0.7s;
  animation-name: animatebottom;
  animation-duration: 0.7s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100vh;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100vh;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

/* Bottom Animation */

/* Navbar Styles */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 8vh;
  box-shadow: 0 5px 10px 0 rgba(245, 130, 32, 0.2);
  position: sticky;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
}

.menu-items {
  display: flex;
  justify-content: space-around;
  width: 50%;
}

a.nav-link {
  position: relative;
}

a.nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 6px;
  bottom: 0;
  left: 0;
  background-color: #ffe6c6;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

a.nav-link:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

.brand img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #f58220;
  margin: 5px;
  transition: all 0.3s ease;
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-active {
  transform: translateX(0%);
}

/* Navbar Styles */

/* Hero Section Styles */

.hero {
  width: 100vw;
  height: 92vh;
}

.curved-hero {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-bottom-right-radius: 350px;
}

.hero-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  padding-bottom: 100px;
}

.hero-img {
  width: 50%;
}

.hero-img img {
  width: 100%;
  max-width: 800px;
  height: auto;
}

.hero-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-right: 200px;
  margin-left: 200px;
}

.hero-content h1 {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: normal;
  line-height: 1.53;
  margin-bottom: 40px;
  color: #3c1f11;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.56;
  color: #3c1f11;
  margin-bottom: 40px;
}

#btn-appointment {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.56;
  padding: 12px 25px;
}

/* Hero Section Styles */

/* About Section Styles */

.about-wrapper {
  display: flex;
  justify-content: space-around;
  margin: 0 200px 75px 200px;
  padding-top: 75px;
}

.about-heading {
  margin-top: 10vh;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-img {
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.about-content ul {
  margin-top: 20px;
  max-width: 700px;
}

.about-content li {
  color: #3c1f11;
  font-size: 16px;
  line-height: 1.56;
  padding: 5px;
}

.about-content li::before {
  content: '\2022';
  color: #f58220;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* About Section Styles */


/* ------------------------------------------------------------------------------------------------------------------------------------- */

/* rules Section Styles */

.rules-wrapper {
  display: flex;
  justify-content: space-around;
  margin: 0 200px 75px 200px;
  padding-top: 75px;
}

/* .rules-heading {
  margin-top: 10vh;
} */

.rules-heading {
  padding-top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rules-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 50px;  /*extra*/
}

/* .rules-img {
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rules-img img {
  width: 100%;
  max-width: 500px;
  height: auto;
} */

.rules-content ul {
  /* margin-top: 20px; */
  max-width: 700px;
}

.rules-content li {
  color: #3c1f11;
  font-size: 16px;
  line-height: 1.56;
  padding: 5px;
}

.rules-content li::before {
  content: '\2022';
  color: #f58220;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* rules Section Styles */

/* ----------------------------------------------------------------------------------------------------------------------------------------- */

/* Services Section Styles */

.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.services-heading {
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-accordion {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 50px 100px;
  justify-content: center;
}

.accordion {
  margin-right: 30px;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  border-radius: 5px;
  padding: 15px;
  width: 370px;
  border: none;
  text-align: left;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: 0.4s;
  box-shadow: 0 4px 10px 0 rgba(245, 130, 32, 0.3);
}

.active,
.accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\f0d7';
  font-family: 'Font Awesome 5 Free';
  color: #f58220;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: '\f0d8';
}

.panel {
  width: 370px;
  margin: 10px 0px;
  padding: 0px 30px;
  background-color: #f8f4f1;
  border-radius: 5px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel li {
  color: #000;
  font-size: 16px;
  line-height: 1.56;
  padding: 5px;
}

.panel li::before {
  content: '\2022';
  color: #f58220;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Services Section Styles */

/* Experts, Team Section Styles */

#team {
  display: flex;
  flex-direction: column;
}

.team-heading {
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.experts-cards {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.expert-card {
  position: relative;
  width: 50vw; /* 50% of viewport width */
  max-width: 100%;
}

.expert-card__bg {
  width: 90%;
  height: auto;
  display: block;
  margin-left: 5%;
}

.expert-card__expert {
  position: absolute;
  /* top: 5ch; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center over background */
  width: 90%;
  height: auto;
  border-radius: 5%; /* Optional: remove if you don't want circle */
  border: 4px solid white; /* Optional */
  background: white;
}







/* Experts, Team Section Styles */

/* Appointment Section Styles */

.appointment {
  background-color: #fff;
}

.appointment-heading {
  padding-top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.appointment-content {
  display: flex;
  padding: 50px 0;
}

.appointment-form {
  width: 50%;
}

#form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.form-control {
  margin-bottom: 25px;
}

.form-control label {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.56;
  color: #000;
  padding-bottom: 5px;
}

.form-control input {
  width: 100%;
  height: 45px;
  background-color: #fff;
  border: solid 1px #eee2d8;
  padding: 15px;
}

.form-control input:focus {
  outline: 0;
  box-shadow: 0 4px 10px 0 rgba(245, 130, 32, 0.3);
}

.form-control textarea {
  width: 100%;
  background-color: #fff;
  border: solid 1px #eee2d8;
  padding: 15px;
}

.form-control textarea:focus {
  outline: 0;
  box-shadow: 0 4px 10px 0 rgba(245, 130, 32, 0.3);
}

.form-control button {
  width: 250px;
  height: 45px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.appointment-img {
  width: 50%;
  display: flex;
  justify-content: center;
}

.appointment-img img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Contact Section Styles */

#contact {
  display: flex;
  flex-direction: column;
}

.contact-heading {
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-content {
  margin: 40px 0;
  display: flex;
}

.contact-details {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-curved-box {
  background-color: #fff;
  display: flex;
  justify-content: center;
  max-width: 700px;
  height: auto;
  border-top-right-radius: 75px;
  border-bottom-right-radius: 75px;
}

.contact-details {
  margin: 50px 0;
}

.contact-detail {
  display: flex;
  margin-bottom: 30px;
  margin-left: 50px;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail__icon {
  height: 40px;
  width: 40px;
  border-radius: 5px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  background-color: #f58220;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail__icon img {
  height: 20px;
  width: 20px;
}

.contact-detail span {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding-left: 15px;
}

/* Footer Section Styles */

.footer {
  background-color: #fff;
}

.footer-bg {
  width: 100%;
  position: relative;
  z-index: 2;
}

.footer-bg img {
  width: 100%;
  height: auto;
}

.footer-text {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-text {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}

#grapnotic a {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #f58220;
}

/* Footer Section Styles */

/* Set the size of the div element that contains the map */
#map {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mapouter {
  height: 500px;
  width: 600px;
}

/* Media Queries, Responsive */

@media screen and (max-width: 1366px) {
  .menu-items {
    width: 70%;
  }
  .hero-content {
    width: 40%;
    margin-left: 60px;
    padding-right: 80px;
  }
  .hero-img {
    width: auto;
  }
  .hero-img img {
    max-width: 750px;
  }
  .about-img img {
    max-width: 370px;
  }
  .about-content {
    width: 100%;
    max-width: 540px;
    height: auto;
    padding-right: 50px;
  }
  .rules-content {
    width: 100%;
    max-width: 540px;
    height: auto;
    padding-right: 50px;
  }
  .appointment-img img {
    max-width: 467px;
  }
  .mapouter {
    height: 400px;
    width: 500px;
  }
  #form {
    margin: 0 0 0 200px;
  }
}

@media screen and (max-width: 1024px) {
  .menu-items {
    width: 70%;
  }
  .about-wrapper {
    margin: 50px 100px;
  }
  .rules-wrapper {
    margin: 50px 100px;
  }
  .about-img {
    width: 100%;
  }
  .about-img img {
    max-width: 440px;
  }
  .experts-cards {
    width: auto;
  }
  #form {
    margin: 0 0 0 100px;
  }
  .appointment-img {
    align-items: center;
  }
  .appointment-img img {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  .mapouter {
    height: 300px;
    width: 400px;
  }
  .contact-detail {
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    height: 10vh;
    justify-content: space-between;
    padding: 0 20px;
  }

  .container {
    margin-top: 10vh;
  }

  .menu-items {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    z-index: 999;
  }

  .burger {
    z-index: 1000;
  }

  .menu-items li {
    opacity: 0;
  }

  .burger {
    display: block;
  }

  .hero {
    height: auto;
  }

  .curved-hero {
    border-bottom-right-radius: 150px;
  }

  .hero-wrapper {
    padding-bottom: 0px;
    flex-direction: column;
  }

  .hero-img {
    width: 100%;
  }

  .hero-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .nav-active {
    transform: translateX(0%);
  }

  .hero-content {
    width: 95%;
    height: auto;
    margin: 10px;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 20px;
  }

  .hero-content p {
    font-size: 14px;
  }

  #btn-appointment {
    font-size: 14px;
  }

  .about-wrapper {
    padding-top: 0px;
    margin: 0px;
    flex-direction: column;
  }
  .rules-wrapper {
    padding-top: 0px;
    margin: 0px;
    flex-direction: column;
  }

  .about-img {
    width: 100%;
    max-width: 275px;
    height: auto;
    margin: 40px auto;
  }

  .about-content {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 0;
    margin: 0 auto;
  }

  .about-heading {
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-content ul {
    width: 100%;
    height: auto;
    margin-left: 10px;
    margin-right: 15px;
    padding: 0 20px;
    margin-bottom: 20px;
  }
  .rules-content {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 0;
    margin: 0 auto;
  }

  .rules-heading {
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .rules-content ul {
    width: 100%;
    height: auto;
    margin-left: 10px;
    margin-right: 15px;
    padding: 0 20px;
    margin-bottom: 20px;
  }

  .services-accordion {
    margin: 20px 20px;
    justify-content: space-evenly;
  }

  .accordion {
    margin: 0px;
    width: 300px;
  }

  .panel {
    width: 300px;
  }

  .experts-cards {
    flex-direction: column;
    height: auto;
    margin: 20px 0;
  }

  .expert-card {
    height: 600px;
  }

  .expert-card__bg {
    width: 100%;
    max-width: 275px;
    height: auto;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
  }


  .expert-card__content {
    width: 300px;
  }

  .appointment-content {
    padding: 0px;
    flex-direction: column-reverse;
  }

  .appointment-img {
    width: 100%;
    align-self: center;
    margin: 30px 30px;
  }

  .appointment-img img {
    width: 100%;
    max-width: 275px;
    height: auto;
  }

  .appointment-form {
    width: 100%;
  }

  #form {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px auto;
  }

  .form-control button {
    margin: 0 auto;
  }

  .contact-content {
    flex-direction: column;
    margin: 0;
  }

  .contact-details {
    margin: 20px auto;
    width: 100%;
    padding: 10px 20px;
  }

  .contact-curved-box {
    width: 100%;
    height: auto;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
  }

  .footer-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 10px;
  }

  #map {
    width: 100%;
    margin-bottom: 40px;
  }

  .mapouter {
    height: 200px;
    width: 300px;
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.row {
  display: flex; /* Use flexbox for layout */
  flex-wrap: wrap; /* Allow wrapping of columns */
  justify-content: space-between; /* Add spacing between columns */
  margin: 0 -10px; /* Adjust spacing between rows */
}

.column {
  flex: 1 1 calc(20% - 20px); /* Each column takes up 25% of the row width minus spacing */
  box-sizing: border-box; /* Include padding and border in width/height */
  padding: 10px; /* Add spacing inside columns */
}

.column img {
  width: 100%; /* Make images responsive */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove inline spacing */
}

/* Responsive styles for smaller screens */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.image-gallery img {
  width: 150%;
  max-width: 300px;
  height: auto;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 5px;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive grid */
@media (max-width: 768px) {
  .image-gallery img {
    max-width: 45%;
  }
}

@media (max-width: 480px) {
  .image-gallery img {
    max-width: 100%;
  }
}

