* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --accent-color: #81C784;
    --text-dark: #1B5E20;
    --text-light: #666;
    --bg-light: #F1F8E9;
    --bg-white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(76, 175, 80, 0.2);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-green: linear-gradient(135deg, #66BB6A 0%, #4CAF50 50%, #2E7D32 100%);
    --gradient-green-bright: linear-gradient(135deg, #81C784 0%, #66BB6A 50%, #4CAF50 100%);
    --gradient-bg: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 50%, #f1f8e9 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-green-bright);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--gradient-green-bright);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 125, 50, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(129, 199, 132, 0.1) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

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

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

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

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-green);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

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

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.home::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.2) 0%, rgba(76, 175, 80, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    filter: blur(40px);
}

.home::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.18) 0%, rgba(102, 187, 106, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
    filter: blur(40px);
}

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

.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-text {
    animation: fadeInUp 1s ease-out;
}

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

.home-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.highlight {
    display: inline-block;
    color: #4CAF50;
    font-weight: 900;
    font-size: 1.1em;
    text-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    letter-spacing: -0.5px;
    position: relative;
    padding: 0 0.2em;
    background: var(--gradient-green-bright);
    -webkit-background-clip: text;
    background-clip: text;
    color: #4CAF50;
    -webkit-text-fill-color: #4CAF50;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .highlight {
        color: #4CAF50;
        background: none;
        -webkit-text-fill-color: #4CAF50;
    }
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient-green-bright);
    opacity: 0.2;
    border-radius: 4px;
    z-index: -1;
}

.home-subtitle {
    font-size: 1.7rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.4;
    opacity: 0.9;
}

.home-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.home-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-green-bright);
    color: white;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--gradient-green);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.home-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: center;
    animation: fadeInUp 1s ease-out 1s both;
}

.social-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    color: white;
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
    border-color: transparent;
}

.home-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.4s both;
}

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

.image-placeholder {
    width: 450px;
    height: 450px;
    background: var(--gradient-green-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 70px rgba(76, 175, 80, 0.35), 0 0 0 0 rgba(76, 175, 80, 0.4);
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite;
    overflow: hidden;
    padding: 15px;
    position: relative;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 25px 70px rgba(76, 175, 80, 0.35), 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 25px 70px rgba(76, 175, 80, 0.45), 0 0 40px 10px rgba(76, 175, 80, 0.2);
    }
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 5px;
    background: var(--gradient-green);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
    z-index: 10;
    animation: fadeIn 1s ease-out 1.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(-12px);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-green-bright);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-green-bright);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    margin-top: 2rem;
    font-weight: 500;
    opacity: 0.85;
}

/* Skills Section */
.skills {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #f1f8e9 100%);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.3), transparent);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 2.8rem 2.2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(76, 175, 80, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(76, 175, 80, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-green);
    opacity: 0.05;
    transition: left 0.5s ease;
}

.skill-card:hover::before {
    left: 0;
}

.skill-card:hover {
    transform: translateY(-18px) scale(1.05);
    box-shadow: 0 25px 60px rgba(76, 175, 80, 0.25), 0 0 0 1px rgba(76, 175, 80, 0.2);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 1);
}

.skill-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    color: var(--primary-color);
    position: relative;
}

.petri-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.petri-dish {
    width: 3.5rem;
    height: 3.5rem;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
    background: rgba(76, 175, 80, 0.1);
}

.petri-dish::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
}

.petri-dish::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 0.3rem;
    height: 0.3rem;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 
        0.5rem 0.5rem 0 var(--primary-color),
        -0.3rem 0.7rem 0 var(--primary-color),
        0.7rem -0.3rem 0 var(--primary-color);
}

/* Fermenter Icon */
.fermenter-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.fermenter-vessel {
    width: 2rem;
    height: 3rem;
    border: 3px solid var(--primary-color);
    border-radius: 0.5rem 0.5rem 0 0;
    position: relative;
    background: rgba(76, 175, 80, 0.1);
}

.fermenter-vessel::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.2rem;
    height: 0.5rem;
    border: 3px solid var(--primary-color);
    border-bottom: none;
    border-radius: 0.3rem 0.3rem 0 0;
    background: rgba(76, 175, 80, 0.1);
}

.fermenter-vessel::after {
    content: '';
    position: absolute;
    bottom: -0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.8rem;
    height: 0.3rem;
    background: var(--primary-color);
    border-radius: 0 0 0.2rem 0.2rem;
}

/* Autoclave Icon */
.autoclave-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.autoclave {
    width: 2.5rem;
    height: 2.8rem;
    border: 3px solid var(--primary-color);
    border-radius: 0.3rem;
    position: relative;
    background: rgba(76, 175, 80, 0.1);
    position: relative;
}

