﻿/*
 * homepage-modern.css — UI مدرن صفحه اصلی و فوتر
 * برای برگشت: حذف لینک این فایل از master-fa.Master و کلاس‌های bmc-home / bmc-footer
 */

:root {
    --bmc-navy: #03335b;
    --bmc-navy-deep: #16335b;
    --bmc-blue-light: #8dd8f8;
    --bmc-blue-pale: #add8e6;
    --bmc-text: #1e2d3d;
    --bmc-muted: #5a6570;
    --bmc-surface: #f4f7fa;
    --bmc-border: #e6edf3;
    --bmc-radius: 14px;
    --bmc-radius-sm: 10px;
    --bmc-section-pad: 64px;
}

/* ─── Homepage wrapper ─── */
.bmc-home .bmc-section {
    padding: var(--bmc-section-pad) 0;
}

.bmc-home .bmc-section--alt {
    background: var(--bmc-surface);
}

.bmc-home .bmc-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    direction: rtl;
}

.bmc-home .bmc-section-header__label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    background: rgba(141, 216, 248, 0.2);
    color: var(--bmc-navy);
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.bmc-home .bmc-section-header__title {
    margin: 0 0 12px !important;
    color: var(--bmc-navy) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 !important;
}

.bmc-home .bmc-section-header__title::before,
.bmc-home .bmc-section-header__title::after {
    display: none !important;
}

.bmc-home .bmc-section-header__desc {
    margin: 0;
    color: var(--bmc-muted);
    font-size: 15px;
    line-height: 1.8;
}

.bmc-home .bmc-section-header__desc strong {
    color: var(--bmc-navy);
}

/* Hero title overlay */
.bmc-home .hero-area .mainsection-title {
    background: linear-gradient(180deg, rgba(3, 51, 91, 0) 0%, rgba(22, 51, 91, 0.88) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 24px 20px 28px;
}

.bmc-home .hero-area .mainsection-title h1 {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.bmc-home .hero-area .mainsection-title h2 {
    font-size: clamp(18px, 2.5vw, 28px) !important;
    font-weight: 500;
    opacity: 0.95;
    margin: 0;
}

.bmc-home .hero-area .mainsection-title h3 {
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 10px;
    line-height: 1.7;
}

/* Milestones */
.bmc-home .bmc-milestones-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #03335b 0%, #16335b 45%, #0a2847 100%);
    padding: var(--bmc-section-pad) 0;
}

.bmc-home .bmc-milestones-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(141, 216, 248, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(141, 216, 248, 0.1) 0%, transparent 40%),
        linear-gradient(90deg, transparent 49.5%, rgba(141, 216, 248, 0.04) 50%, transparent 50.5%);
    background-size: auto, auto, 48px 48px;
    pointer-events: none;
}

.bmc-home .bmc-milestones-section .container {
    position: relative;
    z-index: 1;
}

.bmc-home .bmc-milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    direction: rtl;
}

.bmc-home .bmc-milestone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px 32px;
    overflow: hidden;
    background: linear-gradient(155deg, #16335b 0%, #03335b 50%, #0c4d7a 100%);
    border: 1px solid rgba(141, 216, 248, 0.28);
    border-radius: var(--bmc-radius);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bmc-home .bmc-milestone::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--bmc-blue-light) 0%, #5ec4e8 50%, var(--bmc-blue-light) 100%);
}

.bmc-home .bmc-milestone:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(141, 216, 248, 0.55);
}

.bmc-home .bmc-milestone__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    background: rgba(141, 216, 248, 0.12);
    color: var(--bmc-blue-light);
    border: 1px solid rgba(141, 216, 248, 0.35);
    border-radius: 12px;
    font-size: 24px;
}

.bmc-home .bmc-milestone__year {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 14px;
    background: rgba(141, 216, 248, 0.18);
    color: var(--bmc-blue-light);
    border: 1px solid rgba(141, 216, 248, 0.4);
    font-size: 17px;
    font-weight: 700;
    border-radius: 6px;
}

.bmc-home .bmc-milestone b {
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
}

.bmc-home .bmc-milestone p {
    margin: 8px 0 0;
    color: rgba(173, 216, 230, 0.85);
    font-size: 13px;
}

