﻿/* Landing Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: none;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: #ff6b6b;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0;
}

.logo-icon {
    font-size: 26px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    display: block;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    letter-spacing: 0.3px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(0,0,0,0.2);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.btn-login {
    background: #fbbf24 !important;
    color: #1e3a8a !important;
    padding: 10px 25px !important;
    border-radius: 25px;
    font-weight: 600;
    margin-left: 10px;
}

.hamburger {
    display: none;
}
}

.btn-login:hover {
    background: #f59e0b !important;
    transform: translateY(-2px);
}

/* Hero Slider */
.hero-slider {
    margin-top: 0;
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(125,62,62,0.55) 0%, rgba(255,183,183,0.15) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 900px;
}

.slide-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.slide-subtitle {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fbbf24;
    text-shadow: 0 3px 12px rgba(0,0,0,0.9), 0 0 40px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease-out 0.2s both;
    letter-spacing: 1px;
}

.slide-description {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-hero {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-hero.btn-primary {
    background: #1e3a8a;
    color: white;
    border: 2px solid #1e3a8a;
}

.btn-hero.btn-primary:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-hero.btn-secondary {
    background: #fbbf24;
    color: #1e3a8a;
    border: 2px solid #fbbf24;
}

.btn-hero.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255,255,255,0.5);
}

.slider-btn.prev {
    left: 20px;
    border-radius: 0 5px 5px 0;
}

.slider-btn.next {
    right: 20px;
    border-radius: 5px 0 0 5px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.3);
}

/* Quick Info Section */
.quick-info {
    padding: 80px 20px;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s;
}

.info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.info-item h3 {
    font-size: 24px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.info-item p {
    color: #64748b;
    line-height: 1.8;
    font-size: 15px;
}

/* Section Styles */
.program-section,
.news-section {
    padding: 80px 20px;
    background: #f8fafc;
}

.news-section {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
}

.program-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    padding: 0;
    background: url('../img/SPMB.png') center center / cover no-repeat;
    position: relative;
    aspect-ratio: 2106 / 820;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.05);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.btn-cta {
    display: inline-block;
    padding: 18px 45px;
    background: #fbbf24;
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0d1f3c 0%, #071429 100%);
    color: white;
}

.footer-top {
    background: rgba(255,255,255,0.03);
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-campuses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.campus-item h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.25s;
}

.social-icons a:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-3px);
}

.footer-main {
    padding: 52px 20px 44px;
}

.footer-main .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
    margin-bottom: 50px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 28px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 5px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.1fr 1fr;
    gap: 36px;
    align-items: start;
    text-align: left;
}

/* Footer Override - 4 kolom */
.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.1fr 1fr;
    gap: 36px;
    align-items: start;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.footer-col:first-child h3 {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 800;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: none;
    margin-bottom: 16px;
    color: white;
    text-align: left;
}

.footer-col p {
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    margin: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 998;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #cc0000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        z-index: 998;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        font-size: 20px;
        padding: 14px 30px;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1000;
        padding: 5px;
    }

    .hamburger span {
        display: block;
        width: 26px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .slide-subtitle { font-size: 36px; }
    .slide-title { font-size: 24px; }
    .slide-description { font-size: 16px; }
    .slide-buttons { flex-direction: column; }
    
    .section-title {
        font-size: 32px;
    }
    
    .slider-btn {
        padding: 10px 15px;
        font-size: 18px;
    }
}


/* Page Header untuk halaman selain index */
.page-header {
    margin-top: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.page-header-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

.page-header-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(180,0,0,0.5) 0%, rgba(180,0,0,0.15) 50%, rgba(180,0,0,0.15) 100%);
    z-index: 1;
}

.page-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    padding-top: 40px;
}

.page-header h1 {
    font-size: 46px;
    margin-bottom: 10px;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    letter-spacing: 1px;
    white-space: nowrap;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto;
}

/* Content wrapper untuk halaman lain */
.content-wrapper {
    margin-top: 70px;
}


/* News Card Styles */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card .news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-category {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.news-card h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 12px;
}

