/* ============================================
   Niki Ghaffari Resume - Crimson & Sky Blue Theme
   ============================================ */

/* === CSS Variables === */
:root {
    --crimson: #8B0000;
    --crimson-light: #B22222;
    --crimson-dark: #5C0000;
    --sky-blue: #87CEEB;
    --sky-blue-light: #B0E0E6;
    --sky-blue-dark: #4AA8C0;
    --banana-yellow: #FFE135;
    --banana-light: #FFF8DC;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

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

.accent {
    color: var(--crimson);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 16px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    color: var(--gray-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--crimson);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--crimson);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, var(--banana-light) 30%, var(--sky-blue-light) 70%, var(--white) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(135, 206, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 225, 53, 0.06) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

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

.hero-greeting {
    font-size: 1.1rem;
    color: var(--sky-blue-dark);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--crimson);
    margin-bottom: 20px;
}

.hero-banana-quote {
    font-size: 1rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 32px;
    padding: 12px 20px;
    background: rgba(255, 225, 53, 0.15);
    border-left: 3px solid var(--banana-yellow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.banana-emoji {
    font-style: normal;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--crimson);
    color: var(--white);
    border-color: var(--crimson);
}

.btn-primary:hover {
    background: var(--crimson-dark);
    border-color: var(--crimson-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--crimson);
    border-color: var(--crimson);
}

.btn-outline:hover {
    background: var(--crimson);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--crimson);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.hero-image-bg {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--crimson-light), var(--sky-blue));
    animation: morphBlob 8s ease-in-out infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

@keyframes morphBlob {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.hero-image {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    animation: morphBlob 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-image-placeholder {
    width: 350px;
    height: 350px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--crimson), var(--sky-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 6rem;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    animation: morphBlob 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.floating-banana {
    position: absolute;
    font-size: 2rem;
    z-index: 3;
    animation: floatBanana 6s ease-in-out infinite;
}

.banana-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.banana-2 {
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

.banana-3 {
    top: 50%;
    right: -15%;
    animation-delay: 4s;
    font-size: 1.5rem;
}

@keyframes floatBanana {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(10deg); }
    50% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-20px) rotate(5deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--crimson);
    font-size: 1.5rem;
    opacity: 0.6;
}

.scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* === Section Styles === */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--crimson), var(--sky-blue));
    margin: 0 auto 60px;
    border-radius: 2px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-info {
    background: linear-gradient(135deg, var(--off-white), var(--banana-light));
    padding: 32px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.info-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--crimson);
    border-radius: 50%;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.banana-item .banana-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--banana-yellow);
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Interests */
.interests-section {
    margin-top: 60px;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 24px;
    text-align: center;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.interest-card {
    background: var(--off-white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.interest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.interest-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.interest-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.interest-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* === Education & Experience Timeline === */
.education-section {
    background: var(--off-white);
}

.experience-section {
    background: var(--white);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--crimson), var(--sky-blue));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s 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-item:nth-child(4) { animation-delay: 0.7s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--crimson);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--crimson);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.education-section .timeline-content {
    background: var(--white);
}

.experience-section .timeline-content {
    background: var(--off-white);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--crimson), var(--crimson-light));
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.timeline-content h4 {
    font-size: 0.95rem;
    color: var(--sky-blue-dark);
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-content h4 i {
    margin-right: 6px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* === Skills Section === */
.skills-section {
    background: var(--white);
}

.skills-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.skill-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--crimson);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-200);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    padding: 4px 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-800);
}

.skill-percent {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--crimson);
}

.skill-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--crimson), var(--sky-blue));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Projects Section === */
.projects-section {
    background: var(--off-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-image-placeholder {
    background: linear-gradient(135deg, var(--crimson), var(--sky-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    opacity: 0.9;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-tag {
    padding: 4px 12px;
    background: var(--banana-light);
    color: var(--crimson);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sky-blue-dark);
}

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

.project-link i {
    margin-right: 4px;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-600);
}

.empty-state i {
    font-size: 3rem;
    color: var(--crimson);
    opacity: 0.4;
    margin-bottom: 16px;
    display: block;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '🍌';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.1;
    transform: rotate(30deg);
}

.contact-info-panel h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-info-panel > p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
}

.contact-detail-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--white);
    color: var(--crimson);
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--crimson);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.1);
}

.form-input::placeholder {
    color: var(--gray-600);
}

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

.btn-submit {
    align-self: flex-start;
    border: none;
    font-family: var(--font-primary);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.3);
}

/* Messages / Alerts */
.messages {
    max-width: 600px;
    margin: 0 auto 30px;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* === Footer === */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 40px 0;
}

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

.footer-content p {
    font-size: 0.9rem;
}

.heart {
    color: var(--crimson);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.footer-links a:hover {
    color: var(--sky-blue);
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--crimson);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--crimson-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* === Responsive === */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

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

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

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

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

    .hero-image-bg {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

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

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

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

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

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

    .section {
        padding: 70px 0;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .timeline {
        padding-left: 30px;
    }

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

    .timeline-dot {
        left: -28px;
    }

    .timeline-content {
        padding: 20px;
    }
}

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

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

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

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