* {
    font-family: 'Montserrat', sans-serif;
}

:root {
    --orange: #f2520a;
    --light-orange: #f5851f;
    --green: #4caf50;
    --navy: #1e2a57;
    --blue: #23295c;
    --background-white: #EDEDED;
    --superlight-orange:#fcac61;
}

p {
    text-align: justify;
    text-justify: inter-word; /* Recommended for better spacing */
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    background: var(--blue) !important;
    height: 120px;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center; /* center text & image */
    text-align: center;
}

.brand-text {
    display: flex; /* left & right */
    gap: clamp(10px, 4vw, 90px);
    margin-bottom: 4px; /* space above image */
    margin-left: 15px;
    white-space: nowrap;
    color: white;
    font-size: 8px;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
}

    .nav-link:hover {
        color: var(--orange) !important;
    }
    .nav-link.active {
        color: var(--green) !important;
    }

.nav-item {
    font-size: 14px;
}
/* Hero Section with Background Image */
.hero-section {
    background-image: linear-gradient(rgba(237, 237, 237, 0.3), rgba(237, 237, 237, 0.3)), url('../Resources/background/White-BG.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 60vh; /* Takes up 80% of viewport height */
    display: flex;
    align-items: center;
    color: #23295c;
    padding-bottom: 20px;
    padding-top: 50px;
}
.hero-section-green {
    background-image: linear-gradient(rgba(20, 160, 40, 0.75), rgba(20, 160, 40, 0.75)), url('../Resources/background/White-BG.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    padding-bottom: 20px;
    padding-top: 50px;
}

    .hero-section h1 {
        font-weight: 900
    }
    .titleAndCaption h2,
    .titleAndCaption p{
        text-align: center;
        font-weight: bold;
    }

.hero-logo {
    max-width: 100%;
    height: auto; /* prevents overflow */
    max-height: 400px; /* optional: keep desktop similar to your current look */
}

.info-section {
    background-image: linear-gradient(rgba(25,38,83, 0.9), rgba(25,38,83, 0.9)), url('../Resources/background/MITEC 3.jpg');
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--orange) !important;
}

    .info-section p {
        text-align: justify;
        color: white !important;
    }


.orange-box {
    background-color: var(--orange);
    color: white;
    padding: 30px 40px;
    width: 100%; /* fill the column */
    font-size: 28px;
}

.igbc-section {
    background-image: linear-gradient(rgba(237, 237, 237, 0.3), rgba(237, 237, 237, 0.3)), url('../Resources/background/White-BG.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: #23295c;
    padding-bottom: 20px;
}

.blue-box {
    background-color: var(--blue);
    color: white;
    padding: 30px 40px;
    font-size: 28px;
    margin-top: 50px;
}

.green-box {
    background-color: var(--green);
    color: white;
    padding: 30px 40px;
    font-size: 28px;
    margin-top: 50px;
}

.igbc-speakers {
    padding: 20px 0;
    background: #50b748;
    color: white;
}
/* Header */
.speaker-header {
    align-items: center;
    gap: 28px;
    margin-bottom: 28px;
}

.pillars {
    background: #0b1a4a;
    padding: 48px 24px;
}

.pillars-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    padding: 0 15px;
}

.pillar-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

/* The real image */
.pillar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* crops nicely like background-size: cover */
    object-position: center; /* center crop */
    z-index: 0;
}
/* Dark overlay */
.pillar-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}
/* Text on top */
.pillar-title {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.15;
    font-size: 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
    max-width: 90%;
}

.statement-section {
    background-color: var(--orange);
    color: white;
    padding: 48px 24px;
}
/* Horizontal Row */
.speakers-row {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    .speakers-row::-webkit-scrollbar {
        height: 10px;
    }

    .speakers-row::-webkit-scrollbar-thumb {
        background: #c7cdd9;
        border-radius: 6px;
    }

    .speakers-row:focus {
        outline: 2px solid #90caf9;
        outline-offset: 2px;
    }
/* Card */
.speaker-card {
    flex: 0 0 280px; /* fixed width so cards line up horizontally */
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    scroll-snap-align: start;
}

    .speaker-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        display: block;
    }

    .speaker-card .meta {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 14px 22px;
        padding: 16px 14px 22px;
    }

    .speaker-card h3 {
        margin: 6px 0 4px;
        color: #0f172a;
    }

.role {
    color: #6b7280;
    margin: 0;
    text-align: center;
}

.org {
    color: #7c8799;
    margin: 8px auto 0;
    line-height: 1.35;
    text-align: center
}
/* The gradient creates two diagonal */
.two-diagonal,
.footer {
    color: white;
    background: linear-gradient( 110deg, var(--light-orange) 0 5%, var(--green) 5% 42%, var(--navy) 42% 100% );
    box-shadow: inset 0 -3px 0 rgba(173, 216, 230, .6);
}

