/* =======================================================
   MGE CUSTOM STYLES — Tecnel-inspired Design
   Moz Global Engineering 2026
   Colors: Red #C02128 | Navy #1E3A8A
======================================================= */

/* ── GLOBAL HELPERS ──────────────────────────────────── */
.section-tag {
    display: inline-block;
    background: var(--theme-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 3px;
    margin-bottom: 16px;
}
.theme-btn.btn-two {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    margin-left: 15px;
}
.theme-btn.btn-two:hover {
    background: #fff !important;
    color: var(--secondary-color) !important;
}
.section-tag.light {
    background: rgba(255,255,255,0.2);
}
.section-header {
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 15px;
}
.section-header h2 span,
.mge-about-content h2 span,
.mge-cta-section h2 span {
    color: var(--theme-color);
}
.section-header p {
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}
.section-header.centred {
    text-align: center;
}


/* ── STATS BAR ───────────────────────────────────────── */
.mge-stats-bar {
    background: var(--secondary-color);
    padding: 22px 0;
}
.mge-stats-bar .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
.mge-stats-bar .stat-item:last-child {
    border-right: none;
}
.mge-stats-bar .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--theme-color);
    line-height: 1;
    margin-bottom: 6px;
}
.mge-stats-bar .stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}


/* ── ABOUT SECTION ───────────────────────────────────── */
.mge-about-section,
.mge-about-page-intro {
    padding: 90px 0;
    background: #f8f9fa;
}
.mge-about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.mge-about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.mge-about-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--theme-color);
    color: #fff;
    padding: 22px 28px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(192,33,40,0.35);
}
.mge-about-badge .badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.mge-about-badge .badge-text {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Decorative Image Wrap */
.mge-about-image-wrap {
    position: relative;
    padding: 0 30px 30px 0;
}
.mge-about-image-wrap:before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 80%;
    background: var(--secondary-color);
    border-radius: 4px;
    z-index: 0;
}
.mge-about-image {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.mge-about-content {
    padding: 20px 0 20px 50px;
}
.mge-about-content h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--title-color);
    line-height: 1.3;
    margin-bottom: 20px;
}
.mge-about-content .lead-text {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
}
.mge-about-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 25px;
}
.mge-about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}
.about-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--title-color);
    font-weight: 500;
    margin-bottom: 12px;
}
.about-list-item i {
    color: var(--theme-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Light version for dark backgrounds - Single Column */
.mge-about-list.light-version {
    grid-template-columns: 1fr;
    gap: 15px;
}
.mge-about-list.light-version .about-list-item {
    color: #fff;
    background: rgba(255,255,255,0.05);
    padding: 18px 25px;
    border-radius: 4px;
    border-left: 4px solid var(--theme-color);
    transition: all 0.4s ease;
    margin-bottom: 0;
}
.mge-about-list.light-version .about-list-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(10px);
    border-left-color: #fff;
}
.mge-about-list.light-version .about-list-item i {
    color: var(--theme-color);
    font-size: 1.3rem;
}
.mge-about-list.light-version .about-list-item:hover i {
    color: #fff;
}

/* Why MGE - Horizontal Grid Cards */
.about-list-item-card {
    background: rgba(255,255,255,0.05);
    padding: 35px 30px;
    border-radius: 4px;
    border-top: 3px solid var(--theme-color);
    transition: all 0.4s ease;
    height: calc(100% - 30px);
    margin-bottom: 30px;
}
.about-list-item-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-10px);
    border-top-color: #fff;
}
.about-list-item-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    color: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}
.about-list-item-card:hover .icon-box {
    background: var(--theme-color);
    color: #fff;
}
.about-list-item-card h5 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.about-list-item-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── PREMIUM CORPORATE SEAL (100% Moz Owned) ─────────── */
.mge-stat-badge-large {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    transition: all 0.5s ease;
    cursor: default;
}
.mge-stat-badge-large::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}
.mge-stat-badge-large .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--theme-color);
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.mge-stat-badge-large .text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}
.mge-stat-badge-large:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(192,33,40,0.1);
    border-color: var(--theme-color);
}
.mge-stat-badge-large:hover::before {
    border-color: var(--theme-color);
    animation-duration: 5s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.mge-about-cta {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.mge-about-cta:hover { color: var(--theme-color); }

.mge-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-size: 0.95rem;
    transition: color 0.3s;
}
.mge-contact-link i {
    color: var(--theme-color);
    font-size: 1.2rem;
}
.mge-contact-link:hover { color: var(--theme-color); }

/* ── IDENTITY CARDS ──────────────────────────────────── */
.mge-identity-grid {
    margin-top: 40px;
    display: flex;
    gap: 25px;
}
.mge-identity-card {
    flex: 1;
    background: #fff;
    border-left: 5px solid var(--theme-color);
    padding: 25px;
    margin-bottom: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.mge-identity-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.mge-identity-card.vision {
    border-left-color: var(--secondary-color);
}
.mge-identity-card .icon-box {
    width: 45px;
    height: 45px;
    background: rgba(192,33,40,0.1);
    color: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* ── INDUSTRY SHOWCASE GRID ──────────────────────────── */
.mge-industry-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.mge-showcase-card {
    position: relative;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.mge-showcase-card .bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) grayscale(0.3);
    transition: all 0.6s ease;
}
.mge-showcase-card .overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,46,65,0.98) 0%, rgba(0,46,65,0.6) 50%, transparent 100%);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s ease;
    z-index: 2;
}
.mge-showcase-card .icon-box {
    width: 55px;
    height: 55px;
    background: var(--theme-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.mge-showcase-card h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}
.mge-showcase-card .desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-height: 60px;
    overflow: hidden;
    transition: all 0.5s ease;
}
.mge-showcase-card .tech-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}
.mge-showcase-card .tech-list li {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mge-showcase-card .tech-list li i {
    font-size: 10px;
    color: var(--theme-color);
}
.mge-showcase-card .btn-box {
    margin-top: 25px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}
.mge-showcase-card .btn-box .link {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--theme-color);
    padding-bottom: 5px;
}

