:root {
            --primary: #1a3a6c;
            --secondary: #e65c00;
            --accent: #f58220;
            --light: #f8f9fa;
            --dark: #212529;
            --success: #28a745;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
            --radius: 10px;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--dark);
            line-height: 1.6;
            background-color: #f5f7fa;
        }
        
        h1, h2, h3, h4, h5 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            line-height: 1.3;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Header & Navigation */
        header {
            background-color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-img {
            height: 60px;
            margin-right: 10px;
        }
        
        .logo-text {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary);
        }
        
        .logo-text span {
            color: var(--secondary);
            display: block;
            font-size: 0.9rem;
            font-weight: 400;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            font-size: 1.05rem;
            transition: var(--transition);
            position: relative;
            padding: 5px 0;
        }
        
        .nav-links a:hover, 
        .nav-links a.active {
            color: var(--secondary);
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--secondary);
            transition: var(--transition);
        }
        
        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
        }
        
        /* Hero Section */


        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-shadow: 0 2px 5px rgba(0,0,0,0.3);
        }
        
        .hero p {
            font-size: 1.5rem;
            max-width: 800px;
            margin: 0 auto 30px;
            text-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }
        
        .countdown {
            display: flex;
            justify-content: center;
            margin: 30px 0;
            gap: 15px;
        }
        
        .countdown-item {
            background: rgba(255,255,255,0.15);
            border-radius: var(--radius);
            padding: 15px;
            min-width: 100px;
            backdrop-filter: blur(5px);
        }
        
        .countdown-number {
            font-size: 2.5rem;
            font-weight: 700;
            display: block;
        }
        
        .countdown-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .btn {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            border: 2px solid var(--accent);
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(245, 130, 32, 0.4);
        }
        
        .btn:hover {
            background: transparent;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(245, 130, 32, 0.6);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid white;
            margin-left: 15px;
        }
        
        .btn-outline:hover {
            background: white;
            color: var(--primary);
        }
        
        /* Section Styling */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 4px;
            background: var(--secondary);
            border-radius: 2px;
        }
        
        .section-title p {
            color: var(--gray);
            margin-top: 15px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* SPMB Info Section */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background-color: var(--light-gray);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2px;
            border-radius: 2px;
        }
        
        .timeline-item {
            padding: 20px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: white;
            border: 4px solid var(--secondary);
            top: 25px;
            border-radius: 50%;
            z-index: 1;
        }
        
        .timeline-item:nth-child(odd) {
            left: 0;
        }
        
        .timeline-item:nth-child(odd)::after {
            right: -10px;
        }
        
        .timeline-item:nth-child(even) {
            left: 50%;
        }
        
        .timeline-item:nth-child(even)::after {
            left: -10px;
        }
        
        .timeline-content {
            padding: 25px;
            background-color: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            position: relative;
            transition: var(--transition);
        }
        
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .timeline-content h3 {
            color: var(--secondary);
            margin-bottom: 10px;
        }
        
        .timeline-content .date {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }
        
        /* Jurusan Section */
        .jurusan-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 40px;
        }
        
        .filter-btn {
            padding: 8px 20px;
            background: white;
            border: 1px solid var(--light-gray);
            border-radius: 30px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
        }
        
        .filter-btn.active, 
        .filter-btn:hover {
            background: var(--secondary);
            color: white;
            border-color: var(--secondary);
        }
        
        .jurusan-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        .jurusan-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .jurusan-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .jurusan-img {
            height: 200px;
            background: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .jurusan-img i {
            font-size: 5rem;
            color: var(--primary);
            opacity: 0.2;
        }
        
        .jurusan-content {
            padding: 25px;
        }
        
        .jurusan-content h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.5rem;
        }
        
        .jurusan-content .tag {
            display: inline-block;
            background: var(--light-gray);
            color: var(--dark);
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-bottom: 15px;
        }
        
        .jurusan-content p {
            margin-bottom: 20px;
            color: var(--gray);
        }
        
        .jurusan-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 10px;
            border-top: 0px solid var(--light-gray);
        }
        
        .btn-detail {
            background: var(--primary);
            color: white;
            padding: 8px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: var(--transition);
        }
        
        .btn-detail:hover {
            background: var(--secondary);
            transform: translateX(5px);
        }
        
        .jurusan-icon {
            font-size: 1.5rem;
            color: var(--secondary);
        }
        
        /* Kontak Section */
        .kontak-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin-top: 40px;
        }
        
        .kontak-info {
            background: white;
            padding: 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        
        .kontak-info h3 {
            color: var(--primary);
            margin-bottom: 25px;
            font-size: 1.8rem;
        }
        
        .kontak-item {
            display: flex;
            margin-bottom: 20px;
        }
        
        .kontak-icon {
            min-width: 45px;
            height: 45px;
            background: var(--light-gray);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: var(--secondary);
            font-size: 1.2rem;
        }
        
        .kontak-text h4 {
            margin-bottom: 5px;
            font-size: 1.1rem;
        }
        
        .kontak-text p, .kontak-text a {
            color: var(--gray);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .kontak-text a:hover {
            color: var(--secondary);
        }
        
        .whatsapp-btn {
            background: #25D366;
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            transition: var(--transition);
            margin-top: 10px;
        }
        
        .whatsapp-btn:hover {
            background: #128C7E;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
        }
        
        .whatsapp-btn i {
            font-size: 1.5rem;
        }
        
        .kontak-form {
            background: white;
            padding: 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            font-family: 'Open Sans', sans-serif;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .form-control:focus {
            border-color: var(--secondary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.2);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        /* Floating WhatsApp Button */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 40px;
            right: 40px;
            background: #25D366;
            color: white;
            border-radius: 50px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            transition: var(--transition);
            animation: pulse 2s infinite;
        }
        
        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }
        
        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-col h3 {
            color: white;
            font-size: 1.5rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--secondary);
        }
        
        .footer-col p {
            color: #adb5bd;
            margin-bottom: 20px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #adb5bd;
            text-decoration: none;
            transition: var(--transition);
            display: block;
            padding: 5px 0;
        }
        
        .footer-links a:hover {
            color: var(--secondary);
            transform: translateX(5px);
        }
        
        .footer-links i {
            margin-right: 10px;
            width: 20px;
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #adb5bd;
            font-size: 0.95rem;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item:nth-child(even) {
                left: 0;
            }
            
            .timeline-item::after {
                left: 21px;
                top: 25px;
            }
            
            .timeline-item:nth-child(even)::after {
                left: 21px;
            }
        }
        
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: 80px;
                right: -100%;
                flex-direction: column;
                background: white;
                width: 80%;
                height: calc(100vh - 80px);
                padding: 30px;
                box-shadow: -5px 0 15px rgba(0,0,0,0.1);
                transition: var(--transition);
                z-index: 999;
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-links li {
                margin: 15px 0;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            .countdown {
                flex-wrap: wrap;
            }
            
            .countdown-item {
                min-width: 80px;
                padding: 10px;
            }
            
            .countdown-number {
                font-size: 1.8rem;
            }
            
            .btn {
                display: block;
                width: 100%;
                margin: 10px 0;
                padding: 12px;
            }
            
            .btn-outline {
                margin-left: 0;
            }
            
            section {
                padding: 60px 0;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            .logo-img {
                height: 50px;
            }
            
            .logo-text {
                font-size: 0.5rem;
            }
        }
        
        @media (max-width: 400px) {
            .logo-img {
                height: 50px;
            }
            
            .logo-text {
                font-size: 0.5rem;
            }
            
            .hero {
                padding: 70px 20px;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .countdown-item {
                min-width: 70px;
                padding: 8px;
            }
            
            .countdown-number {
                font-size: 1.5rem;
            }
            
            .countdown-label {
                font-size: 0.8rem;
            }
            
            .jurusan-grid {
                grid-template-columns: 1fr;
            }
        }

        *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f4f7fb;
    overflow-x: hidden; /* Mencegah scroll horizontal */
}

/* HERO */

.hero{
    height:70vh;
    background:linear-gradient(135deg,#1a3a6c,#2c5aa0);
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    padding:20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://via.placeholder.com/1920x1080/1a3a6c/ffffff?text=SMK+Negeri+1+Cirebon') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero > div {
    position: relative;
    z-index: 2;
    animation: slideIn 1s ease-out;
}

.hero h1{
    font-size:42px;
    margin-bottom:10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p{
    opacity:.9;
    font-size: 18px;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* CARD */

.card{
    background:white;
    max-width:800px;
    margin:-80px auto 40px;
    padding:40px;
    border-radius:14px;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* INPUT */

.search-box{
    display:flex;
    gap:20px;
    margin-top:50px;
    position: relative;
}

.search-box::before {
    content: '\f002'; /* Ikon search dari Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 20px;
}

input{
    flex:1;
    height:55px;
    border-radius:10px;
    border:1px solid #ddd;
    padding:0 15px 0 45px; /* Tambahkan padding kiri untuk ikon */
    font-size:18px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
    border-color: #e65c00;
    box-shadow: 0 0 10px rgba(230, 92, 0, 0.3);
    outline: none;
}

button{
    background:#e65c00;
    border:none;
    color:white;
    padding:0 30px;
    border-radius:10px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:hover{
    background:#cc4f00;
    transform:translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 92, 0, 0.4);
}

/* RESULT */

.result{
    margin-top:30px;
    animation:fade .4s ease;
}

@keyframes fade{
    from{opacity:0; transform:translateY(10px);}
    to{opacity:1;}
}

.success{
    border-top:6px solid #28a745;
    position: relative;
}

.success::after {
    content: '🎉';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 50px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.fail{
    border-top:6px solid #dc3545;
}

.box{
    padding:30px;
    border-radius:12px;
    background:white;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    transition: transform 0.3s;
}

.box:hover {
    transform: translateY(-5px);
}

h2{
    margin-bottom:10px;
}

ol{
    margin-left:20px;
    line-height:1.9;
}

/* MOBILE */

@media(max-width:700px){

.hero h1{
    font-size:28px;
}

.hero p {
    font-size: 16px;
}

.card{
    margin:-60px 15px 30px;
    padding:25px;
}

.search-box{
    flex-direction:column;
}

button{
    height:50px;
}

.success::after {
    font-size: 30px;
    top: -15px;
    right: 10px;
}

.search-box::before {
    content: '\f002'; /* Ikon search dari Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 15%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 20px;
}

}

/* ====== CHATBOT KNOWLEDGE UI ====== */
.kb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.kb-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.kb-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  text-decoration: none;
}
.kb-actions a:hover { background: #f1f5f9; }
.badge-mini {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
/* Slider Thumbnails - FIX GRID */
.slider-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

/* Item */
.slider-thumb {
    position: relative;
}

/* Gambar */
.slider-thumb img {
    width: 100%;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #fff;
}

/* Tombol hapus */
.del-thumb {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-decoration: none;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