.autoclave::before {
    content: '';
    position: absolute;
    top: 0.3rem;
    left: 0.2rem;
    width: 0.4rem;
    height: 0.4rem;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: var(--primary-color);
}

.autoclave::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    right: 0.3rem;
    width: 0.3rem;
    height: 0.3rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.1rem;
    background: rgba(76, 175, 80, 0.2);
}

.skill-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

/* Petri plate icon styling */
.skill-card:first-child .skill-icon i.fa-circle {
    font-size: 3.5rem;
    color: var(--primary-color);
    position: relative;
}

.skill-card:first-child .skill-icon i.fa-circle::before {
    content: '\f111';
    display: block;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotate(5deg);
}

.skill-card:hover .skill-icon i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.skill-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Experience Section */
.experience {
    background: linear-gradient(180deg, #f1f8e9 0%, #f8f9fa 50%, #e9ecef 100%);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.3), transparent);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-green);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-green);
    border: 5px solid white;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

.timeline-content {
    width: 48%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 2.8rem;
    border-radius: 24px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(76, 175, 80, 0.1);
}

.timeline-content:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 70px rgba(76, 175, 80, 0.25), 0 0 0 1px rgba(76, 175, 80, 0.2);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 1);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 700;
}

.timeline-content h4 {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

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

.timeline-content li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.7rem;
    color: var(--text-light);
    line-height: 1.8;
}

.timeline-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f1f8e9 50%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    filter: blur(60px);
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    filter: blur(50px);
}

.contact-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(76, 175, 80, 0.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(76, 175, 80, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-green-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(76, 175, 80, 0.25), 0 0 0 1px rgba(76, 175, 80, 0.2);
    border-color: var(--primary-color);
}

.card-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-green-bright);
    border-radius: 50%;
    opacity: 0.15;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.contact-card:hover .card-icon-bg {
    transform: scale(1.1);
    opacity: 0.25;
}

.card-icon-wrapper i {
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.contact-card:hover .card-icon-wrapper i {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-color);
}

.contact-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: rgba(76, 175, 80, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.contact-link:hover {
    background: var(--gradient-green-bright);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    border-color: transparent;
}

.contact-link i {
    transition: transform 0.4s ease;
}

.contact-link:hover i {
    transform: translateX(5px);
}

.email-card {
    animation-delay: 0.1s;
}

.location-card {
    animation-delay: 0.2s;
}

/* Social Connect Section */
.social-connect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 4rem 3rem;
    text-align: center;
    border: 2px solid rgba(76, 175, 80, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.social-connect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.connect-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    background: var(--gradient-green-bright);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.connect-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn i {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
}

.social-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.linkedin-btn {
    color: #0077b5;
    border-color: #0077b5;
}

.linkedin-btn:hover {
    background: #0077b5;
    color: white;
}

.email-btn {
    color: #ea4335;
    border-color: #ea4335;
}

.email-btn:hover {
    background: #ea4335;
    color: white;
}

.facebook-btn {
    color: #1877f2;
    border-color: #1877f2;
}

.facebook-btn:hover {
    background: #1877f2;
    color: white;
}

.instagram-btn {
    color: #e4405f;
    border-color: #e4405f;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

/* Decorative Elements */
.contact-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-green);
    opacity: 0.08;
    animation: float 15s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 8%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 15%;
    animation-delay: 4s;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(76, 175, 80, 0.05);
    border: 2px solid rgba(76, 175, 80, 0.1);
}

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

.form-group input,
.form-group textarea {
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15), 0 4px 15px rgba(76, 175, 80, 0.1);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 1);
}

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

.form-message {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    opacity: 1;
    max-height: 200px;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    opacity: 1;
    max-height: 200px;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0d4f1c 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.footer p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        padding: 6rem 0;
        gap: 2rem;
    }

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

    .home-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .home-title {
        font-size: 2.8rem;
    }

    .home-subtitle {
        font-size: 1.3rem;
    }

    .image-placeholder {
        width: 320px;
        height: 320px;
    }

    .profile-image {
        border-width: 5px;
    }

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

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-dot {
        left: 25px;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px;
    }

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

    .social-connect {
        padding: 3rem 2rem;
    }

    .social-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .social-btn {
        justify-content: center;
    }

    .connect-title {
        font-size: 1.8rem;
    }

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

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

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

    .back-to-top {
        bottom: 30px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .home-title {
        font-size: 2.2rem;
    }

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

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

    .home-social {
        justify-content: center;
        gap: 1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .image-placeholder {
        width: 280px;
        height: 280px;
    }
}
