/* 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: #e6f1ff;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a192f;
    text-shadow: none;
}

/* Contact Section */
.contact {
    padding: 3rem 0 1rem;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.2rem;
    color: #e6f1ff;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
}

.contact-method {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 200px;
    text-align: center;
    flex: 1;
    max-width: 280px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-method:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

.contact-method h3 {
    color: #64ffda;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-link {
    color: #e6f1ff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.3rem 0;
    word-break: break-all;
}

.contact-link:hover {
    color: #64ffda;
    transform: translateX(5px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #0a192f;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #64ffda;
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #64ffda;
    transition: width 0.3s ease;
    border-radius: 2px;
}

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



/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(100, 255, 218, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(100, 255, 218, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(100, 255, 218, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(100, 255, 218, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(100, 255, 218, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.1) 0%, transparent 40%);
    animation: float 15s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(5deg);
    }
    50% {
        transform: translate(0, 20px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.profile-photo {
    text-align: center;
    position: relative;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: profileFloat 6s ease-in-out infinite;
}

@keyframes profileFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.profile-img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ccd6f6;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(100, 255, 218, 0.3);
    animation: slideInRight 1s ease-out;
}

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

.hero-subtitle {
    font-size: 1.8rem;
    color: #64ffda;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(100, 255, 218, 0.2);
    animation: slideInRight 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccd6f6;
    max-width: 600px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(100, 255, 218, 0.1);
    animation: slideInRight 1s ease-out 0.4s both;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

section:nth-child(even) {
    background: #0a192f;
}

section:nth-child(odd) {
    background: #112240;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ccd6f6;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    animation: fadeIn 1s ease-out;
}

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

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #64ffda;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(100, 255, 218, 0.3);
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.95);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccd6f6;
    line-height: 1.8;
    animation: slideInUp 1s ease-out;
}

.skills {
    margin-top: 3rem;
}

.skills h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.2);
    animation: scaleIn 0.5s ease-out;
}

.skill-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* Experience Section */
.experience {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(25, 118, 210, 0.1) 100%);
}

.experience-content {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: #112240;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
    animation: slideInUp 1s ease-out;
}

.experience-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.2);
    border-color: #64ffda;
}

.job-title {
    color: #ccd6f6;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company {
    color: #64ffda;
    font-weight: 500;
    margin-bottom: 1rem;
}

.job-description {
    color: #ccd6f6;
    line-height: 1.8;
    font-size: 1.1rem;
}

.education-section {
    margin-top: 4rem;
}

.education-section h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.education-item {
    background: #112240;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
    animation: slideInUp 1s ease-out;
}

.education-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.2);
    border-color: #64ffda;
}

.education-item h4 {
    color: #ccd6f6;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.institution {
    color: #64ffda;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gpa {
    color: #ccd6f6;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Skills Section */
.skills-section {
    background-color: #fff;
}

.skills-content {
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    margin-bottom: 2.5rem;
    text-align: center;
}

.skill-category h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.2);
    animation: scaleIn 0.5s ease-out;
}

.tech-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

/* Resume Section Updates */
.contact-info {
    margin-top: 3rem;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    display: inline-block;
    text-align: left;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-details a {
    color: #1976d2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.languages-section {
    margin-top: 2rem;
    text-align: center;
}

.languages-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.language-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin: 0.5rem;
    display: inline-block;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.language-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
}

/* Resume Section */
.resume-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.resume-intro {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #112240;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
    animation: slideInUp 1s ease-out;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.2);
    border-color: #64ffda;
}

.project-title {
    color: #ccd6f6;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1rem 0;
}

.project-description {
    color: #ccd6f6;
    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: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.3rem;
    display: inline-block;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.tech-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
}

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

/* Projects Section */
.projects {
    background-color: #f8f9fa;
}
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: transparent;
    color: #64ffda;
    border: 1px solid #64ffda;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
}

.btn-secondary {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #1976d2;
    color: #1976d2;
    background: transparent;
}

.btn-outline:hover {
    background: #1976d2;
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

/* Buttons */
.footer {
    background: #112240;
    color: #ccd6f6;
    padding: 1rem 0;
    margin-top: 0;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    box-shadow: none;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    white-space: nowrap;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #64ffda;
    text-decoration: none;
    margin: 0 1rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(100, 255, 218, 0.1);
    display: inline-block;
    border: none;
}

.social-links a:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2);
}

.social-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #64ffda;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.social-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Add tooltip for copy functionality */
.social-links a[href^="tel:"],
.social-links a[href^="mailto:"] {
    cursor: pointer;
    position: relative;
}

.social-links a[href^="tel:"]::after,
.social-links a[href^="mailto:"]::after {
    content: 'Click to copy';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 25, 47, 0.9);
    color: #64ffda;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.social-links a[href^="tel:"]:hover::after,
.social-links a[href^="mailto:"]:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .project-card, .experience-item, .education-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

