﻿/* =========================================================
   AL MOHANAD MEDICAL MODERN HOME PAGE
========================================================= */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
.mm-home,
.mm-home * {
    box-sizing: border-box;
}

.mm-home {
    width: 100%;
    overflow: hidden;
    color: #1d2433;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.mm-home img {
    max-width: 100%;
}

.mm-container {
    width: 1170px;
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}

.mm-section {
    padding: 90px 0;
}

.mm-section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.mm-section-tag {
    display: inline-block;
    position: relative;
    margin-bottom: 13px;
    padding-left: 40px;
    color: #65569a;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mm-section-tag::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 29px;
    height: 2px;
    border-radius: 10px;
    background: #65569a;
    transform: translateY(-50%);
}

.mm-section-heading h2 {
    position: relative;
    margin: 0;
    padding-bottom: 20px;
    color: #171d37;
    font-size: 43px;
    font-weight: 800;
    line-height: 1.2;
}

.mm-section-heading h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #313967,
        #8b78c2
    );
    transform: translateX(-50%);
}

.mm-section-heading p {
    margin: 20px auto 0;
    color: #687083;
    font-size: 15px;
    line-height: 1.8;
}

.mm-left-heading {
    max-width: none;
    margin: 0;
    text-align: left;
}

.mm-left-heading h2::after {
    left: 0;
    transform: none;
}

.mm-section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 42px;
}

.mm-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 13px 20px;
    border: 1px solid rgba(31, 40, 72, 0.14);
    border-radius: 30px;
    color: #313967 !important;
    background: #ffffff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.35s ease;
}

.mm-view-all:hover {
    border-color: #313967;
    color: #ffffff !important;
    background: #313967;
    transform: translateY(-3px);
}


/* =========================================================
   TICKER
========================================================= */

.mm-ticker-section {
    padding: 20px 0;
    background: #ffffff;
}

.mm-ticker {
    display: table;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(31, 40, 72, 0.12);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(31, 40, 72, 0.08);
}

.mm-ticker-label,
.mm-ticker-content {
    display: table-cell;
    vertical-align: middle;
}

.mm-ticker-label {
    width: 190px;
    padding: 16px 20px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #171d37,
        #313967
    );
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.mm-ticker-label i {
    margin-right: 8px;
}

.mm-ticker-content {
    width: auto;
    padding: 0 15px;
    overflow: hidden;
}

.mm-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 30px;
    color: #313967;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.mm-ticker-star {
    width: 17px !important;
    height: 17px !important;
    object-fit: contain;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.mm-intro-section {
    position: relative;
    padding: 75px 0 100px;
    background:
        radial-gradient(
            circle at 95% 5%,
            rgba(101, 86, 154, 0.13),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f7fb 100%
        );
}

.mm-intro-grid {
    display: grid;
    grid-template-columns: 370px minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.mm-news-card {
    padding: 28px;
    border: 1px solid rgba(31, 40, 72, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(31, 40, 72, 0.12);
}

.mm-card-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 21px;
    border-bottom: 1px solid rgba(31, 40, 72, 0.1);
}

.mm-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #313967,
        #8b78c2
    );
    font-size: 21px;
    box-shadow: 0 12px 25px rgba(49, 57, 103, 0.24);
}

.mm-small-title {
    display: block;
    margin-bottom: 4px;
    color: #8b78c2;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.mm-card-heading h2 {
    margin: 0;
    color: #171d37;
    font-size: 22px;
    font-weight: 800;
}

.mm-news-list {
    margin-top: 18px;
}

.mm-news-item {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 15px;
    color: inherit !important;
    text-decoration: none !important;
    transition: all 0.35s ease;
}

.mm-news-item:hover {
    background: #eef1f8;
    transform: translateX(5px);
}

.mm-news-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}

.mm-news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mm-news-text small,
.mm-news-text strong,
.mm-news-text span {
    display: block;
}

