/* static/style.css */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #4f46e5;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-light: #f3f4f6;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --nav-height: 80px;
    --section-spacing: 100px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

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

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

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-btn:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    padding: calc(var(--nav-height) + 80px) 0 80px;
    background: var(--background-light);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
}

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

.hero-buttons .primary-btn,
.hero-buttons .secondary-btn {
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons .primary-btn {
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

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

.hero-buttons .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.hero-buttons .secondary-btn:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.service-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

/* Projects Section */
.projects {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

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

.project-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: var(--background-light);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
}

/* Publications Section */
.publications {
    padding: var(--section-spacing) 0;
    background: var(--background-light);
}

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

.publication-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.publication-card:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.9;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--text-color);
    color: var(--white);
}

.footer-content {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        flex-direction: column;
        transform: translateY(-150%);
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

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

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

    .contact-content {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

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

/* Utility Classes */
.text-gradient {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}
































/* Enhanced Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.nav-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.3s ease;
    z-index: -1;
}

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

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Enhanced Expertise Section */
.expertise {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.expertise-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background-image: linear-gradient(to right, var(--white), var(--white)), var(--gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    position: relative;
}

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

.timeline-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content h4 i {
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Expertise Stats Grid */
.expertise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.stat-item:hover:before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

/* Skill Tags in Timeline */
.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-pill {
    padding: 0.3rem 1rem;
    background: var(--background-light);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.skill-pill:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Design for Expertise Section */
@media (max-width: 768px) {
    .expertise-stats {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        margin-left: 0;
    }

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






























/* Enhanced Projects Section Styles */
.projects {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Background Animation */
.projects:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

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

.project-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Glowing effect on hover */
.project-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 20px;
    filter: blur(20px);
}

.project-card:hover:before {
    opacity: 0.1;
}

.project-content {
    padding: 2.5rem;
    position: relative;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transition: all 0.4s ease;
}

.project-card:hover .project-icon {
    transform: rotate(360deg);
}

.project-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.project-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.project-card:hover .tech-tag {
    animation: tagFloat 0.4s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
}

@keyframes tagFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.project-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.project-link:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Publications Section Styles */
.publications {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

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

.publication-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.publication-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient border animation */
.publication-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.4s ease;
}

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

.publication-content {
    position: relative;
    z-index: 1;
}

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

.publication-card:hover .publication-icon {
    transform: rotate(360deg);
}

.publication-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.publication-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.publication-card:hover h3 {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.publication-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pub-link i {
    transition: transform 0.3s ease;
}

.pub-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid,
    .publications-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .publication-card {
        margin: 0 1rem;
    }
}










/* Add these styles to your existing CSS */
.hero {
    padding: calc(var(--nav-height) + 40px) 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    text-align: left;
}

.hero-image-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Decorative elements */
.hero-image-container:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    z-index: 1;
    animation: borderPulse 3s infinite;
}

.hero-image-container:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    z-index: 1;
    animation: borderPulse 3s infinite reverse;
}

@keyframes borderPulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Floating animation for image */
.hero-image-container:hover .hero-image {
    transform: translateY(-10px);
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image-container {
        width: 300px;
        height: 300px;
        order: 1;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        width: 250px;
        height: 250px;
    }
}





























/* Updated Hero Section Styles */
.hero {
    padding: calc(var(--nav-height) + 40px) 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.profile-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 2rem;
}

.image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

/* Modern gradient border effect */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color), 
        #4facfe,
        var(--primary-color));
    border-radius: 22px;
    z-index: 1;
    transition: all 0.5s ease;
    opacity: 0.7;
}

/* Subtle hover animation */
.image-wrapper:hover .profile-image {
    transform: scale(1.02);
}

.image-wrapper:hover::before {
    opacity: 1;
    animation: borderRotate 4s linear infinite;
}

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

.profile-info {
    text-align: center;
    margin-top: 1rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.profile-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-button {
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: var(--gradient);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 2rem;
    }

    .profile-section {
        margin-right: 0;
        margin-bottom: 3rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .image-wrapper {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .image-wrapper {
        width: 200px;
        height: 200px;
    }
}































/* Updated Hero Section Styles */
.hero {
    padding: calc(var(--nav-height) + 40px) 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: flex-start; /* Changed from center to flex-start */
    gap: 4rem;
}

.hero-content {
    padding-top: 2rem; /* Added padding to align with image */
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.profile-section {
    position: relative;
    padding-top: 1rem; /* Adjusted padding for alignment */
}

.image-wrapper {
    position: relative;
    width: 320px; /* Slightly adjusted size */
    height: 320px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

/* Modern gradient border effect */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color), 
        #4facfe,
        var(--primary-color));
    background-size: 200% 200%;
    border-radius: 22px;
    z-index: 1;
    transition: all 0.5s ease;
    opacity: 0.7;
}

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

.image-wrapper:hover::before {
    opacity: 1;
    animation: borderGradient 3s ease infinite;
}

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

.profile-info {
    text-align: center;
    margin-top: 1.5rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: var(--gradient);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .image-wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        padding-top: 0;
    }
    
    .profile-section {
        order: -1;
        margin: 0 auto;
    }
    
    .image-wrapper {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .image-wrapper {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .image-wrapper {
        width: 220px;
        height: 220px;
    }
}
































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

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

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--white);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}














/* Awards Section Styles */
.awards {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.award-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    border-radius: 4px 0 0 4px;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.award-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.award-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.award-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* Awards Stats */
.awards-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.awards-stats .stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
}

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

.awards-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.awards-stats .stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .awards-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .award-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .award-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .award-icon {
        margin-bottom: 1rem;
    }
}