.resume-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.resume-link:hover {
    color: #64ffda;
    transform: translateY(-2px);
}

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

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

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

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

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

/* Apply animations to elements */
.hero-title {
    animation: slideInRight 1s ease-out;
}

.hero-subtitle {
    animation: slideInRight 1s ease-out 0.2s both;
}

.hero-description {
    animation: slideInRight 1s ease-out 0.4s both;
}

.section-title {
    animation: fadeIn 1s ease-out;
}

.about-content p {
    animation: slideInUp 1s ease-out;
}

.skill-tag {
    animation: scaleIn 0.5s ease-out;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.project-card {
    animation: slideInUp 1s ease-out;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.2);
}

.tech-tag {
    animation: scaleIn 0.5s ease-out;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

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

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add hover effect to social links */
.social-links a {
    transition: all 0.3s ease;
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.social-links a:hover::after {
    width: 100%;
}

/* Add loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a192f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-out 2s forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

/* Add parallax effect to hero section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%2364ffda" stop-opacity="0.1"/><stop offset="100%" stop-color="%2364ffda" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

/* Base animations */
.section-title,
.about-content p,
.skill-tag,
.project-card,
.experience-item,
.education-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

/* Animated state */
.section-title.animate,
.about-content p.animate,
.skill-tag.animate,
.project-card.animate,
.experience-item.animate,
.education-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for skill tags */
.skill-tag {
    transition-delay: calc(var(--i, 0) * 0.1s);
}

/* Add stagger effect to skill tags */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-tag {
    --i: 0;
}

.skills-grid .skill-tag:nth-child(1) { --i: 1; }
.skills-grid .skill-tag:nth-child(2) { --i: 2; }
.skills-grid .skill-tag:nth-child(3) { --i: 3; }
.skills-grid .skill-tag:nth-child(4) { --i: 4; }
.skills-grid .skill-tag:nth-child(5) { --i: 5; }
.skills-grid .skill-tag:nth-child(6) { --i: 6; }
.skills-grid .skill-tag:nth-child(7) { --i: 7; }
.skills-grid .skill-tag:nth-child(8) { --i: 8; }
.skills-grid .skill-tag:nth-child(9) { --i: 9; }
.skills-grid .skill-tag:nth-child(10) { --i: 10; }
.skills-grid .skill-tag:nth-child(11) { --i: 11; }
.skills-grid .skill-tag:nth-child(12) { --i: 12; }
.skills-grid .skill-tag:nth-child(13) { --i: 13; }
.skills-grid .skill-tag:nth-child(14) { --i: 14; }
.skills-grid .skill-tag:nth-child(15) { --i: 15; }

/* Header Styles */
.header {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.glowing-text {
    animation: glow 2s ease-in-out infinite alternate;
}

.title {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-weight: 700;
    letter-spacing: 2px;
}

.letter {
    display: inline-block;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    animation: letterFloat 3s ease-in-out infinite;
    background: linear-gradient(45deg, #fff, #4facfe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.letter::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4facfe, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.letter:hover::after {
    opacity: 1;
}

.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.3s; }
.letter:nth-child(4) { animation-delay: 0.4s; }
.letter:nth-child(5) { animation-delay: 0.5s; }
.letter:nth-child(6) { animation-delay: 0.6s; }
.letter:nth-child(7) { animation-delay: 0.7s; }
.letter:nth-child(8) { animation-delay: 0.8s; }
.letter:nth-child(9) { animation-delay: 0.9s; }
.letter:nth-child(10) { animation-delay: 1s; }
.letter:nth-child(11) { animation-delay: 1.1s; }
.letter:nth-child(12) { animation-delay: 1.2s; }

.subtitle {
    font-size: 1.8rem;
    color: #4facfe;
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.floating-text {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 2rem;
    opacity: 0;
    animation: floatIn 1s ease-out forwards 1s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #4facfe;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 10px #4facfe;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #4facfe;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #4facfe;
    border-right: 2px solid #4facfe;
    transform: rotate(45deg);
    animation: arrowDown 1.5s infinite;
    box-shadow: 0 0 10px #4facfe;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff,
                     0 0 20px #fff,
                     0 0 30px #4facfe,
                     0 0 40px #4facfe;
    }
    to {
        text-shadow: 0 0 20px #fff,
                     0 0 30px #4facfe,
                     0 0 40px #4facfe,
                     0 0 50px #4facfe;
    }
}

@keyframes letterFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

@keyframes arrowDown {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    .floating-text {
        font-size: 1rem;
    }
}

/* Move phone icon to the right of the title and make it white using an inline SVG */
.contact .section-title {
    position: relative;
}

/* Large phone emoji on the left side of the title */
.contact .section-title::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 16px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.09 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.81.3 1.6.54 2.36a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.72-1.72a2 2 0 0 1 2.11-.45c.76.24 1.55.42 2.36.54A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}
/* Remove the right-side icon */
.contact .section-title::after { content: none; }