/* about section css */
.span {
  color: #393186;
}

a {
  text-decoration: none;
}
.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 10px;
  background-color: #f5f5f5;
}

html{
  scroll-behavior: smooth;
}

.about-image-container {
  flex: 1 1 300px;
  text-align: center;
}

.text-container {
  flex: 1 1 300px;
}

.text-container h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.text-container p {
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
}

.title {
  text-align: center;
  color: #333;
  font: 24px Helvetica, Arial, serif;
}
.creds {
  text-align: center;
  color: #666;
  font: 12px Helvetica, Arial, serif;
}
.creds a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
}
.three-d-container {
  margin: 0px auto;
  width: 300px;
  height: 300px;
  position: relative;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  -ms-perspective: 1000px;
  -o-perspective: 1000px;
  perspective: 1000px;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(0, 0, 0, 0.2) inset;
  -moz-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(0, 0, 0, 0.2) inset;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.2) inset;
}
.three-d-cube {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transition: -webkit-transform 1s;
  -moz-transition: -moz-transform 1s;
  -o-transition: -o-transform 1s;
  transition: transform 1s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(-150px);
  -moz-transform: translateZ(-150px);
  -ms-transform: translateZ(-150px);
  -o-transform: translateZ(-150px);
  transform: translateZ(-150px);
}
.three-d-cube .three-d-item {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  position: absolute;
}
.three-d-cube .three-d-item img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
}
.three-d-item:nth-child(1) {
  -webkit-transform: rotateY(0deg) translateZ(150px);
  -moz-transform: rotateY(0deg) translateZ(150px);
  -ms-transform: rotateY(0deg) translateZ(150px);
  -o-transform: rotateY(0deg) translateZ(150px);
  transform: rotateY(0deg) translateZ(150px);
}
.three-d-item:nth-child(2) {
  -webkit-transform: rotateX(180deg) translateZ(150px);
  -moz-transform: rotateX(180deg) translateZ(150px);
  -ms-transform: rotateX(180deg) translateZ(150px);
  -o-transform: rotateX(180deg) translateZ(150px);
  transform: rotateX(180deg) translateZ(150px);
}
.three-d-item:nth-child(3) {
  -webkit-transform: rotateY(90deg) translateZ(150px);
  -moz-transform: rotateY(90deg) translateZ(150px);
  -ms-transform: rotateY(90deg) translateZ(150px);
  -o-transform: rotateY(90deg) translateZ(150px);
  transform: rotateY(90deg) translateZ(150px);
}
.three-d-item:nth-child(4) {
  -webkit-transform: rotateY(-90deg) translateZ(150px);
  -moz-transform: rotateY(-90deg) translateZ(150px);
  -ms-transform: rotateY(-90deg) translateZ(150px);
  -o-transform: rotateY(-90deg) translateZ(150px);
  transform: rotateY(-90deg) translateZ(150px);
}
.three-d-item:nth-child(5) {
  -webkit-transform: rotateX(90deg) translateZ(150px);
  -moz-transform: rotateX(90deg) translateZ(150px);
  -ms-transform: rotateX(90deg) translateZ(150px);
  -o-transform: rotateX(90deg) translateZ(150px);
  transform: rotateX(90deg) translateZ(150px);
}
.three-d-item:nth-child(6) {
  -webkit-transform: rotateX(-90deg) translateZ(150px);
  -moz-transform: rotateX(-90deg) translateZ(150px);
  -ms-transform: rotateX(-90deg) translateZ(150px);
  -o-transform: rotateX(-90deg) translateZ(150px);
  transform: rotateX(-90deg) translateZ(150px);
}
.a:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateY(0deg);
  -moz-transform: translateZ(-150px) rotateY(0deg);
  -ms-transform: translateZ(-150px) rotateY(0deg);
  -o-transform: translateZ(-150px) rotateY(0deg);
  transform: translateZ(-150px) rotateY(0deg);
}
.b:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateX(-180deg);
  -moz-transform: translateZ(-150px) rotateX(-180deg);
  -ms-transform: translateZ(-150px) rotateX(-180deg);
  -o-transform: translateZ(-150px) rotateX(-180deg);
  transform: translateZ(-150px) rotateX(-180deg);
}
.c:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateY(-90deg);
  -moz-transform: translateZ(-150px) rotateY(-90deg);
  -ms-transform: translateZ(-150px) rotateY(-90deg);
  -o-transform: translateZ(-150px) rotateY(-90deg);
  transform: translateZ(-150px) rotateY(-90deg);
}
.d:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateY(90deg);
  -moz-transform: translateZ(-150px) rotateY(90deg);
  -ms-transform: translateZ(-150px) rotateY(90deg);
  -o-transform: translateZ(-150px) rotateY(90deg);
  transform: translateZ(-150px) rotateY(90deg);
}
.e:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateX(-90deg);
  -moz-transform: translateZ(-150px) rotateX(-90deg);
  -ms-transform: translateZ(-150px) rotateX(-90deg);
  -o-transform: translateZ(-150px) rotateX(-90deg);
  transform: translateZ(-150px) rotateX(-90deg);
}
.f:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateX(90deg);
  -moz-transform: translateZ(-150px) rotateX(90deg);
  -ms-transform: translateZ(-150px) rotateX(90deg);
  -o-transform: translateZ(-150px) rotateX(90deg);
  transform: translateZ(-150px) rotateX(90deg);
}
.three-d-bullet {
  margin: 350px 10px 0 0;
  float: left;
}
.three-d-bullet:first-child {
  margin: 350px 10px 0 88px;
}

