@font-face {
  font-family: "Kohinoor-Bangla";
  src: url("../fonts/Kohinoor_Bangla/KohinoorBangla-Regular.otf")
    format("truetype");
  font-display: swap; /* Add this for better performance */
  font-weight: 100;
}
@font-face {
  font-family: "Kohinoor-Bangla-Bold";
  src: url("../fonts/Kohinoor_Bangla/KohinoorBangla-Bold.otf")
    format("truetype");
  font-display: swap; /* Add this for better performance */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --section-heading-color: #434343;

  --hero-font-size: 5rem;
  --hero-font-weight: 100;
  --hero-line-height: 0.8;
  --hero-font-color: white;
  --hero-letter-spacing: -3px;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kohinoor-Bangla";
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgb(255, 111, 24);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  cursor: grabbing;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgb(255, 111, 24) transparent;
}

.bg-change {
  background-color: #111;
}

.services-hero-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: relative;
}

.services-hero-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  width: 97%;
  height: 93%;
  z-index: 2;
}

.services-hero-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  z-index: 1;
  background-color: #232642;
  /* background-color: rgba(41, 54, 80, 0.623); */
  /* backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
}

/* Hero Section */
.services-hero-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 150px;
  width: 70%;
}
.services-hero-overlay h1 {
  margin-top: 100px;
  margin-bottom: 30px;
  text-align: center;
  font-size: var(--hero-font-size);
  line-height: var(--hero-line-height);
  letter-spacing: var(--hero-letter-spacing);
  font-weight: var(--hero-font-weight);
  color: var(--hero-font-color);
}
.services-hero-overlay p {
  font-size: 1.1rem;
  line-height: 1.2;
  width: 80%;
  margin: 0 auto 40px;
  color: white;
}

/* UAE Highlight */
.clear {
  position: relative;
  color: white;
  display: inline-block;
  z-index: 1;
  padding: 5px 10px;
}
.clear::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -5px;
  width: 100%;
  height: 130%;
  border: 5px solid rgba(255, 111, 24);
  transform: rotate(-2deg);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

/* Footer Links */
.services-hero_list_items {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  z-index: 3;
  /* border: 1px solid blue;  */
}

.services-hero_list_items ul {
  position: relative;
  bottom: 40px;
  left: 58px;
  list-style-type: none;
  line-height: 18px;
  padding: 30px;
  /* border: 1px solid rgba(0, 0, 0, 0.2); */
  background: rgba(51, 51, 75, 0.808);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
}
.services-hero_list_items ul li a {
  text-decoration: none;
  color: #999999;
  font-size: 0.9rem;
  position: relative;
}

.services-hero_list_items ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  background-color: #999999;
  z-index: 1;
  width: 0;
}

.services-hero_list_items ul li a:hover::after {
  width: 100%;
}

.ceo-msg {
  width: 400px;
  height: 200px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  z-index: 1000;
  right: 30px;
  bottom: 70px;
  padding: 10px;

  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

.ceo-msg.is-visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  to {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
  }
}

.ceo-msg.is-hiding {
  animation: fadeOutDown 0.5s ease-in forwards;
}