.footer__inner {
    padding: 22px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.footer a {
    color: white;
    text-decoration: none;
}

    .footer a:hover {
        text-decoration: underline;
    }

.footer__left {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.social {
    display: flex;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .social a {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border: 2px solid #fff;
        border-radius: 50%;
    }

.footer__right {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: white;
}

.conference-button {
    display: flex;
    gap: 20px;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 50px 0px 30px 0px;
}

.btn-blue,
.btn-orange,
.btn-green {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
/* Left button - Navy */
.btn-blue {
    background-color: var(--blue);
}
/* Right button - Orange */
.btn-orange {
    background-color: var(--orange)
}

.btn-green {
    background-color: var(--green)
}
/*Media*/
.feature-wrap {
    margin: 28px auto;
    padding: 0 16px;
    background: var(--background-white);
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 14px;
}
/* Card layout */
.feature-card {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    overflow: hidden;
}
/* Left panel */
.feature-visual {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    display: grid;
    place-items: center;
    padding: 22px;
}

    .feature-visual img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

/* Right panel */
.feature-content {
    padding: 30px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    font-size: 14px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
}

.feature-title {
    margin: 0 auto 12px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    max-width: 520px;
    text-align: center;
}

.feature-desc {
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
    max-width: 540px;
    text-align: center;
}

.actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.btn-primary {
    background: #111;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: #111;
    border: 1px solid rgba(0,0,0,0.20);
}

/*Signing*/
.story-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem;
}

.article, .sidebar {
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
}

.article {
    padding: 22px;
}

    .article img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1rem 0;
    }

.sidebar {
    padding: 16px;
    position: sticky;
    top: 80px;
    align-self: start;
}

.lead {
    font-size: 16px;
    line-height: 1.6;
}

.callout {
    border-left: 5px solid #F05A24;
    background: rgba(240,90,36,.07);
    padding: 14px;
    border-radius: 12px;
    margin: 14px 0;
}

.two-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.mini-card {
    background: #f5f6f7;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 14px;
}

    .mini-card h3 {
        margin: 0 0 6px;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: .6px;
        font-weight: 900;
    }

.bullets {
    padding-left: 18px;
}

.highlight {
    margin: 14px 0;
    padding: 14px;
    border-radius: 12px;
    background: #f5f6f7;
    border: 1px solid rgba(0,0,0,.08);
}

    .highlight h3 {
        margin: 0 0 10px;
    }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-size: 13px;
}

.btn--blue {
    background: #192653;
    color: #fff;
}

.btn--orange {
    background: #F05A24;
    color: #fff;
}

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(0,0,0,.18);
    color: #192653;
}

.divider {
    border: 0;
    border-top: 1px solid rgba(0,0,0,.10);
    margin: 18px 0;
}

.footnote {
    color: rgba(0,0,0,.65);
    font-size: 13px;
}

.side-block {
    background: #f5f6f7;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
}

.side-title {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 10px;
    opacity: .7;
}

.toc a, .side-link {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    color: #192653;
}

    .toc a:hover, .side-link:hover {
        background: #fff;
    }

.detail {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,.12);
}

    .detail:last-child {
        border-bottom: 0;
    }

    .detail b {
        min-width: 70px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .6px;
        opacity: .7;
    }

    .detail span {
        font-weight: 800;
    }

@media (max-width: 991.98px) {
    .story-body {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .sidebar {
        position: sticky;
        top: 90px;
    }

    .article h1 {
        font-size: 1.6rem;
    }

    .article h2 {
        font-size: 1.3rem;
    }

    .lead {
        font-size: 1rem;
    }

    .sidebar {
        position: static;
    }

    .side-block {
        background: #f9fafb;
        padding: 1rem;
        border-radius: 8px;
    }

    .toc a {
        display: block;
        padding: 0.5rem 0;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*media*/
/* Media coverage section */
.media-coverage {
    margin: 22px;
}

.section-kicker {
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 900;
    opacity: .7;
    margin-bottom: 6px;
}

.section-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 900;
}

.section-desc {
    margin: 0 0 14px;
    color: rgba(0,0,0,.65);
    font-size: 14px;
    max-width: 70ch;
}

/* Card grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.media-card {
    display: block;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    background: #f5f6f7;
    padding: 14px;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

    .media-card:hover {
        transform: translateY(-2px);
        background: #ffffff;
        border-color: rgba(0,0,0,.16);
    }

/* Top row: badge + icon */
.media-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.media-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
    color: #192653;
    background: rgba(25,38,83,.08);
    border: 1px solid rgba(25,38,83,.14);
}

.media-icon {
    font-weight: 900;
    color: rgba(0,0,0,.55);
}

.media-headline {
    font-size: 14.5px;
    font-weight: 900;
    line-height: 1.25;
    color: #141414;
    margin-bottom: 8px;
    /* nice clamp to keep card heights aligned */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-meta {
    font-size: 12px;
    color: rgba(0,0,0,.65);
    font-weight: 700;
}

/* Footer note */
.media-note {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(0,0,0,.65);
}

    .media-note a {
        color: #192653;
        font-weight: 900;
        text-decoration: none;
    }

        .media-note a:hover {
            text-decoration: underline;
        }

@media {
    .mobile-menu-dark {
        background-color: var(--blue);
        padding: 1rem;
        border-radius: 8px;
    }

        .mobile-menu-dark .nav-link {
            color: #ffffff;
        }

            .mobile-menu-dark .nav-link:hover {
                color: var(--orange);
            }
}

/* Responsive */
@media (max-width: 991.98px) {
    .story-body {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .sidebar {
        position: sticky;
        top: 90px;
    }

    .article h1 {
        font-size: 1.6rem;
    }

    .article h2 {
        font-size: 1.3rem;
    }

    .lead {
        font-size: 1rem;
    }

    .sidebar {
        position: static;
    }

    .side-block {
        background: #f9fafb;
        padding: 1rem;
        border-radius: 8px;
    }

    .toc a {
        display: block;
        padding: 0.5rem 0;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        display: grid; /* important */
        grid-template-columns: 1fr; /* stack vertically */
    }

    .feature-visual {
        border-bottom: 2px solid #e0e0e0;
        padding-bottom: 16px;
        margin-bottom: 16px;
        order: 1;
    }

    .feature-content {
        order: 2;
    }
}
