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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #0f172a;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 75px;
    padding: 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255,255,255,0.95);

    position: sticky;
    top: 0;
    z-index: 100;

    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo span,
.footer-logo span {
    color: #2563eb;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #2563eb;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

    padding: 80px 10%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        radial-gradient(
            circle at 80% 30%,
            #dbeafe,
            transparent 35%
        ),
        #f8fafc;
}

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

.small-title,
.section-label,
.section-title p {
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 50px;
    line-height: 1.1;
    margin: 10px 0;
}

.hero h2 {
    font-size: 22px;
    font-weight: 500;
    color: #475569;
}

.hero h2 span {
    color: #2563eb;
}

.description {
    color: #64748b;
    line-height: 1.8;
    margin: 25px 0;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons a {
    text-decoration: none;
    padding: 13px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid #cbd5e1;
    color: #334155;
}

.btn-secondary:hover {
    background: #e2e8f0;
}


/* FOTO */

.hero-photo {
    position: relative;
}

.photo-circle {
    width: 350px;
    height: 350px;

    border-radius: 50%;

    padding: 12px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );

    box-shadow: 0 30px 70px rgba(37,99,235,0.25);
}

.photo-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 1% 1%;
    

    border-radius: 50%;

    border: 8px solid white;
}


/* =========================
   SECTION
========================= */

.section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    margin-top: 5px;
}


/* =========================
   BIODATA
========================= */

.biodata-container {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    max-width: 1000px;

    margin: auto;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 25px;

    background: white;

    border-radius: 15px;

    box-shadow:
        0 10px 30px rgba(15,23,42,0.06);

    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(37,99,235,0.12);
}

.info-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eff6ff;

    border-radius: 12px;

    font-size: 22px;
}

.info-card small {
    color: #94a3b8;
    font-size: 12px;
}

.info-card h3 {
    font-size: 15px;
    margin-top: 3px;
}


/* =========================
   ABOUT
========================= */

.about-section {
    padding: 100px 10%;

    display: flex;
    align-items: center;

    gap: 80px;

    background: #0f172a;

    color: white;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 400 px;

    border-radius: 20px;

    display: block;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 38px;
    margin: 10px 0 20px;
}

.about-text > p:not(.section-label) {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-list {
    margin-top: 25px;
}

.about-list div {
    padding: 15px 0;

    border-bottom: 1px solid #334155;

    display: flex;
    flex-direction: column;
}

.about-list strong {
    margin-bottom: 4px;
}

.about-list span {
    color: #94a3b8;
    font-size: 13px;
}


/* =========================
   TIMELINE
========================= */

.timeline {
    max-width: 800px;
    margin: auto;

    border-left: 2px solid #dbeafe;

    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    width: 15px;
    height: 15px;

    background: #2563eb;

    border-radius: 50%;

    position: absolute;

    left: -49px;
    top: 5px;

    box-shadow:
        0 0 0 5px #dbeafe;
}

.timeline-content {
    background: white;

    padding: 25px;

    border-radius: 15px;

    box-shadow:
        0 10px 30px rgba(15,23,42,0.06);
}

.timeline-content span {
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

.timeline-content h3 {
    margin: 8px 0;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;
}


/* =========================
   SKILL
========================= */

.skill-section {
    padding: 100px 10%;
    background: #f1f5f9;
}

.skill-container {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.skill-card {
    background: white;

    padding: 30px;

    border-radius: 18px;

    position: relative;

    box-shadow:
        0 10px 30px rgba(15,23,42,0.05);
}

.skill-number {
    color: #cbd5e1;
    font-size: 35px;
    font-weight: 700;
}

.skill-card h3 {
    margin: 10px 0;
}

.skill-card p {
    color: #64748b;

    font-size: 13px;

    line-height: 1.7;

    min-height: 65px;
}

.progress {
    height: 7px;

    background: #e2e8f0;

    border-radius: 10px;

    overflow: hidden;

    margin: 20px 0 8px;
}

.progress div {
    height: 100%;

    background: linear-gradient(
        5deg,
        #2563eb,
        #7c3aed
    );

    border-radius: 10px;
}

.skill-card > span {
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}


/* =========================
   HOBBY
========================= */

.hobby-section {
    background: white;
}

.hobby-container {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.hobby {
    text-align: center;

    padding: 35px 20px;

    border: 1px solid #e2e8f0;

    border-radius: 15px;

    transition: 0.3s;
}

.hobby:hover {
    border-color: #2563eb;

    transform: translateY(-5px);
}

.hobby > div {
    font-size: 40px;
    margin-bottom: 10px;
}

.hobby h3 {
    margin-bottom: 8px;
}

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


/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 100px 10%;

    background:
        linear-gradient(
            135deg,
            #1e3a8a,
            #312e81
        );

    color: white;

    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: auto;
}

.contact-content h2 {
    font-size: 40px;
    margin: 10px 0;
}

.contact-content > p:not(.section-label) {
    color: #cbd5e1;
    line-height: 1.7;
}

.contact-list {
    margin-top: 40px;

    display: flex;

    justify-content: center;

    gap: 20px;
}

.contact-list div {
    background: rgba(255,255,255,0.1);

    padding: 20px;

    border-radius: 15px;

    min-width: 200px;
}

.contact-list span {
    font-size: 25px;
}

.contact-list p {
    margin-top: 8px;

    color: #cbd5e1;

    font-size: 12px;
}

.contact-list strong {
    color: white;
    font-size: 13px;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #020617;

    color: #64748b;

    text-align: center;

    padding: 30px;
}

.footer-logo {
    color: white;

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 8px;
}

footer p {
    font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        flex-direction: column;

        text-align: center;

        gap: 50px;

        padding: 70px 5%;
    }

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

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .photo-circle {
        width: 280px;
        height: 280px;
    }

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

    .about-section {
        flex-direction: column;

        padding: 80px 5%;
    }

    .about-image img {
        margin: auto;
    }

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


@media (max-width: 600px) {

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

    .hero h2 {
        font-size: 17px;
    }

    .section {
        padding: 70px 5%;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .biodata-container {
        grid-template-columns: 1fr;
    }

    .skill-container,
    .hobby-container {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-dot {
        left: -39px;
    }
}