/* Color Palette */
:root {
    --primary-green: #2C5F4F;
    --primary-yellow: #F4D03F;
    --primary-blue: #2E86AB;
    --light-green: #519872;
    --light-yellow: #F9E79F;
    --light-blue: #5DADE2;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --gray: #7f8c8d;
    --white: #ffffff;
    --bg-color: #ffffff;
    --surface-color: #f8f9fa;
    --text-color: #2c3e50;
}

/* Dark Mode */
body.dark-mode {
    --bg-color: #1a1a1a;
    --surface-color: #2d2d2d;
    --text-color: #ecf0f1;
    --light-bg: #2d2d2d;
    --white: #2d2d2d;
    --text-dark: #ecf0f1;
    --gray: #b0b0b0;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Smooth transitions for dark mode */
.navbar,
.hero,
.about,
.experience,
.skills,
.contact,
.footer,
.timeline-content,
.info-card,
.skill-category,
.badge,
.language-item {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, p, li, span, a {
    transition: color 0.3s ease;
}

body.dark-mode .navbar {
    background: #2d2d2d;
    border-bottom: 1px solid #444;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2C5F4F 100%);
}

body.dark-mode .about,
body.dark-mode .skills {
    background: #1a1a1a;
}

body.dark-mode .experience,
body.dark-mode .contact {
    background: #2d2d2d;
}

body.dark-mode .timeline-content,
body.dark-mode .info-card,
body.dark-mode .skill-category {
    background: #1a1a1a;
    color: var(--text-light);
    border: 1px solid #444;
}

body.dark-mode .info-card {
    background: linear-gradient(135deg, #2C5F4F, #2E86AB);
}

body.dark-mode .footer {
    background: #0d0d0d;
}

body.dark-mode .footer p {
    color: var(--text-light);
}

body.dark-mode .footer-tagline {
    color: var(--gray);
}

body.dark-mode .footer-logo-image {
    background-color: rgba(248, 249, 250, 0.9);
    border-radius: 14px;
    padding: 10px;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode li {
    color: var(--text-light);
}

body.dark-mode .hero-description {
    color: #b0b0b0;
}

body.dark-mode .badge {
    background: linear-gradient(135deg, #2C5F4F, #2E86AB);
}

body.dark-mode .language-item {
    background: #2d2d2d;
    border-color: var(--primary-yellow);
}

body.dark-mode .section-title {
    color: var(--text-light);
}

body.dark-mode .nav-link {
    color: #ffffff;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link:focus {
    color: var(--primary-yellow);
}

body.dark-mode .nav-link::after {
    background: #ffffff;
}

body.dark-mode .timeline-date {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--white);
}

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

body.dark-mode .contact-item p {
    color: var(--text-light);
}

body.dark-mode .contact-item a {
    color: var(--text-light);
}

body.dark-mode .contact-item a:hover {
    color: var(--primary-yellow);
}

body.dark-mode .social-link {
    background: rgba(236, 240, 241, 0.12);
    color: var(--text-light);
}

.floating-action {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease;
}

.floating-action:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.floating-action:focus-visible {
    outline: 3px solid var(--primary-yellow);
    outline-offset: 4px;
}

.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: #ffffff;
    z-index: 1000;
}

.theme-toggle.is-animating i {
    animation: themeToggleSpin 0.6s ease forwards;
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: var(--primary-yellow);
    color: var(--primary-green);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
}

.back-to-top i {
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(244, 208, 63, 0.18), rgba(44, 95, 79, 0.28));
    opacity: 0;
    transform: scale(1);
    z-index: 1050;
}

body.theme-transition::after {
    animation: themeDissolve 0.65s ease-in-out forwards;
}

@keyframes themeToggleSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.25);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes themeDissolve {
    0% {
        opacity: 0;
        filter: blur(0px);
        transform: scale(1);
    }
    35% {
        opacity: 0.45;
        filter: blur(0px);
        transform: scale(1.02);
    }
    100% {
        opacity: 0;
        filter: blur(18px);
        transform: scale(1.08);
    }
}

@media (max-width: 768px) {
    .floating-action {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .theme-toggle {
        bottom: 24px;
        right: 24px;
    }

    .back-to-top {
        bottom: 90px;
        right: 24px;
    }
}

@media (max-width: 480px) {
    .floating-action {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .theme-toggle {
        bottom: 18px;
        right: 18px;
    }

    .back-to-top {
        bottom: 75px;
        right: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-action {
        transition: none;
    }

    .theme-toggle.is-animating i {
        animation: none;
    }

    body.theme-transition::after {
        animation: none;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--primary-green);
}

.navbar.scrolled .nav-link {
    color: #ffffff;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link:focus {
    color: var(--primary-yellow);
}

.navbar.scrolled .nav-link::after {
    background: var(--primary-yellow);
}

.navbar.scrolled .logo {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.navbar.scrolled .logo:hover {
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

body.dark-mode .navbar.scrolled .logo {
    background-color: rgba(248, 249, 250, 0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

body.dark-mode .navbar.scrolled .logo:hover {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    
    background-color: white;
    padding: 8px 16px;
    border-radius: 12px;
   
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(44, 95, 79, 0.15);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(44, 95, 79, 0.2);
}

.logo-image {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

body.dark-mode .logo {
    background: rgba(44, 95, 79, 0.2);
    border-color: var(--primary-green);
}

body.dark-mode .logo:hover {
    background: rgba(44, 95, 79, 0.3);
    border-color: var(--primary-blue);
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-blue));
    transition: width 0.3s ease;
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span,
body.dark-mode .hamburger span {
    background: #ffffff;
}

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

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

.hero-text {
    margin-top: 1.5rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 134, 171, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 134, 171, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--gray);
    border: 1px solid var(--gray);
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: var(--light-bg);
    color: var(--text-dark);
}

/* Resume Download Section */
.resume-download-section h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Fade in animation for overlays */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--primary-yellow);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

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

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

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

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s backwards;
}

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

/* Section Common Styles */
section {
    padding: 80px 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-green), var(--primary-blue));
    border-radius: 2px;
}

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

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

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

.info-card {
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--white);
}

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

.info-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-card .small {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Experience Section */
.experience {
    background: var(--light-bg);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-yellow), var(--primary-green), var(--primary-blue));
}

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

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-yellow);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-green);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--light-yellow));
    color: var(--text-dark);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.company-title h3,
