@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&display=swap");

:root {
  /* Colors */
  --brand-color: #a11f3a;
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  /* Fonts */
  --font-title: "Montserrat", sans-serif;
  --font-text: "Lato", sans-serif;
}

#h4head {
  color: var(--white);
  width: 100%;
  height: 25vh;
  text-align: center;
  display: flex;
  /* Use flexbox */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
}

#h4head span {
  background-color: var(--brand-color);
  border-radius: 15px;
  padding: 10px;
}

.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #a11f3a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.floating-button:hover {
  background-color: #8c162d;
}

.brand-color {
  background-color: var(--brand-color);
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.3);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  margin-top: 25px;
  padding: 20px;
  width: 60%;
  border-radius: 15px;
}

.modal-body img {
  width: 30%;
  /* Set the width to 20% of their original size */
  height: auto;
  /* Maintain aspect ratio */
  display: block;
  /* Ensure images are displayed as block elements */
  margin: 0 auto;
  /* Center the images horizontally */
  padding: 5px;
  /* Add padding for spacing */
}

/* Media query for smaller screens and phones */
@media screen and (max-width: 768px) {
  .modal-body img {
    width: 50%;
    /* Set the width to 50% of their original size for smaller screens */
  }

  .modal-content {
    width: 90%;
  }
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Header component */

.green-button {
  color: #f1f1f1;
  background-color: rgb(4, 156, 11);
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.3rem;
}

.pink-image {
  background-image: url(/static/assests/mianbg.jpg);
  height: 70vh;
  background-position: center;
  background-size: cover;

}

.links li {
  font-size: 18px;
}

/*
.links li:hover {
  border-bottom: 2px solid rgb(196, 126, 179);
}
*/

.lora-main {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/* Main components */

/* Animation part */
@keyframes scale-up {
  from {
    transform: scale(0.6);
  }

  to {
    transform: scale(1);
  }
}

.ram {
  animation: 2.5s linear forwards scale-up;
  animation-timeline: view();
  transition: all 0.4s;
}

.testimonial-wrapper {
  width: 100%;

  overflow: hidden;

}

.testimonial-track {
  display: flex;
  gap: 1rem;

  animation: scroll 20s linear infinite;

}

.testimonial-card {
  flex: none;

  width: 300px;

  background-color: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);

  }

  100% {
    transform: translateX(-100%);

  }
}

.loader {
  width: fit-content;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 30px;
  padding-bottom: 8px;
  background: linear-gradient(currentColor 0 0) 0 100%/0% 3px no-repeat;
  animation: l2 2s linear infinite;

  ::before {
    content: "Load";
  }
}

@keyframes l2 {
  to {
    background-size: 100% 3px
  }
}

@media (min-width: 768px) {
  .testimonial-wrapper {
    width: calc(300px * 3 + 2rem);

  }
}

#loader {
  background-color: white;
}


.loading-bar {
  width: 100%;

  height: 4px;

  background: linear-gradient(to right, #5d0432, #780431);

  border-radius: 2px;

  animation: expand 3s ease-in-out infinite;

}


@keyframes slideUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}


#loader.slide-up {
  animation: slideUp 0.5s ease-in-out forwards;
}

@keyframes expand {
  0% {
    width: 0%;

  }

  100% {
    width: 100%;
    /* Animate to width 100% */
  }
}

.Sinhagad {
  animation: 2.5s linear forwards scale-up;
  animation-timeline: view();
  transition: all 0.4s;
}

.place {
  animation: 2.5s linear forwards scale-up;
  animation-timeline: view();
  transition: all 0.4s;
}

/* Animation part */
.main {
  position: relative;
  /* Ensure relative positioning for pseudo-element */
  height: 70vh;
  background-position: center;
  background-size: cover;
  transition: background-image 1s ease-in-out;
  background-image: url(/static/header1.jpeg);
  z-index: 1;
}

.main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(270deg, hsla(0, 0%, 0%, 0) 0%, hsla(0, 0%, 0%, 0.3) 40%, hsl(0, 0%, 0%) 200%);
  z-index: -1;
}

.card1 {
  transition: all ease-in 0.4s;
  background-color: #565454;
  border-radius: 10px;
  overflow: hidden;
}

.card1 img {
  height: 100%;
}

.card1:hover img {
  mix-blend-mode: hard-light;
  filter: blur(5px);
}


.card1 div {
  transition: all ease-in 0.4s;
}

.card1 div {
  transition: all ease-in 0.4s;
}

.card1:hover div {
  width: 100%;
  height: 100%;
  color: black;
  top: 180px;
}

.card2:hover div {
  top: 80px;
}

.card1:hover {
  transform: scale(1.03);
  background-color: #999;
}

