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

body {
    font-family: 'Inter', sans-serif;
    position: relative;
    min-height: 100vh;
    color: #016B61;
    overflow-x: hidden;
    background: linear-gradient(135deg, 
        #ffffff 0%,
        #f0f9ff 30%,
        #dbeafe 50%,
        #fef9c3 80%,
        #fef3c7 100%);
    background-size: 400% 400%;
    animation: gradientWave 15s ease infinite;
}

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

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 1rem;
    z-index: 50;
    padding: 0 2rem;
    margin-bottom: 2rem;
    background: transparent;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    gap: 1.25rem;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: none;
}

/* Brand Styles */
.navbar-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    background: rgba(158,207,212,0.25);
    border: 1px solid rgba(1,107,97,0.20);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.40), 0 4px 12px rgba(1,107,97,0.10);
    transition: all 0.18s ease;
}

.brand-wrapper:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.45), 0 8px 20px rgba(1,107,97,0.18);
}

.brand-icon {
    width: 24px;
    height: 24px;
    color: #016B61;
    stroke-width: 2;
    margin-right: 8px;
}

.brand-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #016B61;
}

/* Center Navigation */
.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    background: rgba(158,207,212,0.25);
    border: 1px solid rgba(1,107,97,0.20);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.40), 0 4px 12px rgba(1,107,97,0.10);
    transition: all 0.18s ease;
}

.nav-links-wrapper:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.45), 0 8px 20px rgba(1,107,97,0.18);
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #016B61;
    text-decoration: none;
    transition: all 0.18s ease;
    position: relative;
}

.nav-link:hover {
    color: #70B2B2;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #016B61;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #016B61;
    border-radius: 1px;
}

/* Right Buttons */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    transition: all 0.18s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-soft {
    background: rgba(112,178,178,0.30);
    border: 1px solid rgba(1,107,97,0.20);
    color: #016B61;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.40), 0 2px 8px rgba(1,107,97,0.08);
}

.btn-soft:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.45), 0 6px 16px rgba(1,107,97,0.15);
}

.btn-filled {
    background: linear-gradient(135deg, #016B61 0%, #014D45 100%);
    color: #FFFFFF;
    border: 1px solid rgba(1,107,97,0.20);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.20), 0 8px 24px rgba(1,107,97,0.25);
}

.btn-filled:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.25), 0 12px 34px rgba(1,107,97,0.35);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(158, 207, 212, 0.2);
}

.menu-icon {
    width: 24px;
    height: 24px;
    color: #016B61;
}

.mobile-menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    left: 2rem;
    right: 2rem;
    background: rgba(158,207,212,0.25);
    border: 1px solid rgba(1,107,97,0.20);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-radius: 16px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.40), 0 20px 60px rgba(1,107,97,0.15);
    padding: 1.5rem;
    z-index: 51;
}

.mobile-menu-panel.open {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #016B61;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.18s ease;
}

.mobile-nav-link:hover {
    background: rgba(158,207,212,0.20);
    color: #70B2B2;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-buttons .btn {
    justify-content: center;
    padding: 0.75rem 1.5rem;
}

/* Main Content */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

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

.hero-content {
    background: rgba(229, 233, 197, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(1, 107, 97, 0.1);
    border-radius: 32px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 60px rgba(1, 107, 97, 0.08);
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #016B61;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #70B2B2;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    font-size: 16px;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sections */
.section {
    padding: 6rem 0;
    text-align: center;
}

.section-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(229, 233, 197, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(1, 107, 97, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(1, 107, 97, 0.06);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #016B61;
    margin-bottom: 1.5rem;
}

.section-content {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    color: #70B2B2;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About More Button */
.about-more-btn {
    margin-top: 1rem;
    font-size: 14px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Experience More Button */
.experience-more-btn {
    margin-top: 1rem;
    font-size: 14px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .navbar-container {
        padding: 0.75rem 1.5rem;
    }

    .navbar-center,
    .navbar-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content {
        padding: 3rem 2rem;
    }

    .section-container {
        padding: 2rem 1.5rem;
    }

    .main-content {
        padding: 0 1rem;
    }

    .mobile-menu-panel {
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.5rem 1rem;
        gap: 1rem;
    }

    .brand-wrapper {
        padding: 0.25rem 0.75rem;
        gap: 0.25rem;
    }

    .brand-text {
        font-size: 16px;
    }

    .brand-icon {
        width: 20px;
        height: 20px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.mobile-nav-link:focus {
    outline: 2px solid #70B2B2;
    outline-offset: 2px;
}

/* Additional animations */
/* Navbar container has no background effects */

.section-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(1, 107, 97, 0.1);
}

/* Footer Styles */
.footer {
    margin-top: 6rem;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-content {
    background: rgba(158,207,212,0.25);
    border: 1px solid rgba(1,107,97,0.20);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.40), 0 20px 60px rgba(1,107,97,0.08);
    border-radius: 32px;
    padding: 3rem;
    transition: all 0.3s ease;
}

.footer-content:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.45), 0 30px 80px rgba(1,107,97,0.12);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(1,107,97,0.15);
}

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

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

.footer-brand-icon {
    width: 28px;
    height: 28px;
    color: #016B61;
}

.footer-brand-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #016B61;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #70B2B2;
    max-width: 300px;
    line-height: 1.5;
}

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

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

.footer-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #016B61;
    margin-bottom: 0.5rem;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #70B2B2;
    text-decoration: none;
    transition: all 0.18s ease;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: #016B61;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 1rem;
}

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

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #70B2B2;
}

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

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(112,178,178,0.20);
    border: 1px solid rgba(1,107,97,0.15);
    transition: all 0.18s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background: rgba(158,207,212,0.30);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1,107,97,0.15);
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    color: #016B61;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-content {
        padding: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 2rem;
    }

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

    .footer-brand {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        min-width: 120px;
    }

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

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(1,107,97,0.20);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.40), 0 20px 60px rgba(1,107,97,0.15);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(1,107,97,0.15);
}

.modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.75rem;
    color: #014D45;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(158,207,212,0.3);
}

.modal-close i {
    width: 24px;
    height: 24px;
    color: #014D45;
}

.modal-body {
    padding: 2rem;
}

/* Timeline Styles */
.experience-timeline {
    position: relative;
    margin-bottom: 3rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #016B61, #70B2B2);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 4rem;
}

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #016B61;
    border-radius: 50%;
    border: 3px solid rgba(158,207,212,0.5);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.8);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(1,107,97,0.20);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.18s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1,107,97,0.12);
}

.timeline-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #014D45;
    margin: 0 0 0.5rem 0;
}

.timeline-organization {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #016B61;
    margin: 0 0 0.25rem 0;
}

.timeline-period {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #70B2B2;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.timeline-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: #2c2c2c;
    line-height: 1.6;
    margin: 0;
}

.timeline-description ul {
    margin: 0;
    padding-left: 1.5rem;
}

.timeline-description li {
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills-section {
    margin-top: 0;
    padding-top: 0;
}

.skills-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #014D45;
    margin: 0 0 1.5rem 0;
}

.skills-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #014D45;
    margin: 2rem 0 1rem 0;
}

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

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(1,107,97,0.20);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.18s ease;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.skill-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #014D45;
}

.skill-level {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #ffffff;
    background: #016B61;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
}

.professional-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.prof-skill {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #014D45;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(1,107,97,0.20);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.18s ease;
}

.prof-skill:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    .timeline-marker {
        left: 8px;
    }

    .experience-timeline::before {
        left: 16px;
    }

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

    .modal-title {
        font-size: 1.5rem;
    }
}