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

:root {
    /* Emerald & Gold Palette (inspired by neethuprofile) */
    --primary-color: #2d9a72;
    --primary-dark: #1f7a5c;
    --primary-light: #5ec4a0;
    --accent-color: #c4a265;
    --accent-dark: #9a7848;
    --accent-light: #e4d5b5;
    --secondary-color: #5a7a6e;
    --text-dark: #0f2922;
    --text-medium: #1e3b32;
    --text-light: #3f5f54;
    --bg-light: #f4f9f6;
    --bg-white: #ffffff;
    --bg-gradient-start: #1a5243;
    --bg-gradient-mid: #2d9a72;
    --bg-gradient-end: #7ec4a8;
    --border-color: #dceee6;
    --emerald-50: #eef8f3;
    --emerald-100: #d4ede4;
    --panel-luxury: linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 248, 243, 0.86) 52%, rgba(255, 255, 255, 0.88) 100%);
    --section-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.7) 100%);
    --section-surface-alt: linear-gradient(180deg, rgba(244, 249, 246, 0.78) 0%, rgba(255, 255, 255, 0.72) 100%);
    --shadow-sm: 0 1px 3px rgba(15, 41, 34, 0.08), 0 1px 2px rgba(15, 41, 34, 0.04);
    --shadow-md: 0 4px 14px rgba(15, 41, 34, 0.08), 0 2px 6px rgba(15, 41, 34, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 41, 34, 0.10), 0 4px 12px rgba(15, 41, 34, 0.05);
    --shadow-xl: 0 24px 48px rgba(15, 41, 34, 0.14);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --header-h: 56px;
}

html {
    scroll-behavior: smooth;
    font-size: 110%;
}

body {
    font-family: var(--body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 15px;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background.png');
    background-size: min(520px, 48vw) auto;
    background-position: center 12%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.62;
    z-index: -2;
    pointer-events: none;
    filter: saturate(1.05);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(244, 249, 246, 0.34) 0%, rgba(255, 255, 255, 0.44) 100%),
        radial-gradient(ellipse 65% 50% at 50% 35%, rgba(255, 255, 255, 0.06), transparent 72%);
    z-index: -1;
    pointer-events: none;
}

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

/* Display typography (headings) */
.hero-title,
.hero-subtitle,
.section-title,
.section-intro,
.lead-text,
.core-strengths h3,
.timeline-content h3,
.timeline-content h4,
.skill-category h3,
.project-card h3,
.education-header h3,
.cert-header h3,
.award-content h3,
.professional-memberships h3,
.publications-category-title,
.publication-item h4,
.press-item h4,
.contact-item h3,
.modal-header h2,
.success-message h3,
.stat-number,
.nav-brand a .brand-name {
    font-family: var(--display);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px) saturate(1.1);
    box-shadow: 0 2px 16px rgba(15, 41, 34, 0.05);
    border-bottom: 1px solid rgba(196, 162, 101, 0.18);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(15, 41, 34, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color) 25%, var(--accent-color) 50%, var(--primary-color) 75%, transparent);
    opacity: 0.45;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 0.75rem;
    min-width: 0;
    min-height: var(--header-h);
}

.nav-brand a {
    font-size: 1.0625rem;
    font-weight: 500;
    font-family: var(--display);
    letter-spacing: 0.015em;
    background: linear-gradient(135deg, var(--text-dark) 30%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-brand {
    flex-shrink: 0;
    min-width: 0;
}

.brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.nav-brand a:hover {
    opacity: 0.85;
}

.nav-logo {
    height: 34px;
    width: auto;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-brand a:hover .nav-logo {
    transform: scale(1.04);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    transition: var(--transition);
    position: relative;
    padding: 0.35rem 0.5rem;
    white-space: nowrap;
    border-radius: 6px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.15rem;
    left: 0.5rem;
    right: 0.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.25s ease;
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: rgba(238, 248, 243, 0.65);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link--cta {
    color: var(--primary-dark);
    background: rgba(238, 248, 243, 0.85);
    border: 1px solid rgba(45, 154, 114, 0.18);
    margin-left: 0.25rem;
    padding: 0.35rem 0.65rem;
}

.nav-link--cta:hover,
.nav-link--cta.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.nav-link--cta::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.35rem;
    color: var(--text-medium);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.search-toggle svg {
    width: 17px;
    height: 17px;
}

.search-toggle:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 400px;
    max-width: 500px;
    z-index: 2001;
    border: 1px solid var(--border-color);
}

.search-box.active {
    display: flex;
}

.search-box-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    background: transparent;
}

#search-input::placeholder {
    color: var(--text-light);
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--text-dark);
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Search Results - Now inside search box */
.search-results-container {
    display: none;
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.search-results-container.active {
    display: block;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.search-results-header h3 {
    font-size: 0.875rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.search-results-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 4px;
}

.search-results-close:hover {
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.search-results-body {
    padding: 0;
}

.search-placeholder {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 2rem 0;
}

.search-result-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-light);
}

.search-result-item:hover {
    border-color: var(--primary-light);
    background: white;
    box-shadow: var(--shadow-sm);
}

.search-result-item:last-child {
    margin-bottom: 0;
}

.search-result-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.375rem;
}

.search-result-snippet {
    font-size: 0.8125rem;
    color: var(--text-medium);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-snippet mark {
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.2), rgba(196, 162, 101, 0.2));
    color: var(--text-dark);
    font-weight: 600;
    padding: 0 2px;
    border-radius: 3px;
}