.mm-news-text small {
    margin-bottom: 4px;
    color: #8b78c2;
    font-size: 10px;
    text-transform: uppercase;
}

.mm-news-text strong {
    margin-bottom: 4px;
    color: #171d37;
    font-size: 15px;
}

.mm-news-text span {
    color: #687083;
    font-size: 11px;
    line-height: 1.5;
}

.mm-news-item > i {
    color: #65569a;
    font-size: 19px;
}

.mm-whatsapp-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        #16a760,
        #23c774
    );
    box-shadow: 0 16px 34px rgba(22, 167, 96, 0.22);
    text-decoration: none !important;
    transition: all 0.35s ease;
}

.mm-whatsapp-card:hover {
    color: #ffffff !important;
    transform: translateY(-4px);
}

.mm-whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 23px;
}

.mm-whatsapp-card small,
.mm-whatsapp-card strong {
    display: block;
}

.mm-whatsapp-card small {
    margin-bottom: 4px;
    font-size: 11px;
    opacity: 0.8;
}

.mm-whatsapp-card strong {
    font-size: 14px;
}

.mm-intro-content h1 {
    margin: 0 0 25px;
    color: #171d37;
    font-size: 60px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}

.mm-intro-content h1 span {
    display: block;
    color: #65569a;
}

.mm-intro-content p {
    margin: 0 0 20px;
    color: #687083;
    font-size: 15px;
    line-height: 1.9;
}

.mm-intro-content .mm-intro-lead {
    color: #1d2433;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.7;
}

.mm-service-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 28px 0;
}

.mm-service-point {
    display: flex;
    gap: 14px;
    padding: 19px;
    border: 1px solid rgba(31, 40, 72, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    transition: all 0.35s ease;
}

.mm-service-point:hover {
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(31, 40, 72, 0.1);
    transform: translateY(-5px);
}

.mm-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 13px;
    color: #ffffff;
    background: #313967;
    font-size: 18px;
}

.mm-service-point strong,
.mm-service-point small {
    display: block;
}

.mm-service-point strong {
    margin: 2px 0 6px;
    color: #171d37;
    font-size: 14px;
}

.mm-service-point small {
    color: #687083;
    font-size: 11px;
    line-height: 1.6;
}

.mm-main-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 10px;
    padding: 15px 24px;
    border-radius: 11px;
    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        #171d37,
        #313967
    );
    box-shadow: 0 15px 30px rgba(31, 40, 72, 0.22);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.35s ease;
}

.mm-main-button:hover {
    color: #ffffff !important;
    transform: translateY(-4px);
}


/* =========================================================
   FEATURES
========================================================= */

.mm-features-section {
    padding: 95px 0;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(139, 120, 194, 0.2),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #171d37,
            #313967
        );
}

.mm-light-heading .mm-section-tag {
    color: #d5cfee;
}

.mm-light-heading .mm-section-tag::before {
    background: #d5cfee;
}

.mm-light-heading h2 {
    color: #ffffff;
}

.mm-light-heading p {
    color: rgba(255, 255, 255, 0.68);
}

.mm-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.mm-feature-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    padding: 34px 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.mm-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-11px);
}

.mm-feature-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(255, 255, 255, 0.11);
    font-size: 46px;
    font-weight: 800;
}

.mm-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 27px;
    border-radius: 19px;
    color: #313967;
    background: #ffffff;
    font-size: 27px;
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.18);
    transition: all 0.4s ease;
}

.mm-feature-card:hover .mm-feature-icon {
    color: #ffffff;
    background: #8b78c2;
    transform: rotate(-6deg) scale(1.07);
}

.mm-feature-card h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 21px;
}

.mm-feature-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   LATEST NEWS
========================================================= */

.mm-latest-section {
    background: #ffffff;
}

