:root {
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --gradient-primary: linear-gradient(
        135deg,
        #0f172a 0%,
        #1e293b 50%,
        #334155 100%
    );
    --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-primary-transparent: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%
    );
    --text-color: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: rgba(30, 41, 59, 0.8);
    --bg-glass: rgba(51, 65, 85, 0.3);
    --border-color: rgba(148, 163, 184, 0.2);
    --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
        sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: var(--bg-glass);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 80%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: var(--bg-glass);
}

/* Header Section */
.header {
    padding: 140px 0 100px;
    text-align: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(59, 130, 246, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(139, 92, 246, 0.1) 0%,
            transparent 50%
        );
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 900;
    background: linear-gradient(
        135deg,
        var(--text-color) 0%,
        var(--primary-color) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.header h2 {
    font-size: clamp(1.25rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    animation: fadeInUp 1s ease 0.1s both;
}

.header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s both;
}

.btn-primary,
.btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--primary-color);
}

/* social links header */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 50px;
    justify-content: center;
}

.social-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-text {
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link:hover .social-text {
    display: block;
}

/* Specific colors for each social platform */
.social-link.github:hover {
    background: #333;
    border-color: #333;
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.email:hover {
    background: #ea4335;
    border-color: #ea4335;
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

/* Main Content */
.main-content {
    background: var(--bg-primary);
    position: relative;
    z-index: 10;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 800;
    position: relative;
}

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

/* About Section */
.about-section {
    padding: 5rem 0;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Tab Styles */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tab-button {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
}

.tab-button.active {
    background-color: #007bff;
    color: #fff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

/* Card Styles */
.skill-card,
.project-card,
.certification-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.skill-card {
    background: var(--bg-glass);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05) 0%,
        rgba(139, 92, 246, 0.05) 100%
    );
    border-radius: 16px;
    z-index: -1;
}

.skill-icon img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.skill-card:hover,
.project-card:hover,
.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.skill-card h3,
.project-title,
.cert-content h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.skill-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    /* background: var(--bg-secondary); */
    position: relative;
}

.projects-swiper-wrapper {
    position: relative;
    padding: 0 60px; /* Ruang untuk navigation buttons */
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    overflow: hidden;
    position: relative;
    padding: 0;
    background: var(--bg-tertiary);
}

.project-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 4rem;
    opacity: 0.5;
    height: 100%;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.swiper-container {
    padding: 20px 0 60px; /* Padding bottom untuk pagination */
    overflow: visible;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    height: auto;
}

/* Navigation Buttons */
.swiper-navigation {
    position: relative;
    width: 100%;
    height: 0;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.swiper-button-next {
    right: -60px;
}

.swiper-button-prev {
    left: -60px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.project-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary-transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--text-color);
    padding: 2rem;
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.view-project-btn {
    background: var(--gradient-accent);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.view-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

/* Empty State */
.empty-state,
.empty-skills-notice {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state i,
.empty-skills-notice i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: var(--primary-color);
}

.empty-state h3,
.empty-skills-notice h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.empty-skills-notice {
    background: var(--bg-glass);
    border-radius: 16px;
    border: 2px dashed var(--border-color);
    margin-top: 2rem;
}

.empty-skills-notice p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Skills Section */
.skills-section {
    padding: 5rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.skills-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skills-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-glass);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.skill-icon {
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.category-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-glass);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.skill-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.skill-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.skill-proficiency {
    margin-top: auto;
}

.proficiency-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proficiency-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.proficiency-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    transition: width 0.8s ease;
    position: relative;
}

.proficiency-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Experience Section */
.experience-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 50%;
    padding-right: 3rem;
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.timeline-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-header .company {
    font-weight: bold;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-header .period {
    background: var(--gradient-accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
}

.timeline-description {
    margin-top: 1rem;
    color: var(--text-muted);
}

.achievements {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.achievements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Education Section */
.education-section {
    padding: 5rem 0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.education-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    color: var(--text-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.education-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.05) 0%,
        transparent 70%
    );
    transform: rotate(45deg);
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.education-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.institution {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.education-achievements {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.achievement-badge {
    background: var(--bg-glass);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

/* Certifications Section */
.certifications-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem;
}

.certification-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
}

.cert-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.cert-issuer {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.cert-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
}

/* photo profile styles */
.profile-photo {
    margin-bottom: 2rem;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-color);
    text-align: center;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

/* .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(20px);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
    box-shadow: var(--shadow-glow);
} */

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

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.loading {
    opacity: 0;
    transform: translateY(30px);
}

.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 70px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: left;
    }

    .timeline-marker {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 1rem;
        border-radius: 8px;
        display: block;
        background: var(--bg-glass);
        border: 1px solid var(--border-color);
    }

    .header {
        padding: 100px 0 60px;
    }

    .header-content {
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 200px;
        justify-content: center;
    }

    .projects-grid,
    .skills-grid,
    .education-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-overlay {
        opacity: 1;
        background: rgba(15, 23, 42, 0.8);
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .skill-card,
    .project-card,
    .certification-card,
    .education-card {
        padding: 1.5rem;
    }

    .skill-title {
        font-size: 1.125rem;
    }

    .category-title {
        font-size: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .timeline {
        padding: 1rem 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding: 0 1rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding: 1.5rem;
        text-align: left;
    }

    .timeline-marker {
        left: 20px;
        width: 16px;
        height: 16px;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .projects-swiper-wrapper {
        padding: 0 20px;
    }

    .swiper-button-next {
        right: -20px;
        width: 36px;
        height: 36px;
    }

    .swiper-button-prev {
        left: -20px;
        width: 36px;
        height: 36px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 80px 0 40px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header h2 {
        font-size: 1.25rem;
    }

    .header p {
        font-size: 1rem;
    }

    .skills-grid,
    .about-content,
    .projects-grid,
    .education-grid,
    .certifications-grid {
        gap: 1rem;
    }

    .skills-category {
        margin-bottom: 2rem;
    }

    .skill-card,
    .project-card,
    .certification-card,
    .education-card {
        padding: 1.25rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .project-content {
        padding: 1.25rem;
    }

    /* .social-links {
        gap: 1rem;
    } */

    /* .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    } */

    .nav-links {
        width: 100%;
        right: -100%;
        padding: 4rem 1rem 2rem;
    }

    .section-title::after {
        width: 40px;
        height: 2px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .overlay-content {
        padding: 1rem;
    }

    .overlay-content h3 {
        font-size: 1.25rem;
    }

    .view-project-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .projects-swiper-wrapper {
        padding: 0 10px;
    }

    .swiper-button-next {
        right: -10px;
        width: 32px;
        height: 32px;
    }

    .swiper-button-prev {
        left: -10px;
        width: 32px;
        height: 32px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .header h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .skill-card,
    .project-card,
    .certification-card,
    .education-card {
        padding: 1rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .project-content {
        padding: 1rem;
    }

    .nav-links {
        padding: 3rem 0.75rem 1.5rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .nav-container {
        padding: 0 0.75rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.glow-effect {
    box-shadow: var(--shadow-glow);
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Scroll Behavior */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.nav-links a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.project-link:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-toggle,
    /* .social-links {
        display: none;
    } */

    .header {
        padding: 2rem 0;
    }

    body {
        background: white;
        color: black;
    }

    .main-content {
        background: white;
    }
}