.search-no-results {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.search-no-results strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: calc(var(--header-h) + 2.5rem) 0 7.5rem;
    min-height: min(88vh, 720px);
    background: linear-gradient(135deg, #1a5243 0%, #2d9a72 42%, #7ec4a8 78%, #9a7848 100%);
    background-size: 220% 220%;
    animation: gradientShift 20s ease infinite;
    color: white;
    margin-top: 0;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: orbFloat 14s ease-in-out infinite;
}

.hero-orb--1 {
    width: 360px;
    height: 360px;
    top: -80px;
    left: -80px;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.45), transparent 70%);
}

.hero-orb--2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: -40px;
    background: radial-gradient(circle, rgba(126, 196, 168, 0.45), transparent 70%);
    animation-delay: -4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(14px, -18px) scale(1.05); }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 41, 34, 0.72) 0%, rgba(26, 82, 67, 0.52) 45%, rgba(45, 154, 114, 0.38) 100%),
        radial-gradient(ellipse 80% 60% at 15% 50%, rgba(196, 162, 101, 0.1), transparent 55%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 48px;
    display: block;
}

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

/* Hero Animation */
.hero-animation {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px;
    overflow: visible;
    z-index: 3;
    pointer-events: none;
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: waveMove 6s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes waveMove {
    0% {
        transform: translateX(0) scaleY(1) scaleX(1);
    }
    50% {
        transform: translateX(-30px) scaleY(1.15) scaleX(1.05);
    }
    100% {
        transform: translateX(0) scaleY(1) scaleX(1);
    }
}

.floating-tech-skills {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.tech-skill {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: techFloat 12s ease-in-out infinite;
    opacity: 0.85;
}

.tech-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(45, 154, 114, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-family: 'Inter', 'Courier New', monospace;
    display: inline-block;
    min-width: fit-content;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tech-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(45, 154, 114, 0.4);
}

.skill-1 {
    left: 5%;
    bottom: 30px;
    animation-delay: 0s;
}

.skill-1 .tech-badge {
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.2), rgba(196, 162, 101, 0.2));
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.skill-2 {
    left: 20%;
    bottom: 50px;
    animation-delay: 1.5s;
}

.skill-2 .tech-badge {
    background: linear-gradient(135deg, rgba(196, 162, 101, 0.2), rgba(45, 154, 114, 0.2));
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.skill-3 {
    left: 35%;
    bottom: 20px;
    animation-delay: 3s;
}

.skill-3 .tech-badge {
    font-size: 1.25rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: var(--primary-color);
    font-weight: 700;
}

.skill-4 {
    left: 50%;
    bottom: 45px;
    animation-delay: 0.5s;
}

.skill-4 .tech-badge {
    font-size: 1.25rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: var(--accent-color);
    font-weight: 700;
}

.skill-5 {
    left: 65%;
    bottom: 25px;
    animation-delay: 2s;
}

.skill-5 .tech-badge {
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.2), rgba(196, 162, 101, 0.2));
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.skill-6 {
    left: 80%;
    bottom: 55px;
    animation-delay: 4s;
}

.skill-6 .tech-badge {
    background: linear-gradient(135deg, rgba(196, 162, 101, 0.2), rgba(45, 154, 114, 0.2));
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.skill-7 {
    left: 12%;
    bottom: 70px;
    animation-delay: 2.5s;
}

.skill-7 .tech-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: var(--primary-color);
}

.skill-8 {
    left: 75%;
    bottom: 15px;
    animation-delay: 1s;
}

.skill-8 .tech-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: var(--accent-color);
}

