:root {
  --blue: #256ea1;
  --oldblue-color: #003d80;
  --green: rgb(56,200,211);
  --yellow: #f4c430;
  --text-dark: #1f242d;
  --text-muted: #6b7280;
  --bg-section: #e9f5eb;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

a {
  text-decoration: none;
}

/* navbar */
.navbar .container {
  display: flex;
  align-items: center;
}

.navbar-toggler {
  padding: 4px 8px;
  margin-left: auto;
}



.navbar {
  background-color: white;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  padding-left: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 22px;
  font-weight: bold;
  color: var(--blue);
}

.brand-tagline {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted) !important;
}

.navbar ul li a {
  color: var(--text-dark);
}

.navbar ul li a:hover {
  color: var(--blue);
}

.navbar-brand span {
  color: var(--blue);
}

@media (max-width: 768px) {
  
  .navbar ul li a:hover {
    color: white;
    background-color: var(--oldblue-color);
  }

.brand-logo img {
  width: 60px;
}

  .brand-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--blue);
  }
  
  .brand-tagline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted) !important;
  }


  .kontakKami {
    margin-top: 7px;
  }
}

.kontakKami {
  margin-left: 10px;
}

.btncolor {
  background-color: var(--green);
  color: white;
}

.btncolor:hover {
  background-color: var(--blue);
  color: white;
}

/* ============================================================================== */

/* ===============================
   HERO SECTION
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(9, 46, 94, 0.85), rgba(9, 46, 94, 0.85)),
    url("../img/service4.jpg");

  display: flex;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  padding-top: 75px;
  font-family: "Inter", sans-serif;
  color: #ffffff;
}

/* Overlay (optional jika pakai elemen terpisah) */
.hero-overlay {
  display: none;
}

/* ===============================
   CONTENT
================================ */
.hero-content {
  max-width: 900px;
  z-index: 2;
}

/* Badge */
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgb(56,200,211);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Title */
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--green);
}

/* Description */
.hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #d1d5db;
  max-width: 720px;
  margin: 0 auto 40px;
}

/* ===============================
   BUTTONS
================================ */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Primary */
.btn-primary {
  background-color: var(--green);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: var(--blue);
  transform: translateY(-5px);
}

/* Outline */
.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--blue);
  border: none;
  transform: translateY(-5px);
}

/* ===============================
   SCROLL INDICATOR
================================ */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
  0% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: rotate(45deg) translate(6px, 6px);
    opacity: 0;
  }
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-desc {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-badge {
    font-size: 12px;
  }
}

/* ========================================================================= */

/* about */
#about {
  padding-top: 75px;
  padding-bottom: 50px;
}
.about-section {
  padding: 60px 0;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.about {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-img {
  flex: 1;
  position: relative;
}

.about-img img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.about-img::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 80px;
  height: 80px;
  background: var(--blue);
  border-radius: 12px;
  z-index: -1;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  color: var(--blue);
  margin-bottom: 12px;
}

.about-content p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}

.highlight {
  color: var(--green);
  font-weight: bold;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #333;
}

.check {
  width: 20px;
  height: 20px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }
}

/* layanan */

/* ===============================
   SECTION WRAPPER
================================ */
#layanan {
  padding-top: 75px;
}
.layanan {
  background-color: var(--bg-section);
  padding: 80px 20px;
  font-family: "Inter", sans-serif;
}

/* ===============================
   HEADER
================================ */
.layanan-header {
  text-align: center;
  margin-bottom: 60px;
}

.layanan-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.layanan-header .underline {
  width: 50px;
  height: 4px;
  background-color: var(--green);
  margin: 0 auto 16px;
  border-radius: 4px;
}

.layanan-header p {
  font-size: 16px;
  color: #333;
}

/* ===============================
   GRID
================================ */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   CARD
================================ */
.layanan-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.layanan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

/* ===============================
   CARD BORDER & HOVER
================================ */
.card-blue {
  border-top: 5px solid var(--blue);
}

.card-blue:hover .icon-blue {
  background-color: var(--blue);
  color: white;
}

.card-green {
  border-top: 5px solid var(--green);
}

.card-green:hover .icon-green {
  background-color: var(--green);
  color: white;
}

.card-yellow {
  border-top: 5px solid var(--yellow);
}

.card-yellow:hover .icon-yellow {
  background-color: var(--yellow);
  color: white;
}

/* ===============================
   ICON
================================ */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.icon-blue {
  background-color: rgba(11, 94, 215, 0.12);
  color: var(--blue);
}

.icon-green {
  background-color: rgba(108, 207, 155, 0.25);
  color: var(--green);
}

.icon-yellow {
  background-color: rgba(244, 196, 48, 0.25);
  color: var(--yellow);
}

/* ===============================
   TEXT
================================ */
.layanan-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.layanan-card p {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ===============================
   LINK
================================ */
.layanan-card a {
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-blue {
  color: var(--blue);
}

.link-green {
  color: var(--green);
}

.link-yellow {
  color: var(--yellow);
}

.layanan-card a:hover {
  text-decoration: none;
  font-size: 18px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .layanan {
    padding: 60px 16px;
  }

  .layanan-header h2 {
    font-size: 28px;
  }
}
/* ======================================================================================================= */
/* jadwal */
#jadwal {
  padding-top: 75px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

#jadwal:before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.15); 
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
}

.jadwal-header h2 {
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 10px;
}

.jadwal-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--green);
  margin: 10px auto 0;
  border-radius: 2px;
}

