/* ========================================
   YUNNAZ ERLANGGA PORTFOLIO
   Modern Dark Theme with Glassmorphism
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    /* Colors */
    --bg-primary: #020617;
    --bg-secondary: #0f172a;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-cyan: #22d3ee;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;

    --border-color: #1e293b;
    --border-glow: rgba(34, 211, 238, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
    --gradient-button: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #22d3ee 0%, #f8fafc 50%, #a855f7 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(34, 211, 238, 0.3);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'Fira Code', 'Consolas', monospace;

    /* Spacing */
    --nav-height: 60px;
    --section-padding: 100px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ========== Background Effects ========== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.nav-link i {
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(34, 211, 238, 0.1);
}

.nav-link.active {
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.3);
}

/* ========== Main Content ========== */
.main-content {
    position: relative;
    z-index: 1;
}

.section {
    min-height: 100vh;
    padding: var(--section-padding);
    padding-top: 120px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

/* ========== Hero Section ========== */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.hero-content {
    position: relative;
}

.hero-welcome {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-welcome i {
    color: var(--accent-cyan);
}

.hero-text {
    position: relative;
}

.floating-labels {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    bottom: -60px;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}

.floating-label {
    position: absolute;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    animation: float 3s ease-in-out infinite;
}

.label-1 {
    top: -15px;
    left: 150px;
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.label-2 {
    top: 80px;
    left: 380px;
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.label-3 {
    bottom: -20px;
    right: 0;
    border-color: #fbbf24;
    color: #fbbf24;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    margin-bottom: 20px;
}

.tech-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Code Window */
.hero-code {
    position: relative;
}

.code-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27ca40;
}

.code-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-code);
}

.code-content {
    padding: 20px;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-family: var(--font-code);
    font-size: 0.85rem;
    line-height: 1.8;
}

.code-content code {
    font-family: inherit;
}

.code-keyword {
    color: #c792ea;
}

.code-variable {
    color: #82aaff;
}

.code-property {
    color: #c3e88d;
}

.code-string {
    color: #c3e88d;
}

.code-boolean {
    color: #ff9cac;
}

.code-number {
    color: #f78c6c;
}

.code-function {
    color: #82aaff;
}

/* ========== About Section ========== */
.about-section {
    background: transparent;
}

.about-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent-cyan);
}

/* ========== Skills Section ========== */
.skills-section {
    padding-top: 120px;
    position: relative;
    overflow: visible;
}

/* 3D Icon Sphere */
.icon-sphere-container {
    position: relative;
    width: 100%;
    height: 400px;
    max-width: 600px;
    margin: 0 auto 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.icon-sphere {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    animation: sphereRotate 25s linear infinite;
}

@keyframes sphereRotate {
    from {
        transform: rotateY(0deg) rotateX(15deg);
    }

    to {
        transform: rotateY(360deg) rotateX(15deg);
    }
}

/* Icon items on the sphere */
.sphere-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    left: 50%;
    top: 50%;
    margin-left: -27.5px;
    margin-top: -27.5px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Hexagon shape using clip-path */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 2px solid rgba(34, 211, 238, 0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    font-size: 1.4rem;
    color: var(--accent-cyan);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backface-visibility: visible;
    cursor: pointer;
}

.sphere-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), transparent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    pointer-events: none;
}