/* Education Section Styles */
.education {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

.education-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.education-content {
    flex: 1;
}

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

.education-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.cgpa {
    background: var(--gradient);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--white);
    font-weight: 500;
}

.education-content h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-period {
    color: var(--primary-color);
    font-weight: 500;
}

/* Skills Section Styles */
.skills {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.skills-group h3,
.competitive-programming h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
    padding-left: 1rem;
}

.skills-group h3::before,
.competitive-programming h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient);
    border-radius: 2px;
}

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

.skill-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.skill-item i {
    font-size: 2rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

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

.platform-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.platform-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.platform-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.platform-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.icpc-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    gap: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.icpc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icpc-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icpc-icon i {
    font-size: 2rem;
    color: var(--white);
}

.icpc-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.icpc-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.icpc-stats {
    display: flex;
    gap: 2rem;
}

.icpc-stats .stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .education-icon {
        margin: 0 auto;
    }

    .education-header {
        flex-direction: column;
        gap: 1rem;
    }

    .icpc-card {
        flex-direction: column;
        text-align: center;
    }

    .icpc-icon {
        margin: 0 auto;
    }

    .icpc-stats {
        justify-content: center;
    }
}

















/* Updated ICPC Card Styles */
.icpc-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    gap: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.icpc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.icpc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.icpc-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.icpc-card:hover .icpc-icon {
    transform: rotate(360deg);
}

.icpc-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.icpc-header h3 {
    font-size: 1.5rem;
    margin: 0;
    transition: color 0.3s ease;
}

