/* Variabel CSS */
:root {
    --primary-color: #58a700;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
}

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border-radius: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #4a8f00;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #e9ecef;
}

.btn-login {
    background-color: transparent;
    color: var(--text-color);
    margin-right: 10px;
}

.btn-login:hover {
    text-decoration: underline;
}

.btn-large {
    padding: 12px 24px;
    font-size: 1.1rem;
}

/* Header Styles */
.header {
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    background-color: var(--white);
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 80px;
    width: 230px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    font-size: 1.5rem;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-txt {
    width: 150px;
}

.logo-txt img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--black);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* Intro Section */
.intro {
    background-color: #4a8f00;
    padding: 80px 0;
    text-align: center;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.intro h3 {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: #ffffff;
}

/* Features Section */
.features {
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
}

/* Languages Section */
.languages {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.languages h2 {
    font-size: 2rem;
    margin-bottom: 50px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.language-card {
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.language-flag {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Footer Styles */
.footer {
    padding: 40px 0 20px;
    background-color: #e9e9e9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.5rem;
    height: 80px;
    width: 230px;
}

.footer-logo .logo-icon {
    margin-right: 10px;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    text-decoration: none;
    color: var(--text-color);
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content, .hero-image {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}