/* Products intro */
.bmc-home #Products.bmc-section {
    padding-top: 48px;
}

.bmc-home .bmc-products-intro {
    max-width: 800px;
    margin: 0 auto 32px;
    text-align: center;
    color: var(--bmc-muted);
    font-size: 16px;
    line-height: 1.9;
    direction: rtl;
}

.bmc-home .bmc-products-intro strong {
    color: var(--bmc-navy);
}

/* Card overrides — navy palette on homepage */
.bmc-home .bmc-btn--primary {
    background: var(--bmc-navy) !important;
}

.bmc-home .bmc-btn--primary:hover {
    background: var(--bmc-navy-deep) !important;
}

/* Category grid — homepage: 6 per row on desktop */
.bmc-home #Products .bmc-cat-grid > .bmc-cat-col {
    padding-right: 10px;
    padding-left: 10px;
}

@media (min-width: 1200px) {
    .bmc-home #Products .bmc-cat-grid > .bmc-cat-col {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
        width: 16.666667%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .bmc-home #Products .bmc-cat-grid > .bmc-cat-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .bmc-home #Products .bmc-cat-grid > .bmc-cat-col {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }

    .bmc-home #Products .bmc-card--category .bmc-card__media {
        padding: 4px 0 2px;
    }

    .bmc-home #Products .bmc-card--category .bmc-card__body {
        padding: 8px 10px 10px !important;
    }

    .bmc-home #Products .bmc-card--category .bmc-card__title {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }
}

.bmc-home #Products .bmc-card--category .bmc-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bmc-home #Products .bmc-card--category .bmc-card__media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.bmc-home #Products .bmc-card--category .bmc-card__media .productimg,
.bmc-home #Products .bmc-card--category .bmc-card__media .card-img-top {
    width: 80%;
    max-width: 80%;
    height: auto;
    margin: 20px;
    transform: none;
}

.bmc-home #Products .bmc-card--category.card {
    height: auto !important;
    min-height: 0 !important;
}

.bmc-home #Products .bmc-card--category .bmc-card__body {
    flex: 0 0 auto;
    padding: 10px 12px 12px !important;
}

.bmc-home #Products .bmc-card--category .bmc-card__title {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bmc-home #Products .bmc-card--category .bmc-card__badge {
    font-size: 10px;
    padding: 4px 8px;
    top: 8px;
    right: 8px;
}

.bmc-home #Products .bmc-card--category .bmc-card__actions {
    gap: 6px;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    margin-top: 0 !important;
}

.bmc-home #Products .bmc-card__view-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bmc-navy);
    color: #fff !important;
    font-size: 22px;
    line-height: 1;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.bmc-home #Products .bmc-card__view-icon:hover {
    background: var(--bmc-navy-deep);
    transform: translateX(-2px);
    color: #fff !important;
}

.bmc-home #Products .bmc-card--category:hover {
    cursor: pointer;
}

.bmc-home .bmc-btn--outline:hover {
    color: var(--bmc-navy) !important;
    border-color: var(--bmc-navy) !important;
}

.bmc-home .bmc-card__badge {
    background: rgba(3, 51, 91, 0.92) !important;
}

.bmc-home .bmc-card__category {
    width: max-content;
    background: rgba(141, 216, 248, 0.2) !important;
    color: var(--bmc-navy) !important;
}

.bmc-home .bmc-card__title a:hover {
    color: var(--bmc-navy) !important;
}

/* CTA block */
.bmc-home .bmc-cta-section {
    background: linear-gradient(135deg, var(--bmc-navy-deep) 0%, var(--bmc-navy) 100%);
    padding: var(--bmc-section-pad) 0;
}

.bmc-home .bmc-cta-card {
    max-width: 520px;
    margin: 0 auto 32px;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(141, 216, 248, 0.25);
    border-radius: var(--bmc-radius);
    text-align: center;
    direction: rtl;
    backdrop-filter: blur(8px);
}

.bmc-home .bmc-cta-card__title {
    margin: 0 0 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
}

.bmc-home .bmc-cta-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bmc-home .bmc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--bmc-radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1.4;
}

.bmc-home .bmc-cta-btn--primary {
    background: var(--bmc-blue-light);
    color: var(--bmc-navy) !important;
}

