:root {
    --navy-dark: #152A38;
    --navy: #1E3A4D;
    --teal: #2A7B8C;
    --teal-light: #3D9DAD;
    --medium: #5B7B8C;
    --light: #8FC7E8;
    --pale: #E8EEF2;
    --gold: #FF9500;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(21, 42, 56, 0.05);
    --shadow-md: 0 4px 12px rgba(21, 42, 56, 0.08);
    --shadow-lg: 0 12px 32px rgba(21, 42, 56, 0.12);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background: var(--white);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pale);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--medium);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

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

.nav-link.active {
    color: var(--navy);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--teal);
    border-radius: 1px;
}

.nav-cta {
    background: var(--teal);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--navy);
}

/* Hero Section */
.hero {
    padding: 140px 2rem 100px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--teal) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.hero-subline {
    font-size: 1.25rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.hero-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.hero-btn.primary {
    background: var(--gold);
    color: var(--white);
}

.hero-btn.primary:hover {
    background: #e68600;
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

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

.hero-video {
    width: 100%;
}

.hero-video-placeholder {
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-video-placeholder:hover {
    background: rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.3);
}

.video-play-btn {
    width: 64px;
    height: 64px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

.hero-video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
}

.video-play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

.hero-video-placeholder p {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.hero-video-placeholder span {
    font-size: 0.8rem;
    color: var(--light);
}

/* Section Base */
.section {
    padding: 80px 2rem;
}

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

.section-header {
    margin-bottom: 2.5rem;
}

.section-header.center {
    text-align: center;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.section-description {
    font-size: 1.05rem;
    color: var(--medium);
    margin-top: 0.5rem;
}

.section-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.section-link:hover {
    color: var(--navy);
}

.section-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.section-link:hover svg {
    transform: translateX(4px);
}

/* What's Happening - Events & News */
.whats-happening {
    background: var(--pale);
}

.happening-grid-compact {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    height: 280px;
}

.happening-card-main {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.happening-card-main:hover {
    box-shadow: var(--shadow-lg);
}

.happening-image-main {
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.happening-content-main {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.happening-title-main {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.happening-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.happening-card-small {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    display: grid;
    grid-template-columns: 120px 1fr;
    flex: 1;
}

.happening-card-small:hover {
    box-shadow: var(--shadow-md);
}

.happening-image-small {
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.happening-image-small .happening-image-placeholder svg {
    width: 24px;
    height: 24px;
}

.happening-content-small {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.happening-title-small {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}

.happening-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
}

.happening-badge.event { background: var(--gold); color: var(--white); }
.happening-badge.news { background: var(--teal); color: var(--white); }
.happening-badge.webinar { background: var(--navy); color: var(--white); }

.happening-image-placeholder {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    text-align: center;
}

.happening-image-placeholder svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.35rem;
    opacity: 0.5;
}

.happening-date {
    font-size: 0.75rem;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.happening-excerpt {
    font-size: 0.85rem;
    color: var(--medium);
    line-height: 1.4;
}

/* Knowledge Hub */
.knowledge-hub {
    background: var(--white);
}

.knowledge-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--pale);
    padding-bottom: 1rem;
}

.knowledge-tab {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--medium);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

button.knowledge-tab {
    appearance: none;
    -webkit-appearance: none;
}

.knowledge-tab:hover {
    color: var(--teal);
    background: var(--pale);
}

.knowledge-tab.active {
    color: var(--white);
    background: var(--teal);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.knowledge-card {
    background: var(--white);
    border: 1px solid var(--pale);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.knowledge-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-md);
}

.knowledge-card-featured {
    border-color: var(--teal);
}

.knowledge-featured-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--teal);
    color: var(--white);
}

.knowledge-thumb {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.knowledge-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.knowledge-thumb .knowledge-play {
    position: relative;
    z-index: 1;
}

.knowledge-thumb .knowledge-type {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 3px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
}

.knowledge-play {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.knowledge-play svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
    margin-left: 2px;
}

.knowledge-info {
    padding: 1rem;
}

.knowledge-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.knowledge-meta {
    font-size: 0.75rem;
    color: var(--medium);
}

/* Quick Access */
.quick-access {
    background: var(--pale);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.quick-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    border: 1px solid transparent;
}

.quick-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.quick-icon {
    width: 64px;
    height: 64px;
    background: var(--pale);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s;
}

.quick-card:hover .quick-icon {
    background: var(--teal);
}

.quick-icon svg,
.quick-icon img {
    width: 28px;
    height: 28px;
    stroke: var(--teal);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s;
}

.quick-card:hover .quick-icon svg {
    stroke: var(--white);
}

.quick-icon img.quick-icon-img {
    height: 28px;
    width: auto;
    max-width: 28px;
    object-fit: contain;
}

.quick-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.quick-desc {
    font-size: 0.9rem;
    color: var(--medium);
    line-height: 1.5;
}

/* Applications Supported */
.applications {
    background: var(--white);
}

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

.app-card {
    background: var(--white);
    border: 1px solid var(--pale);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.app-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-md);
}

.app-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.app-icon img,
.app-icon .app-icon-img-wrap img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.app-info {
    flex: 1;
}

.app-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.app-desc {
    font-size: 0.8rem;
    color: var(--medium);
}

/* Services */
.services {
    background: var(--pale);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--teal);
    stroke-width: 1.5;
    fill: none;
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

/* About Section */
.about-section {
    background: var(--navy);
    color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

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

.about-btn {
    background: var(--teal);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.about-btn:hover {
    background: var(--teal-light);
}

.about-collaborators {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2rem;
}

.collab-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light);
    margin-bottom: 1.25rem;
}

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

.collab-item {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.collab-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.collab-type {
    font-size: 0.75rem;
    color: var(--medium);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f1a24 0%, #1a2d3d 100%);
    color: #a0b4c4;
    padding: 60px 2rem 30px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0;
}

.footer-brand img {
    height: 50px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-csi {
    font-size: 0.8rem;
    color: var(--teal-light);
    font-style: italic;
}

.footer-column-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    font-size: 0.9rem;
    color: var(--medium);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link a:hover {
    color: var(--teal-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--medium);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--teal-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--medium);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--medium);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--teal-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; gap: 2rem; }
    .upcoming-grid { grid-template-columns: 1fr; }
    .webinar-featured { grid-template-columns: 1fr; }
    .subject-grid { grid-template-columns: repeat(2, 1fr); }
    .software-featured { grid-template-columns: 1fr; }
    .software-grid { grid-template-columns: repeat(3, 1fr); }
    .pub-item { grid-template-columns: 1fr 120px 80px; }
    .pub-date { display: none; }
    .connect-grid { grid-template-columns: 1fr; }
    .event-card { grid-template-columns: 1fr; }
    .event-image { width: 100%; height: 160px; }
    .event-resources { flex-direction: row; flex-wrap: wrap; }
    .webinar-cta-box { flex-direction: column; text-align: center; }
    .hero-video { max-width: 500px; }
    .happening-grid-compact { grid-template-columns: 1fr; height: auto; }
    .happening-card-main { grid-template-columns: 1fr; }
    .happening-image-main { height: 200px; }
    .happening-side { flex-direction: row; }
    .happening-card-small { grid-template-columns: 100px 1fr; }
    .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .apps-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Events & News Page */
.hero-events-news,
.hero-single {
    padding: 130px 2rem 60px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--teal) 100%);
    color: var(--white);
}

.hero-breadcrumb {
    font-size: 0.85rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.hero-breadcrumb a {
    color: var(--light);
    text-decoration: none;
}

.hero-breadcrumb a:hover {
    color: var(--white);
}

.hero-content { max-width: 700px; }

.hero-description {
    font-size: 1.15rem;
    color: var(--light);
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--light);
}

/* Upcoming */
.upcoming { background: var(--pale); }

.upcoming-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
}

.upcoming-featured {
    background: var(--navy);
    border-radius: 12px;
    padding: 2rem;
    color: var(--white);
}

.upcoming-featured-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gold);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.upcoming-featured-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.upcoming-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.upcoming-featured-meta span { display: flex; align-items: center; gap: 6px; }

.upcoming-featured-meta svg { width: 16px; height: 16px; stroke: var(--teal-light); }

.upcoming-featured-desc {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.upcoming-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.upcoming-featured-btn:hover { background: #e68600; }

.upcoming-list { display: flex; flex-direction: column; gap: 1rem; }

.upcoming-item {
    background: var(--white);
    border-radius: 10px;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.upcoming-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.upcoming-item-date {
    background: var(--pale);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    min-width: 60px;
}

.upcoming-item-date .month {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--teal);
}

.upcoming-item-date .day {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.upcoming-item-type {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--teal);
    margin-bottom: 0.25rem;
}

.upcoming-item-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.upcoming-item-location { font-size: 0.85rem; color: var(--medium); }

.upcoming-empty { color: var(--medium); padding: 1rem; }

/* Past Events */
.past-events { background: var(--white); }

.events-list { display: flex; flex-direction: column; gap: 1rem; }

.event-card {
    background: var(--white);
    border: 1px solid var(--pale);
    border-radius: 10px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    align-items: center;
}

.event-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-md);
}

.event-image {
    width: 160px;
    height: 100px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image-placeholder {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    text-align: center;
}

.event-image-placeholder svg {
    width: 28px;
    height: 28px;
    opacity: 0.5;
    margin-bottom: 0.25rem;
}

.event-type-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.event-type-badge.conference { background: var(--navy); color: var(--white); }
.event-type-badge.seminar { background: var(--teal); color: var(--white); }
.event-type-badge.workshop { background: #8B5CF6; color: var(--white); }
.event-type-badge.competition { background: var(--gold); color: var(--white); }
.event-type-badge.industry,
.event-type-badge.industry-event { background: var(--medium); color: var(--white); }
.event-type-badge.speaking { background: var(--teal); color: var(--white); }
.event-type-badge.webinar { background: var(--navy); color: var(--white); }

.event-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.event-meta { font-size: 0.85rem; color: var(--medium); margin-bottom: 0.5rem; }

.event-desc { font-size: 0.9rem; color: var(--medium); line-height: 1.5; }

.event-resources {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-resource-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--teal);
    padding: 6px 12px;
    border: 1px solid var(--pale);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.event-resource-btn:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.view-more-btn {
    display: block;
    text-align: center;
    padding: 14px 28px;
    background: var(--pale);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: all 0.2s;
}

.view-more-btn:hover {
    background: var(--teal);
    color: var(--white);
}

/* Latest News list */
.latest-news { background: var(--pale); }

.news-list { display: flex; flex-direction: column; }

.news-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(30, 58, 77, 0.1);
    text-decoration: none;
    transition: all 0.2s;
}

.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item:hover .news-title { color: var(--teal); }

.news-date-tag { display: flex; flex-direction: column; gap: 0.5rem; }

.news-date { font-size: 0.85rem; font-weight: 500; color: var(--navy); }

.news-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    background: var(--pale);
    color: var(--teal);
}

.news-content { flex: 1; }

.news-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
    transition: color 0.2s;
}