.jadwal-header p {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 600px;
  margin: 15px auto 0;
}

.caption2 p {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 40px;
}

.ilustrasi-wrapper {
  display: flex;
  justify-content: center; /* tengah horizontal */
  align-items: center;
}

.ilustrasi-wrapper img {
  width: 80%;
}

#jadwal .btn-outline-primary {
  color: white;
  background-color: var(--green);
  border: none;
}

#jadwal .btn-outline-primary:hover {
  background-color: var(--blue);
  color: white;
  border-color: var(--blue);
  transform: translateY(-5px);
}




.badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
}

/* Kategori */
.badge-it {
  background-color: #e0ecff;
  color: #0b57d0;
}

.badge-sdm {
  background-color: #dcfce7;
  color: #166534;
}

.badge-gray {
  background-color: #e5e7eb;
  color: #374151;
}

.badge-cert {
  background-color: #fef9c3;
  color: #92400e;
}

/* Status */
.badge-open {
  background-color: #bbf7d0;
  color: #166534;
}

.badge-full {
  background-color: #fecaca;
  color: #991b1b;
}

/* Table */
.table th {
  font-size: 14px;
  text-transform: uppercase;
  background-color: var(--main-color);
  color: white;
}

.table td {
  font-size: 14px;
}

/* =========================================================================================================== */
/* galeri */
/* Section */
#galeri {
  padding-top: 75px;
  padding-bottom: 30px;
  background-color: rgb(255, 250, 250);
}

.galeri {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Header */
.galeri-header {
  text-align: center;
  margin-bottom: 40px;
}

.galeri-header h2 {
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 10px;
}

.galeri-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--green);
  margin: 10px auto 0;
  border-radius: 2px;
}

.galeri-header p {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 600px;
  margin: 15px auto 0;
}

/* Grid */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-columns: auto auto auto; */
  gap: 25px;
}

/* Item */
.galeri-item {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  position: relative;
}

.galeri .item2 {
  grid-column: span 2;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Overlay biru transparan */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 70, 160, 0.6); /* biru transparan */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeri-item:hover .overlay {
  opacity: 1;
}

.galeri-item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeri .item2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .galeri-grid {
    grid-template-columns: 1fr;
  }

  .galeri-header h2 {
    font-size: 28px;
  }
  .galeri .item2 {
    grid-column: span 1;
  }
}
/* ========================================================================= */
/* kontak form */
#kontakform {
  background: var(--oldblue-color);
  padding-top: 75px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.contact-wrapper {
  display: flex;
  max-width: 1100px;
  margin: auto;
  gap: 30px;
  background: var(--oldblue-color);
  color: #fff;
}

#kontakform:before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.15); 
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
}

/* INFO */
.info {
  flex: 1;
  color: #fff;
}

.info h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: bold;
}

.info p {
  line-height: 1.6;
  font-size: 18px;
}

.info-icon {
  margin-right: 5px;
  font-size: 18px;
}

.info ul {
  list-style: none;
  padding: 0;
}

.info li {
  margin-bottom: 12px;
}

.info .info-text {
  font-weight: bold;
  font-size: 18px;
}

.info .info-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-left: 22px;
  font-size: 18px;
}
.info .info-name2 {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-left: 27px;
  font-size: 18px;
}
.info .info-name3 {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-left: 27px;
  font-size: 18px;
}

.ikutiKami {
  font-size: 18px;
  font-weight: bold;
}

.social-media {
  margin-top: 25px;
  margin-bottom: 30px;
}

.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--blue);
  border-radius: 50%;
  margin-right: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.social-media a:hover {
  background-color: var(--green);
  color: white;
  transform: translateY(-5px);
}

/* FORM BOX */
.form-box {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.form-text {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
}

.form-box input,
.form-box select,
.form-box textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.form-box textarea {
  height: 110px;
  resize: none;
}

.form-box button {
  width: 100%;
  padding: 14px;
  background: var(--green);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.form-box button:hover {
  background: var(--blue);
}

/* responsive brake point  */
/* Tablet (≤ 900px)*/
@media (max-width: 900px) {
  .contact-wrapper {
    gap: 20px;
  }

  .form-box {
    padding: 25px;
  }
}
/* Mobile (≤ 600px)*/
@media (max-width: 600px) {
  .contact-wrapper {
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
  }

  .info {
    text-align: center;
  }

  .info ul {
    margin-top: 20px;
  }

  .form-box {
    padding: 20px;
  }
}

/* =================================================================================================================== */

/* Footer */
.footer {
  background-color: var(--blue);
  color: #ffffff;
  padding: 20px 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left h3 {
  font-size: 18px;
  font-weight: bold;
}

.footer-left p {
  font-size: 13px;
  opacity: 0.9;
}

.footer-right {
  text-align: right;
  font-size: 12px;
}

.footer-links {
  margin-top: 5px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
  opacity: 0.9;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

.footer-links span {
  opacity: 0.6;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-right {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ========================================================== */

/* Whatsapp floating button */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  background-color: var(--green);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.float:hover {
  background-color: #fff;
  color: var(--green);
}

.my-float {
  margin-top: 16px;
}


/* Responsive - Mobile */
@media (max-width: 768px) {
  .float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 40px;
    left: 40px;
    background-color: var(--green);
    color: #fff;
    border-radius: 50px;
    /* text-align: center; */
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
  }
  .my-float {
    margin-top: 5px;
    margin-left: 3px;
  }
}
