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

:root {
    --lavender-blush: #F5E6E8;
    --old-gold: #E2C044;
    --space-cadet: #192A51;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f1a2e 0%, var(--space-cadet) 50%, #253a5e 100%);
    color: var(--lavender-blush);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Elegant animated background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    background: 
        radial-gradient(circle at 20% 50%, rgba(226, 192, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 230, 232, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(226, 192, 68, 0.05) 0%, transparent 40%);
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.1); }
}

/* Subtle particle effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--old-gold);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 20s infinite;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* Navigation */
nav {
    background: rgba(25, 42, 81, 0.8);
    backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(226, 192, 68, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--old-gold);
    letter-spacing: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--lavender-blush);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

nav a {
    color: var(--lavender-blush);
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--old-gold), transparent);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::before {
    width: 100%;
}

nav a:hover {
    color: var(--old-gold);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 5rem;
    position: relative;
    z-index: 1;
    min-height: 85vh;
}

.hero-text {
    flex: 1;
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--lavender-blush);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -1px;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    height: 3.5rem;
    color: var(--lavender-blush);
}

.typing-text {
    color: var(--old-gold);
    border-right: 3px solid var(--old-gold);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--old-gold); }
    51%, 100% { border-color: transparent; }
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--lavender-blush);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.8;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: var(--old-gold);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--old-gold);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--old-gold);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--space-cadet);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(226, 192, 68, 0.3);
}

.hero-right {
    position: relative;
    animation: slideInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 200;
    color: var(--lavender-blush);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-name span {
    background: linear-gradient(135deg, var(--lavender-blush) 0%, var(--old-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-image {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, rgba(245, 230, 232, 0.05) 0%, rgba(226, 192, 68, 0.05) 100%);
    border: 2px solid rgba(226, 192, 68, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 230, 232, 0.4);
    font-size: 1.2rem;
    border-radius: 30px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.3),
        inset 0 0 50px rgba(226, 192, 68, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4),
        inset 0 0 60px rgba(226, 192, 68, 0.1),
        0 0 40px rgba(226, 192, 68, 0.2);
    border-color: rgba(226, 192, 68, 0.5);
}

/* Content Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    position: relative;
    z-index: 1;
}

/* Section Titles */
.section-title {
    font-size: 3.5rem;
    color: var(--lavender-blush);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 200;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--old-gold), transparent);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    animation: fadeInUp 1s ease-out;
}

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

