@keyframes entry_loader {
  100%{
      margin-left: 50%;
      margin-right: 50%;
      width: 0;
  }
}
#entry_loader{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 25;
  width: 100%;
  height: 100%;
  background-color: white;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: entry_loader 1.5s forwards;
  animation-delay: 3s;
}
@keyframes part1 {
  100%{
      width: 50%;
      margin-right: 0%;
  }
}
@keyframes part2 {
  100%{
      width: 50%;
      margin-left: 0%;
  }
}
#part1{
  width: 0%;
  height: 100%;
  background-color: var(--deep-blue);
  transition: 0.3s;
  animation: part1 2s forwards;
}

#part2{
  width: 0%;
  height: 100%;
  background-color: #dadada;
  transition: 0.3s;
  animation: part2 2s forwards;
}
@keyframes logo {
  100%{
      opacity: 1;
  }
}
#entry_logo{
  position: absolute;
  border-radius: 100%;
  width: 15rem;
  opacity: 0;
  animation: logo 1s forwards;
  animation-delay: 2s;
}

.carousel {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-size: 100%;
  background-repeat: no-repeat;
  transition: opacity 0.5s ease-in-out;

}

#carousel_1{
  /* background-image: url('http://127.0.0.1:8000/static/Images/Carousel-1.webp'); */
  background-image: url('https://lawsaathi.in/static/Images/Background-1.jpg');
  object-fit: contain;
}

#carousel_2{
  /* background-image: url('http://127.0.0.1:8000/static/Images/Carousel-2.webp'); */
  background-image: url('https://lawsaathi.in/static/Images/Background-2.jpg');
  object-fit: contain;
}

#carousel_3{
  background-image: url('https://lawsaathi.in/static/Images/banner3.webp');
}


.carousel-item.active {
  opacity: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 35%;
}

#gradient{
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(transparent 80%, var(--deepest-blue)); */
  background: linear-gradient(rgba(7, 16, 39, 0.45), rgba(7, 16, 39));
  /* background-color: var(--deep-blue); */
  /* opacity: 0.75; */
  /* background-color: red; */
  z-index: 2;

}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* background-color: rgba(0, 0, 0, 0.6); */
  padding: 20px;
  border-radius: 10px;
  max-width: 50%;
  z-index: 5;
}

.carousel-content h2 {
  font-size: 4rem;
  margin-bottom: 10px;
  font-weight: bold;
  font-family: var(--heading-font);
  text-align: center;
}

.carousel-content .tagline {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-style: italic;
  text-align: center;
}

.carousel-content .description {
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: justify;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.promotion-button {
  position: absolute;
  z-index: 3;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  /* margin-right: 7rem; Move the button slightly to the left */
  /* animation: buttonSlide 2s ease-in-out; */
}

.login-button {
  padding: 0.75rem 5.5rem;
  font-size: 1.5rem;
  /* border: 2px solid white; */
  border-radius: 5px; 
  cursor: pointer;
  transition: 0.3s;
  /* background-color: transparent; */
  background-color: white;
  /* color: white; */
  color:black;
  /* background-color: hsl(40, 100%, 50%); Matches the yellow color theme */
  /* background-color: #283593; */
  /* color: #ffffff; */
  /* border: 2px solid white; */
  /* font-family: 'Trajan'; */
  /* transition: background-color 0.3s, transform 0.3s; */
}

.login-button:hover {
  /* transform: scale(1.05); Slight zoom on hover */
  transform: scale(0.95);
  /* background-color: var(--gold); */
  background-color: hsl(0, 0%, 85%);
  /* color: white; */
  /* color: black; */
  
}

#playstore{
  padding: 1rem 10rem;
  background: url("https://lawsaathi.in/static/Images/playstore.jpg");
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center;
  border-radius: 5px;
  background-color: white;
  transition: .3s;
}

#playstore:hover{
  padding: 0.95rem 9rem;
}