:root {
  --t: 0.3s;
}

/* about button css */

.wrapper {
  display: grid;
}

.wrapper button {
  --hov: 0;
  display: grid;
  grid-gap: 0.5em;
  grid-template-columns: calc(0.375em + var(--hov) * 1em) 1fr;
  align-items: center;
  border: 2px solid black;
  padding: 0.5em;
  background: color-mix(in hsl, orange calc(var(--hov) * 100%), #fefefe);
  color: #0e0a0e;
  font: 15px;
  transition: var(--t) ease-out;
  transition-delay: calc((1 - var(--hov)) * 0.5 * var(--t)), 0s;
  transition-property: grid-template-columns, background-color;
  cursor: pointer;
  position: relative;
}

.wrapper button::before {
  content: attr(data-ico);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #0e0a0e;
  color: hsla(0, 0%, 100%, var(--hov));
  font-weight: 100;
  text-indent: calc((var(--hov) - 1) * 1em);
  clip-path: circle(closest-side);
  transition: var(--t) ease-out;
  transition-delay: calc(var(--hov) * 0.5 * var(--t));
  transition-property: color, text-indent;
  display: grid;
  place-items: center;
}

.wrapper button:hover,
.wrapper button:focus {
  --hov: 1;
}

.service-section {
  padding: 40px 20px;
  background-color: white;
  text-align: center;
}

.main-heading {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.service-section {
  padding: 40px 20px;
  background-color: white;
  text-align: center;
}

.main-heading {
  font-size: 2rem;
  margin-bottom: 30px;
}

.service-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px; /* Reduced from 30px to bring items closer */
}

.service-side {
  flex: 1 1 250px; /* Reduced width slightly */
  max-width: 250px; /* Reduced from 300px */
  text-align: left;
}

.service-side h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-side ul {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 14px;
  text-align: justify;
}

.service-center {
  flex: 0 0 400px; /* Narrowed center image section */
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-center img {
  width: 100%;
  max-width: 400px; /* Smaller image */
  height: auto;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .service-content {
    flex-direction: column;
    align-items: flex-start; /* Align everything to the left */
    gap: 20px; /* Reduce vertical gap between items */
  }

  .service-side {
    text-align: left; /* Left-align text */
    width: 100%;
    max-width: 100%;
  }

  .service-side ul {
    padding-left: 20px; /* Restore bullet indentation */
    list-style-position: outside;
  }

  .service-center {
    justify-content: flex-start; /* Align image to left */
    width: 100%;
    max-width: 100%;
  }

  .service-center img {
    max-width: 100%; /* Responsive full-width image */
    margin: 0 auto; /* Optional: center if needed */
  }
}

.service-side ul li {
  margin-bottom: 8px;
}

.service-side ul li:last-child {
  margin-bottom: 0;
}

.activity-section {
  padding: 40px 20px;
  max-width: 100%;
  margin: auto;
  background-color: whitesmoke;
}

.activity-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.activity-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.activity-item {
  width: calc(25% - 20px); /* 4 per row with gap accounted */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.activity-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.activity-name {
  margin-top: 10px;
  background-color: black;
  color: white;
  padding: 8px 12px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

/* Responsive: 2 per row on medium, 1 on small */
@media (max-width: 992px) {
  .activity-item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .activity-item {
    width: 100%;
  }
}

.why-choose-us {
  padding: 40px 20px;
  background-color: whitesmoke;
}

.why-choose-us-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.why-choose-us-content {
  flex: 1;
  min-width: 280px;
}

.why-choose-us-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: black;
}

.why-choose-us-content p {
  font-size: 14px;
  color: black;
  line-height: 1.6;
  text-align: justify;
}

.why-choose-us-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.why-choose-us-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .why-choose-us-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .why-choose-us-content h2 {
    font-size: 1.75rem;
  }

  .why-choose-us-content p {
    font-size: 0.95rem;
  }
}

.section-intro {
  text-align: center;
  margin-bottom: 30px;
}

.section-intro p {
  font-size: 12px;
  color: black;
  margin-bottom: 8px;
}

.section-intro h1 {
  font-size: 2rem;
  color: black;
  margin: 0;
}

@media (max-width: 768px) {
  .section-intro h1 {
    font-size: 24px;
  }

  .section-intro p {
    font-size: 12px;
  }
}

.service-showcase-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.slider-box {
  position: relative;
  overflow: hidden;
}

.showcase-slide {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: absolute;
  width: 100%;
}

.showcase-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  position: relative;
  z-index: 1;
}

.left,
.right {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.left img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
}

.right h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.right p {
  font-size: 14px;
  color: #444;
  text-align: justify;
}

.dot-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #333;
}

