


.hero-container {
  position: relative;
  min-height: 100vh;   /* at least full screen */
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;            /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;  /* makes image cover text */
  z-index: 1;
}

.hero-overlay {
  position: relative; /* not absolute */
  z-index: 2;
  display: flex;
  align-items: center;      /* vertical center */
  min-height: 100vh;        /* important for mobile */
  padding-left: 80px;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 40px;
  line-height: 1.2;
}

.title-ultra {
  font-family: "Gotham", Arial, sans-serif;
  font-weight: 800; /* Gotham Ultra */
}

.title-medium {
  font-family: "Gotham", Arial, sans-serif;
  font-weight: 500; /* Gotham Medium */
}

.hero-subtitle {
  font-size: 21px;
  font-weight: 300;
  margin-bottom: 24px;
}

.hero-description p {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 12px;
  text-align: justify;
}

@media (max-width: 768px) {
  .hero-overlay {
    padding-left: 24px;
    padding-right: 24px;
  }
}



/* =========================
   SECOND HERO (cards)
   ========================= */
.hero-container.hero-cards {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* background image */
.hero-container.hero-cards .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* overlay */
.hero-container.hero-cards .hero-overlay {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

/* content wrapper */
.hero-container.hero-cards .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* rows */
.hero-container.hero-cards .hero-row {
  display: flex;
  gap: 32px;
}

.hero-container.hero-cards .hero-row-1 {
  justify-content: center;
}

/* clickable cards (row 2 & 3) */
.hero-container.hero-cards .hero-card {
  display: block;
  width: 50%;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;

  /* box-shadow: 0 8px 20px rgba(0,0,0,0.12); */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* card images */
.hero-container.hero-cards .hero-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* hover effect */
.hero-container.hero-cards .hero-card:hover {
  transform: translateY(-6px);
  /* box-shadow: 0 14px 32px rgba(0,0,0,0.18); */
}

/* row 1 image */
.hero-container.hero-cards .hero-row-1 img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

/* mobile */
@media (max-width: 768px) {
  .hero-container.hero-cards .hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-container.hero-cards .hero-row {
    flex-direction: column;
  }

  .hero-container.hero-cards .hero-card {
    width: 100%;
  }
}

/* =========================
   HERO 3 (About section)
   ========================= */
.hero-container.hero-about {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* background */
.hero-container.hero-about .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* overlay */
.hero-container.hero-about .hero-overlay {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

/* content wrapper */
.hero-container.hero-about .hero-content {
  max-width: 900px;
  padding-left: 80px;
  padding-right: 80px;

  display: flex;
  flex-direction: column;
  align-items: center;   /* center horizontally */
  text-align: center;    /* center text */
  gap: 32px;
}

/* clickable image */
.hero-container.hero-about .about-image {
  display: inline-block;
  overflow: hidden;
  cursor: pointer;

  /* box-shadow: 0 10px 28px rgba(0,0,0,0.15); */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-container.hero-about .about-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* hover effect */
.hero-container.hero-about .about-image:hover {
  transform: translateY(-6px);
  /* box-shadow: 0 16px 40px rgba(0,0,0,0.22); */
}

/* text */

.hero-container.hero-about .about-text p {
    font-size: 27px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* mobile */
@media (max-width: 768px) {
  .hero-container.hero-about .hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.video-container {
        width: 90%; /* Mengambil 90% layar di HP */
        max-width: 800px; /* Maksimal lebar 800px di layar komputer (tidak fullscreen) */
        margin: 40px auto; /* Membuatnya berada persis di tengah (center) horizontal */
        border-radius: 12px; /* Sudut melengkung */
        overflow: hidden; /* Memastikan video tidak keluar dari sudut melengkung */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Efek bayangan gelap di sekitarnya */
        background-color: #000000; /* Latar hitam jika video belum memuat */
        display: flex;
    }

    .video-container video {
        width: 100%;
        height: auto;
        display: block;
    }

    /* =========================
       MODAL (VISI MISI)
       ========================= */
/* =========================================
   KOTAKI MODAL COMPLETE CSS
   ========================================= */

/* --- 1. Base Modal & Overlay --- */
.modal {
    display: none; /* JS toggles to flex */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-content: center;
    align-items: center; 
    padding: 15px;
}

.modal-content {
    width: 100%;
    max-width: 650px;
    max-height: calc(100vh - 180px); /* Gives breathing room around the edges */
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Keeps the rounded corners intact */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- 2. Close Button --- */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ffffff;
    color: #4a4a4a; /* Dark gray for the 'x' so it stands out */
    width: 32px;
    height: 32px;
    border-radius: 50%; /* Makes it a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Soft drop shadow */
    transition: all 0.2s ease;
    z-index: 10;
}

.close-btn:hover {
    background-color: #f8f8f8;
    
}

/* --- 3. Modal Header (Fixed Position) --- */
.ktk-modal-header {
    background: linear-gradient(135deg, #e4b341 0%, #d89b2b 100%);
    padding: 40px 20px 30px;
    text-align: center;
    flex-shrink: 0; /* Prevents the header from squishing when scrolling */
}

.ktk-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* --- 4. Modal Body (Scrollable Area) --- */
.ktk-modal-body {
    background-color: #fafafa;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: auto; /* Enables vertical scrolling */
    flex: 1; /* Takes up all remaining space below the header */
}

/* Custom Webkit Scrollbar for Modal Body */
.ktk-modal-body::-webkit-scrollbar {
    width: 6px;
}
.ktk-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
.ktk-modal-body::-webkit-scrollbar-thumb {
    background: #e4b341; 
    border-radius: 10px;
}

/* --- 5. Logo & Description --- */
.ktk-logo-wrapper {
    margin-bottom: 25px;
}

.ktk-logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #ffffff;
    object-fit: contain;
    padding: 10px;
    box-shadow: 0 0 25px rgba(228, 179, 65, 0.25);
}

.ktk-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 650px;
    margin: 0 auto 45px auto;
}

/* --- 6. Visi Section --- */
.ktk-visi-section {
    padding-top: 10px;
}

.ktk-visi-title {
    font-family: 'Georgia', serif;
    color: #2c3e50;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ktk-eye-icon {
    width: 24px;
    height: 24px;
    stroke: #e4b341;
}

.ktk-visi-card {
    background-color: #ffffff;
    border-left: 6px solid #e4b341;
    border-radius: 8px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    max-width: 650px;
    margin: 0 auto;
}

.ktk-visi-card p {
    margin: 0;
    font-style: italic;
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

/* --- 7. Misi Section --- */
.ktk-misi-section {
    padding-top: 40px;
    padding-bottom: 20px;
}

.ktk-misi-title {
    font-family: 'Georgia', serif;
    color: #2c3e50;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.ktk-target-icon {
    width: 24px;
    height: 24px;
    stroke: #e4b341;
}

.ktk-misi-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 650px;
    margin: 0 auto;
}

.ktk-misi-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.ktk-misi-number {
    background-color: #e4b341;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ktk-misi-card p {
    margin: 0;
    font-size: 14.5px;
    color: #4a4a4a;
    line-height: 1.6;
    text-align: left;
}

/* --- 8. Mobile Responsiveness --- */
@media (max-width: 600px) {
    .ktk-modal-header {
        padding: 40px 15px 25px;
    }
    
    .ktk-modal-header h2 {
        font-size: 24px;
    }
    
    .ktk-modal-body {
        padding: 30px 15px;
    }
    
    .ktk-logo {
        width: 100px;
        height: 100px;
    }
    
    .ktk-visi-card {
        padding: 20px;
    }
    
    .ktk-misi-card {
        padding: 15px;
        gap: 12px;
    }

    .ktk-nilai-grid {
        grid-template-columns: 1fr; /* Stacks the cards into 1 column on mobile */
    }
    
    .ktk-nilai-card {
        padding: 15px;
    }
}

/* --- 9. Nilai-Nilai Section --- */
.ktk-nilai-section {
    padding-top: 40px;
    padding-bottom: 20px;
}

.ktk-nilai-title {
    font-family: 'Georgia', serif;
    color: #2c3e50;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.ktk-plant-icon {
    width: 28px;
    height: 28px;
}

.ktk-nilai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates 2 equal columns */
    gap: 15px;
    max-width: 650px;
    margin: 0 auto;
}

.ktk-nilai-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    text-align: left; /* Ensures text aligns left inside the grid */
}

.ktk-nilai-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #e4b341; /* Applies KOTAKI yellow to the SVGs */
}

.ktk-nilai-icon svg {
    width: 100%;
    height: 100%;
}

.ktk-nilai-content h4 {
    margin: 0 0 6px 0;
    font-family: 'Georgia', serif; /* Matches the serif style from the image */
    font-size: 16px;
    color: #2c3e50;
}

.ktk-nilai-content p {
    margin: 0;
    font-size: 13.5px;
    color: #666666; /* Slightly lighter gray for the description */
    line-height: 1.5;
}