/* ============================================
   DEEPAK BASTOLA - ACADEMIC WEBSITE STYLES
   ============================================ */

:root {
    --primary-dark: #0a4d68;
    --primary-accent: #088395;
    --secondary-accent: #05bfdb;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --bg-cream: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-cream);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    flex-wrap: nowrap;
}

/* Mobile hamburger - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem;
    z-index: 1001;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #0a4d68;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile social - hidden on desktop */
.mobile-social {
    display: none;
}

.social-icons-mobile a {
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.social-icons-mobile a:hover {
    color: var(--primary-accent);
}

.social-icons-mobile svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Social Icons in Navigation */
.social-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-left: 2rem;
}

.social-icons a {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icons a:hover {
    color: var(--primary-accent);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */

.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
    /*background: linear-gradient(135deg, rgba(248, 249, 250, 0.55) 0%, rgba(245, 241, 232, 0.45) 100%),*/
    /*            url('photo.jpg') center top / cover no-repeat;*/
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(199, 73, 58, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 73, 58, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    width: 100%;
}

/* ============================================
   HERO PHOTO
   ============================================ */

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-photo-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 2px;
    overflow: hidden;
    border: 2px solid var(--primary-accent);
    box-shadow: 0 8px 40px rgba(8, 131, 149, 0.25);
    flex-shrink: 0;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.stat-item {
    text-align: center;
    padding: 1.2rem 0.8rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-accent);
    display: block;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   PAGE HEADER (All other pages)
   ============================================ */

.page-header {
    margin-top: 80px;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2d2d45 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 6rem 3rem;
}

.section.alt-bg {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 6rem 3rem;
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.education-list {
    list-style: none;
    margin-top: 1.5rem;
}

.education-list li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-cream);
    border-left: 4px solid var(--primary-accent);
}

.education-list li strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* ============================================
   HIGHLIGHTS
   ============================================ */

.highlights-section {
    padding: 6rem 3rem;
    overflow: hidden;
}

.highlights-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.highlights-grid::-webkit-scrollbar {
    display: none;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    border-top: 3px solid var(--primary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    min-width: calc(25% - 1.5rem);
    flex-shrink: 0;
    scroll-snap-align: start;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-date {
    color: var(--primary-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.highlight-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   RESEARCH
   ============================================ */

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.research-card {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--primary-accent);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary-accent);
}

.research-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(199, 73, 58, 0.1);
    color: var(--primary-accent);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.research-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.research-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.research-meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Research Interests */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.interest-card {
    background: white;
    padding: 2rem;
    border: 2px solid var(--border-light);
    border-radius: 4px;
}

.interest-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-accent);
}

.interest-card ul {
    list-style: none;
    padding: 0;
}

.interest-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.interest-card li:last-child {
    border-bottom: none;
}

/* Project List */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-item {
    background: white;
    padding: 2rem;
    border-left: 3px solid var(--secondary-accent);
}

.project-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.project-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SKILLS
   ============================================ */

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.skill-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-accent);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-cream);
    color: var(--text-primary);
    border-radius: 3px;
    font-size: 0.85rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
    transform: translateY(-2px);
}

/* ============================================
   PUBLICATIONS
   ============================================ */