/* Rotation animations */
@keyframes rotateDown {
  from {
    transform: rotateX(90deg);
    opacity: 0;
  }
  to {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

@keyframes rotateUp {
  from {
    transform: rotateX(-90deg);
    opacity: 0;
  }
  to {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.rotate-down {
  animation: rotateDown 0.6s ease;
}

.rotate-up {
  animation: rotateUp 0.6s ease;
}

@media (max-width: 768px) {
  .showcase-slide {
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
  }

  .right h2 {
    font-size: 20px;
  }

  .right p {
    font-size: 14px;
  }
}

.partner-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.partner-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pause-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}

.partner-section .slider {
  display: flex;
  width: 200%;
  animation: bannermove 20s linear infinite;
}

.partner-section .slider.paused {
  animation-play-state: paused;
}

.partner-section .slider > div {
  width: 100%;
}

.partner-section ul {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
  flex-wrap: nowrap;
}

.partner-section li {
  flex: 0 0 auto;
  max-width: 300px;
}

.partner-section img {
  width: 100%;
  height: 100px;
  display: block;
  border-radius: 8px;
}

@keyframes bannermove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Optional: Add responsiveness for small screens */
@media (max-width: 600px) {
  .partner-heading {
    font-size: 1.5rem;
  }

  .pause-btn {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
  }

  .partner-section li {
    max-width: 200px;
  }
}

.testimonial-section {
  max-width: 100%;
  margin: 50px auto;
  text-align: center;
  padding: 0 15px;
}

.testimonial-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.testimonial-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonial-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial-content h3 {
  font-size: 1.1rem;
  margin: 8px 0 4px;
}

.testimonial-content p {
  font-size: 0.95rem;
  color: #555;
  max-width: 600px;
}

.testimonial-controls {
  margin-top: 20px;
}

.testimonial-controls i {
  font-size: 1.5rem;
  margin: 0 15px;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.testimonial-controls i:hover {
  color: #007bff;
}

@media (max-width: 600px) {
  .testimonial-content img {
    width: 90px;
    height: 90px;
  }

  .testimonial-section h2 {
    font-size: 1.5rem;
  }

  .testimonial-content p {
    font-size: 0.85rem;
  }
}

.counter-section {
  background-color: #393186;
  color: white;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.box {
  flex: 1 1 45%;
  max-width: 200px;
  margin: 20px auto;
}

.box i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.counter {
  font-size: 24px;
  font-weight: bold;
}

.label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .box {
    flex: 1 1 20%;
  }
}

.services-slider-section {
  padding: 2rem;
  max-width: 100%;
  margin: auto;
  text-align: center;
  overflow: hidden;
}

.services-small-text {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.3rem;
}

.services-heading {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.services-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
  text-align: center;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 1rem;
}

.service-card {
  min-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}

.service-card img {
  width: 100%;
  max-width: 400px;
  height: 200px;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.service-card h3 {
  margin: 0.8rem 0 0.5rem;
  font-size: 0.9rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: black;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

@media (max-width: 600px) {
  .slider-track {
    justify-content: center; /* centers flex items horizontally */
  }

  .service-card {
    min-width: auto; /* Let the card size fit content */
    max-width: 400px; /* max width for images */
    margin: 0 auto; /* center each card */
  }
}

@media (min-width: 900px) {
  .service-card {
    min-width: 33.33%;
  }
}

@media (max-width: 760px) {
  .slider-track {
    justify-content: center;
  }

  .service-card {
    min-width: auto;
    max-width: 400px;
    margin: 0 auto;
  }

  .services-description {
    text-align: justify;
  }
}