#promotion{
  width: 100%;
  /* background-color: red; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.promotion-container {
  width: 100%;
  /* border-radius: 20px; */
  /* background-color: #1a237e; Whitish-blue background */
  background-color: var(--deepest-blue);
  padding: 0rem 5% 0 5%; /* Increase padding to extend height */
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(./); /* Add background image */
  background-size: cover; /* Ensure the image covers the entire container */
  background-position: center; /* Center the image */
  margin-bottom: 0; /* Ensure no gap below the promotion container */
}

.promotion-text{
  width: 75%;
}

.promotion-text h3 {
  /* margin: 0; */
  font-size: 2.5rem;
  line-height: 3rem;
  color: var(--gold);
  text-align: center;
  padding: 1rem 0;
  font-family: var(--heading-font);
  letter-spacing: 1.5px; /* Spacing between letters */
  text-transform: uppercase; /* Uppercase text for emphasis */
  transform: translateY(100px);
  opacity: 0.1;
  transition: 0.75s ease-in-out;
  /* animation: textPop 2s ease-in-out; */
  /* border: 2px solid red; */
}

#heading.visible{
  opacity: 1;
  transform: translateY(0);
}


.promotion-text p {
  /* margin-top: 2.5rem; */
  /* margin-right: 50%; */
  padding: 2rem 0;
  text-align: justify;
  font-size: 1.2rem;
  color: white;
  /* border: 2px solid green; */
}

.video-section {
  /* background: #000; */
  background-color: var(--deepest-blue);
  min-height: 100vh;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 15px 15px 15px var(--deepest-blue);
}

.video-container {
  width: 90%;
  max-width: 1200px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 123, 255, 0.2);
  border: 4px solid transparent;
  transition: all 0.3s ease;
}

.video-container:hover {
  border: 4px solid var(--brown);
  /* box-shadow: 0 0 100px var(--brown); */
  /* box-shadow: 0 0 70px rgba(0, 123, 255, 0.4); */
  /* box-shadow: 0 0 70px rgb(41, 134, 239); */
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; 
}


.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.video-container:hover .play-overlay {
  opacity: 0;
}

.video-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #0066ff, #00ffff);
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.video-container:hover::before {
  opacity: 1;
}


.video-wrapper img#player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* or 'contain' if you want the full image to be visible */
  display: block;
}


/* .image-container {
  position: relative;
  max-width: 100%;
  margin: 2rem auto;
} */

/* .dotted-border {
  position: absolute;
  top: 0; 
  left: 0;
  right: 0;
  bottom: -10px;
  border: 2px dotted #ffd700;
  z-index: -1;
} */

/* ------------------------------------------------------------------------- */
/* Cards Section */
/* ------------------------------------------------------------------------- */

#cards-carousel {
  width: 100%;
  /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
  /* background-color: #f8fafc; */
  background-color: hsl(0, 0%, 95%);
  padding: 4rem 2rem;
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 5%;

}

.card-carousel-content {
  overflow: hidden;
  margin-left: -0.25rem;
}

.card-carousel-track {
  display: flex;
  gap: 0.5rem;
  opacity: 0.25;
  translate: 0 80%;
  transition: 0.5s ease;
}

.card-carousel-track.visible{
  opacity: 1;
  translate: 0 0;
}