.news-excerpt { font-size: 0.9rem; color: var(--medium); line-height: 1.5; }

/* Webinar CTA */
.webinar-cta { background: var(--white); }

.webinar-cta-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.webinar-cta-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.webinar-cta-content p { font-size: 1rem; color: var(--light); }

.webinar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--navy);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.webinar-cta-btn:hover {
    background: var(--gold);
    color: var(--white);
}

/* Knowledge Hub - Webinars section */
.webinars { background: var(--pale); }

.webinar-featured {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.webinar-latest {
    background: var(--navy);
    border-radius: 12px;
    padding: 1.5rem;
    color: var(--white);
}

.webinar-latest-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.webinar-latest-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.webinar-latest-meta { font-size: 0.85rem; color: var(--light); margin-bottom: 1rem; }

.webinar-latest-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
}

.webinar-latest-btn:hover { color: var(--white); }

.webinar-list-container {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

.webinar-list-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--pale);
}

.webinar-list-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}

.webinar-list { list-style: none; margin: 0; padding: 0; }

.webinar-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--pale);
    text-decoration: none;
    transition: background 0.2s;
    align-items: center;
    color: inherit;
}

.webinar-item:last-child { border-bottom: none; }

.webinar-item:hover { background: var(--pale); }

.webinar-date { font-size: 0.8rem; color: var(--medium); }

