   .cd-words-wrapper b {
    font-size: 40px;        /* Desktop */
    line-height: 1.2;
    display: inline-block;
}

/* Tablet */
@media (max-width: 992px) {
    .cd-words-wrapper b {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .cd-words-wrapper {
        display: block;
        text-align: center; /* center text on small screens */
    }

    .cd-words-wrapper b {
        font-size: 20px;
        line-height: 1.4;
    }
}
.cd-words-wrapper {
    display: inline-block;
    position: relative;
}

.cd-words-wrapper b {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity .5s ease;
    white-space: nowrap;
}

.cd-words-wrapper b.is-visible {
    opacity: 1;
    position: relative;
}

.cd-words-wrapper b.is-hidden {
    opacity: 0;
}


/* =========================================================
   MMG FOUNDER SECTION
========================================================= */

.mmg-founder-section {
    position: relative;
    padding: 100px 0 110px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(0, 160, 220, .08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(0, 100, 170, .07),
            transparent 30%
        ),
        #f7fafc;
}


/* FUTURISTIC GRID */

.mmg-about-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .45;

    background-image:
        linear-gradient(
            rgba(0, 120, 180, .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 120, 180, .035) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
}


/* =========================================================
   HEADER
========================================================= */

.mmg-founder-label {
    display: inline-block;

    margin-bottom: 12px;

    font-family: 'Montserrat', sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 4px;

    color: #0098d5;
}

.mmg-founder-heading {
    margin: 0;

    font-family: 'Montserrat', sans-serif;

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 800;

    letter-spacing: -1px;

    color: #172d3e;
}

.mmg-founder-heading span {
    color: #009fe3;
}

.mmg-heading-line {
    width: 65px;
    height: 3px;

    margin: 18px auto;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #006fa8,
            #00b4ef
        );

    box-shadow:
        0 0 15px rgba(0, 159, 227, .3);
}

.mmg-founder-intro {
    max-width: 650px;

    margin: 0 auto;

    font-size: 15px;

    line-height: 1.8;

    color: #71808c;
}


/* =========================================================
   HISTORY CARD
========================================================= */

.mmg-history-card {

    position: relative;

    padding: 30px;

    border-radius: 24px;

    background:
        rgba(255,255,255,.88);

    border: 1px solid
        rgba(0, 130, 190, .10);

    box-shadow:
        0 20px 60px
        rgba(20, 55, 75, .08);

    backdrop-filter: blur(15px);
}


/* Header */

.mmg-history-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 22px;

    margin-bottom: 15px;

    border-bottom:
        1px solid rgba(0,0,0,.06);
}

.mmg-card-label {

    display: block;

    margin-bottom: 5px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;

    color: #0098d5;

    text-transform: uppercase;
}

.mmg-history-top h3 {

    margin: 0;

    font-family: 'Montserrat', sans-serif;

    font-size: 25px;

    font-weight: 700;

    color: #1b3447;
}


/* Icon */

.mmg-history-icon {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: white;

    font-size: 20px;

    background:
        linear-gradient(
            135deg,
            #009fe3,
            #006da6
        );

    box-shadow:
        0 8px 25px
        rgba(0, 159, 227, .25);
}


/* =========================================================
   SCROLLABLE HISTORY
========================================================= */

.mmg-history-scroll {

    max-height: 600px;

    overflow-y: auto;

    padding-right: 15px;

    scrollbar-width: thin;

    scrollbar-color:
        #009fe3
        transparent;
}


.mmg-history-scroll::-webkit-scrollbar {
    width: 5px;
}

.mmg-history-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.mmg-history-scroll::-webkit-scrollbar-thumb {

    background:
        linear-gradient(
            #00b3ed,
            #006da6
        );

    border-radius: 20px;
}


/* =========================================================
   TIMELINE
========================================================= */

.mmg-history-item {

    position: relative;

    display: flex;

    gap: 20px;

    padding-bottom: 35px;
}


/* vertical line */

.mmg-history-item::before {

    content: "";

    position: absolute;

    left: 6px;

    top: 14px;

    bottom: -5px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            rgba(0,159,227,.65),
            rgba(0,159,227,.05)
        );
}


.mmg-history-item:last-child::before {
    display: none;
}


/* marker */

.mmg-history-marker {

    position: relative;

    z-index: 2;

    flex: 0 0 13px;

    width: 13px;
    height: 13px;

    margin-top: 5px;

    border-radius: 50%;

    background: white;

    border: 3px solid #009fe3;

    box-shadow:
        0 0 0 5px
        rgba(0,159,227,.08),

        0 0 15px
        rgba(0,159,227,.3);
}


