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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0f172a;
}

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

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #8b5cf6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: none;
}

.nav-logo a:hover .nav-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.6));
}

.nav-logo a:hover .nav-logo-text {
    background: linear-gradient(135deg, #a855f7, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

.nav-link:hover {
    color: #60a5fa;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e5e7eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e1b4b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fbbf24;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0f172a;
    transform: translateY(-2px);
}

.btn-resume {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-resume:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

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

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #fbbf24;
    color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #f8fafc;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #60a5fa;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #1e293b;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.about-education {
    margin-bottom: 2rem;
}

.about-education h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f8fafc;
}

.about-education .education-card {
    background: #0f172a;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
}

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

.education-title-with-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.university-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.about-education .education-header h4 {
    font-size: 1.2rem;
    color: #f8fafc;
}

.about-education .education-date {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.9rem;
}

.about-education .education-degree {
    font-size: 1rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-education .education-location {
    color: #94a3b8;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.about-education .education-awards h5 {
    color: #f8fafc;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.about-education .education-awards ul {
    list-style: none;
    padding-left: 0;
}

.about-education .education-awards li {
    padding: 0.3rem 0;
    color: #cbd5e1;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.about-education .education-awards li::before {
    content: '🏆';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.about-skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f8fafc;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
}

.skill-category h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

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

.skill-tag {
    background: #334155;
    color: #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #475569;
}

.skill-tag:hover {
    background: #60a5fa;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

/* Education Section */
.education {
    padding: 100px 0;
    background: #0f172a;
}

.education-card {
    max-width: 800px;
    margin: 0 auto;
    background: #1e293b;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
}

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

.education-header h3 {
    font-size: 1.5rem;
    color: #f8fafc;
}

.education-date {
    color: #94a3b8;
    font-weight: 500;
}

.education-degree {
    font-size: 1.2rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-location {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.education-awards h4 {
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.education-awards ul {
    list-style: none;
    padding-left: 0;
}

.education-awards li {
    padding: 0.5rem 0;
    color: #cbd5e1;
    position: relative;
    padding-left: 1.5rem;
}

.education-awards li::before {
    content: '🏆';
    position: absolute;
    left: 0;
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: #1e293b;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #334155;
}

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

.timeline-marker {
    position: absolute;
    left: 21px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #60a5fa;
    border-radius: 50%;
    border: 4px solid #1e293b;
    box-shadow: 0 0 0 4px #334155;
}

.timeline-content {
    background: #0f172a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
}

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

.timeline-header h3 {
    font-size: 1.3rem;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.timeline-company {
    display: block;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-date {
    color: #94a3b8;
    font-size: 0.9rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    padding: 0.5rem 0;
    color: #cbd5e1;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: #0f172a;
}

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

.project-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
    border-color: #60a5fa;
}

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

.project-header h3 {
    font-size: 1.3rem;
    color: #f8fafc;
}

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

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #475569;
}

.project-link:hover {
    background: #60a5fa;
    color: #0f172a;
    border-color: #60a5fa;
}

.project-description {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.tech-tag {
    background: #1e3a8a;
    color: #93c5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #3b82f6;
}

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

.project-features li {
    padding: 0.5rem 0;
    color: #cbd5e1;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Extracurriculars Section */
.extracurriculars {
    padding: 100px 0;
    background: #1e293b;
}

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

.extracurricular-card {
    background: #0f172a;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
    transition: all 0.3s ease;
}

.extracurricular-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
    border-color: #60a5fa;
}

.extracurricular-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.extracurricular-card h3 {
    font-size: 1.2rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.extracurricular-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0f172a;
}

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

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

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #cbd5e1;
}

.contact-item i {
    width: 20px;
    color: #60a5fa;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #60a5fa;
}

.contact-form {
    background: #1e293b;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #334155;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #475569;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: #0f172a;
    color: #e5e7eb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

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

/* Footer */
.footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 2rem 0;
    border-top: 1px solid #334155;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: #60a5fa;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1e293b;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid #334155;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 4rem 1rem 2rem;
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 1rem;
    }

    .hero-image-container {
        margin-top: 0;
        width: 200px;
        height: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-resume {
        max-width: 250px;
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 6px;
    }

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

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 3rem 0.8rem 1.5rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 220px;
        text-align: center;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-resume {
        max-width: 220px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-image-container {
        width: 180px;
        height: 180px;
    }

    .hero-social {
        gap: 0.8rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 1.1rem;
    }

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

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

    .container {
        padding: 0 0.8rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-logo-text {
        font-size: 1.8rem;
    }

    .nav-logo-img {
        height: 32px;
        width: auto;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #60a5fa;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #93c5fd;
}

/* Profile Image Styling */
.hero-image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.3s ease;
}

.hero-profile-img:hover {
    transform: scale(1.1);
}
