* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1d23;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

#page-wrapper {
    transition: transform 0.5s ease-in-out;
    position: relative; 
    z-index: 1;
}

body.menu-open #page-wrapper {
    transform: translateX(-300px);
}

#dim-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: background 0.5s, visibility 0.5s;
    z-index: 14; 
    pointer-events: none;
}

body.menu-open #dim-overlay {
    background: rgba(0, 0, 0, 0.4);
    visibility: visible;
    pointer-events: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.menu-toggle {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 20;
}

.openbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: fixed;
    white-space: nowrap;
    vertical-align: middle;
    outline: 2px solid transparent;
    outline-offset: 2px;
    width: auto;
    line-height: 1.2;
    border-radius: 0;
    font-weight: 600;
    transition-property: background-color, border-color, color;
    transition-duration: 0.2s;
    height: 2.5rem;
    min-width: 2.5rem;
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: inherit;
    top: 0;
    right: 0;
    background: #ffffff;
    color: #1a1d23;
    border: none;
    cursor: pointer;
}

.openbtn:hover {
    background: #f7f7f7;
}

.openbtn:active {
    background: #e8e8e8;
}

.openbtn svg {
    margin-right: 0.5rem;
    width: 1em;
    height: 1em;
    display: inline-block;
    line-height: 1em;
    flex-shrink: 0;
}

@media screen and (min-width: 48em) {
    .openbtn {
        top: 1rem;
        right: 1rem;
    }
}

.overlay {
    height: 100%;
    width: 300px;
    position: fixed;
    z-index: 15; 
    top: 0;
    right: 0;
    background-color: rgba(26, 29, 35, 0.95); 
    overflow-x: hidden;
    transition: transform 0.5s ease-in-out; 
    transform: translateX(100%);
}

.overlay.open {
    transform: translateX(0);
}

.overlay-content {
    position: relative; 
    top: 50px; 
    width: 100%;
    text-align: left;
    padding: 0 40px;
}

.menu-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 900;
}

.overlay a {
    padding: 10px 0;
    text-decoration: none;
    font-size: 1.5rem;
    color: #e0e0e0;
    display: block;
    transition: 0.3s;
    font-weight: 600;
}

.overlay a:hover, 
.overlay a:focus {
    color: #c9ff00;
}

.closebtn {
    position: absolute;
    top: -15px; 
    right: 5px;
    font-size: 40px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
}

.hero {
    background: radial-gradient(circle at center, #252930 0%, #1a1d23 100%);
    position: relative;
    overflow: hidden;
    padding-top: 5rem; 
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    min-height: 80vh;
}

.hero-text {
    text-align: left;
    animation: fadeInUp 1s ease-out;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #c9ff00;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.hero-location {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.hero-address {
    font-size: 1rem;
    color: #888;
    margin-bottom: 3rem;
}

.btn-primary {
    background-color: #c9ff00;
    color: #1a1d23;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #b3e600;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 255, 0, 0.3);
}

.arrow {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.hero-interactive {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    z-index: 2;
}

.id-card-container {
    width: 320px;
    height: 480px;
    position: relative;
    perspective: 1000px;
    z-index: 10;
}

.id-card-inner {
    width: 100%;
    height: 100%;
    position: relative; 
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.3, 1.5, 0.6, 1.2); 
    cursor: grab;
    user-select: none;
    transform-origin: center center;
}

.id-card-inner.is-flipped {
    transform: rotateY(180deg);
}

.id-card-inner:active {
    cursor: grabbing;
}

.card-front, 
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; 
    border-radius: 20px;
    overflow: hidden; 
    display: flex; 
    align-items: center;
    justify-content: center;
}