.card-carousel-item {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .card-carousel-item {
      flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .card-carousel-item {
      flex: 0 0 33.333333%;
  }
}

.card-carousel-item-inner {
  width: 95%;
  /* padding: 0.25rem; */
}

.carousel-card {
  width: 100%;
  height: 90vh;
  /* background: white; */
  border-radius: 20px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}


.card-content {
  height: 100%;
  display: flex;
  /* aspect-ratio: 1; */
  align-items: center;
  justify-content: center;
  /* padding: 1.5rem; */
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#card_1 {

  background: url("https://lawsaathi.in/static/Images/Card_3.jpg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#card_2 {

  background: url("https://lawsaathi.in/static/Images/App_Dark.jpg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
#card_3 {

  background: url("https://lawsaathi.in/static/Images/Card_2.png");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
#card_4 {

  background: url("https://lawsaathi.in/static/Images/Delta_Section.jpg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
#card_5 {

  background: url("https://lawsaathi.in/static/Images/Card_4.jpg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}


.card-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}


.card-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  z-index: 10;
}

.card-carousel-btn:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
}

.card-carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card-carousel-prev {
  left: -1.25rem;
}

.card-carousel-next {
  right: -1.25rem;
}

.card-carousel-btn svg {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------------- */
/* Expertise Section */
/* ------------------------------------------------------------------------- */

.expertise-section {
  /* background-color: #0b1839; Background color */
  width: 100%;
  background-color: var(--deepest-blue);
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
  overflow: hidden;
  /* padding-left: 5%; */
  /* padding-right: 5%; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.expertise-section h2 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1rem;
  font-family: var(--heading-font);
}

#fields{
  padding: 8rem 0 0 0;
}

.expertise-section .vision {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-style: italic;
  color: #b0855b;
}

.slide{
  position: relative;
  width: 100%;
  height: 40rem;
  /* border: 2px solid red; */
  padding: 0 0;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* gap: 1rem; */
  overflow: hidden;
}

.slide img{
  /* width: 45%; */
  height: 100%;
  transform: scale(2);
  background-size: cover;
  /* border: 2px solid green; */
  /* opacity: 0.3; */
}

#lens_img{
  transform: scale(1.35);
}

/* 
.left img{
  transform: translateX(-15%);
}

.right img{
  transform: translateX(15%);
} */

.details{
  margin-left: 15%;
  margin-right: 15%;
  height: 100%;
  min-width: 60%;
  padding: 0 2rem;
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: center; */
  /* align-items: center; */
  /* border: 2px solid blue; */
}

.details::after{
  content: '';
  position: absolute;
  top: 3%;
  left: 37%;
  width: 1rem;
  height: 1rem;
  transform: rotateZ(45deg);
  background-color: var(--brown);
}

.details::before{
  content: '';
  position: absolute;
  top: 3%;
  left: 28%;
  width: 10%;
  height: 2px;
  transform: translateY(7px);
  background-color: var(--brown);
}

.details h1{
  font-size: 4rem;
  text-align: left;
  text-transform: capitalize;
  font-family: Trajan, serif;
  /* font-weight: 100; */
}

.details p{
  color: grey;
  font-size: 1.25rem;
  text-align: justify;
  transform: translateX(200px);
  opacity: 0.1;
  transition: 0.75s ease-in-out;
}

.details p.visible{
  opacity: 1;
  transform: translateX(0);
}

.list_items{
  padding: 1rem;
  position: relative;
  transform: translateY(200px);
  opacity: 0.1;
  transition: 0.75s ease-in-out;
}

.list_items::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%) rotateZ(45deg);
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--brown);
}

.list_items.visible{
  opacity: 1;
  transform: translateY(0);
}

#stats{
  width: 100%;
  height: 20vh;
  /* background-color: red; */
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1em;
  font-size: 2em;
  font-family: 'Trajan', serif;
}

.stats-container{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.seperator{
  padding-right: .5em;
  border-right: 3px solid var(--brown);
}

/* ---------------------------------------------------------------------------------------------- */
/* Our Services */
/* ---------------------------------------------------------------------------------------------- */

#services_info{
  width: 100%;
  height: 80vh;
  border-radius: 10px;
  background-color: hsl(0, 0%, 95%);
  display: grid;
  grid-template-columns: 1fr 2fr;
  overflow: hidden;
}

#services1{
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: black;
  text-align: justify;
}

#services2{
  background: url('https://lawsaathi.in/static/Images/image.webp');
  background-repeat: no-repeat;
  object-fit: contain;
  background-position: center;
  background-size: cover;
}

/* #other_services{
  padding: 5rem 0;
} */

/*#cards-container{
  width: 100%;
  height: 40rem;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.card{
  width: 30%;
  height: 30rem;
  border-radius: 20px;
  color: white;
  overflow: hidden;
  background-color: rgba(128, 128, 128, 0.2);
  padding: 2rem;
  border: 2px solid transparent;
  transition: 0.75s;
}

.card:hover{
  border: 2px solid var(--brown)
}

.card img{
  width: 100%;
  border-radius: 20px;
}

.card h1{
  margin-top: 1rem;
  font-size: 2rem;
  text-align: left;
}

.card p{
  color: hsl(0, 0%, 80%);
  text-align: justify;
}

.up{
  opacity: 0.1;
  transform: translateY(500px);
}

.up.visible{
  opacity: 1;
  transform: translate(0);
}

.down{
  opacity: 0.1;
  transform: translateY(500px);
}

.down.visible{
  opacity: 1;
  transform: translate(0);
}*/

