:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #dbeafe;
    --text-color: #1f2937;
    --bg-color: #e6f2ff; /* changed from white to match your actual background */
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    align-content: center;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.greeting {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.name-animation {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.name-animation .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.name-animation .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: -4px;
    left: 0;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    animation: lineReveal 0.8s ease forwards 1s;
}

.role-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.role-divider {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 300;
}

.role-subtitle {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-image {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.profile-container {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 4px solid white;
}

.profile-pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
}

.background-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-image {
        width: 300px;
        height: 300px;
        margin: 2rem auto;
    }
    
    .profile-container {
        width: 250px;
        height: 250px;
    }
    
    .initials {
        font-size: 3.5rem;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

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

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

/* Add these microinteraction styles */
.btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: scale(0.95);
}

.profile-pic {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.profile-pic:hover {
    transform: rotate(5deg) scale(1.05) translateY(-10px);
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.highlight-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #444;
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 900px;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2196f3;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #2196f3, #00bcd4);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2196f3;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-card:hover .card-icon {
    background: #2196f3;
    transform: rotate(-10deg);
}

.card-icon i {
    font-size: 2rem;
    color: #2196f3;
    transition: all 0.3s ease;
}

.about-card:hover .card-icon i {
    color: white;
    transform: rotate(10deg);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-tags span {
    padding: 0.4rem 1rem;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2196f3;
    transition: all 0.3s ease;
}

.card-tags span:hover {
    background: #2196f3;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .highlight-text {
        font-size: 1.3rem;
    }
}

/* Skills Section */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.skill-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    margin-bottom: 1.5rem;
}

.skill-icon i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.progress-wrapper {
    position: relative;
    margin: 1.5rem 0;
}

.progress-bar {
    background: var(--accent-color);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.progress-text {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.skill-details {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Skill card specific colors */
.skill-card.html i { color: #E34F26; }
.skill-card.css i { color: #1572B6; }
.skill-card.js i { color: #F7DF1E; }
.skill-card.java i { color: #007396; }
.skill-card.python i { color: #3776AB; }
.skill-card.git i { color: #F05032; }
.skill-card.react i { color: #61DAFB; }
.skill-card.sap i { color: #003366; }

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

/* Projects Section */
.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 0 1rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(43,43,255,0.08), 0 1.5px 6px rgba(43,43,255,0.04);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s cubic-bezier(.4,0,.2,1);
    position: relative;
}

.project-description-wrapper {
    max-height: 100px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s cubic-bezier(.4,0,.2,1);
}

.project-description-wrapper.expanded {
    max-height: 1000px;
    transition: max-height 0.7s cubic-bezier(.4,0,.2,1);
}

.fade-gradient {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 80%);
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 1;
    border-radius: 0 0 16px 16px;
}

.project-description-wrapper.expanded .fade-gradient {
    opacity: 0;
    pointer-events: none;
}

.show-more-btn {
    display: inline-block;
    margin: 0.5rem 0 0.5rem 0;
    padding: 0.5rem 1.5rem;
    background: #2b2bff;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(43,43,255,0.08);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.show-more-btn:hover {
    background: #1a1aff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(43,43,255,0.16);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

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

.btn.small {
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn.small:hover {
    background: var(--primary-color);
    color: white;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.project-tags span {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.project-tags span:hover {
    background: var(--primary-color);
    color: white;
}

.project-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.project-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        border-radius: 12px;
    }
    
    .project-description-wrapper {
        max-height: 80px;
    }
    .project-description-wrapper.expanded {
        max-height: 1000px;
    }
    .fade-gradient {
        height: 30px;
        border-radius: 0 0 12px 12px;
    }
    .show-more-btn {
        font-size: 0.95rem;
        padding: 0.45rem 1.2rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .project-tags {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .project-tags span {
        padding: 0.2rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .project-description {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
    
    .project-features li {
        gap: 0.4rem;
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }
    
    .project-features li i {
        font-size: 0.8rem;
    }
}

/* Contact Section */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* --- Contact Form Section --- */
#message {
    max-width: 480px;
    margin: 4rem auto 2rem auto;
    background: rgba(255,255,255,0.85);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0,119,182,0.14), 0 2px 12px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    animation: formFadeIn 1.2s cubic-bezier(.4,0,.2,1) 0.2s both;
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(0,183,255,0.08);
}

#message::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 40% 40%, #3b82f6 0%, #2563eb 80%, transparent 100%);
    opacity: 0.13;
    z-index: 0;
    animation: blobMove 8s infinite alternate cubic-bezier(.4,0,.2,1);
}

#message::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 60% 60%, #2563eb 0%, #3b82f6 80%, transparent 100%);
    opacity: 0.13;
    z-index: 0;
    animation: blobMove2 9s infinite alternate cubic-bezier(.4,0,.2,1);
}

#message h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg,#0077b6 40%,#00b4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: slideDown 1s cubic-bezier(.4,0,.2,1) 0.2s both;
}

#message form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    position: relative;
    z-index: 1;
}

#message input,
#message textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1.5px solid #e0f7fa;
    background: rgba(245,246,250,0.95);
    font-size: 1.08rem;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(37,99,235,0.04);
    transition: border 0.3s, box-shadow 0.3s, background 0.3s;
    outline: none;
    resize: none;
    font-family: inherit;
    animation: inputFadeIn 1s cubic-bezier(.4,0,.2,1) both;
}

#message input:focus,
#message textarea:focus {
    border: 1.5px solid #2563eb;
    background: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
}

#message textarea {
    min-height: 120px;
    max-height: 300px;
}

#message button[type="submit"] {
    align-self: flex-end;
    padding: 0.85rem 2.2rem;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #2563eb 40%, #3b82f6 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: btnPopIn 1.1s cubic-bezier(.4,0,.2,1) 0.2s both;
}

#message button[type="submit"]:hover {
    background: linear-gradient(90deg, #3b82f6 40%, #2563eb 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(37,99,235,0.18);
}

#message button[type="submit"]::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(59,130,246,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

#message button[type="submit"]:active::after {
    width: 200%;
    height: 200%;
}

#message input,
#message textarea {
    animation-delay: 0.3s;
}

#message input:nth-child(1) { animation-delay: 0.4s; }
#message input:nth-child(2) { animation-delay: 0.5s; }
#message textarea { animation-delay: 0.6s; }

@keyframes formFadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.98);}
    to { opacity: 1; transform: translateY(0) scale(1);}
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes inputFadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes btnPopIn {
    from { opacity: 0; transform: scale(0.9);}
    to { opacity: 1; transform: scale(1);}
}
@keyframes blobMove {
    from { transform: scale(1) translateY(0);}
    to { transform: scale(1.2) translateY(30px);}
}
@keyframes blobMove2 {
    from { transform: scale(1) translateY(0);}
    to { transform: scale(1.15) translateY(-30px);}
}

/* Responsive */
@media (max-width: 600px) {
    #message {
        padding: 1.5rem 0.7rem 1.2rem 0.7rem;
        max-width: 98vw;
    }
    #message h2 {
        font-size: 1.3rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .typewriter {
        font-size: 1.5rem;
    }
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }
}

.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    z-index: 9999;
}