/* History content */

.mmg-history-content {
    flex: 1;
}

.mmg-history-year {

    display: inline-block;

    padding: 5px 11px;

    border-radius: 20px;

    background:
        rgba(0,159,227,.08);

    color: #008ac7;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.mmg-history-content p {

    margin-top: 12px;

    margin-bottom: 0;

    font-size: 15px;

    line-height: 1.85;

    color: #667784;

    text-align: justify;
}

.mmg-history-content strong {
    color: #304c60;
}


/* =========================================================
   FOUNDER CARD
========================================================= */

.mmg-founder-card {

    position: relative;

    overflow: hidden;

    padding: 18px;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #edf6fa
        );

    border:
        1px solid
        rgba(0, 140, 200, .12);

    box-shadow:
        0 25px 70px
        rgba(15, 50, 70, .12);
}


/* Glow */

.mmg-founder-glow {

    position: absolute;

    width: 250px;
    height: 250px;

    top: -120px;
    right: -100px;

    border-radius: 50%;

    background: #00a9e8;

    filter: blur(80px);

    opacity: .15;
}


/* Decorative circle */

.mmg-founder-circle {

    position: absolute;

    width: 180px;
    height: 180px;

    left: -100px;
    bottom: -100px;

    border-radius: 50%;

    border:
        1px solid
        rgba(0,159,227,.12);
}


/* =========================================================
   FOUNDER IMAGE
========================================================= */

.mmg-founder-image-wrap {

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    background: #dceef5;
}


.mmg-founder-image {

    position: relative;

    z-index: 2;

    display: block;

    width: 100%;

    transition:
        transform .6s ease;
}


.mmg-founder-card:hover
.mmg-founder-image {

    transform: scale(1.025);
}


/* image frame */

.mmg-founder-image-border {

    position: absolute;

    z-index: 3;

    inset: 14px;

    border:
        1px solid
        rgba(255,255,255,.65);

    border-radius: 15px;

    pointer-events: none;
}


/* =========================================================
   FOUNDER INFORMATION
========================================================= */

.mmg-founder-info {

    position: relative;

    z-index: 5;

    padding: 25px 10px 10px;

    text-align: center;
}


.mmg-founder-info h3 {

    margin: 8px 0;

    font-family: 'Montserrat', sans-serif;

    font-size: 27px;

    font-weight: 800;

    color: #172f42;
}


.mmg-founder-line {

    width: 45px;
    height: 2px;

    margin: 14px auto;

    background: #009fe3;

    box-shadow:
        0 0 10px
        rgba(0,159,227,.3);
}


.mmg-founder-info p {

    margin-bottom: 20px;

    font-size: 14px;

    line-height: 1.7;

    color: #6c7d89;
}


.mmg-founder-info p strong {
    color: #29465a;
}


/* =========================================================
   BADGE
========================================================= */

.mmg-founder-badge {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px;

    border-radius: 15px;

    text-align: left;

    background:
        linear-gradient(
            135deg,
            rgba(0,159,227,.09),
            rgba(0,110,170,.03)
        );

    border:
        1px solid
        rgba(0,159,227,.10);
}


.mmg-badge-icon {

    flex: 0 0 45px;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: white;

    font-size: 20px;

    background:
        linear-gradient(
            135deg,
            #009fe3,
            #006da6
        );

    box-shadow:
        0 7px 20px
        rgba(0,159,227,.2);
}


.mmg-founder-badge small {

    display: block;

    margin-bottom: 3px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: #0092cf;
}


.mmg-founder-badge strong {

    display: block;

    font-size: 12px;

    line-height: 1.5;

    color: #3c586a;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .mmg-founder-section {
        padding: 80px 0;
    }

    .mmg-founder-card {
        max-width: 550px;
        margin: 0 auto;
    }

}


@media (max-width: 575px) {

    .mmg-founder-section {
        padding: 60px 0;
    }

    .mmg-history-card {
        padding: 20px;
    }

    .mmg-history-top h3 {
        font-size: 21px;
    }

    .mmg-history-icon {
        width: 42px;
        height: 42px;
    }

    .mmg-history-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .mmg-founder-heading {
        font-size: 30px;
    }

    .mmg-founder-intro {
        font-size: 14px;
    }

}

