
/* =========================================================
   MoGEI HOMEPAGE REDESIGN
   File: assets/css/homepage-redesign.css
========================================================= */

:root {
    --mogei-navy: #0b1f33;
    --mogei-navy-light: #153650;
    --mogei-blue: #0878c9;
    --mogei-blue-dark: #075b99;
    --mogei-teal: #00a6a6;
    --mogei-gold: #f3b200;
    --mogei-red: #c62828;
    --mogei-green: #16834a;

    --mogei-text: #334155;
    --mogei-muted: #64748b;
    --mogei-light: #f4f7fb;
    --mogei-white: #ffffff;
    --mogei-border: #e2e8f0;

    --mogei-radius: 12px;
    --mogei-shadow: 0 8px 28px rgba(11, 31, 51, 0.08);
    --mogei-shadow-hover: 0 14px 35px rgba(11, 31, 51, 0.14);

    --mogei-section-space: 76px;
}


/* =========================================================
   GLOBAL HOMEPAGE STYLES
========================================================= */

body {
    color: var(--mogei-text);
    background: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
}

.mogei-section {
    padding: var(--mogei-section-space) 0;
    position: relative;
}

.mogei-section .container,
.mogei-hero .container,
.mogei-breaking-news .container {
    width: 100%;
    max-width: 1200px;
}

.mogei-section h2,
.mogei-section h3,
.mogei-hero h1,
.mogei-hero h2 {
    font-family: inherit;
}

.mogei-section h2 {
    color: var(--mogei-navy);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 8px 0 14px;
}

.mogei-section p {
    color: var(--mogei-muted);
    line-height: 1.75;
}

.section-kicker {
    display: inline-block;
    color: var(--mogei-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
}

.section-heading > div {
    max-width: 720px;
}

.section-heading p {
    max-width: 680px;
    margin: 0;
}

.section-view-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--mogei-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.section-view-link:hover {
    color: var(--mogei-blue-dark);
    text-decoration: none;
}

.section-view-link i {
    transition: transform .2s ease;
}

.section-view-link:hover i {
    transform: translateX(4px);
}


/* =========================================================
   NATIONAL COLOUR STRIP
========================================================= */

.mogei-national-strip {
    display: flex;
    height: 5px;
    width: 100%;
}

.mogei-national-strip span {
    display: block;
    flex: 1;
}

.strip-black { background: #000000; }
.strip-red { background: #da121a; }
.strip-green { background: #078930; }


/* =========================================================
   BREAKING NEWS
========================================================= */

.mogei-breaking-news {
    background: var(--mogei-navy);
    overflow: hidden;
}

.breaking-inner {
    display: flex;
    align-items: center;
    min-height: 45px;
}

.breaking-label {
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    background: var(--mogei-gold);
    color: var(--mogei-navy);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 2;
}

.breaking-pulse {
    width: 8px;
    height: 8px;
    background: var(--mogei-red);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(198, 40, 40, .15);
}

.breaking-window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.breaking-track {
    display: flex;
    width: max-content;
    animation: mogeiTicker 45s linear infinite;
}

.breaking-window:hover .breaking-track {
    animation-play-state: paused;
}

.breaking-item {
    display: flex;
    align-items: center;
    padding: 0 32px;
    min-height: 45px;
    position: relative;
}

.breaking-item::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mogei-gold);
    position: absolute;
    right: 0;
}

.breaking-item a,
.breaking-item span {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.breaking-item a:hover {
    color: var(--mogei-gold);
}

@keyframes mogeiTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* =========================================================
   HERO SECTION
========================================================= */

.mogei-hero {
    position: relative;
    overflow: hidden;
    padding: 65px 0 72px;
    background:
        radial-gradient(circle at 80% 15%, rgba(0, 166, 166, .2), transparent 35%),
        linear-gradient(120deg, #0b1f33 0%, #123b5d 58%, #075b99 100%);
}

.mogei-hero::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -260px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(255,255,255,.025),
        0 0 0 90px rgba(255,255,255,.02);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.hero-copy {
    color: #ffffff;
    padding: 20px 0;
}

.hero-eyebrow {
    display: inline-block;
    color: #8fe4e1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero-copy h1 {
    color: #ffffff;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.13;
    margin: 0 0 22px;
    max-width: 620px;
}

.hero-copy > p {
    color: rgba(255,255,255,.86);
    font-size: 16px;
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 47px;
    padding: 12px 19px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-button-light {
    background: #ffffff;
    color: var(--mogei-navy);
    border: 1px solid #ffffff;
}

.hero-button-light:hover {
    background: #eaf4fb;
    color: var(--mogei-navy);
}

.hero-button-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.65);
}

.hero-button-outline:hover {
    background: rgba(255,255,255,.12);
    color: #ffffff;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 34px;
    color: rgba(255,255,255,.65);
    font-size: 11px;
    letter-spacing: .5px;
}


/* =========================================================
   LEADERSHIP QUOTE SLIDER IN HERO
========================================================= */

.hero-leadership {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
    min-width: 0;
}

.hero-leadership-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: #b8e8ed;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-slider-indicator {
    color: rgba(255,255,255,.65);
    font-size: 11px;
    letter-spacing: 1px;
}

.quote-slider {
    position: relative;
    min-height: 340px;
    padding-bottom: 48px;
}

.quote-card {
    display: none;
    grid-template-columns: 1fr 125px;
    gap: 16px;
    align-items: center;
    min-height: 290px;
}

.quote-card.active {
    display: grid;
    animation: mogeiFade .4s ease;
}

@keyframes mogeiFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-content {
    min-width: 0;
}

.quote-mark {
    display: block;
    color: var(--mogei-gold);
    font-family: Georgia, serif;
    font-size: 52px;
    height: 42px;
    line-height: 1;
}

.quote-content p {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.quote-content h2 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 7px;
}

.quote-position {
    display: block;
    color: #b9d7e8;
    font-size: 11px;
    line-height: 1.5;
}

.quote-person-image {
    width: 125px;
    height: 175px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    align-self: end;
}

.quote-person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.quote-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quote-controls button {
    cursor: pointer;
}

.quote-prev,
.quote-next {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
}

.quote-prev:hover,
.quote-next:hover {
    background: var(--mogei-blue);
    border-color: var(--mogei-blue);
}

.quote-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quote-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
}

.quote-dot.active {
    width: 23px;
    border-radius: 10px;
    background: var(--mogei-gold);
}


/* =========================================================
   ABOUT THE MINISTRY
========================================================= */

.mogei-about {
    background: #ffffff;
}

.about-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.about-content h2 {
    max-width: 500px;
}

.about-lead {
    color: var(--mogei-text) !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
}

.about-full-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .45s ease, opacity .3s ease;
}