.left img {
  filter: drop-shadow(10px 10px 2px #000);
}

.indexcard {
  width: 60%;
  height: 800px;
  display: flex;
  border-radius: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.indexcard>img {
  width: 120%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.scroller p {
  text-shadow: 5px 5px 3px rgb(143, 141, 141);
}

.indexcard::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* image scrollwe and slideshower in index html */

.slide {
  display: inline-block;
}

/* About us Component CSS */

.container img {
  shape-outside: circle();
  margin-right: 40px;
}

/* Gallery Component */

.gallery-cards {
  height: 300px;

  background-size: cover;
  background-position: center;
  background-color: #565454;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.gallery-cards:hover {
  background-color: #999;
  transform: scale(1.1);
}

.gallery-cards img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  background-color: #222;
  mix-blend-mode: hard-light;
  transition: all 0.3s ease-in-out;
}

.gallery-cards img:hover {
  box-shadow: 5px 5px 5px 5px black;
  background-color: #999;
}

/* Testimonail Component */

.testimonial-card {

  /* Light pink */
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px;
  max-width: 400px;
  overflow: hidden;
  position: relative;
}

.testimonial-content h2 {
  font-size: 20px;
  color: #333;
  margin-top: 0;
}

.testimonial-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.testimonial-author p {
  margin: 0;
  font-size: 14px;
  color: #888;
}

.stars {
  color: rgb(206, 206, 85);
}

.user {
  display: flex;
  gap: 10px;
  align-items: center;
}

.userlogo {
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  height: 50px;
  border-radius: 50%;
  background: #000;
}

/* packages css */

.card__title {
  font-size: 2.25rem;
  font-family: var(--font-title);
  color: var(--white);
  line-height: 1.1;
}

.card__description {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

.flow>*+* {
  margin-top: var(--flow-space, 1em);
}

/* CARD COMPONENT */

.card {
  display: grid;
  place-items: center;
  width: 80vw;
  max-width: 21.875rem;
  height: 28.125rem;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.card>* {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.card__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

.card__content {
  --flow-space: 0.9375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-self: flex-end;
  height: 100%;
  width: 100%;
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(180deg,
      hsla(0, 0%, 0%, 0) 0%,
      hsla(0, 0%, 0%, 0.3) 10%,
      hsl(0, 0%, 0%) 100%);
}

.card__content--container {
  --flow-space: 1.25rem;
}

.card__title {
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
  /* Prefijo necesario para Firefox  */
}

.card__title::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color: var(--brand-color);
}

.card__button {
  padding: 0.75em 1.6em;
  width: fit-content;
  width: -moz-fit-content;
  /* Prefijo necesario para Firefox  */
  font-variant: small-caps;
  font-weight: bold;
  border-radius: 0.45em;
  border: none;
  background-color: var(--brand-color);
  font-family: var(--font-title);
  font-size: 1.125rem;
  color: var(--white);
}

.card__button:focus {
  outline: 2px solid black;
  outline-offset: -5px;
}

@media (any-hover: hover) {
  .card__content {
    transform: translateY(62%);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .card__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  .card__background {
    transition: transform 500ms ease-in;
  }

  .card__content--container> :not(.card__title),
  .card__button {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .card:hover,
  .card:focus-within {
    transform: scale(1.05);
    transition: transform 500ms ease-in;
  }

  .card:hover .card__content,
  .card:focus-within .card__content {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .card:focus-within .card__content {
    transition-duration: 0ms;
  }

  .card:hover .card__background,
  .card:focus-within .card__background {
    transform: scale(1.3);
  }

  .card:hover .card__content--container> :not(.card__title),
  .card:hover .card__button,
  .card:focus-within .card__content--container> :not(.card__title),
  .card:focus-within .card__button {
    opacity: 1;
    transition: opacity 500ms ease-in;
    transition-delay: 1000ms;
  }

  .card:hover .card__title::after,
  .card:focus-within .card__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 500ms ease-in, transform 500ms ease-in;
    transition-delay: 500ms;
  }
}

/* google maps component  */
.google-map {
  padding-bottom: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.google-map iframe {
  height: 70%;
  width: 70%;
  left: 15%;
  top: 0;
  position: absolute;
}

.features {
  gap: 20px;
  padding-left: 0;
  display: flex;
  height: auto;
  width: auto;
  padding-right: 0;
  background: transparent;
  transition: all ease-in-out 0.6s;
  padding-top: 0.6rem;
}

.features li {
  font-size: 16px;
}

.hamburger {
  display: none;
}

@media screen and (max-width: 1200px) {
  .features {
    display: none;
  }
}

@media screen and (max-width: 780px) {
  .features {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 0;
    width: 70vw;
    margin-left: 2.5rem;
    padding-left: 2.5rem;
    padding-right: 13rem;
    background: pink;
    height: 110vh;
    /* transform: translateX(24rem); */
  }
}

@keyframes slide-left {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-right {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-left {
  animation: slide-left 1s ease-out;
}

.animate-slide-right {
  animation: slide-right 1s ease-out;
}