/* Font Branding */
.brand-intel {
    color: #0071C5;
    font-weight: bold;
}

.brand-indo {
    color: #000;
}

/* Bendera */
.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
}

/* Padding Kiri Kanan */
.custom-padding {
    padding-left: 50px;
    padding-right: 50px;
}

/* === BRAND LOGO SFI === */
.sfi-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sfi-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
}

.sfi-text {
    font-size: 1.1rem;
    line-height: 1.2;
}

/* === HEADER STYLES === */

.sfi-header-wrapper {
    background-color: #4A90E2;
    /* atau gunakan biru yang kamu suka */
    padding: 5rem 1rem;
    /* lebih tinggi */
    display: flex;
    justify-content: center;
}

.sfi-header-box {
    background-color: #0057B7;
    padding: 3rem 4rem;
    border-radius: 14px;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    max-width: 1000px;
    text-align: center;
}

.sfi-header-box h1 {
    font-size: 3rem;
    /* kamu bisa naikkan ke 2.5rem kalau mau lebih besar lagi */
    margin: 0;
    font-weight: 700;
}

.sfi-corner-box {
    position: absolute;
    bottom: -12px;
    right: 20px;
    width: 15px;
    height: 15px;
    background-color: #f15a24;
    border-radius: 2px;
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(to right, #CFE8FC, #ffffff);
    padding: 80px 0;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    flex: 1 1 50%;
    color: #003865;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
}

.hero-buttons a {
    display: inline-block;
    margin-right: 15px;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary {
    background-color: #005DAA;
    color: #fff;
}

.btn-primary:hover {
    background-color: #004080;
}

.btn-outline {
    border: 2px solid #005DAA;
    color: #005DAA;
}

.btn-outline:hover {
    background-color: #005DAA;
    color: #fff;
}

/* === Gambar Persegi Otomatis Crop === */
.hero-image-box {
    width: 280px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* === Statistik Tanpa Ikon === */
.stats-section {
    background: linear-gradient(to bottom, #EAF6FD, #CFE8FC);
    color: #2D7CBF;
    padding: 60px 0;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background-color: #ffffff;
    color: #003865;
    border-radius: 12px;
    padding: 24px 32px;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h2 {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 700;
}

.stat-card p {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #003865;
    /* pastel intel blue */
    margin-bottom: 32px;
    text-align: center;
}

.sfi-programs-section {
    background-color: #F6FBFF;
    /* biru pastel muda */
    padding: 60px 0;
    color: #2D7CBF;
    /* Intel blue medium */
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: #003865;
    text-align: center;
    margin-bottom: 40px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.program-card {
    background-color: #ffffff;
    border: 1px solid #DDEDFB;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    min-height: 280px;
}

.program-card:hover {
    transform: translateY(-4px);
}

.program-card h3 {
    font-size: 1.8rem;
    color: #f2981b;
    /* Axioo orange */
    margin-bottom: 12px;
}

.program-card p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.5;
    flex-grow: 1;
}

.program-card .btn{
    margin-top: auto;
    align-self: flex-start;
}

.sfi-visit-section {
    background-color: #005DAA;
    padding: 60px 0;
}

.sfi-visit-text {
    font-size: 1.65rem;
    color: #ffffff;
    font-weight: 600;
}

.sfi-visit-button {
    background-color: #EAF5FC;
    color: #005DAA;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 40px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.sfi-visit-button:hover {
    background-color: #d2eafc;
}

/* === Section Embed Form === */
.form-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
}

.form-wrapper {
    width: 100%;
    max-width: 800px;
}

.form-wrapper iframe {
    width: 100%;
    height: 33vh;
    /* hanya sepertiga tinggi layar */
    border: none;
    display: block;
}

.discussion-card { 
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.post-image { 
    width: 100%;
    height: auto;
    display: block;
}

.action-btn { 
    transition: all 0.2s;
    border-radius: 8px;
    padding: 8px 12px;
}

.action-btn:hover { 
    background: #f5f5f5;
}

.action-btn.active { 
    color: #0d6efd;
    background: #e7f3ff;
}

.comment-item { 
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.comment-box-container, .reply-form-wrapper { 
    display: none;
}

.comment-box-container.show, .reply-form-wrapper.show { 
    display: block;
}

.reply-form-wrapper { 
    margin-top: 12px;
    margin-left: 48px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
}

.replies-list { 
    margin-top: 12px;
    margin-left: 48px;
    padding-left: 12px;
}

.reply-item, .reply-item .reply-item, .reply-item .reply-item .reply-item, .reply-item .reply-item .reply-item .reply-item, .reply-item .reply-item .reply-item .reply-item .reply-item, .reply-item .reply-item .reply-item .reply-item .reply-item .reply-item, .reply-item .reply-item .reply-item .reply-item .reply-item .reply-item .reply-item { 
    background: #f8f9fa !important;
    padding: 8px !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    font-size: 0.9em !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
}

.reply-item .replies-list, .reply-item .reply-item .replies-list, .reply-item .reply-item .reply-item .replies-list { 
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
}

.reply-item .reply-form-wrapper, .reply-item .reply-item .reply-form-wrapper, .reply-item .reply-item .reply-item .reply-form-wrapper { 
    margin-left: 48px !important;
    margin-top: 12px !important;
    padding-left: 12px !important;
}

.reply-item p, .reply-item .reply-item p, .reply-item .reply-item .reply-item p { 
    font-size: 0.85em !important;
    margin: 0 !important;
}

.reply-item img, .reply-item .reply-item img, .reply-item .reply-item .reply-item img { 
    width: 32px !important;
    height: 32px !important;
}

.reply-item small, .reply-item .reply-item small, .reply-item .reply-item .reply-item small { 
    font-size: 10px !important;
}

.reply-item button, .reply-item .reply-item button, .reply-item .reply-item .reply-item button { 
    font-size: 11px !important;
}

.reply-item .d-flex, .reply-item .reply-item .d-flex, .reply-item .reply-item .reply-item .d-flex { 
    gap: 2px !important;
}

.comments-section { 
    background: #fafafa;
    border-left: 1px solid #e0e0e0;
    transition: all 0.3s ease-in-out;
    position: relative;
    flex-shrink: 0;
}

.comments-section.hidden { 
    visibility: hidden;
    opacity: 0;
    width: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}

.mention-tag { 
    color: #0d6efd;
    font-weight: 600;
}

.close-comments-btn { 
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.close-comments-btn:hover { 
    color: #dc3545;
    background: #f8f9fa;
    transform: scale(1.1);
}

.close-comments-btn.hidden { 
    display: none;
}

.upload-progress { 
    display: none;
    margin-top: 10px;
}

.bx { 
    font-size: 1.2em;

}
