/* CSS Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Container umum untuk menjaga konten tetap terpusat */
.site-header, .banner-square, .journey-section, 
main, .faq-section, .home-blog, .edu-note, 
footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: #1a365d;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin: 2rem 0 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #e53e3e;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #2d3748;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Header Styles */
.site-header {
    background-color: #1a365d;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 40px;
    width: 200px;
    display: block;
}

/* Navigation Styles */
.nav-desktop {
    display: none;
}

.nav-desktop a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: #ecc94b;
}

.nav-desktop a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ecc94b;
    transition: width 0.3s;
}

.nav-desktop a:hover:after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    background-color: #2d3748;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-mobile a {
    color: white;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #4a5568;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-mobile a:hover {
    color: #ecc94b;
}

.nav-mobile a:last-child {
    border-bottom: none;
}

/* Banner Section */
.banner-square {
    margin-top: 30px;
    margin-bottom: 40px;
}

.banner-box {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    border-radius: 12px;
    padding: 40px 30px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.banner-label {
    display: inline-block;
    background-color: #e53e3e;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.banner-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.banner-title:after {
    display: none;
}

.banner-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
}

/* Journey Section */
.journey-section {
    margin: 50px auto;
}

.journey-heading {
    text-align: center;
    margin-bottom: 40px;
}

.journey-heading:after {
    left: 50%;
    transform: translateX(-50%);
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.journey-step {
    background-color: white;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.journey-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.journey-step-num {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(26, 54, 93, 0.1);
    line-height: 1;
}

.journey-title {
    margin-top: 0;
    color: #1a365d;
}

.journey-desc {
    color: #4a5568;
}

/* Main Content */
main {
    background-color: white;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

main h1 {
    margin-top: 0;
}

main section {
    margin-bottom: 40px;
}

main h2 {
    margin-top: 0;
}

/* FAQ Section */
.faq-section {
    background-color: white;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #1a365d;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: #4a5568;
    margin-bottom: 0;
}

/* Home Blog Section */
.home-blog {
    margin-bottom: 40px;
}

.home-blog-head {
    text-align: center;
    margin-bottom: 40px;
}

.home-blog-head h2 {
    margin-top: 0;
}

.home-blog-head p {
    max-width: 800px;
    margin: 0 auto 20px;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.home-blog-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.home-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.home-blog-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.home-blog-card h3 a {
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s;
}

.home-blog-card h3 a:hover {
    color: #e53e3e;
}

.home-blog-card p {
    color: #4a5568;
    margin-bottom: 0;
}

/* Edu Note Section */
.edu-note {
    margin-bottom: 50px;
}

.edu-note-inner {
    background-color: #f7fafc;
    border-left: 5px solid #e53e3e;
    padding: 30px;
    border-radius: 0 10px 10px 0;
}

.edu-note h2 {
    margin-top: 0;
}

/* Footer */
footer {
    background-color: #1a365d;
    color: white;
    padding: 40px 20px;
    border-radius: 12px 12px 0 0;
}

.footer-context {
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #ecc94b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
}

/* Responsive Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    /* Desktop Navigation */
    .nav-desktop {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav-mobile {
        display: none !important;
    }
    
    /* Journey Grid */
    .journey-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Home Blog Grid */
    .home-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .header-inner, .banner-box, .journey-inner,
    main, .faq-section, .home-blog-inner,
    .edu-note-inner, .footer-inner {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation untuk langkah-langkah */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey-step, .home-blog-card {
    animation: fadeInUp 0.5s ease-out forwards;
}

.journey-step:nth-child(2) {
    animation-delay: 0.2s;
}

.journey-step:nth-child(3) {
    animation-delay: 0.4s;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1a365d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d3748;
}

/* ===============================
   BANNER SQUARE (CONTENT-BASED)
================================ */
.banner-box{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
}

/* Image tetap konten */
.banner-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay biar teks kebaca */
.banner-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(15,23,42,0.85),
    rgba(30,41,59,0.85)
  );
  z-index:1;
}

/* Teks di atas overlay */
.banner-content{
  position: relative;
  z-index:2;
  padding: 36px;
  max-width: 820px;
  color:#ffffff;
}

.banner-label{
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  display:inline-block;
  margin-bottom:10px;
}

.banner-title{
  margin:0 0 12px;
  font-size: 28px;
}

.banner-desc{
  font-size: 16px;
  line-height:1.6;
  max-width: 640px;
}

/* Mobile */
@media (max-width:768px){
  .banner-content{
    padding: 28px 22px;
  }

  .banner-title{
    font-size: 22px;
  }
}