body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  padding-top: 70px;
}

.hero-section {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  padding: 120px 20px;
}

.section-padding {
  padding: 80px 0;
}

/* JANGAN SENTUH HERO */
.media-box {
  max-width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.site-footer {
  background: linear-gradient(135deg, #06357a 0%, #0a58ca 45%, #0d6efd 100%);
  color: rgba(255, 255, 255, 0.85);

  position: relative;
}

/* subtle top glow divider */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
}

/* titles */
.site-footer h5,
.site-footer h6 {
  color: #ffffff;
  font-weight: 600;
}

/* links */
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

/* text */
.site-footer p,
.site-footer .small {
  color: rgba(255, 255, 255, 0.75);
}

/* divider */
.site-footer hr {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ================================
   TOP SLIDER – REFINED
================================ */
.top-slider-section {
  margin-top: -10px;
}

/* WRAP CAROUSEL (UNTUK CURVE) */
#topSlider {
  border-radius: 28px;
  overflow: hidden; /* WAJIB utk curve */
  box-shadow: 0 26px 60px rgba(11, 28, 45, 0.25);
}

/* image */
.slider-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.95);
}

/* overlay + text */
.slider-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10%;
  color: #ffffff;

  background: linear-gradient(
    90deg,
    rgba(6, 53, 122, 0.7),
    rgba(6, 53, 122, 0.25),
    transparent
  );

  opacity: 0;
  transform: translateY(20px);
}

/* TEXT */
.slider-caption h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.slider-caption p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* ANIMATE TEXT ONLY WHEN ACTIVE */
.carousel-item.active .slider-caption {
  animation: captionFade 1.4s ease forwards;
}

/* KEYFRAMES */
@keyframes captionFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .slider-img {
    height: 320px;
  }

  .slider-caption {
    padding-left: 6%;
  }

  .slider-caption h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  #topSlider {
    border-radius: 20px;
  }

  .slider-img {
    height: 260px;
  }

  .slider-caption h2 {
    font-size: 1.6rem;
  }

  .slider-caption p {
    font-size: 1rem;
  }
}

/* ================================
   VIDEO CAROUSEL
================================ */
.video-carousel-section {
  background: #f8f9fb;
}

/* VIDEO FRAME */
.video-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(11, 28, 45, 0.25);
}

/* VIDEO */
.video-frame video {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* CONTROLS */
#videoCarousel .carousel-control-prev,
#videoCarousel .carousel-control-next {
  width: 52px;
  height: 52px;
  background: rgba(11, 28, 45, 0.75);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

#videoCarousel .carousel-control-prev:hover,
#videoCarousel .carousel-control-next:hover {
  background: var(--primary);
}

#videoCarousel .carousel-control-prev-icon,
#videoCarousel .carousel-control-next-icon {
  filter: invert(1);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .video-frame video {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .video-frame {
    border-radius: 20px;
  }

  .video-frame video {
    height: 240px;
  }
}

/* ================================
   CERTIFICATE SECTION
================================ */
.certificate-section {
  background: #ffffff;
}

/* FRAME */
.certificate-frame {
  max-width: 720px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 28, 45, 0.22);
}

/* IMAGE */
.certificate-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .certificate-frame {
    border-radius: 20px;
    max-width: 100%;
  }
}

/* ================================
   TESTIMONIAL SECTION – FULL CURVE
================================ */
.testimonial-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #0f2a44 100%);

  padding: 120px 0 160px; /* padding ikut curve */
  overflow: hidden;
}

/* CURVE TOP */
.testimonial-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: #ffffff;
  border-bottom-left-radius: 100% 100%;
  border-bottom-right-radius: 100% 100%;
  z-index: 1;
}

/* CURVE BOTTOM */
.testimonial-section::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: #ffffff;
  border-top-left-radius: 100% 100%;
  border-top-right-radius: 100% 100%;
  z-index: 1;
}

/* pastikan content atas curve */
.testimonial-section .container {
  position: relative;
  z-index: 2;
}

/* ================================
   TESTIMONIAL CARD
================================ */
.testimonial-card {
  max-width: 760px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-radius: 28px;
  padding: 44px 46px;
  text-align: center;

  box-shadow: 0 30px 70px rgba(11, 28, 45, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* TEXT */
.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 28px;
  color: #1f2937;
}

/* NAME */
.testimonial-card h6 {
  color: #0b1c2d;
  letter-spacing: 0.4px;
}

/* ROLE */
.testimonial-card small {
  color: #6b7280;
}

/* INDICATORS */
#testimonialCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  opacity: 0.35;
  transition: all 0.3s ease;
}

