/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f8ff;
    color: #172554;
}

/* NAVBAR */
header {
    background: #071a38;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 27px;
    font-weight: 800;
}

.logo span,
footer h2 span {
    color: #ff3333;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff4545;
}

/* HERO */
.hero {
    min-height: 600px;
    background: linear-gradient(120deg, #071a38, #123e7a);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10%;
    color: white;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}

.welcome {
    color: #ff5555;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.hero h1 span {
    color: #ff4545;
}

.hero h2 {
    color: #78b5ff;
    margin-bottom: 18px;
}

.hero p {
    color: #dbeafe;
    line-height: 1.9;
}

.btn {
    display: inline-block;
    background: #ed3030;
    color: white;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 30px;
    margin-top: 28px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #ffffff;
    color: #ed3030;
    transform: translateY(-4px);
}

/* HERO IMAGE */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3333, #2678df);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 10px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 50px rgba(50,120,255,0.4);
}

.circle span {
    color: white;
    font-size: 75px;
    font-weight: 800;
}

/* GENERAL SECTION */
.section {
    padding: 90px 10%;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 35px;
    color: #102b55;
}

.section-title span {
    color: #e52e36;
}

/* ABOUT */
.about-text {
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 2;
    color: #64748b;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    background: white;
    padding: 30px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
    border-bottom: 4px solid #2563eb;
}

.info-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #ed3030;
}

.info-card h3 {
    font-size: 35px;
    margin-bottom: 12px;
}

.info-card h4 {
    margin-bottom: 8px;
}

.info-card p {
    color: #64748b;
    font-size: 13px;
}

/* HOBI */
.hobi {
    background: #eaf1ff;
}

.hobi-card {
    background: white;
    max-width: 550px;
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border-top: 5px solid #ed3030;
}

.hobi-icon {
    font-size: 65px;
    margin-bottom: 15px;
}

.hobi-card h3 {
    margin-bottom: 15px;
    color: #123e7a;
}

.hobi-card p {
    color: #64748b;
    line-height: 1.9;
}

/* CODING */
.coding-content {
    max-width: 700px;
    margin: auto;
    background: #071a38;
    padding: 45px;
    color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.coding-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.coding-content h3 {
    color: #73b5ff;
    margin-bottom: 15px;
}

.coding-content p {
    color: #dbeafe;
    line-height: 1.9;
}

.coding-tags {
    margin-top: 25px;
}

.coding-tags span {
    display: inline-block;
    padding: 8px 18px;
    background: #ed3030;
    color: white;
    border-radius: 20px;
    margin: 5px;
    font-size: 12px;
}

/* MOTIVASI */
.motivasi {
    background: linear-gradient(120deg, #092653, #164c91);
    color: white;
}

.quote-label {
    color: #ff6666;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.motivasi h2 {
    font-size: 32px;
    max-width: 750px;
    margin: auto;
    line-height: 1.6;
}

.motivasi h2 span {
    color: #ff5252;
}

.quote-author {
    margin-top: 20px;
    color: #8fc4ff;
    font-weight: 600;
}

.quote-description {
    margin: 20px auto 0;
    max-width: 600px;
    line-height: 1.8;
    color: #dbeafe;
}

/* FOOTER */
footer {
    background: #06152d;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

footer p {
    color: #b8c9e5;
    font-size: 13px;
}

.copyright {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #263b5c;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 7%;
    }

    .hero h1 {
        font-size: 30px;
    }

    .circle {
        width: 190px;
        height: 190px;
    }

    .circle span {
        font-size: 55px;
    }

    .info-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 65px 7%;
    }

    .section-title {
        font-size: 26px;
    }

    .motivasi h2 {
        font-size: 25px;
    }

    .coding-content {
        padding: 30px 20px;
    }
}

@media (max-width: 400px) {
    .info-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 10px;
    }
}
