/* Warna Tema Cyber Security */
:root {
    --bg-dark: #0a0e17;
    --bg-medium: #131b2b;
    --text-light: #e4f1ff;
    --text-medium: #8aaccc;
    --accent: #3ee668;
    --accent-blue: #00b8d4;
}

/* Reset dan Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h2.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--accent);
    position: relative;
}

h2.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

/* Header dan Navigasi */
header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--accent);
}

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

.logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--accent);
}

.logo span {
    color: var(--text-light);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 24px;
    cursor: pointer;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
}

.stat-box {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid var(--accent);
    transition: transform 0.1s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    font-size: clamp(24px, 5vw, 36px);
    color: var(--accent);
}

.stat-title {
    font-size: 16px;
    color: var(--text-secondary);
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("fsociety.jpg") no-repeat center;
    background-size: cover;
    height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-medium);
}

.typewriter {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 25px;
    overflow: hidden;
    border-right: 3px solid var(--accent);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    margin-bottom: 25px;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent) }
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: var(--accent);
    text-decoration: none;
    border: 2px solid var(--accent);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    margin-right: 15px;
    margin-top: 20px;
}

.btn:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.about-image {
    flex: 1;
    min-width: 250px;
}

.profile-img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    border: 3px solid var(--accent);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-medium);
}

/* Skills Section */
#skills {
    background-color: var(--bg-medium);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.skill-category {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--accent);
    width: calc(50% - 10px);
    min-width: 250px;
    flex-grow: 1;
}

.skill-category h3 {
    color: var(--accent);
    margin-bottom: 15px;
    text-align: center;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-bar {
    height: 10px;
    background-color: var(--bg-dark);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--accent);
}

/* Experience Section */
.exp-container {
    border-left: 3px solid var(--accent);
    margin-left: 20px;
    padding-left: 20px;
}

.exp-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.exp-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--accent);
    border-radius: 50%;
    left: -29px;
    top: 5px;
}

.exp-date {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--accent);
    color: var(--bg-dark);
    border-radius: 15px;
    font-size: 14px;
    margin-bottom: 10px;
}

.exp-title {
    font-size: 20px;
    margin-bottom: 5px;
}

.exp-company {
    color: var(--text-medium);
    margin-bottom: 10px;
}

.exp-desc {
    color: var(--text-medium);
    font-size: 14px;
}

/* Certificates Section */
#certificates {
    background-color: var(--bg-medium);
}

.cert-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.cert-card {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--accent);
    width: calc(33.33% - 20px);
    min-width: 280px;
    transition: transform 0.3s;
}

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

.cert-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cert-content {
    padding: 15px;
}

.cert-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.cert-issuer {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 10px;
}

.cert-date {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 15px;
}

.download-btn {
    display: block;
    padding: 8px 0;
    background-color: var(--accent);
    color: var(--bg-dark);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.download-btn:hover {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

/* Footer */
footer {
    background-color: var(--bg-medium);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--accent);
}

.footer-text {
    color: var(--text-medium);
    font-size: 14px;
}

/* Responsif */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .skill-category,
    .cert-card {
        width: 100%;
    }

    .about-image {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-content {
        flex-direction: column;
    }
}