.about-full-text.expanded {
    max-height: 1200px;
    opacity: 1;
}

.about-full-text p {
    margin-bottom: 13px;
    font-size: 13px;
}

.text-button,
.about-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mogei-blue);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.text-button:hover,
.about-link:hover {
    color: var(--mogei-blue-dark);
    text-decoration: none;
}

.about-link {
    margin-left: 20px;
}


/* News carousel */

.about-news {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--mogei-border);
    border-radius: var(--mogei-radius);
    background: #ffffff;
    box-shadow: var(--mogei-shadow);
}

.about-news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.about-news-heading h3 {
    color: var(--mogei-navy);
    font-size: 20px;
    font-weight: 800;
    margin: 5px 0 0;
}

.about-news-heading > a {
    color: var(--mogei-blue);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.mogei-news-carousel {
    overflow: hidden;
    border-radius: 8px;
    background: var(--mogei-navy);
}

.mogei-news-carousel .carousel-inner > .item {
    height: 350px;
}

.mogei-news-carousel .carousel-inner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    opacity: .83;
}

.mogei-news-carousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 25px 35px;
    text-align: left;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
}

.mogei-news-carousel .carousel-caption h3 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}

.mogei-news-carousel .carousel-indicators {
    bottom: 5px;
}

.mogei-news-carousel .carousel-control {
    background: none;
}

.news-empty {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--mogei-muted);
    background: var(--mogei-light);
    border-radius: 8px;
}

.news-empty i {
    font-size: 35px;
    margin-bottom: 12px;
}


/* =========================================================
   DIGITAL SERVICES
========================================================= */