/* =========================================================
   MMG FEDERATION - BE ONE WITH MMG
   Modern / Professional / Futuristic Presentation
   ========================================================= */

.mmg-federation-intro {
    position: relative;
    overflow: hidden;

    /* Keep the existing overall size */
    width: 100%;
    min-height: 330px;

    padding: 55px 60px;

    display: flex;
    align-items: center;

    border-radius: 18px;

    /* Glass / futuristic surface */
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.86),
            rgba(255, 255, 255, 0.68)
        );

    border: 1px solid rgba(255, 255, 255, 0.65);

    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    isolation: isolate;
}


/* Subtle futuristic glow */
.mmg-intro-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    right: -110px;
    top: -130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 123, 255, 0.16) 0%,
            rgba(0, 123, 255, 0.06) 40%,
            transparent 72%
        );

    pointer-events: none;
}


/* Small colored accent line */
.mmg-intro-content {
    position: relative;
    z-index: 2;

    width: 100%;
}


/* ---------------------------------------------------------
   SMALL LABEL
   --------------------------------------------------------- */

.mmg-intro-label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: #52606d;
}

.mmg-label-line {
    display: inline-block;

    width: 35px;
    height: 2px;

    background: linear-gradient(
        90deg,
        #e60012,
        #0072ce,
        #00a651
    );

    border-radius: 50px;
}


/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.mmg-intro-title {
    margin: 0;

    font-size: clamp(32px, 3vw, 46px);
    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1px;

    color: #1f2937;
}

.mmg-intro-title span {
    background: linear-gradient(
        90deg,
        #e60012 0%,
        #0072ce 50%,
        #00a651 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ---------------------------------------------------------
   DIVIDER
   --------------------------------------------------------- */

.mmg-intro-divider {
    width: 75px;
    height: 3px;

    margin: 20px 0 22px;

    border-radius: 50px;

    background: linear-gradient(
        90deg,
        #e60012,
        #0072ce,
        #00a651
    );
}


/* ---------------------------------------------------------
   BODY TEXT
   --------------------------------------------------------- */

.mmg-intro-text {
    margin: 0 0 14px;

    max-width: 1120px;

    font-size: 16px;
    line-height: 1.85;

    letter-spacing: 0.1px;

    text-align: justify;

    color: #4b5563;
}

.mmg-intro-text strong {
    color: #273142;

    font-weight: 750;
}

.mmg-intro-text-last {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   SUBTLE CORNER EFFECT
   --------------------------------------------------------- */

.mmg-federation-intro::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 5px;
    height: 100%;

    border-radius: 18px 0 0 18px;

    background: linear-gradient(
        180deg,
        #e60012 0%,
        #0072ce 50%,
        #00a651 100%
    );

    opacity: 0.9;
}


/* Fine futuristic border highlight */
.mmg-federation-intro::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    border: 1px solid rgba(255, 255, 255, 0.45);

    pointer-events: none;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .mmg-federation-intro {
        padding: 45px 40px;
    }

    .mmg-intro-text {
        font-size: 15px;
        line-height: 1.75;
    }
}


@media (max-width: 575px) {

    .mmg-federation-intro {
        min-height: 330px;
        padding: 35px 28px;
        border-radius: 14px;
    }

    .mmg-intro-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .mmg-intro-title {
        font-size: 30px;
    }

    .mmg-intro-text {
        font-size: 14px;
        line-height: 1.7;
        text-align: left;
    }

    .mmg-intro-divider {
        margin: 16px 0 18px;
    }
}

/* =========================================================
   MMG INFORMATION CARDS
   LANDSCAPE / FUTURISTIC DESIGN
   ========================================================= */

.mmg-info-card {
    position: relative;

    display: grid;

    grid-template-columns: 42% 58%;

    width: 100%;
    max-width: 1120px;

    min-height: 340px;

    margin: 0 auto 28px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0.98),
            rgba(241,250,252,0.96)
        );

    border: 1px solid rgba(20,150,165,0.16);

    border-radius: 26px;

    box-shadow:
        0 18px 45px rgba(0,70,90,0.10),
        inset 0 1px 0 rgba(255,255,255,0.95);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Hover */

.mmg-info-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 25px 55px rgba(0,70,90,0.14),
        inset 0 1px 0 rgba(255,255,255,0.95);
}


/* =========================================================
   FUTURISTIC BACKGROUND GRID
   ========================================================= */

