/* Contact page inside the shared Nour Learn shell. */
.nl-contact{display:grid;gap:18px;padding-top:22px}
.nl-contact-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:210px;padding:clamp(24px,4vw,42px);border:1px solid #dde5f3;border-radius:22px;background:radial-gradient(circle at 88% 8%,rgba(255,255,255,.72),transparent 30%),linear-gradient(120deg,#e9e4ff 0%,#e4f1ff 62%,#ffedf1 100%);box-shadow:var(--sh-shadow)}
.nl-contact-hero:before{content:"";position:absolute;z-index:-1;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.25);inset-block-start:-180px;inset-inline-start:30%}
.nl-contact-hero__copy{max-width:760px;min-width:0}
.nl-contact-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;margin-bottom:12px;border-radius:999px;background:rgba(255,255,255,.7);color:#275ca8;font-size:11px;font-weight:750}
.nl-contact-eyebrow i{font-size:15px}
.nl-contact-hero h1{margin:0;font-size:clamp(27px,4vw,39px);line-height:1.28;font-weight:800;color:#172d50;letter-spacing:-.02em}
.nl-contact-hero p{max-width:680px;margin:11px 0 0;color:#506785;font-size:14px;line-height:1.85}
.nl-contact-hero__art{display:grid;place-items:center;flex:none;width:104px;height:104px;border-radius:30px;background:rgba(255,255,255,.72);color:#6d50df;font-size:47px;box-shadow:0 16px 40px rgba(50,71,119,.11);transform:rotate(-4deg)}

.nl-contact-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.nl-contact-method{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:17px;background:var(--sh-card);border:1px solid var(--sh-border);border-radius:16px;box-shadow:var(--sh-shadow)}
.nl-contact-method__icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#edf4ff;color:#1767d7;font-size:19px}
.nl-contact-method>div{min-width:0;flex:1;display:grid;gap:9px}
.nl-contact-method>div>span{color:var(--sh-muted);font-size:12px;font-weight:700}
.nl-contact-method a,.nl-contact-method strong{display:block;max-width:100%;color:var(--sh-ink);font-size:12px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.nl-contact-method a:hover{color:#1261dc}
.nl-contact-values{display:grid;gap:8px}
.nl-contact-phone-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nl-contact-method .nl-contact-phone-number{font-size:13px;white-space:nowrap}
.nl-contact-method .nl-contact-whatsapp{flex:none;min-height:36px;padding:6px 10px;border:1px solid #b9e6cd;border-radius:10px;background:#edf9f2;color:#167444;font-size:11px;line-height:1.4}
.nl-contact-whatsapp i{font-size:17px}
.nl-contact-method .nl-contact-whatsapp:hover{background:#dcf2e5;color:#105b34;border-color:#8ed2ae}
.nl-contact-method a:focus-visible{outline:2px solid #3182ce;outline-offset:3px;border-radius:6px}

.nl-contact-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.72fr);gap:18px;align-items:start}
.nl-contact-form-card{padding:clamp(20px,3vw,30px)}
.nl-contact-section-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:24px}
.nl-contact-section-icon{display:grid;place-items:center;flex:none;width:45px;height:45px;border-radius:13px;background:#edf4ff;color:#1767d7;font-size:20px}
.nl-contact-section-head h2,.nl-contact-aside h2{margin:0;color:var(--sh-ink);font-size:18px;font-weight:780}
.nl-contact-section-head p,.nl-contact-aside p{margin:4px 0 0;color:var(--sh-muted);font-size:12px;line-height:1.65}

.nl-contact-alert{display:flex;align-items:flex-start;gap:9px;margin:0 0 18px;padding:11px 13px;border:1px solid;border-radius:11px;font-size:12px;line-height:1.55}
.nl-contact-alert i{margin-top:2px}
.nl-contact-alert--success{background:#edf9f3;border-color:#ccebdc;color:#18764c}
.nl-contact-alert--error{background:#fff1f2;border-color:#f1cfd4;color:#a33a49}

.nl-contact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.nl-contact-field{min-width:0}
.nl-contact-field--wide{grid-column:1/-1}
.nl-contact-field>label,.nl-contact-field .form-label{display:block;margin:0 0 7px;color:var(--sh-ink);font-size:12px;font-weight:720}
.nl-contact-field>label>span,.nl-contact-field .form-label .text-danger{color:#d44f5d}
.nl-contact-field .form-control{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid var(--sh-border);border-radius:10px;background:var(--sh-card);color:var(--sh-ink);box-shadow:none;font-size:14px}
.nl-contact-field textarea.form-control{min-height:145px;resize:vertical;line-height:1.7}
.nl-contact-field .form-control::placeholder{color:#8b98ad;opacity:1}
.nl-contact-field .form-control:focus{border-color:#6f9ee9;box-shadow:0 0 0 3px rgba(18,97,220,.11);outline:0}
.nl-contact-field .nl-phone-field{margin-bottom:0!important}
.nl-contact-field .nl-phone-control{min-height:46px;background:var(--sh-card);border-color:var(--sh-border)}
.nl-contact-field .nl-phone-control .nl-phone-number{min-height:44px;background:transparent;color:var(--sh-ink)}
.nl-contact-field .nl-phone-control .nl-country{border-color:var(--sh-border)}
.nl-contact-error{display:block;margin-top:5px;color:#c23e4c;font-size:11px}
.nl-contact-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;margin-top:20px;padding-inline:22px;font-size:13px}
.nl-contact-submit i{font-size:16px}

.nl-contact-aside{display:grid;gap:18px}
.nl-contact-map-card{overflow:hidden;padding:0}
.nl-contact-aside-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px}
.nl-contact-aside-head a{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;background:#edf4ff;color:#1767d7}
.nl-contact-aside-head a:hover{background:#dfeaff}
.nl-contact-map{height:280px;border-top:1px solid var(--sh-border);background:#e8eef7}
.nl-contact-map iframe{display:block;width:100%;height:100%;border:0}
.nl-contact-tip{display:flex;align-items:flex-start;gap:13px;padding:18px}
.nl-contact-tip__icon{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:50%;background:#f2ecff;color:#7753d9;font-size:17px}
.nl-contact-tip h2{font-size:15px}

[data-theme="dark"] .nl-contact-hero{border-color:#30405d;background:radial-gradient(circle at 88% 8%,rgba(75,102,144,.12),transparent 32%),linear-gradient(120deg,#1d2740 0%,#182c45 62%,#2a202d 100%)}
[data-theme="dark"] .nl-contact-eyebrow{background:#213653;color:#9fc1ff}
[data-theme="dark"] .nl-contact-hero h1{color:#edf3fc}
[data-theme="dark"] .nl-contact-hero p{color:#a9b8cf}
[data-theme="dark"] .nl-contact-hero__art{background:#202d45;color:#bd9cff;box-shadow:none}
[data-theme="dark"] .nl-contact-method__icon,[data-theme="dark"] .nl-contact-section-icon,[data-theme="dark"] .nl-contact-aside-head a{background:#1d3760;color:#91b8ff}
[data-theme="dark"] .nl-contact-tip__icon{background:#32274d;color:#bd9cff}
[data-theme="dark"] .nl-contact-field .form-control,[data-theme="dark"] .nl-contact-field .nl-phone-control{background:#172238;color:#e7edf8;border-color:#31425e}
[data-theme="dark"] .nl-contact-field .form-control::placeholder{color:#8fa0b9}
[data-theme="dark"] .nl-contact-alert--success{background:#183a32;border-color:#285443;color:#82d8b0}
[data-theme="dark"] .nl-contact-alert--error{background:#3a242c;border-color:#5a3440;color:#f0a1ac}
[data-theme="dark"] .nl-contact-map{background:#111c30}
[data-theme="dark"] .nl-contact-method .nl-contact-whatsapp{background:#183a2e;border-color:#2d6048;color:#8ce0b1}
[data-theme="dark"] .nl-contact-method .nl-contact-whatsapp:hover{background:#214d3b;border-color:#408365;color:#b0f2cc}

@media(max-width:980px){
    .nl-contact-layout{grid-template-columns:1fr}
    .nl-contact-aside{grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr)}
    .nl-contact-map{height:240px}
}
@media(max-width:720px){
    .nl-contact{padding-top:12px;gap:14px}
    .nl-contact-hero{min-height:auto;padding:22px 19px;border-radius:18px}
    .nl-contact-hero__art{width:62px;height:62px;border-radius:18px;font-size:30px}
    .nl-contact-hero h1{font-size:26px}
    .nl-contact-hero p{font-size:13px}
    .nl-contact-methods{grid-template-columns:1fr;gap:10px}
    .nl-contact-method{padding:14px 12px}
    .nl-contact-form-grid{grid-template-columns:1fr}
    .nl-contact-field--wide{grid-column:auto}
    .nl-contact-aside{grid-template-columns:1fr}
    .nl-contact-submit{width:100%}
}
@media(max-width:480px){
    .nl-contact-hero{align-items:flex-start}
    .nl-contact-hero__art{display:none}
    .nl-contact-methods{grid-template-columns:1fr}
    .nl-contact-form-card{padding:18px 15px}
    .nl-contact-section-head{margin-bottom:20px}
    .nl-contact-section-icon{width:41px;height:41px}
    .nl-contact-map{height:220px}
}
