/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-primary);
}

/* ==========================================================================
   COLOR VARIABLES & ROOT
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --error-color: #ef4444;
    --whatsapp-green: #25D366;
    --linkedin-blue: #0077b5;
    --phone-green: #10b981; /* DIUBAH: Dari merah ke hijau */
    
    /* Text */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Background */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    
    /* Borders & Shadows */
    --border-color: #e5e7eb;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.typing-text {
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Hero Social Links */
.social-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.social-link i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* Hero WhatsApp */
.whatsapp-social {
    color: var(--primary-color);
}

.whatsapp-social:hover {
    border-color: var(--whatsapp-green);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, var(--bg-primary) 100%);
}

.whatsapp-social:hover i {
    color: var(--whatsapp-green);
}

/* Hero Email */
.social-link[href^="mailto"] {
    color: var(--primary-color);
}

.social-link[href^="mailto"]:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
}

.social-link[href^="mailto"]:hover i {
    color: white;
}

/* Hero Phone - DIUBAH: Warna dari merah ke hijau */
.social-link[href^="tel"] {
    color: var(--phone-green);
}

.social-link[href^="tel"]:hover {
    background: var(--phone-green);
    border-color: #059669;
}

.social-link[href^="tel"]:hover i {
    color: white;
}

/* Hero LinkedIn */
.social-link[href*="linkedin"] {
    color: var(--linkedin-blue);
}

.social-link[href*="linkedin"]:hover {
    background: var(--linkedin-blue);
    border-color: #005885;
}

.social-link[href*="linkedin"]:hover i {
    color: white;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    background: none;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.image-placeholder i {
    font-size: 8rem;
    color: white;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* About Contact Info */
.contact-info {
    margin-top: 2rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.contact-info .contact-item:hover {
    transform: translateX(5px);
}

.contact-info .contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-info .contact-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================================================================
   ACHIEVEMENTS SECTION
   ========================================================================== */
.achievements {
    background: var(--bg-primary);
}

.achievements .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.achievements .timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.achievements .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.achievements .timeline-item.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.achievements .timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-light);
}

.achievements .timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
    position: relative;
}

.achievements .timeline-content:hover {
    transform: translateX(10px);
}

.achievements .timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.achievements .timeline-content h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.achievements .timeline-content h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.achievements .timeline-date {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    font-weight: 500;
}

.achievements .timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.achievements .timeline-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.achievements .timeline-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Vendor & Freelance Tags */
.achievements .vendor,
.achievements .freelance {
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.skill-category {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.skill-category h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
    margin-bottom: 0.25rem;
}

.skill-item:hover i {
    color: white;
}

.skill-item span {
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects {
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    z-index: 2;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.project-card:hover .project-image::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card:hover .feature-tag {
    background: var(--primary-color);
    color: white;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid transparent;
}

.project-link:hover {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

/* ==========================================================================
   EXPERIENCE SECTION
   ========================================================================== */
.experience {
    background: var(--bg-primary);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.1;
}

.experience .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.experience .timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.1);
}

.experience .timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    padding-left: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience .timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.experience .timeline-item:nth-child(even) {
    transform: translateY(-40px);
}

.experience .timeline-item:nth-child(even).visible {
    transform: translateY(0);
}

.experience .timeline-marker {
    position: absolute;
    left: 20px;
    top: 0.75rem;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-light), 0 0 0 4px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.experience .timeline-item:hover .timeline-marker {
    transform: scale(1.3);
    box-shadow: var(--shadow-medium), 0 0 20px rgba(37, 99, 235, 0.4);
}

.experience .timeline-content {
    background: white;
    padding: 2.25rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.experience .timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.experience .timeline-content:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(37, 99, 235, 0.1);
}

.experience .timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience .timeline-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.experience .timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.experience .timeline-date {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.35rem 0.85rem;
    border-radius: 25px;
    font-size: 0.9rem;
    white-space: nowrap;
    font-weight: 500;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.experience .timeline-content:hover .timeline-date {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.experience .timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.experience .timeline-content ul {
    margin-top: 1.25rem;
    padding-left: 1.5rem;
    list-style: none;
}

.experience .timeline-content ul li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1rem;
    font-size: 0.95rem;
}

.experience .timeline-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ==========================================================================
   EDUCATION SECTION
   ========================================================================== */
.education {
    background: var(--bg-primary);
}

.education-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.education-card,
.thesis-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.education-card::before,
.thesis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.education-card:hover,
.thesis-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.education-header,
.thesis-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.education-icon,
.thesis-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.5rem;
}

.education-info,
.thesis-info {
    flex: 1;
}

.education-info h3,
.thesis-info h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-info h4,
.thesis-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.education-info h4 a,
.thesis-info h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.education-info h4 a:hover,
.thesis-info h4 a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--primary-color);
}