@keyframes techFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-40px) translateX(30px) rotate(5deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) translateX(-20px) rotate(-5deg);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-50px) translateX(25px) rotate(3deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.7;
    }
}

/* Tech Particles Animation */
.tech-particles {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 15%;
    bottom: 20px;
    animation-delay: 0s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(2) {
    left: 25%;
    bottom: 40px;
    animation-delay: 1s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(3) {
    left: 40%;
    bottom: 15px;
    animation-delay: 2s;
    width: 7px;
    height: 7px;
}

.particle:nth-child(4) {
    left: 55%;
    bottom: 35px;
    animation-delay: 0.5s;
    width: 9px;
    height: 9px;
}

.particle:nth-child(5) {
    left: 70%;
    bottom: 25px;
    animation-delay: 1.5s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(6) {
    left: 85%;
    bottom: 45px;
    animation-delay: 2.5s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(7) {
    left: 35%;
    bottom: 10px;
    animation-delay: 3s;
    width: 7px;
    height: 7px;
}

.particle:nth-child(8) {
    left: 60%;
    bottom: 50px;
    animation-delay: 1.2s;
    width: 9px;
    height: 9px;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-60px) translateX(30px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-50px) translateX(-20px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-70px) translateX(25px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 620px;
}

.hero-image {
    text-align: center;
    position: relative;
}

.portrait-luxury {
    position: relative;
    display: inline-block;
    width: min(280px, 100%);
    margin: 0 auto;
}

.portrait-glow {
    position: absolute;
    inset: -20px -12px 16px;
    background:
        radial-gradient(circle at 50% 38%, rgba(196, 162, 101, 0.32), transparent 62%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
    animation: portraitGlowPulse 5s ease-in-out infinite;
}

.portrait-deco {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(196, 162, 101, 0.35);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.portrait-deco--1 {
    width: 115%;
    height: 115%;
    animation: portraitRingPulse 6s ease-in-out infinite;
}

.portrait-deco--2 {
    width: 130%;
    height: 130%;
    border-style: dashed;
    opacity: 0.35;
    animation: portraitRingPulse 6s ease-in-out infinite reverse;
}

.portrait-ring {
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(228, 213, 181, 0.4);
    border-radius: 12px;
    pointer-events: none;
    animation: portraitRingSpin 14s linear infinite;
}

@keyframes portraitGlowPulse {
    0%, 100% {
        opacity: 0.85;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

@keyframes portraitRingPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.55;
    }
}

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

.portrait-frame {
    position: relative;
    z-index: 1;
    padding: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
    border: 2px solid rgba(196, 162, 101, 0.75);
    border-radius: 8px;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.42),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 0 6px rgba(196, 162, 101, 0.14);
    transition: var(--transition);
}

.portrait-luxury:hover .portrait-frame {
    transform: translateY(-4px);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 0 6px rgba(196, 162, 101, 0.2);
}

.profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 3px;
    object-fit: cover;
    object-position: center center;
    border: none;
    box-shadow: none;
    transition: var(--transition);
    display: block;
    margin: 0;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
}

.profile-photo:hover {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .portrait-glow,
    .portrait-deco,
    .portrait-ring {
        animation: none;
    }
}

.hero-title {
    font-size: clamp(1.25rem, 2.6vw, 2.125rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 0.875rem;
    line-height: 1.15;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.3125rem 0.75rem;
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.eyebrow-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 6px rgba(228, 213, 181, 0.8);
    flex-shrink: 0;
}

.hero-divider {
    width: 56px;
    height: 2px;
    margin: 0 0 1rem;
    background: linear-gradient(90deg, var(--accent-light), rgba(255, 255, 255, 0.35));
    border-radius: 2px;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent-light) 0%, #fff5e0 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-name-full {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--display);
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.875rem;
    opacity: 0.94;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

.hero-description {
    font-family: var(--display);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
    line-height: 1.65;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    max-width: 540px;
}

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

.hero-tags span {
    padding: 0.3125rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.typing-animation-container {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    min-height: 1.8rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.typing-prefix {
    color: rgba(255, 255, 255, 0.95);
    margin-right: 0.5rem;
}

.typing-text {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(228, 213, 181, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 200px;
    display: inline-block;
}

.typing-cursor {
    color: rgba(255, 255, 255, 1);
    font-weight: 300;
    animation: blink 1s infinite;
    margin-left: 2px;
    font-size: 1.25rem;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, white, #f8fffb);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(196, 162, 101, 0.55);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-download {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
}

.btn-download:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-download svg {
    display: inline-block;
    margin-right: 0.5rem;
}

.btn-download {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
}

.btn-download:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-download svg {
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero .social-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    opacity: 0.9;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.hero .social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.contact-content .social-links a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.contact-content .social-links a:hover {
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 64px 0;
    position: relative;
    background: var(--section-surface);
    border-top: 1px solid rgba(196, 162, 101, 0.12);
}

.section-alt {
    background: var(--section-surface-alt);
}

.section-title {
    font-size: clamp(1.875rem, 3.2vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    display: block;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.75rem;
}

.section-header .section-title {
    margin-bottom: 0.75rem;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 1px 8px rgba(196, 162, 101, 0.25);
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 248, 243, 0.88));
    border: 1px solid rgba(196, 162, 101, 0.28);
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(196, 162, 101, 0.12);
}

.section-subtitle {
    font-family: var(--display);
    font-size: 1.125rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-medium);
    line-height: 1.65;
    margin-top: 1.35rem;
}

.section-intro {
    font-size: 1rem;
    text-align: center;
    color: var(--text-medium);
    max-width: 760px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-family: var(--display);
    font-style: italic;
}

/* Credential hierarchy — typography (neethuprofile-inspired) */
.timeline-content h3,
.education-header h3,
.cert-header h3,
.project-card h3,
.award-content h3,
.publication-item h4,
.press-item h4,
.skill-category h3,
.membership-item h4 {
    font-family: var(--display);
    font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.role-org,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(196, 162, 101, 0.18);
}

.role-org strong,
.card-meta strong,
.institution strong {
    font-family: var(--display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.01em;
}

.role-org span,
.card-meta span {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-light);
}

.institution {
    margin-bottom: 0.875rem;
    line-height: 1.4;
}

.institution strong {
    font-size: 1.0625rem;
}

.cert-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid rgba(196, 162, 101, 0.15);
}

.cert-provider,
.publication-venue,
.org-name {
    display: block;
    font-family: var(--body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0;
}

.cert-provider {
    margin-bottom: 0;
}

.publication-venue {
    margin-bottom: 0.625rem;
}

.org-name {
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.membership-item h4 {
    text-align: center;
    width: 100%;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.press-publisher {
    font-family: var(--display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.gold-rule {
    width: 48px;
    height: 3px;
    margin: 0.75rem auto 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-header .gold-rule {
    margin-top: 0.85rem;
}

/* About Section */
.about-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem 2.25rem;
    background: var(--panel-luxury);
    border: 1px solid rgba(196, 162, 101, 0.24);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.section-header + .section-intro,
.section-header + .luxury-banner + .about-content {
    margin-top: 0;
}

.lead-text {
    font-family: var(--display);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    padding-left: 1rem;
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--primary-color), var(--accent-color)) 1;
}

.about-content p {
    margin-bottom: 1.25rem;
    line-height: 1.85;
    color: var(--text-medium);
    font-size: 1rem;
}

.core-strengths {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), var(--emerald-50));
    border-radius: 12px;
    border: 1px solid rgba(196, 162, 101, 0.22);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.core-strengths::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.core-strengths h3 {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
}

.strengths-list {
    list-style: none;
    padding-left: 0;
}

.strengths-list li {
    padding: 0.625rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.85;
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.strengths-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.625rem;
    top: 0.85rem;
}

/* Timeline */
.timeline {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 243, 0.42));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 162, 101, 0.32);
    transform: translateY(-2px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.625rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-date {
    font-family: var(--display);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 243, 0.4));
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.skill-category h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(196, 162, 101, 0.2);
}

.skill-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.skill-category:hover::before {
    transform: scaleY(1);
}

.skill-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(196, 162, 101, 0.35);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.1), rgba(196, 162, 101, 0.1));
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--text-dark);
    border: 1px solid rgba(45, 154, 114, 0.2);
    transition: var(--transition);
    font-weight: 500;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 243, 0.4));
    padding: 1.875rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.project-card h3 {
    margin-bottom: 0.35rem;
    padding-bottom: 0;
    border-bottom: 0;
}

.project-card .card-meta {
    margin-bottom: 0.875rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(196, 162, 101, 0.15);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: var(--transition);
}

.project-card:hover::before {
    transform: scaleY(1);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(196, 162, 101, 0.35);
}

.project-card p {
    line-height: 1.7;
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.timeline-content p {
    margin-bottom: 0.875rem;
    line-height: 1.85;
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.project-card p {
    line-height: 1.85;
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.education-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 243, 0.42));
    padding: 1.875rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.education-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.35rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.education-header h3 {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.education-date {
    font-family: var(--body);
    font-size: 0.6875rem;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.education-grade {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.education-description {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-light);
}

.highlight-tag {
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.1), rgba(196, 162, 101, 0.1));
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--text-dark);
    border: 1px solid rgba(45, 154, 114, 0.2);
    transition: var(--transition);
    font-weight: 500;
}

.highlight-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 243, 0.42));
    padding: 1.875rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.cert-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.cert-item:hover::before {
    transform: scaleY(1);
}

