/* Reset & Base */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f8fb;
    color: #232d3f;
    min-height: 100vh;
}

/* Header & Navbar */
header.navbar {
    background: #f5f5f5;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}
.logo {
    font-size: 2.2rem;
    font-weight: bold;
    color: #232d3f;
    padding: 28px 0 8px 0;
    text-align: center;
    letter-spacing: 1px;
}
.logo span {
    color: #26b580;
}
nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 18px;
}
nav a {
    text-decoration: none;
    color: #232d3f;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition:0.2s, color 0.2s;
    -webkit-transition:0.2s, color 0.2s;
}
nav a:hover, nav a.active {
    background: #4ecca3;
    color: #eae9f2;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: linear-gradient(120deg, #33c499 0%, #232d3f 100%);
    color: #fff;
    border-radius: 0 0 32px 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    padding: 48px 16px 32px 16px;
}
.hero-profile {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    align-items: center;
    transform: transform 320ms cubic-bezier(.2,.8,.2,1), box-shadow 320ms eas;
   
}
.profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.15);
    transition: border-radius 400ms cubic-bezier(.2,.8,.2,1), transform 300ms ease, box-shadow 300ms ease;
    cursor: pointer;
    display: block;
    
}
.profile-img:hover
{ transform: rotate(-4deg) scale(1.03) ; -webkit-transform: rotate(-4deg) scale(1.03) ; -moz-transform: rotate(-4deg) scale(1.03) ; -ms-transform: rotate(-4deg) scale(1.03) ; -o-transform: rotate(-4deg) scale(1.03) ; }

.hero h1 {
    font-size: 2.4rem;
    margin: 14px 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
}
.hero h1 span {
    color: #ffd700;
}
.hero p {
    font-size: 1.15rem;
    margin-bottom: 22px;
    font-weight: 400;
}
.btn {
    background: #ffd700;
    color: #232d3f;
    padding: 12px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    transition: 0.2s, color 0.2s;
    border: none;
    font-size: 1rem;
    margin-bottom: 18px;
    display: inline-block;
    -webkit-transition: 0.2s, color 0.2s;
    -moz-transition: 0.2s, color 0.2s;
    -ms-transition: 0.2s, color 0.2s;
    -o-transition: 0.2s, color 0.2s;
}
.btn:hover {
    background: #232d3f;
    color: #ffd700;
}
.hero-social {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    justify-content: center;
}
.hero-social img {
    transition: transform 0.2s;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
}
.hero-social img:hover {
    transform: scale(1.18) rotate(-10deg);
    background: #4ecca3;
}



