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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #faf5ff 100%);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.1);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(147, 51, 234, 0.1);
    bottom: -150px;
    left: -150px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-name {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: #555;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.hero-cta i {
    transition: transform 0.3s ease;
}

.hero-cta:hover i {
    transform: translateY(2px);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-dot:nth-child(1) {
    animation-delay: 0s;
}

.scroll-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-description {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 10;
}

.about-skills,
.about-experience {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-subtitle {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 1rem;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
    flex: 1;
}

.skill-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 14px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.skill-content {
    flex: 1;
}

.skill-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.skill-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.experience-timeline {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.experience-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-dot {
    position: absolute;
    left: -8px;
    top: 0;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.experience-item:hover .experience-dot {
    transform: scale(1.2);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
}

.experience-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.experience-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.experience-company {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.experience-period {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.experience-description {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    flex: 1;
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 100 100\'><defs><pattern id=\'grain\' width=\'100\' height=\'100\' patternUnits=\'userSpaceOnUse\'><circle cx=\'25\' cy=\'25\' r=\'1\' fill=\'%23ffffff\' opacity=\'0.07\'/><circle cx=\'75\' cy=\'75\' r=\'1\' fill=\'%23ffffff\' opacity=\'0.07\'/><circle cx=\'50\' cy=\'10\' r=\'0.5\' fill=\'%23ffffff\' opacity=\'0.07\'/><circle cx=\'10\' cy=\'60\' r=\'0.5\' fill=\'%23ffffff\' opacity=\'0.07\'/><circle cx=\'90\' cy=\'40\' r=\'0.5\' fill=\'%23ffffff\' opacity=\'0.07\'/></pattern></defs><rect width=\'100\' height=\'100\' fill=\'url(%23grain)\'/></svg>');
    pointer-events: none;
    z-index: 1;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    display: block;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 20px 48px rgba(59, 130, 246, 0.18);
    background: rgba(255, 255, 255, 0.95);
}

.project-card:hover::before {
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #10b981);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-demo-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.tech-tag {
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.06);
    letter-spacing: 0.03em;
    border: 1px solid rgba(200, 200, 255, 0.18);
    backdrop-filter: blur(6px);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.tech-tag:hover {
    background: rgba(255,255,255,0.85);
    color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.13);
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    flex: 1;
    justify-content: center;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    color: #666;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #9ca3af;
    color: #374151;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
    opacity: 0.6;
}

.contact-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.15));
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.contact-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
    bottom: -150px;
    left: -150px;
    animation-delay: 3s;
}

.contact-shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.15));
    top: 50%;
    right: 10%;
    animation-delay: 6s;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 24px 24px 0 0;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.contact-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.contact-description {
    color: #666;
    line-height: 1.7;
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

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

.contact-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 18px;
    color: white;
    font-size: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.contact-item:hover .contact-icon::before {
    opacity: 1;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.contact-arrow {
    color: #3b82f6;
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Social Media Section */
.contact-social {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(59, 130, 246, 0.1);
    position: relative;
    z-index: 2;
}

.contact-social::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

.social-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-align: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-social-link:hover::before {
    left: 100%;
}

.contact-social-link:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    border-color: transparent;
}

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

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

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-title {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }
    
    .scroll-indicator {
        margin-top: 1.5rem;
    }
    
    .scroll-dot {
        width: 6px;
        height: 6px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-skills,
    .about-experience {
        height: auto;
    }
    
    .about-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .skill-card,
    .experience-card {
        padding: 1.5rem;
    }
    
    .skill-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .experience-dot {
        width: 16px;
        height: 16px;
    }

    .contact-content {
        max-width: 100%;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .contact-items {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-social-link {
        width: 50px;
        height: 50px;
    }

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

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .modal {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-social {
        gap: 0.75rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .hero {
        min-height: 75vh;
    }
    
    .scroll-indicator {
        margin-top: 1rem;
    }
    
    .scroll-dot {
        width: 5px;
        height: 5px;
    }

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

    .skills-grid {
        gap: 1rem;
    }

    .skill-card {
        padding: 1rem;
        gap: 1rem;
    }

    .experience-card {
        padding: 1rem;
    }
    
    .skill-icon {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
    
    .skill-title {
        font-size: 1.125rem;
    }
    
    .experience-title {
        font-size: 1.25rem;
    }

    .project-content {
        padding: 1rem;
    }

    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
    
    .contact-value {
        font-size: 1rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-social-link {
        width: 45px;
        height: 45px;
    }
}

/* Contact Section Specific Animations */
.contact-item {
    animation: slideInFromLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

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

/* Reintroduced entrance animations for "Let's Connect" */
@keyframes fadeUpSmall {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-header {
    animation: fadeUpSmall 0.6s ease-out;
    animation-fill-mode: both;
}

.contact-social {
    animation: fadeUpSmall 0.6s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

/* Stagger social links */
.social-links a { animation: slideInFromLeft 0.6s ease-out; animation-fill-mode: both; }
.social-links a:nth-child(1) { animation-delay: 0.1s; }
.social-links a:nth-child(2) { animation-delay: 0.2s; }
.social-links a:nth-child(3) { animation-delay: 0.3s; }

/* Pulse animation for contact icons */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.contact-icon {
    animation: pulse 2s ease-in-out infinite;
}

/* Gradient text animation */
@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
    .contact-info {
        padding: 3.5rem;
        max-width: 700px;
    }
    
    .contact-item:hover {
        transform: translateY(-6px) scale(1.03);
    }
    
    .contact-subtitle {
        font-size: 2.5rem;
    }
    
    .contact-description {
        font-size: 1.3rem;
    }
    
    .about-content {
        gap: 5rem;
    }
    
    .about-subtitle {
        font-size: 2rem;
    }
    
    .skill-card:hover {
        transform: translateY(-6px);
    }
    
    .experience-card:hover {
        transform: translateY(-6px);
    }
}

.skill-card,
.experience-card,
.project-card {
    opacity: 1 !important;
    animation: none !important;
}