/* ===== LANDING PAGE MODERN ENHANCEMENTS ===== */
/* Clean, warm, comfortable for teachers */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO ===== */
.section-frame .bg-primary-blue {
    position: relative;
}
.section-frame .container {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== DIREKTORAT SECTION ===== */
.direktorat-section {
    background: #ffffff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.direktorat-section .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0042B2;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}
.direktorat-section .section-eyebrow i {
    color: #3D91CE;
    font-size: 18px;
}
.direktorat-section h2 {
    color: #1f2d3d;
    font-weight: 800;
    margin-bottom: 8px;
}
.direktorat-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #3D91CE;
    border-radius: 3px;
    margin-top: 12px;
}
.direktorat-section .section-desc {
    color: #5f6f83;
    font-size: 16px;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Direktorat Cards */
.dir-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.dir-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border-color: #3D91CE;
}
.dir-card-header {
    background: #f5f9ff;
    border-bottom: 1px solid #e8eef4;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.dir-card-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dir-card-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}
.dir-card-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.3;
}
.dir-card-btn {
    background: #0042B2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dir-card-btn:hover {
    background: #003399;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}
.dir-card-btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
}
.dir-card-btn:hover i {
    transform: translateX(3px);
}
.dir-card-body {
    padding: 20px 24px;
    flex: 1;
}
.dir-card-body p {
    font-size: 14px;
    color: #5f6f83;
    margin-bottom: 12px;
}
.dir-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dir-card-list li {
    font-size: 14px;
    color: #3d4f63;
    padding: 8px 0;
    border-bottom: 1px solid #f0f4f8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.dir-card-list li:last-child {
    border-bottom: none;
}
.dir-card-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #3D91CE;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

/* Badge Baru */
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}
.dir-badge-baru {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
    flex-shrink: 0;
    animation: badgePulse 2s ease-in-out infinite;
    line-height: 1.6;
}

/* Card entrance animation */
.dir-card-col {
    animation: fadeInUp 0.4s ease-out both;
}
.dir-card-col:nth-child(1) { animation-delay: 0.05s; }
.dir-card-col:nth-child(2) { animation-delay: 0.1s; }
.dir-card-col:nth-child(3) { animation-delay: 0.15s; }
.dir-card-col:nth-child(4) { animation-delay: 0.2s; }
.dir-card-col:nth-child(5) { animation-delay: 0.25s; }

/* ===== FOOTER ===== */
footer.bg-dark .footer-head {
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}
footer.bg-dark .footer-head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: #3D91CE;
    border-radius: 3px;
}
footer .text-foot {
    transition: color 0.2s ease;
}
footer .social-white a {
    transition: transform 0.2s ease;
}
footer .social-white a:hover {
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767.98px) {
    .dir-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .dir-card-btn {
        width: 100%;
        justify-content: center;
    }
}