.services-section {
    background:
        radial-gradient(circle at 100% 0%, rgba(0,166,166,.15), transparent 30%),
        linear-gradient(125deg, #0b1f33, #123d5f);
}

.section-heading-light h2,
.section-heading-light p {
    color: #ffffff;
}

.section-heading-light .section-kicker {
    color: #8fe4e1;
}

.services-layout {
    display: grid;
    grid-template-columns: 1.45fr .8fr;
    gap: 25px;
    align-items: stretch;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.service-item {
    min-height: 135px;
    padding: 20px 17px;
    display: grid;
    grid-template-columns: 42px 1fr 15px;
    align-items: start;
    gap: 13px;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 9px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--mogei-shadow-hover);
    text-decoration: none;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: #e8f4fc;
    color: var(--mogei-blue);
    font-size: 19px;
}

.service-text h3 {
    color: var(--mogei-navy);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    margin: 1px 0 7px;
}

.service-text p {
    color: var(--mogei-muted);
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
}

.service-arrow {
    color: var(--mogei-blue);
    font-size: 12px;
    margin-top: 4px;
}

.services-feature {
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.services-feature-image {
    height: 190px;
    overflow: hidden;
}

.services-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-feature-content {
    flex: 1;
    padding: 24px;
    background: #0878c9;
    color: #ffffff;
}

.services-feature-content > span {
    color: #c8f5f2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.services-feature-content h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin: 10px 0;
}

.services-feature-content p {
    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height: 1.7;
}

.feature-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 14px;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.feature-button:hover {
    color: var(--mogei-navy);
    background: #ffffff;
    text-decoration: none;
}


/* =========================================================
   EXISTING NEWS AND STORIES MODULES
========================================================= */

.mogei-existing-content {
    position: relative;
    overflow: hidden;
}

.mogei-existing-content > section {
    margin-top: 0 !important;
}


/* =========================================================
   YOUTUBE SECTION
========================================================= */

.mogei-video-section {
    background: var(--mogei-light);
}

.youtube-layout {
    display: grid;
    grid-template-columns: 1fr 285px;
    gap: 25px;
    align-items: stretch;
}

.youtube-videos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    min-width: 0;
}

.youtube-video-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--mogei-border);
    border-radius: 9px;
    box-shadow: 0 4px 15px rgba(11,31,51,.04);
}

.youtube-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000000;
}

.youtube-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.youtube-video-info {
    padding: 16px;
}

.video-label {
    color: #d52b2b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
}

.youtube-video-info h3 {
    color: var(--mogei-navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    min-height: 58px;
    margin: 10px 0;
}

.video-date {
    display: block;
    color: var(--mogei-muted);
    font-size: 11px;
    margin-bottom: 12px;
}

.youtube-video-info > a {
    color: var(--mogei-blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.youtube-callout {
    padding: 26px 23px;
    border-radius: 10px;
    background: var(--mogei-navy);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.youtube-callout-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #e62117;
    color: #ffffff;
    font-size: 25px;
}

.youtube-callout .section-kicker {
    color: #9edbdf;
    font-size: 9px;
}

.youtube-callout h3 {
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
    margin: 12px 0;
}

.youtube-callout p {
    color: rgba(255,255,255,.75);
    font-size: 12px;
    line-height: 1.7;
}

.youtube-callout > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: 5px;
    background: #e62117;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.youtube-callout-footer {
    margin-top: auto;
    padding-top: 25px;
    color: #a9d9d9;
    font-size: 10px;
}

.youtube-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
}

.youtube-empty > i {
    color: #e62117;
    font-size: 42px;
}

.youtube-empty h3 {
    color: var(--mogei-navy);
}

.youtube-empty a {
    color: var(--mogei-blue);
    font-weight: 700;
}


/* =========================================================
   PRESS RELEASES
========================================================= */

.mogei-press-section {
    background: #ffffff;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.press-card {
    min-width: 0;
    min-height: 135px;
    display: grid;
    grid-template-columns: 55px 1fr 25px;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid var(--mogei-border);
    border-radius: 9px;
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.press-card:hover {
    border-color: #b5d9f0;
    box-shadow: var(--mogei-shadow);
}

.press-date {
    width: 52px;
    height: 62px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eaf4fb;
    color: var(--mogei-blue);
}

.press-date strong {
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
}

.press-date span {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 800;
}

.press-content {
    min-width: 0;
}

.press-category {
    color: var(--mogei-teal);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.press-content h3 {
    margin: 7px 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.press-content h3 a {
    color: var(--mogei-navy);
    text-decoration: none;
}

.press-content h3 a:hover {
    color: var(--mogei-blue);
}

.press-location {
    color: var(--mogei-muted);
    font-size: 10px;
}

.press-open {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--mogei-blue);
    font-size: 13px;
}

.press-empty {
    grid-column: 1 / -1;
    padding: 25px;
    text-align: center;
    color: var(--mogei-muted);
    background: var(--mogei-light);
    border-radius: 8px;
}


/* =========================================================
   MAGAZINE
========================================================= */

.mogei-magazine-section {
    background: var(--mogei-light);
}

.magazine-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 25px;
}

.magazine-heading > div {
    max-width: 700px;
}

.magazine-heading h2 {
    color: var(--mogei-navy);
    font-size: 30px;
    font-weight: 800;
    margin: 8px 0;
}

.magazine-heading p {
    margin: 0;
}

.magazine-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 17px;
    border-radius: 5px;
    background: var(--mogei-blue);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.magazine-button:hover {
    color: #ffffff;
    background: var(--mogei-blue-dark);
    text-decoration: none;
}

.magazine-frame {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    border: 1px solid var(--mogei-border);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--mogei-shadow);
}

.magazine-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   STRATEGIC GOALS
========================================================= */

.mogei-strategy-section {
    background: #ffffff;
}

.strategy-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 45px;
    align-items: center;
}

