/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(220, 13%, 18%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 13%, 18%);
    --primary: hsl(221, 83%, 53%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(210, 40%, 96%);
    --secondary-foreground: hsl(220, 13%, 18%);
    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215.4, 16.3%, 44%);
    --accent: hsl(221, 83%, 53%);
    --accent-foreground: hsl(0, 0%, 98%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --input: hsl(214.3, 31.8%, 91.4%);
    --ring: hsl(221, 83%, 53%);
    --radius: 0.75rem;
    
    /* Gradient Colors */
    --blue-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --green-gradient: linear-gradient(135deg, #10b981, #059669);
    --purple-gradient: linear-gradient(135deg, #8b5cf6, #7c3aed);
    --orange-gradient: linear-gradient(135deg, #f97316, #ea580c);
    --red-gradient: linear-gradient(135deg, #ef4444, #dc2626);
    --cyan-gradient: linear-gradient(135deg, #06b6d4, #0891b2);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--foreground);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icons {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .contact-icons {
        display: flex;
    }
}

.contact-icon {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.contact-icon:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background-color: var(--secondary);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-content {
    padding: 0.5rem 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    background-color: rgba(59, 130, 246, 0.1);
}

.mobile-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
}

/* Main Content */
.main {
    padding-top: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(221, 83%, 48%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--secondary);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(59, 130, 246, 0.1) 100%);
    padding: 5rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.02) 1px, transparent 0);
    background-size: 16px 16px;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--foreground);
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-name {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.875rem;
    }
}

.hero-paragraph {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 32rem;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(100, 116, 139, 0.1);
    border-radius: 0.5rem;
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    transform: scale(1.05);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

/* Skills Showcase */
.skills-showcase {
    position: relative;
}

.skills-card {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(59, 130, 246, 0.05) 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.1);
    animation: card-glow 4s ease-in-out infinite;
}

@keyframes card-glow {
    0%, 100% {
        box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.3);
    }
}

.skills-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--foreground);
}

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

.skill-item {
    padding: 1rem;
    border-radius: 0.75rem;
    color: white;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.05) translateY(-5px);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item[data-color="blue"] {
    background: var(--blue-gradient);
}

.skill-item[data-color="green"] {
    background: var(--green-gradient);
}

.skill-item[data-color="purple"] {
    background: var(--purple-gradient);
}

.skill-item[data-color="orange"] {
    background: var(--orange-gradient);
}

.skill-item[data-color="red"] {
    background: var(--red-gradient);
}

.skill-item[data-color="cyan"] {
    background: var(--cyan-gradient);
}

.skill-item i {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(10deg) scale(1.1);
    }
    75% {
        transform: rotate(-10deg) scale(1.1);
    }
}

.skill-item h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.skill-item p {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-color: rgba(100, 116, 139, 0.05);
    border-top: 1px solid rgba(100, 116, 139, 0.1);
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--card);
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
    margin: 0 auto 1rem;
    animation: icon-rotate 3s ease-in-out infinite;
}

@keyframes icon-rotate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(90deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    75% {
        transform: scale(1.2) rotate(270deg);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    animation: number-scale 0.6s ease-out;
}

@keyframes number-scale {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.stat-label {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.stat-subtext {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Section Styles */
.expertise,
.projects,
.certifications {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.expertise-card {
    background-color: var(--card);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.expertise-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.expertise-icon {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2) 0%, 
        rgba(59, 130, 246, 0.1) 100%);
    animation: icon-wiggle 2s ease-in-out infinite;
}

@keyframes icon-wiggle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(5deg);
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
    }
}

.expertise-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.expertise-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.expertise-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.375rem 0.75rem;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    animation: tag-appear 0.5s ease-out;
}

@keyframes tag-appear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.skill-tag:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    transform: scale(1.05);
}

/* Projects Grid */
.projects {
    background-color: rgba(100, 116, 139, 0.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    background-color: var(--card);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.project-header {
    margin-bottom: 1rem;
}

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

.status-badge.success {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.status-badge.progress {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.complexity-badge {
    padding: 0.25rem 0.5rem;
    background-color: var(--muted);
    color: var(--muted-foreground);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.complexity-badge.expert {
    background-color: rgba(239, 68, 68, 0.1);
    color: rgb(239, 68, 68);
    border-color: rgba(239, 68, 68, 0.2);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    transition: color 0.2s ease;
}

.project-card:hover .project-title {
    color: var(--primary);
}

.project-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.5rem;
    background-color: transparent;
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Certifications */
.certifications-list {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.certification-item {
    background-color: var(--card);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.certification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certification-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.certification-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    animation: icon-spin 2s linear infinite;
}

@keyframes icon-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.certification-name {
    font-weight: 600;
    color: var(--foreground);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.certification-issuer {
    color: var(--muted-foreground);
}

.certification-year {
    padding: 0.375rem 0.75rem;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(59, 130, 246, 0.15) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    animation: gradient-move 8s ease-in-out infinite;
}

@keyframes gradient-move {
    0%, 100% {
        background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    }
    25% {
        background: radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    }
    50% {
        background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    }
    75% {
        background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    animation: text-glow 5s ease-in-out infinite;
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3.75rem;
    }
}

@keyframes text-glow {
    0%, 100% {
        text-shadow: 0 0 0 transparent;
    }
    50% {
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
}

.cta-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .cta-description {
        font-size: 1.5rem;
    }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-btn {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    height: auto;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delayed {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.animate-slide-in {
    animation: slideIn 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 1s ease-out 0.4s both;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.animate-slide-up-delayed {
    animation: slideUp 0.8s ease-out 0.4s both;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out;
}

.animate-scale-up {
    animation: scaleUp 0.6s ease-out;
}

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

@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus states for keyboard navigation */
.btn:focus,
.nav-link:focus,
.contact-icon:focus,
.mobile-menu-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}