.mm-event-card {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 37px;
    padding: 37px;
    border: 1px solid rgba(31, 40, 72, 0.12);
    border-radius: 27px;
    background: linear-gradient(
        135deg,
        #f4f6fb,
        #ffffff
    );
    box-shadow: 0 22px 55px rgba(31, 40, 72, 0.12);
}

.mm-event-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mm-event-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: 25px;
    color: #65569a;
    background: rgba(101, 86, 154, 0.11);
    font-size: 12px;
    font-weight: bold;
}

.mm-event-content h3 {
    margin: 0 0 17px;
    color: #171d37;
    font-size: 35px;
    line-height: 1.25;
}

.mm-event-content p {
    margin: 0;
    color: #687083;
    font-size: 15px;
    line-height: 1.9;
}

.mm-event-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mm-event-image {
    position: relative;
    display: block;
    height: 305px;
    overflow: hidden;
    border-radius: 20px;
    background: #171d37;
}

.mm-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.mm-event-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(18, 23, 47, 0.78),
        transparent 65%
    );
}

.mm-event-image > span {
    position: absolute;
    bottom: 18px;
    left: 19px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
}

.mm-event-image:hover img {
    transform: scale(1.09);
}


/* =========================================================
   MAIN VIDEO
========================================================= */

.mm-main-video-section {
    background: #f5f7fb;
}

.mm-main-video {
    width: 930px;
    max-width: 100%;
    margin: 0 auto;
    padding: 13px;
    border-radius: 27px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(31, 40, 72, 0.13);
}

.mm-main-video video {
    display: block;
    width: 100%;
    max-height: 570px;
    border-radius: 19px;
    background: #101525;
}


/* =========================================================
   PRODUCTS DATALIST
========================================================= */

.mm-products-section {
    background: #ffffff;
}

.mm-product-list {
    width: 100%;
    clear: both;
}

.mm-products-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
}

.mm-products-table > tbody > tr > td {
    width: 25% !important;
    padding: 11px !important;
    vertical-align: top !important;
    background: transparent !important;
}

.mm-product-cell {
    width: 100%;
}

.mm-product-card {
    display: block;
    width: 100%;
    min-height: 365px;
    overflow: hidden;
    border: 1px solid rgba(31, 40, 72, 0.12);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 13px 35px rgba(31, 40, 72, 0.09);
    transition: all 0.4s ease;
}

.mm-product-card:hover {
    border-color: rgba(101, 86, 154, 0.35);
    box-shadow: 0 24px 52px rgba(31, 40, 72, 0.18);
    transform: translateY(-8px);
}

.mm-product-image {
    position: relative;
    display: block;
    width: 100%;
    height: 225px;
    overflow: hidden;
    background: #f7f8fb;
    text-decoration: none !important;
}

.mm-product-photo {
    display: block;
    width: 100% !important;
    height: 100% !important;
    padding: 18px;
    border: 0;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.mm-product-card:hover .mm-product-photo {
    transform: scale(1.08);
}

.mm-product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(23, 29, 55, 0.7);
    transition: opacity 0.35s ease;
}

.mm-product-overlay > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    color: #313967;
    background: #ffffff;
    font-size: 19px;
    transform: scale(0.7);
    transition: transform 0.35s ease;
}

.mm-product-card:hover .mm-product-overlay {
    opacity: 1;
}

.mm-product-card:hover .mm-product-overlay > span {
    transform: scale(1);
}

.mm-product-info {
    padding: 20px;
    text-align: left;
}

.mm-product-category {
    display: block;
    margin-bottom: 8px;
    color: #65569a;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.mm-product-info h3 {
    min-height: 44px;
    margin: 0 0 15px;
    color: #171d37;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.mm-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #313967 !important;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none !important;
}

.mm-card-link i {
    transition: transform 0.3s ease;
}

.mm-card-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   AGENCIES DATALIST
========================================================= */

.mm-agencies-section {
    background: #f5f7fb;
}

.mm-agencies-list {
    width: 100%;
    clear: both;
}