.webinar-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.webinar-info p { font-size: 0.8rem; color: var(--medium); }

.webinar-presenter { font-size: 0.8rem; color: var(--teal); text-align: right; }

/* Knowledge Hub - Subjects */
.subjects { background: var(--white); }

.subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.subject-card {
    background: var(--white);
    border: 1px solid var(--pale);
    border-radius: 10px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.subject-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.subject-icon {
    width: 48px;
    height: 48px;
    background: var(--pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.subject-card:hover .subject-icon { background: var(--teal); }

.subject-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--teal);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s;
}

.subject-card:hover .subject-icon svg { stroke: var(--white); }

.subject-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.subject-count { font-size: 0.8rem; color: var(--medium); }

/* Knowledge Hub - Software */
.software { background: var(--pale); }

.software-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.software-card-featured {
    background: var(--navy);
    border-radius: 12px;
    padding: 2rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.software-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.software-featured-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gold);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.software-featured-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.software-featured-desc {
    font-size: 0.95rem;
    color: var(--light);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.software-featured-resources {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--light);
}

.software-featured-resources span { display: flex; align-items: center; gap: 6px; }

.software-featured-resources svg { width: 14px; height: 14px; stroke: var(--teal-light); }

.software-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.software-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.software-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.software-card-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.software-card-icon svg { width: 24px; height: 24px; }

.software-card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.software-card-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.software-card-count { font-size: 0.75rem; color: var(--medium); }

/* Knowledge Hub - Publications list */
.publications { background: var(--white); }

.pub-list {
    background: var(--white);
    border: 1px solid var(--pale);
    border-radius: 12px;
    overflow: hidden;
}

.pub-item {
    display: grid;
    grid-template-columns: 1fr 150px 100px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--pale);
    text-decoration: none;
    transition: background 0.2s;
    align-items: center;
    color: inherit;
}