.cert-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.cert-description {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.cert-skills {
    margin-bottom: 1rem;
}

.cert-skills strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.1), rgba(196, 162, 101, 0.1));
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--text-dark);
    border: 1px solid rgba(45, 154, 114, 0.2);
    transition: var(--transition);
    font-weight: 500;
}

.skill-badge:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.cert-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bg-light);
}

.cert-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.cert-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.cert-link:hover::after {
    transform: translateX(4px);
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.award-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 243, 0.42));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    will-change: transform;
}

.award-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-light);
}

.award-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.1), rgba(196, 162, 101, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.award-card:hover .award-image img {
    transform: scale(1.1);
}

.award-content {
    padding: 1.5rem;
}

.award-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.875rem;
    font-size: 0.8125rem;
}

.award-content p {
    line-height: 1.7;
    color: var(--text-medium);
    font-size: 0.8125rem;
}

.professional-memberships {
    margin-top: 3rem;
    padding: 2.25rem;
    background: linear-gradient(145deg, var(--emerald-50), var(--bg-white));
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.professional-memberships::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.professional-memberships h3 {
    font-family: var(--display);
    font-size: clamp(1.35rem, 2vw, 1.625rem);
    margin-bottom: 1.75rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
}

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

.membership-item {
    text-align: left;
    padding: 1.75rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.membership-item:hover {
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.05), rgba(196, 162, 101, 0.05));
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.membership-item:hover .membership-logo img {
    transform: scale(1.05);
}

.membership-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 0.5rem;
    transition: var(--transition);
    align-self: center;
}

