/* === GENERAL & VARIABLES === */
:root {
  --primary: #0d2a5c;
  --primary-light: #1a478a;
  --secondary: #e8ecf5;
  --text-dark: #333;
  --text-light: #555;
  --bg-light: #f8f9ff;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px;
}

section {
  margin-bottom: 40px;
}

.section-title {
  color: var(--primary);
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.section-title.decorated {
  display: flex;
  align-items: center;
  gap: 15px;
}
.section-title.decorated::before,
.section-title.decorated::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: var(--primary);
  opacity: 0.2;
}

/* === NAVBAR === */
header.nav {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

header.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  transition: 0.3s;
  border-radius: 2px;
}

/* === HERO SECTION === */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 40px;
  background-color: var(--white);
  overflow: hidden;
  position: relative;
}

/* Kolom Kiri (Konten) */
.hero-left {
  flex: 0 0 60%;
  padding-left: 5%;
  padding-right: 5%;
  animation: fadeInLeft 1s ease-out;
  z-index: 3;
}

.hero-subtitle {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hero-left h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 30px;
}

/* Kolom Kanan (Gambar) */
.hero-right {
  flex: 1;
  align-self: stretch;
  position: relative;
  animation: fadeInRight 1s ease-out;
  background: linear-gradient(
      rgba(212, 212, 212, 0.4),
      rgba(255, 255, 255, 0.4)
    ),
    url("/images/hero.jpg") center center / cover no-repeat;
  z-index: 1;
}

.hero-image-logo {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: clamp(150px, 30vw, 250px);
  height: auto;
  opacity: 1;
  animation: zoomIn 0.8s 0.4s ease-out forwards;
  z-index: 4;
}

/*Efek Kurva dengan Pseudo-element */
.hero-right::before {
  content: "";
  position: absolute;
  background: var(--white);
  width: 300vw;
  height: 200vw;
  top: 50%;
  right: 80%;
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: 2;
}

.hotline-section {
  margin-bottom: 30px;
}
.btn-pill {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(13, 42, 92, 0.2);
}
.btn-pill:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(13, 42, 92, 0.3);
}
.service-box {
  background-color: #f7f9fc;
  border-left: 4px solid var(--primary);
  box-shadow: 0 5px 25px rgba(13, 42, 92, 0.05);
  padding: 25px;
  max-width: 450px;
}

.service-item {
  padding: 10px 0;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 15px;
}
.service-item:not(:last-child) {
  border-bottom: 1px solid #e8ecf5;
}

.service-item i {
  color: var(--primary);
  font-size: 1.2rem;
  min-width: 25px;
  text-align: center;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}
.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding-top: 100px;
    min-height: auto;
  }
  .hero-left,
  .hero-right {
    flex: 1 0 100%;
    width: 100%;
  }
  .hero-left {
    text-align: center;
    padding-bottom: 40px;
  }
  .hero-right {
    min-height: 400px;
    order: -1;
  }
  .hero-right::before {
    display: none;
  }
  .service-box {
    margin: 0 auto 30px auto;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* === COUNTING SECTION === */
.counting-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 60px 20px;
}
.counting-section .container {
  padding: 0;
}
.counting-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}
.count-item h3 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}
.count-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* === PROGRAM SECTION === */
.program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.program-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.program-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.program-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.program-icon-wrapper i {
  font-size: 36px;
}

