/* Global Styles */
:root {
    /* Main Colors */
    --primary-color: #6366f1;
    --secondary-color: #818cf8;
    --accent-color: #4f46e5;
    --success-color: #22c55e;
    
    /* Background Colors */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-accent: #eef2ff;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-accent: #4338ca;
    --text-light: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #818cf8);
    --gradient-secondary: linear-gradient(135deg, #4f46e5, #6366f1);
    --gradient-accent: linear-gradient(45deg, #4338ca, #6366f1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-special: 'Montserrat', sans-serif;
    --font-accent: 'Raleway', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 1rem;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
    overflow-x: visible;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    white-space: nowrap;
}

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

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

.nav-link.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

/* Resume button styling */
.nav-resume {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    white-space: nowrap;
}

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

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

/* Resume Section Styles */
.resume {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.resume-content {
    max-width: 1200px;
    margin: 3rem auto 0;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.resume-header {
    text-align: center;
    margin-bottom: 3rem;
}

.resume-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.resume-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.resume-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.resume-feature {
    background: var(--bg-accent);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.resume-feature:hover {
    transform: translateY(-5px);
}

.resume-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resume-feature span {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.resume-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.resume-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.view-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 300px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 4rem 2rem;
        gap: 2rem;
    }

    .resume-content {
        padding: 2rem;
    }

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

    .resume-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .resume-btn {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .nav-links {
        width: 100%;
        padding: 4rem 1.5rem;
    }

    .resume-content {
        padding: 1.5rem;
    }

    .resume-header h2 {
        font-size: 2rem;
    }
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 300px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.5s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 4rem 2rem;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-resume, .nav-contact {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin: 0.5rem 0;
    }

    .burger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .burger div {
        width: 25px;
        height: 2px;
        background: var(--text-primary);
        margin: 5px;
        transition: all 0.3s ease;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media screen and (max-width: 480px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .logo-text {
        display: none;
    }

    .nav-links {
        width: 100%;
        padding: 4rem 1rem;
    }
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a1f25 0%, #17212b 100%);
    padding: 0 20px;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.hero-text-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-role {
    font-size: 1.8rem;
    color: #6366f1;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(45deg, #60A5FA, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.contact-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #3B82F6, #2563EB);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ffffff;
    background: #3B82F6;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
    -webkit-text-fill-color: #ffffff;
}

.contact-item:hover i {
    background: #2563EB;
    transform: scale(1.1);
    -webkit-text-fill-color: #ffffff;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #6366f1;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.cta-button.primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.cta-button.secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

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

.social-link {
    color: #94a3b8;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #6366f1;
    transform: translateY(-2px);
}

.social-divider {
    width: 2px;
    height: 20px;
    background: #2d3748;
    border-radius: 2px;
}

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

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #6366f1;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: #6366f1;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

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

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #6366f1;
    border-bottom: 2px solid #6366f1;
    transform: rotate(45deg);
    animation: arrows 1.5s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes arrows {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-role {
        font-size: 1.5rem;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-role {
        font-size: 1.25rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 3rem auto 0;
    gap: 4rem;
}

.about-image {
    flex: 0 0 550px;
    position: relative;
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: 550px;
    border: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 8px;
    background: white;
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.profile-image-container img:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-text .highlight {
    color: var(--primary-color);
}

.about-text h4 {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .about-image {
        flex: 0 0 400px;
    }
    
    .profile-image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        width: 320px;
    }
    
    .profile-image-container {
        height: 320px;
    }

    .contact-item {
        justify-content: center;
    }
    
    .about-text h3 {
        font-size: 1.75rem;
    }
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.project-content p {
    color: var(--text-color-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links .btn {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.project-links .btn:first-child {
    background: var(--primary-color);
    color: white;
}

.project-links .btn:last-child {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.project-links .btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .project-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

.centered-projects .project-card {
    max-width: 350px;
}
/* Certifications Section */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.cert-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cert-card h3 {
    font-family: var(--font-special);
    color: var(--text-primary);
}

.cert-card p {
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.cert-date {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cert-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Certificate Section Styles */
.cert-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.view-cert-btn {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: #6366f1;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-cert-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    color: white;
}

.view-cert-btn i {
    font-size: 1rem;
}

.view-cert-btn .fa-file-pdf {
    color: #ff4444;
    background: white;
    padding: 2px;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto; /* Enable vertical scrolling */
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Changed from center to allow scrolling */
    padding: 40px 20px;
    min-height: 100vh; /* Ensure content takes full height */
}

#certImage {
    width: auto;
    max-width: 90%;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Custom Scrollbar Styles */
.modal::-webkit-scrollbar {
    width: 10px;
}

.modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.modal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.close-modal {
    position: fixed;
    right: 20px;
    top: 20px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #6366f1;
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

/* Responsive Modal */
@media (max-width: 768px) {
    #certImage {
        max-width: 95%;
    }
    
    .close-modal {
        right: 10px;
        top: 10px;
        font-size: 30px;
    }

    .modal-content {
        padding: 30px 10px;
    }
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.achievement-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.achievement-card h3 {
    font-family: var(--font-special);
    color: var(--text-primary);
}

.achievement-card p {
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.achievement-date {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gradient-2);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

.achievement-card .view-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.achievement-card .view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.achievement-card .green-btn {
    background-color: #2ecc71;
    color: white;
}

.achievement-card .green-btn:hover {
    background-color: #27ae60;
}

.achievement-card .blue-btn {
    background-color: #3498db;
    color: white;
}

.achievement-card .blue-btn:hover {
    background-color: #2980b9;
}

.achievement-card .purple-btn {
    background-color: #9b59b6;
    color: white;
}

.achievement-card .purple-btn:hover {
    background-color: #8e44ad;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 0 1rem;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.info-header i {
    font-size: 1.8rem;
    color: #6366f1;
    background: #eef2ff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.info-header h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin: 0;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content:hover {
    color: #6366f1;
}

.info-content i {
    font-size: 1.2rem;
    color: #6366f1;
}

/* Social Links */
.social-links-container {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-links-container h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.github {
    background: #333;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 500;
}

.form-group label i {
    color: #6366f1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

/* Message Styles */
.message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: none;
    animation: slideIn 0.3s ease;
}

.message.show-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.message i {
    font-size: 1.2rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #6366f1, #818cf8);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #4f46e5, #6366f1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.submit-btn i {
    font-size: 1.2rem;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    nav {
        padding: 0.6rem 1rem;
    }

    .logo-text {
        display: none;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .nav-resume {
        padding: 0.4rem 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px;
        gap: 1.2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 1rem;
        width: 100%;
        justify-content: center;
    }

    .nav-resume {
        margin: 0.5rem 0;
        width: auto;
        padding: 0.6rem 1.2rem;
    }

    .burger {
        display: block;
        cursor: pointer;
    }
}

/* Skills Section */
.skills {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

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

.small-icons .skill-item {
    padding: 1rem;
}

.small-icons .skill-item i {
    font-size: 1.8rem;
}

.small-icons .skill-item span {
    font-size: 0.85rem;
}

/* Custom colors for specific technology icons */
.skill-item .fa-html5 { color: #E44D26; }
.skill-item .fa-css3-alt { color: #264DE4; }
.skill-item .fa-js { color: #F7DF1E; }
.skill-item .fa-node-js { color: #339933; }
.skill-item .fa-python { color: #3776AB; }
.skill-item .fa-flask { color: #000000; }
.skill-item .fa-java { color: #007396; }
.skill-item .fa-brain { color: #FF6B6B; }
.skill-item .fa-robot { color: #4ECDC4; }
.skill-item .fa-network-wired { color: #45B7D1; }
.skill-item .fa-database { color: #47A248; }
.skill-item .fa-leaf { color: #13AA52; }
.skill-item .fa-react { color: #61DAFB; }

/* Custom colors for soft skill icons */
.skill-item .fa-crown { color: #FFD700; }
.skill-item .fa-comments { color: #00B4DB; }
.skill-item .fa-tasks { color: #9B59B6; }
.skill-item .fa-handshake { color: #27AE60; }
.skill-item .fa-lightbulb { color: #F1C40F; }
.skill-item .fa-clock { color: #E74C3C; }
.skill-item .fa-bullseye { color: #E91E63; }
.skill-item .fa-sync-alt { color: #3498DB; }

@media (max-width: 992px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .small-icons .skill-item {
        padding: 0.8rem;
    }

    .small-icons .skill-item i {
        font-size: 1.5rem;
    }

    .small-icons .skill-item span {
        font-size: 0.8rem;
    }
}

.skills-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.category-header i {
    font-size: 2rem;
    color: var(--primary-color);
    background: var(--bg-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.category-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.skill-item i {
    font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.skill-item:hover i {
    transform: scale(1.1);
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

/* Custom colors for specific technology icons */
.skill-item .fa-html5 { color: #E44D26; }
.skill-item .fa-css3-alt { color: #264DE4; }
.skill-item .fa-js { color: #F7DF1E; }
.skill-item .fa-node-js { color: #339933; }
.skill-item .fa-python { color: #3776AB; }
.skill-item .fa-flask { color: #000000; }
.skill-item .fa-java { color: #007396; }
.skill-item .fa-brain { color: #FF6B6B; }

@media (min-width: 992px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-category {
        padding: 1.5rem;
    }

    .category-header {
        margin-bottom: 1.5rem;
    }

    .category-header i {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .category-header h3 {
        font-size: 1.2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }

    .skill-item {
        padding: 1rem;
    }

    .skill-item i {
        font-size: 1.8rem;
    }

    .skill-item span {
        font-size: 0.8rem;
    }
}

/* Animation for skill cards */
@keyframes skillProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.skill-card[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.skill-card[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-icon {
        font-size: 2.5rem;
    }

    .skill-card h3 {
        font-size: 1.3rem;
    }
}

/* Resume Section */
.resume-content {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.resume-header {
    margin-bottom: 40px;
    text-align: center;
}

.resume-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}

.resume-header h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.resume-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.resume-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.resume-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    min-width: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resume-feature i {
    font-size: 2rem;
    color: #4ade80;
}

.resume-feature span {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.resume-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.resume-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.download-btn {
    background-color: #ff6b6b;
    color: white;
}

.view-btn {
    background-color: white;
    color: #4ade80;
    border: 2px solid #4ade80;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.view-btn:hover {
    background-color: #4ade80;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.2);
}

.resume-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .resume-features {
        gap: 20px;
    }
    
    .resume-feature {
        min-width: 140px;
        padding: 15px;
    }
    
    .resume-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .resume-btn {
        width: 100%;
        justify-content: center;
    }
    
    .resume-header h2 {
        font-size: 2rem;
    }
}

/* Education Section */
.education {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

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

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
    z-index: 2;
}

.timeline-dot i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.timeline-content {
    position: relative;
    width: calc(50% - 50px);
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: calc(50% + 50px);
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--bg-secondary);
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
}

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

.timeline-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.timeline-year {
    padding: 0.4rem 1.2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 2rem;
    font-size: 0.9rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-institution {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

.timeline-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.timeline-skills span {
    padding: 0.3rem 1rem;
    background: var(--bg-accent);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Soft Skills Styles */
.soft-skills {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, var(--bg-secondary), white);
}

/* Custom colors for soft skill icons */
.skill-item .fa-crown { color: #FFD700; }
.skill-item .fa-comments { color: #00B4DB; }
.skill-item .fa-tasks { color: #9B59B6; }
.skill-item .fa-handshake { color: #27AE60; }
.skill-item .fa-lightbulb { color: #F1C40F; }
.skill-item .fa-clock { color: #E74C3C; }

@media (max-width: 768px) {
    .soft-skills .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-text { animation-delay: 0.6s; }
.cta-button { animation-delay: 0.8s; }

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-greeting {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
}

/* Contact Form Message */
.message-container {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
}

.message-content {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-content i {
    font-size: 24px;
}

.message-content p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.show-message {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.hide-message {
    animation: slideOut 0.5s ease-in forwards;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.cert-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 6px;
    background-color: var(--bg-accent);
    padding: 1rem;
}

.achievement-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Profile image if exists */
/* Removed */

/* Footer Styles */
.footer {
    background: #1e293b;
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.copyright i {
    color: #6366f1;
}

.copyright span {
    color: #e2e8f0;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 1rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        gap: 0.3rem;
    }
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: nowrap; /* Single row on desktop */
}

.experience-card {
    background: var(--card-bg, #fff);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    min-width: 260px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.experience-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.experience-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color, #007bff);
    padding-bottom: 15px;
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.experience-header h3 {
    color: var(--text-color, #222);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.duration,
.exp-duration {
    color: var(--primary-color, #007bff);
    font-weight: 500;
    font-size: 0.9rem;
}

.experience-content h4 {
    color: var(--text-color, #222);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.experience-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.experience-content li {
    color: var(--text-color-light, #555);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.experience-content li::before {
    content: "•";
    color: var(--primary-color, #007bff);
    position: absolute;
    left: 8px;
    font-size: 1.2em;
}

@media (max-width: 900px) {
    .experience-container {
        flex-wrap: wrap; /* Allow stacking on smaller screens */
        justify-content: center;
        gap: 20px;
    }
    .experience-card {
        max-width: 500px;
        margin: 0 auto;
    }
}