.mm-agencies-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
}

.mm-agencies-table > tbody > tr > td {
    width: 33.333% !important;
    padding: 12px !important;
    vertical-align: top !important;
    background: transparent !important;
}

.mm-agency-cell {
    width: 100%;
}

.mm-agency-card {
    display: block;
    width: 100%;
    min-height: 435px;
    overflow: hidden;
    border: 1px solid rgba(31, 40, 72, 0.12);
    border-radius: 21px;
    background: #ffffff;
    box-shadow: 0 14px 37px rgba(31, 40, 72, 0.09);
    transition: all 0.4s ease;
}

.mm-agency-card:hover {
    box-shadow: 0 25px 55px rgba(31, 40, 72, 0.18);
    transform: translateY(-8px);
}

.mm-agency-image {
    position: relative;
    width: 100%;
    height: 235px;
    overflow: hidden;
    background: #f8f9fc;
}

.mm-agency-image > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    padding: 18px;
    border: 0;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.mm-agency-card:hover .mm-agency-image > img {
    transform: scale(1.07);
}

.mm-agency-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(23, 29, 55, 0.76);
    transition: opacity 0.35s ease;
}

.mm-agency-overlay a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none !important;
    transform: translateY(12px);
    transition: all 0.35s ease;
}

.mm-agency-card:hover .mm-agency-overlay {
    opacity: 1;
}

.mm-agency-card:hover .mm-agency-overlay a {
    transform: translateY(0);
}

.mm-agency-overlay a:hover {
    color: #313967 !important;
    background: #ffffff;
}

.mm-agency-content {
    padding: 21px;
    text-align: left;
}

.mm-agency-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mm-agency-title-row h3 {
    flex: 1;
    margin: 0;
    color: #171d37;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.mm-agency-title-row h3 a {
    color: #171d37 !important;
    text-decoration: none !important;
}

.mm-agency-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.mm-agency-action {
    width: 29px !important;
    height: 29px !important;
    padding: 4px !important;
    border: 1px solid rgba(31, 40, 72, 0.13) !important;
    border-radius: 7px;
    background: #f1f3f8 !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mm-agency-action:hover {
    transform: translateY(-3px);
}

.mm-agency-content p {
    display: block;
    height: 65px;
    margin: 15px 0;
    overflow: hidden;
    color: #687083;
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   VIDEOS
========================================================= */

.mm-videos-section {
    background: #ffffff;
}

.mm-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 21px;
}

.mm-video-card {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    border-radius: 20px;
    background: #171d37;
    box-shadow: 0 15px 37px rgba(31, 40, 72, 0.13);
    text-decoration: none !important;
    transition: all 0.4s ease;
}

.mm-video-card > img {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.88;
    object-fit: cover;
    transition: all 0.55s ease;
}

.mm-video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 20, 43, 0.9),
        transparent 65%
    );
}

.mm-video-card:hover {
    box-shadow: 0 25px 55px rgba(31, 40, 72, 0.2);
    transform: translateY(-8px);
}

.mm-video-card:hover > img {
    opacity: 0.65;
    transform: scale(1.1);
}

.mm-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    color: #313967;
    background: #ffffff;
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.22);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.mm-video-card:hover .mm-video-play {
    color: #ffffff;
    background: #8b78c2;
    transform: translate(-50%, -50%) scale(1.12);
}

.mm-video-info {
    position: absolute;
    right: 19px;
    bottom: 17px;
    left: 19px;
    z-index: 3;
    color: #ffffff;
}

.mm-video-info small,
.mm-video-info strong {
    display: block;
}