.bmc-home .bmc-cta-btn--primary:hover {
    background: #a8e4f5;
    transform: translateY(-1px);
}

.bmc-home .bmc-cta-btn--secondary {
    background: #fff;
    color: var(--bmc-navy) !important;
}

.bmc-home .bmc-cta-btn--secondary:hover {
    background: var(--bmc-surface);
}

.bmc-home .bmc-cta-btn--outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bmc-home .bmc-cta-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.bmc-home .bmc-products-tagline {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.9;
    direction: rtl;
}

.bmc-footer .footer-top .footer-links p a span {
    color: var(--bmc-blue-pale);
}

.bmc-footer .bmc-footer__about-body .leadtext a span,
.bmc-footer .bmc-footer__about-body .leadtext a b {
    color: var(--bmc-blue-pale);
}

/* Override old features section bg on CTA */
.bmc-home .bmc-cta-section.features {
    background: linear-gradient(135deg, var(--bmc-navy-deep) 0%, var(--bmc-navy) 100%) !important;
}

.bmc-home .bmc-cta-section .h2products {
    color: rgba(255, 255, 255, 0.9);
}


/* Blog section */
.bmc-home #blog-main.bmc-section {
    background: #fff;
}

.bmc-home .bmc-seo-block {
    max-width: 900px;
    margin: 48px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--bmc-border);
    direction: rtl;
    text-align: justify;
}

.bmc-home .bmc-seo-block p {
    color: var(--bmc-muted);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.bmc-home .bmc-seo-block__more {
    display: none;
}

.bmc-home .bmc-seo-block.is-expanded .bmc-seo-block__more {
    display: block;
}

.bmc-home .bmc-seo-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 18px;
    background: var(--bmc-navy) !important;
    border: 1px solid var(--bmc-navy) !important;
    border-radius: var(--bmc-radius-sm);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bmc-home .bmc-seo-toggle:hover {
    background: var(--bmc-navy-deep) !important;
    border-color: var(--bmc-navy-deep) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.bmc-home .bmc-seo-toggle i {
    transition: transform 0.2s ease;
}

.bmc-home .bmc-seo-block.is-expanded .bmc-seo-toggle i {
    transform: rotate(180deg);
}

.bmc-home .center-more {
    margin-top: 36px;
    text-align: center;
}

.bmc-home .bmc-btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bmc-navy);
    color: #fff !important;
    border-radius: var(--bmc-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.bmc-home .bmc-btn-more:hover {
    background: var(--bmc-navy-deep);
    transform: translateY(-2px);
    color: #fff !important;
}

/* FAQ */
.bmc-home #faq.bmc-section {
    background: var(--bmc-surface);
    padding: var(--bmc-section-pad) 0;
}

.bmc-home .bmc-faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    direction: rtl;
}

.bmc-home .bmc-faq__item {
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--bmc-border);
    border-radius: var(--bmc-radius-sm);
    overflow: hidden;
    box-shadow: none !important;
    padding: 0 !important;
    transition: border-color 0.2s ease;
}

.bmc-home .bmc-faq__item.is-open {
    border-color: var(--bmc-blue-light);
}

.bmc-home .bmc-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 18px 20px;
    color: var(--bmc-navy) !important;
    font-size: 15px !important;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.bmc-home .bmc-faq__question::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    font-size: 18px;
    color: var(--bmc-blue-light);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.bmc-home .bmc-faq__item.is-open .bmc-faq__question::after {
    transform: rotate(180deg);
}

.bmc-home .bmc-faq__answer {
    display: none;
    padding: 0 20px 18px;
}

.bmc-home .bmc-faq__item.is-open .bmc-faq__answer {
    display: block;
}

.bmc-home .bmc-faq__answer .faq-body {
    padding-top: 0 !important;
    margin: 0;
    color: var(--bmc-muted);
    font-size: 14px;
    line-height: 1.85;
}

/* Clients */
.bmc-home .clients.bmc-section {
    background: #fff;
}

.bmc-home .clients-box {
    gap: 16px !important;
}

.bmc-home .single-clients {
    width: 110px !important;
    margin: 6px !important;
}