/* .left-slide{
  position: relative;
  width: 100%;
  height: 30rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  overflow: hidden; */
  /* height: 20rem; */
  /* padding: 2rem; */
  /* background-color: var(--light-blue); */
  /* border: 2px solid red; */
  /* background: url("http://127.0.0.1:8000/static/Images/Background-1.jpg");
  background-repeat: no-repeat;
  background-size: cover; */
  /* clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); */
/* } */

/* .left-slide img{
  width: 100%;
  background-size: cover;
  opacity: 0.3;
} */

/* .left-slide p{
  text-align: justify;
} */

/* .right-slide{
  width: 100%;
  height: 30rem;
  overflow: hidden;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem; */
  /* padding: 2rem; */
  /* background-color: var(--light-blue); */
  /* clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); */
/* } */

/* .right-slide img{
  width: 100%;
  background-size: cover;
  opacity: 0.3;
} */

/* .right-slide h1{
  border: 2px solid green;
  text-align: justify;
  padding: 0 10rem;
  color: var(--gold);
} */

/* .right-slide p{
  text-align: justify;
} */

/* .details{
  position: absolute;
  left: 0;
  display: flex;
  padding: 0 1rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem; */
  /* border: 2px solid green; */
  /* flex-direction: column; */
  /* border: 2px solid red; */
/* } */

/* .details h1{
  text-align: left;
  font-size: 8rem;
  color: white; */
  /* border: 2px solid red; */
  /* padding: 0 5rem; */
  /* width: 40%; */
/* } */

/* .details p{
  width: 60%;
  text-align: justify;
  font-size: 1.25rem;
  color: grey; */
  /* font-family: 'Trajan'; */
  /* border: 2px solid red; */
/* } */

/* .details img{
  width: 20%;
} */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 2rem;
  padding: 0 2rem; /* Adds gap from left and right */
}

.expertise-item {
  border-top: 1px solid #ffffff;
  padding-top: 1rem;
}

.expertise-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.expertise-item p {
  color: #b0855b;
}

.image-container {
  text-align: center;
  padding: 2rem 5%; /* Gap from left and right */
}

.image-container img {
  max-width: 90%; /* Increase max-width to make the image larger */
  height: 500px;
  width: 2000px;
  border-bottom: 5px solid #b0855b; /* Yellow line border */
}

/* .login-container {
  text-align: right;
  padding: 1rem 5%;
} */

/* #line{ */
  /* border: 2px solid red; */
  /* border-bottom: 5px solid white;
  overflow: hidden;
} */

/* #content{
  overflow: hidden;
} */

.image-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 0;
}

#delta{
  width: 100vw;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5rem;
  overflow: hidden;
  margin-top: 5rem;
}

#delta-img{
  background-image: url('https://c1e2d88d4814.ngrok-free.app/static/Images/Background-6.jpg');
  height: 80%;
  aspect-ratio: 1/1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}

#delta-content{
  width: 50%;
  height: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  overflow: hidden;
}

#delta-content>h1{
  width: 100%;
  text-align: left;
  /* font-weight: 100; */
  font-size: 4em;
}

#delta-content>p{
  width: 100%;
  font-size: 1.25em;
  color: grey;
  text-align: justify;
}

/* --------------------------------------------------------------------------------------------- */
/* Reviews */
/* --------------------------------------------------------------------------------------------- */

#reviews{
  width: 100%;
  min-height: 50vh;
  height: max-content;
  background-color: hsl(0, 0%, 98%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  gap: 2rem;
}

#reviews>img{
  width: 15%;
  border-radius: 100%;
}

#reviews>p{
  width: 50%;
  text-align: justify;
}

