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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e4e6ea;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 30px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

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

.nav-menu a {
    text-decoration: none;
    color: #e4e6ea;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover {
    color: #8000ff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 80%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    overflow: hidden;
    border: 4px solid transparent;
    background: linear-gradient(45deg, #00ffff, #0080ff, #8000ff);
    padding: 4px;
    box-shadow:
        0 0 50px rgba(0, 255, 255, 0.4),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 50px rgba(0, 255, 255, 0.4), inset 0 0 20px rgba(0, 255, 255, 0.1);
    }

    100% {
        box-shadow: 0 0 80px rgba(0, 255, 255, 0.6), inset 0 0 30px rgba(0, 255, 255, 0.2);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #00ffff;
    animation: slideInUp 1s ease-out 0.2s both;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: #b0b3b8;
    animation: slideInUp 1s ease-out 0.4s both;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #0a0a0a;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.6);
    background: linear-gradient(45deg, #0080ff, #00ffff);
}

.btn-secondary {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.4);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b3b8;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
}

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

.about-image {
    text-align: center;
}

.about-image img {
    width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 255, 255, 0.4);
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #b0b3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Education Section */
.education {
    background: #0a0a0a;
}

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

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #00ffff, #0080ff, #8000ff);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

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

.timeline-content {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    width: 45%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.timeline-content:hover {
    transform: translateY(-10px);
    background: rgba(0, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 255, 255, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #0a0a0a;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.timeline-content h3 {
    background: linear-gradient(45deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;

}

.timeline-content h4 {
    color: #00ffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content h5 {
    color: #0080ff;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-style: italic;
}

.timeline-content p {
    color: #b0b3b8;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.skill-category {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #00ffff, #0080ff, #8000ff);
}

.skill-category:hover {
    transform: translateY(-10px);
    background: rgba(0, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 255, 255, 0.2);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
}

.skill-category i {
    font-size: 1.8rem;
    margin-right: 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #e4e6ea;
}

.skill-bar {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    height: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #0080ff, #8000ff);
    border-radius: 15px;
    transition: width 2s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Projects Section */
.projects {
    background: #0a0a0a;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 128, 255, 0.05) 0%, transparent 50%);
}

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

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

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.08);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.9), rgba(0, 128, 255, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-links a {
    background: rgba(10, 10, 10, 0.9);
    color: #00ffff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.project-links a:hover {
    background: #00ffff;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}

.project-content p {
    color: #b0b3b8;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #e4e6ea;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
}

.contact .section-title,
.contact .section-subtitle {
    color: #e4e6ea;
}

.contact .section-title {
    background: linear-gradient(45deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
}

.contact-item i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 40px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.contact-item h4 {
    color: #00ffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: #b0b3b8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(0, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #00ffff;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.3);
    color: #e4e6ea;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(180, 179, 184, 0.7);
}

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

/* Footer */
.footer {
    background: #0a0a0a;
    color: #e4e6ea;
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #0a0a0a;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.5);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .about-content {
        gap: 3rem;
    }

    .about-image img {
        width: 280px;
        height: 380px;
    }
}

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

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: right 0.3s ease;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0, 255, 255, 0.2);
        border-left: 1px solid rgba(0, 255, 255, 0.2);
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-radius: 0;
    }

    .hero {
        margin-top: 70px;
        height: auto;
        padding: 4rem 0;
    }

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

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .hero .description {
        font-size: 1rem;
    }

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

    .btn {
        width: 200px;
        text-align: center;
    }

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

    .about-image img {
        width: 250px;
        height: 350px;
    }

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

    .education-timeline::before {
        left: 20px;
    }

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

    .timeline-date {
        left: 20px;
        transform: translateX(0) translateY(-50%);
    }


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

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

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

    .section {
        padding: 4rem 0;
    }

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

    .container {
        padding: 0 1.5rem;
    }
}

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

    .logo {
        font-size: 1.5rem;
    }

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

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

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

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

    .stat-item {
        padding: 1.5rem 1rem;
    }

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

    .timeline-content {
        padding: 1.5rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    .skill-category,
    .project-card {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

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