* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #050505; 
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* ANIMASI BACKGROUND */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 71, 71, 0.08) 0%, transparent 50%);
    animation: moveGlow 15s linear infinite;
    z-index: -1;
}

@keyframes moveGlow {
    0% { transform: translate(0, 0); }
    50% { transform: translate(10%, 15%); }
    100% { transform: translate(0, 0); }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 71, 71, 0.1);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #ff4747;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 71, 71, 0.5);
}

nav a {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
    transition: 0.3s ease;
}

nav a:hover, nav a.active {
    color: #ff4747;
    text-shadow: 0 0 8px rgba(255, 71, 71, 0.6);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 8% 40px 8%;
    gap: 80px;
}

.image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-frame {
    position: relative;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(45deg, #ff4747, transparent);
    box-shadow: 0 0 60px rgba(255, 71, 71, 0.3);
    transition: 0.5s ease;
}

.profile-frame:hover {
    transform: scale(1.02);
    box-shadow: 0 0 80px rgba(255, 71, 71, 0.6);
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #050505;
}

.content-side {
    flex: 1.2;
}

.content-side h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 10px;
}

.content-side h3 span {
    color: #ff4747;
    font-weight: 700;
}

.content-side h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

#typewriter {
    color: #ff4747;
    border-right: 4px solid #ff4747;
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.content-side p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 500px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ff4747;
    border-radius: 50%;
    color: #ff4747;
    font-size: 22px;
    text-decoration: none;
    transition: 0.4s;
}

.social-icons a:hover {
    background: #ff4747;
    color: #000;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 71, 71, 0.5);
}

.btn-hire {
    display: inline-block;
    padding: 15px 40px;
    background: #ff4747;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
    border: 2px solid #ff4747;
}

.btn-hire:hover {
    background: transparent;
    color: #ff4747;
    transform: scale(1.05);
}

/* SECTION CONTAINER GENERAL */
.section-container {
    padding: 140px 8% 80px 8%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 40px;
    color: #ff4747;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff4747;
    border-radius: 2px;
}

/* TATA LETAK GRID ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 71, 71, 0.1);
    transition: 0.3s ease;
}

.about-card:hover {
    background: rgba(255, 71, 71, 0.05);
    border-color: #ff4747;
    transform: translateY(-10px);
}

.about-card h3 {
    color: #ff4747;
    margin-bottom: 20px;
    font-size: 22px;
}

.about-card p {
    font-size: 15px;
    color: #bbb;
    line-height: 1.7;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 12px 5px;
    font-size: 15px;
    color: #ddd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-table tr:last-child td {
    border: none;
}

.skill-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.skill-tag {
    background: #ff4747;
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

/* FORM CONTACT TENGAH DAN MELEBAR */
.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 71, 71, 0.1);
}

.input-group {
    margin-bottom: 25px;
    width: 100%;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 1px solid #222;
    color: #fff;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #ff4747;
    box-shadow: 0 0 15px rgba(255, 71, 71, 0.2);
    background: #151515;
}

/* HP FRIENDLY */
@media (max-width: 992px) {
    header { padding: 15px 5%; }
    nav a { margin-left: 20px; font-size: 15px; }
    .hero { flex-direction: column; text-align: center; padding-top: 150px; gap: 40px; }
    .profile-frame { width: 300px; height: 300px; }
    .content-side h1 { font-size: 40px; }
    .about-grid { grid-template-columns: 1fr; }
    .social-icons { justify-content: center; }
    .section-container { padding-top: 120px; }
}

@media (max-width: 480px) {
    header { flex-direction: column; gap: 10px; }
    nav a { margin: 0 10px; }
    .profile-frame { width: 240px; height: 240px; }
    .content-side h1 { font-size: 32px; }
    .contact-form { padding: 25px; }
}