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

:root {
    /* Dark Theme (Default) */
    --primary-color: #a78bfa;
    --secondary-color: #7c3aed;
    --text-color: #f3f4f6;
    --light-text: #9ca3af;
    --background: #111827;
    --section-bg: #1f2937;
    --card-bg: #1f2937;
    --gradient-1: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --gradient-2: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --gradient-3: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --transition: all 0.3s ease;
    --tooltip-bg: #333;
    --tooltip-text: #fff;
}

[data-theme="light"] {
    --primary-color: #7c3aed;
    --secondary-color: #5b21b6;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --section-bg: #f3f4f6;
    --card-bg: #ffffff;
    --gradient-1: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --gradient-2: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    --gradient-3: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --tooltip-bg: #666;
    --tooltip-text: #fff;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 2rem;
    z-index: 1001;
    background: var(--card-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: var(--card-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggle i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 1rem;
    right: 4rem;
    z-index: 1001;
    background: var(--card-bg);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    color: var(--text-color);
    font-weight: 500;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-header {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatar-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.birth-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    width: fit-content;
}

.birth-date i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.birth-date span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.avatar {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
    flex-shrink: 0;
    position: relative;
    margin: 0 auto;
}

.avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(124, 58, 237, 0.1));
    z-index: 1;
}

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

.avatar:hover img {
    transform: scale(1.05);
}

.hero-text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 0;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--light-text);
    margin: 0;
    font-weight: 500;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.2;
    border-radius: 4px;
    z-index: -1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(124, 58, 237, 0.1);
    font-weight: 500;
    white-space: nowrap;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
    text-align: center;
    min-width: 180px;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.primary-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}

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

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

/* About Section */
.about {
    background: var(--section-bg);
}

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

.about-text p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Skills Section */
.skills {
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0.05;
    z-index: 0;
}

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

.skill-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

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

/* Projects Section */
.projects {
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.05;
    z-index: 0;
}

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

/* Tooltip styles */
.tooltip-wrapper {
    position: relative;
    width: 100%;
}

.project-header h3,
.project-description {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: 100%;
}

/* Tooltip styles */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 6px;
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: normal;
    width: max-content;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 3;
    border: 1px solid rgba(124, 58, 237, 0.1);
    pointer-events: none;
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: calc(100% - 6px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--card-bg) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 3;
    pointer-events: none;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Project card styles */
.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(124, 58, 237, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

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

.project-header h3:hover::after,
.project-header h3:hover::before,
.project-description:hover::after,
.project-description:hover::before {
    opacity: 1;
}

.project-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.project-description {
    color: var(--light-text);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.project-tags span {
    background: var(--gradient-2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--primary-color);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.more-tags {
    background: var(--gradient-1) !important;
    color: white !important;
    border: none !important;
}

.project-content {
    display: none;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    height: 0;
    overflow: hidden;
}

.project-content.expanded {
    display: block;
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

.show-more-btn {
    background: var(--gradient-2);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    align-self: flex-start;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.show-more-btn::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: var(--transition);
}

.show-more-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.project-content.expanded + .show-more-btn::after {
    transform: rotate(180deg);
}

.project-tasks {
    margin-bottom: 1.5rem;
}

.project-tasks h4 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.project-tasks ul {
    list-style: none;
    padding-left: 1rem;
}

.project-tasks li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.project-tasks li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.full-tags {
    margin-bottom: 1.5rem;
}

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

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

.project-link:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0.05;
    z-index: 0;
}

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

.contact-info {
    display: grid;
    gap: 2rem;
    height: fit-content;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    border-color: var(--primary-color);
}

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

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

.contact-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition);
}

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

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

.contact-item:hover .contact-link {
    color: var(--primary-color);
    transform: translateX(5px);
}

.education-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    position: relative;
    z-index: 2;
}

.university-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .education-info {
        gap: 0.25rem;
    }

    .university-logo {
        width: 40px;
        height: 40px;
    }
}

.contact-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
}