.strategy-content h2 {
    max-width: 600px;
}

.strategy-intro {
    color: var(--mogei-text) !important;
    font-size: 14px;
    margin-bottom: 20px;
}

.strategy-list {
    padding-left: 0;
    list-style: none;
    counter-reset: strategy-counter;
}

.strategy-list li {
    position: relative;
    counter-increment: strategy-counter;
    padding: 0 0 13px 42px;
    margin-bottom: 13px;
    border-bottom: 1px solid var(--mogei-border);
    color: var(--mogei-text);
    font-size: 13px;
    line-height: 1.65;
}

.strategy-list li::before {
    content: counter(strategy-counter);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #e8f4fc;
    color: var(--mogei-blue);
    font-size: 11px;
    font-weight: 800;
}

.strategy-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 18px;
    border-radius: 5px;
    background: var(--mogei-blue);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.strategy-button:hover {
    color: #ffffff;
    background: var(--mogei-blue-dark);
    text-decoration: none;
}

.strategy-image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--mogei-navy);
    box-shadow: var(--mogei-shadow);
}

.strategy-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.strategy-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 55px 25px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    color: #ffffff;
}

.strategy-image-caption span {
    display: block;
    color: #9de1dc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.strategy-image-caption strong {
    display: block;
    font-size: 21px;
    line-height: 1.35;
}


/* =========================================================
   LEADERSHIP PROFILES
========================================================= */

