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

:root {
    --primary: #49A078;
    --primary-dark: #3e8865;
    --primary-light: #DFF3EA;
    --accent: #facc15;
    --accent-dark: #eab308;
    --blue: #2563EB;
    --blue-dark: #1e40af;
    --dark: #1E1B2E;
    --dark-light: #2D3748;
    --light: #F8FAFC;
    --text-dark: #1E1B2E;
    --text-mid: #334155;
    --text-light: #64748B;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Section scroll padding fix */
section {
    scroll-margin-top: 100px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    position: relative;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-badge {
    position: absolute;
    top: -8px;
    right: -40px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.4);
}

/* Marquee Styles */
.marquee-container {
    flex: 1;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0 2rem;
    backdrop-filter: none;
    border: none;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    margin-right: 3rem;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex-shrink: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.nav-badge {
    display: inline-block;
    margin-left: 5px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.4);
    vertical-align: top;
}

.nav-menu-big {
    display: none;
    list-style: none;
    position: absolute;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    width: auto;
    min-width: 200px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    gap: 0;
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
}

.nav-menu-big.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu-big li {
    margin: 0.5rem 0;
    position: relative;
}

.nav-menu-big .nav-link {
    padding: 0.5rem 2rem;
    display: block;
}

@media (min-width: 769px) {
    .nav-menu li:nth-last-child(-n+2) {
        display: none;
    }
}

/* Updated Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--white);
    margin: 2px 0;
    transition: var(--transition);
    border-radius: 1px;
}

/* Hero Section */
.hero {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.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 1000 1000" opacity="0.03"><polygon fill="%2349A078" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(250, 204, 21, 0.15);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(250, 204, 21, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.name-animation {
    background: linear-gradient(45deg, var(--accent), #ff6b6b, #48dbfb, var(--primary));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nameGradient 8s ease infinite;
}

@keyframes nameGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.stat {
    text-align: center;
    animation: statBounce 2s ease-in-out infinite;
}

.stat:nth-child(1) { animation-delay: 0s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.4s; }

@keyframes statBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: static;
    align-self: start;
}

.profile-image-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--accent);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Story Section */
.story-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    color: var(--white);
    position: relative;
}

.story-section::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 1000 1000" opacity="0.03"><path fill="%23facc15" d="M500,1000 C776.14,1000 1000,776.14 1000,500 C1000,223.86 776.14,0 500,0 C223.86,0 0,223.86 0,500 C0,776.14 223.86,1000 500,1000 Z"/></svg>');
    background-size: cover;
}

.story-section .section-title,
.story-section .section-subtitle {
    color: var(--white);
}

.story-timeline {
    max-width: 100%;
    margin: 0 auto 2.5rem;
    position: relative;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

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

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(73, 160, 120, 0.2), rgba(255, 255, 255, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-year {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

.timeline-title {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
    margin-left: 1.5rem;
}

.timeline-toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
}

.timeline-toggle:hover {
    background: var(--primary-light);
    transform: rotate(180deg);
}

.timeline-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-content.active {
    padding: 2rem;
    max-height: 1000px;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.story-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--white);
    border-left: 5px solid var(--accent);
    padding-left: 2rem;
    margin: 0;
    line-height: 1.6;
}

/* Skills Section */
.skills-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
}

.skills-section .section-title,
.skills-section .section-subtitle {
    color: var(--white);
}

/* Skills Grid Layout - Equal Height Cards */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

/* Medium screens - 2 columns */
@media (min-width: 769px) {
    .nav-menu li:nth-last-child(-n+2) {
        display: none;
    }

    .nav-menu.active {
        display: none;
    }

    .nav-menu.active ~ .nav-menu-big {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
}

/* Skill Category Base Styles */
.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(73, 160, 120, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

/* Skill Header with Small Profile Image */
.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--accent);
    position: relative;
}

/* Profile Image inside the small icon */
.skill-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.skill-icon:hover .skill-icon-img {
    transform: scale(1.1);
}

.skill-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Skill List Styles */
.skill-list {
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skill-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(73, 160, 120, 0.3);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

.skill-list li:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li::before {
    content: '▸';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
}

.skill-list li:hover::before {
    color: var(--accent);
    transform: scale(1.2);
}

/* Projects Section */
.projects-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
}

