/* main */
.main-content, #about-page {
    width: 100%;
    padding: 5px 20px 20px;
    box-sizing: border-box;
}

/* About Section */
.about-section {
    background: rgba(10,10,10,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
    color: #bbb;
    padding: 50px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

/* Titles */
#about-page .about-title h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

#about-page .about-title h5 {
    font-size: 15px;
    font-weight: 300;
    color: #ddd;
    margin-bottom: 25px;
}

.about-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 15px;
}

.highlight {
    color: #fff;
    font-weight: 600;
}

/* tab menu */
#about-page .tab-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 6px 10px;
    margin-bottom: 25px;
    background: rgba(10,10,10,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    flex-wrap: wrap;
    position: relative;
    backdrop-filter: blur(4px);
}

#about-page .tab-slider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    transform: translateY(-50%);
    transition: 0.35s ease;
    z-index: 0;
}

#about-page .tab-btn {
    padding: 10px 18px;
    background: transparent;
    color: #ccc;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1;
    transition: color 0.3s;
}

#about-page .tab-btn.active {
    color: #fff;
}

#about-page .tab-btn .tab-icon {
    font-size: 16px;
    opacity: 0.8;
}

.download-btn .fa {
    margin-right: 8px; /* Memberikan jarak antara ikon dan teks */
}

#about-page .tab-btn:hover .tab-icon,
#about-page .tab-btn.active .tab-icon {
    opacity: 1;
}

/* tab conten */
#about-page .tab-content-frame {
    background: rgba(10,10,10,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(3px);
}

#about-page .tab-content {
    display: none;
    opacity: 0;
    transform: translateX(-30px);
    transition: 0.35s ease;
}

#about-page .tab-content.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

#about-page .tab-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

#about-page .tab-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
}

/* education */
#about-page .edu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#about-page .edu-card {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    transition: 0.25s ease;
}

#about-page .edu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.07);
}

#about-page .edu-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 10px;
}

#about-page .edu-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
    color: #fff;
}

#about-page .edu-info p,
#about-page .edu-info span {
    font-size: 14px;
    color: #bbb;
}

#about-page .edu-info span {
    font-size: 13px;
    color: #aaa;
}

/* resume */
#resume .resume-iframe-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#resume .resume-iframe-wrapper iframe {
    width: 70%;
    height: 1150px;
    border-radius: 12px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    transition: 0.3s;
}

.download-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* layout */
.main-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* responsive */
@media (max-width: 900px) {
    #about-page .tab-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    #about-page .tab-slider {
        height: 28px;
    }
    #about-page .edu-card {
        flex-direction: column;
        align-items: flex-start;
    }
    #about-page .edu-card img {
        width: 70px;
        height: 70px;
    }
    #resume .resume-iframe-wrapper iframe {
        width: 95%;
        height: 900px;
    }
}

@media (max-width: 420px) {
    #about-page .tab-btn {
        padding: 5px 8px;
        font-size: 12px;
    }
    #about-page .tab-slider {
        height: 25px;
    }
}

@media (max-width: 700px) {
    .main-content, #about-page {
        padding: 60px 10px 20px;
    }
}

/* Tablet portrait (≈1024px) */
@media (min-width: 901px) and (max-width: 1366px) and (orientation: portrait) {
    .main-content, #about-page {
        width: 75%;
        padding: 20px 15px 40px;
        overflow-x: hidden;
    }
    #about-page .about-title h1 {
        font-size: 26px;
    }
    #about-page .tab-content h2 {
        font-size: 18px;
    }
    #resume .resume-iframe-wrapper iframe {
        width: 95%;
        height: 900px;
    }
}