.mogei-leadership-section {
    background: var(--mogei-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.leadership-card {
    overflow: hidden;
    border: 1px solid var(--mogei-border);
    border-radius: 10px;
    background: #ffffff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mogei-shadow-hover);
}

.leadership-image {
    display: block;
    height: 250px;
    overflow: hidden;
    background: #e7edf3;
}

.leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .35s ease;
}

.leadership-card:hover .leadership-image img {
    transform: scale(1.04);
}

.leadership-info {
    padding: 19px;
}

.leadership-info h3 {
    min-height: 42px;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.leadership-info h3 a {
    color: var(--mogei-navy);
    text-decoration: none;
}

.leadership-info h3 a:hover {
    color: var(--mogei-blue);
}

.leadership-info p {
    min-height: 38px;
    margin: 0 0 15px;
    font-size: 11px;
    line-height: 1.5;
}

.leadership-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mogei-blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.leadership-profile-link:hover {
    color: var(--mogei-blue-dark);
}

.leadership-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
}

.leadership-empty > i {
    font-size: 38px;
    color: var(--mogei-blue);
}


/* =========================================================
   EDUCATION PARTNERS
========================================================= */

.mogei-partners-section {
    background: #ffffff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.partner-logo {
    min-height: 115px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--mogei-border);
    border-radius: 8px;
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.partner-logo:hover {
    border-color: #b5d9f0;
    box-shadow: var(--mogei-shadow);
}

.partner-logo img {
    display: block;
    max-width: 100%;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partners-empty {
    grid-column: 1 / -1;
    text-align: center;
}


/* =========================================================
   FOOTER SUPPORT
   These styles are intentionally limited to footer elements.
========================================================= */

footer {
    background: var(--mogei-navy);
    color: #ffffff;
}

footer a {
    transition: color .2s ease;
}

footer a:hover {
    color: #8fe4e1;
}


/* =========================================================
   RESPONSIVE DESIGN: TABLETS
========================================================= */

@media (max-width: 991px) {

    :root {
        --mogei-section-space: 58px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-copy {
        max-width: 700px;
    }

    .hero-leadership {
        max-width: 720px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-feature {
        display: grid;
        grid-template-columns: .8fr 1.2fr;
    }

    .services-feature-image {
        height: 100%;
        min-height: 220px;
    }

    .youtube-layout {
        grid-template-columns: 1fr;
    }

    .youtube-callout {
        min-height: 250px;
    }

    .press-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strategy-layout {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .leadership-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE DESIGN: MOBILE
========================================================= */

@media (max-width: 767px) {

    :root {
        --mogei-section-space: 45px;
    }

    .mogei-section h2 {
        font-size: 26px;
    }

    .section-heading,
    .magazine-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .section-heading {
        margin-bottom: 23px;
    }

    .breaking-inner {
        padding: 0;
    }

    .breaking-label {
        padding: 0 10px;
        font-size: 10px;
    }

    .breaking-item {
        padding: 0 20px;
    }

    .breaking-item a,
    .breaking-item span {
        font-size: 11px;
    }

    .mogei-hero {
        padding: 45px 0;
    }

    .hero-copy h1 {
        font-size: 35px;
    }

    .hero-copy > p {
        font-size: 14px;
    }

    .hero-button {
        width: 100%;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-leadership {
        padding: 15px;
    }

    .quote-slider {
        min-height: 390px;
    }

    .quote-card {
        grid-template-columns: 1fr 90px;
        gap: 10px;
        min-height: 335px;
    }

    .quote-person-image {
        width: 90px;
        height: 130px;
    }

    .quote-content p {
        font-size: 12px;
    }

    .quote-content h2 {
        font-size: 14px;
    }

    .about-news {
        padding: 12px;
    }

    .mogei-news-carousel .carousel-inner > .item,
    .mogei-news-carousel .carousel-inner img {
        height: 260px;
    }

    .mogei-news-carousel .carousel-caption h3 {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        min-height: 110px;
    }

    .services-feature {
        display: flex;
    }

    .services-feature-image {
        height: 190px;
    }

    .youtube-videos {
        grid-template-columns: 1fr;
    }

    .youtube-video-info h3 {
        min-height: auto;
    }

    .press-grid {
        grid-template-columns: 1fr;
    }

    .magazine-frame {
        height: 380px;
    }

    .strategy-layout {
        grid-template-columns: 1fr;
    }

    .strategy-image {
        min-height: 300px;
    }

    .strategy-image img {
        height: 340px;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .leadership-image {
        height: 190px;
    }

    .leadership-info {
        padding: 13px;
    }

    .leadership-info h3 {
        font-size: 13px;
        min-height: 0;
    }

    .leadership-info p {
        min-height: 0;
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   SMALL MOBILE DEVICES
========================================================= */

@media (max-width: 420px) {

    .hero-copy h1 {
        font-size: 30px;
    }

    .quote-card {
        grid-template-columns: 1fr;
    }

    .quote-person-image {
        display: none;
    }

    .quote-slider {
        min-height: 360px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leadership-image {
        height: 260px;
    }

    .about-link {
        margin-left: 0;
        display: flex;
    }

    .magazine-frame {
        height: 300px;
    }

}



/* ==========================================================
   MOGEI HOMEPAGE - DIGITAL EDUCATION SERVICES
   Responsive desktop, tablet and mobile styling
   Add this section at the bottom of homepage_redesign.css
   ========================================================== */

.services-section {
    width: 100%;
    position: relative;
    margin: 0 !important;
    padding: 75px 20px;
    background: #0b1f33;
    overflow: hidden;
    box-sizing: border-box;
}

.services-section *,
.services-section *::before,
.services-section *::after {
    box-sizing: border-box;
}

.services-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Section heading */
.services-section .section-head {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.services-section .section-head h2 {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 15px;
}

.services-section .section-head h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 15px auto 0;
    background: #f3b200;
    border-radius: 5px;
}

.services-section .section-head p {
    color: #d4e2ee;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* Main layout */
.services-section .services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
    gap: 25px;
    align-items: stretch;
    width: 100%;
}

/* Services grid */
.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

/* Individual service cards */
.services-section .service-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
    min-height: 130px;
    padding: 20px 18px;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
    text-decoration: none;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.services-section .service-item:hover {
    transform: translateY(-5px);
    border-color: #0878c9;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.services-section .service-item:focus-visible {
    outline: 3px solid #f3b200;
    outline-offset: 3px;
}

/* Service icons */
.services-section .service-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #0878c9;
    background: #eaf4fc;
    border-radius: 10px;
    font-size: 22px;
    transition: all 0.25s ease;
}

.services-section .service-item:hover .service-icon {
    color: #ffffff;
    background: #0878c9;
}

.services-section .service-icon i,
.services-section .service-icon svg {
    font-size: 21px;
}

/* Service text */
.services-section .service-content {
    flex: 1;
    min-width: 0;
}

.services-section .service-item h3 {
    color: #0b1f33;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
    margin: 0 0 8px;
}

.services-section .service-item p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
}

/* Service arrow */
.services-section .service-arrow {
    flex: 0 0 auto;
    align-self: center;
    color: #0878c9;
    font-size: 18px;
    transition: transform 0.25s ease;
}

.services-section .service-item:hover .service-arrow {
    transform: translateX(4px);
}

/* Feature card */
.services-section .feature-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}

.services-section .feature-card img {
    display: block;
    width: 100%;
    height: 260px;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
}

.services-section .feature-content {
    flex: 1;
    padding: 25px;
    color: #ffffff;
    background: #0878c9 !important;
}

.services-section .feature-content h3 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px;
}

.services-section .feature-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.services-section .feature-content .btn,
.services-section .feature-content a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 20px;
    color: #0b1f33;
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.services-section .feature-content .btn:hover,
.services-section .feature-content a.btn:hover {
    color: #ffffff;
    background: transparent;
}

/* ==========================================================
   TABLET - 768px TO 1100px
   ========================================================== */

@media (max-width: 1100px) {

    .services-section {
        padding: 60px 25px;
    }

    .services-section .services-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .services-section .feature-card {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
    }

    .services-section .feature-card img {
        width: 100%;
        height: 100%;
        min-height: 250px;
    }

    .services-section .feature-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 28px;
    }
}

/* ==========================================================
   MOBILE - UP TO 767px
   ========================================================== */

@media (max-width: 767px) {

    .services-section {
        padding: 45px 16px;
    }

    .services-section .section-head {
        margin-bottom: 28px;
    }

    .services-section .section-head h2 {
        font-size: 27px;
    }

    .services-section .section-head p {
        font-size: 14px;
        line-height: 1.7;
    }

    .services-section .services-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    /* Keep two cards per row on larger mobile screens */
    .services-section .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .services-section .service-item {
        flex-direction: column;
        align-items: flex-start;
        min-height: 165px;
        padding: 16px 13px;
        gap: 10px;
    }

    .services-section .service-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 19px;
    }

    .services-section .service-item h3 {
        font-size: 14px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .services-section .service-item p {
        font-size: 12px;
        line-height: 1.55;
    }

    .services-section .service-arrow {
        display: none;
    }

    /* Feature image and text stack vertically */
    .services-section .feature-card {
        display: flex;
        flex-direction: column;
    }

    .services-section .feature-card img {
        width: 100%;
        height: 220px;
        min-height: 0;
        object-fit: cover;
    }

    .services-section .feature-content {
        padding: 23px 20px;
    }

    .services-section .feature-content h3 {
        font-size: 19px;
    }

    .services-section .feature-content p {
        font-size: 13px;
    }
}

/* ==========================================================
   SMALL MOBILE - UP TO 480px
   ========================================================== */

@media (max-width: 480px) {

    .services-section {
        padding: 38px 13px;
    }

    .services-section .section-head h2 {
        font-size: 24px;
    }

    .services-section .section-head p {
        font-size: 13px;
    }

    .services-section .services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .services-section .service-item {
        flex-direction: row;
        align-items: flex-start;
        min-height: 0;
        padding: 16px;
        gap: 13px;
    }

    .services-section .service-icon {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .services-section .service-item h3 {
        font-size: 15px;
    }

    .services-section .service-item p {
        font-size: 12px;
    }

    .services-section .feature-card img {
        height: 190px;
    }

    .services-section .feature-content {
        padding: 20px 17px;
    }

    .services-section .feature-content h3 {
        font-size: 18px;
    }

    .services-section .feature-content .btn,
    .services-section .feature-content a.btn {
        width: 100%;
    }
}

/* ==========================================================
   VERY SMALL MOBILE - UP TO 360px
   ========================================================== */

@media (max-width: 360px) {

    .services-section {
        padding: 32px 10px;
    }

    .services-section .section-head h2 {
        font-size: 22px;
    }

    .services-section .service-item {
        padding: 13px;
        gap: 10px;
    }

    .services-section .service-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .services-section .service-item h3 {
        font-size: 14px;
    }
}

