/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
}

.nav-brand h1 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.nav-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 400;
    display: block;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.researcher-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    perspective: 1000px;
}

.researcher-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 65vh;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.researcher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.researcher-card:hover::before {
    left: 100%;
}

.researcher-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.25);
}

.shomari-card:hover {
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.4);
}

.seth-card:hover {
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.4);
}


.researcher-card h3 {
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* Green CV Download Buttons */
.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-success:hover::before {
    left: 100%;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.btn-success i {
    transition: transform 0.3s ease;
}

.btn-success:hover i {
    transform: translateX(5px);
}

/* Orange Media Buttons */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-warning:hover::before {
    left: 100%;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

.btn-warning i {
    transition: transform 0.3s ease;
}

.btn-warning:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: #10b981;
    color: white;
}

.btn-secondary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* Content Sections */
.projects-preview {
    padding: 80px 0;
    text-align: center;
    background: white;
}

.projects-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.project-highlight {
    max-width: 800px;
    margin: 0 auto;
}

.project-content {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-content h3 {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.project-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #64748b;
}

/* Profile Pages */
.profile-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
}

.intro-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.headshot-container {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 2rem;
}

.headshot-placeholder {
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.headshot-placeholder:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.headshot-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.headshot-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
}

.headshot-image {
    width: 380px;
    height: 480px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.headshot-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.personal-statement {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 480px;
}

.profile-name {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.statement-content {
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.statement-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.profile-image-enhanced {
    position: relative;
    flex-shrink: 0;
}

.profile-image-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.profile-initial {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-image-accent {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #10b981, #059669);
    border: 4px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.profile-info {
    text-align: left;
}

.profile-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.profile-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.profile-content {
    padding: 80px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-auto-rows: auto;
    align-items: start;
    gap: 3rem;
}

.content-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Additional Profile and Project Styles */
.nav-link.active {
    color: #2563eb;
    font-weight: 600;
}

.profile-contact-quick {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.education-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.education-item:last-child {
    border-bottom: none;
}

.education-item h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.institution {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.research-interests,
.achievements {
    list-style: none;
    padding: 0;
}

.research-interests li,
.achievements li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.research-interests li:last-child,
.achievements li:last-child {
    border-bottom: none;
}

.cv-downloads {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4b5563;
}

.contact-item i {
    color: #2563eb;
    width: 20px;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.contact-form h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Zefi Project Styles */
.project-status {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.active {
    background: #10b981;
    color: white;
}

.status-badge:not(.active) {
    background: #f3f4f6;
    color: #6b7280;
}

.project-overview {
    text-align: center;
    margin-bottom: 3rem;
}

.project-overview h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.objectives-list {
    list-style: none;
    padding: 0;
}

.objectives-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.objectives-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-member {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.member-info h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.member-expertise {
    color: #6b7280;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 7px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e5e7eb;
}

.timeline-item.completed .timeline-marker {
    background: #10b981;
    box-shadow: 0 0 0 2px #10b981;
}

.timeline-item.active .timeline-marker {
    background: #2563eb;
    box-shadow: 0 0 0 2px #2563eb;
}

.timeline-content h4 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.timeline-date {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.innovations {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.innovation-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.innovation-item h4 {
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.progress-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.metric {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.resources {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.resource-item i {
    font-size: 1.5rem;
    color: #2563eb;
    min-width: 30px;
}

.resource-info {
    flex: 1;
}

.resource-info h4 {
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.project-contact {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: #f8fafc;
    border-radius: 15px;
}

.project-contact h2 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Enhanced Shomari Profile Styles */
.shomari-profile .profile-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    position: relative;
    overflow: hidden;
}

.shomari-profile .profile-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.shomari-profile .headshot-placeholder {
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.shomari-profile .headshot-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
}

.shomari-profile .headshot-placeholder:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Shomari headshot specific styling - zoom in on face */
.shomari-profile .headshot-image {
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.15);
}

.shomari-profile .headshot-image:hover {
    transform: scale(1.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.shomari-profile .profile-name {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

.shomari-profile .content-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 2px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.shomari-profile .content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shomari-profile .content-card:hover::before {
    opacity: 1;
}

.shomari-profile .content-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.shomari-profile .content-card h3 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.shomari-profile .content-card h3 i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(102, 126, 234, 0.2));
}

.shomari-profile .education-item,
.shomari-profile .research-interests li,
.shomari-profile .achievements li {
    transition: all 0.3s ease;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    position: relative;
}

.shomari-profile .education-item:hover,
.shomari-profile .research-interests li:hover,
.shomari-profile .achievements li:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.shomari-profile .btn-primary,
.shomari-profile .btn-success,
.shomari-profile .btn-warning {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shomari-profile .btn-primary:hover,
.shomari-profile .btn-success:hover,
.shomari-profile .btn-warning:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Enhanced Seth Profile Styles */
.seth-profile .profile-intro {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #06b6d4 100%);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    position: relative;
    overflow: hidden;
}

.seth-profile .profile-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.seth-profile .headshot-placeholder {
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.seth-profile .headshot-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite reverse;
}

.seth-profile .headshot-placeholder:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.seth-profile .profile-name {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #dbeafe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

.seth-profile .content-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 2px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.seth-profile .content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seth-profile .content-card:hover::before {
    opacity: 1;
}

.seth-profile .content-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.seth-profile .content-card h3 {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.seth-profile .content-card h3 i {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.2));
}

.seth-profile .education-item,
.seth-profile .research-interests li,
.seth-profile .achievements li {
    transition: all 0.3s ease;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    position: relative;
}

.seth-profile .education-item:hover,
.seth-profile .research-interests li:hover,
.seth-profile .achievements li:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.seth-profile .btn-primary,
.seth-profile .btn-success,
.seth-profile .btn-warning {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.seth-profile .btn-primary:hover,
.seth-profile .btn-success:hover,
.seth-profile .btn-warning:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Individual Project Sections */
.project-highlights {
    margin: 1rem 0;
}

.project-highlights h5 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.project-highlights ul {
    list-style: none;
    padding: 0;
}

.project-highlights li {
    padding: 0.25rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1rem;
}

.project-highlights li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.project-status-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.project-timeline {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Media Page Styles */
.media-page {
    padding: 140px 0 80px;
    background: white;
    min-height: 100vh;
}

.media-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f1f5f9;
}

.media-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.back-button {
    flex-shrink: 0;
}

.media-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.media-content {
    padding: 80px 0;
    background: white;
}

.media-filter {
    text-align: center;
    margin-bottom: 3rem;
}

.media-filter h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.media-filter p {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.media-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.media-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
}

.media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #9ca3af;
    font-size: 3rem;
    position: relative;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-thumbnail:hover .media-overlay {
    opacity: 1;
}

.media-view-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.media-view-btn:hover {
    background: #1d4ed8;
}

.media-info {
    padding: 1.5rem;
}

.media-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.media-date {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.media-description {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.media-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-type.photo {
    background: #dbeafe;
    color: #1d4ed8;
}

.media-type.video {
    background: #ecfdf5;
    color: #059669;
}

/* Media Modal */
.media-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.media-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #6b7280;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.media-modal-close:hover {
    color: #374151;
}

.media-modal-body {
    display: flex;
    flex-direction: column;
}

#mediaContainer {
    height: 400px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-media-placeholder {
    text-align: center;
    color: #6b7280;
}

.modal-media-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.media-modal-info {
    padding: 2rem;
}

.media-modal-info h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.media-modal-info p {
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-brand h1 {
        font-size: 1.25rem;
    }
    
    .nav-subtitle {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .researcher-cards {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
    }
    
    .researcher-card {
        min-height: 50vh;
        padding: 3rem 1.5rem;
    }
    
    .researcher-card h3 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .btn-primary,
    .btn-success,
    .btn-warning {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .profile-contact-quick {
        flex-direction: column;
        align-items: center;
    }

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 1rem 0;
    }

    .headshot-container {
        position: static;
        order: 1;
    }

    .headshot-image {
        width: 280px;
        height: 350px;
        border-radius: 15px;
    }

    .personal-statement {
        order: 2;
        min-height: auto;
        padding: 0;
    }

    .headshot-placeholder {
        width: 250px;
        height: 320px;
        margin: 0 auto;
    }

    .profile-name {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .statement-content p {
        font-size: 1.1rem;
    }

    .profile-actions {
        justify-content: center;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-info {
        text-align: center;
    }

    .profile-image-circle {
        width: 150px;
        height: 150px;
    }

    .profile-initial {
        font-size: 3rem;
    }

    .profile-title {
        font-size: 2.5rem;
    }

    .cv-downloads {
        flex-direction: column;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .progress-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-members {
        gap: 1rem;
    }

    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline:before {
        left: 12px;
    }

    .timeline-marker {
        left: 4px;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .media-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    #mediaContainer {
        height: 250px;
    }

    .media-modal-info {
        padding: 1.5rem;
    }
    
    .media-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .media-title {
        font-size: 2rem;
    }
    
    /* Enhanced Shomari Mobile Styles */
    .shomari-profile .content-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .shomari-profile .education-item:hover,
    .shomari-profile .research-interests li:hover,
    .shomari-profile .achievements li:hover {
        transform: translateX(4px);
    }
    
    /* Enhanced Seth Mobile Styles */
    .seth-profile .content-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .seth-profile .education-item:hover,
    .seth-profile .research-interests li:hover,
    .seth-profile .achievements li:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Video Gallery Styles */
.media-gallery {
    margin-top: 1.5rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    min-height: 200px;
}

.video-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    background: #f8f9fa;
}

.media-description {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.media-description p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

/* Responsive video gallery */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-item video {
        min-height: 180px;
    }
    
    .media-description {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .video-item video {
        min-height: 160px;
    }
    
    .video-caption {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* CV Section Styling - Make it smaller */
#cv-section .content-card {
    padding: 1rem;
    margin: 0.5rem 0;
    min-height: auto;
}

#cv-section .content-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

#cv-section .content-card p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

#cv-section .download-buttons {
    gap: 0.5rem;
}

#cv-section .download-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Poster Section Styling */
.poster-container {
    margin-top: 1rem;
}

/* Poster Container Styling */
.poster-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.poster-image-container {
    position: relative;
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.poster-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.poster-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 0.5rem;
    border-radius: 10px;
    pointer-events: none;
}

.poster-image-container:hover .poster-overlay {
    opacity: 1;
}

/* Poster Modal Styles */
.poster-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-modal.show {
    opacity: 1;
}

.poster-modal-content {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.poster-modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.poster-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.poster-close:hover {
    color: #fbbf24;
}

.poster-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.poster-actions .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.poster-actions .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.poster-actions .btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

.poster-actions .btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* Responsive Design for Research Layout */

@media (max-width: 768px) {
    .poster-section {
        padding: 1rem;
    }
    
    .poster-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .poster-actions .btn {
        width: 200px;
        justify-content: center;
    }
    
    .poster-modal-content {
        width: 95%;
        height: 95%;
        margin: 1% auto;
    }
    
    .poster-close {
        top: -30px;
        font-size: 24px;
    }
}
