/* ==========================================
   BacaDulu - Custom Styles
   Color Palette: Purple Primary #753085
   ========================================== */

:root {
  --primary-purple: #753085;
  --primary-purple-dark: #5e256a;
  --primary-purple-light: #9a4da8;
  --dark-navy: #02033b;
  --accent-orange: #ff6b35;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --footer-bg: #1a1a2e;
  --footer-text: #b0b3c7;
  --border-light: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
}

/* Base */
body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: orange;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-purple-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar-custom {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 0.35rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-light);
}

.navbar-custom.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.2rem 0;
}

.navbar-custom .navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary-purple) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-custom .navbar-brand .bd-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-purple);
  color: white;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.navbar-custom .nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 0.6rem 1.1rem !important;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary-purple) !important;
  background: rgba(117, 48, 133, 0.06);
}

.navbar-custom .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
}

.navbar-custom .dropdown-item {
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
  font-size: 0.92rem;
}

.navbar-custom .dropdown-item:hover {
  background: rgba(117, 48, 133, 0.06);
  color: var(--primary-purple);
  padding-left: 1.45rem;
}

.navbar-toggler {
  border: none;
  padding: 0.4rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-slider {
  position: relative;
}

.hero-slider .carousel-item {
  height: 500px;
  background-size: cover;
  background-position: center;
  filter: brightness(1.08);
}

.hero-slider .carousel-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 59, 0.15);
}

.hero-slider .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem;
  text-align: left;
}

.hero-slider .slide-content {
  max-width: 700px;
}

.hero-slider .slide-content h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}

.hero-slider .slide-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

.hero-slider .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: 2px solid #fff;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.hero-slider .carousel-indicators button.active {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: scale(1.15);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
}

/* ==========================================
   SECTIONS
   ========================================== */
.section-padding {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-purple);
  border-radius: 2px;
  margin-top: 0.6rem;
}

.section-header.text-center h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section-header p.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.8rem;
}

/* ==========================================
   CARDS
   ========================================== */
.card-bd {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-bd:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-bd .card-img-top {
  height: 200px;
  object-fit: cover;
  background: var(--bg-light);
}

.card-bd .card-body {
  padding: 1.5rem;
}

.card-bd .card-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.card-bd .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Visi / Misi cards */
.visi-misi-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 100%;
}

.visi-misi-card h3 {
  color: var(--primary-purple);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.visi-misi-card h3 i {
  font-size: 1.5rem;
}

.visi-misi-card ol {
  padding-left: 1.2rem;
}

.visi-misi-card ol li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* Team cards */
.team-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card .team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid rgba(117, 48, 133, 0.1);
}

.team-card .team-role {
  color: var(--primary-purple);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.team-card .team-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
}

/* ==========================================
   STATS
   ========================================== */
.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-purple);
  line-height: 1;
  display: block;
}

.stat-item .stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.4rem;
}

/* ==========================================
   AFFILIATE LOGOS
   ========================================== */
.affiliate-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  height: 80px;
  transition: all 0.3s ease;
}

.affiliate-logo:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-purple-light);
}

.affiliate-logo img {
  max-height: 50px;
  width: auto;
  filter: grayscale(0.7);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.affiliate-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-bd-primary {
  background: var(--primary-purple);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.7rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(117, 48, 133, 0.3);
}

.btn-bd-primary:hover {
  background: var(--primary-purple-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(117, 48, 133, 0.4);
}

.btn-bd-outline {
  background: transparent;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-bd-outline:hover {
  background: var(--primary-purple);
  color: #fff;
}

.btn-bd-light {
  background: rgba(117, 48, 133, 0.08);
  color: var(--primary-purple);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-bd-light:hover {
  background: rgba(117, 48, 133, 0.15);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-main {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 0;
}

.footer-main h4, .footer-main h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-main p {
  color: var(--footer-text);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-main a {
  color: var(--footer-text);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-main a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-main .footer-tagline {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary-purple);
  color: #fff;
  transform: translateY(-3px);
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}

/* Newsletter form */
.newsletter-form .form-control {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter-form .form-control:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--primary-purple-light);
  box-shadow: none;
  color: #fff;
}

.newsletter-form .btn-submit {
  background: var(--primary-purple);
  color: #fff;
  border-radius: var(--radius-pill);
  border: none;
  padding: 0.55rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.newsletter-form .btn-submit:hover {
  background: var(--primary-purple-light);
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border-light);
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.contact-info-card .icon-box {
  width: 56px;
  height: 56px;
  background: rgba(117, 48, 133, 0.08);
  color: var(--primary-purple);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-info-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.contact-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.form-bd .form-control {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-bd .form-control:focus {
  border-color: var(--primary-purple-light);
  box-shadow: 0 0 0 3px rgba(117, 48, 133, 0.1);
}

/* ==========================================
   BLOG / CONTENT PAGES
   ========================================== */
.page-header {
  background: var(--bg-light);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
}

.page-header .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card .blog-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  background: var(--bg-light);
}

.blog-card .blog-body {
  padding: 1.4rem;
}

.blog-card .blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.blog-card .blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card .blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

/* ==========================================
   HERO SECTION (Inline page banners)
   ========================================== */
.page-hero {
  background: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.3;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   UTILITIES
   ========================================== */
.bg-light-custom {
  background: var(--bg-light) !important;
}

.text-purple {
  color: var(--primary-purple) !important;
}

.badge-purple {
  background: rgba(117, 48, 133, 0.1);
  color: var(--primary-purple);
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

.divider-purple {
  width: 50px;
  height: 3px;
  background: var(--primary-purple);
  border-radius: 2px;
  margin: 0.8rem 0;
}
.form-control::placeholder {
    color: #6c757d !important; /* abu-abu biar kelihatan */
    opacity: 1 !important;
}

/* Support semua browser */
.form-control::-webkit-input-placeholder {
    color: #6c757d !important;
}

.form-control:-ms-input-placeholder {
    color: #6c757d !important;
}

.form-control::-ms-input-placeholder {
    color: #6c757d !important;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991.98px) {
  .hero-slider .carousel-item {
    height: 380px;
  }
  .hero-slider .slide-content h2 {
    font-size: 1.9rem;
  }
  .section-padding {
    padding: 3rem 0;
  }
  .footer-main {
    padding-top: 3rem;
  }
  .footer-main > .container > .row > div {
    margin-bottom: 2rem;
  }
}

@media (max-width: 700px) {
  .hero-slider .carousel-item {
    height: 300px;
  }
  .hero-slider .slide-content h2 {
    font-size: 1.5rem;
  }
  .hero-slider .slide-content p {
    font-size: 0.95rem;
  }
  .section-header h2 {
    font-size: 1.6rem;
  }
  .stat-item .stat-number {
    font-size: 2.2rem;
  }
  .navbar-custom .navbar-brand {
    font-size: 1.3rem;
  }
  .page-hero h1 {
    font-size: 1.7rem;
  }
  .team-card {
    margin-bottom: 1rem;
  }
   .footer-main {
    padding-top: 3rem;
  }
  .footer-main > .container > .row > div {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1400px) {
  .hero-slider .carousel-item {
    height: 580px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-purple-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-purple);
}

