/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #014D4E;
    --secondary-color: #118183;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #2d3748;
    --text-light: #64748b;
    --accent-color: #21a4a7;
    --success-color: #10b981;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-color);
    overflow-x: hidden;
    position: relative;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b4a888 50%, #beb18a 100%);
    position: relative;
    padding-top: 80px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-container {
    text-align: center;
    z-index: 1;
    position: relative;
    padding-bottom: 3rem;
}

.profile-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    font-weight: 500;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-location i {
    margin-right: 0.5rem;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.hero-stats-wrapper {
    width: 100%;
    overflow: visible;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 1s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 3.5rem 1.5rem 1.5rem 1.5rem;
    min-width: 320px;
    max-width: 380px;
    flex: 1;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-postit {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card:nth-child(2) .stat-postit {
    transform: translateX(-50%) rotate(2deg);
}

.stat-card:nth-child(3) .stat-postit {
    transform: translateX(-50%) rotate(-4deg);
}

.stat-card:hover .stat-postit {
    transform: translateX(-50%) rotate(0deg) scale(1.1);
}

.stat-card-content {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.stat-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin: 0;
}

.stat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tool-tag {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tool-tag:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-down span {
    width: 3px;
    height: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

/* ===== SECTIONS ===== */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: white;
    position: relative;
    z-index: 2;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-organizations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.organization {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.organization i {
    font-size: 2rem;
    color: var(--primary-color);
}

.organization h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.organization p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--light-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-projects {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accordion-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid var(--primary-color);
}

.accordion-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.accordion-item.active {
    border-left-color: var(--accent-color);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.8rem 2rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(1, 77, 78, 0.02);
}

.accordion-item.active .accordion-header {
    background: rgba(1, 77, 78, 0.05);
}

.accordion-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.accordion-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #016b6d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.accordion-item:hover .accordion-icon {
    transform: scale(1.08) rotate(5deg);
}

.accordion-item.active .accordion-icon {
    background: var(--accent-color);
    transform: scale(1.1) rotate(-5deg);
}

.accordion-title-content {
    flex: 1;
}

.accordion-title-content h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin: 0 0 0.3rem 0;
    font-weight: 700;
    transition: color 0.3s ease;
}

.accordion-item.active .accordion-title-content h3 {
    color: var(--primary-color);
}

.accordion-organization {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.accordion-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 77, 78, 0.08);
    border-radius: 50%;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.accordion-toggle i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.accordion-item.active .accordion-toggle {
    background: var(--accent-color);
    transform: rotate(180deg);
}

.accordion-item.active .accordion-toggle i {
    color: white;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-body {
    max-height: 600px;
}

.accordion-content {
    padding: 0 2rem 2rem 2rem;
    animation: fadeInUp 0.4s ease;
}

.project-description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.project-tag {
    background: rgba(1, 77, 78, 0.08);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(1, 77, 78, 0.15);
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
    background: white;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 38px;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 119, 181, 0.1);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.timeline-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.company-logo.long-text-logo {
    font-size: 0.7rem;
    padding: 0.3rem;
    text-align: center;
    line-height: 1.2;
}

.sjd-logo {
    background: var(--primary-color);
}

.doctors-logo {
    background: var(--primary-color);
}

.iebs-logo {
    background: var(--primary-color);
}

.fnac-logo {
    background: var(--primary-color);
    font-size: 1rem;
}

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

.timeline-info h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.timeline-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-date,
.timeline-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.timeline-date i,
.timeline-location i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.timeline-description {
    list-style: none;
    padding-left: 0;
}

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

.timeline-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== EDUCATION SECTION ===== */
.education {
    background: var(--light-color);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.education-logo {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.education-content h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

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

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

/* ===== SKILLS SECTION ===== */
.skills {
    background: white;
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skills-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.skills-category h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skills-category h3 i {
    color: var(--primary-color);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: var(--light-color);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    border: 2px solid transparent;
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--primary-color);
    background: rgba(0, 119, 181, 0.1);
    color: var(--primary-color);
}

.skill-tag.validated {
    background: var(--primary-color);
    border-color: var(--success-color);
    color: var(--success-color);
}

.skill-tag.validated i {
    margin-left: 0.3rem;
    font-size: 0.85rem;
}

.validations-info {
    max-width: 1000px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.validations-info i {
    color: var(--success-color);
    font-size: 1.5rem;
}

.validations-info p {
    color: var(--text-color);
    margin: 0;
}

.validations-info .fa-check-circle {
    color: var(--success-color);
    font-size: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.contact-method:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-method:hover i {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-method h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-method p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-method:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 181, 0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit i {
    transition: var(--transition);
}

.btn-submit:hover i {
    transform: translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px;
    }
    
    .timeline-marker {
        left: 18px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 0 8rem 0;
        align-items: flex-start;
    }
    
    .hero-container {
        padding-bottom: 2rem;
        padding-top: 2rem;
    }
    
    .profile-image-container {
        width: 150px;
        height: 150px;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-location {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-social {
        margin-bottom: 2rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .hero-stats-wrapper {
        overflow: visible;
        padding: 2rem 0 1rem 0;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 0 1.5rem;
        align-items: center;
    }
    
    .stat-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        flex-shrink: 0;
        padding: 4rem 1.5rem 1.5rem 1.5rem;
    }
    
    .stat-postit {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        top: -20px;
    }
    
    .stat-number {
        font-size: 2.8rem;
        margin-bottom: 0.6rem;
    }
    
    .stat-card-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .stat-description {
        font-size: 0.9rem;
    }
    
    .stat-tags {
        gap: 0.5rem;
    }
    
    .tool-tag {
        font-size: 0.8rem;
        padding: 0.45rem 0.8rem;
    }
    
    .scroll-down {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
    }

    /* Portfolio de proyectos: en móvil mostrar primero el texto y luego la imagen */
    .skills-row.skills-row-mobile-text-first {
        flex-direction: column;
    }

    .skills-row.skills-row-mobile-text-first .skills-media-text {
        order: 1;
    }

    .skills-row.skills-row-mobile-text-first .skills-media-image {
        order: 2;
    }
    
    .accordion-projects {
        gap: 1rem;
    }
    
    .accordion-header {
        padding: 1.5rem 1.2rem;
    }
    
    .accordion-title-wrapper {
        gap: 1rem;
    }
    
    .accordion-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .accordion-title-content h3 {
        font-size: 1.1rem;
    }
    
    .accordion-organization {
        font-size: 0.85rem;
    }
    
    .accordion-toggle {
        width: 35px;
        height: 35px;
    }
    
    .accordion-toggle i {
        font-size: 1rem;
    }
    
    .accordion-content {
        padding: 0 1.2rem 1.5rem 1.2rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .project-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 8px;
    }
    
    .timeline-header {
        flex-direction: column;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 70px 0 16rem 0;
        align-items: flex-start;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .profile-image-container {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .hero-stats-wrapper {
        padding: 1.5rem 0 4rem 0;
    }
    
    .hero-stats {
        gap: 2.5rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        padding: 3.5rem 1.2rem 1.2rem 1.2rem;
    }
    
    .stat-postit {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        top: -18px;
    }
    
    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-card-title {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }
    
    .stat-description {
        font-size: 0.85rem;
    }
    
    .stat-tags {
        gap: 0.4rem;
    }
    
    .tool-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
    
    .accordion-projects {
        gap: 0.8rem;
    }
    
    .accordion-header {
        padding: 1.2rem 1rem;
    }
    
    .accordion-title-wrapper {
        gap: 0.8rem;
    }
    
    .accordion-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .accordion-title-content h3 {
        font-size: 1rem;
    }
    
    .accordion-organization {
        font-size: 0.8rem;
    }
    
    .accordion-toggle {
        width: 32px;
        height: 32px;
    }
    
    .accordion-toggle i {
        font-size: 0.9rem;
    }
    
    .accordion-content {
        padding: 0 1rem 1.2rem 1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .project-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== NOTIFICATION SYSTEM ===== */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    animation: slideInRight 0.4s ease, fadeOut 0.4s ease 4.6s forwards;
}

.notification.success {
    background: #4caf50;
    color: white;
}

.notification.error {
    background: #f44336;
    color: white;
}

.notification.info {
    background: #2196f3;
    color: white;
}

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

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(400px);
    }
}

@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        top: 80px;
    }
}