/* Interaction States */
.mge-showcase-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.5);
}
.mge-showcase-card:hover .bg-img {
    transform: scale(1.15);
    filter: brightness(0.4) grayscale(0);
}
.mge-showcase-card:hover .overlay {
    background: rgba(0,46,65,0.92);
}
.mge-showcase-card:hover .desc {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}
.mge-showcase-card:hover .tech-list {
    max-height: 250px;
    opacity: 1;
    margin-top: 10px;
}
.mge-showcase-card:hover .btn-box {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .mge-industry-showcase { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
    .mge-industry-showcase { grid-template-columns: 1fr; }
    .mge-showcase-card { height: 420px; }
}

/* ── CLIENT CARDS (LOGO ALTERNATIVE) ─────────────────── */
.mge-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.mge-client-card {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-left: 4px solid var(--theme-color);
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: default;
}
.mge-client-card span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}
.mge-client-card:hover {
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}
.mge-client-card.dark {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
.mge-client-card.dark span {
    color: #fff;
}
.mge-client-card.dark:hover {
    background: rgba(255,255,255,0.1);
}
.mge-identity-card.vision .icon-box {
    background: rgba(30,58,138,0.1);
    color: var(--secondary-color);
}
.mge-identity-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}
.mge-identity-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}


/* ── SERVICES SECTION ────────────────────────────────── */
.mge-services-section {
    padding: 90px 0;
    background: #fff;
}
.mge-service-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    margin-bottom: 30px;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
}
.mge-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.mge-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.mge-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mge-service-card:hover .mge-card-image img {
    transform: scale(1.08);
}
.mge-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(192,33,40,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s;
}
.mge-service-card:hover .mge-card-overlay {
    opacity: 1;
}
.service-more-btn {
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 24px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}
.service-more-btn:hover {
    background: #fff;
    color: var(--theme-color);
}
.mge-card-content {
    padding: 28px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mge-card-icon {
    width: 52px;
    height: 52px;
    background: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background 0.3s;
}
.mge-card-icon i {
    color: #fff;
    font-size: 1.3rem;
    font-family: 'flaticon_metallic' !important;
}
.mge-service-card:hover .mge-card-icon {
    background: var(--secondary-color);
}
.mge-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 12px;
    line-height: 1.4;
}
.mge-card-content h3 a {
    color: inherit;
    transition: color 0.3s;
}
.mge-card-content h3 a:hover { color: var(--theme-color); }
.mge-card-content p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 15px;
}
.mge-card-content .list-item {
    padding: 0;
    margin-bottom: 20px;
}
.mge-card-content .list-item li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mge-card-content .list-item li:before {
    content: '\f121';
    font-family: 'flaticon_metallic' !important;
    color: var(--theme-color);
    font-size: 0.7rem;
}
.mge-card-content .read-more {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.mge-card-content .read-more:hover { color: var(--theme-color); }


/* ── CORPORATE VALUES ────────────────────────────────── */
.mge-values-section {
    padding: 90px 0;
}
.mge-value-card {
    background: #fff;
    border-radius: 6px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    height: calc(100% - 30px);
    margin-bottom: 30px;
    border: 1px solid #eee;
}
.mge-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30,58,138,0.12);
    border-color: var(--secondary-color);
}
.value-icon {
    width: 60px;
    height: 60px;
    background: var(--theme-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
}
.mge-value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.mge-value-card p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}


