 .header {
  background: linear-gradient(90deg, #d80415ff 0%, #d41920ff 100%) !important;
}
#hero.dark-background::before {
  background: rgba(14, 13, 13, 0.7); 
}
.all-page {
  padding-top: 80px !important;
}

.area-card {
  color: white;
  height: 180px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.area-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.area-card h1, 
.area-card h5 {
  color: white;
  margin: 0;
}

.feature-boxes,
.feature-boxes * {
  color: #fff !important;
}


.dropdown-menu {
    position: absolute;  
    z-index: 2000 !important; 
}


#call-to-action img {
    position: relative;  
    z-index: 1;          
}

.card {
    position: relative; 
    z-index: 10;         
}

#hero {
  position: relative;
  min-height: 650px; 
  overflow: visible !important;
  z-index: 1;
}

.feature-boxes {
  position: relative; 
  top:-120px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;   
  z-index: 10;
  background: transparent !important;
}
 .feature-boxes .col-md-4 {
    margin-top:0; 
    padding: 0;
  }

.feature-boxes .row,
.feature-boxes .container {
  background: transparent !important;
}


/* Box style */
.box-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 45px 20px;
  min-height: 160px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0px 8px 18px rgba(0,0,0,0.15);
}


.box-item:hover {
  transform: translateY(-8px);
  box-shadow: 0px 12px 25px rgba(0,0,0,0.25);
}

.box-item i {
  font-size: 36px;
  margin-bottom: 10px;
}

.box-blue {
  background: #ce303dff;
}

.box-dark {
 background: #b71c1c;}

.box-dark2 {
  background: #7f0f0f;;
}

.cta-btn {
  background: #ffffff;
  color:  #d41920ff; 
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;}

.cta-btn:hover {
  background:linear-gradient(90deg, #d80415ff 0%, #d41920ff 100%) !important;
  color: #fff; 
}
.about-tancorp {
  position: relative;
  background: #f7f7f7;
  margin-left: -10%;
  padding-left: 0;
  margin-top:-200px;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0; 
}

.about-image img {
  width: 40%;         
  height: auto;      
  object-fit: contain;
  display: block;
}
.about-box {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  background: #8b000f;
  color: #fff;
  width: 48%;          
  padding: 40px 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Garis kecil */
.about-line {
  width: 60px;
  height: 3px;
  background: #fff;
  border: none;
  opacity: 1;
}

.card {
    height: 320px; /* tinggi card sama semua */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img-top {
    height: 180px; 
    object-fit: cover; 
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sitename {
    position: relative;
    top: 10px;
}

.text-limit {
  max-width: 800px;  
  margin: 0 auto;
  margin-left:0px;
}

.faq-section .accordion-button {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 500;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
}

.faq-section .accordion-body a.btn {
  margin-top: 10px;
}

#footer {
  background: linear-gradient(90deg, #d80415 0%, #d41920 100%);
  color: #fff;
  font-size: 15px;
  padding: 50px 0 25px;
}

/* Warna dasar teks & link */
#footer p,
#footer a,
#footer span {
  color: #f2f2f2;
}

/* Judul kolom */
#footer h3.footer-logo {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 18px;
}

#footer h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

#footer .row > div {
  text-align: center;
}


/* List link */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #e8e8e8;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffd700;
}

/* Social icons */
#footer .social-links a {
  font-size: 20px;
  margin-right: 12px;
  color: #fff;
  transition: 0.3s;
}

#footer .social-links a:hover {
  color: #ffd700;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 25px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #eee;
}


.social-links a {
  font-size: 22px;
  color: #fff;
  transition: .3s;
}

.social-links a i {
  background: #8b000f;
  padding: 8px;
  border-radius: 50%;
  font-size: 18px;
}

.social-links a:hover {
  color: #ffd700;
}

.footer-bottom {
  background: #8b000f;
  font-size: 14px;
}

.contact-map{
  margin-top: -80px;
}

.unit-bisnis {
  background-color: #fff;
  color: #000;
}

.unit-bisnis h2 {
  font-weight: 700;
}

.unit-bisnis p {
  line-height: 1.6;
  margin-bottom: 1.2rem;
}


/* Responsive umum untuk tablet & HP */
@media (max-width: 991px) {
  
     #header .container, 
  #header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Logo tetap di kiri */
  #header .logo {
    order: 1;
    margin-left: 5px !important;
  }

  /* Foto profil di tengah kanan */
  #header .d-flex.align-items-center {
    order: 2;
    margin-left: auto;
    margin-right: 5px;
    position: static !important;
  }

  #header .d-flex.align-items-center img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }

 
  /* #header .d-flex.align-items-center span {
    display: none !important;
  } */

  .mobile-nav-toggle {
    order: 3;
    margin-left: 0;
    margin-right: 0;
  }

  .about-box {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 20px;
  }

  .box-item {
    padding: 30px 15px;
    min-height: 130px;
  }

  .about-image img {
    width: 70%;
  }

  .about-box {
    width: 100%;
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    margin-top: 15px;
    padding: 30px 25px;
  }

  .about-tancorp {
    margin-left: 0;
    padding-left: 0;
  }

  .sitename {
    font-size: 13px !important;
  }

  header .logo img {
    width: 38px !important;
  }

   #footer .row {
    padding-left: 0 !important;
  }

  #footer .col-lg-4 {
    padding-right: 0 !important;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .all-page {
      padding-top: -50px !important;
    }
  

   #footer {
    text-align: center;
  }

  #footer h4 {
    justify-content: center !important;
  }

  #footer .social-links {
    justify-content: center;
  }

  #footer .col-lg-4 {
    margin-bottom: 25px;
  }

  #footer .footer-bottom .container {
    font-size: 13px;
    flex-direction: column;
    text-align: center;
  }
   .unit-bisnis .container {
    flex-direction: column;
  }
  .unit-bisnis .text-content,
  .unit-bisnis .image-content {
    flex: 1 1 100%;
    padding-right: 0;
    text-align: center;
  }
  .image-content img {
    margin: 20px 0;
  }
 
}

@media (max-width: 576px) {
  .box-item i {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .all-page {
      padding-top: -50px !important;
    }

  .box-item {
    font-size: 13px;
    padding: 22px 12px;
  }

  #hero {
    min-height: 520px;
  }


  .about-image img {
    width: 100%;
  }

  .about-box {
    padding: 25px 18px;
    font-size: 14px;
  }

  .card {
    height: auto; /* biar mengikuti tinggi konten */
  }

  .card-img-top {
    height: 150px;
  }

  h1.sitename {
    font-size: 12px !important;
  }

  .cta-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  #footer h3.footer-logo {
    font-size: 24px;
  }

  #footer p, #footer li, #footer a {
    font-size: 13px;
  }

   #footer {
    font-size: 14px;
  }

  #footer p {
    font-size: 14px;
  }

  #footer h4 {
    font-size: 15px;
  }

  #footer .social-links a {
    font-size: 18px;
    margin-right: 10px;
  }
  #footer .row > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
  }
  #footer .social-links {
    justify-content: center;
  }
   .area-card {
      height: 160px;
      font-size: 14px;
    }
   .feature-boxes {
    width: 100%;
    left: 0;
    transform: none;
    margin-top:30%;
  }

  .feature-boxes .row {
    margin: 0;
  }

  .feature-boxes .col-md-4 {
    width: 100%;
  }

  .feature-boxes .box-item {
    height: 200px;
    padding: 40px 0;
  }

}
