:root {
  --primary: #0b1f3a;
  --primary-2: #132f57;
  --accent: #2f76ff;
  --white: #ffffff;
  --text-light: #d7dfef;
  --text-muted: #9fb0ce;
  --bg-soft: #f3f6fb;
  --card-shadow: 0 12px 30px rgba(8, 24, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  font-family: "Poppins", "Roboto", sans-serif;
  color: #1f2c44;
  background-color: var(--white);
}

.navbar {
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  background: #0a1b33;
  box-shadow: 0 10px 24px rgba(8, 24, 48, 0.24);
}

.navbar-brand {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.navbar-brand span {
  color: #7ca6ff;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--white);
}

.btn-brand {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 0.65rem 1.2rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-brand:hover {
  background: #195de0;
  border-color: #195de0;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-brand {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 0.65rem 1.2rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-outline-brand:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero {
  min-height: 100vh;
  padding-top: 110px;
  background: linear-gradient(120deg, rgba(8, 24, 48, 0.9), rgba(19, 47, 87, 0.76)),
    url("../assets/images/travel-necessities.webp") center / cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero .lead {
  color: var(--text-light);
  max-width: 640px;
}

.page-hero {
  min-height: 46vh;
  padding-top: 110px;
  background: linear-gradient(120deg, rgba(8, 24, 48, 0.9), rgba(19, 47, 87, 0.76)),
    url("../assets/images/floating-temple-in-bali-indonesia.webp") center / cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
}

.section-padding {
  padding: 90px 0;
}

.section-title {
  font-weight: 700;
  color: var(--primary);
}

.section-subtitle {
  color: #5f6f8f;
  max-width: 680px;
}

.about-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-card {
  border: 1px solid #e6ebf5;
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  transition: all 0.25s ease;
  background: var(--white);
}

.icon-card i {
  font-size: 1.4rem;
  color: var(--accent);
}

.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
  border-color: #d6e1f8;
}

.services {
  background: linear-gradient(180deg, #f9fbff, #f1f6ff);
}

.service-card {
  background: var(--white);
  border: 1px solid #e4ecfb;
  border-radius: 16px;
  padding: 2rem 1.4rem;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card i {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ebf2ff;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
}

.course-section {
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

.course-carousel .carousel-inner {
  padding: 0.8rem 0.4rem 0.2rem;
}

.course-card {
  border-radius: 14px;
  color: var(--white);
  padding: 1.1rem;
  min-height: 230px;
  box-shadow: var(--card-shadow);
}

.course-card small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  font-weight: 600;
}

.course-card h5 {
  margin-top: 0.7rem;
  margin-bottom: 0.35rem;
}

.course-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.course-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  margin-top: 1rem;
  padding-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.course-price {
  font-size: 1.35rem;
  font-weight: 700;
}

.course-gradient-1 { background: linear-gradient(130deg, #0ca5b0, #2294d1); }
.course-gradient-2 { background: linear-gradient(130deg, #8d49e8, #5d6cf5); }
.course-gradient-3 { background: linear-gradient(130deg, #f4a11b, #ff7b1c); }
.course-gradient-4 { background: linear-gradient(130deg, #ff4c8b, #d63b98); }
.course-gradient-5 { background: linear-gradient(130deg, #12bca2, #1a8ccf); }

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(21%) sepia(49%) saturate(1099%) hue-rotate(194deg) brightness(95%) contrast(95%);
}

.metrics {
  background: #0c2547;
  color: var(--white);
}

.metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.metric-card h3 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.timeline-step {
  border-left: 3px solid #c7d8fa;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.timeline-step h6 {
  color: var(--primary);
  font-weight: 600;
}

.quote-card {
  background: var(--white);
  border: 1px solid #e4ecfb;
  border-radius: 14px;
  padding: 1.2rem;
  height: 100%;
}

.quote-card i {
  color: var(--accent);
  font-size: 1.2rem;
}

.badge-soft {
  display: inline-block;
  border-radius: 999px;
  background: #edf3ff;
  color: #2a4f8f;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid #e6edf8;
  border-radius: 14px;
  padding: 1.2rem;
  height: 100%;
}

.form-wrapper {
  border: 1px solid #e5ecf8;
  border-radius: 16px;
  padding: 1.4rem;
  background: var(--white);
  box-shadow: var(--card-shadow);
}

.form-control {
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  border-color: #d9e3f3;
}

.form-control:focus {
  border-color: #8fb4ff;
  box-shadow: 0 0 0 0.2rem rgba(47, 118, 255, 0.15);
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecf2ff;
  color: var(--primary-2);
  margin-right: 0.4rem;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 14px;
}

footer {
  background: #0a1b33;
  color: var(--text-light);
  padding-top: 50px;
}

footer h5 {
  color: var(--white);
  font-weight: 600;
}

footer a {
  color: var(--text-light);
  text-decoration: none;
}

footer a:hover {
  color: var(--white);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding: 1rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero,
  .page-hero {
    min-height: 72vh;
  }
}