#testimonialCarousel .carousel-indicators .active {
  opacity: 1;
  transform: scale(1.25);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .testimonial-section {
    padding: 90px 0 120px;
  }

  .testimonial-section::before,
  .testimonial-section::after {
    height: 80px;
  }

  .testimonial-card {
    padding: 30px 26px;
    border-radius: 20px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

/* ================================
   TOP INFO BAR
================================ */
.top-info-bar {
  top: 0;
  width: 100%;
  z-index: 1050;

  background: #4b5563; /* premium slate */
  color: #ffffff;
  font-size: 0.9rem;
}

.top-info-bar .container {
  height: 44px;
}

/* text */
.top-info-bar i {
  color: #e5e7eb;
}

.info-left {
  opacity: 0.95;
}

.info-right span {
  white-space: nowrap;
}

/* ================================
   NAVBAR OFFSET (PENTING)
================================ */
.main-navbar {
  top: 44px; /* ikut tinggi info bar */
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .info-left {
    display: none; /* ringkas di mobile */
  }

  .top-info-bar .container {
    justify-content: center;
  }

  .info-right {
    font-size: 0.85rem;
  }
}

/* ================================
   OUR SPECIALISTS – PREMIUM
================================ */
.specialist-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

/* CARD */
.specialist-card {
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  border-radius: 28px;
  padding: 32px 26px 34px;
  text-align: center;
  height: 100%;

  box-shadow: 0 28px 65px rgba(11, 28, 45, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.specialist-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 38px 80px rgba(11, 28, 45, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* IMAGE */
.specialist-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;

  border: 5px solid #ffffff;

  box-shadow: 0 18px 40px rgba(11, 28, 45, 0.35);
}

/* NAME */
.specialist-card h5 {
  font-weight: 700;
  margin-bottom: 6px;
  color: #0b1c2d;
  letter-spacing: 0.2px;
}

/* ROLE */
.specialist-card span {
  display: inline-block;
  font-size: 0.9rem;
  color: #0d6efd;
  margin-bottom: 14px;
  font-weight: 500;
}

/* DESCRIPTION */
.specialist-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ================================
   CAROUSEL CONTROLS – PREMIUM
================================ */
#specialistCarousel .carousel-control-prev,
#specialistCarousel .carousel-control-next {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0b1c2d, #1e3a5f);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 14px 35px rgba(11, 28, 45, 0.4);
}

#specialistCarousel .carousel-control-prev:hover,
#specialistCarousel .carousel-control-next:hover {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

#specialistCarousel .carousel-control-prev-icon,
#specialistCarousel .carousel-control-next-icon {
  filter: invert(1);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .specialist-card {
    border-radius: 22px;
    padding: 26px 22px 28px;
  }

  .specialist-card img {
    width: 120px;
    height: 120px;
  }
}

/* ================================
   ABOUT ORTHOTECH
================================ */
.about-orthotech {
  background: #ffffff;
}

/* ================================
   ABOUT IMAGE – CURVED PREMIUM
================================ */
.about-image-wrapper {
  position: relative;
  display: inline-block;

  border-radius: 36px;
  overflow: hidden;

  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 45%, #06357a 100%);

  padding: 6px; /* frame nipis */
  box-shadow: 0 30px 70px rgba(11, 28, 45, 0.35);
}

/* IMAGE */
.about-logo {
  display: block;
  width: 100%;
  max-width: 320px;

  border-radius: 30px;
  background: #ffffff;
}

/* SOFT GLOW EFFECT */
.about-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  pointer-events: none;

  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.35),
    transparent 60%
  );
}

/* TITLE */
.about-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0b1c2d;
}

.about-title span {
  color: #0d6efd;
}

/* LEAD */
.about-lead {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 18px;
}

/* TEXT */
.about-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.75;
}

/* VISION & MISSION BOX */
.vision-box,
.mission-box {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-radius: 24px;
  padding: 28px 30px;
  height: 100%;
  box-shadow: 0 24px 55px rgba(11, 28, 45, 0.18);
}

/* HEADINGS */
.vision-box h4,
.mission-box h4 {
  font-weight: 700;
  color: #0b1c2d;
  margin-bottom: 12px;
}

/* MISSION LIST */
.mission-box ul {
  padding-left: 18px;
  margin: 0;
}

.mission-box li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #374151;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-title {
    font-size: 2rem;
  }

  .about-logo {
    max-width: 240px;
  }
}

/* ================================
CONTACT
  –
  PREMIUM
  MEDICAL
  ================================
  */
.contact-premium-section {
  background: linear-gradient(180deg, #0f2a44 0%, #ffffff 100%);
  padding: 120px 0;
  border-radius: 28px; /* 👈 BUCU MELENGKUNG */
}

/* TITLE */
.contact-title {
  font-weight: 800;
  color: #fff;
}

.contact-subtitle {
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

/* CARD */
.contact-premium-card {
  background: #ffffff;
  border-radius: 36px;
  padding: 60px 60px;

  box-shadow: 0 40px 90px rgba(11, 28, 45, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* INFO LIST */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-info-list strong {
  display: block;
  color: #0b1c2d;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-list p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

/* ICON CIRCLE */
.icon-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-right: 18px;

  background: linear-gradient(135deg, #0d6efd, #0a58ca);

  color: #ffffff;
  font-size: 1.1rem;

  box-shadow: 0 14px 35px rgba(13, 110, 253, 0.45);
}

/* SOCIAL */
.social-premium {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-premium a {
  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #0d6efd, #0a58ca);

  color: #ffffff;
  font-size: 1.2rem;

  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.45);
  transition: all 0.3s ease;
}

.social-premium a:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 28px 65px rgba(13, 110, 253, 0.55);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .contact-premium-card {
    padding: 36px 26px;
    border-radius: 24px;
  }

  .social-premium {
    margin-top: 30px;
  }
}

/* ================================
   FOOTER COPYRIGHT – PREMIUM
================================ */
.footer-copyright {
  font-weight: bolder;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.4px;

  color: rgba(255, 255, 255, 0.75);

  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* brand highlight */
.footer-copyright span {
  color: #ffffff;
  font-weight: bolder;
}

/* responsive fine-tune */
@media (max-width: 576px) {
  .footer-copyright {
    font-size: 0.85rem;
    padding-top: 18px;
  }
}