.mmg-info-card::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(20,150,165,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(20,150,165,0.035) 1px,
            transparent 1px
        );

    background-size: 32px 32px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 35%,
            black 75%,
            transparent
        );

    z-index: 0;
}


/* =========================================================
   IMAGE
   ========================================================= */

.mmg-info-image {

    position: relative;

    min-height: 340px;

    overflow: hidden;

    background: #dfeef1;
}


.mmg-info-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.6s ease;
}


.mmg-info-card:hover
.mmg-info-image img {

    transform: scale(1.045);
}


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */

.mmg-image-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,60,75,0.02),
            rgba(8,60,75,0.12)
        );

    pointer-events: none;
}


/* =========================================================
   IMAGE NUMBER
   ========================================================= */

.mmg-image-number {

    position: absolute;

    left: 22px;
    top: 20px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    background:
        rgba(10,75,90,0.78);

    border:
        1px solid rgba(255,255,255,0.35);

    border-radius: 14px;

    backdrop-filter: blur(8px);

    z-index: 2;
}


/* =========================================================
   CONTENT
   ========================================================= */

.mmg-info-content {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 40px 48px;
}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.mmg-info-label {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 11px;

    color: #1597a5;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.mmg-info-label span {

    display: block;

    width: 25px;
    height: 2px;

    background: #1597a5;

    border-radius: 20px;
}


/* =========================================================
   TITLE
   ========================================================= */

.mmg-info-content h3 {

    margin: 0;

    color: #12384a;

    font-family: 'Montserrat', sans-serif;

    font-size: 29px;

    font-weight: 700;

    line-height: 1.25;
}


.mmg-info-content h3 i {

    margin-right: 9px;

    color: #1597a5;

    font-size: 24px;
}


/* =========================================================
   ACCENT LINE
   ========================================================= */

.mmg-info-line {

    width: 52px;
    height: 3px;

    margin: 14px 0 17px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #1597a5,
            #5bcdd1
        );
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.mmg-info-content > p {

    max-width: 620px;

    margin: 0;

    color: #586f77;

    font-size: 15px;

    line-height: 1.72;

    text-align: justify;
}


.mmg-info-content > p strong {

    color: #17465a;

    font-weight: 700;
}


/* =========================================================
   FOOTER
   ========================================================= */

.mmg-info-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 25px;

    padding-top: 18px;

    border-top:
        1px solid rgba(20,150,165,0.13);
}


/* =========================================================
   META
   ========================================================= */

.mmg-info-meta {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #789098;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.2px;
}


.mmg-info-meta i {

    color: #1597a5;

    font-size: 16px;
}


/* =========================================================
   FUTURISTIC BUTTON
   ========================================================= */

.mmg-futuristic-btn {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 10px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #1597a5,
            #31b7bd
        );

    border: 0;

    border-radius: 12px;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none !important;

    box-shadow:
        0 8px 20px rgba(21,151,165,0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.mmg-futuristic-btn i {

    font-size: 14px;

    transition:
        transform 0.25s ease;
}


.mmg-futuristic-btn:hover {

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(21,151,165,0.28);
}


.mmg-futuristic-btn:hover i {

    transform: translateX(4px);
}


/* =========================================================
   REVERSED CARD
   ========================================================= */

.mmg-info-card-reverse {

    grid-template-columns: 58% 42%;
}


.mmg-info-card-reverse
.mmg-info-image {

    order: 2;
}


.mmg-info-card-reverse
.mmg-info-content {

    order: 1;
}


/* =========================================================
   IMAGE EDGE ACCENT
   ========================================================= */

.mmg-info-card:not(.mmg-info-card-reverse)
.mmg-info-image::after {

    content: "";

    position: absolute;

    right: -1px;
    top: 12%;

    width: 3px;
    height: 76%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #1597a5,
            transparent
        );

    z-index: 3;
}


