/* ===== ROOT & THEME ===== */
:root {
    --primary-color: #141b26;      /* dark textured wall / background */
    --secondary-color: #c94a78;    /* magenta glow (right light, softened) */
    --accent-color: #f08fa6;       /* warm pink highlight */
    --amber-500: #ff4fd8;          /* neon pink tube */
    --orange-600: #4fd6ff;         /* neon cyan tube */
    --gradient: linear-gradient(135deg, #ff4fd8, #4fd6ff);
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.dark-mode {
    background-color: #111827;
    color: #f9fafb;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.gradient-border {
    background: var(--gradient);
}

/* ===== NAVIGATION ===== */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark-mode #navbar.scrolled {
    background: rgba(17, 24, 39, 0.95);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--gradient);
}

.nav-link.active {
    color: var(--amber-500);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #475569 50%, #92400e 100%);
    opacity: 0.9;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url(abstract\ bg.jpg);
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 1024px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.fade-in {
    animation: fade-in 1s ease-out;
}

.pulse-animation {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.typing-text {
    display: inline-block;
}

/* ===== BUTTONS ===== */
.btn-primary {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
}

.btn-secondary {
    padding: 1rem 2rem;
    border: 2px solid white;
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #1a2332;
}

/* ===== SECTIONS ===== */
.section-light {
    padding: 5rem 0;
    background-color: white;
}

.dark-mode .section-light {
    background-color: #1f2937;
}

.section-dark {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.dark-mode .section-dark {
    background-color: #111827;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== CARDS ===== */
.card {
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    transition: all 0.3s ease;
}

.dark-mode .card {
    background-color: #1f2937;
}

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

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 10;
}

/* ===== SKILLS ===== */
.skill-bar {
    height: 0.75rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.dark-mode .skill-bar {
    background-color: #374151;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 9999px;
    transition: width 1s ease-out;
    width: 0;
}

.skill-progress.animated {
    animation: expand 1s ease-out forwards;
}

/* ===== EXPERIENCE CARDS ===== */
.experience-card {
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark-mode .experience-card {
    background-color: #1f2937;
}

.experience-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.experience-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: #f9fafb;
}

.dark-mode .contact-form {
    background-color: #111827;
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    background-color: white;
    transition: border-color 0.3s ease;
}

.dark-mode .input-field {
    background-color: #1f2937;
    border-color: #374151;
    color: white;
}

.input-field:focus {
    outline: none;
    border-color: var(--amber-500);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top-btn:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-line {
        left: 1.5rem;
    }
    
    .timeline-icon {
        margin-left: 0;
    }
}