/* CSS Variables for Design System */
:root {
    --background: hsl(220, 27%, 98%);
    --foreground: hsl(215, 20%, 17%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 20%, 17%);
    --primary: hsl(215, 84%, 55%);
    --primary-foreground: hsl(220, 27%, 98%);
    --secondary: hsl(215, 20%, 95%);
    --secondary-foreground: hsl(215, 20%, 17%);
    --muted: hsl(215, 20%, 95%);
    --muted-foreground: hsl(215, 16%, 47%);
    --accent: hsl(195, 84%, 55%);
    --accent-foreground: hsl(220, 27%, 98%);
    --border: hsl(215, 20%, 90%);
    --input: hsl(215, 20%, 90%);
    --ring: hsl(215, 84%, 55%);

    /* Professional gradients */
    --gradient-primary: linear-gradient(135deg, hsl(215, 84%, 55%), hsl(195, 84%, 55%));
    --gradient-secondary: linear-gradient(135deg, hsl(215, 20%, 95%), hsl(220, 27%, 98%));
    --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%, 0.8), hsl(215, 20%, 95%, 0.4));

    /* Professional shadows */
    --shadow-sm: 0 2px 4px hsl(215, 20%, 17%, 0.06);
    --shadow-md: 0 4px 12px hsl(215, 20%, 17%, 0.08);
    --shadow-lg: 0 8px 30px hsl(215, 20%, 17%, 0.12);
    --shadow-glow: 0 0 40px hsl(215, 84%, 55%, 0.15);

    --radius: 0.5rem;
}

.dark {
    --background: hsl(215, 28%, 8%);
    --foreground: hsl(215, 20%, 95%);
    --card: hsl(215, 25%, 12%);
    --card-foreground: hsl(215, 20%, 95%);
    --primary: hsl(215, 84%, 65%);
    --primary-foreground: hsl(215, 28%, 8%);
    --secondary: hsl(215, 20%, 16%);
    --secondary-foreground: hsl(215, 20%, 95%);
    --muted: hsl(215, 20%, 16%);
    --muted-foreground: hsl(215, 20%, 65%);
    --accent: hsl(195, 84%, 65%);
    --accent-foreground: hsl(215, 28%, 8%);
    --border: hsl(215, 20%, 20%);
    --input: hsl(215, 20%, 20%);
    --ring: hsl(215, 84%, 65%);

    /* Dark mode gradients */
    --gradient-primary: linear-gradient(135deg, hsl(215, 84%, 65%), hsl(195, 84%, 65%));
    --gradient-secondary: linear-gradient(135deg, hsl(215, 20%, 16%), hsl(215, 25%, 12%));
    --gradient-card: linear-gradient(145deg, hsl(215, 25%, 12%, 0.8), hsl(215, 20%, 16%, 0.4));

    /* Dark mode shadows */
    --shadow-sm: 0 2px 4px hsl(215, 28%, 8%, 0.5);
    --shadow-md: 0 4px 12px hsl(215, 28%, 8%, 0.6);
    --shadow-lg: 0 8px 30px hsl(215, 28%, 8%, 0.8);
    --shadow-glow: 0 0 40px hsl(215, 84%, 65%, 0.25);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.float-1 {
    top: -10rem;
    right: -10rem;
    width: 20rem;
    height: 20rem;
    background: rgba(255, 255, 255, 0.1);
}

.float-2 {
    bottom: -10rem;
    left: -10rem;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 255, 255, 0.05);
    animation-delay: 1s;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.profile-image-container {
    position: relative;
}

.profile-image-wrapper {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: var(--gradient-secondary);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.hero-text {
    flex: 1;
    text-align: center;
    max-width: 50rem;
}

.hero-header {
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.875rem;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.skill-badge {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-foreground);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.contact-icon {
    width: 1rem;
    height: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 0.25rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    margin-top: 0.5rem;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 40rem;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 50rem;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 5rem;
}

.timeline-marker {
    position: absolute;
    left: 1.25rem;
    top: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--background);
    box-shadow: var(--shadow-md);
}

.timeline-content {
    padding: 2rem;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.company-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.company {
    font-weight: 500;
    color: var(--primary);
}

.location {
    color: var(--muted-foreground);
}

.period {
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.job-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.achievements h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.achievements ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.achievements li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
}

.achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Skills Section */
.skills-section {
    padding: 6rem 0;
    background: var(--secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.skill-category .category-header,
.specialization .specialization-header,
.certification .certification-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.category-icon,
.specialization-icon,
.certification-icon {
    color: var(--primary);
}

.category-header h3,
.specialization-header h3,
.certification-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-weight: 500;
    color: var(--foreground);
}

.skill-experience {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.skill-bar {
    height: 0.5rem;
    background: var(--border);
    border-radius: 0.25rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary);
    border-radius: 0.25rem;
    transition: width 0.3s ease;
}

.specialization p,
.certification p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.certification-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cert-badge {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.float-3 {
    top: -5rem;
    right: -5rem;
    width: 15rem;
    height: 15rem;
    background: rgba(255, 255, 255, 0.1);
    animation-delay: 0.5s;
}

.float-4 {
    bottom: -5rem;
    left: -5rem;
    width: 18rem;
    height: 18rem;
    background: rgba(255, 255, 255, 0.05);
    animation-delay: 1.5s;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.contact-header .section-title {
    color: var(--primary-foreground);
}

.contact-header .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.contact-method-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary-foreground);
}

.contact-method-info p {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--primary-foreground);
}

.contact-method-desc {
    font-size: 0.875rem;
    opacity: 0.8;
}

.quick-action {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
}

.quick-action-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.quick-action-icon {
    color: var(--accent);
}

.quick-action h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-foreground);
}

.quick-action p {
    opacity: 0.9;
    line-height: 1.6;
}

.quick-action-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--accent-foreground);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.status-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    grid-column: 1 / -1;
}

.status-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 0.75rem;
    height: 0.75rem;
    background: #02f323;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-foreground);
}

.status-card p {
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.status-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.status-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.contact-cta {
    text-align: center;
    position: relative;
    z-index: 10;
}

.contact-cta h3 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-foreground);
}

.contact-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Responsive Design */
@media (min-width: 640px) {
    .action-buttons,
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .skills-badges,
    .contact-info {
        justify-content: flex-start;
    }
    
    .main-title {
        font-size: 4rem;
    }
    
    .subtitle {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .main-title {
        font-size: 4.5rem;
    }
    
    .subtitle {
        font-size: 2.25rem;
    }
    
    .hero-content {
        gap: 5rem;
    }
}