/* ===================================
   CSS Variables & Root Styles
   =================================== */
:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #151515;
    --bg-tertiary: #1a1a1a;
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --accent-primary: #d4a574;
    --accent-secondary: #c89858;
    --accent-hover: #e0b886;
    --border-color: #2a2a2a;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 80px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-logo:hover {
    color: var(--accent-hover);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

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

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

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background-color: rgba(212, 165, 116, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 30px;
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-name {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.7s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 18px;
}

.social-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    background-color: rgba(212, 165, 116, 0.1);
}

/* Hero Decoration */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ===================================
   Section Header
   =================================== */
.section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
}

.section-number {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
}

.section-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    color: var(--text-primary);
}

/* ===================================
   About Section
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 17px;
}

.about-intro {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 500;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 24px;
    color: var(--accent-primary);
}

.highlight-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 2px solid var(--border-color);
}

/* ================================
   Profile Image – Full Ratio Fix
   ================================ */

.image-wrapper {
    width: 280px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-image,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* ✅ FULL IMAGE, NO CROP */
    border-radius: 12px;
    background-color: #111;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--text-muted);
}

.image-placeholder i {
    font-size: 64px;
}

.image-placeholder p {
    font-size: 14px;
}

/* ===================================
   Education Section
   =================================== */
.education {
    background-color: var(--bg-secondary);
}

.education-timeline {
    max-width: 900px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 60px;
    border-left: 2px solid var(--border-color);
}

.timeline-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.timeline-marker {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: var(--accent-primary);
    border: 3px solid var(--bg-secondary);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.5);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}

.timeline-content {
    background-color: var(--bg-primary);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-primary);
    transform: translateX(10px);
}

.timeline-date {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(212, 165, 116, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.timeline-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 8px;
}

.timeline-specialization {
    color: var(--accent-primary);
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
}

.timeline-institution {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.timeline-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-placeholder .timeline-content {
    background-color: var(--bg-tertiary);
    border-style: dashed;
}

.placeholder-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.placeholder-text i {
    color: var(--accent-primary);
    font-size: 20px;
}

/* ===================================
   Skills Section
   =================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.skill-category:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(212, 165, 116, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.category-icon i {
    font-size: 32px;
    color: var(--accent-primary);
}

.category-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-badge {
    padding: 10px 18px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.skill-badge:hover {
    background-color: rgba(212, 165, 116, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ===================================
   Projects Section
   =================================== */
.projects {
    background-color: var(--bg-secondary);
}

.projects-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.project-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder i {
    font-size: 48px;
    color: var(--border-color);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* 🔥 FULL IMAGE, NO CROP */
    background-color: #0a0a0a;
}

.coming-soon {
    padding: 12px 28px;
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-content {
    padding: 30px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    padding: 6px 14px;
    background-color: rgba(212, 165, 116, 0.1);
    color: var(--accent-primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.project-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.project-link:not(.disabled):hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.project-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===================================
   Experience Section
   =================================== */
.experience-content {
    max-width: 900px;
}

.experience-status {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    margin-bottom: 60px;
}

.status-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(212, 165, 116, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.status-icon i {
    font-size: 48px;
    color: var(--accent-primary);
}

.status-title {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.status-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
}

.status-interests h4 {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.interest-tag {
    padding: 12px 24px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.interest-tag:hover {
    background-color: rgba(212, 165, 116, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.experience-timeline {
    padding-left: 60px;
    border-left: 2px dashed var(--border-color);
}

.experience-item {
    position: relative;
    padding-bottom: 40px;
}

.experience-marker {
    position: absolute;
    left: -69px;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: var(--border-color);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
}

.placeholder-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.placeholder-content i {
    font-size: 24px;
    color: var(--accent-primary);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background-color: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-heading {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--accent-primary);
}

.contact-text-detail h4 {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text-detail a,
.contact-text-detail p {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.contact-text-detail a:hover {
    color: var(--accent-primary);
}

.contact-social h4 {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 15px;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;

  width: 100%;
  display: flex;
  justify-content: flex-start;
}

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

  width: 100%;
  max-width: 480px;
}

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

.form-group label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: var(--bg-tertiary);
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

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

.footer-text {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent-primary);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes scrollLine {
    0% {
        height: 0;
        opacity: 1;
    }
    50% {
        height: 60px;
        opacity: 1;
    }
    100% {
        height: 60px;
        opacity: 0;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    :root {
        --container-padding: 0 40px;
    }
    
    .nav-container {
        padding: 20px 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr 350px;
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 70px);
        padding: 40px;
        gap: 30px;
        align-items: flex-start;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 25px;
    }
    
    .nav-container {
        padding: 15px 25px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 50px;
    }
    
    .section-number {
        font-size: 48px;
    }
    
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-status {
        padding: 40px 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .skill-category {
        padding: 30px;
    }
}