.company-title h4 {
    margin: 0;
}

.company-title h4 {
    margin-top: 0.4rem;
}

body.dark-mode .company-logo {
    background: rgba(15, 15, 15, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.achievements {
    margin: 1.5rem 0;
}

.achievements h5 {
    color: var(--primary-green);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.achievements ul {
    margin-left: 1.5rem;
    color: var(--text-dark);
}

.achievements li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag {
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
}

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

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

.skill-category {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.skill-category h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skill-category h3 i {
    margin-right: 10px;
    color: var(--primary-blue);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.skill-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-green), var(--primary-blue));
    border-radius: 5px;
    transition: width 1s ease;
}

.tech-badges {
    margin-top: 3rem;
    text-align: center;
}

.tech-badges h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.badge {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: scale(1.1);
}

.languages-section {
    margin-top: 3rem;
    text-align: center;
}

.languages-section h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.languages {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 15px 30px;
    background: var(--light-bg);
    border-radius: 50px;
    border: 2px solid var(--primary-yellow);
}

.language-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.lang-name {
    font-weight: 600;
    color: var(--text-dark);
}

.lang-level {
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--light-yellow));
    color: var(--text-dark);
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

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

.contact .section-title::after {
    background: var(--primary-yellow);
}

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

.contact-content-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info-full {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.contact-info h3,
.contact-info-full h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p,
.contact-info-full p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-items {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-top: 5px;
}

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

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-logo-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-tagline {
    margin-top: 0.5rem;
    color: var(--gray);
    font-style: italic;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        z-index: 1001;
    }

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

    .navbar.scrolled .nav-menu {
        background: var(--primary-green);
    }

    .navbar.scrolled .nav-menu .nav-link {
        color: #ffffff;
    }

    .navbar.scrolled .nav-menu .nav-link:hover,
    .navbar.scrolled .nav-menu .nav-link:focus {
        color: var(--primary-yellow);
    }

    .navbar.scrolled .nav-menu .nav-link::after {
        background: var(--primary-yellow);
    }

    body.dark-mode .navbar.scrolled .nav-menu {
        background: #111;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

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

    .profile-circle {
        width: 300px;
        height: 300px;
        animation: none;
        transform: none;
        margin: 0 auto;
    }

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

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

    .timeline-marker {
        left: 0;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .company-logo {
        width: 56px;
        height: 56px;
        padding: 8px;
    }

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

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

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

    .profile-circle {
        width: 250px;
        height: 250px;
        animation: none;
        transform: none;
        margin: 0 auto;
    }

    .company-header {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .company-logo {
        width: 48px;
        height: 48px;
        padding: 6px;
    }
}