/* ── WHY CHOOSE MGE ──────────────────────────────────── */
.mge-why-section,
.mge-why-page-section {
    padding: 90px 0;
    position: relative;
    background-color: var(--secondary-color);
}
.mge-why-section .bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}
.mge-why-section > .auto-container {
    position: relative;
    z-index: 2;
}
.mge-why-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 14px 0 20px;
    line-height: 1.35;
}
.mge-why-section h2 span { color: var(--theme-color); }
.mge-why-grid {
    margin-top: 40px;
}
.mge-why-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 28px 24px;
    margin-bottom: 24px;
    transition: background 0.35s, transform 0.35s;
}
.mge-why-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}
.why-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.why-icon i {
    color: #fff;
    font-size: 1.2rem;
    font-family: 'flaticon_metallic' !important;
}
.mge-why-card h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.mge-why-card p {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}


/* ── SECTORS TILES ───────────────────────────────────── */
.mge-sectors-section {
    padding: 90px 0;
    background: #f8f9fa;
}
.mge-sector-tile {
    position: relative;
    height: 340px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
}
.sector-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,58,138,0.92) 0%, rgba(30,58,138,0.35) 60%, transparent 100%);
    transition: background 0.4s;
}
.mge-sector-tile:hover .sector-overlay {
    background: linear-gradient(to top, rgba(192,33,40,0.9) 0%, rgba(192,33,40,0.5) 60%, transparent 100%);
}
.sector-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}
.sector-icon {
    width: 46px;
    height: 46px;
    background: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: background 0.3s;
}
.sector-icon i { 
    color: #fff; 
    font-size: 1.1rem; 
    font-family: 'flaticon_metallic' !important;
}
.mge-sector-tile:hover .sector-icon { background: #fff; }
.mge-sector-tile:hover .sector-icon i { color: var(--theme-color) !important; }
.sector-content h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.sector-content p {
    color: rgba(255,255,255,0.82);
    font-size: 0.85rem;
    margin-bottom: 14px;
    line-height: 1.5;
}
.sector-content a {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}
.sector-content a:hover {
    color: var(--theme-color);
    border-color: var(--theme-color);
}


/* ── PROCESS SECTION ─────────────────────────────────── */
.mge-process-section {
    padding: 90px 0;
    background: #fff;
}
.mge-process-card {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.35s;
    height: calc(100% - 30px);
    margin-bottom: 30px;
}
.mge-process-card:hover,
.mge-process-card.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(30,58,138,0.25);
}
.process-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0,0,0,0.06);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}
.mge-process-card:hover .process-number,
.mge-process-card.active .process-number {
    color: rgba(255,255,255,0.1);
}
.process-icon {
    width: 70px;
    height: 70px;
    background: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: background 0.3s;
}
.process-icon i { 
    color: #fff; 
    font-size: 1.6rem; 
    font-family: 'flaticon_metallic' !important;
}
.mge-process-card:hover .process-icon,
.mge-process-card.active .process-icon {
    background: #fff;
}
.mge-process-card:hover .process-icon i,
.mge-process-card.active .process-icon i {
    color: var(--theme-color) !important;
}
.mge-process-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 14px;
    transition: color 0.3s;
}
.mge-process-card:hover h3,
.mge-process-card.active h3 {
    color: #fff;
}
.mge-process-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s;
}
.mge-process-card:hover p,
.mge-process-card.active p {
    color: rgba(255,255,255,0.8);
}


/* ── CTA SECTION ─────────────────────────────────────── */
.mge-cta-section {
    background: var(--theme-color);
    padding: 70px 0;
}
.mge-cta-section .section-tag.light {
    background: rgba(255,255,255,0.2);
    margin-bottom: 12px;
}
.mge-cta-section h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}
.mge-cta-section h2 span { opacity: 0.85; }
.mge-cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.7;
}
.mge-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--theme-color);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 36px;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.mge-cta-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}
.mge-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}
.mge-cta-phone i { font-size: 1.1rem; }
.mge-cta-phone a { color: #fff; font-weight: 700; }
.mge-cta-phone a:hover { text-decoration: underline; }


/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 991px) {
    .mge-about-content { padding: 40px 0 0; }
    .mge-about-badge { right: 10px; }
    .mge-stats-bar .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .mge-stats-bar .stat-item:last-child { border-bottom: none; }
    .mge-about-list { grid-template-columns: 1fr; }
    .mge-about-cta { flex-direction: column; align-items: flex-start; }
    .mge-identity-grid { flex-direction: column; }
    .mge-sector-tile { height: 280px; }
    .mge-cta-section .text-center { margin-top: 40px; }
}
@media (max-width: 767px) {
    .section-header h2, .mge-about-content h2, .mge-cta-section h2 { font-size: 1.75rem; }
    .mge-about-section, .mge-services-section, .mge-why-section,
    .mge-sectors-section, .mge-process-section, .mge-cta-section { padding: 60px 0; }
    .mge-about-image img { height: 320px; }
}

