:root {
  --primary-blue: #4d6499;
  --gradient-start: #7098c0;
  --gradient-mid: #91a5bb;
  --gradient-end: #cad5e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  background: #000;
  color: white;
  background: linear-gradient(
    180deg,
    var(--gradient-start),
    var(--gradient-mid)
  );
}

/* Animasi */
@keyframes spin-slower {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.animate-fade-in-up {
  opacity: 0;
}

.animate-fade-in-up.animated {
  animation: fadeInUp 0.3s ease-out forwards;
}

.animate-fade-in-left {
  opacity: 0;
}

.animate-fade-in-left.animated {
  animation: fadeInLeft 0.3s ease-out forwards;
}

.animate-fade-in-scale {
  opacity: 0;
}

.animate-fade-in-scale.animated {
  animation: fadeInScale 0.3s ease-out forwards;
}

/* About Hero Section */
.about-hero {
  position: relative;
  color: white;
  padding: 0 1rem;
  padding-top: 9rem !important;
  background: linear-gradient(
    180deg,
    var(--gradient-start),
    var(--gradient-mid)
  );
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .about-hero {
    padding: 6rem 2rem;
  }
}

.hero-bg-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  background: #172233;
  border-radius: 50%;
  top: -100px;
  left: -100px;
  opacity: 0.3;
  filter: blur(60px);
}

.spinning-icon {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s linear;
}

.spinning-icon-1 {
  bottom: 0;
  right: 25px;
  width: 200px;
  height: 200px;
  opacity: 0.1;
}

.spinning-icon-2 {
  top: 40px;
  left: 20px;
  width: 250px;
  height: 250px;
  opacity: 0.1;
  z-index: 1;
}

.spinning-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(4px);
}

.spinning-img.reversed {
  transform: scaleX(-1) scaleY(-1);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-text-blue {
  color: var(--primary-blue);
}

.hero-description {
  margin-top: 1.5rem;
  color: #ffffff;
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.6;
}

.hero-image {
  width: 100%;
  max-width: 320px;
}

/* About Us Section */
.about-section {
  position: relative;
  padding: 5rem 1rem;
  background: linear-gradient(
    to bottom,
    var(--gradient-mid),
    var(--gradient-end),
    #000
  );
  overflow: hidden;
  min-height: 100vh;
}

.about-spinner-1 {
  top: 250px;
  left: 70px;
  width: 150px;
  height: 150px;
  opacity: 0.1;
}

.about-spinner-2 {
  bottom: 100px;
  left: 30px;
  width: 250px;
  height: 250px;
  opacity: 0.1;
}

.about-spinner-3 {
  top: 700px;
  right: 120px;
  width: 150px;
  height: 150px;
  opacity: 0.1;
}

@media (min-width: 768px) {
  .about-spinner-1 {
    width: 200px;
    height: 200px;
  }
  .about-spinner-2 {
    width: 350px;
    height: 350px;
  }
  .about-spinner-3 {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .hero-image {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero-image {
    transform: translateY(0);
  }
}

.section-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  text-align: center;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.5rem;
  }
}

.text-blue {
  color: var(--primary-blue) !important;
}

/* Team Card Styles */
.team-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.team-card:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.4);
}

.team-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  height: 300px;
  overflow: hidden;
}

.team-name-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  opacity: 0.4;
  font-weight: 800;
  font-size: 2.2rem;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  z-index: 0;
  pointer-events: none;
  max-width: 300px;
  word-wrap: break-word;
}

.team-name-bg1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  opacity: 0.4;
  font-weight: 800;
  font-size: 3rem;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  z-index: 0;
  pointer-events: none;
  max-width: 300px;
  word-wrap: break-word;
}

.team-image-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  z-index: 10;
  overflow: hidden;
  border-radius: 0.5rem;
}

.team-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.team-image.active {
  opacity: 1;
  animation: slideInFromRight 0.3s ease-out forwards;
}

.team-image.leaving {
  animation: slideOutToLeft 0.3s ease-out forwards;
}

.team-info {
  padding: 1.5rem;
  position: relative;
  z-index: 20;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-description-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.267);
  opacity: 0;
  transition: all 0.3s ease;
  padding: 2rem;
  border-radius: 1rem;
  z-index: 25;
  pointer-events: none;
}

.team-card:hover .team-description-container {
  opacity: 1;
}

.team-description {
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  color: white;
  margin: 0;
}

.team-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.363);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 1rem;
  z-index: 15;
  pointer-events: none;
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

/* Owl Carousel Custom Styles dengan efek blur */
.team-carousel {
  position: relative;
  padding: 2rem 0 6rem;
}

.team-carousel .owl-stage {
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.team-carousel .owl-item {
  transition: all 0.5s ease-in-out;
  transform: scale(0.8);
  filter: grayscale(100%) blur(10px);
  opacity: 0.3;
  z-index: 0;
}

.team-carousel .owl-item.center {
  transform: scale(1);
  filter: grayscale(0%) blur(0);
  opacity: 1;
  z-index: 10;
}

.team-carousel .owl-item.active:not(.center) {
  transform: scale(0.9);
  filter: grayscale(50%) blur(5px);
  opacity: 0.7;
  z-index: 5;
}

.team-carousel .owl-item:not(.active):not(.center) {
  filter: grayscale(80%) blur(8px);
  opacity: 0.4;
}

/* Owl Navigation */
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 100;
}

.owl-prev,
.owl-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  font-size: 1.5rem !important;
  pointer-events: all;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.owl-prev:hover,
.owl-next:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.1);
}

.owl-prev {
  margin-left: 1rem;
}

.owl-next {
  margin-right: 1rem;
}

/* Utility Classes */
.z-3 {
  z-index: 3;
}

.text-black {
  color: #000 !important;
}

/* Initial hidden state for animations */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease-out;
}

.animate-element.animated {
  opacity: 1;
  transform: translateY(0);
}