/* Section: Skills */
.skills {
    max-width: 1000px;
    margin: 48px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: linear-gradient(120deg, #33c499 0%, #232d3f 100%);
    color: #fff;
    border-radius: 0 0 32px 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    padding: 48px 16px 32px 16px;
}
.skills h2 {
    text-align: center;
    font-size: 2rem;
    color: #232d3f;
    margin-bottom: 32px;
    font-weight: 700;
}
.skills-list {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.home-sci {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(44, 62, 80, 0.10);
    padding: 32px 20px;
    text-align: center;
    width: 210px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #f0f0f0;
  
}


.home-sci:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(78,204,163,0.18);
    border-color: #4ecca3;
}
.home-sci img {
    margin-bottom: 16px;
    width: 56px;
    height: 56px;
}
.home-sci h3 {
    margin: 10px 0 8px 0;
    color: #4ecca3;
    font-size: 1.2rem;
    font-weight: 600;
}
.home-sci p {
    color: #232d3f;
    font-size: 1rem;
    opacity: 0.85;
}

/* Section: Projects */
.projects {
     display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: linear-gradient(120deg, #33c499 0%, #232d3f 100%);
    color: #fff;
    border-radius: 0 0 32px 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    padding: 48px 16px 32px 16px; 
}

.projects h2 {
    text-align: center;
    font-size: 2rem;
    color: #232d3f;
    margin-bottom: 32px;
    font-weight: 700;
}
.project-list {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.project-card {
    background: #cbc9c9;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(44, 62, 80, 0.10);
    padding: 28px 20px;
    text-align: left;
    width: 320px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #0a0101;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(78,204,163,0.18);
    border-color: #06281c;
}
.project-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
    object-fit: cover;
    height: 160px;
    background: #139239;
}
.project-card h3 {
    color: #072b1f;
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    font-weight: 600;
}
.project-card p {
    color: #01060e;
    font-size: 1rem;
    opacity: 0.85;
}
.project-card a {
    margin-top: auto;
    color: #232d3f;
    background: #ffd700;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    align-self: flex-start;
    transition:  0.2s, color 0.2s;
    --webkit-transition: 0.2s, color 0.2s;
    -moz-transition: 0.2s, color 0.2s;
    -ms-transition: 0.2s, color 0.2s;
    -o-transition: 0.2s, color 0.2s;
}
.project-card a:hover {
    background: #4ecca3;
    color: #fff;
}

/* Section: Sertifikat */
.sertifikat {
    max-width: 1000px;
    margin: 48px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: linear-gradient(120deg, #33c499 0%, #232d3f 100%);
    color: #fff;
    border-radius: 0 0 32px 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    padding: 48px 16px 32px 16px; 
}
.sertifikat h2 {
    text-align: center;
    font-size: 2rem;
    color: #232d3f;
    margin-bottom: 32px;
    font-weight: 700;
}
.sertifikat-list {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.sertifikat-card {
    background: #e1e8e3;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(44, 62, 80, 0.10);
    padding: 28px 20px;
    text-align: center;
    width: 260px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #100101;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.sertifikat-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(78,204,163,0.18);
    border-color: #4ecca3;
}
.sertifikat-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #23a21a;
}
.sertifikat-card h3 {
    color: #4ecca3;
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.sertifikat-card p {
    color: #1c5cd1;
    font-size: 0.98rem;
    opacity: 0.85;
}

/* Section: Content (Tentang) */
.content {
    max-width: 1000px;
    margin: 48px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: linear-gradient(120deg, #33c499 0%, #232d3f 100%);
    color: #fff;
    border-radius: 0 0 32px 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    padding: 48px 16px 32px 16px;
}

/* Section: Contact */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: linear-gradient(120deg, #33c499 0%, #232d3f 100%);
    color: #fff;
    border-radius: 0 0 32px 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    padding: 48px 16px 32px 16px;
}
.contact h2 {
    color: #232d3f;
    font-size: 2rem;
    margin-bottom: 18px;
    font-weight: 700;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    font-size: 1rem;
    background: #f8fafb;
    transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid #4ecca3;
    outline: none;
}
.contact-form textarea {
    min-height: 90px;
    resize: vertical;
}
.contact-form button {
    background: #4ecca3;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 6px;
    transition:  0.2s, color 0.2s;
    --webkit-transition: 0.2s, color 0.2s;
    -moz-transition: 0.2s, color 0.2s;
    -ms-transition: 0.2s, color 0.2s;
    -o-transition: 0.2s, color 0.2s;
}
.contact-form button:hover {
    background: #3bb78f;
}
.contact-social {
    margin-top: 22px;
    display: flex;
    gap: 22px;
    justify-content: center;
}
.contact-social img {
    transition: transform 0.2s;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
}
.contact-social img:hover {
    transform: scale(1.18) rotate(-10deg);
    background: #4ecca3;
}

.map-cok {
    width: 300px;
    height: 200px;
    border: 0;
    background: #f3f3f3;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform .35s ease, box-shadow .35s ease;
    overflow: hidden;

}

.map-cok:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.map-cok:active {
    transform: scale(0.98);
}

/* Footer */
footer {
    text-align: center;
    padding: 22px 0;
    background: #232d3f;
    color: #fff;
    font-size: 1.08rem;
    margin-top: 48px;
    border-radius: 24px 24px 0 0;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
    .skills-list,
    .project-list,
    .sertifikat-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .skills,
    .projects,
    .sertifikat {
        padding: 0 8px;
    }
    .content, .contact {
        padding: 24px 8px;
    }
}