.glow {
    box-shadow: 0 0 10px var(--primary-color);
}

.parallax {
    will-change: transform;
}

/* Floating Social Media Icons */
.social-links {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.social-link i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    will-change: transform;
}

/* Text Animation Effects */
.animate-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.reveal-text {
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glowing text effect */
.glow-text {
    position: relative;
    transition: all 0.3s ease;
}

.glow-text:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* Letter reveal animation */
.letter-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.letter-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineReveal {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes rotateGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseInitials {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .social-links {
        right: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 1.2rem;
    }
}

/* Education Section */
.education {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.education-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 1 !important;
    transform: none !important;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    z-index: 2;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.timeline-card {
    width: calc(50% - 50px);
    margin-left: auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: 0;
    margin-right: 2rem;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.education-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-card:hover .education-icon {
    background: var(--primary-color);
    transform: rotate(360deg);
}

.education-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-card:hover .education-icon i {
    color: white;
}

.timeline-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 1 !important;
}

.timeline-card p {
    color: #666;
    margin-bottom: 1rem;
    opacity: 1 !important;
}

.education-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.skills-learned span {
    padding: 0.3rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.skills-learned span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 30px;
    }
    
    .timeline-date {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-card {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-item:nth-child(even) .timeline-card {
        margin-left: 80px;
    }
}

/* Certificates Section */
.certificates {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.certificates-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.certificate-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.certificate-card:hover::before {
    transform: scaleX(1);
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.certificate-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.certificate-card:hover .certificate-img {
    transform: scale(1.05);
}

.certificate-content {
    padding: 2rem;
}

.certificate-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.certificate-card:hover .certificate-icon {
    transform: scale(1.1) rotate(5deg);
}

.certificate-icon i {
    font-size: 1.25rem;
    color: white;
}

.certificate-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.certificate-issuer {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.certificate-date {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.certificate-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.certificate-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.certificate-tags span {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.certificate-tags span:hover {
    background: var(--primary-color);
    color: rgb(255, 255, 255);
    transform: translateY(-2px);
}

.certificate-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .certificates-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .certificate-card {
        padding: 0;
    }
    
    .certificate-image {
        height: 150px;
    }
    
    .certificate-content {
        padding: 1.5rem;
    }
    
    .certificate-content h3 {
        font-size: 1.1rem;
    }
    
    .certificate-description {
        font-size: 0.9rem;
    }
    
    .certificate-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .certificate-actions .btn {
        width: 100%;
        text-align: center;
    }
}