.program-item:hover .program-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(10deg);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.event-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
}
.event-card:hover {
  transform: translateY(-10px);
}
.event-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.event-title {
  color: var(--primary);
  margin: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
}
.event-description {
  color: var(--text-light);
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-info {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.contact-item {
  margin-bottom: 20px;
}
.contact-item:last-child {
  margin-bottom: 0;
}
.contact-label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}
.contact-socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.social-link {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-link:hover {
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.social-link i {
  font-size: 28px;
  min-width: 30px;
  text-align: center;
}

.social-link span {
  font-size: 0.95rem;
}

.social-link.tiktok:hover {
  background-color: #000000;
}
.social-link.instagram:hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.social-link.facebook:hover {
  background-color: #1877f2;
}
.social-link.twitter:hover {
  background-color: #1da1f2;
}

footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: #777;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in,
.fade-in-up,
.fade-in-scale {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up {
  transform: translateY(50px);
}
.fade-in-scale {
  transform: scale(0.9);
}
.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
  }
  .hero-left {
    padding: 80px 5% 40px;
    align-items: center;
    text-align: center;
  }
  .hero-left h1 {
    max-width: 100%;
  }
  .hero-actions {
    align-items: center;
  }
  .hero-right {
    min-height: 400px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 0;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-menu a {
    padding: 15px;
    display: block;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .program-list,
  .event-grid {
    grid-template-columns: 1fr;
  }
  .contact-socials {
    grid-template-columns: 1fr;
  }
}

/* === STYLING HALAMAN GENERIC === */
.page-container {
  padding-top: 70px;
}

.page-hero {
  padding: 80px 20px;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  position: relative;
  margin-bottom: 60px;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(13, 42, 92, 0.8), rgba(13, 42, 92, 0.6));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 0;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 10px auto 0;
}

.section-bg {
  background-color: var(--white);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* === STYLING KHUSUS HALAMAN SEJARAH === */

.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  font-size: 1rem;
  color: var(--text-light);
}

.history-text p {
  margin-bottom: 1rem;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.vision-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid var(--primary);
}

.vision-card .card-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.vision-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.vision-card ul {
  list-style-position: inside;
  padding-left: 0;
  color: var(--text-light);
}
.vision-card ul li {
  margin-bottom: 10px;
}

.team-subtitle {
  text-align: center;
  color: var(--primary-light);
  font-size: 1.5rem;
  margin-top: 60px;
  margin-bottom: 50px;
}
.team-subtitle:first-of-type {
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px 30px; 
}

.profile-card {
  position: relative;
  background-color: var(--white);
  padding: 70px 20px 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(13, 42, 92, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(13, 42, 92, 0.12);
}

.profile-card img {
  position: absolute;
  top: -50px; 
  left: 50%;
  transform: translateX(-50%); 

  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--secondary); 
  border: 5px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-card:not(:has(img))::before {
  content: "\f007"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900; 
  font-size: 40px;
  color: var(--primary);

  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);

  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 5px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}
.profile-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .history-layout,
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  .section-bg {
    padding: 40px 20px;
  }
}

/* === STYLING KHUSUS HALAMAN PROGRAM === */

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.program-card {
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.program-card-icon {
  height: 180px;
  background-color: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-card-icon i {
  font-size: 70px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.program-card:hover .program-card-icon i {
  transform: scale(1.15) rotate(-8deg);
}

.program-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-card-content h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.program-card-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-detail {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-detail:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 42, 92, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: var(--white);
  border-radius: 15px;
  padding: 30px 40px;
  max-width: 650px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-modal {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.popup-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.popup-title {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
  padding-right: 30px;
}

.popup-content {
  line-height: 1.7;
  color: var(--text-light);
}

.popup-content p,
.popup-content ul {
  margin-bottom: 1rem;
}

.popup-content ul {
  list-style-position: inside;
}

.popup-content strong {
  color: var(--text-dark);
}

/* === STYLING KHUSUS HALAMAN EVENT === */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.event-card {
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.event-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.event-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.event-card-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === STYLING KHUSUS HALAMAN KONTAK === */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

/* Kolom Kiri: Detail & Peta */
.contact-details h3,
.contact-form-wrapper h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-details p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-detail-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 5px;
  min-width: 25px;
  text-align: center;
}

.contact-detail-item div {
  display: flex;
  flex-direction: column;
}

.contact-detail-item strong {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-detail-item span {
  color: var(--text-light);
}

.map-container {
  margin-top: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Kolom Kanan: Formulir */
.contact-form-wrapper {
  background-color: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 42, 92, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* === STYLING FOOTER GLOBAL === */
.site-footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-column p {
  line-height: 1.8;
}

/* Kolom Tautan Cepat */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

/* Kolom Kontak */
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact i {
  margin-top: 5px;
  color: var(--white);
}

/* Ikon Sosial Media */
.footer-socials {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: var(--white);
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

/* Bagian Bawah Footer (Copyright) */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Logo list grid */
.logo-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

/* Logo bulat */
.partner-logo.circle-logo {
  width: 80px;       /* atur ukuran lingkaran */
  height: 80px;
  border-radius: 50%;
  object-fit: cover; /* biar isi gambar rapi */
  border: 2px solid #ddd;
  background: #fff;
  padding: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo.circle-logo {
  width: 120px;      /* patokan lebar */
  height: 120px;     /* patokan tinggi */
  border-radius: 50%; 
  object-fit: contain; /* biar logo tidak ketarik */
  background: #fff;   /* opsional, bisa dihapus juga */
}

.slider-container {
    max-width: 600px;  /* Ukuran lebih kecil */
    width: 100%;
    margin: 20px auto;
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3; /* Aspect ratio yang lebih baik */
    overflow: hidden;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Konten di atas gambar */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slide:hover .slide-content {
    transform: translateY(0);
}

.slide-content h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.slide-content p {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Tombol Navigasi */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: #333;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    color: var(--primary);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Dots Indicator */
.dots-container {
    text-align: center;
    padding: 15px 10px;
    background: white;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

