/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    margin: 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
}

.nav-links {
    display: flex;
    list-style-type: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url('hero-image.jpg') center/cover no-repeat;
    padding: 50px;
    text-align: center;
    color: white;
}

.hero h2 {
    font-size: 2.5em;
}

.hero p {
    font-size: 1.2em;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #c0392b;
}

/* Programs Section */
.programs {
    background-color: #ecf0f1;
    padding: 40px;
    text-align: center;
}

.program-list {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.program {
    background-color: white;
    padding: 20px;
    width: 30%;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.program h3 {
    margin-bottom: 10px;
}

/* Donasi Section */
.donasi {
    background-color: #f4f6f7;
    padding: 40px;
    text-align: center;
}

.donasi form {
    max-width: 500px;
    margin: 0 auto;
}

.donasi input {
    padding: 10px;
    width: 80%;
    margin: 10px 0;
}

.donasi button {
    padding: 10px 20px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
}

.donasi button:hover {
    background-color: #27ae60;
}

/* Footer */
footer {
    background-color: #34495e;
    color: white;
    text-align: center;
    padding: 20px;
}

.social-media {
    margin-top: 10px;
}

.social-icon {
    margin: 0 10px;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    color: #e74c3c;
}

/* General styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3 {
    margin: 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #2c3e50;
    color: white;
}

.nav-links {
    display: flex;
    list-style-type: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
}

.nav-links a:hover {
    background-color: #34495e;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: url('hero-image.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: white;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #c0392b;
}

/* Program Section */
.programs {
    padding: 50px 20px;
    text-align: center;
    background-color: #ecf0f1;
}

.program-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.program {
    background-color: white;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.program:hover {
    transform: translateY(-10px);
}

.program h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.program p {
    font-size: 1em;
    margin-bottom: 15px;
}

.btn-secondary {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn-secondary:hover {
    background-color: #2980b9;
}

/* Donasi Section */
.donasi {
    background-color: #f4f6f7;
    padding: 40px 20px;
    text-align: center;
}

.donasi input {
    padding: 10px;
    width: 80%;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.donasi button {
    padding: 15px 30px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
}

.donasi button:hover {
    background-color: #27ae60;
}

/* About Section */
.about {
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.about p {
    font-size: 1.1em;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    background-color: #34495e;
    color: white;
    text-align: center;
}

.contact ul {
    list-style-type: none;
    padding: 0;
}

.contact li {
    font-size: 1.2em;
    margin: 10px 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

.social-media {
    margin-top: 10px;
}

.social-icon {
    margin: 0 10px;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    color: #e74c3c;
}

/* Program Section */
.programs {
    padding: 60px 30px;
    background-color: #ecf0f1;
    text-align: center;
}

.programs h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.program-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.program h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.program p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-secondary {
    background-color: #3498db;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #2980b9;
}

/* Testimoni Section */
.testimonials {
    text-align: center;
    padding: 50px 20px;
    background-color: #f39c12;
    color: white;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.testimonials p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Swiper Container */
.swiper-container {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling untuk Testimoni Card */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
}

.testimonial-card img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.btn-testimonial {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-testimonial:hover {
    background-color: #c0392b;
}

/* Rata Kiri - Posisi Testimoni Kiri */
.testimonial-card.left {
    margin-right: auto;
}

/* Rata Kanan - Posisi Testimoni Kanan */
.testimonial-card.right {
    margin-left: auto;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background-color: white;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background-color: #e74c3c;
    opacity: 1;
}

/* Responsive Settings */
@media (max-width: 1024px) {
    .swiper-container {
        padding-bottom: 40px;
    }

    .testimonial-card {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        max-width: 160px;
    }

    .swiper-container {
        padding-bottom: 30px;
    }
}


/* Swiper Pagination */
.swiper-pagination-bullet {
    background-color: white;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background-color: #e74c3c;
    opacity: 1;
}

/* Responsive Settings */
@media (max-width: 1024px) {
    .swiper-container {
        padding-bottom: 40px;
    }

    .testimonial-card {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        max-width: 160px;
    }

    .swiper-container {
        padding-bottom: 30px;
    }
}
