/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --secondary-color: #FF9800;
    --accent-color: #FFC107;
    --dark-color: #212121;
    --light-color: #F5F5F5;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-800: #343A40;
    --text-color: #333333;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== UTILITY CLASSES ==================== */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--gray-100);
}

.section.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.section.bg-dark {
    background-color: var(--dark-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 15px;
}

.text-center {
    text-align: center;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #e68900;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-item-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary-color);
    padding-left: 25px;
}

.btn-ppdb {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 50px;
}

.btn-ppdb:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9) 0%, rgba(27, 94, 32, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== ABOUT SECTION ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.exp-text {
    font-size: 0.9rem;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ==================== TIMELINE SECTION ==================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 0;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== VISI MISI SECTION ==================== */
.vm-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.vm-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vm-card.vision {
    border-top: 4px solid var(--primary-color);
}

.vm-card.mission {
    border-top: 4px solid var(--secondary-color);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vm-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.vm-card.mission .vm-icon i {
    color: var(--secondary-color);
}

.vm-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.vm-card.vision p {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
}

.vm-card.mission ul {
    list-style: none;
}

.vm-card.mission ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.vm-card.mission ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.vm-values {
    text-align: center;
}

.vm-values h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    color: var(--white);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.whatsapp-link {
    padding: 0; /* Menghilangkan padding agar hanya teks yang tampil */
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
    background: transparent; /* Menghilangkan latar belakang */
    display: flex;
    align-items: left;
    justify-content: left;
}

.whatsapp-link:hover {
    color: yellow; /* Warna teks tetap kuning saat hover */
    background: transparent; /* Pastikan latar belakang tetap transparan saat hover */
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-form h3 {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==================== NEWS SECTION ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-date i {
    margin-right: 5px;
}

.news-content h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    color: var(--primary-dark);
}

.news-link i {
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ==================== AGENDA SECTION ==================== */
.agenda-container {
    max-width: 900px;
    margin: 0 auto;
}

.agenda-item {
    display: flex;
    gap: 25px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: var(--transition);
}

.agenda-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.agenda-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.agenda-content h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
}

.agenda-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.agenda-time,
.agenda-location {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-right: 15px;
}

.agenda-time i,
.agenda-location i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* ==================== FAQ SECTION ==================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== PRESTASI SECTION ==================== */
.achievement-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.achievement-grid {
    display: none;
}

.achievement-grid.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.achievement-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.achievement-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achievement-badge i {
    font-size: 1.5rem;
    color: var(--white);
}

.achievement-info .achievement-year {
    display: inline-block;
    background: var(--gray-100);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.achievement-info h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.achievement-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.gallery-item.hidden {
    display: none;
}

/* ==================== PPDB SECTION ==================== */
.ppdb-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.ppdb-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ppdb-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ppdb-card .ppdb-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ppdb-card .ppdb-icon i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.ppdb-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.ppdb-card ul {
    list-style: none;
}

.ppdb-card ul li {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.ppdb-card ul li:last-child {
    border-bottom: none;
}

.ppdb-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.ppdb-form-container h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.ppdb-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ppdb-form .form-group {
    margin-bottom: 20px;
}

.ppdb-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.ppdb-form .form-group input,
.ppdb-form .form-group select,
.ppdb-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.ppdb-form .form-group input:focus,
.ppdb-form .form-group select:focus,
.ppdb-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.ppdb-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ppdb-form .checkbox-group input {
    width: auto;
    margin-top: 3px;
}

.ppdb-form .checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--primary-light);
}

.footer-item > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-item h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-item ul li {
    margin-bottom: 12px;
}

.footer-item ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-item ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-bottom p i {
    color: #e74c3c;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== LOADING SPINNER ==================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== ALERT MESSAGES ==================== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .vm-container {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ppdb-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-item-dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
    }
    
    .nav-dropdown {
        position: static;
        box-shadow: none;
        padding: 0 0 0 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item-dropdown.active .nav-dropdown {
        max-height: 500px;
    }
    
    .btn-ppdb {
        display: inline-block;
        margin-top: 10px;
        text-align: center;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-grid.active {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ppdb-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .agenda-item {
        flex-direction: column;
        text-align: center;
    }
    
    .agenda-date {
        margin: 0 auto;
    }
    
    .achievement-card {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-badge {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container,
    .ppdb-form-container {
        padding: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-tabs,
    .gallery-filter {
        gap: 10px;
    }
    
    .tab-btn,
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .about-experience {
        bottom: -10px;
        right: -10px;
        padding: 15px 20px;
    }
    
    .exp-number {
        font-size: 2rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar,
    .hero,
    .back-to-top,
    .btn {
        display: none !important;
    }
    
    .section {
        padding: 20px 0;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
}

.floating-upload {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.upload-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
}
.dropup-menu {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.dropup-menu.show {
    display: block;
}
.dropup-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

@keyframes slideUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes slideDown {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(10px); opacity: 0; }
}

.news-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Biar gambar sedikit membulat sudutnya */
    object-fit: cover;
}

.btn-edit, .btn-delete {
    padding: 5px 10px;
    margin-right: 5px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    display: inline-block;
}

.btn-edit {
    background-color: #007bff;
    padding: 5px 10px;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-edit:hover {
    background-color: #0056b3;
}

.btn-delete {
    background-color: #dc3545;
    padding: 5px 10px;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-delete:hover {
    background-color: #a71d2a;
}

/* ========== START RESPONSIVE AND IMPROVE UX ========== */

/* Responsive Layout */
@media (max-width: 1200px) {
    /* Resize container width */
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
    /* Navigation menu adaptasi */
    .nav-menu {
        gap: 20px;
    }
}

/* Tablet devices */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    /* Navbar and Menu */
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        display: none; /* Hide menu default on tablet */
        flex-direction: column;
        background: var(--white);
        position: fixed;
        top: 60px; /* adjust based on navbar height */
        left: 0;
        width: 100%;
        box-shadow: var(--shadow);
        padding: 10px 0;
        z-index: 1001;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--gray-200);
    }
    .nav-item-dropdown:hover .nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: none;
    }
    /* Hero Text Resizing */
    .hero-title {
        font-size: 2.5rem !important;
    }
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    /* Vertical layout for hero buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .nav-menu {
        top: 60px;
    }
    .hero-title {
        font-size: 2rem !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
    }

    /* Agenda Section Responsiveness */
    .agenda-item {
        flex-direction: column !important;
        padding: 15px !important;
    }
    .agenda-date {
        margin-bottom: 15px !important;
        min-width: 100% !important;
        text-align: center !important;
        padding: 20px 0 !important;
    }
    .agenda-content h4 {
        font-size: 1.2rem !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    /* Adjust footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    /* Accordion / Dropdowns adjustment for mobile */
    .nav-dropdown {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-item-dropdown.active .nav-dropdown {
        max-height: 1000px; /* big enough to show content */
    }
}

/* Button animation smooth on hover */
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-light:hover,
.btn-edit:hover,
.btn-delete:hover {
    transition: all 0.25s ease-in-out;
}

/* Back to top button position fix on low res */
@media (max-width: 600px) {
    .back-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem !important;
    }
}

/* Improvements for input fields on small devices */
@media (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        font-size: 1rem !important;
        padding: 10px;
    }
}

/* Optional: fix potential hover issues on touch devices */
@media (hover: none) {
    .nav-item-dropdown:hover .nav-dropdown {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(10px) !important;
        max-height: 0 !important;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-left: 0; /* Menambahkan margin kiri */
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.table-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
.table-link :hover {
    color: #4CAF50; /* Warna hijau saat hover */
}

.table-container {
    width: 100%;
    padding-left: 0; /* Mengurangi padding kiri */
    margin-left: 0; /* Mengurangi margin kiri */
    overflow-x: auto;
}

thead tr {
    background-color: #2E7D32; /* warna var(--primary-color) */
    color: #fff;
}
th, td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    vertical-align: middle;
    text-align: left;
    max-width: 150px; /* Mengurangi max-width agar kolom lebih sempit */
    word-wrap: break-word;
}

td img {
    max-width: 60px;
    border-radius: 4px;
}

        /* Responsive untuk tabel */
        @media (max-width: 768px) {
            table, thead, tbody, th, td, tr {
                display: block;
            }
            thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }
            tr {
                margin-bottom: 15px;
                border: 1px solid #ddd;
                padding: 10px;
                border-radius: 8px;
                background: #f9f9f9;
            }
            td {
                border: none;
                position: relative;
                padding-left: 50%;
                text-align: right;
            }
            td::before {
                position: absolute;
                top: 10px;
                left: 10px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                font-weight: 700;
                text-align: left;
                color: #333;
            }
            td:nth-of-type(1)::before { content: "No"; }
            td:nth-of-type(2)::before { content: "Nama Lengkap"; }
            td:nth-of-type(3)::before { content: "Jenis Kelamin"; }
            td:nth-of-type(4)::before { content: "Tempat, Tanggal Lahir"; }
            td:nth-of-type(5)::before { content: "Asal Sekolah"; }
            td:nth-of-type(6)::before { content: "Nama Ayah"; }
            td:nth-of-type(7)::before { content: "Nama Ibu"; }
            td:nth-of-type(8)::before { content: "Alamat"; }
            td:nth-of-type(9)::before { content: "No Whatsapp"; }
            td:nth-of-type(10)::before { content: "Rapot"; }
            td:nth-of-type(11)::before { content: "Ijazah"; }
            td:nth-of-type(12)::before { content: "Kartu Keluarga"; }
            td:nth-of-type(13)::before { content: "Akta Kelahiran"; }
            td:nth-of-type(14)::before { content: "SHUN"; }
            td:nth-of-type(15)::before { content: "Pas Foto"; }
            td:nth-of-type(16)::before { content: "Aksi"; }
            td img {
                max-width: 40px;
                position: initial;
                padding: 0;
            }
        }

/* Popup Notifikasi */
.notif-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
    color: #111;
    overflow: hidden;
    z-index: 10000; /* Pastikan berada di atas */
    animation: fadeInSlide 0.4s ease forwards;
    user-select: none;
    display: block; /* Pastikan tampil */
}

/* Untuk menyembunyikan notifikasi jika tidak diperlukan */
.notif-popup.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.notif-card {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
}

.notif-loading-bar {
    height: 4px;
    background-color: #2196f3;
    animation: loadingBar 6s linear forwards;
    width: 100%;
}

@keyframes loadingBar {
    from { width: 100%; }
    to { width: 0; }
}

.notif-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    position: relative;
}

.notif-icon svg {
    display: block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.notif-content {
    flex-grow: 1;
}

.notif-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.2;
    color: #111;
}

.notif-status {
    color: #4caf50;
    font-weight: 600;
    margin-top: 2px;
    font-size: 0.8rem;
}

.notif-close {
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    background: none;
    font-size: 1.7rem;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    user-select: none;
    transition: color 0.3s ease;
}

.notif-close:hover {
    color: #444;
}

.notif-footer {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notif-footer i {
    font-size: 0.9rem;
    margin-right: 5px;
    color: #666;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsiveness untuk perangkat kecil */
@media (max-width: 480px) {
    .notif-popup {
        width: 90vw;
        left: 5%;
        bottom: 15px;
    }
}

@media (max-width: 320px) {
    .notif-popup {
        width: 85vw;
        bottom: 10px;
    }
}

.verifikasi-berhasil {
    display: inline-block;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ppdb-gambar {
    padding: 0; /* Menghilangkan padding agar hanya teks yang tampil */
    color: var(--black);
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
    background: transparent; /* Menghilangkan latar belakang */
    display: flex;
    align-items: left;
    justify-content: left;
}

.ppdb-gambar:hover {
    color: yellow; /* Warna teks tetap kuning saat hover */
    background: transparent; /* Pastikan latar belakang tetap transparan saat hover */
}

/* Style untuk container tombol export dan pencarian */
.search-export-container {
    display: flex;
    justify-content: space-between; /* Memastikan tombol dan input berada di kiri dan kanan */
    padding: 20px;
    background-color: #f4f7fc; /* Warna latar belakang terang */
    margin-bottom: 20px; /* Jarak antara pencarian dan tabel */
}

/* Style untuk tombol Export CSV */
.search-export-container .btn-outline {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 25px;
    background-color: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Efek saat hover tombol Export CSV */
.search-export-container .btn-outline:hover {
    background-color: #4CAF50;
    color: white;
}

/* Style untuk input pencarian */
#searchInput {
    padding: 10px 15px;
    font-size: 16px;
    width: 300px; /* Ukuran lebar input */
    border: 2px solid #ddd; /* Border tipis */
    border-radius: 25px; /* Membuat sudut input melengkung */
    outline: none;
    transition: border-color 0.3s ease;
}

/* Efek saat input mendapat fokus */
#searchInput:focus {
    border-color: #4CAF50; /* Warna border saat fokus */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* Efek bayangan saat fokus */
}

/* Responsif untuk ukuran lebih kecil */
@media (max-width: 768px) {
    .search-export-container {
        flex-direction: column; /* Membuat elemen berada dalam satu kolom pada layar kecil */
        align-items: flex-start; /* Menjaga tombol dan input tetap di kiri */
    }

    #searchInput {
        width: 100%; /* Input mencari mengambil lebar penuh pada layar kecil */
    }

    .search-export-container .btn-outline {
        width: 100%; /* Tombol export mengambil lebar penuh pada layar kecil */
        margin-bottom: 10px; /* Memberikan jarak antara tombol dan input pencarian */
    }
}


/* ========== END RESPONSIVE AND UX IMPROVEMENTS ========== */