.mm-video-info small {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mm-video-info strong {
    font-size: 16px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

.mm-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.mm-reveal.mm-visible {
    opacity: 1;
    transform: translateY(0);
}

.mm-hidden {
    display: none;
}


/* =========================================================
   TABLET
========================================================= */







/* =========================================================
   MOBILE
========================================================= */



/* Disable animation for accessibility */

@media (prefers-reduced-motion: reduce) {

    .mm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}


.mm-whatsapp-icon {
    overflow: hidden;
}

.mm-whatsapp-icon img {
    display: block;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: contain;
}

.mm-service-icon i,
.mm-heading-icon i,
.mm-feature-icon i {
    display: inline-block !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: 1 !important;
}

/* ==================================================
   CLEAN FINAL MOBILE FIX
   Keep this as the LAST code in the CSS file
================================================== */

@media only screen and (max-width: 767px) {

    html,
    body,
    form {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .mm-home {
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        transform: none !important;
    }

    .mm-home section {
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        overflow: hidden !important;
        transform: none !important;
    }

    .mm-home .mm-container {
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin-right: 14px !important;
        margin-left: 14px !important;
        padding: 0 !important;
        transform: none !important;
    }

    .mm-home *,
    .mm-home *::before,
    .mm-home *::after {
        box-sizing: border-box !important;
    }


    /* =============================
       TICKER
    ============================== */

    .mm-ticker-section {
        padding: 12px 0 !important;
    }

    .mm-ticker {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .mm-ticker-label,
    .mm-ticker-content {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .mm-ticker-label {
        padding: 12px !important;
        text-align: center !important;
    }

    .mm-ticker-content {
        padding: 10px !important;
        overflow: hidden !important;
    }


    /* =============================
       INTRODUCTION
    ============================== */

    .mm-intro-section {
        padding: 45px 0 60px !important;
    }

    .mm-intro-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 28px !important;
        margin: 0 !important;
        transform: none !important;
    }

    .mm-intro-content {
        order: 1 !important;
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        transform: none !important;
    }

    .mm-news-card {
        order: 2 !important;
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        transform: none !important;
    }

    .mm-intro-content h1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px !important;
        padding: 0 !important;
        font-size: 34px !important;
        line-height: 1.15 !important;
        letter-spacing: -1px !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-intro-content h1 span {
        display: block !important;
    }

    .mm-intro-content p,
    .mm-intro-lead {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 1.75 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-section-tag {
        padding-left: 0 !important;
        text-align: center !important;
    }

    .mm-section-tag::before {
        display: none !important;
    }


    /* Intro service boxes */

    .mm-service-points {
        display: block !important;
        width: 100% !important;
        margin: 24px 0 !important;
    }

    .mm-service-point {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 115px !important;
        margin: 0 0 14px !important;
        padding: 17px !important;
        text-align: left !important;
        overflow: hidden !important;
    }

    .mm-service-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        flex: 0 0 52px !important;
    }

    .mm-service-point > div:last-child {
        width: calc(100% - 66px) !important;
        min-width: 0 !important;
    }

    .mm-service-point strong,
    .mm-service-point small {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-main-button {
        margin: 10px auto 0 !important;
    }


    /* =============================
       COMPANY NEWS CARD
    ============================== */

    .mm-news-item {
        display: grid !important;
        grid-template-columns: 58px minmax(0, 1fr) 20px !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 11px 5px !important;
    }

    .mm-news-image {
        width: 58px !important;
        height: 58px !important;
    }

    .mm-news-text {
        display: block !important;
        min-width: 0 !important;
        text-align: left !important;
    }

    .mm-news-text small,
    .mm-news-text strong,
    .mm-news-text span {
        width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-whatsapp-card {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        overflow: hidden !important;
    }


    /* =============================
       FEATURES
    ============================== */

    .mm-features-section {
        padding: 60px 0 !important;
    }

    .mm-section-heading {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 32px !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .mm-section-heading h2 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 29px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-section-heading p {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-features-grid {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .mm-feature-card {
        position: relative !important;
        left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 300px !important;
        margin: 0 0 18px !important;
        padding: 30px 20px !important;
        text-align: center !important;
        transform: none !important;
        overflow: hidden !important;
    }

    .mm-feature-icon {
        margin: 0 auto 22px !important;
    }

    .mm-feature-card h3 {
        width: 100% !important;
        margin: 0 0 13px !important;
        text-align: center !important;
    }

    .mm-feature-card p {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }


    /* =============================
       EVENT
    ============================== */

    .mm-event-card {
        display: block !important;
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 18px !important;
        transform: none !important;
        overflow: hidden !important;
    }

    .mm-event-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 24px !important;
        text-align: center !important;
    }

    .mm-event-content h3 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 26px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-event-content p {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-event-gallery {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .mm-event-image {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 235px !important;
        margin: 0 0 15px !important;
        overflow: hidden !important;
    }

    .mm-event-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }


    /* =============================
       MAIN VIDEO
    ============================== */

    .mm-main-video {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 8px !important;
    }

    .mm-main-video video {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }


    /* =============================
       PRODUCTS AND AGENCIES
    ============================== */

    .mm-section-top {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .mm-left-heading {
        text-align: center !important;
    }

    .mm-left-heading h2::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .mm-view-all {
        margin-top: 18px !important;
    }

    .mm-products-table,
    .mm-products-table tbody,
    .mm-products-table tr,
    .mm-products-table td,
    .mm-agencies-table,
    .mm-agencies-table tbody,
    .mm-agencies-table tr,
    .mm-agencies-table td {
        display: block !important;
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }

    .mm-products-table td,
    .mm-agencies-table td {
        padding: 8px 0 !important;
    }

    .mm-product-card,
    .mm-agency-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .mm-product-image,
    .mm-agency-image {
        width: 100% !important;
        height: 250px !important;
    }

    .mm-product-photo,
    .mm-agency-image > img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }


    /* =============================
       VIDEOS
    ============================== */

    .mm-videos-grid {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .mm-video-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 230px !important;
        margin: 0 0 18px !important;
    }

    .mm-video-card > img {
        width: 100% !important;
        height: 100% !important;
        padding: 12px !important;
        background: #f7f8fb !important;
        object-fit: contain !important;
    }


    /* Stop reveal animation causing displaced content */

    .mm-reveal,
    .mm-reveal.mm-visible {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================
   MOBILE FIX FOR PRODUCTS & AGENCIES ONLY
========================================= */

@media only screen and (max-width: 767px) {

    /* PRODUCTS */

    .mm-products-table,
    .mm-products-table tbody,
    .mm-products-table tr {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }

    .mm-products-table > tbody > tr > td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 0 !important;
    }

    .mm-product-cell,
    .mm-product-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .mm-product-card {
        min-height: 0 !important;
        margin: 0 0 20px !important;
    }

    .mm-product-image {
        width: 100% !important;
        height: 280px !important;
    }

    .mm-product-photo {
        width: 100% !important;
        height: 100% !important;
        padding: 20px !important;
        object-fit: contain !important;
    }

    .mm-product-info {
        width: 100% !important;
        padding: 22px !important;
    }


    /* AGENCIES */

    .mm-agencies-table,
    .mm-agencies-table tbody,
    .mm-agencies-table tr {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }

    .mm-agencies-table > tbody > tr > td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 0 !important;
    }

    .mm-agency-cell,
    .mm-agency-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .mm-agency-card {
        min-height: 0 !important;
        margin: 0 0 20px !important;
    }

    .mm-agency-image {
        width: 100% !important;
        height: 280px !important;
    }

    .mm-agency-image > img {
        width: 100% !important;
        height: 100% !important;
        padding: 20px !important;
        object-fit: contain !important;
    }

    .mm-agency-content {
        width: 100% !important;
        padding: 22px !important;
    }

    .mm-agency-title-row {
        display: flex !important;
        width: 100% !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
    }

    .mm-agency-title-row h3 {
        width: auto !important;
        min-width: 0 !important;
        flex: 1 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mm-agency-content p {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}