.news-excerpt {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.btn-read-more {
    display: inline-block;
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    margin-top: auto;
}

.btn-read-more:hover {
    color: #3b82f6;
    padding-left: 5px;
}

/* Program Card Styles */
.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.program-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.program-card .program-content {
    padding: 25px;
}

.program-card h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.program-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.link-more {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.link-more:hover {
    color: #3b82f6;
}


/* PPDB Steps Section */
.steps-section {
    margin: 50px 0;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
}

.steps-section h2 {
    text-align: center;
    color: #1e3a8a;
    font-size: 32px;
    margin-bottom: 15px;
}

.steps-intro {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.step-content h3 {
    color: #1e3a8a;
    font-size: 20px;
    margin-bottom: 12px;
}

.step-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content ul li {
    color: #666;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.step-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Requirements Box */
.requirements-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.requirements-box h3 {
    color: #1e3a8a;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

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

.req-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.req-item:hover {
    background: #e3f2fd;
}

.req-icon {
    width: 30px;
    height: 30px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.req-item span:last-child {
    color: #333;
    font-size: 14px;
}

/* Info Banner */
.info-banner {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #f59e0b;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.banner-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.banner-content h4 {
    color: #92400e;
    font-size: 18px;
    margin-bottom: 10px;
}

.banner-content p {
    color: #78350f;
    line-height: 1.6;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-section {
        padding: 20px;
    }
    
    .info-banner {
        flex-direction: column;
        text-align: center;
    }
}


/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-card h3 {
    color: #1e3a8a;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.contact-card p {
    color: #666;
    font-size: 14px;
}

.map-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.map-section h2 {
    color: #1e3a8a;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.map-container {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-info {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #b8860b;
}

.map-info h3 {
    color: #1e3a8a;
    font-size: 22px;
    margin-bottom: 5px;
}

.map-info p {
    color: #666;
    margin: 5px 0;
}

.map-info .address {
    margin-top: 10px;
    line-height: 1.6;
    font-size: 14px;
}

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form-section h2 {
    color: #1e3a8a;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 0 auto;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .map-section,
    .contact-form-section {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.5);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.7);
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
}

/* Profil Singkat Section */
.profil-singkat {
    padding: 70px 20px;
    background: white;
}

.profil-singkat .section-title {
    text-align: center;
    font-size: 32px;
    color: #1e3a8a;
    margin-bottom: 8px;
    font-weight: 700;
}

.profil-singkat .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #fbbf24;
    margin: 12px auto 40px;
    border-radius: 2px;
}

.profil-singkat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.profil-singkat-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.profil-singkat-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.profil-singkat-text p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.profil-highlight {
    background: #eff6ff;
    border-left: 4px solid #1e3a8a;
    padding: 18px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.profil-highlight h4 {
    color: #1e3a8a;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.profil-highlight p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #555 !important;
}

.btn-profil {
    display: inline-block;
    margin-top: 10px;
    background: #1e3a8a;
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s, transform 0.2s;
}

.btn-profil:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .profil-singkat-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .profil-singkat-img img {
        height: 250px;
    }
}

/* ===== EKSKUL CAROUSEL ===== */
.ekskul-section {
    padding: 0;
    background: white;
    overflow: hidden;
}

.ekskul-wrapper {
    background: linear-gradient(135deg, #1a2e5a 0%, #1e4080 100%);
    border-radius: 0;
    padding: 36px 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.ekskul-wrapper h2 {
    text-align: center;
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    padding: 0 35px;
}

.ekskul-wrapper h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #fbbf24;
    margin: 10px auto 28px;
    border-radius: 2px;
}

.ekskul-section .section-header { display: none; }

.ekskul-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.ekskul-grid {
    display: flex;
    gap: 16px;
    padding: 4px 0 12px;
    width: max-content;
    animation: ekskulScroll 35s linear infinite;
}

@keyframes ekskulScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.ekskul-card {
    position: relative;
    width: 200px;
    height: 250px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #1e40af;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ekskul-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
    z-index: 2;
}

/* Photo slider */
.ekskul-photos {
    position: absolute;
    inset: 0;
    display: flex;
    width: 400px;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.ekskul-photos img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Dot indicators (show on hover) */
.ekskul-dots {
    position: absolute;
    bottom: 42px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s;
}
.ekskul-card:hover .ekskul-dots { opacity: 1; }
.ekskul-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    transition: background 0.3s, transform 0.3s;
}
.ekskul-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Overlay */
.ekskul-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.08) 55%,
        transparent 100%);
    z-index: 2;
    transition: background 0.35s;
}
.ekskul-card:hover .ekskul-photos.has-two {
    transform: translateX(-200px);
}

.ekskul-card:hover .ekskul-overlay {
    background: linear-gradient(to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.35) 60%,
        rgba(0,0,0,0.08) 100%);
}

/* Card text */
.ekskul-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: 12px 12px 14px;
    transform: translateY(0);
    transition: transform 0.35s ease;
}
.ekskul-card h3 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
    text-align: center;
    margin: 0 0 0;
    line-height: 1.3;
}
.ekskul-card-desc {
    color: rgba(255,255,255,0);
    font-size: 11.5px;
    text-align: center;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, color 0.4s ease, margin-top 0.3s;
    margin-top: 0;
}
.ekskul-card:hover .ekskul-card-desc {
    color: rgba(255,255,255,0.82);
    max-height: 56px;
    margin-top: 5px;
}

