/* =============================================================
   MedMak Construction - Main Stylesheet
   Palette derived from brand logo: Black + Golden/Amber
   ============================================================= */

:root {
    --mm-black: #0e0e0e;
    --mm-dark: #171717;
    --mm-dark-2: #222222;
    --mm-gold: #f5a623;
    --mm-gold-dark: #cf8a12;
    --mm-gold-light: #ffcb6b;
    --mm-white: #ffffff;
    --mm-gray: #6b6b6b;
    --mm-light-bg: #f7f7f5;
    --mm-border: #e7e5e0;
    --mm-font: 'Poppins', 'Segoe UI', Arial, sans-serif;
    --mm-transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--mm-font);
    color: var(--mm-dark);
    background-color: var(--mm-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--mm-transition);
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mm-font);
    font-weight: 700;
    color: var(--mm-black);
}

.text-gold { color: var(--mm-gold) !important; }
.bg-gold { background-color: var(--mm-gold) !important; }
.bg-black-mm { background-color: var(--mm-black) !important; }
.bg-light-mm { background-color: var(--mm-light-bg) !important; }

/* Rendered output of the admin panel's rich-text (WYSIWYG) description
   fields - keeps paragraph/list spacing tidy wherever it's dropped in. */
.rich-text-content {
    max-width: 100%;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
.rich-text-content * {
    max-width: 100%;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.rich-text-content p { margin-bottom: 0.85rem; }
.rich-text-content p:last-child { margin-bottom: 0; }
.rich-text-content ul,
.rich-text-content ol { margin-bottom: 0.85rem; padding-left: 1.25rem; }
.rich-text-content ul:last-child,
.rich-text-content ol:last-child { margin-bottom: 0; }
.rich-text-content a { color: var(--mm-gold-dark); text-decoration: underline; }
.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 { color: var(--mm-black); margin: 1rem 0 0.6rem; line-height: 1.3; }
.rich-text-content h1:first-child,
.rich-text-content h2:first-child,
.rich-text-content h3:first-child,
.rich-text-content h4:first-child,
.rich-text-content h5:first-child,
.rich-text-content h6:first-child { margin-top: 0; }
.rich-text-content blockquote {
    margin: 1rem 0;
    padding: 10px 18px;
    border-left: 3px solid var(--mm-gold);
    background: var(--mm-light-bg);
    color: var(--mm-dark);
}
.rich-text-content hr { margin: 1.25rem 0; border-top: 1px solid var(--mm-border); }
.rich-text-content table {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 0.85rem;
    border-collapse: collapse;
    table-layout: fixed;
    overflow-wrap: break-word;
}
.rich-text-content th,
.rich-text-content td {
    border: 1px solid var(--mm-border);
    padding: 8px 10px;
    text-align: left;
    word-break: break-word;
}
.rich-text-content th { background: var(--mm-light-bg); font-weight: 700; }
/* Word tables/paragraphs sometimes ship a fixed pixel width or float inline -
   both would force horizontal overflow, so they're neutralized here. */
.rich-text-content img { max-width: 100%; height: auto; }
@media (max-width: 575.98px) {
    .rich-text-content table,
    .rich-text-content thead,
    .rich-text-content tbody,
    .rich-text-content th,
    .rich-text-content td,
    .rich-text-content tr { display: block; width: 100% !important; }
    .rich-text-content th, .rich-text-content td { border-bottom: none; }
    .rich-text-content tr { border: 1px solid var(--mm-border); margin-bottom: 8px; }
}

.btn-gold {
    background-color: var(--mm-gold);
    border: 2px solid var(--mm-gold);
    color: var(--mm-black);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: var(--mm-transition);
}
.btn-gold:hover {
    background-color: transparent;
    color: var(--mm-gold);
    border-color: var(--mm-gold);
}

.btn-outline-mm {
    background-color: transparent;
    border: 2px solid var(--mm-white);
    color: var(--mm-white);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: inline-block;
}
.btn-outline-mm:hover {
    background-color: var(--mm-white);
    color: var(--mm-black);
}

.btn-black {
    background-color: var(--mm-black);
    border: 2px solid var(--mm-black);
    color: var(--mm-white);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: inline-block;
}
.btn-black:hover {
    background-color: var(--mm-gold);
    border-color: var(--mm-gold);
    color: var(--mm-black);
}

.section-padding { padding: 90px 0; }
@media (max-width: 768px) {
    .section-padding { padding: 55px 0; }
}

.section-title-wrap { margin-bottom: 50px; }
.section-title-wrap .subtitle {
    color: var(--mm-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.section-title-wrap .subtitle::before {
    content: '';
    width: 26px;
    height: 3px;
    background: var(--mm-gold);
    display: inline-block;
}
.section-title-wrap h2 {
    font-size: 2.4rem;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .section-title-wrap h2 { font-size: 1.7rem; }
}

/* ---------------- Top Bar ---------------- */
.top-bar {
    background: var(--mm-black);
    color: #cfcfcf;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a {
    color: #cfcfcf;
}
.top-bar a:hover { color: var(--mm-gold); }
.top-bar .divider {
    color: #555;
    margin: 0 12px;
}
.top-bar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    margin-left: 8px;
    color: #fff;
}
.top-bar .social-icons a:hover {
    background: var(--mm-gold);
    color: var(--mm-black);
}

/* ---------------- Navbar ---------------- */
.mm-navbar {
    background: var(--mm-white);
    box-shadow: 0 2px 18px rgba(0,0,0,0.06);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.mm-navbar .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 24px;
    display: flex;
    align-items: center;
}
.mm-navbar .navbar-brand img {
    max-height: 78px;
    height: auto;
    width: auto;
    display: block;
}
@media (max-width: 991px) {
    .mm-navbar .navbar-brand img {
        max-height: 54px;
    }
}
.mm-navbar .navbar-nav {
    align-items: center;
}
.mm-navbar .nav-item {
    position: relative;
}
.mm-navbar .nav-link {
    color: var(--mm-black) !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 10px 16px !important;
    letter-spacing: 0.3px;
}
.mm-navbar .nav-item.active > .nav-link,
.mm-navbar .nav-link:hover {
    color: var(--mm-gold) !important;
}
.mm-navbar .dropdown-menu {
    border: none;
    border-radius: 0;
    border-top: 3px solid var(--mm-gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
    padding: 8px 0;
    margin-top: 0;
    min-width: 240px;
}
.mm-navbar .dropdown-item {
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mm-dark);
}
.mm-navbar .dropdown-item:hover,
.mm-navbar .dropdown-item:focus {
    background: var(--mm-black);
    color: var(--mm-gold);
}
.mm-navbar .btn-gold {
    padding: 10px 24px;
}

@media (min-width: 992px) {
    .mm-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
    .mm-navbar .dropdown-menu {
        display: none;
        position: absolute;
    }
}

/* ---------------- Hero Slider ---------------- */
.hero-slider {
    position: relative;
    height: 92vh;
    min-height: 560px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14,14,14,0.86) 0%, rgba(14,14,14,0.55) 55%, rgba(14,14,14,0.35) 100%);
}
.hero-slide .slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 720px;
}
.hero-slide .slide-content .tagline {
    color: var(--mm-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: inline-block;
    border-left: 3px solid var(--mm-gold);
    padding-left: 12px;
}
.hero-slide .slide-content h1 {
    color: #fff;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-slide .slide-content p {
    font-size: 1.15rem;
    color: #e6e6e6;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .hero-slider { height: 82vh; }
    .hero-slide .slide-content h1 { font-size: 2.1rem; }
    .hero-slide .slide-content p { font-size: 1rem; }
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.hero-nav button {
    width: 42px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--mm-transition);
}
.hero-nav button.active { background: var(--mm-gold); width: 60px; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}
.hero-arrow:hover { background: var(--mm-gold); color: var(--mm-black); border-color: var(--mm-gold); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }
@media (max-width: 768px) {
    .hero-arrow { display: none; }
}

/* ---------------- Quick Info Bar (Homepage) ---------------- */
.quick-info-bar {
    background: var(--mm-black);
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.quick-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}
.quick-info-bar .info-item:last-child { border-right: none; }
.quick-info-bar .info-item i {
    font-size: 1.9rem;
    color: var(--mm-gold);
}
.quick-info-bar .info-item h6 {
    color: #fff;
    margin-bottom: 2px;
    font-size: 0.95rem;
}
.quick-info-bar .info-item span {
    font-size: 0.82rem;
    color: #b7b7b7;
}
@media (max-width: 991px) {
    .quick-info-bar { margin-top: 0; }
    .quick-info-bar .info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ---------------- About Home Section ---------------- */
.about-home-img {
    position: relative;
}
.about-home-img img {
    border-radius: 4px;
    width: 100%;
    object-fit: cover;
}
.about-home-img .exp-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: var(--mm-gold);
    color: var(--mm-black);
    text-align: center;
    padding: 22px 26px;
    border-radius: 4px;
}
.about-home-img .exp-badge strong {
    font-size: 2.4rem;
    display: block;
    line-height: 1;
    font-weight: 800;
}
.about-home-img .exp-badge span {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}
@media (max-width: 767px) {
    .about-home-img .exp-badge { right: 10px; bottom: -18px; padding: 14px 18px; }
    .about-home-img .exp-badge strong { font-size: 1.7rem; }
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.feature-list li i {
    color: var(--mm-black);
    background: var(--mm-gold);
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 2px;
}

/* ---------------- Service Cards ---------------- */
.service-card {
    background: var(--mm-white);
    border: 1px solid var(--mm-border);
    padding: 40px 30px;
    text-align: left;
    height: 100%;
    transition: var(--mm-transition);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    background: var(--mm-black);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.service-card .icon-box {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--mm-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--mm-gold);
    margin-bottom: 22px;
    transition: var(--mm-transition);
}
.service-card:hover .icon-box { background: var(--mm-gold); color: var(--mm-black); }
.service-card h4 { font-size: 1.15rem; margin-bottom: 12px; transition: var(--mm-transition); }
.service-card:hover h4 { color: #fff; }
.service-card p { color: var(--mm-gray); margin-bottom: 18px; font-size: 0.92rem; transition: var(--mm-transition); }
.service-card:hover p { color: #bbb; }
.service-card .read-more { color: var(--mm-black); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.service-card:hover .read-more { color: var(--mm-gold); }

.service-card-img {
    height: 230px;
    overflow: hidden;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-detail-card:hover .service-card-img img { transform: scale(1.08); }
.service-detail-card { border: 1px solid var(--mm-border); background: #fff; height: 100%; }
.service-detail-card .body { padding: 26px; }

/* ---------------- Why Choose Us / Stats ---------------- */
.stats-section {
    background: linear-gradient(rgba(10,10,10,0.88), rgba(10,10,10,0.88)), url('https://images.unsplash.com/photo-1517581177682-a085bb7ffb15?w=1920&h=700&fit=crop&q=80') center/cover no-repeat;
    color: #fff;
}
.stat-item { text-align: center; padding: 20px; }
.stat-item i { font-size: 2.3rem; color: var(--mm-gold); margin-bottom: 12px; display:block; }
.stat-item .num {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-item .lbl {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #c9c9c9;
    margin-top: 8px;
}

/* ---------------- Get A Quote - "How It Works" steps ---------------- */
.quote-step { text-align: center; padding: 10px; }
.quote-step .step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mm-gold);
    color: var(--mm-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 18px;
}
.quote-step h5 { margin-bottom: 8px; }

/* ---------------- 404 Error Page ---------------- */
.error-404-code {
    font-size: 9rem;
    font-weight: 800;
    line-height: 1;
    color: var(--mm-black);
    margin-bottom: 6px;
}
.error-404-code span { color: var(--mm-gold); }
@media (max-width: 575.98px) {
    .error-404-code { font-size: 5.5rem; }
}

/* ---------------- Project Cards ---------------- */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 340px;
    cursor: pointer;
}
.project-card:focus-visible {
    outline: 3px solid var(--mm-gold);
    outline-offset: 2px;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.1); }
.project-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    color: #fff;
}
.project-card .cat-badge {
    background: var(--mm-gold);
    color: var(--mm-black);
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 10px;
    align-self: flex-start;
    border-radius: 2px;
}
.project-card h5 { color: #fff; margin-bottom: 4px; }
.project-card .loc { font-size: 0.85rem; color: #ccc; }
.project-card .loc i { color: var(--mm-gold); margin-right: 4px; }
.project-card .view-details-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mm-gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 12px;
    opacity: 0;
    transform: translateY(6px);
    transition: var(--mm-transition);
}
.project-card:hover .view-details-link,
.project-card:focus-visible .view-details-link {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------- Project Detail Modal ---------------- */
.pd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.pd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mm-light-bg);
    color: var(--mm-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 30px;
}
.pd-meta-item i { color: var(--mm-gold); }

/* Smooth "fade + rise" entrance for modals using .modal-fade-polished
   (currently the project detail modal). Bootstrap's own .fade classes
   still drive the backdrop dim and the closing transition - this keyframe
   only layers a more polished entrance on top, so opening feels custom
   while closing stays perfectly smooth. */
@keyframes fade-in-modal {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-fade-polished .modal-dialog {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease-in-out;
}
.modal-fade-polished .modal-content {
    border: none;
    border-radius: 10px;
    border-top: 3px solid var(--mm-gold);
    box-shadow: 0 25px 60px rgba(14, 14, 14, 0.35);
    overflow: hidden;
}
.modal-fade-polished.show .modal-content {
    animation: fade-in-modal 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

@media (prefers-reduced-motion: reduce) {
    .modal-fade-polished .modal-dialog,
    .modal-fade-polished.show .modal-content {
        animation: none !important;
        transition: none !important;
    }
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.project-filters .filter-btn {
    border: 1px solid var(--mm-border);
    background: #fff;
    color: var(--mm-dark);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--mm-transition);
}
.project-filters .filter-btn:hover,
.project-filters .filter-btn.active {
    background: var(--mm-black);
    color: var(--mm-gold);
    border-color: var(--mm-black);
}

/* ---------------- CTA Band ---------------- */
.cta-band {
    background: var(--mm-black);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.cta-band h3 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #bbb; margin-bottom: 0; }

/* ---------------- Our Clients / Partners Marquee ---------------- */
.clients-marquee-section {
    padding: 70px 0 85px;
    background-color: var(--mm-white);
    overflow: hidden;
}
.clients-marquee-section .section-title-wrap { margin-bottom: 40px; }

.clients-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: mmClientsScroll 30s linear infinite;
    will-change: transform;
}
.clients-marquee:hover .clients-track {
    animation-play-state: paused;
}
.client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 130px;
    padding: 0 30px;
}
.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: var(--mm-transition);
}
.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}
@keyframes mmClientsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .clients-marquee-section { padding: 50px 0 60px; }
    .client-logo { width: 150px; height: 90px; padding: 0 18px; }
    .clients-track { animation-duration: 18s; }
}
@media (max-width: 480px) {
    .client-logo { width: 125px; height: 75px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .clients-track { animation: none; }
    .clients-marquee { overflow-x: auto; }
}

/* ---------------- Team ---------------- */
.team-card { text-align: center; }
.team-card .photo {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
}
.team-card .photo img { width: 100%; height: 320px; object-fit: cover; }
.team-card h5 { margin-bottom: 2px; }
.team-card span { color: var(--mm-gold); font-size: 0.85rem; text-transform: uppercase; font-weight: 600; }

/* ---------------- Media Gallery ---------------- */
.media-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}
.media-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s ease; }
.media-item:hover img { transform: scale(1.1); }
.media-item .cap {
    position: absolute;
    inset: 0;
    background: rgba(14,14,14,0.55);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--mm-transition);
    color: #fff;
    text-align: center;
    padding: 16px;
}
.media-item:hover .cap { opacity: 1; }
.media-item .cap i { font-size: 1.8rem; color: var(--mm-gold); }

/* ---------------- Careers ---------------- */
.job-card {
    border: 1px solid var(--mm-border);
    padding: 28px;
    margin-bottom: 20px;
    transition: var(--mm-transition);
    background: #fff;
}
.job-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--mm-gold); }
.job-card .job-tag {
    background: var(--mm-light-bg);
    color: var(--mm-black);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-right: 8px;
    display: inline-block;
}

