/*
Theme Name: Needs Map Global Theme
Author: Ugur Baran Saribas
Description: Needs Map Global new theme.
Version: 1.0
*/

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
:root {
    --nmg-blue: #0056D2;
    --nmg-dark: #002B5C;
    --nmg-teal: #00C2CB;
    --nmg-grey: #F4F7FA;
    --nmg-white: #ffffff;
}
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: var(--nmg-white);
}
* { box-sizing: border-box; }

.nmg-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw; 
    overflow: hidden; 
}
.nmg-section-full { 
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.nmg-container { 
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.nmg-header {
    position: fixed; top: 0; left: 0; width: 100%; 
    height: 140px; 
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px);
    display: flex; justify-content: center;
    z-index: 99999; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.nmg-header-container {
    width: 100%; max-width: 1400px; height: 100%;
    display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
}
.nmg-logo img { height: 120px; width: auto; object-fit: contain; }
.nmg-nav { display: flex; gap: 25px; align-items: center; }
.nmg-nav a {
    text-decoration: none; color: #4a5568; font-weight: 500; font-size: 15px;
    transition: color 0.3s ease; white-space: nowrap; letter-spacing: 0.3px;
}
.nmg-nav a:hover { color: var(--nmg-blue); }
.nmg-header-btn {
    background-color: var(--nmg-blue); color: var(--nmg-white) !important;
    padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 86, 210, 0.2);
}
.nmg-header-btn:hover { background-color: #00449E; transform: translateY(-2px); }

@media (max-width: 1200px) {
    .nmg-nav { display: none; }
    .nmg-header { height: 120px; } 
    .nmg-logo img { height: 100px; } 
}

.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; transform: translateY(30px); }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.nmg-hero-section {
    position: relative; z-index: 10;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6e9f0 100%);
    padding: 180px 20px 100px 20px; text-align: center; overflow: hidden;
}
.nmg-hero-bg-circle {
    position: absolute; top: -150px; right: -150px; width: 600px; height: 600px;
    background: var(--nmg-teal); opacity: 0.08; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.nmg-btn {
    display: inline-block; background-color: var(--nmg-blue); color: var(--nmg-white) !important;
    padding: 18px 40px; border-radius: 60px; text-decoration: none; font-weight: 600; font-size: 16px;
    transition: all 0.3s ease; border: 2px solid var(--nmg-blue);
}
.nmg-btn:hover { background-color: transparent; color: var(--nmg-blue) !important; transform: translateY(-2px); }

.nmg-product-showcase { padding: 100px 20px 140px 20px; background-color: var(--nmg-white); position: relative; overflow: hidden; }
.nmg-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1400px; margin: 0 auto; align-items: center; }
.nmg-showcase-content h2 { font-size: 2.5rem; font-weight: 800; color: var(--nmg-dark); line-height: 1.1; margin-bottom: 20px; }
.nmg-showcase-content p { font-size: 1.1rem; line-height: 1.7; color: #555; margin-bottom: 30px; }
.nmg-feature-list { list-style: none; padding: 0; margin: 0 0 30px 0; }
.nmg-feature-item { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: 1rem; font-weight: 500; color: #444; }
.nmg-check-icon { width: 22px; height: 22px; background: var(--nmg-teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; font-size: 12px;}
.nmg-browser-mockup { background: #fff; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,43,92,0.15); border: 1px solid #eee; overflow: hidden; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform 0.5s ease; }
.nmg-browser-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.nmg-browser-header { height: 36px; background: #f8f9fa; border-bottom: 1px solid #eee; display: flex; align-items: center; padding-left: 15px; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }
.nmg-browser-body img { width: 100%; display: block; height: auto; }

.nmg-london-integration { margin-top: 100px; max-width: 1400px; margin-left: auto; margin-right: auto; border-top: 1px solid #eee; padding-top: 60px; }
.london-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.london-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.4s ease; display: flex; flex-direction: column; }
.london-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); border-color: var(--nmg-teal); }
.london-img-wrap { height: 220px; overflow: hidden; position: relative; }
.london-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.london-card:hover .london-img-wrap img { transform: scale(1.05); }
.live-badge { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.95); padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; color: #27c93f; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.live-dot { width: 8px; height: 8px; background: #27c93f; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(39, 201, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); } }
.london-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.london-cat { color: var(--nmg-teal); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.london-title { font-size: 1.3rem; font-weight: 700; color: var(--nmg-dark); margin: 0 0 12px 0; }
.london-desc { color: #666; line-height: 1.5; font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.london-link { color: var(--nmg-blue); font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 6px; font-size: 14px; }

@media (max-width: 1000px) {
    .nmg-showcase-grid { grid-template-columns: 1fr; gap: 40px; }
    .nmg-showcase-content { order: 2; }
    .nmg-browser-mockup { order: 1; transform: none; }
}

.nmg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; }
.nmg-card { background: #F8F9FA; padding: 40px 30px; border-radius: 24px; border: 1px solid #edf2f7; transition: all 0.4s ease; height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.nmg-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); border-color: var(--nmg-teal); background: #fff; }
.nmg-icon-box { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; transition: transform 0.3s ease; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.nmg-card:hover .nmg-icon-box { transform: scale(1.1); }

.nmg-hero-bg { background: linear-gradient(135deg, #f8f9fa 0%, #e6e9f0 100%); padding: 200px 0 100px 0; text-align: center; }

.nmg-filter-menu { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; padding-top: 60px; }
.nmg-filter-btn { padding: 10px 24px; border-radius: 30px; border: 1px solid #e2e8f0; background: #fff; color: #555; font-weight: 500; cursor: pointer; transition: all 0.3s ease; font-family: 'Poppins', sans-serif; font-size: 14px; }
.nmg-filter-btn:hover { background: #f0f4f8; }
.nmg-filter-btn.active { background: var(--nmg-blue); color: #fff; border-color: var(--nmg-blue); box-shadow: 0 4px 12px rgba(0, 86, 210, 0.3); }

.nmg-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 40px; padding-bottom: 100px; }
.nmg-project-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: all 0.4s ease; display: flex; flex-direction: column; animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.nmg-project-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.08); border-color: var(--nmg-teal); }
.project-img-wrap { height: 220px; width: 100%; position: relative; overflow: hidden; }
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.nmg-project-card:hover .project-img-wrap img { transform: scale(1.05); }
.project-tag { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,0.95); padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--nmg-blue); text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.project-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; text-align: left; }
.project-title { font-size: 1.3rem; font-weight: 700; color: var(--nmg-dark); margin: 0 0 12px 0; line-height: 1.3; }
.project-excerpt { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.project-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid #f0f0f0; }
.project-link { color: var(--nmg-blue); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 6px; font-size: 14px; transition: gap 0.3s; }
.nmg-project-card:hover .project-link { gap: 10px; }

.nmg-cta-section { background-color: var(--nmg-dark); color: white; padding: 80px 0; text-align: center; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.nmg-cta-btn { background-color: var(--nmg-teal); color: var(--nmg-dark) !important; padding: 18px 40px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 18px; display: inline-block; transition: all 0.3s ease; margin-top: 30px; }
.nmg-cta-btn:hover { background-color: #fff; transform: translateY(-3px); }

.nmg-footer { background-color: #F8F9FA; padding: 80px 20px 40px 20px; color: #4a5568; font-family: 'Poppins', sans-serif; position: relative; z-index: 10; border-top: 1px solid #edf2f7; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.nmg-footer-container { width: 100%; max-width: 1400px; margin: 0 auto; }
.nmg-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.nmg-footer-brand img { height: 60px; width: auto; margin-bottom: 20px; }
.nmg-footer-text { font-size: 1rem; line-height: 1.7; color: #64748b; margin-bottom: 25px; max-width: 400px; }
.nmg-footer-heading { font-size: 1.2rem; font-weight: 700; color: var(--nmg-dark); margin-bottom: 25px; }
.nmg-footer-links { list-style: none; padding: 0; margin: 0; }
.nmg-footer-links li { margin-bottom: 15px; }
.nmg-footer-links a { color: #64748b; text-decoration: none; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.nmg-footer-links a:hover { color: var(--nmg-blue); transform: translateX(5px); }
.nmg-contact-info { display: flex; flex-direction: column; gap: 15px; }
.nmg-contact-item { display: flex; align-items: flex-start; gap: 15px; font-size: 1rem; color: #64748b; line-height: 1.6; }
.nmg-contact-item svg { flex-shrink: 0; margin-top: 4px; }
.nmg-social-icons { display: flex; gap: 15px; margin-top: 20px; }
.nmg-social-link { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; color: var(--nmg-dark); transition: all 0.3s ease; }
.nmg-social-link:hover { background: var(--nmg-blue); color: #fff; border-color: var(--nmg-blue); transform: translateY(-3px); }
.nmg-footer-bottom { border-top: 1px solid #e2e8f0; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; color: #94a3b8; }
.nmg-bottom-links { display: flex; gap: 20px; }
.nmg-bottom-links a { color: #94a3b8; text-decoration: none; transition: color 0.3s; }
.nmg-bottom-links a:hover { color: var(--nmg-blue); }

@media (max-width: 1024px) { .nmg-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 768px) {
    .nmg-project-grid { grid-template-columns: 1fr; }
    .nmg-filter-menu { gap: 8px; }
    .nmg-filter-btn { padding: 8px 16px; font-size: 13px; }
    .nmg-footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .nmg-footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    .nmg-bottom-links { justify-content: center; }
}

.about-section {
    padding: 100px 0;
    background-color: var(--nmg-white);
}

.about-section.bg-grey {
    background-color: var(--nmg-grey);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nmg-dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-text-box p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 43, 92, 0.1);
    display: block;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    background: var(--nmg-white);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--nmg-teal);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: #e0f7fa; 
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--nmg-teal);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nmg-dark);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.stats-section {
    background-color: var(--nmg-dark);
    padding: 80px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--nmg-teal);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-text-box { order: 2; }
    .about-img-wrap { order: 1; }
    .about-text-box h2 { font-size: 2rem; }
    .stat-number { font-size: 3rem; }
}

.contact-section {
    padding: 100px 0;
    background-color: var(--nmg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info-wrap h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nmg-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info-wrap > p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 50px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-detail-icon {
    width: 55px;
    height: 55px;
    background-color: #f0f7ff;
    color: var(--nmg-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail-item:hover .contact-detail-icon {
    background-color: var(--nmg-blue);
    color: #fff;
    transform: translateY(-3px);
}

.contact-detail-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nmg-dark);
    margin: 0 0 5px 0;
}

.contact-detail-text p, .contact-detail-text a {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail-text a:hover {
    color: var(--nmg-blue);
}

.contact-form-wrap {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 43, 92, 0.08);
    border: 1px solid #edf2f7;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--nmg-dark);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--nmg-teal);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 194, 203, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
}

.submit-btn {
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    padding: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .contact-form-wrap { padding: 30px; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

.policies-section {
    padding: 100px 0;
    background-color: var(--nmg-white);
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.policy-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 35px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 43, 92, 0.08);
    border-color: var(--nmg-blue);
}

.policy-icon {
    width: 50px;
    height: 50px;
    background: #f0f7ff;
    color: var(--nmg-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.policy-card:hover .policy-icon {
    background: var(--nmg-blue);
    color: #fff;
}

.policy-content {
    flex-grow: 1;
}

.policy-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nmg-dark);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.policy-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.policy-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nmg-teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.policy-link:hover {
    gap: 10px;
    color: var(--nmg-dark);
}

.nmg-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 43, 92, 0.85); backdrop-filter: blur(5px);
    z-index: 1000000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}

.nmg-modal-overlay.active {
    opacity: 1; visibility: visible;
}

.nmg-modal-box {
    background: #fff; width: 90%; max-width: 1000px; max-height: 90vh;
    border-radius: 20px; overflow-y: auto; overflow-x: hidden;
    position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    transform: translateY(30px); transition: all 0.4s ease;
}

.nmg-modal-overlay.active .nmg-modal-box {
    transform: translateY(0);
}

.nmg-modal-close {
    position: absolute; top: 20px; right: 20px; z-index: 50;
    background: rgba(255,255,255,0.2); border: none; width: 45px; height: 45px;
    border-radius: 50%; font-size: 28px; cursor: pointer; color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; backdrop-filter: blur(4px);
}
.nmg-modal-close:hover { background: var(--nmg-teal); color: var(--nmg-dark); transform: rotate(90deg); }

.nmg-modal-hero {
    position: relative; padding: 100px 40px 60px; text-align: center;
    background-size: cover; background-position: center; color: #fff;
}
.nmg-modal-hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 43, 92, 0.7); z-index: 1;
}
.nmg-modal-hero-content { position: relative; z-index: 2; }

.nmg-modal-hero .pd-tag {
    display: inline-block; background: var(--nmg-teal); color: var(--nmg-dark);
    font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 30px;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px;
}
.nmg-modal-hero h2 { font-size: 2.5rem; font-weight: 800; margin: 0 0 10px; line-height: 1.1; }

.nmg-modal-body {
    padding: 40px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start;
}

.modal-main h3 { font-size: 1.5rem; color: var(--nmg-dark); margin: 30px 0 15px; font-weight: 700; }
.modal-main h3:first-child { margin-top: 0; }
.modal-main p { font-size: 1.05rem; color: #555; line-height: 1.7; margin-bottom: 20px; }
.modal-main img { width: 100%; border-radius: 12px; margin: 20px 0; }

.modal-sidebar {
    background: var(--nmg-grey); border-radius: 16px; padding: 30px 20px;
    border: 1px solid #edf2f7; position: sticky; top: 20px;
}
.modal-sidebar h4 { font-size: 1.2rem; color: var(--nmg-dark); margin-bottom: 20px; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px;}
.ms-fact { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.ms-fact-icon { color: var(--nmg-teal); }
.ms-fact-text span { display: block; font-size: 0.8rem; color: #888; text-transform: uppercase; font-weight: 600; margin-bottom: 2px;}
.ms-fact-text strong { display: block; font-size: 1rem; color: var(--nmg-dark); }

@media (max-width: 768px) {
    .nmg-modal-body { grid-template-columns: 1fr; padding: 25px; }
    .nmg-modal-hero { padding: 60px 20px 40px; }
    .nmg-modal-hero h2 { font-size: 1.8rem; }
    .modal-sidebar { position: static; }
}