/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, "Open Sans", sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Typography */
h1 {
    font-size: 32px;
    font-weight: bold;
    color: #B22222;
    margin-bottom: 16px;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 12px;
}

p {
    font-size: 16px;
    margin-bottom: 16px;
}

/* Header Styles */
.header {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #B22222;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background-color: #B22222;
    color: #FFFFFF;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(206, 102, 102, 0.8), rgba(139, 0, 0, 0.8)), url('/img/banner.jpg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
    padding: 400px 0;
}

.hero h1 {
    color: #FFFFFF;
    font-size: 42px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #B22222;
    color: #FFFFFF;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #B22222;
}

.btn:hover {
    background-color: #8B0000;
    border-color: #8B0000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #B22222;
    border: 2px solid #B22222;
}

.btn-outline:hover {
    background-color: #B22222;
    color: #FFFFFF;
}

/* Sections */
.section {
    padding: 48px 0;
}

.section-light {
    background-color: #F5F5F5;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 16px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: #B22222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #FFFFFF;
    font-size: 24px;
}

/* Stats Section */
.stats {
    background-color: #B22222;
    color: #FFFFFF;
    padding: 48px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-item h3 {
    color: #FFFFFF;
    font-size: 36px;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #B22222, #8B0000);
    color: #FFFFFF;
    text-align: center;
    padding: 64px 0;
}

.cta h2 {
    color: #FFFFFF;
    font-size: 32px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #B22222;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.table th,
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #B22222;
    color: #FFFFFF;
    font-weight: 600;
}

.table tr:hover {
    background-color: #F5F5F5;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #B22222;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #FFFFFF;
    border: 4px solid #B22222;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Testimonial */
.testimonial {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 24px;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial .author {
    font-weight: 600;
    color: #B22222;
}

/* Footer */
.footer {
    background-color: #333333;
    color: #FFFFFF;
    padding: 48px 0 24px;
}

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

.footer h3 {
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #B22222;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .section {
        padding: 32px 0;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-32 {
    margin-top: 32px;
}

.p-16 {
    padding: 16px;
}

.p-32 {
    padding: 32px;
}