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

/* Light Mode (Default) - Verde/Dorado */
:root {
    --bg: #f6f5f3;
    --card: #ffffff;
    --text: #2e2e2e;
    --muted: #6f6f6f;
    --border: #e6e3df;

    --accent: #2e6351;
    --accent-cta: #1f4d3f;
    --accent-warm: #c2a07e;

    --grad-start: #2e6351;
    --grad-end: #c2a07e;

    /* Legacy variables for backward compatibility */
    --primary-color: var(--accent);
    --secondary-color: var(--accent-warm);
    --accent-color: var(--accent-cta);
    --dark-color: #2c2c2c;
    --light-color: var(--bg);
    --text-color: var(--text);
    --border-color: var(--border);
    --gradient-start: var(--grad-start);
    --gradient-end: var(--grad-end);
}

/* Dark Mode */
body.theme-dark {
    --bg: #0f1215;
    --card: #1a1d21;
    --text: #f0f0f0;
    --muted: #c5c5c5;
    --border: #2a2d31;

    --accent: #1fa88e;
    --accent-cta: #0a7b67;
    --accent-warm: #d4a574;

    --grad-start: #1fa88e;
    --grad-end: #d4a574;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ===============================
   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: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-4 {
    animation-delay: 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

.navbar.scrolled {
    background: var(--card);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-short {
    display: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

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

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

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Navbar Controls Container */
.navbar-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

/* Language Toggle Button */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--card);
    border: 2px solid var(--accent);
    border-radius: 50px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
}

.lang-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(46, 99, 81, 0.3);
}

.lang-toggle:active {
    transform: scale(0.95);
}

.lang-option {
    color: var(--muted);
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
}

.lang-option.active {
    color: #ffffff;
    background: var(--accent);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(46, 99, 81, 0.3);
}

.lang-separator {
    color: var(--border);
    font-weight: 300;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 32px;
    background: var(--border);
    border: 2px solid var(--accent);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(46, 99, 81, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: absolute;
}

.theme-icon-light {
    left: 4px;
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

.theme-icon-dark {
    right: 4px;
    opacity: 0;
    transform: translateX(10px) rotate(180deg);
}

/* Dark mode active state */
body.theme-dark .theme-toggle {
    background: var(--accent);
}

body.theme-dark .theme-icon-light {
    opacity: 0;
    transform: translateX(-10px) rotate(-180deg);
}

body.theme-dark .theme-icon-dark {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

/* ===============================
   Hero Section
   =============================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(46, 99, 81, 0.1);
    border: 2px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

body.theme-dark .hero-title {
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 300;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ===============================
   Buttons
   =============================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 165, 0.4);
}

.btn-secondary {
    background: var(--card);
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: 0 4px 15px rgba(46, 99, 81, 0.2);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--card);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 99, 81, 0.4);
}

.btn-icon {
    margin-right: 0.5rem;
}

.hero-contact-info {
    display: flex;
    gap: 2rem;
    margin-bottom: .5rem;
    flex-wrap: wrap;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.hero-contact-item:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.contact-icon-hero {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(46, 99, 81, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--text);
}

/* Hero Image Styles */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.hero-profile-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    display: block;
}

.hero-image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--accent);
    border-radius: 20px;
    z-index: 1;
}

.delay-5 {
    animation-delay: 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-6 {
    animation-delay: 1.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* ===============================
   Section Styling
   =============================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

body.theme-dark .section-header h2 {
    color: var(--text);
}

.section-description {
    color: var(--text);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    margin: 0 auto;
    border-radius: 2px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(212, 165, 165, 0.3);
    transition: all 0.4s ease;
}

.image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 165, 165, 0.4);
}

.profile-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.image-container:hover .profile-photo {
    transform: scale(1.05);
}

.image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid transparent;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 3px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.image-container:hover .image-border {
    opacity: 1;
}


.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

body.theme-dark .about-text h3 {
    color: var(--text);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text);
}

.about-skills {
    background: var(--card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-skills .education-section {
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
}

.skills {
    margin-top: 0;
}

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

.skill-name {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

body.theme-dark .skill-name {
    color: var(--text);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    transition: width 1.5s ease;
}

/* ===============================
   Services Section
   =============================== */
.services {
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--bg) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover:before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 165, 165, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

body.theme-dark .service-card h3 {
    color: var(--text);
}

.service-card p {
    color: var(--text);
    line-height: 1.8;
}

/* ===============================
   Achievements Section
   =============================== */
.achievements {
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--bg) 100%);
    position: relative;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
    border: 1px solid var(--border);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 165, 165, 0.3);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.achievement-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.achievement-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

body.theme-dark .achievement-card h4 {
    color: var(--text);
}

.achievement-card p {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Campaign Metrics */
.campaign-metrics {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--card);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.campaign-metrics h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

body.theme-dark .campaign-metrics h3 {
    color: var(--text);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--card) 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
}

.metric-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(212, 165, 165, 0.2);
}

