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

:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --teal-color: #16a34a;
    --teal-light: #4ade80;
    --teal-dark: #15803d;
    --coral-color: #f97316;
    --coral-light: #fb923c;
    --coral-dark: #ea580c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    position: relative;
    overflow-x: hidden;
}

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

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.header-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(59, 130, 246, 0.8) 100%),
                url('hero.webp') center/cover no-repeat;
    color: var(--white);
    padding: 6rem 0;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.1);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-milestone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milestone-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.milestone-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.milestone-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.milestone-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.milestone-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.section-alt {
    background-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    min-height: 3.5rem;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    min-height: 1.5rem;
}

/* Layout Demo Label */
.layout-demo-label {
    background: linear-gradient(135deg, var(--coral-color), var(--coral-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.8;
}

/* OPTION 1: Accordion Styles */
.accordion-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.accordion-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: var(--background-light);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* OPTION 2: Two-Column Layout Styles */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-bottom: 3rem;
}

.column-main {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.column-heading {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.column-heading:first-child {
    margin-top: 0;
}

.column-main p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.column-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.highlight-box h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-list {
    list-style: none;
    padding: 0;
}

.highlight-list li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--background-light);
}

.highlight-list li:last-child {
    border-bottom: none;
}

.highlight-list strong {
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-box.milestone {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-left: none;
    text-align: center;
}

.highlight-box.milestone h4 {
    color: var(--white);
}

.milestone-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* OPTION 3: Tabbed Interface Styles */
.tabs-container {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: var(--background-light);
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.tab-content {
    display: none;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tab-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.services-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-dark);
    position: relative;
}

.services-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Responsive for layout options */
@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        border-radius: 8px;
    }

    .tab-content {
        border-radius: 8px;
    }
}