.bmc-home .single-clients img {
    border: 1px solid var(--bmc-border) !important;
    border-radius: var(--bmc-radius-sm);
    padding: 8px;
    background: #fff;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.bmc-home .single-clients:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

/* Contact */
.bmc-home .bmc-contact-section {
    background: var(--bmc-surface);
    padding: var(--bmc-section-pad) 0;
}

.bmc-home .row-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    direction: rtl;
}

.bmc-home .bmc-contact-card {
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--bmc-border);
    border-radius: var(--bmc-radius);
    text-align: center;
}

.bmc-home .bmc-contact-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    background: rgba(141, 216, 248, 0.25);
    color: var(--bmc-navy);
    border-radius: 12px;
    font-size: 22px;
}

.bmc-home .bmc-contact-card__label {
    margin-bottom: 12px;
    color: var(--bmc-navy);
    font-size: 16px;
    font-weight: 700;
}

.bmc-home .bmc-contact-card p,
.bmc-home .bmc-contact-card address {
    margin: 0 0 8px;
    color: var(--bmc-muted);
    font-size: 14px;
    line-height: 1.8;
    font-style: normal;
}

.bmc-home .bmc-contact-card a {
    color: var(--bmc-navy);
    text-decoration: none;
    font-weight: 600;
}

.bmc-home .bmc-contact-card a:hover {
    color: var(--bmc-blue-light);
}

.bmc-home .bmc-contact-card .text-b {
    display: block;
    margin: 12px 0 4px;
    color: var(--bmc-navy);
    font-weight: 600;
    font-size: 13px;
}

/* ─── Footer (.bmc-footer) — site-wide ─── */
.bmc-footer#footer {
    background: var(--bmc-navy-deep);
}

.bmc-footer .footer-top {
    padding: 56px 0 40px;
    background: var(--bmc-navy-deep) !important;
}

.bmc-footer .footer-top .h4::before,
.bmc-footer .footer-top .h4::after {
    display: none;
}

.bmc-footer .footer-top .h4 {
    margin-bottom: 18px;
    padding-bottom: 0;
    font-size: 15px;
    color: #fff;
    border-bottom: 2px solid var(--bmc-blue-light);
    display: inline-block;
    padding-bottom: 8px;
}

.bmc-footer .footer-top .footer-links p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 14px;
    line-height: 1.85;
}

.bmc-footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bmc-footer .footer-top .footer-links ul li {
    border-bottom: none !important;
    padding: 6px 0 !important;
}

.bmc-footer .footer-top .footer-links ul i {
    color: var(--bmc-blue-light) !important;
}

.bmc-footer .footer-top .footer-links ul a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bmc-footer .footer-top .footer-links ul a:hover {
    color: var(--bmc-blue-light) !important;
}

.bmc-footer .bmc-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.bmc-footer .bmc-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(141, 216, 248, 0.3);
    border-radius: 10px;
    color: #fff !important;
    font-size: 18px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bmc-footer .bmc-footer__social a:hover {
    background: rgba(141, 216, 248, 0.2);
    border-color: var(--bmc-blue-light);
    color: var(--bmc-blue-light) !important;
}

.bmc-footer .bmc-footer__enamad {
    display: flex;
    justify-content: center;
    padding: 14px;
    margin-top: 8px;
    background: #fff;
    border-radius: var(--bmc-radius-sm);
}

.bmc-footer .bmc-footer__enamad img {
    width: 140px;
    height: auto;
}

.bmc-footer .bmc-footer__maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.bmc-footer .bmc-footer__map-card {
    overflow: hidden;
    border-radius: var(--bmc-radius-sm);
    border: 1px solid rgba(141, 216, 248, 0.2);
    background: rgba(0, 0, 0, 0.15);
}