/*#testimonial{
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
  background-color: hsl(0, 0%, 90%);
}

#testimonial_img{
  width: 35%;
  height: 100%;
  position: relative;
  background-image: url('http://127.0.0.1:8000/static/Images/clients.webp');
  background-size: cover;
  background-position: 70% 0;
}

#testimonial_img::after{
  content: '';
  position: absolute;
  top: 25%;
  right: -40%;
  width: 1rem;
  height: 1rem;
  transform: rotateZ(45deg);
  background-color: var(--brown);
}

#testimonial_img::before{
  content: '';
  position: absolute;
  top: 25%;
  right: -40%;
  width: 40%;
  height: 2px;
  transform: translateY(7px);
  background-color: var(--brown);
}

#testimonial_content{
  width: 30%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  padding: calc(10% - 10px) 0;
  overflow: hidden;
}

#testimonial_heading{
  font-size: 3rem;
  text-transform: capitalize;
}

#testimonial_review{
  width: 300%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  transition: 0.3s linear;
}

#testimonial_carousel{
  width: 100%;
}

#testimonial_btns{
  width: 100%;
  height: 10%;
  padding: 2rem 0.25rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

#testimonial_btns button{
  width: .75rem;
  height: .75rem;
  transform: rotateZ(45deg);
  border: 2px solid var(--brown);
  cursor: pointer;
  transition: 0.2s;
}

#testimonial_btns button:hover{
  background-color: var(--brown);
}

.active_testimonial{
  background-color: var(--brown);
}*/

/* Blog Section */
.blog-section {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
}

.blog-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: Trajan, serif;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.blog-grid a{
  color: black;
  text-decoration: none;
}