.link-icon {
    font-size: 1.2rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.icpc-card:hover .link-icon {
    transform: translate(3px, -3px);
    color: var(--primary-color);
}

.team-name {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.icpc-stats {
    display: flex;
    gap: 2rem;
}

.icpc-stats .stat {
    text-align: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.icpc-card:hover .stat {
    transform: translateY(-3px);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-value sup {
    font-size: 0.8rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .icpc-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .icpc-icon {
        margin: 0 auto;
    }

    .icpc-header {
        flex-direction: column;
        gap: 1rem;
    }

    .icpc-stats {
        justify-content: center;
    }

    .link-icon {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .icpc-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }
}















/* Updated Education Section Styles */
.education {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.education-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    border-radius: 4px 0 0 4px;
}

.education-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.education-card:hover .education-icon {
    transform: rotate(360deg);
}

.education-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.education-content {
    flex: 1;
}

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

.education-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

.cgpa {
    background: var(--gradient);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--white);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.education-details {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.education-period {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-period i {
    font-size: 1.1rem;
}

.education-major {
    background: rgba(37, 99, 235, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .education-header {
        flex-direction: column;
        text-align: center;
    }

    .education-details {
        justify-content: center;
    }

    .education-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .education-card {
        padding: 1.5rem;
    }

    .education-header h3 {
        font-size: 1.25rem;
    }

    .education-details {
        flex-direction: column;
        gap: 1rem;
    }
}



























/* Project Categories */
.project-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: var(--white);
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-btn.active,
.category-btn:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-2px);
}

/* Enhanced Project Cards */
.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-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;
}

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

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

.project-content {
    padding: 2rem;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
    transform: rotate(360deg);
}

.project-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.project-badge {
    position: absolute;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-content h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

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

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

.project-card:hover .tech-tag {
    transform: translateY(-2px);
}

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

.project-link,
.code-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover,
.code-link:hover {
    transform: translateX(5px);
}

/* Add JavaScript for filtering */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .project-header {
        flex-wrap: wrap;
    }
    
    .project-badge {
        position: relative;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}











/* Updated Navbar Styles */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Reduced gap to fit more items */
}

.nav-link {
    font-size: 0.95rem; /* Slightly smaller font size to fit more items */
    padding: 0.5rem 0.75rem; /* Adjusted padding */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        flex-direction: column;
        transform: translateY(-150%);
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }
}



















/* Resume Button Styles */
.nav-btn {
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

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



















/* Navbar Active State Styles */
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
}

/* For mobile */
@media (max-width: 1024px) {
    .nav-link::before {
        left: 0;
        transform: none;
        height: 100%;
        width: 3px;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 3px;
    }

    .nav-link.active {
        padding-left: 1.5rem;
    }
}























/* Navbar Link Styles */
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

/* Remove the underline effect */
.nav-link::before {
    display: none; /* This removes the sliding underline */
}

/* Active and Hover states */
.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    transform: translateY(-1px);
}

/* Navigation Button (Resume) */
.nav-btn {
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Mobile styles */
@media (max-width: 1024px) {
    .nav-link {
        width: 100%;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--gradient);
        color: var(--white);
        transform: none;
    }

    .nav-menu {
        padding: 1rem;
    }
}






















/* Navbar Container Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1500px; /* Increased container width */
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-text {
    font-size: 1.8rem; /* Increased logo size */
    font-weight: 700;
    color: var(--primary-color);
}

/* Menu Styles */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem; /* Increased gap */
}

/* Link Styles */
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.6rem 1.2rem; /* Increased padding */
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.1rem; /* Increased font size */
    letter-spacing: 0.2px;
}

/* Hover and Active States */
.nav-link:hover {
    color: var(--primary-color);
    font-weight: 700; /* Bold on hover */
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Background animation */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(37, 99, 235, 0.15) 0%, /* Slightly more visible */
        rgba(79, 70, 229, 0.15) 100%
    );
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px; /* Thicker underline */
    background: var(--gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

/* Resume Button Styles */
.nav-btn {
    padding: 0.7rem 1.5rem; /* Larger padding */
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem; /* Increased font size */
    letter-spacing: 0.3px;
}

.nav-btn i {
    font-size: 1.1rem; /* Increased icon size */
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    font-weight: 700; /* Bold on hover */
}

/* Active Glow Animation */
@keyframes activeGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 0 10px 2px rgba(37, 99, 235, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
}

.nav-link.active {
    animation: activeGlow 2s infinite;
}

/* Prevent layout shift when text becomes bold */
.nav-link {
    display: inline-block;
    position: relative;
}

.nav-link::before {
    content: attr(data-text);
    display: block;
    font-weight: 700;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 0.75rem;
    }
    
    .nav-btn {
        padding: 0.5rem 1.2rem;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link, .nav-btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
        text-align: left;
    }

    .nav-toggle {
        display: flex;
    }
}

/* Mobile animations */
@media (max-width: 1024px) {
    .nav-menu.active .nav-link {
        animation: slideIn 0.3s ease forwards;
        opacity: 0;
    }

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

    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.6s; }
    .nav-menu.active .nav-link:nth-child(7) { animation-delay: 0.7s; }
    .nav-menu.active .nav-link:nth-child(8) { animation-delay: 0.8s; }
}




















/* Updated Container Width */
.nav-container {
    max-width: 1600px; /* Increased to fit new item */
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Slightly adjust spacing between items */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.9rem; /* Adjusted gap */
}