.about-content {
    display: flex;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image-container {
    position: relative;
    flex-shrink: 0;
}

.about-image {
    width: 300px;
    height: auto;
    background: linear-gradient(135deg, rgba(245, 230, 232, 0.05) 0%, rgba(226, 192, 68, 0.05) 100%);
    border: 2px solid rgba(226, 192, 68, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 230, 232, 0.4);
    font-size: 1.2rem;
    border-radius: 30px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.3),
        inset 0 0 50px rgba(226, 192, 68, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 28px;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4),
        inset 0 0 60px rgba(226, 192, 68, 0.1),
        0 0 40px rgba(226, 192, 68, 0.2);
    border-color: rgba(226, 192, 68, 0.5);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--old-gold);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--lavender-blush);
    opacity: 0.85;
    line-height: 1.9;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(245, 230, 232, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(226, 192, 68, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(226, 192, 68, 0.4);
    background: rgba(245, 230, 232, 0.05);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 200;
    color: var(--old-gold);
    display: block;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--lavender-blush);
    opacity: 0.7;
    margin-top: 0.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Skills Section */
.skills-section {
    padding: 8rem 0;
    background: rgba(0, 0, 0, 0.2);
    margin: 4rem calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    border-top: 1px solid rgba(226, 192, 68, 0.1);
    border-bottom: 1px solid rgba(226, 192, 68, 0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.skill-card {
    background: rgba(245, 230, 232, 0.03);
    padding: 2.5rem;
    border-radius: 25px;
    border: 1px solid rgba(226, 192, 68, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(226, 192, 68, 0.4);
    background: rgba(245, 230, 232, 0.05);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.skill-card h3 {
    font-size: 1.5rem;
    color: var(--lavender-blush);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.skill-card p {
    color: var(--lavender-blush);
    opacity: 0.6;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Education/Timeline Section */
.education-section {
    padding: 8rem 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--old-gold), rgba(226, 192, 68, 0.2));
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--old-gold);
    border-radius: 50%;
    border: 4px solid var(--space-cadet);
    box-shadow: 0 0 20px rgba(226, 192, 68, 0.5);
    z-index: 1;
}

.timeline-content {
    background: rgba(245, 230, 232, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 192, 68, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(226, 192, 68, 0.4);
    background: rgba(245, 230, 232, 0.05);
}

.timeline-date {
    color: var(--old-gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--lavender-blush);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--old-gold);
    margin-bottom: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.timeline-content p {
    color: var(--lavender-blush);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.timeline-tag {
    background: rgba(226, 192, 68, 0.15);
    color: var(--old-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 400;
    border: 1px solid rgba(226, 192, 68, 0.3);
    letter-spacing: 0.3px;
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background: rgba(0, 0, 0, 0.2);
    margin: 4rem calc(-50vw + 50%) 0;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    border-top: 1px solid rgba(226, 192, 68, 0.1);
}

.contact-content {
    max-width: 900px;
    margin: 3rem auto;
    background: rgba(245, 230, 232, 0.03);
    padding: 5rem 4rem;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(226, 192, 68, 0.2);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.contact-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(245, 230, 232, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(226, 192, 68, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(226, 192, 68, 0.4);
    background: rgba(245, 230, 232, 0.05);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--lavender-blush);
    margin-bottom: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.contact-item a, .contact-item span {
    color: var(--old-gold);
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.contact-item a:hover {
    color: var(--lavender-blush);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    color: var(--lavender-blush);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(226, 192, 68, 0.1);
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(245, 230, 232, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lavender-blush);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 192, 68, 0.2);
}

.social-link:hover {
    background: rgba(226, 192, 68, 0.2);
    color: var(--old-gold);
    transform: translateY(-5px);
    border-color: var(--old-gold);
    box-shadow: 0 10px 25px rgba(226, 192, 68, 0.2);
}

footer p {
    opacity: 0.6;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: rgba(226, 192, 68, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--old-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--old-gold);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(226, 192, 68, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: rgba(226, 192, 68, 0.3);
    box-shadow: 0 8px 30px rgba(226, 192, 68, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero {
        padding: 6rem 3rem;
        gap: 3rem;
    }

    .container {
        padding: 0 3rem;
    }

    .hero-name {
        font-size: 3.5rem;
        letter-spacing: 3px;
    }

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

    .about-content {
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column-reverse;
        padding: 4rem 2rem;
        text-align: center;
        min-height: auto;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h2 {
        font-size: 2rem;
        height: 3rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-name {
        font-size: 3rem;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }

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

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .about-image {
        width: 280px;
        margin: 0 auto;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

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

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

    .timeline-dot {
        left: 5px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

    .nav-container {
        padding: 0 1.5rem;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(25, 42, 81, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    }

    nav ul.active {
        right: 0;
    }

    nav a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
    }

    nav a::before {
        display: none;
    }

    nav a:hover {
        background: rgba(226, 192, 68, 0.1);
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

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

    .hero-text p {
        font-size: 1rem;
    }

    .hero-name {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero-image {
        width: 240px;
        height: 240px;
        border-radius: 20px;
    }

    .section-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
        margin-bottom: 2.5rem;
        white-space: normal;
    }

    .section-title::after {
        width: 60px;
    }

    .about-section {
        padding: 5rem 0;
    }

    .about-image {
        width: 240px;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

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

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

    .skills-section, .contact-section, .education-section {
        padding: 5rem 0;
    }

    .skill-card {
        padding: 2rem;
    }

    .timeline-content {
        padding: 2rem;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .contact-content {
        padding: 2.5rem 1.5rem;
    }

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

    footer {
        padding: 2.5rem 1.5rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .scroll-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

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

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

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

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

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

    .about-image {
        width: 200px;
    }

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

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

    .timeline-dot {
        left: 0;
        width: 16px;
        height: 16px;
    }

    .contact-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-text h2 {
        font-size: 1.2rem;
        height: 2rem;
    }

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

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

    .hero-name {
        font-size: 1.8rem;
    }

    .social-link a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-link svg {
        pointer-events: none;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
        position: relative;
        z-index: 10;
    }

    .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: none;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }

    .social-link svg {
        width: 24px;
        height: 24px;
        pointer-events: none;
    }


}