/* From Uiverse.io by vinodjangid07 */
#checkbox {
  display: none;
}

.switch {
  position: relative;
  width: fit-content;
  padding: 10px 20px;
  background-color: rgb(46, 46, 46);
  border-radius: 50px;
  z-index: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.3s;
}

.switch svg path {
  fill: white;
}

#checkbox:checked+.switch {
  background-color: rgb(174, 0, 255);
  box-shadow: 0px 0px 40px rgba(174, 0, 255, 0.438);
}

body.dark-theme {
  background-color: #121212;
  color: #ffffff;
}

body.dark-theme a {
  color: #121212;
}

body.dark-theme .btn {
  color: #ffffff;
}

body.dark-theme .target-card {
  background-color: #121212;
}


/* Ensure the carousel section takes the full viewport height */
.home-section {
  height: 100vh;
  margin: 0;
  overflow: hidden;
}




/* From Uiverse.io by levxyca */
button {
  font-size: 1rem;
  color: #fafafa;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid #fafafa;
  background: #1a0487;
  box-shadow: 3px 3px #fafafa;
  cursor: pointer;

}

button:active {
  box-shadow: none;
  transform: translate(3px, 3px);
}

.services-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center center;
}

/* Zoom-out animation on hover */
.services-card:hover {
  transform: scale(1.1);
  /* Slightly zoom out the card */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  /* Add shadow for a pop-out effect */
}


/* Inner wrapper for flip effect */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  /* Allows child elements to retain 3D transform */
  transition: transform 0.6s ease;
  /* Smooth flipping animation */
}

/* Flip the card on hover */
.card:hover .card-inner {
  transform: rotateY(180deg);
  /* Rotates card 180 degrees on Y-axis */
}

/* Card front and back common styles */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  /* Ensures one side is hidden when not active */
  display: flex;
}

/* Front side specific styles */
.card-front {
  z-index: 2;
  /* Ensure front side is above the back side initially */
}

/* Back side specific styles */
.card-back {
  transform: rotateY(180deg);
  /* Initially flipped 180 degrees */
  z-index: 1;
}


/* Sidebar Styling */

.sidebar ul {
  list-style: none;
}

.sidebar li {
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.sidebar li:hover {
  background: #3282b8;
  transform: translateX(10px);
}

.sidebar li.active {
  background: #f2c3bb;
  transform: translateX(10px);
}

/* Content Styling */

.content-section {
  display: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.content-section.active {
  display: block;
  transform: scale(1.05);
  opacity: 1;
  animation: fadeIn 0.8s ease-in-out;
}


/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Styling for the card */
.custom-card {
  width: 11rem;
  /* Equivalent to w-44 in Tailwind */
  height: 11rem;
  /* Equivalent to h-44 in Tailwind */
  transition: all 0.5s ease;
  /* Smooth hover animation */
}





/* SVG Blob */
.svg-blob {
  width: 100%;
  height: 100%;
  filter: blur(15px);
  fill: rgba(0, 123, 255, 0.3);
  /* Blue shade */
  transition: all 0.5s ease;
  z-index: 1;
}

.custom-card:hover .svg-blob {
  filter: blur(5px);
  /* Reduces blur on hover */
  transform: scale(1.1);
  /* Enlarges the blob slightly */
}

/* Center the content */
.z-3 {
  position: relative;
  z-index: 3;
}


.counter {
  transition: all 1s ease-in-out;
}

.card-container {
  position: relative;
}

.client-card {
  border: 2px solid #000;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 10px;
}

.portrait-card {
  position: absolute;
  width: 300px;
  height: 400px;
  z-index: 1;
  left: 20px;
  top: 20px;
}

.landscape-card {
  position: absolute;
  width: 400px;
  height: 300px;
  left: 150px;
  top: 100px;
  z-index: 2;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .card-container {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .portrait-card,
  .landscape-card {
    position: relative;
    width: 90%;
    max-width: 300px;
    height: 350px;
    left: 0;
    top: 0;
    margin: 10px 0;
  }

  .landscape-card {
    margin-top: -50px;
  }
}

@media (max-width: 480px) {
  .card-container {
    min-height: 500px;
    padding: 10px;
  }

  .portrait-card,
  .landscape-card {
    height: 250px;
  }

  .name-section {
    padding: 10px;
  }

  h5 {
    font-size: 1rem;
  }
}

/* Hover Effects */
@media (min-width: 769px) {

  .portrait-card:hover,
  .landscape-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 3;
  }
}

/* For larger screens */
@media (min-width: 1200px) {
  .card-container {
    min-height: 500px;
  }

  .portrait-card {
    width: 350px;
    height: 450px;
  }

  .landscape-card {
    width: 500px;
    height: 350px;
    left: 200px;
  }
}


.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.client-carousel {
  display: flex;
  animation: move-carousel 20s linear infinite;
}

.client-card-wrapper {
  display: flex;
  margin-right: 20px;
}


@keyframes move-carousel {
  0% {
    transform: translateX(0);
  }

  33.33% {
    transform: translateX(-33.33%);
  }

  66.66% {
    transform: translateX(-66.66%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.testionmial-card {
  backface-visibility: hidden;
}

/* Card Container */
.team-member-card {
  width: 220px;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.team-member-card:hover {
  transform: translateY(-10px);
  /* Slight float effect on hover */
}

/* Circular Frame with Animation */
.image-frame {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid transparent;
  background: linear-gradient(90deg, transparent, transparent);
  transition: background 0.5s ease-in-out, border-color 0.5s ease-in-out;
}

.image-frame:hover {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  /* Gradient border animation */
  border-color: #fff;
  /* Inner white border on hover */
}

.team-member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image fits inside the circle */
  transition: transform 0.5s ease-in-out;
}

.image-frame:hover .team-member-img {
  transform: scale(1.1);
  /* Zoom effect on hover */
}

/* Team Member Info */
.team-member-info h5 {
  font-size: 1.25rem;
  transition: color 0.3s ease-in-out;
}

.team-member-card:hover h5 {
  color: #007bff;
  /* Highlight name on hover */
}

.team-member-info p {
  font-size: 0.9rem;
}


/* Service Section */


.service-card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.service-description {
  font-size: 1rem;
  margin-bottom: 20px;
}


.sub-service {
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
}

.sub-service h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.sub-service p {
  color: #555;
}

/* Hover effect for sub-services */
.sub-service:hover {
  background-color: #cce5ff;
}

