/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: #1a1a2e;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e94560;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e94560;
}

/* ============================================
   HERO SECTION (HOME)
   ============================================ */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight {
    color: #e94560;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #e94560;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #d63447;
}

/* ============================================
   ABOUT SECTION (BIODATA)
   ============================================ */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-photo {
    width: 250px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: block;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.bio-info {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.bio-item {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.bio-item:last-child {
    border-bottom: none;
}

.bio-item strong {
    min-width: 120px;
    color: #1a1a2e;
}

.bio-item a {
    color: #e94560;
    text-decoration: none;
}

.bio-item a:hover {
    text-decoration: underline;
}

.skills h3 {
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tags span {
    padding: 0.5rem 1rem;
    background: #e94560;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
.education {
    padding: 5rem 0;
}

.education h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e94560;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 15px;
    height: 15px;
    background: #e94560;
    border-radius: 50%;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.timeline-content h3 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.timeline-content .period {
    color: #e94560;
    font-weight: 600;
}

/* ============================================
   CONTACT SECTION (FORM)
   ============================================ */
.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #d63447;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #1a1a2e;
    color: #fff;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-info h3 {
    color: #e94560;
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #fff;
    text-decoration: none;
}

/* ============================================
   RESPONSIVE (MOBILE)
   ============================================ */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .photo-placeholder {
        margin: 0 auto;
    }
}
/* ===============================
   POPUP SUCCESS
   =============================== */

.popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup-content{
    background:#fff;
    padding:35px;
    width:350px;
    text-align:center;
    border-radius:15px;
    animation:popup .3s ease;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

@keyframes popup{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.check-icon{
    width:80px;
    height:80px;
    margin:auto;
    background:#28a745;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:40px;
    margin-bottom:20px;
}

.popup-content h2{
    color:#28a745;
    margin-bottom:10px;
}

.popup-content p{
    color:#555;
    margin-bottom:20px;
}

.popup-content button{
    background:#e94560;
    color:#fff;
    border:none;
    padding:10px 30px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
}

.popup-content button:hover{
    background:#d63447;
}