.mmg-info-card-reverse
.mmg-info-image::after {

    content: "";

    position: absolute;

    left: -1px;
    top: 12%;

    width: 3px;
    height: 76%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #1597a5,
            transparent
        );

    z-index: 3;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .mmg-info-card {

        grid-template-columns: 45% 55%;

        min-height: 330px;
    }

    .mmg-info-card-reverse {

        grid-template-columns: 55% 45%;
    }

    .mmg-info-content {

        padding: 32px 30px;
    }

    .mmg-info-content h3 {

        font-size: 25px;
    }

    .mmg-info-content > p {

        font-size: 14px;
    }

}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 767px) {

    .mmg-info-card,
    .mmg-info-card-reverse {

        display: flex;

        flex-direction: column;

        min-height: auto;

        border-radius: 22px;
    }


    .mmg-info-card-reverse
    .mmg-info-image {

        order: 1;
    }


    .mmg-info-card-reverse
    .mmg-info-content {

        order: 2;
    }


    .mmg-info-image {

        width: 100%;

        height: 230px;

        min-height: 230px;
    }


    .mmg-info-content {

        padding: 28px 25px;
    }


    .mmg-info-content h3 {

        font-size: 24px;
    }


    .mmg-info-content > p {

        font-size: 14px;

        line-height: 1.65;

        text-align: left;
    }


    .mmg-info-footer {

        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .mmg-futuristic-btn {

        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .mmg-info-card {

        margin-bottom: 22px;

        border-radius: 19px;
    }


    .mmg-info-image {

        height: 200px;

        min-height: 200px;
    }


    .mmg-info-content {

        padding: 25px 20px;
    }


    .mmg-info-label {

        font-size: 8px;

        letter-spacing: 2px;
    }


    .mmg-info-content h3 {

        font-size: 21px;
    }


    .mmg-info-content h3 i {

        font-size: 19px;
    }


    .mmg-info-content > p {

        font-size: 13.5px;
    }


    .mmg-image-number {

        width: 40px;
        height: 40px;

        left: 15px;
        top: 15px;

        font-size: 10px;
    }

}
/* =========================================================
   MMG FEDERATION DISCOVERY SECTION
   ========================================================= */

.mmg-discovery-section {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 160, 180, 0.07), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(0, 100, 160, 0.06), transparent 30%),
        #f7fafc;
    overflow: hidden;
}


/* Subtle futuristic grid */

.mmg-discovery-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(0, 120, 150, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 120, 150, 0.035) 1px, transparent 1px);

    background-size: 42px 42px;

    pointer-events: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.mmg-discovery-header {
    position: relative;
    z-index: 2;

    max-width: 760px;

    margin: 0 auto 55px;
}


.mmg-discovery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 16px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;

    color: #008c9e;
}


.mmg-discovery-eyebrow span {
    display: block;

    width: 35px;
    height: 1px;

    background: #008c9e;
}


.mmg-discovery-header h2 {
    margin-bottom: 14px;

    font-size: clamp(30px, 4vw, 46px);

    font-weight: 800;

    color: #123b50;

    letter-spacing: -1px;
}


.mmg-discovery-header p {
    max-width: 650px;

    margin: auto;

    font-size: 16px;
    line-height: 1.8;

    color: #667985;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.mmg-discovery-card {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 42% 58%;

    width: 100%;
    max-width: 1120px;

    min-height: 350px;

    margin: 0 auto 30px;

    overflow: hidden;

    border: 1px solid rgba(0, 130, 150, 0.12);

    border-radius: 26px;

    background: rgba(255, 255, 255, 0.88);

    box-shadow:
        0 18px 55px rgba(25, 75, 95, 0.08),
        0 3px 12px rgba(25, 75, 95, 0.04);

    backdrop-filter: blur(14px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.mmg-discovery-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 25px 65px rgba(25, 75, 95, 0.13),
        0 5px 15px rgba(25, 75, 95, 0.06);
}


/* Reverse layout */

.mmg-discovery-reverse {
    grid-template-columns: 58% 42%;
}


.mmg-discovery-reverse .mmg-discovery-image {
    order: 2;
}


.mmg-discovery-reverse .mmg-discovery-content {
    order: 1;
}


/* =========================================================
   IMAGE
   ========================================================= */

.mmg-discovery-image {
    position: relative;

    min-height: 350px;

    overflow: hidden;

    background: #dce8eb;
}


.mmg-discovery-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.7s ease;
}


.mmg-discovery-card:hover .mmg-discovery-image img {
    transform: scale(1.045);
}


.mmg-image-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 38, 51, 0.58),
            rgba(7, 38, 51, 0.08) 75%
        );
}


.mmg-discovery-reverse .mmg-image-shade {
    background:
        linear-gradient(
            270deg,
            rgba(7, 38, 51, 0.58),
            rgba(7, 38, 51, 0.08) 75%
        );
}


/* Number */

.mmg-card-number {
    position: absolute;

    top: 24px;
    left: 26px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, 0.9);
}


/* Image label */

.mmg-image-label {
    position: absolute;

    left: 26px;
    bottom: 25px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 9px 13px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 8px;

    background: rgba(5, 40, 52, 0.42);

    backdrop-filter: blur(8px);

    color: white;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.6px;
}