.education-date,
.thesis-date {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    width: fit-content;
}

.education-description p,
.thesis-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.thesis-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.thesis-features .feature-tag {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.education-card:hover .thesis-features .feature-tag,
.thesis-card:hover .thesis-features .feature-tag {
    background: var(--primary-color);
    color: white;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Contact Items Base */
.contact-items .contact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.contact-items .contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-items .contact-item:not(a) {
    cursor: default;
}

.contact-items .contact-item:not(a):hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-items .contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-items .contact-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.contact-items .contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-items .contact-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Contact Items Specific Colors */

/* Phone Contact Item - DIUBAH: Warna dari merah ke hijau */
.contact-items .contact-item[href^="tel"] {
    border-left: 4px solid var(--phone-green);
}

.contact-items .contact-item[href^="tel"] i {
    color: var(--phone-green);
}

.contact-items .contact-item[href^="tel"]:hover i {
    color: #059669;
}

.contact-items .contact-item[href^="tel"]:hover h4,
.contact-items .contact-item[href^="tel"]:hover span {
    color: var(--phone-green);
}

/* Email Contact Item */
.contact-items .contact-item[href^="mailto"] {
    border-left: 4px solid var(--primary-color);
}

.contact-items .contact-item[href^="mailto"] i {
    color: var(--primary-color);
}

.contact-items .contact-item[href^="mailto"]:hover i {
    color: var(--secondary-color);
}

/* Location Contact Item */
.contact-items .contact-item:has(.fa-map-marker-alt) {
    border-left: 4px solid var(--accent-color);
}

.contact-items .contact-item:has(.fa-map-marker-alt) i {
    color: var(--accent-color);
}

.contact-items .contact-item:has(.fa-map-marker-alt):hover i {
    color: var(--primary-color);
}

/* LinkedIn Contact Item */
.contact-items .contact-item[href*="linkedin"] {
    border-left: 4px solid var(--linkedin-blue);
}

.contact-items .contact-item[href*="linkedin"] i {
    color: var(--linkedin-blue);
}

.contact-items .contact-item[href*="linkedin"]:hover i {
    color: #005885;
}

/* WhatsApp Contact Item - DIAMAN: Tetap sama */
.contact-items .whatsapp-contact {
    border-left: 4px solid var(--whatsapp-green);
}

.contact-items .whatsapp-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.contact-items .whatsapp-contact:hover::before {
    left: 100%;
}

.contact-items .whatsapp-contact i {
    color: var(--whatsapp-green);
}

.contact-items .whatsapp-contact:hover i {
    color: #20ba5a;
}

.contact-items .whatsapp-contact:hover h4,
.contact-items .whatsapp-contact:hover span {
    color: var(--whatsapp-green);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: var(--shadow-medium);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

/* Footer Social Links */
.footer-social .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.footer-social .social-link:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Footer WhatsApp */
.footer-social .whatsapp-social {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
    color: var(--whatsapp-green);
}

.footer-social .whatsapp-social:hover {
    background: var(--whatsapp-green);
    border-color: #20ba5a;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.footer-social .whatsapp-social:hover i {
    color: white;
    transform: scale(1.1);
}

/* Footer Email */
.footer-social .social-link[href^="mailto"] {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--primary-color);
}

.footer-social .social-link[href^="mailto"]:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
}

.footer-social .social-link[href^="mailto"]:hover i {
    color: white;
}

/* Footer Phone - DIUBAH: Warna dari merah ke hijau */
.footer-social .social-link[href^="tel"] {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--phone-green);
}