.projects-section .section-title,
.projects-section .section-subtitle {
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-thumbnail {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.projects-cta {
    margin-top: 3rem;
}

.cta-background {
    background: linear-gradient(135deg, rgba(73, 160, 120, 0.9) 0%, rgba(62, 136, 101, 0.9) 100%);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-background::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 1000 1000" opacity="0.1"><path fill="%23ffffff" d="M500,1000 C776.14,1000 1000,776.14 1000,500 C1000,223.86 776.14,0 500,0 C223.86,0 0,223.86 0,500 C0,776.14 223.86,1000 500,1000 Z"/></svg>');
    background-size: cover;
}

.cta-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0.1;
}

.cta-icon {
    font-size: 3rem;
    color: var(--white);
    animation: float 3s ease-in-out infinite;
}

.cta-icon:nth-child(1) { animation-delay: 0s; }
.cta-icon:nth-child(2) { animation-delay: 1s; }
.cta-icon:nth-child(3) { animation-delay: 2s; }

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content p {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 500;
}

/* Experience Section */
.experience-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.experience-section .section-title,
.experience-section .section-subtitle {
    color: var(--white);
}

.experience-timeline {
    max-width: 1200px;
    margin: 0 auto;
}

.exp-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.exp-period-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(73, 160, 120, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg);
    border: 2px solid rgba(73, 160, 120, 0.5);
}

.exp-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.exp-duration {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
}

.exp-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.exp-company {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.company-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.explore-badge {
    background: var(--accent);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.company-link:hover .explore-badge {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(250, 204, 21, 0.4);
}

.exp-summary {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.exp-toggle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.exp-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.exp-responsibilities {
    list-style: none;
    display: none;
}

.exp-responsibilities.active {
    display: block;
}

.exp-responsibilities li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.exp-responsibilities li::before {
    content: '▸';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    color: var(--white);
    position: relative;
}

.contact-section::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 1000 1000" opacity="0.03"><path fill="%23facc15" d="M500,1000 L250,750 L0,500 L250,250 L500,0 L750,250 L1000,500 L750,750 Z"/></svg>');
    background-size: cover;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
}

.contact-details h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Enhanced Social Links Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 80px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.social-link span {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Social Link Colors */
.social-link.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.social-link.email { background: linear-gradient(135deg, #EA4335, #D14836); }
.social-link.instagram { background: linear-gradient(135deg, #E4405F, #C13584); }
.social-link.facebook { background: linear-gradient(135deg, #1877F2, #166FE5); }
.social-link.dericbi { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.social-link.linkedin { background: linear-gradient(135deg, #0A66C2, #004182); }

.social-link .bi-text {
    color: var(--accent);
    font-weight: bold;
}

/* Tooltip for Social Links */
.social-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.social-link:hover::after {
    opacity: 1;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(73, 160, 120, 0.3);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(73, 160, 120, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 2rem 0 1rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

/* CV download badge styling */
.cv-download {
    background: linear-gradient(135deg, rgba(250,204,21,1) 0%, rgba(245,166,35,1) 100%);
    color: var(--dark);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(250,204,21,0.18), 0 2px 6px rgba(0,0,0,0.12);
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
}

.cv-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(250,204,21,0.22), 0 4px 10px rgba(0,0,0,0.14);
    color: var(--dark);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.animated-footer-text {
    color: var(--white);
    font-size: 1rem;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

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

.bi-accent {
    color: var(--accent);
    font-weight: bold;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Promotion Modal */
.promotion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.promotion-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-header h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--text-mid);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .marquee-container {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .profile-image-container {
        width: 350px;
        height: 350px;
    }
    
    .exp-item {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .profile-image-container {
        width: 320px;
        height: 320px;
    }
    
    .hero-visual {
        position: static;
        order: -1;
    }

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

    .exp-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exp-period-card {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        padding: 1.5rem;
    }
    
    .exp-image {
        width: 80px;
        height: 80px;
    }
}

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

    .nav-menu {
        position: absolute;
        right: 0;
        top: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        width: auto;
        min-width: 200px;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 1rem 0;
        gap: 0;
        border-radius: var(--radius-md);
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

.nav-menu li {
    position: relative;
}    .nav-link {
        padding: 0.5rem 2rem;
        display: block;
    }

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

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

    .timeline-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .timeline-title {
        margin-left: 0;
    }

    .exp-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .exp-period-card {
        flex-direction: column;
        text-align: center;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .social-link {
        padding: 0.75rem;
        min-height: 70px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .social-link span {
        font-size: 0.7rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .profile-image-container {
        width: 280px;
        height: 280px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 80px 0 30px;
    }

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

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

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

    .profile-image-container {
        width: 250px;
        height: 250px;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
    
    .timeline-header {
        padding: 1rem;
    }
    
    .timeline-content {
        padding: 0 1rem;
    }
    
    .timeline-content.active {
        padding: 1rem;
    }
    
    .exp-period-card {
        padding: 1rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}