.card-front {
    transform: rotateY(0deg); 
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(201, 255, 0, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    z-index: 2; 
}

.card-back {
    transform: rotateY(180deg); 
    background: #111; 
    border: 3px solid #ffaa00; 
    box-shadow: 0 0 40px rgba(255, 170, 0, 0.4), inset 0 0 10px rgba(255, 170, 0, 0.2);
    z-index: 1; 
    background-image: url('fiki_futuristic_face.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    position: relative; 
}

.card-content {
    padding: 25px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px; 
}

.chip {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #e0e0e0 0%, #b0b0b0 100%);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #888;
}

.univ-name {
    font-weight: 900;
    color: #c9ff00;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.card-body {
    text-align: center;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: #252930;
    border: 2px solid #c9ff00;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #c9ff00; 
    box-shadow: 0 0 20px rgba(201, 255, 0, 0.2);
    background-image: url('fiki_profile.jpg'); 
    background-size: cover;
    background-position: center; 
}

.student-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.student-info p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.student-info .major {
    color: #c9ff00;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.barcode {
    margin-top: 40px;
    font-family: 'Courier New', monospace;
    color: #555;
    font-weight: bold;
    letter-spacing: 5px;
    opacity: 0.5;
}

.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        125deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 40%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0.1) 60%,
        rgba(255,255,255,0) 100%
    );
    transform: translateX(-100%);
    transition: transform 0.1s;
    pointer-events: none;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

.card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1; 
}

.card-trading-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
    position: relative; 
    z-index: 2;
}

.card-back-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff; 
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 15px #ffaa00,
        0 0 25px #ffaa00;
    letter-spacing: 5px;
    margin-bottom: 10px;
    position: relative; 
    z-index: 2;
}

.card-back-text {
    font-family: 'Arial Black', Gadget, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase; 
    margin-top: 10px;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 15px #ffaa00,
        0 0 25px #ffaa00;
    position: relative; 
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.experience-container {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    min-height: 400px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.tab-content {
    grid-area: 1 / 1; 
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 0;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 1;
}

.card {
    background: #252930;
    border: 1px solid #333842;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #c9ff00;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-icon {
    margin-bottom: 1rem;
    color: #c9ff00;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.card-position {
    color: #c9ff00;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.card-year {
    color: #c9ff00;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.card-description {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: #252930;
    color: #b0b0b0;
    border: 1px solid #333842;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn svg {
    width: 20px;
    height: 20px;
}

.tab-btn:hover {
    border-color: #c9ff00;
    color: #ffffff;
}

.tab-btn.active {
    background-color: #c9ff00;
    color: #1a1d23;
    border-color: #c9ff00;
}

.tab-btn.active svg {
    stroke: #1a1d23;
}

/* Contact Section */
.section#contact { 
    background: radial-gradient(circle at center, #252930 0%, #1a1d23 100%);
    text-align: center;
    min-height: auto; 
    padding-bottom: 6rem;
}

.contact-subtitle {
    text-align: center;
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto; 
    margin-right: auto;
}

.email-link {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 0.8rem;
    font-size: 1.5rem;
    color: #c9ff00;
    text-decoration: none;
    margin-bottom: 1rem; 
    font-weight: 600;
    transition: all 0.3s ease;
}

.email-link.whatsapp-link {
    margin-bottom: 3rem; 
}

.email-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(201, 255, 0, 0.5);
}

.email-link svg {
    width: 32px;
    height: 32px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    background: #252930;
    color: #c9ff00;
    border: 1px solid #c9ff00;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn svg:last-child {
    width: 16px;
    height: 16px;
}

.social-btn:hover {
    background-color: #c9ff00;
    color: #1a1d23;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 255, 0, 0.3);
}

.social-btn:hover svg {
    stroke: #1a1d23;
}

footer {
    background-color: #111;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #333842;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-interactive {
        order: 1;
        margin-bottom: 2rem;
    }

    .hero-address {
        margin-bottom: 2rem;
    }
    
    .education-grid, 
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .education-grid, 
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .email-link {
        font-size: 1.2rem;
    }
}

.openbtn {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.menu-open .openbtn {
    opacity: 0;
    pointer-events: none;
}
