/* =============================================== */
/* ==      MOBILE-ONLY STYLESHEET - V1.0      == */
/* =============================================== */

/* Basic Setup */
body {
    margin: 0;
    font-family: 'Koho', sans-serif;
    background-color: #1e2a40; 
    color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Helper Class */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem; /* Add side padding */
    box-sizing: border-box;
}


/* ============ HERO SECTION (SFF DESIGN) ============ */
.hero-section {
    min-height: 100vh;
    width: 100%;
    /* NOTE: You can replace this background with your new one */
    background-image: linear-gradient(rgba(30, 42, 64, 0.6), rgba(30, 42, 64, 0.9));
    background-size: cover;
    background-position: center;
    
    display: flex;
    flex-direction: column;
    padding: 1rem; /* Reduced padding slightly */
    box-sizing: border-box;
}

/* NEW: Header Styles */
.hero-header {
    display: flex;
    justify-content: flex-start; /* Align logo to the left */
    align-items: center;
    width: 100%;
    padding: 0.5rem 0.5rem;
    flex-shrink: 0;
}
/* UPDATED: Made the header logo responsive */
.header-logo img {
    width: 45%;         /* Set width relative to the screen */
    max-width: 180px;   /* Prevent it from getting too large */
    height: auto;       /* Ensure the aspect ratio is maintained */
}


/* Main Content Area */
.hero-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

/* FIX: Made hero logo responsive using a percentage and height: auto */
.hero-acces-logo {
    max-width: 80%;
    height: auto;
    margin-bottom: 1.5rem;
}

/* NEW: Headline Styles */
.hero-headline {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
}
.hero-headline span {
    display: block; /* Each span on a new line */
    letter-spacing: 1px;
}

/* NEW: Description Style */
.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.9;
    max-width: 400px; /* Constrain width for readability */
    margin: 0 0 2rem 0;
}

/* NEW: Button Group & Secondary Button */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 350px; /* Limit button width */
}

.cta-button {
    display: block;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    border: 2px solid #F5E1AB;
}
.cta-button.primary {
    background-color: #F5E1AB;
    color: #131c2b;
}
.cta-button.secondary {
    background-color: transparent;
    color: #F5E1AB;
}
.cta-button:active {
    transform: scale(0.98);
}

/* ============ PROGRAM DETAILS & PARTNERS SECTION ============ */
.details-section {
    background-color: #22476D;
    padding: 3rem 0;
}

.program-overview {
    display: flex;
    flex-direction: column; /* Stack logo and text */
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    background-color: #1e2a40;
    padding: 2rem 1.5rem;
    border-radius: 10px;
}

.overview-logo-box {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    width: 80%;
}

.overview-logo-box img {
    max-width: 100%;
    height: auto;
}

/* UPDATED: Styles for the new "Manfaat" horizontal layout */
.overview-text {
    width: 100%;
}

.manfaat-title {
    color: #F5E1AB;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.manfaat-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between each benefit item */
}

.manfaat-item {
    display: flex;
    flex-direction: row; /* Aligns icon and text horizontally */
    align-items: center;  /* Vertically centers icon with text */
    text-align: left;
}

.manfaat-item .manfaat-icon {
    flex-shrink: 0;
    max-width: 60px; /* UPDATED: Reduced icon size */
    height: auto;
    margin-right: 1.2rem; /* Space between icon and text */
}

.manfaat-item p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}
/* End of Manfaat styles */

.overview-text strong {
    color: #F5E1AB;
}

/* UPDATED: Changed to horizontal layout for "Fokus Utama" */
.main-focus {
    display: flex;
    flex-direction: row; /* Lays out icon and text side-by-side */
    align-items: center; /* Vertically aligns icon and text */
    text-align: left;
    gap: 1.5rem; /* Space between icon and text block */
    background-color: #131c2b;
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 4px solid #F5E1AB;
    margin-bottom: 3rem;
}

.focus-icons .focus-image {
    flex-shrink: 0;
    max-width: 50px; /* UPDATED: Reduced icon size to fit layout */
    height: auto;
}

.focus-text h3 {
    color: #F5E1AB;
    font-size: 1.4rem;
    margin: 0 0 0.25rem 0; /* Adjusted margin */
}

.focus-text p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.partners-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.partners-grid {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr; /* Force single column */
    gap: 2rem;
}

.partner-category h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #eeeeee;
    padding-bottom: 0.8rem;
}

.logo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center; /* Center logos */
}

.logo-gallery img {
    max-height: 40px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* ============ CRITERIA & TIMELINE SECTION ============ */
.criteria-timeline-section {
    padding: 3rem 0;
    background-color: #22476D;
}

.criteria-wrapper, .timeline-wrapper {
    margin-bottom: 3rem;
}

.criteria-wrapper h2, .timeline-wrapper h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #F5E1AB;
}

.criteria-grid {
    display: grid;
    grid-template-columns: 1fr; /* Force single column */
    background-color: rgba(19, 28, 43, 0.7);
    border-radius: 10px;
    padding: 0.5rem;
}

.criteria-item {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Use bottom border */
}

.criteria-item:last-child {
    border-bottom: none;
}

.criteria-item h4 {
    margin-top: 0;
    font-size: 1.2rem;
}

.criteria-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Mobile-first timeline styles */
.timeline-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #F5E1AB;
    top: 0;
    bottom: 0;
    left: 20px; /* Position line to the left */
    transform: none;
}

.timeline-item {
    padding: 10px 0 10px 40px; /* Adjust padding for left-aligned timeline */
    position: relative;
    width: 100%;
    box-sizing: border-box;
    text-align: left; /* All text is left-aligned */
}

.timeline-content {
    padding: 1.2rem 1rem;
    background-color: #131c2b;
    border-radius: 8px;
    text-align: left;
}

.timeline-content h3 {
    margin-top: 0;
    color: #F5E1AB;
    font-size: 1.2rem;
    margin-bottom: 0.5rem; 
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}


/* ============ FINANCING SCHEMES & FINAL CTA SECTION ============ */
.schemes-section {
    background-color: #22476D;
    padding: 3rem 0;
}

.schemes-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #F5E1AB;
}

.schemes-grid {
    display: grid;
    grid-template-columns: 1fr; /* Force single column */
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.scheme-card {
    background-color: #1e2a40;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #2a524e;
}

.scheme-card img, .scheme-card svg {
    margin-bottom: 1rem;
    height: 60px;
    width: auto;
}

.scheme-card h3 {
    color: #F5E1AB;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.scheme-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Final CTA */
.final-cta {
    display: flex;
    flex-direction: column; /* Force vertical stacking */
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    background-color: #131c2b;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border-top: 4px solid #F5E1AB;
}

.cta-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #F5E1AB;
}

.cta-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #F5E1AB;
    color: #131c2b;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 2rem;
    transition: transform 0.2s ease;
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    width: 100%;
}

.cta-contact h4 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: #F5E1AB;
}

.cta-contact p {
    margin: 0.2rem 0;
    font-size: 1rem;
}