/* ── NEW PREMIUM SLIDER (Conflict-Free) ──────────────── */
.mge-main-slider {
    position: relative;
    overflow: hidden;
    height: 600px; /* Fixed compact height */
}

/* Neutralize theme defaults */
.mge-main-slider .owl-stage-outer,
.mge-main-slider .owl-stage,
.mge-main-slider .owl-item {
    height: 100% !important;
}

.mge-main-slider .slide-item {
    height: 600px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Premium Gradient Overlay with Accent Bar */
.mge-main-slider .slide-item:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30,58,138,0.95) 0%, rgba(30,58,138,0.7) 40%, transparent 100%);
    z-index: 1;
}

.mge-main-slider .slide-item:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 6px;
    height: 120px;
    background: var(--theme-color);
    z-index: 2;
    box-shadow: 0 0 20px rgba(192,33,40,0.5);
}

.mge-main-slider .auto-container {
    padding-left: 50px;
    position: relative;
    z-index: 3;
}

/* KEN BURNS - More specific and smoother */
.mge-main-slider .owl-item.active .slide-item .bg-layer {
    animation: mgeKenZoom 15s ease-out forwards;
}

@keyframes mgeKenZoom {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.12); }
}

/* MASKED REVEAL ANIMATIONS */
.mge-text-mask {
    overflow: hidden;
    margin-bottom: 10px;
}

.mge-main-slider .content-box h6,
.mge-main-slider .content-box h2,
.mge-main-slider .content-box p,
.mge-main-slider .content-box .btn-box {
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease;
}

.mge-main-slider .owl-item.active .content-box h6 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}
.mge-main-slider .owl-item.active .content-box h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}
.mge-main-slider .owl-item.active .content-box p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}
.mge-main-slider .owl-item.active .content-box .btn-box {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.0s;
}

/* Typography Refinement */
.mge-main-slider .content-box h6 {
    font-size: 0.9rem;
    color: var(--theme-color);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}
.mge-main-slider .content-box h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
}
.mge-main-slider .content-box p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Navigation - Modern Minimalist */
.mge-main-slider .owl-nav {
    position: absolute;
    bottom: 40px;
    right: 6%;
    z-index: 10;
}
.mge-main-slider .owl-nav button {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    margin-left: 10px !important;
    border-radius: 50%;
    transition: all 0.3s;
}
.mge-main-slider .owl-nav button:hover {
    background: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .mge-main-slider .content-box h2 { font-size: 2.8rem; }
}

@media (max-width: 767px) {
    .mge-main-slider, .mge-main-slider .slide-item { height: 500px !important; }
    .mge-main-slider .auto-container { padding-left: 30px; }
    .mge-main-slider .content-box h2 { font-size: 2.2rem; }
    .mge-main-slider .content-box p { font-size: 1rem; }
    .mge-main-slider .owl-nav { display: none; }
}


/* ── CONFLICT-FREE CONTACT SYSTEM ───────────────────── */
.mge-contact-namespace {
    --mge-card-bg: #fff;
    --mge-glass-bg: rgba(255,255,255,0.03);
    --mge-glow: rgba(192,33,40,0.4);
}

.mge-contact-namespace .page-title {
    margin-bottom: 0 !important;
}

.mge-section-padding {
    padding: 120px 0;
}

/* Premium Tabs */
.mge-tabs-container {
    background: #fdfdfd;
}

.mge-location-tabs .tab-btn {
    border: 2px solid #eee !important;
    border-radius: 16px !important;
    padding: 30px !important;
    background: #fff !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.mge-location-tabs .tab-btn.active-btn {
    border-color: var(--theme-color) !important;
    background: var(--secondary-color) !important;
    color: #fff !important;
    box-shadow: 0 15px 35px rgba(30,58,138,0.2) !important;
    transform: translateY(-8px) scale(1.02);
}