.publication-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.publication-item {
    background: white;
    padding: 2rem;
    border-left: 4px solid var(--primary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.publication-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    color: white;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.publication-status.published {
    background: #27ae60;
}

.publication-status.review {
    background: #f39c12;
}

.publication-status.preparation {
    background: #3498db;
}

.publication-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.publication-venue {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.publication-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 1rem;
}

/* Presentations */
.presentation-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.presentation-item {
    background: white;
    padding: 2rem;
    border-left: 3px solid var(--secondary-accent);
}

.presentation-date {
    color: var(--primary-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.presentation-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.presentation-venue {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0.3rem;
}

.presentation-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Activities */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    border-top: 3px solid var(--primary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.activity-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.activity-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* ============================================
   TEACHING
   ============================================ */

.teaching-content {
    max-width: 900px;
    margin: 0 auto;
}

.teaching-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-item {
    background: white;
    padding: 2rem;
    border-left: 4px solid var(--secondary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.course-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.course-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.achievement-list {
    list-style-position: inside;
    color: var(--text-secondary);
    line-height: 1.8;
}

.achievement-list li {
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-accent);
    border: 3px solid var(--bg-cream);
    z-index: 1;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--primary-accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.timeline-org {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.timeline-description ul {
    margin-top: 0.8rem;
    padding-left: 1.5rem;
}

.timeline-description li {
    margin-bottom: 0.5rem;
}

/* Philosophy */
.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.philosophy-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.principle-list {
    list-style-position: inside;
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.05rem;
}

.principle-list li {
    margin-bottom: 1rem;
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.award-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    border-top: 3px solid var(--primary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.award-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.award-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
}

.award-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.award-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   LEADERSHIP
   ============================================ */

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.leadership-card {
    background: white;
    padding: 2rem;
    border: 2px solid var(--border-light);
    border-top: 4px solid var(--primary-accent);
    transition: all 0.3s ease;
}

.leadership-card:hover {
    border-color: var(--secondary-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.leadership-card.featured {
    border-top-color: var(--secondary-accent);
}

.leadership-role {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.leadership-org {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.leadership-period {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.leadership-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* IMO Section */
.imo-content {
    max-width: 900px;
    margin: 0 auto;
}

.imo-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.imo-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.imo-years {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.imo-year {
    background: white;
    padding: 1.5rem;
    border-left: 3px solid var(--secondary-accent);
}

.imo-year h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.imo-year p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Founding Organizations */
.founding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.founding-card {
    background: white;
    padding: 2.5rem;
    border: 2px solid var(--border-light);
    border-radius: 4px;
}

.founding-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.founding-role {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.founding-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.founding-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.founding-description ul {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 1.5rem;
}

.founding-description li {
    margin-bottom: 0.5rem;
}

/* Service */
.service-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-left: 3px solid var(--secondary-accent);
}

.service-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.service-event {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.service-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* International */
.international-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.international-card {
    background: white;
    padding: 2rem;
    border-top: 3px solid var(--primary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.international-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.international-org {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.international-period {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.international-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Administrative */
.admin-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.admin-item {
    background: white;
    padding: 2.5rem;
    border-left: 4px solid var(--primary-accent);
}

.admin-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.admin-org {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0.3rem;
}

.admin-period {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.admin-item ul {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 1.5rem;
}

.admin-item li {
    margin-bottom: 0.8rem;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.contact-item-large {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-left: 4px solid var(--primary-accent);
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-accent);
}

.contact-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    border-top: 3px solid var(--secondary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.office-hours {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.office-hours li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.office-hours li:last-child {
    border-bottom: none;
}

.office-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.sidebar-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--bg-cream);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-accent);
    color: white;
}

.social-link span {
    font-size: 1.3rem;
}

/* Collaboration */
.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.collaboration-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    border-top: 3px solid var(--primary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.collaboration-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.collaboration-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* References */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reference-card {
    background: white;
    padding: 2rem;
    border-left: 3px solid var(--secondary-accent);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.reference-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.reference-title {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.reference-dept,
.reference-inst {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.reference-contact {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reference-contact a {
    color: var(--primary-accent);
    text-decoration: none;
    font-size: 0.9rem;
}

.reference-contact a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-photo-wrapper {
        width: 180px;
        height: 180px;
    }

    .social-icons {
        display: none;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .research-grid,
    .leadership-grid,
    .interests-grid,
    .skills-container,
    .awards-grid,
    .activities-grid,
    .founding-grid,
    .international-grid,
    .collaboration-grid,
    .references-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        min-width: calc(85% - 1.5rem);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .timeline {
        padding-left: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */

.testimonials-section {
    background: white;
    border-top: 1px solid var(--border-light);
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.7s ease;
}

.testimonial-card {
    min-width: 100%;
    background: var(--bg-cream);
    padding: 3rem;
    border-radius: 4px;
    border-left: 4px solid var(--primary-accent);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    position: relative;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--primary-accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
    min-height: 100px;
}

.testimonial-author h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-accent);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;     /* Change from -25px to 10px */
}

.carousel-btn.next {
    right: 10px;    /* Change from -25px to 10px */
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-accent);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1rem;
        min-height: auto;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

/* ============================================
   MEDIA & VIDEOS SECTION
   ============================================ */

.media-section {
    padding: 6rem 3rem;
    background: white;
}

/* Videos Grid - 3 in a single row */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.video-card {
    background: var(--bg-cream);
    border-radius: 4px;
    overflow: hidden;
    border-left: 4px solid var(--primary-accent);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary-accent);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.video-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* News List - below videos */
.news-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.news-item {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--secondary-accent);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-accent);
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-source {
    color: var(--secondary-accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    display: inline-block;
}

/* Responsive */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .media-section {
        padding: 4rem 1.5rem;
    }
}

/* ============================================
   MOBILE MENU 
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-social {
        display: block;
        border-bottom: none !important;
        margin-top: 1rem;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    /* Animate hamburger to X when open */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .social-icons-mobile {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        padding: 1rem 0;
        flex-wrap: nowrap;
    }
}
/* ============================================
   HIGHLIGHTS CAROUSEL (2-at-a-time)
   ============================================ */
.highlights-section {
    overflow: hidden;
}
.highlights-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}
.highlights-carousel .carousel-btn.prev {
    left: 0;
}
.highlights-carousel .carousel-btn.next {
    right: 0;
}
.highlights-viewport {
    overflow: hidden;
}
.highlights-track {
    display: flex;
    transition: transform 0.7s ease;
}
.highlights-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
}
.highlights-slide .highlight-card {
    min-width: unset;
    flex-shrink: unset;
    scroll-snap-align: unset;
}
.highlight-card--ghost {
    background: transparent;
    border: none;
    box-shadow: none;
    pointer-events: none;
}
@media (max-width: 768px) {
    .highlights-carousel {
        padding: 0 30px;
    }
    .highlights-carousel .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }
    .highlights-slide {
        grid-template-columns: 1fr;
    }
    .highlights-slide .highlight-card:nth-child(2):not(.highlight-card--ghost) {
        display: none;
    }
}