body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  cursor: default;
}

.hero {
  min-height: 520px;
  background: linear-gradient(120deg, #ec1163, #ff6600, #f4c542);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-family: "Roboto", sans-serif; /* default body font */
}

.hero img {
  max-height: 400px;
}
@media (min-width: 768px) {
  .hero .text-md-start {
    text-align: left;
    padding-left: 130px;
  }
}

.carousel-inner {
  min-height: 170px;
}

#textCarousel {
  width: 100%;
}

#textCarousel .carousel-inner .h1 {
  min-height: 100px; /* fixed text height */
  position: relative;
}

#textCarousel .carousel-item .h1 {
  font-family: "Poppins", sans-serif; /* modern bold font */
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  min-height: 100px;
}

#textCarousel .carousel-item .p {
  font-family: "Roboto", sans-serif; /* clean readable font */
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* base state */
#textCarousel .carousel-item {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 1s ease,
    transform 1s ease;
  position: absolute;
  inset: 0;
}

/* active slide */
#textCarousel .carousel-item.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  z-index: 2;
}

/* outgoing slide */
#textCarousel .carousel-item.carousel-item-start,
#textCarousel .carousel-item.carousel-item-end {
  opacity: 0;
  transform: translateX(60px);
}

/* keep stack stable */
#textCarousel .carousel-inner {
  position: relative;
}

/* Hero Button */
.hero .btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero .partners {
  padding-top: 50px;
}

.section {
  padding: 100px 0;
}

/* fade up animation */
/* .fade-up {
  opacity: 0;
  transform: translateY(50px);
} */

/* brand word underline */
.heading-wrap {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.heading-underline {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ec1163, #ff6600, #f4c542);
  border-radius: 50px;
  opacity: 1;
}

.circle-card {
  aspect-ratio: 1 / 1;
  width: 220px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

/* Make sure image respects circle */
.circle-img,
.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Overlay */
.circle-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(233, 64, 87, 0.9),
    rgba(242, 113, 33, 0.9)
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: 0.4s ease;
}

/* Hover */
/* .circle-card:hover {
  transform: translateY(-5px);
  transition: 0.5s ease;
} */

.circle-card:hover .circle-img img {
  transform: scale(1.1);
  filter: blur(3px);
}

.circle-card:hover .circle-overlay {
  opacity: 1;
  transform: scale(1);
}

/* Button */
.circle-overlay .a {
  background: #ff0000;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin-top: 10px;
}

/* Responsive */
/* circle responsive in phone  */
@media (max-width: 768px) {
  .circle-card {
    width: 160px;
    aspect-ratio: 1 / 1; /* keeps it circular */
  }
}

@media (max-width: 480px) {
  .circle-card {
    width: 130px;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  /* Make overlay always visible */
  .circle-overlay {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(
      135deg,
      rgba(233, 64, 87, 0.9),
      rgba(242, 113, 33, 0.9)
    );
  }

  /* Remove hover blur  */
  .circle-card:hover .circle-img img {
    transform: none;
    filter: none;
  }

  /* Make text more readable */
  .circle-overlay h6 {
    font-size: 0.9rem;
    font-weight: 600;
  }

  /* Improve button for touch */
  .circle-overlay .btn {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  /* Better spacing */
  .circle-overlay {
    padding: 10px;
  }
}

/* zig-zag  */

/* circle button effect */
.section button:hover {
  background: linear-gradient(
    90deg,
    #ff0000 20%,
    #e84575 33%,
    #ff6500 66%,
    #ff0000
  );
  background-size: 200% auto;
  animation: gradientMove 2s linear infinite;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
}

/* clients logos  */
.client_logo_slider {
  overflow: hidden;
  width: 100%;
}

.client_logo_track {
  display: flex;
  width: max-content;
}

.track-left {
  animation: scrollLeft 150s linear infinite;
}

.track-right {
  animation: scrollRight 150s linear infinite;
}

.client_logo_item {
  flex: 0 0 auto;
  padding: 0 25px;
}

.client_logo_item img {
  height: 60px;
  object-fit: contain;
}

/* left row */
@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* right row */
@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* .btn{
        background: linear-gradient(to right, #2B2A4C, #ff0000);
    }
    .btn:hover{
        background: linear-gradient(to right, #ff0000, #fbff00);
    } */

/* TEAM SECTION */
.team-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fff7fa 100%);
}

.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 1160px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(236, 17, 99, 0.35), transparent);
}

.team-section .heading-wrap {
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

/* TEAM GRID */
.team-scroll {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 10px 20px;
}

@media (max-width: 1200px) {
  .team-scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Team cards */
.team-card {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #ddd;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(61, 28, 48, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(61, 28, 48, 0.18);
}

/* IMAGE */
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

/* OVERLAY */
.team-overlay {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  box-sizing: border-box;
  padding: 56px 18px 18px;
  color: #fff;

  background: linear-gradient(
    to top,
    rgba(28, 10, 22, 0.9),
    rgba(28, 10, 22, 0.5) 58%,
    transparent
  );
}

.team-overlay h6 {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.team-overlay p {
  margin: 2px 0 0;
  font-size: clamp(11px, 0.95vw, 13px);
  line-height: 1.45;
  opacity: 0.88;
}

@media (hover: hover) {
  .team-card:hover img {
    transform: scale(1.05);
  }
}

/* MOBILE  */
@media (max-width: 768px) {
  .team-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 10px 14px;
  }

  .team-card {
    aspect-ratio: 4 / 5;
  }

  .team-overlay {
    padding: 48px 12px 12px;
  }

  .team-overlay h6 {
    font-size: 14px;
  }

  .team-overlay p {
    font-size: 11px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {
  .team-scroll {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .team-card {
    width: min(100%, 300px);
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    margin: 0 auto;
  }

  .team-overlay h6 {
    font-size: 15px;
  }

  .team-overlay p {
    font-size: 11px;
  }
}

/* achievement card style an css  */
.news-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Odd columns tilt left */
.row .col-md-3:nth-child(odd) .news-card {
  transform: rotate(-5deg);
}

/* Even columns tilt right */
.row .col-md-3:nth-child(even) .news-card {
  transform: rotate(5deg);
}

/* Hover: straighten & enlarge */
.news-card:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* On mobile: remove tilt for cleaner look */
@media (max-width: 767px) {
  .news-card {
    transform: none !important;
  }
}

.news-card .btn:hover {
  background: linear-gradient(90deg, #ff0000 20%, #ff6500 66%, #ff0000);
  background-size: 200% auto;
  animation: gradientMove 2s linear infinite;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Tilt states */
.row .col-md-3:nth-child(odd) .news-card {
  transform: rotate(-2deg);
}
.row .col-md-3:nth-child(even) .news-card {
  transform: rotate(2deg);
}

/* Hover effect - more specific to override */
.row .col-md-3:nth-child(odd) .news-card:hover,
.row .col-md-3:nth-child(even) .news-card:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.newsbtn {
  align-items: center;
}

.newsbtn .btn:hover {
  background: linear-gradient(90deg, #ff0000 20%, #ff6500 66%, #ff0000);
  background-size: 200% auto;
  animation: gradientMove 2s linear infinite;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.achievement-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.achievement-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.achievement-card .award-tag {
  display: inline-block;
  background: rgba(236, 17, 99, 0.08);
  color: #ec1163;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.archbtn {
  justify-self: center;
}

.archbtn a:hover {
  background: linear-gradient(90deg, #ff0000 20%, #ff6500 66%, #ff0000);
  background-size: 200% auto;
  animation: gradientMove 2s linear infinite;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