/* Statistics Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-card-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-card-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.4;
}

/* Core Values */
.values-title {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stat-number-large {
    font-size: 4rem;
    font-weight: 700;
    color: var(--background-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.research-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

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

.research-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.research-details {
    background: var(--background-light);
    padding: 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.research-details p {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.research-details p:last-child {
    margin-bottom: 0;
}

.research-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

.research-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.view-more {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.publications {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.publications h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.publications li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* Jobs Section */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    min-height: 200px;
}

.job-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.job-info {
    flex-grow: 1;
}

.job-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.job-type {
    display: inline-block;
    background: var(--success-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.job-requirements {
    list-style: none;
    margin-bottom: 2rem;
}

.job-requirements li {
    padding: 0.6rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.8rem;
}

.job-requirements li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.jobs-info {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--accent-color);
}

.jobs-info p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Team Section */
.team-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Featured Profile */
.featured-profile-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    margin-top: 2rem;
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.featured-profile {
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.featured-profile:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.profile-photo-circle {
    position: absolute;
    top: 2rem;
    right: 3rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-content-wrapper {
    padding-right: 220px;
}

.profile-content-wrapper h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-credentials {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.profile-description {
    margin-bottom: 2rem;
}

.profile-description p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.profile-quote {
    background: var(--background-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-dark);
}

.profile-specialties {
    margin-top: 2rem;
}

.profile-specialties h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.profile-specialties ul {
    list-style: none;
    padding-left: 0;
}

.profile-specialties li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.profile-specialties li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.team-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.team-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Consultant List */
.consultant-list {
    margin-top: 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.consultant-list-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.consultant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.consultant-group h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.consultant-group ul {
    list-style: none;
    padding: 0;
}

.consultant-group li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--background-light);
}

.consultant-group li:last-child {
    border-bottom: none;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    min-height: 150px;
}

.news-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--success-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.news-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.news-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--background-light);
}

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-style: italic;
}

.news-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--coral-color);
    font-style: italic;
}

/* Dynamic news grid layouts */
.news-grid[data-columns="1"] {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.news-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.news-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.news-grid[data-columns="2-per-row"] {
    grid-template-columns: repeat(2, 1fr);
}

/* Responsive adjustments for news grid */
@media (max-width: 992px) {
    .news-grid[data-columns="3"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid[data-columns="2"],
    .news-grid[data-columns="3"],
    .news-grid[data-columns="2-per-row"] {
        grid-template-columns: 1fr;
    }

    .news-grid[data-columns="1"] {
        max-width: 100%;
    }
}

/* Jobs loading/error states */
.jobs-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.jobs-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-style: italic;
}

.jobs-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--coral-color);
    font-style: italic;
}

/* Dynamic jobs grid layouts */
.jobs-grid[data-columns="1"] {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.jobs-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.jobs-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.jobs-grid[data-columns="2-per-row"] {
    grid-template-columns: repeat(2, 1fr);
}

/* Subscribe card styling */
.subscribe-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-left: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subscribe-card:hover {
    transform: translateY(-5px);
}

.subscribe-content {
    text-align: center;
}

.subscribe-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.subscribe-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.job-subscribe-form,
.research-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-email-input {
    padding: 0.9rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.subscribe-email-input:focus {
    outline: none;
    border-color: var(--white);
}

.subscribe-email-input::placeholder {
    color: var(--text-light);
}

.subscribe-card .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    width: 100%;
}

.subscribe-card .btn-primary:hover {
    background: var(--background-light);
    transform: translateY(-2px);
}

.subscribe-card .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.subscribe-success {
    text-align: center;
    padding: 1rem 0;
}

.subscribe-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.subscribe-success p {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
}

.subscribe-error {
    color: #ffcccb;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    text-align: center;
}

/* Contact form messages */
.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    font-size: 0.95rem;
    text-align: center;
}

.form-message:empty {
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--coral-color);
    border: 1px solid var(--coral-color);
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Contact form success */
.contact-success {
    text-align: center;
    padding: 3rem 2rem;
}

.contact-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--success-color);
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-success h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-success p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive adjustments for jobs grid */
@media (max-width: 992px) {
    .jobs-grid[data-columns="3"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jobs-grid[data-columns="2"],
    .jobs-grid[data-columns="3"],
    .jobs-grid[data-columns="2-per-row"] {
        grid-template-columns: 1fr;
    }

    .jobs-grid[data-columns="1"] {
        max-width: 100%;
    }
}

/* Training Programmes Section */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.training-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.training-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

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

.training-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-training {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-training:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Training Detail Sections */
.training-detail-section {
    margin-top: 2.5rem;
}

.training-detail-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-alt .training-detail-card {
    background: var(--background-light);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.training-detail-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding: 1.25rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.training-detail-toggle:hover {
    background: rgba(30, 64, 175, 0.05);
}

.training-detail-toggle span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.training-detail-toggle span::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.training-detail-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.training-detail-toggle.active {
    background: var(--primary-color);
    color: var(--white);
}

.training-detail-toggle.active span::before {
    background: var(--white);
}

.training-detail-toggle.active svg {
    transform: rotate(180deg);
    color: var(--white);
}

.training-detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    text-align: left;
}

.training-detail-toggle.active + .training-detail-content {
    max-height: 3000px;
}

.training-detail-inner {
    padding: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.training-detail-inner p {
    color: var(--text-dark);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.training-detail-inner ul {
    margin: 1.25rem 0;
    padding-left: 0;
    list-style: none;
}

.training-detail-inner li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.7;
    padding-left: 1.75rem;
    position: relative;
}

.training-detail-inner li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.training-detail-inner h3,
.training-detail-inner h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.training-detail-inner h3:first-child,
.training-detail-inner h4:first-child {
    margin-top: 0;
}

.training-detail-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.training-detail-content .btn-training {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .training-detail-toggle {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .training-detail-inner {
        padding: 1.5rem;
    }

    .training-detail-inner p {
        font-size: 1rem;
    }
}

/* Application Form Slideout */
.application-slideout {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.application-slideout.active {
    right: 0;
}

.slideout-content {
    padding: 3rem;
    position: relative;
}

.close-slideout {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.close-slideout:hover {
    color: var(--primary-color);
}

.slideout-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.slideout-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    background: var(--background-light);
}

/* Overlay */
.slideout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.slideout-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Floating Subscribe Button */
.floating-subscribe-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
    transition: all 0.3s ease;
    z-index: 1500;
}

.floating-subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(30, 64, 175, 0.5);
}

.subscribe-icon {
    font-size: 1.25rem;
}

.subscribe-text {
    white-space: nowrap;
}

/* Checkbox Group Styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.checkbox-label:hover {
    background: var(--background-light);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

/* Events Section */
#events .section-title {
    color: var(--teal-color);
}

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

.event-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 4px solid var(--teal-color);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date {
    background: linear-gradient(135deg, var(--teal-color), var(--teal-light));
    color: var(--white);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.event-date .month {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date .day {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .year {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.event-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-info {
    flex-grow: 1;
}

.event-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.event-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.event-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-footer {
    margin-top: auto;
}

.event-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.event-time,
.event-type {
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.event-time {
    background: var(--background-light);
    color: var(--teal-dark);
}

.event-type {
    background: var(--teal-light);
    color: var(--teal-dark);
}

.btn-event {
    background: var(--teal-color);
    color: var(--white);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-event:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Podcast Section */
#podcasts .section-title {
    color: var(--coral-color);
}

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

.podcast-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid var(--coral-color);
    display: flex;
    flex-direction: column;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.podcast-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--coral-color);
}

.podcast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.podcast-card:hover .podcast-image img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    font-size: 4rem;
    color: var(--white);
    opacity: 0.9;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.podcast-card:hover .play-icon {
    opacity: 1;
    transform: scale(1.15);
}

.podcast-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.podcast-info {
    flex-grow: 1;
}

.podcast-footer {
    margin-top: auto;
}

.podcast-episode {
    display: inline-block;
    background: var(--coral-light);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.podcast-content h3 {
    font-size: 1.4rem;
    color: var(--coral-color);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.podcast-host {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.podcast-host strong {
    color: var(--coral-dark);
    font-weight: 600;
}

.podcast-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.podcast-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.podcast-duration,
.podcast-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.podcast-duration::before {
    content: '⏱';
    font-size: 1rem;
}

.podcast-date::before {
    content: '📅';
    font-size: 1rem;
}

.btn-podcast {
    background: var(--coral-color);
    color: var(--white);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-podcast:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 0.8rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    .logo-image {
        height: 38px;
    }

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

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        gap: 0;
        padding: 5rem 0 2rem;
        transition: right 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
    }

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

    /* Mobile menu overlay */
    .nav-wrapper::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-wrapper.active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 1.2rem 2rem;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    .header-cta {
        width: calc(100% - 4rem);
        text-align: center;
        padding: 1rem 2rem;
        margin: 2rem;
    }

    .floating-subscribe-btn {
        display: none;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

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

    .hero-content p {
        font-size: 1.2rem;
    }

    .milestone-card {
        padding: 2rem;
    }

    .milestone-number {
        font-size: 3rem;
    }

    .milestone-label {
        font-size: 1.2rem;
    }

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

    .section {
        padding: 3rem 0;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-card-number {
        font-size: 2.5rem;
    }

    .stat-card-label {
        font-size: 0.9rem;
    }

    .featured-profile {
        padding: 2rem;
        padding-top: 200px;
    }

    .profile-photo-circle {
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 150px;
        height: 150px;
    }

    .profile-content-wrapper {
        padding-right: 0;
    }

    .research-grid,
    .jobs-grid,
    .team-info,
    .events-grid,
    .podcast-grid {
        grid-template-columns: 1fr;
    }

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

    /* Application slideout mobile fix */
    .application-slideout {
        width: 100%;
        right: -100%;
        top: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        z-index: 3000;
        overflow-y: auto;
    }

    .application-slideout.active {
        right: 0;
    }

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

    /* Subscribe form slideout mobile fix */
    #subscribeForm {
        width: 100%;
        right: -100%;
        top: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        z-index: 3000;
        overflow-y: auto;
    }

    #subscribeForm.active {
        right: 0;
    }

    .slideout-overlay {
        z-index: 2999;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 32px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

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

    .floating-subscribe-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }

    .subscribe-icon {
        font-size: 1.1rem;
    }
}

/* Research Poster Preview Cards */
.poster-preview-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 726px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    min-height: 200px;
}

.poster-preview-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    width: 220px;
    max-width: 100%;
    flex-shrink: 0;
}

.poster-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.poster-preview-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--background-light);
    max-height: 250px;
}

.poster-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.poster-preview-card:hover .poster-preview-thumb img {
    transform: scale(1.05);
}

.poster-preview-info {
    padding: 1rem 1.25rem;
}

.poster-preview-info h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.poster-preview-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .poster-preview-grid {
        max-width: 100%;
        padding: 0;
        justify-content: center;
    }

    .poster-preview-card {
        width: 200px;
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Team Photos - Polaroid Style */
.polaroid-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    max-width: 816px;
    margin-left: auto;
    margin-right: auto;
    min-height: 200px;
}

.polaroid-grid-4 {
    max-width: 1072px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.polaroid-grid-4 .polaroid {
    width: 220px;
}

.polaroid {
    background: var(--white);
    padding: 12px 12px 48px 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    width: 240px;
    flex-shrink: 0;
}

.polaroid:nth-child(1) { transform: rotate(-3deg); }
.polaroid:nth-child(2) { transform: rotate(2deg); }
.polaroid:nth-child(3) { transform: rotate(-1.5deg); }
.polaroid:nth-child(4) { transform: rotate(3deg); }
.polaroid:nth-child(5) { transform: rotate(-2deg); }
.polaroid:nth-child(6) { transform: rotate(1deg); }
.polaroid:nth-child(7) { transform: rotate(-2.5deg); }
.polaroid:nth-child(8) { transform: rotate(1.5deg); }

.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.polaroid-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.polaroid-caption {
    text-align: center;
    padding-top: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

.photos-loading {
    width: 100%;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .polaroid-grid,
    .polaroid-grid.polaroid-grid-4 {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        max-width: 100%;
    }

    .polaroid {
        width: 240px;
        padding: 8px 8px 36px 8px;
    }

    .polaroid-caption {
        font-size: 0.85rem;
    }
}

/* Research Papers Page Styles */
.research-papers-page {
    padding-top: 100px;
    min-height: 100vh;
}

.research-papers-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.research-papers-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.research-papers-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.research-search-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.research-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.research-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.research-results-info {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.research-paper-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.research-paper-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.research-paper-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.research-paper-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.research-paper-authors {
    background: var(--success-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.research-paper-journal {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
}

.research-paper-abstract {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

/* Compact research cards on home page */
.research-card-compact {
    min-height: auto;
}

.research-card-compact .job-info h3 {
    font-size: 1.25rem;
    line-height: 1.4;
}

.paper-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.paper-author-pill {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.paper-year-pill {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.paper-journal {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.abstract-truncated {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0 1rem;
}

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

.no-results h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
}

/* Research papers page responsive */
@media (max-width: 768px) {
    .research-papers-header h1 {
        font-size: 1.8rem;
    }

    .research-paper-card {
        padding: 1.5rem;
    }

    .research-paper-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}
