/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 76px; /* Untuk fixed navbar */
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background-color: #f8f9fa;
    padding: 100px 0;
    margin-top: -76px; /* Kompensasi padding-top body */
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Section Styles */
section {
    padding: 80px 0;
    scroll-margin-top: 76px; /* Untuk smooth scroll dengan fixed navbar */
}

section h2 {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #28a745;
    margin: 15px auto 0;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Program Cards */
.card i {
    color: #28a745;
    margin-bottom: 1rem;
}

.card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Prestasi & Galeri */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Form Styles */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Footer */
footer {
    background-color: #2c3e50;
    padding: 60px 0 30px;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer p {
    color: rgba(255,255,255,0.8);
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

footer .social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Buttons */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 0.5rem;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Responsive Images */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .card-img-top {
        height: 160px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
} 