@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* === Gaya Dasar === */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === Navigasi === */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #1e293b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav img {
    height: 50px;
    width: auto;
    animation: slideInLeft 0.6s ease-out 0.2s both
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    animation: slideInRight 0.6s ease-out 0.2s both
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: #60a5fa;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #60a5fa;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* === Konten Utama === */
.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 10%;
    flex: 1;
}

.content-text {
    max-width: 600px;
}

.h1 {
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: slideInLeft 1.2s ease-out forwards;
}

.p1, .p2 {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1;
    animation: slideInLeft 1.2s ease-out forwards;
}


/* === Footer === */
.footer {
    width: 100%;
    padding: 1.5rem 0;
    background-color: #1e293b;
    color: #f8fafc;
    text-align: center;
    margin-top: auto;
    animation: slideInUp 0.6s ease-out 0.2s both
}

/* === Responsif === */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }
    
    .content-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .content-image {
        flex: 0 0 auto;
    }
    
    .content-image img {
        max-width: 200px;
    }
}
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .h1 {
        font-size: 2rem;
    }
    
    .p1, .p2, .p3, .p4 {
        font-size: 1rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { 
        transform: translateX(-50px);
        opacity: 0;
    }
    to { 
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from { 
        transform: translateX(50px);
        opacity: 0;
    }
    to { 
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from { 
        transform: translateY(30px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}