.cross-button {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cross-button button {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cross-button i {
  font-size: 16px;
  color: #888;
  transition: transform 0.5s ease;
}

.cross-button i:hover {
  transform: rotate(360deg);
}

.video {
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .ceo-msg {
    width: 90%;
    height: 200px;
    right: 5%;
    bottom: 20px;
    left: 5%;
  }
}

/* ============================= GLOBAL STYLING ====================== */
.first-main-section,
.second-main-section,
.third-main-section,
.fourth-main-section,
.fifth-main-section,
.sixth-main-section,
.seventh-main-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  min-height: 190vh;
  position: relative;
  z-index: 1;
}

.serv-content-wrapper {
  width: 97%;
  height: 93vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  overflow: hidden;
}

.animated-ball-1 {
  position: absolute;
  width: 900px;
  height: 850px;
  background: radial-gradient(circle at center, #2d4fa7, #181818 70%);
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(50px);
  pointer-events: none;
  /* animation: randomMove 20s ease-in-out infinite; */
  animation: none !important;
  transition: transform 0.1s ease-out;
  z-index: -1;
}
 
.animated-ball-2 {
  position: absolute;
  width: 900px;
  height: 850px;
  background: radial-gradient(circle at center, #cecece, #2a3761 70%);
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(50px);
  pointer-events: none;
  /* animation: randomMove 20s ease-in-out infinite; */
  animation: none !important;
  transition: transform 0.1s ease-out;
  z-index: -1;
}
.content {
  color: #dadada;
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 95%;
}

.first-section-cards,
.second-section-cards,
.third-section-cards,
.fourth-section-cards,
.fifth-section-cards,
.sixth-section-cards,
.seventh-section-cards {
  position: sticky;
  top: 20px;
  z-index: calc(10 - var(--i));
  margin-top: calc(var(--i) * -60px);
  transform-origin: top;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@keyframes animatedGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ============================ FIRST BODY STYLING ======================= */
.first-body-wrapper {
  background-color: black;
  background-repeat: no-repeat;
  background-position: top 20px right 20px;
  background-size: 500px auto;
}

.row-1 {
  display: flex;
  justify-content: space-between;
  /* border: 1px solid red; */
  margin-top: 50px;
}

.left-container {
  /* border: 1px solid blue; */
  width: 50%;
}

.left-container h2 {
  margin-top: 10px;
  font-size: 2.8rem;
  font-family: "Kohinoor-Bangla-Bold";
  letter-spacing: -3px;
  line-height: 0.9;
}

.left-container p {
  margin-top: 20px;
  font-family: "Kohinoor-Bangla";
  font-size: 1.2rem;
  letter-spacing: -1px;
  line-height: 19px;
}

.image-container {
  display: flex;
  /* border: 1px solid blue; */
  justify-content: flex-end;
  position: relative;
  width: 50%;
}
.image-container .main-img {
  width: 45%;
}

.decor-img {
  max-width: 220px;
  position: absolute;
  z-index: 999;
  bottom: -70px;
  right: 0;
  /* --- AWARDS WEBSITE ANIMATION ADDED BELOW --- */
  animation: subtlePulse 3s infinite alternate ease-in-out; /* Added ease-in-out for smoother pulse */
}

/* --- KEYFRAMES FOR THE ANIMATION --- */
@keyframes subtlePulse {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0px); /* Start at original scale and position */
    filter: brightness(1);
  }
  50% {
    opacity: 1; /* Slightly less opaque */
    transform: scale(1.02) translateY(-20px); /* Scale up slightly and lift */
    filter: brightness(1.1); /* Brighter */
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0px); /* Return to original scale and position */
    filter: brightness(1);
  }
}

.row-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 2px;
  margin-top: 50px;
}
.row-2 img {
  max-width: 350px;
}

.left-foot-container {
  line-height: 1;
}

.left-foot-container span {
  display: inline-block;
  position: relative;
}

.left-foot-container span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-color: #ec5623;
}

/* ======================================== second section ============================= */

.second-body-wrapper {
  position: sticky;
  overflow: hidden; /* Prevent the background from overflowing */
  background-color: #343434;
}

.second-body-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../images/services/first_two_cards_second_back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 0;
}

/* Make sure the content stays above the background */
.second-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

.hover-content {
  position: relative;
  /* border: 1px solid red; */
  height: 100%;
}

.hover-content h2 {
  margin-top: 100px;
  font-size: 2.8rem;
  letter-spacing: -4px;
  font-weight: 100;
}

.hover-content p {
  margin-top: 20px;
  font-family: "Kohinoor-Bangla";
  font-size: 1.2rem;
  letter-spacing: -1px;
  line-height: 19px;
}

.second-sec-decor-img {
  width: 220px;
  height: 140px;
}

.img-top {
  position: absolute;
  z-index: 999;
  right: 0;
  top: 0;
  opacity: 0.6; /* --- AWARDS WEBSITE ANIMATION ADDED BELOW --- */
  animation: subtlePulse 3s infinite alternate ease-in-out; /* Added ease-in-out for smoother pulse */
}

