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

:root {
    --primary-color: #0066ff;
    --secondary-color: #001a4d;
    --accent-color: #ff6b35;
    --success-color: #00d084;
    --warning-color: #ffa500;
    --info-color: #00d4ff;
    --light-bg: #f0f4ff;
    --card-bg: #ffffff;
    --text-primary: #0a1128;
    --text-secondary: #555555;
    --border-color: #cce5ff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066ff 0%, #0099ff 50%, #00d4ff 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideInUp 0.8s ease;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.location {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Statistics Dashboard */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffa500;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Skill Item with Progress Bar */
.skill-item-with-bar {
    margin-bottom: 1.2rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.skill-item-with-bar .skill-item {
    display: block;
    margin-bottom: 0.3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
    background-color: #ff5722;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--accent-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.5);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

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

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeOut 0.8s ease-out 2s forwards;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

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

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

.loader-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, #00d4ff, #00d084, #ff6b35);
    z-index: 999;
    width: 0%;
    transition: width 0.1s ease;
}

/* Value Proposition Section */
.value-proposition {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0ffff 0%, #e6f7ff 100%);
}

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

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9ffff 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--info-color);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
    transform-style: preserve-3d;
    position: relative;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.value-card:hover {
    transform: translateZ(15px) rotateX(-3deg) rotateY(8deg);
    box-shadow: 
        0 25px 50px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.value-card:hover::after {
    opacity: 1;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Impact Badges */
.impact-badges {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.impact-badge {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    color: #2d3436;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(253, 203, 110, 0.3);
}

.impact-badge i {
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Education Section */
.education {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5e6 0%, #ffebcc 100%);
}

.education-diagram {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
    border-radius: 12px;
    border: 2px solid var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.15);
}

.education-diagram .diagram-svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.1));
}

.internship-diagram {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #f9f0ff 100%);
    border-radius: 12px;
    border: 2px dashed var(--info-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
}

.internship-diagram .diagram-svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

/* Experience Section */
.experience {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f2ff 100%);
}

/* Projects Section */
.projects {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffe6e6 0%, #fff0e6 100%);
}

/* Project Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    justify-content: center;
    animation: slideUp 0.5s ease 0.2s backwards;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.filter-btn:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
    transform: translateY(-2px);
}

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

.project-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 3px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
    transform-style: preserve-3d;
    position: relative;
    animation: fadeIn 0.4s ease;
}

.project-card.hidden {
    display: none !important;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 12px;
    pointer-events: none;
}

.project-card:hover {
    transform: translateZ(20px) rotateX(5deg) rotateY(8deg) translateZ(0);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

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

.project-header h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.project-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
}

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

.tech-tag {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.project-diagram {
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f0f4ff 100%);
    border-radius: 10px;
    border: 2px dashed var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.diagram-svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.project-description li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
    font-weight: 500;
}

.project-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 5px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--info-color);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
    transform-style: preserve-3d;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateZ(15px) rotateX(3deg);
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.institution {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.role {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.duration {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.details {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.achievements {
    list-style: none;
    margin-top: 1rem;
}

.achievements li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 500;
}

.achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Skills Section */
.skills {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e6ffe6 0%, #f0fff0 100%);
}

/* Skills Visualization */
.skills-visualization {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-radius: 15px;
    border: 2px solid var(--success-color);
    box-shadow: 0 8px 20px rgba(0, 208, 132, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.skills-diagram {
    width: 100%;
    height: auto;
    max-width: 600px;
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.2));
}

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

.skill-category {
    background: linear-gradient(135deg, #ffffff 0%, #f9fff9 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--success-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.1);
    transform-style: preserve-3d;
}

.skill-category:hover {
    transform: translateY(-8px) rotateY(-3deg);
    box-shadow: 
        0 20px 40px rgba(0, 208, 132, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    background-color: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 102, 255, 0.1);
}

.skill-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

/* Certifications Section */
.certifications {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
}

.certifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-item {
    background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 3px solid var(--warning-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
    transform-style: preserve-3d;
}

.cert-item:hover {
    transform: translateX(10px) rotateY(-5deg) translateZ(20px);
    box-shadow: 
        0 25px 50px rgba(255, 165, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cert-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--warning-color), #ff8c42);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.cert-badge i {
    font-size: 2rem;
    color: white;
}

.cert-content p {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.cert-year {
    display: block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa500 100%);
    color: white;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 600;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-method {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.contact-method:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-method i {
    font-size: 1.5rem;
}

.contact-method span {
    font-weight: 500;
}

/* Contact Footer with Download & Social Links */
.contact-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-footer .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.contact-footer .social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
}

.contact-footer .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .contact-footer {
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .contact-footer .btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .contact-footer .social-links {
        gap: 1.5rem;
    }

    .contact-footer .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .contact-footer {
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .contact-footer .btn {
        font-size: 0.95rem;
        padding: 0.7rem 1.5rem;
        width: 100%;
    }

    .contact-footer .social-links {
        gap: 1rem;
    }

    .contact-footer .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Call to Action Section */
.cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    text-align: center;
    color: white;
}

.cta-content {
    animation: slideInUp 0.8s ease;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #001a4d 0%, #003d99 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    border-top: 3px solid var(--info-color);
}

.footer p {
    margin: 0;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .filter-buttons {
        gap: 0.6rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .project-diagram {
        min-height: 150px;
    }

    .internship-diagram {
        min-height: 140px;
    }

    .education-diagram {
        min-height: 170px;
    }

    .skills-visualization {
        min-height: 300px;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-badges {
        gap: 0.5rem;
    }

    .impact-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 768px) {
    h2.section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
        border-width: 1.5px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 800;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        width: 100%;
        padding: 0.7rem 1.5rem;
    }

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

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
        margin-bottom: 1.5rem;
    }

    .timeline-marker {
        width: 30px;
        height: 30px;
        left: 0;
        box-shadow: 0 0 0 2px var(--primary-color);
        font-size: 0.8rem;
    }

    .timeline-content {
        padding: 1.2rem;
    }

    .project-diagram {
        min-height: 140px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skills-visualization {
        min-height: 250px;
        padding: 1.5rem;
    }

    .skill-category {
        padding: 1.2rem;
    }

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

    .social-links {
        gap: 1rem;
    }

    .certifications-list {
        grid-template-columns: 1fr;
    }

    .section-title {
        padding: 0 1rem;
    }

    .value-proposition {
        padding: 3rem 0;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 1.5rem;
        border-radius: 10px;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto 0.75rem;
    }

    .value-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }

    .impact-badges {
        gap: 0.4rem;
        margin: 0.75rem 0;
    }

    .impact-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }

    .scroll-progress {
        height: 3px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    body {
        font-size: 14px;
    }

    .filter-buttons {
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }

    .filter-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
        border-width: 1.5px;
    }

    .nav-content {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.4rem;
        font-weight: 800;
    }

    h2.section-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-content h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .location {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .projects-grid,
    .skills-grid,
    .contact-methods,
    .certifications-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-header h3 {
        font-size: 1.1rem;
    }

    .project-tech {
        gap: 0.4rem;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .project-diagram {
        min-height: 120px;
        padding: 0.75rem;
        margin: 1rem 0;
    }

    .internship-diagram {
        min-height: 100px;
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .education-diagram {
        min-height: 130px;
        padding: 1.5rem;
    }

    .project-description li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding-left: 1.2rem;
    }

    .timeline-item {
        padding-left: 40px;
        margin-bottom: 1.2rem;
    }

    .timeline-marker {
        width: 28px;
        height: 28px;
        top: 0px;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .duration {
        font-size: 0.9rem;
    }

    .role {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .achievements li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .about {
        padding: 2.5rem 0;
    }

    .about p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .skill-category {
        padding: 1rem;
    }

    .skill-category h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .skill-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .skills-visualization {
        min-height: 200px;
        padding: 1rem;
        margin: 1rem 0;
    }

    .skills-diagram {
        max-height: 200px;
    }

    .project-diagram,
    .internship-diagram,
    .education-diagram {
        min-height: 100px;
        padding: 0.75rem;
        margin: 1rem 0;
    }

    .stats-dashboard {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .value-proposition {
        padding: 2rem 0;
    }

    .value-grid {
        gap: 1rem;
    }

    .value-card {
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid var(--info-color);
    }

    .value-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .value-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .value-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .impact-badges {
        gap: 0.3rem;
        margin: 0.5rem 0;
    }

    .impact-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }

    .impact-badge i {
        display: none;
    }

    .loader-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    .loader-content p {
        font-size: 1rem;
    }
}

    .cert-item {
        padding: 1.5rem;
    }

    .cert-item i {
        font-size: 1.5rem;
    }

    .cert-item p {
        font-size: 0.95rem;
    }

    .contact {
        padding: 3rem 0;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .contact-method {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    .contact-method i {
        font-size: 1.3rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

/* Contact Form Styling */
.contact-form {
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 2rem auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: white;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.active {
    display: block;
}

.form-submit {
    background-color: white;
    color: #ff6b35;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.form-submit:active {
    transform: translateY(-1px);
}

.form-message {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    min-height: 1.5rem;
}

.form-message.success {
    color: #00d084;
}

.form-message.error {
    color: #ff6b6b;
}

/* Enhanced Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

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

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

/* New 3D Animations */
@keyframes float3D {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-15px) rotateX(2deg) rotateY(-2deg);
    }
    50% {
        transform: translateY(-20px) rotateX(-2deg) rotateY(2deg);
    }
    75% {
        transform: translateY(-10px) rotateX(1deg) rotateY(-1deg);
    }
}

@keyframes flip3D {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(5deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(0deg);
    }
}

@keyframes tiltShift {
    0%, 100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: perspective(1000px) rotateX(8deg) rotateY(8deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 102, 255, 0.6);
    }
}

/* Apply animations to elements */
.stat-card {
    animation: scaleIn 0.6s ease-out;
}

.project-card {
    animation: slideInUp 0.6s ease-out;
}

.timeline-item {
    animation: slideInLeft 0.6s ease-out;
}

.skill-category {
    animation: slideInRight 0.6s ease-out;
}

.value-card {
    animation: slideInUp 0.6s ease-out;
}

.cert-item {
    animation: rotateIn 0.6s ease-out;
}

.timeline-marker {
    animation: pulse 2s infinite;
}

.contact-method {
    animation: scaleIn 0.6s ease-out;
}

/* Responsive Form */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }

    .form-submit {
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.25rem;
        margin: 1rem auto;
    }

    .form-input,
    .form-textarea {
        padding: 0.8rem;
        font-size: 16px;
    }

    .form-submit {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