/* Responsive */

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }



/* Footer Override - 4 kolom */
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ===== PROFIL PAGE ===== */
.content-section { padding: 60px 20px; }

.section-title-profil {
    font-size: 30px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 12px;
}
.section-title-profil::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px; height: 4px;
    background: #ff6b6b;
    border-radius: 2px;
}
.section-subtitle-profil {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Tentang */
.profil-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}
.profil-about h2 {
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 15px;
}
.profil-about p { color: #555; line-height: 1.8; margin-bottom: 20px; }
.visi-misi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.visi-box, .misi-box {
    background: #f8faff;
    border-left: 4px solid #ff6b6b;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}
.visi-box h4, .misi-box h4 { color: #1e3a8a; margin-bottom: 8px; font-size: 15px; }
.visi-box p, .misi-box p { color: #555; font-size: 13px; margin: 0; }
.misi-box ul { padding-left: 16px; margin: 0; }
.misi-box ul li { color: #555; font-size: 13px; margin-bottom: 5px; }
.profil-about-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Sejarah */
.sejarah-section { margin-bottom: 70px; }
.sejarah-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 30px;
}
.sejarah-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.sejarah-text p { color: #555; line-height: 1.8; margin-bottom: 15px; }
.sejarah-stats {
    display: flex;
    gap: 25px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 700; color: #ff6b6b; }
.stat-label { font-size: 12px; color: #666; }

/* Fasilitas */
.fasilitas-section { margin-bottom: 40px; }
.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.fasilitas-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}
.fasilitas-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.fasilitas-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.fasilitas-body { padding: 15px; }
.fasilitas-body h4 { color: #1e3a8a; font-size: 15px; margin-bottom: 6px; }
.fasilitas-body p { color: #666; font-size: 13px; margin: 0; }

@media (max-width: 768px) {
    .profil-about, .sejarah-grid { grid-template-columns: 1fr; gap: 25px; }
    .visi-misi-grid { grid-template-columns: 1fr; }
    .fasilitas-grid { grid-template-columns: 1fr 1fr; }
    .sejarah-stats { gap: 15px; }
}
@media (max-width: 480px) {
    .fasilitas-grid { grid-template-columns: 1fr; }
}

/* ===== PPDB FORM SECTION ===== */
.form-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.form-section h2 {
    color: #1e3a8a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.form-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #fbbf24;
    margin: 10px auto 0;
    border-radius: 2px;
}

.form-group-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
    background: #eff6ff;
    border-left: 4px solid #1e3a8a;
    padding: 10px 16px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#ppdb-form .form-group {
    margin-bottom: 18px;
}

#ppdb-form .form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 14px;
}

#ppdb-form .form-group input[type="text"],
#ppdb-form .form-group input[type="tel"],
#ppdb-form .form-group input[type="email"],
#ppdb-form .form-group input[type="date"],
#ppdb-form .form-group select,
#ppdb-form .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
}

#ppdb-form .form-group input:focus,
#ppdb-form .form-group select:focus,
#ppdb-form .form-group textarea:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30,58,138,0.08);
    background: white;
}

#ppdb-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

#ppdb-form .form-group input[type="file"] {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px dashed #93c5fd;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    background: #f0f7ff;
    cursor: pointer;
    transition: border-color 0.2s;
}

#ppdb-form .form-group input[type="file"]:hover {
    border-color: #1e3a8a;
    background: #e0f0ff;
}

.upload-hint {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.optional {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 400;
}

.form-note {
    font-size: 13px;
    color: #888;
    margin: 10px 0 20px;
}

#ppdb-form .btn-primary {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 10px auto 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}

#ppdb-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,58,138,0.35);
}

@media (max-width: 768px) {
    .form-section {
        padding: 25px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* ===== BERITA FILTER ===== */
.berita-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    padding: 7px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    background: white;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.filter-btn.active {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.filter-btn[data-kat="PPDB"].active {
    background: #16a34a;
    border-color: #16a34a;
}

/* ===== VISI MISI TUJUAN SECTION ===== */
.visimisi-section {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.visimisi-text h2 {
    font-size: 28px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.visimisi-text h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px; height: 4px;
    background: #fbbf24;
    border-radius: 2px;
}

.visimisi-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.visimisi-label {
    min-width: 72px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    margin-top: 2px;
}
.visimisi-label.visi   { background: #1e3a8a; }
.visimisi-label.misi   { background: #dc2626; }
.visimisi-label.tujuan { background: #16a34a; }

.visimisi-item p {
    color: #444;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.visimisi-item ul {
    margin: 0;
    padding-left: 18px;
    color: #444;
    font-size: 14px;
    line-height: 1.9;
}

/* Graphic panel */
.visimisi-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 
  Triangle layout (300x320px):
  VISI  center: (150, 55)    → top:0,   left:95px
  MISI  center: (55, 265)    → bottom:0, left:0
  TUJUAN center:(245, 265)   → bottom:0, right:0
  Logo center:  (150, 195)   → top:155, left:110  (centroid of triangle)
*/
.vmt-wrap {
    position: relative;
    width: 300px;
    height: 320px;
    flex-shrink: 0;
}

.vmt-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.vmt-card {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
    z-index: 2;
}
.vmt-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(0,0,0,0.3); }
.vmt-card .vmt-icon  { font-size: 26px; margin-bottom: 4px; }
.vmt-card .vmt-title { font-size: 13px; letter-spacing: 1.5px; font-weight: 800; }

.vmt-visi   { background: linear-gradient(135deg,#1e3a8a,#3b82f6); top: 0;   left: 95px; }
.vmt-misi   { background: linear-gradient(135deg,#b91c1c,#ef4444); bottom: 0; left: 0;   }
.vmt-tujuan { background: linear-gradient(135deg,#15803d,#22c55e); bottom: 0; right: 0;  }

.vmt-logo {
    position: absolute;
    top: 155px;
    left: 110px;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    z-index: 3;
}
.vmt-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .visimisi-section { grid-template-columns: 1fr; padding: 24px; gap: 30px; }
    .visimisi-graphic { justify-content: center; }
    .vmt-wrap { width: 260px; height: 280px; }
    .vmt-card { width: 96px; height: 96px; }
    .vmt-visi   { left: 82px; }
    .vmt-logo   { top: 135px; left: 90px; width: 70px; height: 70px; }
    .vmt-logo img { width: 54px; height: 54px; }
}
/* ===== VISI MISI HOME (index.html) ===== */
.quick-info {
    padding: 60px 0;
    background: #f8faff;
}

.visimisi-home {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.visimisi-home-text h2 {
    font-size: 28px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.visimisi-home-text h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px; height: 4px;
    background: #fbbf24;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .visimisi-home {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 30px;
    }
    .visimisi-graphic { justify-content: center; }
}

/* ===== POSTINGAN TERBARU ===== */
.postingan-section {
    padding: 60px 0;
    background: #f8faff;
}

.postingan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.post-img {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.4s ease;
}

.post-card:hover .post-img img {
    transform: scale(1.06);
}

.post-kat {
    position: absolute;
    top: 12px;
    left: 12px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.post-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-body p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 12px;
}

.post-tgl {
    font-size: 12px;
    color: #9ca3af;
    margin-top: auto;
}

.btn-lihat-semua {
    display: inline-block;
    padding: 11px 30px;
    background: #1e3a8a;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
}

.btn-lihat-semua:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .postingan-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 550px) {
    .postingan-grid { grid-template-columns: 1fr; }
}

/* ===== JADWAL PPDB ===== */
.jadwal-ppdb-section {
    margin: 40px 0 50px;
}

.jadwal-ppdb-header {
    text-align: center;
    margin-bottom: 32px;
}

.jadwal-ppdb-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.jadwal-ppdb-header p {
    color: #6b7280;
    font-size: 15px;
}

.jadwal-ppdb-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

/* Garis connector antar card */
.jadwal-ppdb-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ef4444, #f59e0b, #10b981);
    border-radius: 2px;
    z-index: 0;
}

.jadwal-ppdb-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.jadwal-ppdb-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.jadwal-ppdb-card:nth-child(1) .jadwal-ppdb-icon { border-color: #3b82f6; }
.jadwal-ppdb-card:nth-child(2) .jadwal-ppdb-icon { border-color: #8b5cf6; }
.jadwal-ppdb-card:nth-child(3) .jadwal-ppdb-icon { border-color: #ef4444; }
.jadwal-ppdb-card:nth-child(4) .jadwal-ppdb-icon { border-color: #f59e0b; }
.jadwal-ppdb-card:nth-child(5) .jadwal-ppdb-icon { border-color: #10b981; }

.jadwal-ppdb-card:hover .jadwal-ppdb-icon {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.jadwal-ppdb-card.aktif .jadwal-ppdb-icon {
    background: #eff6ff;
    border-color: #3b82f6;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(59,130,246,0.3); }
    50%       { box-shadow: 0 4px 22px rgba(59,130,246,0.6); }
}

.jadwal-ppdb-tanggal {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.jadwal-ppdb-label {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
}

.jadwal-ppdb-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.jadwal-ppdb-badge {
    margin-top: 8px;
    background: #22c55e;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}

@media (max-width: 900px) {
    .jadwal-ppdb-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .jadwal-ppdb-grid::before { display: none; }
}

@media (max-width: 580px) {
    .jadwal-ppdb-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* ===== KONTAK HERO CARDS ===== */
.contact-section { padding: 50px 0; background: #f8faff; }

.kontak-hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.khcard {
    background: white;
    border-radius: 16px;
    padding: 28px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.khcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.khcard-wa:hover    { border-color: #25d366; }
.khcard-email:hover { border-color: #3b82f6; }
.khcard-lokasi:hover{ border-color: #8b5cf6; }

/* Subtle top accent line */
.khcard::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}
.khcard-wa::before    { background: #25d366; }
.khcard-email::before { background: #3b82f6; }
.khcard-lokasi::before{ background: #8b5cf6; }

.khcard-glow { display: none; }

.khcard-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.khcard-wa    .khcard-icon { background: #f0fdf4; }
.khcard-email .khcard-icon { background: #eff6ff; }
.khcard-lokasi .khcard-icon{ background: #f5f3ff; }

.khcard-wa    .khcard-icon svg { stroke: #16a34a; }
.khcard-email .khcard-icon svg { stroke: #2563eb; }
.khcard-lokasi .khcard-icon svg{ stroke: #7c3aed; }

.khcard-body { flex: 1; min-width: 0; }

.khcard-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.khcard-wa    .khcard-tag { color: #16a34a; }
.khcard-email .khcard-tag { color: #2563eb; }
.khcard-lokasi .khcard-tag{ color: #7c3aed; }

.khcard-value {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.4;
    word-break: break-word;
}

.khcard-sub {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 14px;
}

.khcard-btn {
    display: inline-block;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    border: 1.5px solid currentColor;
}
.khcard-wa    .khcard-btn { color: #16a34a; }
.khcard-email .khcard-btn { color: #2563eb; }
.khcard-lokasi .khcard-btn{ color: #7c3aed; }
.khcard-wa    .khcard-btn:hover { background: #16a34a; color: white; }
.khcard-email .khcard-btn:hover { background: #2563eb; color: white; }
.khcard-lokasi .khcard-btn:hover{ background: #7c3aed; color: white; }

@media (max-width: 768px) {
    .kontak-hero-cards { grid-template-columns: 1fr; gap: 14px; }
    .khcard { padding: 20px 16px; }
}

/* ===== STEPS TIMELINE ===== */
.steps-header {
    text-align: center;
    margin-bottom: 40px;
}
.steps-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
}
.steps-header p {
    color: #6b7280;
    font-size: 15px;
}

.steps-timeline {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.steps-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .steps-timeline { flex-direction: column; gap: 0; }
    .steps-col { width: 100%; }
}

.step-item {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
    flex-shrink: 0;
}

.step-bubble {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    z-index: 1;
}
.step-bubble span {
    color: white;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, #e5e7eb 0%, #e5e7eb 100%);
    margin: 6px 0;
    min-height: 24px;
}

.step-right {
    flex: 1;
    padding: 0 0 16px 14px;
}

.step-item.last .step-right {
    padding-bottom: 0;
}

.step-card-new {
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.25s, box-shadow 0.25s;
}
.step-card-new:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.step-icon-new { font-size: 20px; }
.step-card-new h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.step-card-new p {
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 8px;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.step-tags span {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

@media (max-width: 600px) {
    .steps-timeline { grid-template-columns: 1fr; }
    .step-left { width: 44px; }
    .step-bubble { width: 40px; height: 40px; }
    .step-right { padding-left: 14px; }
}

/* ===== PROFIL SINGKAT REDESIGN ===== */
.profil-singkat {
    padding: 70px 0;
    background: white;
}

.profil-singkat-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

/* Image */
.ps-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.ps-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    display: block;
}

/* Floating badge */
.ps-badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: #1e3a8a;
    color: white;
    border-radius: 16px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30,58,138,0.35);
    min-width: 90px;
}
.ps-badge-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.ps-badge-label {
    font-size: 12px;
    opacity: 0.85;
    line-height: 1.4;
    margin-top: 4px;
    display: block;
}

/* Content */
.ps-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.ps-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin: 0 0 16px;
}
.ps-title span {
    color: #1e3a8a;
}

.ps-lead {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 10px;
}

.ps-body {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 24px;
}

/* Stats */
.ps-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: #f8faff;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.ps-stat { text-align: center; flex: 1; }
.ps-stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1;
}
.ps-stat-label {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
    display: block;
}
.ps-stat-divider {
    width: 1px;
    height: 36px;
    background: #e5e7eb;
}

/* Highlight */
.ps-highlight {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 0 10px 10px 0;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: #444;
    line-height: 1.6;
}
.ps-highlight-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }

/* Button */
.ps-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #1e3a8a;
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.ps-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .profil-singkat-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ps-img-wrap img { height: 280px; }
    .ps-badge { bottom: -14px; right: 14px; }
    .ps-title { font-size: 26px; }
}

/* ===== PROGRAM UNGGULAN PAGE ===== */
.prog-section { padding: 60px 0 80px; background: #f8faff; }

.prog-intro {
    text-align: center;
    margin-bottom: 50px;
}
.prog-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff6b6b;
    margin-bottom: 10px;
}
.prog-intro h2 {
    font-size: 34px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 14px;
}
.prog-intro p {
    font-size: 15px;
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.prog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.prog-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.prog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--prog-color, #1e3a8a);
    border-radius: 16px 16px 0 0;
}
.prog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.prog-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.prog-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.prog-num-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af;
}

.prog-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px;
}

.prog-card-desc {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
}

.prog-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.prog-card-list li {
    font-size: 13px;
    color: #374151;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.prog-card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--prog-color, #1e3a8a);
    font-weight: 700;
    font-size: 12px;
}

@media (max-width: 900px) {
    .prog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .prog-grid { grid-template-columns: 1fr; }
    .prog-intro h2 { font-size: 26px; }
}