/* --- KEYFRAMES FOR THE ANIMATION --- */
@keyframes subtlePulse {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0px); /* Start at original scale and position */
    filter: brightness(1);
  }
  50% {
    opacity: 1; /* Slightly less opaque */
    transform: scale(1.02) translateY(-20px); /* Scale up slightly and lift */
    filter: brightness(1.1); /* Brighter */
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0px); /* Return to original scale and position */
    filter: brightness(1);
  }
}
.img-bot {
  position: absolute;
  z-index: 999;
  right: 0;
  bottom: 0;
  opacity: 0.2; /* --- AWARDS WEBSITE ANIMATION ADDED BELOW --- */
  animation: subtlePulse 3s infinite alternate ease-in-out; /* Added ease-in-out for smoother pulse */
}

/* --- KEYFRAMES FOR THE ANIMATION --- */
@keyframes subtlePulse {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0px); /* Start at original scale and position */
    filter: brightness(1);
  }
  50% {
    opacity: 1; /* Slightly less opaque */
    transform: scale(1.02) translateY(-20px); /* Scale up slightly and lift */
    filter: brightness(1.1); /* Brighter */
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0px); /* Return to original scale and position */
    filter: brightness(1);
  }
}

/* --- UL Styles --- */
.hover-content ul {
  margin-top: 30px;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  padding-left: 0;
}

/* --- LI Styling --- */
.hover-content ul li {
  font-size: 1.5rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* --- Underline Animation using ::after --- */
.hover-text {
  position: relative;
  font-style: normal;
  transition: font-style 0.3s ease;
}

.hover-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 4px;
  background-color: #ec5623;
}

/* --- Hover Effects --- */
.hover-content ul li:hover .hover-text {
  font-style: italic;
  font-weight: bold;
}

.hover-content ul li:hover .hover-text::after {
  width: 100%;
}

.li-hover-info {
  font-size: 1rem;
  letter-spacing: normal;
  position: absolute;
  left: calc(120% + 200px);
  top: 200%;
  transform: translateY(-50%);
  z-index: 10;
  width: 250px;
  min-width: 450px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-top: 0;
  padding: 0 15px;
  background-color: #424856;
  border: 2px solid #ec5623;
  border-radius: 25px;
  text-align: left;
  box-sizing: border-box;
  padding: 15px;
  color: #ccc;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.hover-content ul li:hover .li-hover-info {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .li-hover-info {
    position: static;
    transform: none;
    width: auto;
    max-width: 100%;
    margin-top: 15px;
    left: 0;
    top: auto;
    padding: 0 15px;
    box-shadow: none;
    pointer-events: auto;
    transition: max-height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.7s ease-out;
  }

  .hover-content ul li:hover .li-hover-info {
    max-height: 200px;
    opacity: 1;
    padding: 15px;
    transform: none;
  }
}

/* ================================= THIRD BODY STYLE ============================== */

.third-body-wrapper {
  background-color: #374569;
  overflow: hidden;
}

.third-body-wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 500px;
  height: 500px;
  background-repeat: no-repeat;
  background-size: contain;
  mix-blend-mode: darken;
  z-index: 0;
  pointer-events: none;
}

.third-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

.third-body-wrapper h3 {
  font-family: "Kohinoor-Bangla-Bold";
  font-size: 2.8rem;
  font-style: italic;
  font-weight: 100;
  letter-spacing: -3px;
  line-height: 0.9;
}

/* =============================== Fourth body wrapper =========================== */
.fourth-body-wrapper {
  position: sticky;
  overflow: hidden;
  background-color: #374569;
}

.fourth-body-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../images/services/second_two_cards_second_back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 0;
}

/* Make sure the content stays above the background */
.fourth-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

.heading-para {
  width: 39%;
}

/* ======================= fifth body ============================ */
.fifth-body-wrapper {
  background-color: black;
  background-repeat: no-repeat;
  background-position: top 20px right 20px;
  background-size: 500px auto;
}

.point {
  position: relative;
  padding-left: 20px;
  display: inline-block;
}

.point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 5px;
  background-color: #ec5623; /* Orange line */
}

