/* ============================================================
   MGY Pack – Brand Color Override & Custom Styles
   Primary: #303292  |  Secondary: #000000
   ============================================================ */

:root {
    --mgy-primary: #303292;
    --mgy-primary-dark: #242678;
    --mgy-primary-light: #4547b8;
    --mgy-secondary: #000000;
    --mgy-accent: #f4a61d;
    --mgy-light-bg: #f5f6ff;
}

/* ── Override Ekka Template Primary Color ── */
.btn-primary,
a.btn-primary,
button.btn-primary {
    background-color: var(--mgy-primary) !important;
    border-color: var(--mgy-primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
a.btn-primary:hover {
    background-color: var(--mgy-primary-dark) !important;
    border-color: var(--mgy-primary-dark) !important;
}

.btn-outline-primary {
    color: var(--mgy-primary) !important;
    border-color: var(--mgy-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--mgy-primary) !important;
    color: #fff !important;
}

/* ── Primary Color Variables (overrides) ── */
.primary-color,
.text-primary,
a.primary-color { color: var(--mgy-primary) !important; }

.bg-primary { background-color: var(--mgy-primary) !important; }

/* ── Header ── */
.ec-header { background: #fff; box-shadow: 0 2px 15px rgba(48,50,146,.1); }
.ec-header-bottom { background: var(--mgy-primary); }
.ec-main-menu ul > li > a { color: #fff !important; font-weight: 500; }
.ec-main-menu ul > li > a:hover,
.ec-main-menu ul > li.active > a { color: var(--mgy-accent) !important; }

/* ── Logo area ── */
.header-logo img { max-height: 55px; }

/* ── CTA Button in header ── */
.mgy-header-cta {
    background: var(--mgy-accent);
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    transition: all .3s ease;
    white-space: nowrap;
}
.mgy-header-cta:hover {
    background: #e09415;
    color: #000 !important;
    text-decoration: none;
}

/* ── Hero Section ── */
.mgy-hero {
    background: linear-gradient(135deg, var(--mgy-primary) 0%, var(--mgy-primary-dark) 60%, #1a1b6e 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mgy-hero::before {
    content: '';
    position: absolute;
    right: -5%;
    top: -10%;
    width: 55%;
    height: 120%;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}

.mgy-hero::after {
    content: '';
    position: absolute;
    right: 5%;
    bottom: -20%;
    width: 40%;
    height: 80%;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}

.mgy-hero-content { position: relative; z-index: 2; }

.mgy-hero-badge {
    display: inline-block;
    background: rgba(244,166,29,.2);
    color: var(--mgy-accent);
    border: 1px solid rgba(244,166,29,.4);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.mgy-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.mgy-hero h1 .highlight { color: var(--mgy-accent); }

.mgy-hero p {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.mgy-hero .slogan {
    color: rgba(255,255,255,.7);
    font-style: italic;
    font-size: .95rem;
    margin-top: 15px;
    border-left: 3px solid var(--mgy-accent);
    padding-left: 12px;
}

.mgy-hero-img-wrapper {
    position: relative;
    z-index: 2;
}

.mgy-hero-img-wrapper img {
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    width: 100%;
    object-fit: cover;
    max-height: 500px;
}

/* ── Hero Buttons ── */
.mgy-btn-primary {
    background: var(--mgy-accent);
    color: #000;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: .95rem;
    border: 2px solid var(--mgy-accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
    text-decoration: none;
}

.mgy-btn-primary:hover {
    background: #e09415;
    border-color: #e09415;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244,166,29,.4);
}

.mgy-btn-secondary {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid rgba(255,255,255,.6);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
    text-decoration: none;
}

.mgy-btn-secondary:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

/* ── Trust Bar ── */
.mgy-trust-bar {
    background: #fff;
    border-bottom: 1px solid #eef0ff;
    padding: 20px 0;
}

.mgy-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-right: 1px solid #eee;
}

.mgy-trust-item:last-child { border-right: none; }

.mgy-trust-icon {
    width: 42px;
    height: 42px;
    background: var(--mgy-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mgy-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.mgy-trust-text {
    font-size: .88rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* ── Section Titles ── */
.mgy-section-title { margin-bottom: 50px; }

.mgy-section-label {
    display: inline-block;
    color: var(--mgy-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mgy-section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
    margin-bottom: 12px;
}

.mgy-section-title p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Product Cards ── */
.mgy-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    transition: all .35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mgy-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(48,50,146,.15);
}

.mgy-product-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.mgy-product-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.mgy-product-card:hover .card-img-wrapper img {
    transform: scale(1.06);
}

.mgy-product-card .card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--mgy-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.mgy-product-card .card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mgy-product-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.mgy-product-card .card-text {
    color: #666;
    font-size: .88rem;
    line-height: 1.6;
    flex: 1;
}

.mgy-product-card .card-footer-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.mgy-product-card .card-footer-custom a {
    color: var(--mgy-primary);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s;
}

.mgy-product-card .card-footer-custom a:hover { gap: 8px; }

/* ── Category Tabs ── */
.mgy-category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.mgy-cat-tab {
    padding: 9px 22px;
    border-radius: 30px;
    border: 2px solid #ddd;
    background: #fff;
    color: #555;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}

.mgy-cat-tab:hover,
.mgy-cat-tab.active {
    background: var(--mgy-primary);
    border-color: var(--mgy-primary);
    color: #fff;
}

/* ── Why MGY Section ── */
.mgy-feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: all .3s ease;
    height: 100%;
}

.mgy-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(48,50,146,.12);
}

.mgy-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--mgy-light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mgy-primary);
    font-size: 24px;
    margin-bottom: 16px;
    transition: all .3s ease;
}

.mgy-feature-card:hover .mgy-feature-icon {
    background: var(--mgy-primary);
    color: #fff;
}

.mgy-feature-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.mgy-feature-card p {
    color: #666;
    font-size: .88rem;
    line-height: 1.6;
    margin: 0;
}

/* ── OEM Section ── */
.mgy-oem-section {
    background: linear-gradient(135deg, var(--mgy-primary) 0%, var(--mgy-primary-dark) 100%);
    border-radius: 16px;
    padding: 60px 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mgy-oem-section::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}

.mgy-oem-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 15px; }
.mgy-oem-section p { color: rgba(255,255,255,.85); line-height: 1.8; margin-bottom: 30px; }

.mgy-oem-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255,255,255,.9);
    font-size: .95rem;
}

.mgy-oem-feature i {
    width: 28px;
    height: 28px;
    background: rgba(244,166,29,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mgy-accent);
    font-size: 13px;
    flex-shrink: 0;
}

/* ── CTA Section ── */
.mgy-cta-section {
    background: #f5f6ff;
    padding: 80px 0;
    text-align: center;
}

.mgy-cta-section h2 { font-size: 2.2rem; font-weight: 800; color: #111; margin-bottom: 15px; }
.mgy-cta-section p { color: #666; font-size: 1rem; max-width: 600px; margin: 0 auto 35px; }

/* ── Quality Cards ── */
.mgy-quality-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    height: 100%;
    border-top: 4px solid var(--mgy-primary);
    transition: transform .3s ease;
}

.mgy-quality-card:hover { transform: translateY(-5px); }

.mgy-quality-icon {
    width: 70px;
    height: 70px;
    background: var(--mgy-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mgy-primary);
    font-size: 28px;
    margin: 0 auto 20px;
}

.mgy-quality-card h4 { font-size: 1.1rem; font-weight: 700; color: #111; margin-bottom: 10px; }
.mgy-quality-card p  { color: #666; font-size: .9rem; line-height: 1.7; }

/* ── Stats Row ── */
.mgy-stat-box {
    text-align: center;
    padding: 30px 20px;
}

.mgy-stat-box .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--mgy-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.mgy-stat-box .stat-label {
    color: #666;
    font-size: .9rem;
    font-weight: 500;
}

/* ── About Page ── */
.mgy-about-hero {
    background: linear-gradient(135deg, var(--mgy-primary) 0%, var(--mgy-primary-dark) 100%);
    padding: 100px 0 60px;
    color: #fff;
}

.mgy-page-hero {
    background: linear-gradient(135deg, var(--mgy-primary) 0%, var(--mgy-primary-dark) 100%);
    padding: 80px 0 50px;
    color: #fff;
    text-align: center;
}

.mgy-page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.mgy-page-hero p  { color: rgba(255,255,255,.8); font-size: 1rem; }

.mgy-breadcrumb { color: rgba(255,255,255,.6); font-size: .88rem; }
.mgy-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.mgy-breadcrumb a:hover { color: var(--mgy-accent); }

/* ── Sector Cards ── */
.mgy-sector-card {
    background: var(--mgy-light-bg);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: all .3s ease;
    border: 2px solid transparent;
}

.mgy-sector-card:hover {
    border-color: var(--mgy-primary);
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(48,50,146,.12);
}

.mgy-sector-icon {
    font-size: 2.5rem;
    color: var(--mgy-primary);
    margin-bottom: 15px;
}

.mgy-sector-card h5 { font-size: 1rem; font-weight: 700; color: #111; }
.mgy-sector-card p  { color: #666; font-size: .88rem; }

/* ── Values Section ── */
.mgy-value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mgy-value-item:last-child { border-bottom: none; }

.mgy-value-num {
    width: 40px;
    height: 40px;
    background: var(--mgy-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    flex-shrink: 0;
}

.mgy-value-item h5 { font-size: 1rem; font-weight: 700; color: #111; margin-bottom: 5px; }
.mgy-value-item p  { color: #666; font-size: .88rem; line-height: 1.6; margin: 0; }

/* ── Quote Form ── */
.mgy-quote-form {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,.08);
}

.mgy-form-group { margin-bottom: 22px; }

.mgy-form-group label {
    font-size: .88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.mgy-form-group label .required { color: #e53e3e; margin-left: 3px; }

.mgy-form-group .form-control,
.mgy-form-group .form-select,
.mgy-form-group select.form-control {
    border: 1.5px solid #e1e4ed !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-size: .95rem !important;
    color: #1a1b3a !important;
    background-color: #fcfdfe !important;
    transition: all .25s ease;
    height: auto !important;
    line-height: normal !important;
    box-shadow: none !important;
}

.mgy-form-group .form-control:focus,
.mgy-form-group .form-select:focus,
.mgy-form-group select.form-control:focus {
    border-color: #303292 !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(48, 50, 146, 0.1) !important;
}

.mgy-form-group .form-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23303292' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 14px !important;
    padding-right: 45px !important;
}
.mgy-form-group .form-control::placeholder {
    color: #a0aec0;
    opacity: 1;
}

/* ── Product Cards ── */
.mgy-product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all .4s cubic-bezier(.165,.84,.44,1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mgy-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(48,50,146,.12);
    border-color: rgba(48,50,146,.15);
}

.mgy-product-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fb;
    padding-top: 85%; /* Fixed aspect ratio 1:0.85 approx */
}

.mgy-product-card .card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.mgy-product-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.mgy-product-card .card-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: var(--mgy-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.mgy-product-card .card-body {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mgy-product-card .card-stitle {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: capitalize;
}

.mgy-product-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1b3a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.mgy-product-card .card-text {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.mgy-product-card .card-footer-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}

.mgy-product-card .card-btn-view {
    background: var(--mgy-primary);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
}

.mgy-product-card .card-btn-view:hover {
    background: var(--mgy-primary-dark);
    box-shadow: 0 4px 12px rgba(48,50,146,.25);
}

.mgy-product-card .card-btn-quote {
    color: #475569;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}

.mgy-product-card .card-btn-quote:hover {
    color: var(--mgy-primary);
}

.ec-pro-content{
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ec-spe-pro-btn{
    margin-top: auto;
}

.ec-product-slider .owl-stage{
    display: flex !important;
    align-items: stretch;
}

.ec-product-slider .owl-item{
    display: flex;
    height: auto;
}

.ec-product-slider .ec-product-content{
    display: flex;
    width: 100%;
}

.ec-product-inner{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* ── Contact Page ── */
.mgy-contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: transform .3s ease;
}

.mgy-contact-info-card:hover { transform: translateY(-3px); }

.mgy-contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--mgy-light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mgy-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.mgy-contact-info-card h5 { font-size: .95rem; font-weight: 700; color: #111; margin-bottom: 5px; }
.mgy-contact-info-card p,
.mgy-contact-info-card a {
    color: #666;
    font-size: .9rem;
    margin: 0;
    text-decoration: none;
    line-height: 1.6;
}

.mgy-contact-info-card a:hover { color: var(--mgy-primary); }

/* ── WhatsApp Floating Button ── */
.mgy-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: all .3s ease;
    text-decoration: none;
}

.mgy-whatsapp-btn:hover {
    background: #1eb35a;
    transform: scale(1.1);
    color: #fff;
}

/* ── Footer ── */
.mgy-footer {
    background: #0f1044;
    color: #aaa;
    padding: 60px 0 20px;
}

.mgy-footer .footer-brand-text {
    color: rgba(255,255,255,.75);
    font-size: .88rem;
    line-height: 1.8;
    margin-top: 15px;
}

.mgy-footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.mgy-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--mgy-accent);
}

.mgy-footer ul { list-style: none; padding: 0; margin: 0; }

.mgy-footer ul li { margin-bottom: 10px; }

.mgy-footer ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: .9rem;
    transition: color .25s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mgy-footer ul li a:hover { color: var(--mgy-accent); }

.mgy-footer-divider {
    border-color: rgba(255,255,255,.08);
    margin: 40px 0 20px;
}

.mgy-footer-bottom {
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}

.mgy-footer-logo img { max-height: 50px; }

/* ── Product Detail Page ── */
.mgy-product-detail-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
}

.mgy-product-detail-img img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.mgy-spec-table { border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.mgy-spec-table tr:nth-child(even) td { background: #f8f9ff; }
.mgy-spec-table td { padding: 10px 15px; border: none; border-bottom: 1px solid #eee; font-size: .9rem; }
.mgy-spec-table td:first-child { font-weight: 600; color: #333; width: 40%; }
.mgy-spec-table td:last-child  { color: #555; }

/* ── Alert / Success Messages ── */
.mgy-alert-success {
    background: #f0fff4;
    border: 1px solid #68d391;
    color: #276749;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Map ── */
.mgy-map-wrapper { border-radius: 12px; overflow: hidden; height: 400px; }
.mgy-map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .mgy-hero h1 { font-size: 2.2rem; }
    .mgy-oem-section { padding: 40px 30px; }
    .mgy-quote-form { padding: 25px 20px; }
    .mgy-trust-item { border-right: none; border-bottom: 1px solid #eee; }
}

@media (max-width: 767px) {
    .mgy-hero { min-height: auto; padding: 80px 0 50px; }
    .mgy-hero h1 { font-size: 1.8rem; }
    .mgy-section-title h2 { font-size: 1.6rem; }
    .mgy-stat-box .stat-number { font-size: 2rem; }
}

/* ── Navigation active state ── */
.ec-main-menu ul li.active > a { color: var(--mgy-accent) !important; }

/* ── Sticky header ── */
.ec-header.sticky { position: sticky; top: 0; z-index: 999; }

/* ── Scroll top button ── */
#scrollTop {
    background: var(--mgy-primary) !important;
}

/* ============================================================
   RTL (Arabic) Support
   ============================================================ */

/* ── RTL Font ── */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] label {
    font-family: 'Cairo', sans-serif !important;
    letter-spacing: 0 !important;
}

/* ── RTL Text Direction ── */
[dir="rtl"] .text-start  { text-align: right !important; }
[dir="rtl"] .text-end    { text-align: left  !important; }
[dir="rtl"] .text-md-end { text-align: right !important; }

/* ── RTL Bootstrap Margin Utilities ── */
[dir="rtl"] .me-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }
[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: 0.5rem  !important; }
[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem   !important; }
[dir="rtl"] .ms-1 { margin-left:  3px !important; margin-right: 0.25rem !important; }
[dir="rtl"] .ms-2 { margin-left:  0 !important; margin-right: 0.5rem  !important; }
[dir="rtl"] .ms-3 { margin-left:  0 !important; margin-right: 1rem   !important; }
[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
[dir="rtl"] .me-auto { margin-right: 0 !important; margin-left: auto !important; }

/* ── RTL Bootstrap Padding Utilities ── */
[dir="rtl"] .ps-4 { padding-left: 0 !important; padding-right: 1.5rem !important; }
[dir="rtl"] .pe-4 { padding-right: 0 !important; padding-left: 1.5rem !important; }

/* ── RTL Hero Slogan Border ── */
[dir="rtl"] .mgy-hero .slogan {
    border-left: none;
    border-right: 3px solid var(--mgy-accent);
    padding-left: 0;
    padding-right: 12px;
}

/* ── RTL Trust Bar Border ── */
[dir="rtl"] .mgy-trust-item {
    border-right: none;
    border-left: 1px solid #eee;
}
[dir="rtl"] .mgy-trust-item:last-child { border-left: none; }

/* ── RTL Footer Heading Underline ── */
[dir="rtl"] .mgy-footer h5::after {
    left: auto;
    right: 0;
}

/* ── RTL Nav Dropdown Position ── */
[dir="rtl"] .nav-dropdown-menu {
    left: auto;
    right: 0;
}

/* ── RTL Nav Active Underline ── */
[dir="rtl"] .nav-desktop-link.active::after {
    left: auto;
    right: 14px;
}

/* ── RTL OEM Section Decorative Circle ── */
[dir="rtl"] .mgy-oem-section::before {
    right: auto;
    left: -80px;
}

/* ── RTL Product Card Category Badge ── */
[dir="rtl"] .mgy-product-card .card-category-badge {
    left: auto;
    right: 15px;
}

/* ── RTL Form Select Arrow ── */
[dir="rtl"] .mgy-form-group .form-select {
    background-position: left 15px center !important;
    padding-right: 18px !important;
    padding-left: 45px  !important;
}

/* ── RTL Form Required Star ── */
[dir="rtl"] .mgy-form-group label .required {
    margin-left: 0;
    margin-right: 3px;
}

/* ── RTL Mobile Menu Sub-links Indent ── */
[dir="rtl"] .ps-4 { padding-left: 0 !important; padding-right: 1.5rem !important; }

/* ── RTL Header Top Bar Alignment ── */
[dir="rtl"] .header-top .col-8 { text-align: right !important; }
[dir="rtl"] .header-top .col-4 { text-align: left  !important; }

/* ── RTL Section Title Alignment ── */
[dir="rtl"] .mgy-section-title p { margin: 0 auto !important; }

/* ── RTL Feature Card ── */
[dir="rtl"] .mgy-feature-icon { margin-bottom: 16px; }

/* ── RTL OEM Feature Items ── */
[dir="rtl"] .mgy-oem-feature i { margin-right: 0; margin-left: 12px; }

/* ── RTL Value Item ── */
[dir="rtl"] .mgy-value-item { text-align: right; }
[dir="rtl"] .mgy-value-item h5 { text-align: right; }
[dir="rtl"] .mgy-value-item p  { text-align: right; }

/* ── RTL Contact Info Card ── */
[dir="rtl"] .mgy-contact-info-card { text-align: right; }
[dir="rtl"] .mgy-contact-info-card .mgy-contact-info-icon { margin-left: 18px; margin-right: 0; }

/* ── RTL Quality Card Text ── */
[dir="rtl"] .mgy-quality-card { text-align: right; }
[dir="rtl"] .mgy-quality-card ul li { flex-direction: row-reverse; }

/* ── RTL Spec Table ── */
[dir="rtl"] .mgy-spec-table td:first-child { text-align: right; }
[dir="rtl"] .mgy-spec-table td:last-child  { text-align: right; }

/* ── RTL Stat Box Number ── */
[dir="rtl"] .mgy-stat-box .stat-number { letter-spacing: 0; }

/* ── RTL Breadcrumb ── */
[dir="rtl"] .mgy-breadcrumb { direction: rtl; }

/* ── RTL Footer Link Icon Direction ── */
[dir="rtl"] .mgy-footer ul li a { flex-direction: row-reverse; }
[dir="rtl"] .mgy-footer ul li a i { margin-right: 0 !important; margin-left: 8px; }

/* ── RTL Mobile Nav Icons ── */
[dir="rtl"] .mobile-nav-link i  { margin-right: 0 !important; margin-left: 0.5rem !important; }

/* ── RTL Alert ── */
[dir="rtl"] .mgy-alert-success { flex-direction: row-reverse; text-align: right; }

/* ── RTL Sector Card ── */
[dir="rtl"] .mgy-sector-card { text-align: center; }

/* ── RTL Header Logo Text ── */
[dir="rtl"] .ms-2.d-none { margin-left: 0 !important; margin-right: 0.5rem !important; }

/* ── RTL Product Feature Items ── */
[dir="rtl"] .col-sm-6 > div[style*="display:flex"] { flex-direction: row-reverse; }

/* ── RTL Page Responsive ── */
@media (max-width: 991px) {
    [dir="rtl"] .mgy-trust-item { border-left: none; border-bottom: 1px solid #eee; }
}

/* ── RTL Footer h5 Heading Text Alignment ── */
[dir="rtl"] .mgy-footer h5 {
    text-align: right;
    margin-right: 110px !important;
}

[dir="rtl"] .mgy-footer h5.footer-title-last {
    margin-right: 246px !important;
}

/* ── RTL Footer All Columns Right-Aligned ── */
[dir="rtl"] .mgy-footer .col-lg-4,
[dir="rtl"] .mgy-footer .col-lg-2,
[dir="rtl"] .mgy-footer .col-md-6 {
    text-align: right !important;
}

/* ── RTL Footer Brand Logo Link Direction ── */
[dir="rtl"] .mgy-footer .col-lg-4 > a.d-flex {
    justify-content: flex-start;
}

/* ── RTL Footer Social Buttons Right-Aligned ── */
[dir="rtl"] .mgy-footer .d-flex.gap-2.mt-3 {
    justify-content: flex-start;
}

/* ── RTL Footer Contact Address Item ── */
[dir="rtl"] .footer-address-item {
    flex-direction: row-reverse;
}

.step-card {
    padding:20px;
    position:relative;
}

/* dashed connector line */
.step-card__connector {
    position:absolute;
    top:45px;

    /* THIS replaces right:-1px */
    inset-inline-end:-1px;

    width:50%;
    border-top:2px dashed #303292;
    opacity:.3;
    z-index:0;
    display:none;
}

/* icon circle */
.step-card__icon {
    width:70px;
    height:70px;
    background:#303292;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 15px;
    position:relative;
    z-index:1;
    box-shadow:0 8px 20px rgba(48,50,146,.25);
}

.step-card__icon i {
    color:#fff;
    font-size:26px;
}

/* step number */
.step-card__number {
    background:#303292;
    color:#fff;
    width:24px;
    height:24px;
    border-radius:50%;
    font-size:11px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:-10px auto 10px;
    position:relative;
}

/* text */
.step-card__title {
    font-size:.95rem;
    font-weight:700;
    color:#111;
    margin-bottom:6px;
}

.step-card__desc {
    color:#666;
    font-size:.82rem;
    line-height:1.6;
}