.bmc-footer .bmc-footer__map-label {
    display: block;
    padding: 8px 10px;
    background: rgba(3, 51, 91, 0.6);
    color: var(--bmc-blue-light);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.bmc-footer .bmc-footer__map-card iframe {
    display: block;
    width: 100% !important;
    height: 140px !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.bmc-footer .bmc-footer__cta-bar {
    padding: 28px 0;
    background: rgba(3, 51, 91, 0.5);
    border-top: 1px solid rgba(141, 216, 248, 0.15);
    border-bottom: 1px solid rgba(141, 216, 248, 0.15);
    text-align: center;
    direction: rtl;
}

.bmc-footer .bmc-footer__cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.bmc-footer .bmc-footer__cta-text {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.bmc-footer .bmc-footer__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--bmc-blue-light);
    color: var(--bmc-navy) !important;
    border-radius: var(--bmc-radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bmc-footer .bmc-footer__cta-btn:hover {
    background: #a8e4f5;
}

.bmc-footer .call-to-action {
    background: transparent !important;
    padding: 24px 0;
    text-align: center !important;
}

.bmc-footer .call-to-main.center-footer {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    max-width: 220px;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

.bmc-footer .call-to-main img {
    max-width: 160px;
    height: auto;
    opacity: 0.9;
    margin: 0 auto;
}

.bmc-footer .bmc-footer__about-section {
    padding: 32px 0 !important;
    border-top: 1px solid rgba(141, 216, 248, 0.12);
}

.bmc-footer .bmc-footer__about-section .section-title h3 {
    color: #fff !important;
    font-size: 18px !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
}

.bmc-footer .bmc-footer__about-section .section-title h3::before,
.bmc-footer .bmc-footer__about-section .section-title h3::after {
    display: none !important;
}

.bmc-footer .bmc-footer__about-body .leadtext {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.9;
    text-align: justify;
    direction: rtl;
}

.bmc-footer .bmc-footer__about-more {
    display: none;
}

.bmc-footer .bmc-footer__about-section.is-expanded .bmc-footer__about-more {
    display: block;
}

.bmc-footer .bmc-footer__about-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(141, 216, 248, 0.35);
    border-radius: 8px;
    color: var(--bmc-blue-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.bmc-footer .bmc-footer__about-toggle:hover {
    background: rgba(141, 216, 248, 0.1);
}

.bmc-footer .footer-main {
    padding: 24px 0 8px;
}

.bmc-footer .widget-category .category-box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.bmc-footer .widget-category li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bmc-footer .widget-category li::before,
.bmc-footer .widget-category li::after {
    display: none !important;
}

.bmc-footer .widget-category li a {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(141, 216, 248, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 12px !important;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bmc-footer .widget-category li a:hover {
    background: rgba(141, 216, 248, 0.15);
    border-color: var(--bmc-blue-light);
    color: var(--bmc-blue-light) !important;
}

.bmc-footer .copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(141, 216, 248, 0.12);
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 13px;
}

.bmc-footer .credits {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    padding-bottom: 16px;
}

.bmc-footer .credits a {
    color: var(--bmc-blue-pale) !important;
}

/* ─── Mobile ─── */
@media (max-width: 991px) {
    :root {
        --bmc-section-pad: 48px;
    }

    .bmc-home .bmc-milestones {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bmc-home .row-contact {
        grid-template-columns: 1fr;
    }

    .bmc-footer .bmc-footer__maps {
        grid-template-columns: 1fr;
    }

    .bmc-footer .footer-top .col-lg-3 {
        margin-bottom: 28px;
    }
}

@media (max-width: 767px) {
    :root {
        --bmc-section-pad: 40px;
    }

    .bmc-home .hero-area .mainsection-title {
        position: relative;
        background: var(--bmc-navy-deep);
        color: #fff !important;
        backdrop-filter: none;
    }

    .bmc-home .hero-area .mainsection-title h1,
    .bmc-home .hero-area .mainsection-title h2,
    .bmc-home .hero-area .mainsection-title h3 {
        color: #fff !important;
    }

    .bmc-home .bmc-section-header__title {
        font-size: 22px !important;
    }

    .bmc-home .bmc-cta-card {
        padding: 24px 18px;
    }

    .bmc-home .single-clients {
        width: calc(33.33% - 12px) !important;
        min-width: 90px;
    }

    .bmc-home .bmc-contact-card {
        padding: 22px 16px;
    }

    .bmc-footer .bmc-footer__cta-inner {
        flex-direction: column;
    }

    .bmc-footer .bmc-footer__cta-text {
        font-size: 14px;
    }

    .bmc-footer .bmc-footer__map-card iframe {
        height: 160px !important;
    }
}

@media (max-width: 480px) {
    .bmc-home .single-clients {
        width: calc(50% - 10px) !important;
    }
}
