/* Irene Aldridge Academic Portfolio - Professional & Commanding Design */

:root {
    /* Professional, authoritative color palette */
    --primary: #0a1929;
    --secondary: #1e3a5f;
    --accent: #e84a27;
    --accent-bright: #ff6347;
    --accent-secondary: #4a90e2;
    --dark: #0a1929;
    --light: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #adb5bd;
    --text-primary: #1a1a1a;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.15);
    --shadow-subtle: 4px 4px 0 rgba(10, 25, 41, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--light);
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

a:hover {
    color: var(--accent-bright);
}

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

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

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

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

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

.nav-link-cta {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.nav-link-cta:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 74, 39, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover span {
    background: var(--accent);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 41, 0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(232, 74, 39, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.title-emphasis {
    display: block;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    margin-top: 0.5rem;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
}

.hero-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.expertise-tag {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 74, 39, 0.15);
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeIn 1s ease 0.3s both;
}

.visual-element {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/IreneAldridge_classroomCornell.jpg');
    background-size: cover; /* To cover the entire element */
    background-repeat: no-repeat; /* To prevent the image from repeating */
    background-position: center;
    opacity: 0.82;
    border-radius: 12px;
    animation: float 6s ease-in-out infinite;
}

.visual-element::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent);
    opacity: 0.2;
    border-radius: 12px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 74, 39, 0.25);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 25, 41, 0.15);
}

.btn-outline {
    background: white;
    border: 2px solid var(--gray-300);
    color: var(--primary);
    padding: 0.875rem 2rem;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 74, 39, 0.15);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* Academic Credentials */
.academic-credentials {
    padding: 6rem 0;
    background: var(--light);
}

.credentials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.credentials-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.credentials-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-weight: 400;
    line-height: 1.7;
}

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

.credential-card {
    background: white;
    padding: 2.5rem 2rem;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.credential-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-bright);
}

.credential-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0);
    transition: all 0.3s ease;
}

.credential-card:hover .credential-icon {
    transform: scale(1.1);
}

.credential-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.credential-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* Expertise Areas */
.expertise-areas {
    padding: 6rem 0;
    background: var(--primary);
    color: white;
    position: relative;
}

.expertise-areas h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.expertise-item {
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.expertise-item:hover {
    background: rgba(232, 74, 39, 0.1);
    border-color: rgba(232, 74, 39, 0.3);
}

.expertise-number {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.expertise-item h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.expertise-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.expertise-topics {
    list-style: none;
    padding: 0;
}

.expertise-topics li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 400;
}

.expertise-topics li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Publications Section */
.publications-section {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-weight: 400;
    line-height: 1.7;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.publication-card {
    background: var(--gray-100);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
    border-radius: 6px;
}

.publication-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-bright);
}

.pub-year {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(232, 74, 39, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.publication-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--primary);
}

.pub-venue {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.publication-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
    font-size: 0.95rem;
}

/* Statistics Section */
.statistics-section {
    padding: 5rem 0;
    background: var(--gray-100);
    color: var(--primary);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Quote Section */
.quote-section {
    padding: 8rem 0;
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50px;
    font-size: 25rem;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.1);
    font-family: 'DM Sans', serif;
    line-height: 1;
}

.quote-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--light);
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.quote-author {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 900;
}

/* CTA Section */
.cta-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    color: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(0, 0, 0, 0.05) 100px,
            rgba(0, 0, 0, 0.05) 200px
        );
}

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

.cta-content h2 {
    color: var(--primary);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.3);
}

.cta-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--primary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.cta-section .btn-primary {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--secondary);
    color: var(--light);
}

/* Footer */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    padding: 5rem 0 2rem;
    border-top: 6px solid var(--accent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
    padding-left: 8px;
    transform: translateX(0);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Page Header */
.page-header {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(255, 107, 53, 0.03) 100px,
            rgba(255, 107, 53, 0.03) 200px
        );
}

.page-header h1 {
    color: white;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 8px;
    background: var(--accent);
}

.page-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 2.5rem auto 0;
    font-weight: 500;
    position: relative;
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
}

.content-section:nth-child(even) {
    background: white;
}

.content-section:nth-child(odd) {
    background: var(--gray-100);
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 4rem auto;
    background: white;
    padding: 4rem;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-brutal);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid var(--accent);
    pointer-events: none;
}

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

.form-group label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 3px solid var(--primary);
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 4px 4px 0 rgba(255, 107, 53, 0.2);
    transform: translate(-2px, -2px);
}

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

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .title-emphasis {
        font-size: 4rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-left: 1px solid var(--gray-200);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
        text-align: center;
        color: var(--primary);
    }

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

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

    .nav-link-cta {
        width: 90%;
        text-align: center;
        padding: 1rem 1.5rem;
        margin-top: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        z-index:1000;
    }

    .credential-card {
        box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
    }

    .publication-card {
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-emphasis {
        font-size: 3rem;
    }

    .title-emphasis::after {
        width: 100px;
        height: 6px;
    }
    
    .credentials-grid,
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
        width: 100%;
    }

    .expertise-number {
        font-size: 3.5rem;
    }

    .stat-number {
        font-size: 4rem;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .visual-element {
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    }
}
