body {
     margin: 0;
    padding: 0;
}
/* HERO  */
#hero {
  margin-top: 120px; 
}

.hero-card {
  background: url("../images/bg.jpg") center/cover no-repeat;
  background-size: cover;  
  border-radius: 25px;
  padding: 50px;
  min-height: 250px;
  color: rgb(243, 246, 255);

  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.479);

  position: relative; 
  overflow: hidden;
  z-index: 1;
}

/* OVERLAY GELAP */
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); 
  border-radius: inherit;
  z-index: 0;
}

/* Pastikan teks & gambar di atas overlay */
.hero-card * {
  position: relative;
  z-index: 2;
  
}

.hero-text {
  flex: 1;
}

.hero-image img {
  width: 300px;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .hero-card {
    flex-direction: column;      
    align-items: center;        
    text-align: center;          
    padding: 35px;
  }
  .hero-image img {
      width: 250px;   
    margin-top: 20px;
  }
}



.navbar-brand {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    font-size: 1.5rem;
    color: #ffffff;
}

/* ABOUT SECTION */
.about-card {
  background: #3a415a;
  position: relative;
  border-radius: 25px;

  padding: 50px;
  min-height: 320px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;   
  gap: 50px;                 

  color: #ffffff;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(2, 0, 10, 0.457), rgba(32, 27, 52, 0.457));
  border-radius: 25px;
  z-index: 0;
}

/* AGAR TEKS & FOTO DI DEPAN */
.about-text,
.about-image {
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1;
  padding-right: 20px; 
}

/* FOTO PROFIL */
.about-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    text-align: center;
    padding: 35px;
    gap: 40px;
    align-items: center;  
  }

  .about-text {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .about-image img {
    width: 260px;
    height: 260px;
  }
}




footer {
    background-color: #3a415a;
    text-align: center;
    padding: 1rem 0;
    width:100%;
    bottom: 0;
    color: #ffffff;

}
.footer-link {
  color: #cccccc;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
  transition: 0.3s;
}

.footer-section {
  background-color: #1f1f1f;
  color: #ffffff;
}

.footer-link:hover {
  color: #8c97be;
  padding-left: 6px;  
}

.social-icon {
  font-size: 26px;
  color: #cccccc;
  transition: 0.3s ease-in-out;
  align-items: center;
}

.social-icon:hover {
  color: #808cc4;
  transform: scale(1.15);
}


.sos-link {
  color: #000000;
  text-decoration: none;
}

.sos-link:hover {
  color: #46575b;
  text-decoration: underline;
}
.carousel-item img {
    max-height: 400px;
    object-fit: cover;
}

#portfolio-grid {
    padding-bottom: 120px; 
}


/* Timeline Line */
.timeline {
  border-left: 3px solid #4a6fa5;
  margin-left: 20px;
  padding-left: 20px;
}

.timeline-item {
  margin-bottom: 25px;
  position: relative;
}



/* Accordion */
.accordion input {
  display: none;
}

.accordion .content {
  max-height: 0;
  overflow: hidden;
  background: #f1f1f1;
  padding: 0 16px;
  border-radius: 6px;
  transition: max-height 0.3s ease;
}

.accordion input:checked ~ .content {
  max-height: 300px;
  padding: 16px;
}

