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

html {
    scroll-behavior: smooth;
}

/* Optimized Ambient Background Effects */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    will-change: transform;
}

.wave-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(118, 75, 162, 0.04) 0%, transparent 50%);
    opacity: 0.4;
    animation: gentle-float 20s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(118, 75, 162, 0.15) 1px, transparent 1px);
    background-size: 250px 250px, 350px 350px;
    animation: subtle-drift 30s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

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

@keyframes subtle-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0f0f0f;
    min-height: 100vh;
}

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

.nav-container {
    width: 100%;
    padding: 0 20px;
    position: relative;
}

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-100%);
    animation: popDown 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes popDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    70% {
        opacity: 1;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    position: relative;
    padding-top: 80px;
    padding-bottom: 0;
    background: url('images/ChatGPT Image Jul 5, 2025, 04_48_48 PM.png') center/cover no-repeat fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.6);
    z-index: 1;
}





.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}



.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.4s both;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

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

/* Section Styles */
.section {
    padding: 6rem 0;
    margin: 0;
}

#projects {
    padding-top: 4rem;
}

/* Section Header Animations */
.section-header {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.section-header.animate-in::before {
    opacity: 1;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.left-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 100px;
}

.bottom-section {
    width: 100%;
}

.about-image {
    width: 400px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.5);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.about-image.bounce-in {
    opacity: 1;
    transform: scale(1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {

    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.about-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.about-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-description h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.about-description .subtitle {
    font-size: 1.3rem;
    color: #a593d1;
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-description p {
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-description p:last-child {
    margin-bottom: 1.5rem;
}

.education-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    width: 100%;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.education-header h4 {
    margin: 0;
    flex: 1;
}

.education-header .gpa {
    margin: 0;
    font-size: 0.9rem;
    white-space: nowrap;
}

.about-text .resume-link {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
}

.resume-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 140px;
}

.resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.education-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.education-info .gpa {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.coursework {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Experience Section */
#experience {
    position: relative;
    overflow: hidden;
    background: url('images/ChatGPT Image Jul 5, 2025, 04_48_48 PM.png') center/cover no-repeat fixed;
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.6);
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    z-index: 1;
    will-change: transform;
}

.experience-timeline {
    position: relative;
    padding-left: 2rem;
    z-index: 2;
}

.container {
    position: relative;
    z-index: 2;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.8s ease-out;
}

.experience-timeline.animate-timeline::before {
    transform: scaleY(1);
}

.experience-item {
    position: relative;
    width: 85%;
    margin-bottom: 2rem;
    padding-left: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}


.experience-item::before {
    content: '';
    position: absolute;
    left: calc(-2rem - 6px);
    top: 42%;
    transform: translateY(-50%);
    transform: translateX(-5%);
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    border: none;
}

.experience-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.company-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.experience-company {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.experience-location {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-description {
    color: #e0e0e0;
    line-height: 1.6;
}

.experience-description ul {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.experience-description li {
    margin-bottom: 0.5rem;
}

/* New Experience Layout */

/* Dot color will be set via CSS variable --dot-color per item */
.experience-item::before{
    background: var(--dot-color, #667eea) !important;
}
.experience-wrapper{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:2rem;
}

.experience-timeline{
    flex:1 1 50%;
    max-width:50%;
}

.experience-image{
    flex:1 1 45%;
    max-width:45%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.campus-image{
    width:100%;
    height: 600px;
    border-radius:12px;
    object-fit:cover;
    box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

@media(max-width: 768px){
    .experience-wrapper{
        flex-direction:column;
    }
    .experience-timeline, .experience-image{
        max-width:100%;
    }
}

/* Tighter spacing for experience cards */
.experience-location{
    margin-bottom: 0.25rem;
}
.experience-item{
    padding-bottom: 1rem;
}

/* Mobile Overrides */
@media (max-width: 600px){
    .about-text{padding-top:1rem;padding-bottom:1.5rem;}

    /* hide about header and name for concise intro */
    .about-header,
    #typewriter-name,
    .subtitle{
        display:none !important;
    }
    #about{
        padding-top: 20rem;
    }

    /* spacing before Experience section to avoid overlap */
    #experience{
        padding-top: 35rem;
    }
    .experience-wrapper{margin-top:0;}

    /* smaller section headers and allow wrapping */
    .section-header{
        font-size: 1.8rem;
        line-height: 1.2;
        word-break: break-word;
    }
    /* prevent typewriter name overflow */
    #typewriter-name{
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        white-space: nowrap;
        overflow: visible;
    }
    body{overflow-x:hidden;}

    /* hide large images */
    .experience-image,
    .about-image{
        display:none !important;
    }

    /* eliminate default highlight on phone links */
a[href^="tel"], a[href^="tel"]:visited{
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* contact cards full width */
    .contact-item{
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0 0 1rem 0;
    }
    .contact-content{
        flex-direction: column;
        align-items: stretch;
    }
}

/* Projects Section */
#projects {
    position: relative;
    overflow: hidden;
    background: url('images/ChatGPT Image Jul 5, 2025, 04_48_48 PM.png') center/cover no-repeat fixed;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.6);
    z-index: 1;
}

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

.project-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translateZ(0);
    will-change: transform;
}

/* Project Card Scroll Animations */
.animate-project-card {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-project-card.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.animate-project-card:nth-child(1) {
    transition-delay: 0.1s;
}

.animate-project-card:nth-child(2) {
    transition-delay: 0.3s;
}

/* Skill Card Scroll Animations */
.skill-category:nth-child(1) {
    transition-delay: 0.1s;
}

.skill-category:nth-child(2) {
    transition-delay: 0.2s;
}

.skill-category:nth-child(3) {
    transition-delay: 0.3s;
}

.skill-category:nth-child(4) {
    transition-delay: 0.4s;
}

/* Contact Section Scroll Animations */
.animate-contact-item {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-contact-item.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.animate-contact-item:nth-child(1) {
    transition-delay: 0.1s;
}

.animate-contact-item:nth-child(2) {
    transition-delay: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.project-emoji {
    position: relative;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.project-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-emoji {
    opacity: 0;
}

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

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
}

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

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

.tech-tag {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Skills Section */
#skills {
    position: relative;
    overflow: hidden;
    background: url('images/ChatGPT Image Jul 5, 2025, 04_48_48 PM.png') center/cover no-repeat fixed;
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.6);
    z-index: 1;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.skill-category {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    transform: scale(0.9) translateY(30px) translateZ(0);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.skill-category.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0) translateZ(0);
}

.skill-category.animate-in:hover {
    transform: scale(1) translateY(-5px) translateZ(0);
}


.skill-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.skill-bubbles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skill-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 20px;
    width: 80px;
    height: 80px;
    border: 2px solid #333333;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-bubble:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.skill-bubble img {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.skill-bubble:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.skill-bubble span {
    font-size: 0.75rem;
    color: #b0b0b0;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.skill-bubble:hover span {
    color: #ffffff;
    font-weight: 600;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.skill-item {
    background: #1a1a1a;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #b0b0b0;
    border: 1px solid #333333;
}

/* Contact Section */
#contact {
    position: relative;
    overflow: hidden;
    background: url('images/ChatGPT Image Jul 5, 2025, 04_48_48 PM.png') center/cover no-repeat fixed;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.6);
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #667eea;
    color: white;
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333333;
    border-radius: 10px;
    font-size: 1rem;
    background: #0f0f0f;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

.submit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

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

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-bubbles {
        gap: 0.75rem;
    }
    
    .skill-bubble {
        width: 70px;
        height: 70px;
        padding: 0.75rem;
    }
    
    .skill-bubble img {
        width: 28px;
        height: 28px;
        margin-bottom: 0.25rem;
    }
    
    .skill-bubble span {
        font-size: 0.65rem;
    }
}

/* Scroll Animation Styles */
.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-up:nth-child(1) {
    transition-delay: 0.1s;
}

.animate-slide-up:nth-child(2) {
    transition-delay: 0.2s;
}

.animate-slide-up:nth-child(3) {
    transition-delay: 0.3s;
}

.animate-slide-up:nth-child(4) {
    transition-delay: 0.4s;
}

/* Typewriter Effect */
#typewriter-name {
    position: relative;
    display: inline-block;
}

#typewriter-name::after {
    content: '|';
    color: #667eea;
    animation: blink-caret 1s infinite;
    font-weight: normal;
}

@keyframes blink-caret {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

#typewriter-name.hide-cursor::after {
    display: none;
}