/* Global Styles */
:root {
    --primary-color: #FFD700;
    --secondary-color: #1E3A8A;
    --accent-color: #10B981;
    --text-color: #333333;
    --background-color: #F3F4F6;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 1rem 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero div */
#beranda {
    background-image: url(./beranad/beranad.png);
    background-size: 100% 100%;
    padding: 8rem 4rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button {
    margin-top: 1rem;
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0E9F6E;
}

/* Feature Grid */
#fitur {
    padding: 4rem 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    width: 100%;
    margin-bottom: 1rem;
}

/* Timeline */
#cara-kerja {
    padding: 4rem 0;
    background-color: var(--white);
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

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

.timeline-item:nth-child(odd) {
    left: 0;
}

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

.timeline-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: -20px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--secondary-color);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -20px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Advantages Grid */
#keunggulan {
    padding: 4rem 4rem;
}

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

.advantage-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item img {
    width: 100%;
    margin-bottom: 1rem;
}

/* Contact div */
#kontak {
    padding: 4rem 4rem;
    background-color: var(--white);
}
#pinjaman-jangka-pendek{
    padding: 6rem 4rem;
    box-sizing: border-box;
}
#pinjaman-jangka-panjang{
    padding: 0 4rem 6rem;
    box-sizing: border-box;
}
#visi-misi{
    padding: 6rem 4rem;
    box-sizing: border-box;
}

#tim-kami{
    padding: 0 4rem 6rem;
    box-sizing: border-box;  
}
.contact-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0E9F6E;
}

/* Product Page */
.product-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-details,
.product-image {
    flex: 1;
}

.product-details ul {
    list-style-type: none;
    padding-left: 0;
}

.product-details li {
    margin-bottom: 0.5rem;
}

.apply-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #0E9F6E;
}

/* About Us Page */
.vision-mission {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.vision,
.mission {
    flex: 1;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.team-member {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-member img {
    width: 100%;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    #beranda {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

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

    .timeline-icon {
        left: 10px;
        right: auto;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .product-info {
        flex-direction: column;
    }

    .vision-mission {
        flex-direction: column;
    }
}