.contact-form button[type="submit"] {
    justify-self: end;
    min-width: 150px;
    cursor: pointer;
}

.form-group input,
.form-group textarea {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(124, 58, 237, 0.2);
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

/* Footer */
.footer {
    background: var(--section-bg);
    color: var(--text-color);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0.05;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0;
}

.footer .social-links a {
    color: var(--text-color);
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-bg);
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.footer .social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

@media (max-width: 768px) {
    .footer .social-links {
        gap: 0.75rem;
    }

    .footer .social-links a {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
}

/* Project Styles Update */
.project-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.project-tasks h4 {
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-header {
        gap: 3rem;
    }

    .avatar {
        width: 200px;
        height: 200px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 1300px) {
    .nav-links {
        margin-right: 4rem;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        padding: 5rem 1rem;
        transition: var(--transition);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        margin-right: 0;
        gap: 0.5rem;
    }

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

    .nav-links a {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: left;
        display: block;
        border-radius: 8px;
        border: 1px solid rgba(124, 58, 237, 0.1);
        transition: var(--transition);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--primary-color);
        background: var(--gradient-2);
        border-color: var(--primary-color);
        transform: translateX(5px);
    }

    .theme-toggle {
        right: 4rem;
    }

    .hero-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .stat-item {
        min-width: 100px;
    }

    .social-links {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .avatar {
        width: 180px;
        height: 180px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .project-tags span {
        font-size: 0.75rem;
    }

    .project-card {
        height: auto;
        min-height: 280px;
    }
    
    .project-content {
        height: auto;
    }

    .certificate {
        margin: 1rem auto;
    }

    .avatar-info {
        gap: 0.5rem;
    }
    
    .birth-date, .certificate {
        margin: 0 auto;
    }

    .contact-form {
        position: relative;
        z-index: 1;
        display: grid;
        gap: 1.5rem;
    }

    .contact-form button[type="submit"] {
        justify-self: end;
        min-width: 150px;
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 4rem 1rem;
    }

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

    .hero h2 {
        font-size: 1.4rem;
    }

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

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 80px;
    }

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

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

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

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .social-links {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

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

    .avatar {
        width: 150px;
        height: 150px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .project-tasks li {
        font-size: 0.9rem;
    }
}

.certificate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    width: fit-content;
}

.certificate i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.certificate span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.personal-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    width: fit-content;
}

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

.info-item span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .personal-info {
        gap: 0.5rem;
    }
    
    .info-item {
        margin: 0 auto;
    }
}

/* Snow Effect */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    background: rgba(124, 58, 237, 0.15);
    border-radius: 50%;
    opacity: 0.8;
    animation: snowfall linear infinite;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(1px);
    will-change: transform;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100%) translateX(0) rotate(0deg);
    }
    50% {
        transform: translateY(50vh) translateX(20px) rotate(180deg);
    }
    100% {
        transform: translateY(100vh) translateX(-20px) rotate(360deg);
    }
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    /* margin-top: 0.5rem; */
}

.contact-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.education-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.university-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: var(--transition);
    cursor: pointer;
}

.university-logo:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .education-info {
        gap: 0.5rem;
    }

    .university-logo {
        width: 50px;
        height: 50px;
    }
}

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

.message-history {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.message-history h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.message-item {
    background: var(--gradient-2);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.message-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.message-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--light-text);
}

.message-date {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-left: auto;
}

.message-name {
    font-weight: 500;
    color: var(--primary-color);
}

.message-subject {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.message-content {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .message-history {
        padding: 1rem;
    }

    .message-list {
        max-height: 250px;
    }

    .message-date {
        font-size: 0.75rem;
    }
}

.message-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.message-field {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
}

.message-label {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
    min-width: 80px;
}

.message-value {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
}

.message-date {
    font-size: 0.8rem;
    color: var(--light-text);
}

@media (max-width: 768px) {
    .message-field {
        gap: 0.3rem;
    }

    .message-label {
        font-size: 0.85rem;
        min-width: 70px;
    }

    .message-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 0;
    }

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