/* ========================= sixth body style ======================= */
.sixth-body-wrapper {
  position: sticky;
  overflow: hidden; /* Prevent the background from overflowing */
  background-color: #343434;
}

.sixth-body-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../images/services/third_two_cards_second_back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 0;
}

/* Make sure the content stays above the background */
.sixth-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

/* ================================= SEVENTH BODY STYLE ============================== */

.seventh-body-wrapper {
  background-color: #374569;
  overflow: hidden;
}

.seventh-body-wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 500px;
  height: 500px;
  background-repeat: no-repeat;
  background-size: contain;
  mix-blend-mode: darken;
  z-index: 0;
  pointer-events: none;
}

.seventh-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

.hover-div-links li{
  line-height: 1.2;
}

/* =============================== EIGHTH body wrapper =========================== */
.eighth-body-wrapper {
  position: sticky;
  overflow: hidden;
  background-color: #374569;
}

.eighth-body-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../images/services/fourth_two_cards_second_back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 0;
}

/* Make sure the content stays above the background */
.eighth-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

/* ======================= fifth body ============================ */
.ninth-body-wrapper {
  background-color: black;
  background-repeat: no-repeat;
  background-position: top 20px right 20px;
  background-size: 500px auto;
}

/* ========================= sixth body style ======================= */
.tenth-body-wrapper {
  position: sticky;
  overflow: hidden; /* Prevent the background from overflowing */
  background-color: #343434;
}

.tenth-body-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../images/services/fifth_two_cards_second_back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 0;
}

/* Make sure the content stays above the background */
.tenth-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

/* ================================= SEVENTH BODY STYLE ============================== */

.eleventh-body-wrapper {
  background-color: #374569;
  overflow: hidden;
}

.eleventh-body-wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 500px;
  height: 500px;
  background-repeat: no-repeat;
  background-size: contain;
  mix-blend-mode: darken;
  z-index: 0;
  pointer-events: none;
}

.eleventh-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

/* =============================== EIGHTH body wrapper =========================== */
.twelfth-body-wrapper {
  position: sticky;
  overflow: hidden;
  background-color: #374569;
}

.twelfth-body-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../images/services/sixth_two_cards_second_back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 0;
}

.twelfth-body-wrapper > .content {
  position: relative;
  z-index: 1;
}

/* ====================== MEDIA QUERIES ===================== */

/* Responsive adjustments for main layout sections */
@media screen and (max-width: 1500px) {
  .services-hero-overlay h1 {
    font-size: 4rem;
  }

  .image-container .main-img {
    width: 60%;
  }

  .image-container .decor-img {
    width: 30%;
  }

  .decor-img {
    max-width: 180px;
    bottom: -50px;
    right: 40px;
  }

  .hover-content h2 {
    font-size: 2.2rem;
    letter-spacing: 0px;
  }

  .li-hover-info {
    left: calc(100% + 150px); /* Adjust position for smaller screens */
    min-width: 350px;
  }
}