/* Update mobile animation delays for the new item */
@media (max-width: 1024px) {
    .nav-menu.active .nav-link:nth-child(7) { animation-delay: 0.7s; }
    .nav-menu.active .nav-link:nth-child(8) { animation-delay: 0.8s; }
    .nav-menu.active .nav-link:nth-child(9) { animation-delay: 0.9s; }
}

/* Add responsive adjustments for smaller screens */
@media (max-width: 1500px) {
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }
    
    .nav-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}











/* ------------------------------------ Chatbot Styles---------------------------------- */
/* .chatbot-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
    z-index: 1000;
    font-size: 24px;
    color: white;
}

.chatbot-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chat-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.chat-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 10px;
}

.message.user {
    text-align: right;
}

.message-content {
    display: inline-block;
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.message.bot .message-content {
    background: #e3f2fd;
    color: #1565c0;
}

.message.user .message-content {
    background: #667eea;
    color: white;
}

.chat-input-container {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-input:focus {
    border-color: #667eea;
}

.chat-send {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send:hover {
    background: #5a6fd8;
}

@media (max-width: 768px) {
    .chat-window {
        width: 280px;
        height: 400px;
    }
} */










/* ------------------------------------Chatbot Styles-------------------------------------- */
/* Chatbot Styles */
@keyframes glowingPulse {
    0% {
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.5), 0 0 20px rgba(255, 77, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.3);
        background: linear-gradient(135deg, #667eea, #ff4dff);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 30px rgba(255, 77, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.5);
        background: linear-gradient(135deg, #8a4fff, #00e6e6);
    }
    100% {
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.5), 0 0 20px rgba(255, 77, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.3);
        background: linear-gradient(135deg, #667eea, #ff4dff);
    }
}

@keyframes subtleRotate {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    75% { transform: rotate(-8deg); }
    100% { transform: rotate(0deg); }
}

@keyframes autoJump {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(1) translate(10px, -10px); }
    100% { opacity: 0; transform: scale(0) translate(15px, -15px); }
}

@keyframes sparkle2 {
    0% { opacity: 0; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(0.8) translate(-12px, 8px); }
    100% { opacity: 0; transform: scale(0) translate(-15px, 10px); }
}

@keyframes sparkle3 {
    0% { opacity: 0; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(0.6) translate(8px, 12px); }
    100% { opacity: 0; transform: scale(0) translate(10px, 15px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

.chatbot-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #ff4dff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5), 0 0 20px rgba(255, 77, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.3);
    z-index: 1000;
    font-size: 24px;
    color: white;
    animation: glowingPulse 2.5s ease-in-out infinite, subtleRotate 5s ease-in-out infinite, autoJump 1.5s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.chatbot-bubble:hover {
    transform: scale(1.4);
    animation: glowingPulse 2.5s ease-in-out infinite; /* Maintain only glowingPulse on hover */
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.9), 0 0 35px rgba(255, 77, 255, 0.7), 0 0 45px rgba(0, 255, 255, 0.6);
}

.bubble-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.chatbot-bubble:hover .bubble-icon {
    animation: bounce 0.6s ease;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle-2 {
    animation: sparkle2 1.8s ease-in-out infinite;
    animation-delay: 0.3s;
}

.sparkle-3 {
    animation: sparkle3 2s ease-in-out infinite;
    animation-delay: 0.6s;
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-window.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.4s ease-out;
}

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

.chat-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 15px 15px 0 0;
    position: relative;
    font-weight: 600;
}

.chat-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-close:hover {
    transform: translateY(-50%) rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.3s ease forwards;
}

.message.user {
    text-align: right;
}

.message-content {
    display: inline-block;
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
    position: relative;
}

.message.bot .message-content {
    background: #e3f2fd;
    color: #1565c0;
}

.message.user .message-content {
    background: #667eea;
    color: white;
}

.message.typing .message-content {
    background: #e3f2fd;
    color: #1565c0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #1565c0;
    border-radius: 50%;
    display: inline-block;
    animation: typingDot 0.6s infinite alternate;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.chat-input-container {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chat-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 8px rgba(102,126,234,0.3);
}

.chat-send {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.chat-send:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .chat-window {
        width: 280px;
        height: 400px;
    }
}
/* ------------------------------------ Chatbot Styles end ---------------------------------- */