.membership-item:hover .membership-logo {
    background-color: rgba(45, 154, 114, 0.1);
}

.membership-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 6px;
}

.membership-details {
    width: 100%;
    margin-top: 0.5rem;
}

.detail-section {
    margin-bottom: 1rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-section p {
    font-size: 0.8125rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.membership-item:hover .detail-section strong {
    color: var(--primary-dark);
}

.membership-item:hover .detail-section p {
    color: var(--text-dark);
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-item {
    text-align: center;
    padding: 2rem 1.75rem;
    background: var(--panel-luxury);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 0.875rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.875rem;
}

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


/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.1), rgba(196, 162, 101, 0.1));
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 650px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.03), rgba(196, 162, 101, 0.03));
    border-bottom: 1px solid var(--border-color);
    position: relative;
    flex-shrink: 0;
}

.modal-header-content {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    flex: 1;
}

.modal-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(45, 154, 114, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

.modal-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

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

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.modal-subtitle {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.modal-close {
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.modal-close:hover {
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.1), rgba(196, 162, 101, 0.1));
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(45, 154, 114, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 120px;
    line-height: 1.6;
}

.form-actions {
    display: flex;
    gap: 0.875rem;
    justify-content: flex-end;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.form-actions .btn {
    min-width: 130px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(45, 154, 114, 0.4);
}

.form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 154, 114, 0.5);
}

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

.form-actions .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.form-actions .btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.form-actions .btn-secondary {
    background: var(--bg-light);
    color: var(--text-medium);
    border: 2px solid var(--border-color);
}

.form-actions .btn-secondary:hover {
    background: var(--bg-white);
    border-color: var(--text-light);
    color: var(--text-dark);
}

.success-message {
    text-align: center;
    padding: 2rem 1.5rem;
    animation: fadeInUp 0.5s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

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

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(196, 162, 101, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 0.6s ease-out;
    flex-shrink: 0;
}

.success-icon-wrapper svg {
    width: 36px;
    height: 36px;
}

.success-icon-wrapper svg {
    color: #10b981;
    animation: checkmark 0.6s ease-in-out;
}

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

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
    background: linear-gradient(135deg, #10b981, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-message p {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

#submit-btn:disabled .btn-icon {
    animation: spin 1s linear infinite;
}

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

/* Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.1), rgba(196, 162, 101, 0.1));
    backdrop-filter: blur(3px);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Publications Section */
.publications-category {
    margin-bottom: 2.5rem;
}

.publications-category:last-child {
    margin-bottom: 0;
}

.publications-category-title {
    font-family: var(--display);
    font-size: clamp(1.25rem, 2vw, 1.4375rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(196, 162, 101, 0.22);
    color: var(--text-dark);
}

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

.publication-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 243, 0.42));
    padding: 1.875rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.publication-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.publication-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: var(--transition);
    border-radius: 12px 0 0 12px;
}

