
/* CTA Section Styles */
.cta-section {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Video */
.cta-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark Overlay for Readability */
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 28, 104, 0.4);
}

/* Content Styling */
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 20px;
}

.cta-content h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #ffcc00;
  color: #0D1C68;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.cta-btn:hover {
  background: #e6b800;
}

/* Responsive Styles */
@media (max-width: 768px) {
  
}



.scroll-container{
  -webkit-mask-image: linear-gradient(to right, var(--dark-blue), var(--primary-blue), var(--primary-blue));
  
  overflow-x: auto;
  overscroll-behavior-x: contain;
  display: flex;
  gap: 2rem;
  align-items: start;
  padding: 2rem .2rem;
}

.scroll-container > div{
  text-decoration: none;
  aspect-ratio: 5.6/2;
  border-radius: 2%;
  box-shadow:  0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
}

.scroll-container > div {
  padding: 2rem;
  block-size: 8rem;
}

.scroll-container p {
 text-decoration: none !important;
  margin-bottom: 0;
}

@keyframes scrolling {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(20px);
  }
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  color: var(--white);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.hero-inner {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  clip: rect(0, auto, auto, 0);

  @supports (-webkit-overflow-scrolling: touch) {
      clip: unset;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
}

.hero:nth-child(2) .hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.hero:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 28, 104, 0.4); /* Semi-transparent blue */
  z-index: -1;
}

.hero:nth-child(2) .hero-inner {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  clip: rect(0, auto, auto, 0);

  @supports (-webkit-overflow-scrolling: touch) {
      clip: unset;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
}

.hero:nth-child(2) .hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  color: white;
  text-align: center;
  z-index: 1; /* Ensures text stays above the overlay */
}
.hero:nth-child(3) {
  background-color: var(--dark-blue);
}
.hero:nth-child(3) h2, .hero:nth-child(4) h2, .service h1 {
  font-weight: 800;
  text-decoration: underline solid 2px;
  padding-bottom: 1rem;
}

.hero:nth-child(4) {
  background: var(--darker-blue);
  background-attachment: fixed;
  background-image: url(./assets/website-images/why-choose-us.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  color: white;
  z-index: 1; /* Ensures text stays above the video */
}

.hero-title-2 {
  display: flex;
  align-items: start;
  justify-content: start;
  position: fixed;
  top: 0;
  left: 0;
  padding: 6rem 0 0;
  width: 100%;
  height: 100vh;
}
.why-choose-container {
  color: var(--white) !important;
  width: 80%;
  margin-top: 2rem;
}

.why-choose-container p {
  font-size: 16px !important;
}

.why-choose-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.sub-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.why-choose-container {
  width: 100%;
  margin: auto;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.why-choose-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: .6rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.why-choose-title {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  margin-bottom: 10px;
}


.why-choose-title h6 {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.why-choose-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}


.service-wrapper {
  display: flex;
  align-items: center;
  margin: 6rem;
  max-width: 200rem;

  &.banner {
    min-height: 100vh;
  }

  & > * {
    width: 100%;
  }


  .flex-row {
    display: flex;
    text-align: left;

    &.align_right {
      justify-content: flex-end;
      text-align: right;
    }
  }
}

[data-animation] {
  transition-property: opacity, transform;
  transition-duration: 1s;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation-timeline: view();

}
[data-animation="flip-down"] {
  animation-name: flipDown;
}

@keyframes flipDown {
  from {
    transform: perspective(2500px) rotateX(100deg);
  }
  to {
    transform: perspective(2500px) rotateX(0);
  }
}


.service-card {
    box-shadow:  0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
    padding: 2em;
    width: 24rem;
    height: 30rem;
}

.other-blogs h6 {
  font-size: larger;
  font-weight: 500;
}

.blog-img {
  height: auto;
  border-radius: .4rem;
}
.scroll-container, .scroll-container-blog {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  display: flex;
  gap: 2rem;
  align-items: start;
  padding: 2rem .2rem;
}

.scroll-container > div, .scroll-container-blog > div {
  text-decoration: none;
  aspect-ratio: 5.6/2;
  border-radius: 2%;
  box-shadow:  0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
}

.scroll-container > div {
  padding: 2rem;
  block-size: 8rem;
}

.blog-card {
  width: 39rem;
  height: 14rem;
}

.scroll-container p {
 text-decoration: none !important;
  margin-bottom: 0;
}

.main-wrapper {
  transition: color 0.3s, background-color 0.3s;
}

.section {
  overflow: hidden;
}

.wrapper {
  height: 100vh;
}

.list {
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
  padding: 0.2rem;
}

.item {
  width: 100vw;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
  box-shadow: rgb(149, 157, 165, 0.2) 0px 8px 24px;
  overflow: hidden;
}


.item_p {
  margin-top: .4rem;
}

.item_content {
  background-color: var(--white);
  color: var(--black);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
  display: flex;
  position: relative;
  width: 50%;
}

.item_media {
  object-fit: cover;
  width: 50%;
  height: 100%;
}

.about-section img{
  width: 32% !important;
}

.about-section h6, .about-section p {
  padding: 0 1rem;
}



/* @media querries */

@media only screen and (max-width: 1280px) {
  .why-choose-container {
    width: 100%;
  }
  .service-card {
    width: 23.6rem;
    height: 28rem;
  }
  .service-wrapper {
    margin: 1rem;
    max-width: fit-content;
  }
}
@media only screen and (max-width: 1040px) {
  .about-section {
    padding: .4rem !important;
  }
  .about-section img{
    width: 42% !important;}

    .blog-card {
      flex-direction: column;
      width: 18rem;
      height: 26rem;
    }
    .blog-card img {
      width: 100%;
      height: 42%;
      object-fit: cover;
    }

    .why-choose-grid {
      max-height: 40vh;
      overflow-y: auto;
      position: relative;
      -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
      scrollbar-width: thin; /* Firefox - makes scrollbar thinner */
      scrollbar-color: rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.1); /* Scrollbar thumb & track color */
    }
    
  .service-card {
    width: 21rem;
    height: 30rem;
}
  .scroll-container {
    padding: 1.2rem .2rem 1.2rem;
  }
  .scroll-container > div {
    aspect-ratio: 3.6/2;
    padding: 1rem;
  }
  .why-choose-container {
    width: 80%;
  }
}
@media only screen and (max-width: 780px) {
  .why-choose-container {
    width: 100%;
    padding: 0 15px;
  }
  .about-section {
    flex-direction: column !important;
  }
    .why-choose-container {
      width: 90%;
    }
.heading {
  font-size: 2.5rem;
}

.item {
  display: flex;
  flex-direction: column;
}

.item_content,
.item_media {
  height: 50vh;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}


.cta-section {
      height: 300px;
  }
  
  .cta-content {
      max-width: 90%;
      text-align: center;
  }

  .cta-content h1 {
      font-size: 1.5rem;
  }

  .cta-content p {
      font-size: 1rem;
  }

  .cta-btn {
      padding: 10px 20px;
  }

}
@media only screen and (max-width: 560px) {
  .service-card {
    width: 100%;
    height: 22rem;
}
  .why-choose-container {
    width: 100%;
  }
}
@media only screen and (max-width: 450px) {
.about-section img{
  width: 56% !important;
}

.cta-section {
  height: 250px;
}

.cta-content h1 {
  font-size: 1.3rem;
}

.cta-content p {
  font-size: 0.9rem;
}

.cta-btn {
  padding: 8px 16px;
}
}
@media only screen and (max-width: 400px) {
  .about-section img{
    width: 48% !important;
  }
}