.footer-social .social-link[href^="tel"]:hover {
    background: var(--phone-green);
    border-color: #059669;
}

.footer-social .social-link[href^="tel"]:hover i {
    color: white;
}

/* Footer LinkedIn */
.footer-social .social-link[href*="linkedin"] {
    background: rgba(0, 119, 181, 0.2);
    border-color: rgba(0, 119, 181, 0.3);
    color: var(--linkedin-blue);
}

.footer-social .social-link[href*="linkedin"]:hover {
    background: var(--linkedin-blue);
    border-color: #005885;
}

.footer-social .social-link[href*="linkedin"]:hover i {
    color: white;
}

/* ==========================================================================
   NOTIFICATIONS
   ========================================================================== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 350px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    backdrop-filter: blur(10px);
}

.notification.success {
    background: var(--success-color);
    border-left-color: #059669;
}

.notification.error {
    background: var(--error-color);
    border-left-color: #dc2626;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.notification-message {
    flex: 1;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading animation for page elements */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
/* Large Desktop */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-link {
        display: block;
        padding: 0.75rem;
        font-size: 1.1rem;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-social {
        gap: 0.75rem;
        margin-top: 1rem;
        justify-content: center;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

    .social-link i {
        font-size: 1.1rem;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    /* Sections */
    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Education Section */
    .education-header,
    .thesis-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .education-icon,
    .thesis-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .education-card,
    .thesis-card {
        padding: 2rem 1.5rem;
    }

    .thesis-features {
        justify-content: center;
    }

    .thesis-features .feature-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skill-category {
        padding: 2rem 1.5rem;
    }

    .skill-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        margin: 0;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 10px;
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
        order: -1;
    }

    .contact-items {
        gap: 0.75rem;
    }

    .contact-items .contact-item,
    .contact-items .whatsapp-contact {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .contact-items .contact-item i,
    .contact-items .whatsapp-contact i {
        font-size: 1.3rem;
        width: 25px;
    }

    .contact-items .contact-item h4,
    .contact-items .whatsapp-contact h4 {
        font-size: 1rem;
    }

    .contact-items .contact-item span,
    .contact-items .whatsapp-contact span {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-social {
        gap: 0.5rem;
        justify-content: center;
    }

    .footer-social .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-content p {
        font-size: 0.85rem;
    }

    /* Notifications */
    .notification {
        right: 10px !important;
        left: 10px !important;
        max-width: none !important;
        border-radius: 8px;
        top: 20px !important;
        padding: 0.875rem 1.25rem;
    }

    .notification-content {
        gap: 0.5rem;
    }

    .notification-close {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link i {
        font-size: 1rem;
    }

    .image-placeholder {
        width: 200px;
        height: 200px;
    }

    .education-info h3,
    .thesis-info h3 {
        font-size: 1.2rem;
    }

    .education-info h4,
    .thesis-info h4 {
        font-size: 1rem;
    }

    .education-card,
    .thesis-card {
        padding: 1.5rem;
    }

    .skill-items {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .skill-item {
        padding: 1rem 0.75rem;
    }

    .skill-item i {
        font-size: 1.75rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-image {
        height: 180px;
    }

    .project-image i {
        font-size: 3.5rem;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .contact-items {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-items .contact-item,
    .contact-items .whatsapp-contact {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 0.75rem;
    }

    .contact-items .contact-item i,
    .contact-items .whatsapp-contact i {
        width: auto;
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .footer-social {
        gap: 0.4rem;
    }

    .footer-social .social-link {
        width: 38px;
        height: 38px;
    }

    .footer-social .social-link i {
        font-size: 0.9rem;
    }

    .footer-content p {
        font-size: 0.8rem;
        text-align: center;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top i {
        font-size: 1.1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Print Styles */
@media print {
    .navbar,
    .hero-social,
    .footer,
    .scroll-to-top,
    .notification {
        display: none !important;
    }
    
    section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