.publication-item:hover::before {
    transform: scaleY(1);
}

.publication-description {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.publication-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bg-light);
}

.publication-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.publication-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.publication-link:hover::after {
    transform: translateX(4px);
}

.publication-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(45, 154, 114, 0.1), rgba(196, 162, 101, 0.1));
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(45, 154, 114, 0.2);
    margin-top: 0.5rem;
}

/* Press & Media Coverage Section */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.press-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 243, 0.42));
    padding: 1.875rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.press-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.press-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    transform: scaleY(0);
    transition: var(--transition);
    border-radius: 12px 0 0 12px;
}

.press-item:hover::before {
    transform: scaleY(1);
}

.press-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(196, 162, 101, 0.18);
}

.press-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(196, 162, 101, 0.1), rgba(45, 154, 114, 0.1));
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    border: 1px solid rgba(196, 162, 101, 0.2);
}

.press-description {
.press-description {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.press-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bg-light);
}

.press-link:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.press-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.press-link:hover::after {
    transform: translateX(4px);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    box-shadow: 0 8px 24px rgba(45, 154, 114, 0.4), 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
    font-weight: 600;
    font-size: 0.875rem;
    animation: pulse 2s ease-in-out infinite;
    overflow: hidden;
}

.floating-contact-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;
}

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

.floating-contact-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(45, 154, 114, 0.5), 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
}

.floating-contact-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.floating-contact-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.floating-contact-btn:hover svg {
    transform: rotate(5deg) scale(1.1);
}

.contact-btn-text {
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(45, 154, 114, 0.4), 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 24px rgba(45, 154, 114, 0.6), 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(45, 154, 114, 0.1);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: calc(2rem + 140px);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Luxury Components */
.intro-strip {
    position: relative;
    z-index: 5;
    margin-top: -28px;
    padding: 0 20px;
}

.intro-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 243, 0.92));
    border-radius: 12px;
    border: 1px solid rgba(196, 162, 101, 0.28);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.intro-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.intro-item {
    padding: 1.5rem 1.25rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.intro-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.intro-item:hover {
    background: linear-gradient(180deg, var(--emerald-50), var(--bg-white));
}

.intro-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.intro-item:last-child {
    border-right: 0;
}

.intro-icon {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.intro-item strong {
    display: block;
    font-family: var(--display);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.intro-item span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
}

.luxury-banner {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 2.25rem 2.75rem;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 243, 0.9));
    border: 1px solid rgba(196, 162, 101, 0.25);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.luxury-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.luxury-banner::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font: 120px/1 var(--display);
    color: rgba(45, 154, 114, 0.08);
    pointer-events: none;
}

.luxury-banner blockquote {
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.luxury-banner cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-style: normal;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f2922 0%, #1a3d32 60%, #0f2922 100%);
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
    padding: 2.5rem 0 1.25rem;
    font-size: 0.8125rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: end;
}

.footer-copy strong {
    display: block;
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.375rem;
}

.footer-copy p {
    max-width: 480px;
    line-height: 1.6;
    opacity: 0.72;
}

