/* ===================================
   CSS HALAMAN PROFILE LENGKAP
=====================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================
   HERO VIDEO SECTION
============================ */
.hero-video-section {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.fallback-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.4),
    rgba(245, 158, 11, 0.2)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  margin-left: 4rem;
  animation: slideInLeft 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-badge i {
  color: #fbbf24;
  font-size: 1.1rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================
   ABOUT SECTION WITH IMAGE
============================ */
.about-section {
  padding: 8rem 0;
  background: linear-gradient(
    135deg,
    #f8fafc 0%,
    rgba(245, 158, 11, 0.02) 100%
  );
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -20%;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), transparent);
  border-radius: 50% 0 0 50%;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
  align-items: center;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  position: relative;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
}

.about-text .lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: #2563eb;
  font-weight: 700;
}

.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(245, 158, 11, 0.02)
  );
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid #2563eb;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.highlight-box i {
  color: #f59e0b;
  font-size: 2rem;
  flex-shrink: 0;
}

.about-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s ease;
}

.image-container:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.image-container:hover .main-image {
  filter: brightness(1);
}

/* ============================
   VISION & MISSION ZIGZAG LAYOUT
============================ */
.zigzag-section {
  padding: 8rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Background Ornaments */
.bg-ornaments {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ornament-1 {
  position: absolute;
  top: 15%;
  left: -8%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent);
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.ornament-2 {
  position: absolute;
  bottom: 20%;
  right: -5%;
  width: 200px;
  height: 400px;
  background: linear-gradient(45deg, rgba(245, 158, 11, 0.03), transparent);
  border-radius: 50% 30%;
  animation: float-reverse 10s ease-in-out infinite;
}

/* Section Header */
.section-header.center {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
}

.title-decoration {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #f59e0b);
  border-radius: 2px;
  margin: 1rem auto 2rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  font-weight: 500;
  font-style: italic;
}

/* Zigzag Container */
.zigzag-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  position: relative;
  z-index: 2;
}

/* Zigzag Items */
.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.zigzag-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Vision Item - Image Left, Content Right */
.vision-item {
  /* Default grid order */
}

/* Mission Item - Content Left, Image Right */
.mission-item {
  direction: rtl; /* Reverse direction for right-to-left layout */
}

.mission-item .zigzag-content,
.mission-item .zigzag-image {
  direction: ltr; /* Reset direction for content */
}

/* Image Styling */
.zigzag-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.image-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.main-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.9);
}

.image-wrapper:hover .main-img {
  filter: brightness(1);
  transform: scale(1.05);
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.7),
    rgba(245, 158, 11, 0.5)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.overlay-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transform: scale(0.5);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover .overlay-icon {
  transform: scale(1);
}

/* Content Styling */
.zigzag-content {
  position: relative;
}

.content-header {
  margin-bottom: 2rem;
}

.content-header h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.content-decoration {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.vision-decoration {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.mission-decoration {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
}

.content-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Mission List */
.mission-list {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0 0 0;
}

.mission-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
  text-align: justify;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.mission-list li:hover {
  border-left-color: rgba(245, 158, 11, 0.3);
  padding-left: 2.5rem;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.02), transparent);
}

.mission-list li:hover::before {
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* ============================
   ANIMATIONS
============================ */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

@keyframes float-reverse {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(-20px) rotate(-3deg);
  }
}

/* ============================
   RESPONSIVE DESIGN
============================ */
@media (max-width: 1024px) {
  .hero-content {
    margin-left: 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .zigzag-container {
    gap: 6rem;
  }

  .zigzag-item {
    gap: 4rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .content-header h3 {
    font-size: 2.2rem;
  }

  .main-img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .hero-video-section {
    height: 70vh;
  }

  .hero-content {
    margin-left: 2rem;
    max-width: 90%;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .about-section {
    padding: 5rem 0;
  }

  .zigzag-section {
    padding: 5rem 0;
  }

  .zigzag-container {
    gap: 4rem;
  }

  .zigzag-item {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .mission-item {
    direction: ltr;
  }

  /* Stack images above content on mobile */
  .zigzag-image {
    order: -1;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-header h3 {
    font-size: 1.8rem;
  }

  .main-img {
    height: 280px;
  }

  .ornament-1,
  .ornament-2 {
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .about-section {
    padding: 3rem 0;
  }

  .zigzag-section {
    padding: 3rem 0;
  }

  .section-header.center {
    margin-bottom: 4rem;
  }

  .zigzag-container {
    gap: 3rem;
    padding: 0 1rem;
  }

  .content-text {
    font-size: 1rem;
  }

  .mission-list li {
    font-size: 1rem;
    padding-left: 1.5rem;
  }

  .main-img {
    height: 240px;
  }
}