.blog-card {
  /* background: #fff; */
  /* border-radius: 20px; */
  overflow: hidden;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-content {
  padding: 20px;
}

.blog-card-content h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.blog-card-content p {
  color: #555;
  line-height: 1.6;
}

.blog-card:hover {
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

@media(min-width: 2000px){
  #testimonial{
    height: 60vh;
  }
}

@media(max-width: 500px) {
  .blog-section h2 {
    font-size: 2rem;
  }
}


/* .testimonial-section {
  display: flex;
  justify-content: space-between;
  background-color: #1c2631;
  color: white;
  padding: 50px;
}

.testimonial-content {
  max-width: 50%;
  padding-right: 20px;
}

.testimonial-content h4 {
  color: #d19c5b;
  font-size: 1rem;
  margin-bottom: 10px;
}

.testimonial-content h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: bold;
} */

/* @import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap"); */

/* .testimonial-content p {
  font-size: 1.125rem;
  line-height: 1.6;
}

.testimonial-author {
  margin-top: 20px;
  font-weight: bold;
}

.testimonial-author span {
  display: block;
  font-weight: normal;
  font-size: 0.875rem;
}

.testimonial-indicators {
  margin-top: 20px;
}

.testimonial-indicators .indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #d19c5b;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
}

.testimonial-indicators .indicator.active {
  background-color: #fff;
}

.testimonial-image {
  max-width: 50%;
}

.testimonial-image img {
  width: 100%;
  height: 400px;
} */

.inquiry-section {
  text-align: center;
  padding: 50px;
  background-color: #f8f8f8; /* Light background color */
  /* font-family: "Montserrat", "Georgia", serif; */
}

.inquiry-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.inquiry-section p {
  font-size: 1.125rem;
  color: #d19c5b; /* Gold color for the subtitle */
  margin-bottom: 0;
}

.inquiry-section {
  text-align: center;
  padding: 50px;
  background-color: #f8f8f8; /* Light background color */
  /* font-family: "Montserrat", "Georgia", serif; */
}

.inquiry-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.inquiry-section p {
  font-size: 1.125rem;
  color: #d19c5b; /* Gold color for the subtitle */
  margin-bottom: 30px;
}

.inquiry-section form {
  max-width: 600px;
  margin: 0 auto;
}

.inquiry-section .form-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.inquiry-section .form-group input,
.inquiry-section .form-group textarea {
  width: 48%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #d19c5b; /* Matching the gold color */
  border-radius: 5px;
}

.inquiry-section .form-group textarea {
  width: 100%; /* Textarea takes full width */
}

.inquiry-section button {
  background-color: #fff;
  color: #333;
  border: 2px solid #333;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.inquiry-section button:hover {
  background-color: #333;
  color: #fff;
}

.footer-section {
  background-color: #1c2631; /* Dark blue background */
  color: #ffffff; /* White text color */
  padding: 50px 0;
  /* font-family: "Montserrat", "Arial", sans-serif; Adjust as needed */
}

.footer-top {
  display: flex;
  justify-content: space-around;
  padding-bottom: 30px;
  border-bottom: 1px solid #ffffff; /* White border */
}

.footer-column {
  width: 22%;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.footer-column p,
.footer-column ul {
  margin-bottom: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-column a{
  text-decoration: none;
  color: white;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-middle {
  text-align: center;
  margin: 30px 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #b8c2cc; /* Lighter text color for the bottom section */
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .social-icons a {
  margin-right: 10px;
  color: white;
}

.social-icons{
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 1rem;
}

.footer-bottom .social-icons img {
  width: 20px;
  height: 20px;
}

/* .social-icons img{
  transform: scale(2.5);
} */

.fa-brands{
  transform: scale(2);
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes buttonSlide {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.important-answer-section {
  padding: 50px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.important-answer-section h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.important-answer-section .subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  /* border-bottom: 1px solid #e0e0e0; */
  border-bottom: 1px solid var(--brown);
}

.accordion-header {
  font-size: 1.2rem;
  padding: 15px;
  /* background-color: #fff; */
  border-top: 1px solid var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: "\25BC";
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.accordion-header.active::after {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 15px 0;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}


@media (max-width: 768px) {
  .carousel {
    height: 500px;
  }

  .carousel-content {
    left: 3%;
    max-width: 70%;
  }

  .carousel-content h2 {
    font-size: 3rem;
  }

  .carousel-content .tagline {
    font-size: 1.2rem;
  }

  .carousel-content .description {
    font-size: 0.9rem;
  }

  .video-container {
    width: 95%;
  }

   .video-wrapper {
    padding-bottom: 56.25%; /* Keep 16:9 ratio */
  }

  .expertise-grid {
    grid-template-columns: 1fr; /* 1 column for smaller screens */
  }

  .promotion-container {
    flex-direction: column;
    text-align: center;
  }

  .promotion-button {
    margin-right: 0;
    margin-top: 1rem;
  }

  .login-container {
    text-align: center; /* Center the button on smaller screens */
    padding-top: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel {
    height: 100vh;
  }

  /* .carousel-item img{
    width: 100%;
    object-position: center;
  } */

  .carousel-item{
    background-size: cover;
    background-position: 25%;
  }

  .carousel-content {
    top: 45%;
    left: 50%;
    max-width: 90%;
    background-color: transparent;
  }

  .carousel-content h2 {
    font-size: 3rem;
  }

  .carousel-content .tagline {
    font-size: 1rem;
  }

  .carousel-content .description {
    font-size: 1rem;
  }

  .promotion-button{
    width: 100%;
    left: 50%;
    top: 75%;
    /* bottom: 10%; */
    /* margin-left: -3%; */
    flex-direction: column;
    gap: 2rem;
  }

  .login-button{
    padding: 0.5rem 5.5rem;
  }

  .promotion-container {
    padding: 2rem 5%;
  }
  
  #playstore{
    padding: .75rem 10rem;
    background-size: 50%;
  }

  .promotion-text{
    width: 100%;
  }

  .promotion-text p {
    font-size: 1rem;
    width: 100%;
    text-align: justify;
  }

  .promotion-text h3{
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 2px;
  }

  .video-section{
    min-height: 10vh;
  }

  .video-wrapper{
    height: 100%;
    /* aspect-ratio: 9/16; */
  }

  #cards-carousel{
    padding: 4rem 1.5rem;
  }
 
  .card-carousel{
    padding: 0;
  }
 
  .card-carousel-content{
    margin-left: 0;
  }
 
  .card-carousel.track{
    width: 100%;
    gap: 0;
  }
 
  .card-carousel-item{
    flex: 0 0 80%;
  }
 
  .card-carousel-item-inner {
    width: 100%;
  }
 
  .card-carousel-btn{
    top: 105%;
  }
 
  .carousel-card{
    height: 75vh;
  }

  .expertise-section{
    padding: 1rem;
  }

  .expertise-section h2{
    font-size: 3rem;
  }

  #fields{
    padding: 2rem 0 0 0;
  }

  .slide{
    flex-direction: column;
    height: 100%;
  }

  .slide img{
    width: 100%;
    transform: scale(1);
    margin: -50% 0 -20% 0;
  }

  /* .left img{
    transform: translateX(0%);
  }

  .right{
    flex-direction: column-reverse;
  }

  .right img{
    transform: translateX(0%);
  } */

  #lens_img{
    margin: -25% 0 10% 0;
    transform: scale(1);
  }

  .details{
    width: 100vw;
    flex-direction: column;
    gap: 1rem;
  }

  .details::before, .details::after{
    display: none;
  }
  
  .details h1{
    text-align: center;
    font-size: 3rem;
  }

  .details p{
    font-size: 1.2rem;
  }

  #stats{
    height: 100%;
    flex-direction: column;
    margin: 0rem 0 1rem 0;
  }

  #other_services{
    padding: 2rem 0;
  }

  #services_info{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr;
  }

  #cards-container{
    flex-direction: column;
    height: 100%;
    gap: 1rem;
  }

  .card{
    width: 100%;
    height: 100%;
  }

  .card img{
    width: 100%;
  }

  #card2{
    transform: translateY(0);
  }

  #delta{
    /* padding: 1rem; */
    height: fit-content;
    flex-direction: column;
    /* background-color: green; */
  }

  #delta-img{
    width: 100%;
    aspect-ratio: 1/1;
  }

  #delta-content{
    font-size: 12px;
    width: 100%;
  }

  .accordion {
    padding: 0 1rem;
  }

  .accordion-header {
    font-size: 0.85rem;
  }

  .accordion-content {
    text-align: justify;
    font-size: 0.75rem;
  }

  #reviews>img{
    width: 50%;
  }

  #reviews>p{
    width: 100%;
  }

  #testimonial{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  #testimonial_img{
    height: 35%;
    width: 100%;
  }

  #testimonial_img::after, #testimonial_img::before{
    display: none;
  }

  #testimonial_content{
    height: 65%;
    width: 100%;
    left: 0;
    top:35%;
    padding: calc(10% - 10px) 1rem;
  }

  #testimonial_heading{
    font-size: 2rem;
  }

  #testimonial_review{
    gap: 3rem;
  }

  #testimonial_btns{
    justify-content: center;
  }

  /* .testimonial-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .testimonial-content {
    max-width: 100%;
  }

  .testimonial-content h2 {
    margin-bottom: 0px;
  }

  .testimonial-content p {
    margin-top: 1rem;
  }

  .testimonial-indicators {
    text-align: center;
  }

  .testimonial-image img {
    height: 50%;
    margin-top: 5rem;
    transform: scale(2);
  } */

  .footer-section {
    padding: 50px 1rem;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
  .social-icons{
    width: 100%;
    margin-top: 1rem;
  }
  .fa-brands{
    transform: scale(2);
  }
}
/* Mobile */
/* @media (width < 480px) {
  .navbar {
    display: block;
  }

  .nav-content{ */
    /* display: none; */
    /* height: 0;
    overflow: hidden;
    transition: 0.3s linear;
  }

  .nav-content.open{
    height: 100%;
  }

  .logo-section {
    width: 100%; */
    /* height: 50%; */
    /* justify-content: space-between;
    padding: 0 1rem;
  }

  .logo-section img { */
    /* transform: scale(1.5); */
    /* width: 20%;
    border-radius: 100%;
  }

  .hamburger {
    display: block;
    transform: scale(2);
  }

  .contact-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .lower-nav {
    flex-direction: column;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .awards-section {
    flex-direction: column;
  }

  .award-icon {
    border-radius: 100%;
  }

  .free-consultation {
    height: 10%;
  }
} */