/* ---------------- Contact Page ---------------- */
.contact-info-card {
    background: var(--mm-black);
    color: #fff;
    padding: 40px 30px;
    border-radius: 4px;
    height: 100%;
}
.contact-info-card i { color: var(--mm-gold); }
.office-card {
    border: 1px solid var(--mm-border);
    padding: 24px;
    border-radius: 4px;
    height: 100%;
    transition: var(--mm-transition);
}
.office-card:hover { border-color: var(--mm-gold); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.office-card .flag-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mm-light-bg);
    color: var(--mm-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.contact-map-img {
    display: block;
    height: auto;
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid rgba(245,166,35,0.25);
    box-shadow: 0 15px 40px rgba(14,14,14,0.12);
}

.mm-form label { font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.mm-form .form-control, .mm-form .form-select {
    border-radius: 2px;
    border: 1px solid var(--mm-border);
    padding: 12px 14px;
    font-size: 0.92rem;
}
.mm-form .form-control:focus, .mm-form .form-select:focus {
    border-color: var(--mm-gold);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}

/* ---------------- Page Header (breadcrumb banner) ---------------- */
.page-header {
    background: linear-gradient(rgba(10,10,10,0.82), rgba(10,10,10,0.82)), url('https://images.unsplash.com/photo-1523217582562-09d0def993a6?w=1920&h=500&fit=crop&q=80') center/cover no-repeat;
    padding: 100px 0 60px;
    color: #fff;
    text-align: center;
}
.page-header h1 { color: #fff; font-size: 2.6rem; margin-bottom: 10px; }
.page-header .breadcrumb-nav a { color: #ccc; }
.page-header .breadcrumb-nav a:hover { color: var(--mm-gold); }
.page-header .breadcrumb-nav span { color: var(--mm-gold); }

/* ---------------- Footer ---------------- */
.mm-footer { background: var(--mm-black); color: #bdbdbd; }
.mm-footer .footer-top { padding: 70px 0 30px; }
.mm-footer .footer-logo img { height: 60px; margin-bottom: 18px; }
.mm-footer h5 {
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.mm-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--mm-gold);
}
.mm-footer p { font-size: 0.9rem; line-height: 1.8; }
.mm-footer ul { list-style: none; padding: 0; margin: 0; }
.mm-footer ul li { margin-bottom: 12px; }
.mm-footer ul li a { color: #bdbdbd; font-size: 0.9rem; }
.mm-footer ul li a:hover { color: var(--mm-gold); padding-left: 4px; }
.mm-footer ul.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.mm-footer ul.contact-list i { color: var(--mm-gold); margin-top: 3px; }
.mm-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    color: #fff;
    margin-right: 8px;
}
.mm-footer .social-icons a:hover { background: var(--mm-gold); color: var(--mm-black); }
.mm-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    font-size: 0.85rem;
}
.mm-footer .footer-bottom a { color: var(--mm-gold); }

.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    background: var(--mm-gold);
    color: var(--mm-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--mm-transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--mm-black); color: var(--mm-gold); }

/* ---------------- Misc ---------------- */
.divider-gold {
    width: 60px;
    height: 4px;
    background: var(--mm-gold);
    margin: 0 auto 20px;
}
.pagination .page-link { color: var(--mm-black); }
.pagination .page-item.active .page-link { background: var(--mm-gold); border-color: var(--mm-gold); color: var(--mm-black); }

.alert-mm { border-left: 4px solid var(--mm-gold); background: #fff8ea; }

::selection { background: var(--mm-gold); color: #000; }