.sphere-icon i {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.sphere-icon:hover {
    transform: scale(1.3) !important;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-10px) translateX(5px);
    }

    50% {
        transform: translateY(-5px) translateX(-5px);
    }

    75% {
        transform: translateY(-15px) translateX(3px);
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Card Glow Effect */
.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(34, 211, 238, 0.15),
            transparent 40%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category:hover {
    border-color: rgba(34, 211, 238, 0.5);
    transform: translateY(-5px);
    box-shadow:
        0 0 30px rgba(34, 211, 238, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.category-header i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.category-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background: rgba(34, 211, 238, 0.2);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.skill-tag i {
    font-size: 0.9rem;
}


/* ========== Projects Section ========== */
.projects-section {
    padding-top: 120px;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.project-card.reverse {
    direction: rtl;
}

.project-card.reverse>* {
    direction: ltr;
}

.project-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-image img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.project-number {
    padding: 8px 16px;
    background: rgba(34, 211, 238, 0.9);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bg-primary);
}

.project-content {
    padding: 20px 0;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tech span {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.project-link:hover {
    color: var(--accent-purple);
}

/* ========== Experience Section ========== */
.experience-section {
    padding-top: 120px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.experience-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition-normal);
}

.experience-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.exp-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.exp-icon span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: var(--font-code);
}

.exp-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.exp-company {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.exp-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.exp-details {
    padding-left: 20px;
}

.exp-details li {
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.exp-details li::before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--accent-cyan);
}

/* ========== Education Section ========== */
.education-section {
    padding-top: 120px;
}

.education-grid {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    text-align: center;
    transition: var(--transition-normal);
}

.education-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.edu-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 211, 238, 0.1);
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.edu-icon i {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.edu-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.edu-school {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.edu-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.edu-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Courses Section */
.courses-section {
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.courses-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.courses-title i {
    color: var(--accent-cyan);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: var(--transition-normal);
}

.course-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.course-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.course-content {
    flex: 1;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.course-platform {
    font-size: 0.95rem;
    color: var(--accent-purple);
    margin-bottom: 5px;
}

.course-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.course-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== Services Section ========== */
.services-section {
    padding-top: 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition-normal);
}

.service-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.3rem;
    color: var(--accent-purple);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-type {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.service-type i {
    margin-right: 8px;
    color: var(--accent-cyan);
}

.service-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.service-status i {
    margin-right: 8px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-achievements {
    margin-bottom: 20px;
}

.service-achievements h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-achievements h4 i {
    margin-right: 8px;
    color: var(--accent-purple);
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.achievement-tags span {
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--accent-purple);
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.service-tech span {
    padding: 5px 12px;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========== Contact Section ========== */
.contact-section {
    padding-top: 120px;
    padding-bottom: 100px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.3rem;
    color: white;
}

.contact-icon.whatsapp {
    background: #25d366;
}

.contact-icon.email {
    background: var(--accent-purple);
}

.contact-icon.linkedin {
    background: #0077b5;
}

.contact-icon.github {
    background: #333;
}

.contact-icon.location {
    background: var(--accent-pink);
}

.contact-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text a,
.contact-text span {
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.contact-text a:hover {
    color: var(--accent-purple);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-button);
    color: white;
    border-radius: 10px;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.btn-submit i {
    margin-left: 8px;
}

/* ========== Chat Button ========== */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-button);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(168, 85, 247, 0.4);
    transition: var(--transition-normal);
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button i {
    font-size: 1.5rem;
    color: white;
}

/* ========== Footer ========== */
.footer {
    text-align: center;
    padding: 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .hero-container {
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .skills-grid,
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .navbar {
        width: 90%;
        padding: 8px 15px;
    }

    .nav-link span {
        display: none;
    }

    .nav-link {
        padding: 10px 12px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .floating-labels {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .project-card,
    .project-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .skills-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .hero-code {
        display: none;
    }

    .code-content pre {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        width: 95%;
        padding: 6px 10px;
    }

    .nav-link {
        padding: 8px 10px;
    }

    .nav-link i {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 80px 0;
        padding-top: 100px;
    }

    .skills-grid,
    .experience-grid,
    .projects-container,
    .contact-container,
    .services-grid,
    .education-grid,
    .about-container {
        padding: 0 20px;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(34, 211, 238, 0.5);
    }
}

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

/* Intersection Observer Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Shooting Stars ========== */
.shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    opacity: 0;
    transform: rotate(135deg);
}

.shooting-star:nth-child(1) {
    top: 5%;
    right: 10%;
    animation: shootingStar 6s linear infinite;
    animation-delay: 0s;
}

.shooting-star:nth-child(2) {
    top: 15%;
    right: 30%;
    animation: shootingStar 8s linear infinite;
    animation-delay: 2s;
}

.shooting-star:nth-child(3) {
    top: 10%;
    right: 50%;
    animation: shootingStar 7s linear infinite;
    animation-delay: 4s;
}

.shooting-star:nth-child(4) {
    top: 25%;
    right: 20%;
    animation: shootingStar 9s linear infinite;
    animation-delay: 1s;
}

.shooting-star:nth-child(5) {
    top: 8%;
    right: 70%;
    animation: shootingStar 6s linear infinite;
    animation-delay: 3s;
}

@keyframes shootingStar {
    0% {
        opacity: 0;
        transform: rotate(135deg) translateX(0);
    }

    2% {
        opacity: 1;
    }

    10% {
        opacity: 0.8;
        transform: rotate(135deg) translateX(200px);
    }

    15%,
    100% {
        opacity: 0;
        transform: rotate(135deg) translateX(300px);
    }
}

/* ========== Sparkles ========== */
.sparkles {
    position: absolute;
    top: -45px;
    left: -50px;
    width: 120px;
    height: 80px;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 0.9rem;
    color: var(--accent-pink);
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
    top: 20px;
    left: 30px;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 50px;
    left: 0;
    animation-delay: 0.5s;
    font-size: 0.7rem;
}

.sparkle-3 {
    top: 30px;
    left: 70px;
    animation-delay: 1s;
    font-size: 0.6rem;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ========== Typewriter Effect ========== */
.typewriter {
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--accent-cyan);
    animation: blink 1s step-end infinite;
    font-weight: 400;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ========== Staggered Entrance Animations ========== */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    animation: staggeredFadeIn 0.8s ease forwards;
}

.hero-content .animate-item:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-content .animate-item:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content .animate-item:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-content .animate-item:nth-child(4) {
    animation-delay: 0.4s;
}

.hero-content .animate-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes staggeredFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Enhanced Floating Labels ========== */
.floating-label {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.label-1 {
    animation: floatLabel1 4s ease-in-out infinite;
}

.label-2 {
    animation: floatLabel2 4.5s ease-in-out infinite;
}

.label-3 {
    animation: floatLabel3 5s ease-in-out infinite;
}

@keyframes floatLabel1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-5px, -10px);
    }

    50% {
        transform: translate(5px, -5px);
    }

    75% {
        transform: translate(-3px, 5px);
    }
}

@keyframes floatLabel2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(8px, -8px);
    }

    50% {
        transform: translate(-5px, 5px);
    }

    75% {
        transform: translate(5px, -3px);
    }
}

@keyframes floatLabel3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-8px, 5px);
    }

    50% {
        transform: translate(3px, -10px);
    }

    75% {
        transform: translate(6px, 3px);
    }
}

/* ========== Code Window Glow Animation ========== */
.code-window {
    animation: codeGlow 3s ease-in-out infinite alternate;
}

@keyframes codeGlow {
    0% {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 211, 238, 0.2);
    }

    100% {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4), 0 0 50px rgba(34, 211, 238, 0.4);
    }
}

/* ========== Hello Text Glow ========== */
.hello-text {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: helloGlow 3s ease-in-out infinite alternate;
}

@keyframes helloGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }

    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

/* ========== Hero Code Entrance ========== */
.hero-code {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.6s;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Button Pulse Effect ========== */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}