.mge-location-tabs .tab-btn h3 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.mge-location-info-card {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.mge-location-info-card:before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: var(--theme-color);
}

/* Premium Map-Form Combo */
.mge-combo-section {
    background: #fff;
}

.mge-map-box {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
    height: 100%;
    min-height: 550px;
}

.mge-form-container {
    padding: 60px;
    background: #fdfdfd;
    border-radius: 24px;
    border: 1px solid #eee;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

/* Downloads Overhaul */
.mge-download-grid {
    background: var(--secondary-color);
    border-radius: 30px;
    padding: 60px;
    margin-top: -60px;
    z-index: 10;
    position: relative;
}

.mge-download-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mge-download-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--theme-color);
    transform: scale(1.03);
}

.mge-download-item .icon {
    width: 50px;
    height: 50px;
    background: var(--theme-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

/* Global Fixes */
.mge-contact-namespace input, 
.mge-contact-namespace textarea {
    font-family: 'Figtree', sans-serif !important;
}

/* ── INDUSTRY PAGES PREMIUM OVERHAUL ────────────────── */
.mge-industry-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    z-index: 10;
    align-self: flex-start; /* Prevents stretching in flex containers */
    height: fit-content;
}

.mge-industry-sidebar .sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.mge-industry-sidebar .widget-title h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--theme-color);
    display: inline-block;
}

.mge-industry-sidebar .category-list li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 12px;
    background: #f9f9f9;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--secondary-color);
    transition: all 0.3s;
}

.mge-industry-sidebar .category-list li a.current,
.mge-industry-sidebar .category-list li a:hover {
    background: var(--theme-color);
    color: #fff;
    transform: translateX(10px);
}

/* Premium Contact Widget */
.mge-premium-contact-widget {
    background: var(--secondary-color);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,46,65,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.mge-premium-contact-widget::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(192,33,40,0.15) 0%, transparent 70%);
    z-index: 0;
}

.mge-premium-contact-widget .widget-inner {
    position: relative;
    z-index: 1;
}

.mge-premium-contact-widget h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 25px;
}

.mge-premium-contact-widget .support-badge {
    display: inline-block;
    background: var(--theme-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    animation: mgePulse 2s infinite;
}

@keyframes mgePulse {
    0% { box-shadow: 0 0 0 0 rgba(192,33,40, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(192,33,40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192,33,40, 0); }
}

.mge-premium-contact-widget .contact-info {
    margin-bottom: 30px;
}

.mge-premium-contact-widget .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mge-premium-contact-widget .contact-item i {
    font-size: 1.2rem;
    color: var(--theme-color);
}

.mge-premium-contact-widget .contact-item a {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.mge-premium-contact-widget .contact-item a:hover {
    color: var(--theme-color);
}

.mge-premium-contact-widget .email-link {
    font-size: 0.9rem !important;
    opacity: 0.8;
}

.mge-premium-contact-widget .overhaul-submit-btn {
    width: 100%;
    background: #fff;
    color: var(--secondary-color);
    font-weight: 800;
    text-transform: uppercase;
    padding: 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.mge-premium-contact-widget .overhaul-submit-btn:hover {
    background: var(--theme-color);
    color: #fff;
    transform: translateY(-5px);
}

/* Technical Specs Table */
.mge-tech-specs {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eee;
    margin: 40px 0;
}

.mge-tech-specs .spec-header {
    background: var(--secondary-color);
    color: #fff;
    padding: 25px 35px;
}

.mge-tech-specs .spec-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.mge-tech-specs .spec-row:last-child {
    border-bottom: none;
}

.mge-tech-specs .spec-row:hover {
    background: #fafafa;
}

.mge-tech-specs .spec-label {
    flex: 0 0 35%;
    padding: 20px 35px;
    font-weight: 800;
    color: var(--secondary-color);
    background: #f9f9f9;
}

.mge-tech-specs .spec-value {
    flex: 1;
    padding: 20px 35px;
    color: var(--text-color);
}

/* Industry Icon Grid */
.mge-capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.mge-capability-item {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.mge-capability-item:hover {
    transform: translateY(-10px);
    border-color: var(--theme-color);
    box-shadow: 0 20px 40px rgba(192,33,40,0.1);
}

.mge-capability-item .icon {
    font-size: 2.5rem;
    color: var(--theme-color);
    margin-bottom: 15px;
}

.mge-capability-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary-color);
}

/* Sticky Sidebar Support */
.boxed_wrapper {
    overflow: visible !important;
}

.industries-details {
    overflow: visible !important;
}

.mge-section-padding {
    padding: 100px 0;
}

.sidebar-side {
    overflow: visible !important;
}