@media screen and (max-width: 1366px) {
  .services-hero-overlay {
    margin-top: 5%;
  }
  .row-1 {
    margin-top: 0px;
  }

  .left-container h2 {
    font-size: 1.7rem;
    letter-spacing: normal;
  }

  .hover-content p {
    font-size: 1rem;
    letter-spacing: normal;
    line-height: 1;
    font-weight: 100;
  }

  .left-container p {
    margin-top: 10px;
    font-weight: 100;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: normal;
  }

  .image-container {
    width: 50%;
  }
  .image-container .main-img {
    width: 54%;
  }
  .first-main-section,
  .second-main-section,
  .third-main-section,
  .fourth-main-section,
  .fifth-main-section,
  .sixth-main-section,
  .seventh-main-section {
    min-height: 100vh;
  }
  .row-2 {
    margin-top: 30px;
  }
  .third-body-wrapper h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 1024px) {
  .services-hero-overlay h1 {
    font-size: 3rem;
  }

  .services-hero-overlay p {
    font-size: 0.95rem;
    max-width: 600px;
  }

  .services-hero_list_items ul {
    left: 30px;
    bottom: 20px;
    padding: 25px 15px;
  }

  .services-hero_list_items ul li a {
    font-size: 0.85rem;
  }

  .first-main-section,
  .second-main-section,
  .third-main-section,
  .fourth-main-section,
  .fifth-main-section {
    min-height: 180vh; /* Adjust minimum height for main sections */
  }

  .serv-content-wrapper {
    height: auto; /* Allow height to adjust based on content */
    min-height: 80vh; /* Ensure a minimum height for visibility */
    width: 95%;
  }

  .row-1 {
    margin-top: 0;
  }

  .left-container {
    width: 100% !important; /* Take more width on smaller screens */
    margin-bottom: 30px;
  }

  .left-container h2 {
    margin-top: 0;
    font-size: 2rem;
    letter-spacing: normal;
  }

  .left-container p {
    font-size: 1rem;
    letter-spacing: normal;
    line-height: 0.9;
    font-weight: 100;
  }

  .image-container {
    display: none;
  }

  .row-2 {
    margin-top: 30px;
  }

  .hover-content h2 {
    margin-top: 50px;
    font-size: 2rem;
  }

  .second-sec-decor-img {
    width: 180px;
    height: auto;
  }

  .img-top,
  .img-bot {
    right: 5%;
  }

  .hover-content ul {
    margin-top: 30px;
  }

  .li-hover-info {
    display: none;
  }

  .hover-content ul li:hover .li-hover-info {
    opacity: 1;
    transform: none;
  }

  .third-body-wrapper h3 {
    font-size: 2rem;
  }

  .point {
    display: block; /* Make points stack vertically */
    padding-left: 0;
  }

  .point::before {
    display: none; /* Hide the orange line for stacked points */
  }

  .court-images {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .court-images img {
    max-width: 80%; /* Adjust image size */
    height: auto;
  }
  .court-images .img-1 {
    max-width: 60px;
  }
  .court-images .img-2 {
    max-width: 140px;
  }
}

@media screen and (max-width: 768px) {
  .services-hero-overlay h1 {
    font-size: 2.5rem;
    margin-top: 100px;
  }

  .services-hero-overlay p {
    font-size: 0.85rem;
    padding: 0 15px;
  }

  .services-hero_list_items ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 20px;
    left: 20px;
    bottom: 50px;
    line-height: 10px;
  }

  .services-hero_list_items ul li {
    margin-bottom: 5px; /* Add space between list items */
  }

  .clear::before {
    top: -5px;
    left: -2px;
    border: 2px solid rgba(255, 111, 24);
    height: 120%;
  }

  .first-main-section,
  .second-main-section,
  .third-main-section,
  .fourth-main-section,
  .fifth-main-section {
    min-height: 175vh; /* Further reduce min-height */
  }

  .content {
    width: 95%; /* More content width */
  }

  .row-1 {
    flex-direction: column;
  }

  .left-container {
    width: 100%;
    padding: 0 10px;
  }

  .left-container h2 {
    font-size: 1.8rem;
  }

  .left-container p {
    font-size: 0.9rem;
    line-height: 1;
    letter-spacing: normal;
  }

  .image-container {
    width: 50%;
    justify-content: center;
  }

  .decor-img {
    max-width: 120px;
    bottom: -20px;
    right: 5%;
  }

  .row-2 {
    margin-top: 30px;
    font-size: 0.8rem;
  }

  .left-foot-container {
    line-height: 1.2;
  }

  .hover-content h2 {
    font-size: 1.8rem;
    margin-top: 30px;
  }

  .hover-content p {
    font-size: 0.8rem;
  }

  .second-sec-decor-img {
    width: 120px;
  }

  .img-top,
  .img-bot {
    right: 2%;
  }

  .hover-content ul {
    margin-top: 30px;
  }

  .hover-content ul li {
    font-size: 1.2rem;
  }

  .li-hover-info {
    /* font-size: 0.9rem;
    padding: 10px;
    border-radius: 15px; */
    display: none;
  }

  .third-body-wrapper h3 {
    font-size: 1.8rem;
  }

  .heading-para {
    width: 100%; /* Occupy full width */
    padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .services-hero-overlay{
    width: 100%;
  }
  .services-hero-overlay h1 {
    font-size: 2rem;
    margin-top: 100px;
  }

  .services-hero-overlay p {
    font-size: 1rem;
    padding: 0 10px;
    margin-bottom: 20px;
    margin: 0 0 20px 0;
    width: 100%;
  }

  .services-hero_list_items ul {
    left: 10px;
    bottom: 100px;
    padding: 20px 20px;
  }

  .services-hero_list_items ul li a {
    font-size: 0.75rem;
  }

  .clear::before {
    top: -3px;
    left: -1px;
    border: 1px solid rgba(255, 111, 24);
    height: 110%;
  }

  .first-main-section,
  .second-main-section,
  .third-main-section,
  .fourth-main-section,
  .fifth-main-section {
    min-height: 125vh; /* Minimum height for very small screens */
  }

  .serv-content-wrapper {
    width: 98%;
    min-height: 60vh;
  }

  .left-container {
    width: 100% !important;
  }

  .left-container h2 {
    margin-top: -30px;
    font-size: 1.5rem;
    letter-spacing: -1px;
  }
  .sect-1-h {
    margin-top: 20px !important;
  }

  .left-container p {
    font-size: 0.75rem;
    line-height: 1;
  }

  .image-container {
    width: 100%;
    margin-top: 15px;
  }

  .image-container img {
    max-width: 300px;
  }

  .decor-img {
    max-width: 100px;
    bottom: -15px;
    right: 2%;
  }

  .row-2 {
    margin-top: 20px;
    font-size: 0.7rem;
  }

  .hover-content h2 {
    font-size: 1.5rem;
    margin-top: 20px;
  }

  .hover-content p {
    font-size: 0.75rem;
  }

  .second-sec-decor-img {
    width: 90px;
  }

  .img-top,
  .img-bot {
    right: 0%;
  }

  .hover-content ul {
    margin-top: 20px;
  }

  .hover-content ul li {
    font-size: 1rem;
  }

  .li-hover-info {
    font-size: 0.8rem;
    padding: 8px;
  }

  .third-body-wrapper h3 {
    font-size: 1.5rem;
    letter-spacing: 0px;
  }

  .court-images img {
    max-width: 90%;
  }
  .row-2 img {
    display: none;
  }
  .heading-para{
    padding: 0;
  }
  .hover-content h2{
    letter-spacing: 0px;
  }
  .left-container{
    margin-bottom: 0px;
  }

  .left-side-padding {
    padding: 0;
  }
  .points-para {
    line-height: 0.9 !important;
  }
  .img-top,
  .img-bot {
    display: none;
  }
  .left-container {
    padding: 0;
  }
}

.about-hero-btn {
  width: 100%;
  margin-top: 50px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.about-hero-btn button {
  background: white;
  color: black;
  width: 200px;
  height: 55px;
  font-size: 1.2rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: 0.3s ease;
  letter-spacing: -1px;
}
.about-hero-btn button:hover {
  background-color: #dadada;
}


/* Responsive smaller screens <= 480px */
@media screen and (max-width: 480px) {
  .about-hero-btn {
    margin-top: 30px;
  }
  .about-hero-btn button {
    width: 150px;
    height: 42px;
    font-size: 1rem;
    border-radius: 40px;
    padding: 6px 12px;
  }
}


body.rtl .decor-img {
  right: auto;
  left: 0;
}

body.rtl .second-sec-decor-img{
  right: auto;
  left: 0;
}
body.rtl .li-hover-info{
  left: auto;
  right: calc(120% + 200px);
}

body.rtl .point::before {
  left: auto;
  right: -1rem;
}



@media (min-width: 1500px) {
  section {
    width: 100vw;
    height: 100vh;
  }
}

@media screen and (max-width: 1450px) {
  .image-container {
    width: 40%;
    height: 90%;
  }
  .main-img {
    width: 100%;
  }
  .row-1 {
    justify-content: center;
    align-items: center;
  }
  .left-container {
    width: 60%;
  }
  .li-hover-info {
    width: 450px;
    line-height: 1;
  }
  .hover-content h2{
    margin-top: 1rem;
  }
  .sixth-main-section {
    padding-bottom: 1rem;
  }

}