.footer-mark {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-light);
    white-space: nowrap;
}

.copyright {
    max-width: 1200px;
    margin: 1.25rem auto 0;
    padding: 0 20px;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    opacity: 0.45;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .brand-name {
        max-width: 150px;
    }

    .nav-link {
        font-size: 0.625rem;
        padding: 0.3rem 0.4rem;
    }
}

@media (max-width: 1024px) {
    .brand-name {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-h);
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }

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

    .nav-link {
        display: block;
        font-size: 0.8125rem;
        padding: 0.65rem 1rem;
        letter-spacing: 0.02em;
    }

    .nav-link--cta {
        margin: 0.5rem 1rem 0;
        display: inline-block;
    }

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

    .hero-text {
        max-width: none;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-tags {
        justify-content: center;
    }

    .typing-animation-container {
        justify-content: center;
        font-size: 0.9375rem;
    }

    .typing-text {
        min-width: 150px;
    }

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

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

@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-item:nth-child(2) {
        border-right: 0;
    }

    .intro-item:nth-child(1),
    .intro-item:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
    }

    .luxury-banner {
        padding: 1.5rem 1.25rem;
    }

    .timeline-item::before {
        left: -2rem;
    }

    .nav-brand a .brand-name,
    .brand-name {
        display: none;
    }
    
    .nav-logo {
        height: 28px;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }

    .search-box {
        min-width: 250px;
        right: -50px;
    }
    
    .search-results-content {
        margin-top: 2rem;
        max-height: 90vh;
    }

    .hero-title {
        font-size: clamp(1rem, 3.8vw, 1.375rem);
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hero-title::-webkit-scrollbar {
        display: none;
    }

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

    .portrait-luxury {
        width: min(220px, 72%);
    }
    
    .tech-skill {
        opacity: 0.6;
    }
    
    .tech-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .skill-3 .tech-badge,
    .skill-4 .tech-badge {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .skill-7,
    .skill-8 {
        display: none;
    }

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

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

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

    .timeline {
        padding-left: 1rem;
    }

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

    .skills-grid,
    .projects-grid,
    .certifications-grid,
    .awards-grid,
    .memberships-grid,
    .education-grid,
    .publications-grid,
    .press-grid {
        grid-template-columns: 1fr;
    }
    
    .publications-category-title {
        font-size: 1.25rem;
    }
    
    .publication-item h4 {
        font-size: 1rem;
    }
    
    .membership-item {
        text-align: center;
    }
    
    .membership-item h4,
    .org-name {
        text-align: center;
    }
    
    .detail-section p {
        text-align: left;
    }
    
    .education-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .education-date {
        align-self: flex-start;
    }
    
    .statistics-grid {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .floating-contact-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .floating-contact-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: calc(1.5rem + 120px);
        width: 45px;
        height: 45px;
    }
    
    @media (max-width: 480px) {
        .floating-contact-btn {
            padding: 0.75rem 1rem;
        }
        
        .contact-btn-text {
            display: none;
        }
        
        .floating-contact-btn {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            padding: 0;
        }
        
        .back-to-top {
            right: calc(1.5rem + 70px);
        }
    }
    
    .modal-content {
        max-width: 100%;
        margin: 0.5rem;
        border-radius: 20px;
        max-height: calc(100vh - 1rem);
    }
    
    .modal-header {
        padding: 1.25rem 1rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-header-content {
        width: 100%;
        gap: 0.75rem;
    }
    
    .modal-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .modal-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .modal-subtitle {
        font-size: 0.75rem;
    }
    
    .modal-body {
        padding: 1.25rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        margin-bottom: 0.875rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .form-group textarea {
        min-height: 80px;
        max-height: 100px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.625rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .form-actions .btn {
        width: 100%;
        min-width: auto;
        padding: 0.625rem 1.25rem;
    }
    
    .success-message {
        padding: 1.5rem 1rem;
    }
    
    .success-icon-wrapper {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }
    
    .success-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }
    
    .success-message h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .success-message p {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

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

    .section {
        padding: 50px 0;
    }

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

    .intro-item {
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .intro-item:last-child {
        border-bottom: 0;
    }

    .hero-title {
        font-size: clamp(0.875rem, 4.2vw, 1.125rem);
    }

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

    .profile-photo {
        width: 100%;
    }

    .portrait-luxury {
        width: min(180px, 72%);
        margin: 0 auto;
    }
}