.mmg-image-label i {
    font-size: 14px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.mmg-discovery-content {
    position: relative;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 48px 55px;
}


.mmg-content-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}


.mmg-content-label {
    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2.5px;

    color: #008c9e;
}


.mmg-content-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 140, 158, 0.15);

    border-radius: 12px;

    background: rgba(0, 140, 158, 0.06);

    color: #008c9e;

    font-size: 18px;
}


.mmg-discovery-content h3 {
    max-width: 550px;

    margin-bottom: 15px;

    font-size: clamp(25px, 3vw, 34px);

    line-height: 1.2;

    font-weight: 800;

    color: #173f52;
}


.mmg-discovery-content p {
    max-width: 560px;

    margin-bottom: 28px;

    font-size: 15px;

    line-height: 1.8;

    color: #687b85;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.mmg-content-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid rgba(20, 80, 95, 0.09);
}


.mmg-content-bottom > span {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 700;

    color: #71828b;
}


.mmg-content-bottom > span i {
    color: #008c9e;

    font-size: 15px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.mmg-discovery-btn {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 11px 17px;

    border: 1px solid rgba(0, 140, 158, 0.25);

    border-radius: 9px;

    background: white;

    color: #087f91;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition: all 0.3s ease;
}


.mmg-discovery-btn i {
    transition: transform 0.3s ease;
}


.mmg-discovery-btn:hover {
    border-color: #008c9e;

    background: #008c9e;

    color: white;

    transform: translateY(-2px);
}


.mmg-discovery-btn:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .mmg-discovery-section {
        padding: 75px 0;
    }

    .mmg-discovery-card,
    .mmg-discovery-reverse {
        grid-template-columns: 1fr;
    }

    .mmg-discovery-image,
    .mmg-discovery-reverse .mmg-discovery-image {
        order: 1;

        min-height: 280px;
    }

    .mmg-discovery-content,
    .mmg-discovery-reverse .mmg-discovery-content {
        order: 2;

        padding: 38px;
    }

}


@media (max-width: 575px) {

    .mmg-discovery-section {
        padding: 60px 15px;
    }

    .mmg-discovery-header {
        margin-bottom: 35px;
    }

    .mmg-discovery-header h2 {
        font-size: 30px;
    }

    .mmg-discovery-card {
        border-radius: 20px;
    }

    .mmg-discovery-image {
        min-height: 230px;
    }

    .mmg-discovery-content {
        padding: 30px 25px;
    }

    .mmg-discovery-content h3 {
        font-size: 25px;
    }

    .mmg-content-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .mmg-discovery-btn {
        width: 100%;
        justify-content: center;
    }

}

/* =========================================================
   MMG YOUTUBE VIDEO
========================================================= */

#mmgVideoArea {
    position: relative;
}

.mmg-video-original {
    position: relative;
    width: 100%;
}

.mmg-video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.mmg-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   FLOATING VIDEO
   IMPORTANT:
   This container is attached directly to BODY.
========================================================= */

.mmg-floating-video {
    position: fixed !important;

    right: 25px !important;
    bottom: 25px !important;

    width: 360px !important;
    height: 203px !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 2147483647 !important;

    background: #000;

    border-radius: 10px;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, .35);

    overflow: visible !important;

    display: block !important;

    transform: none !important;
}


/* Video inside floating container */

.mmg-floating-video .mmg-video-frame {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 10px;

    overflow: hidden !important;

    box-shadow: none;
}

.mmg-floating-video iframe {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    border: 0 !important;

    border-radius: 10px;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.mmg-floating-video-close {
    position: absolute !important;

    top: -14px !important;
    right: -14px !important;

    width: 32px !important;
    height: 32px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;

    border-radius: 50% !important;

    background: #dc3545 !important;
    color: #fff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 18px !important;
    line-height: 1 !important;

    cursor: pointer !important;

    z-index: 2147483647 !important;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .35);
}

.mmg-floating-video-close:hover {
    background: #bb2d3b !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .mmg-floating-video {
        width: calc(100vw - 30px) !important;
        height: auto !important;
        aspect-ratio: 16 / 9;

        right: 15px !important;
        bottom: 15px !important;
    }

    .mmg-floating-video-close {
        top: -11px !important;
        right: -8px !important;

        width: 30px !important;
        height: 30px !important;

        font-size: 17px !important;
    }
}