.pub-item:last-child { border-bottom: none; }

.pub-item:hover { background: var(--pale); }

.pub-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

.pub-topic { font-size: 0.8rem; color: var(--teal); }

.pub-type {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--medium);
    background: var(--pale);
    padding: 4px 10px;
    border-radius: 4px;
    text-align: center;
}

.pub-date { font-size: 0.8rem; color: var(--medium); text-align: right; }

/* Knowledge Hub - Connect */
.connect {
    background: var(--navy);
    color: var(--white);
}

.connect .section-label { color: var(--teal-light); }

.connect .section-title { color: var(--white); }

.connect .section-description { color: var(--light); }

.connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.connect-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    color: inherit;
}

.connect-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.connect-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.connect-icon svg { width: 32px; height: 32px; fill: var(--white); }

.connect-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.connect-desc { font-size: 0.9rem; color: var(--light); line-height: 1.5; }

.connect-handle { font-size: 0.85rem; color: var(--teal-light); margin-top: 0.75rem; }

/* Single post content */
.news-content { padding: 60px 2rem; background: var(--pale); }

.news-container { max-width: 900px; margin: 0 auto; }

.event-photo {
    background: var(--pale);
    border: 2px dashed var(--medium);
    border-radius: 12px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.event-photo-has-image {
    border: none;
    height: auto;
    overflow: hidden;
}

.event-photo-has-image img {
    width: 100%;
    height: auto;
    display: block;
}

.highlights-section { margin-bottom: 2.5rem; }

.highlights-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.highlights-box {
    background: var(--white);
    border-radius: 10px;
    padding: 1.75rem 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.highlight-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.highlight-text { font-size: 1rem; color: var(--navy); line-height: 1.6; }

.description-section {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.description-text { font-size: 1rem; color: var(--navy); line-height: 1.8; }

.event-resources-inline { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.webinar-video-embed { margin-bottom: 2rem; }

.webinar-video-embed .hero-video-placeholder {
    max-width: 600px;
    margin: 0 auto;
}

/* More News section */
.more-news {
    background: var(--navy);
    padding: 60px 2rem;
}

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

.more-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
}

.more-title span { color: var(--teal-light); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card-meta {
    font-size: 0.8rem;
    color: var(--teal);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.news-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card-date { font-size: 0.85rem; color: var(--medium); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-tagline { font-size: 2.5rem; }
    .hero-title { font-size: 2rem; }
    .hero-subline { font-size: 1.1rem; }
    .news-item { grid-template-columns: 1fr; gap: 0.75rem; }
    .subject-grid { grid-template-columns: 1fr; }
    .software-grid { grid-template-columns: repeat(2, 1fr); }
    .webinar-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .webinar-date { order: 1; }
    .webinar-info { order: 2; }
    .webinar-presenter { order: 3; text-align: left; }
    .pub-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .news-date-tag { flex-direction: row; align-items: center; gap: 1rem; }
    .news-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .hero-video { max-width: 100%; }
    .happening-side { flex-direction: column; }
    .happening-card-small { grid-template-columns: 1fr; }
    .happening-image-small { height: 120px; }
    .knowledge-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: 1fr; }
    .apps-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .collab-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