.metric-flag {
    font-size: 2.5rem;
}

.metric-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-info strong {
    color: var(--dark-color);
    font-size: 1rem;
}

body.theme-dark .metric-info strong {
    color: var(--text);
}

.metric-number {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===============================
   Portfolio Section
   =============================== */
.portfolio {
    background: var(--secondary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-bg {
    width: 100%;
    height: 100%;
}

.portfolio-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-bg-image {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.portfolio-bg-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: brightness(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.95), rgba(74, 74, 74, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio-overlay h3 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.portfolio-overlay h4 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
}

.portfolio-duration {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
    text-align: center;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.6;
}

/* ===============================
   Data Visualization Section
   =============================== */
.data-visualization {
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--bg) 100%);
    position: relative;
    padding: 6rem 0;
}

/* Genially Embed */
.genially-embed-section {
    background: var(--card);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.container-wrapper-genially {
    background: var(--card);
    border-radius: 15px;
    overflow: hidden;
}

.embed-header {
    text-align: center;
    margin-bottom: 2rem;
}

.embed-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

body.theme-dark .embed-header h3 {
    color: var(--text);
}

.embed-header p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
}


.embed-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--secondary-color);
}

.embed-footer .btn {
    margin-bottom: 1rem;
}

.embed-note {
    color: var(--text-color);
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 10px;
}


/* ===============================
   Content Production Section
   =============================== */
.content-production {
    background: var(--secondary-color);
    position: relative;
}

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

.content-card {
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--card) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.content-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 165, 165, 0.1), rgba(200, 149, 149, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(212, 165, 165, 0.2);
}

.content-card:hover:before {
    opacity: 1;
}

.content-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.content-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

body.theme-dark .content-card h4 {
    color: var(--text);
}

.content-card p {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-cta .btn {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* ===============================
   Testimonials Section / Soft Skills
   =============================== */
.testimonials {
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 165, 165, 0.2);
}

.skill-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

body.theme-dark .testimonial-card h4 {
    color: var(--text);
}

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

/* Education Section */
.education-section {
    margin: 0 0 2rem 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.education-section h4 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

body.theme-dark .education-section h4 {
    color: var(--text);
}

.cert-list {
    list-style: none;
    padding: 0;
}

.cert-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
}

.cert-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}


/* ===============================
   Contact Section
   =============================== */
.contact {
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--bg) 100%);
}

.contact-content-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-content-centered h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

body.theme-dark .contact-content-centered h3 {
    color: var(--text);
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--card);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 99, 81, 0.2);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.contact-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--accent);
    margin: 0;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text);
    margin: 0;
    word-break: break-word;
}

.contact-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2.5rem;
}

.location-icon {
    font-size: 1.5rem;
}

.contact-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================
   Footer
   =============================== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.95rem;
}

.footer-links-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
}

.social-icon {
    font-size: 1.2rem;
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-availability {
    color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 1rem !important;
}

/* ===============================
   Responsive Design
   =============================== */
@media screen and (max-width: 768px) {
    .logo-full {
        display: none;
    }

    .logo-short {
        display: inline;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background: var(--card);
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        padding-top: 5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .navbar-controls {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        z-index: 1000;
        gap: 0.5rem;
    }

    .lang-toggle {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .theme-toggle {
        width: 50px;
        height: 28px;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-image-wrapper {
        order: -1;
        margin-top: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-image-container {
        max-width: 250px;
        margin: 0 auto;
    }

    .hero-image-border {
        display: none;
    }

    .hero-profile-photo {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .hero-badge {
        margin-top: 1rem;
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        margin: 1rem 0;
        padding: 0.5rem 0;
    }

    .stat-item {
        flex: 1;
    }

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

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-contact-info {
        flex-direction: column;
        gap: 0;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-contact-item {
        font-size: 0.85rem;
        padding: 0.15rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-note {
        font-size: 0.85rem;
        margin-top: 1.5rem;
        padding: 0.75rem 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .contact-cta-buttons .btn {
        width: 100%;
    }

    .portfolio-item {
        height: auto;
        min-height: 300px;
    }

    .portfolio-overlay {
        opacity: 1;
        position: relative;
        padding: 1.5rem;
    }

    .portfolio-bg {
        display: none;
    }

    .portfolio-overlay h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .portfolio-overlay h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .portfolio-duration {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid,
    .testimonials-grid,
    .achievements-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

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

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

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .contact-content-centered h3 {
        font-size: 1.8rem;
    }

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

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

    .testimonial-card {
        padding: 1.5rem;
    }
}
