:root {
    --lm-navy: #04241d;
    --lm-deep: #021a15;
    --lm-emerald: #059669;
    --lm-emerald-dark: #005b43;
    --lm-gold: #f59e0b;
    --lm-gold-light: #fde68a;
    --lm-text: #0f2e24;
    --lm-muted: #4e6b63;
    --lm-bg-light: #f7fbf9;
}

*, *::before, *::after { 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 88px; 
}

body.lm-page {
    margin: 0;
    min-width: 320px;
    color: var(--lm-text);
    background: var(--lm-bg-light);
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.lm-container { 
    max-width: 1400px; 
}

/* ================= TOP NAVIGATION ================= */
.lm-topbar {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    background: linear-gradient(90deg, rgba(2, 26, 21, 0.92), rgba(4, 36, 29, 0.72));
    border-bottom: 1px solid rgba(245, 158, 11, 0.22);
    backdrop-filter: blur(12px);
}

.lm-navbar { 
    padding: 10px 0; 
}

.lm-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    font-weight: 800;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    letter-spacing: -.02em;
    text-decoration: none;
}

.lm-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: var(--lm-gold);
    border: 1.5px solid rgba(245, 158, 11, 0.6);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 21px;
    overflow: hidden;
    padding: 2px;
}

.lm-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.lm-nav-links { 
    gap: clamp(8px, 1.5vw, 25px); 
}

.lm-nav-links .nav-link {
    position: relative;
    padding: 12px 4px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: .95rem;
    font-weight: 600;
}

.lm-nav-links .nav-link:hover,
.lm-nav-links .nav-link.active { 
    color: #fff !important; 
}

.lm-nav-links .nav-link.active::after {
    position: absolute;
    content: '';
    height: 3px;
    width: 27px;
    left: 4px;
    bottom: 3px;
    border-radius: 20px;
    background: var(--lm-gold);
}

.lm-login-nav {
    color: #fff !important;
    background: linear-gradient(135deg, #059669, #047857);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 11px;
    padding: 10px 22px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.28);
    transition: transform .2s ease, background .2s ease;
}

.lm-login-nav:hover { 
    background: #047857; 
    transform: translateY(-1px); 
}

.lm-nav-toggle { 
    border-color: rgba(255, 255, 255, 0.35); 
    box-shadow: none !important; 
}

/* ================= HERO SECTION ================= */
.lm-hero {
    position: relative;
    min-height: 600px;
    padding: 130px 0 80px;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background-color: #032019;
    background-image: url('../images/landing-mosque-hero.webp?v=1');
    background-size: cover;
    background-position: center 53%;
}

.lm-hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(ellipse at 66% 30%, rgba(245, 158, 11, 0.12), transparent 35%),
        linear-gradient(90deg, rgba(2, 26, 21, 0.97) 0%, rgba(3, 34, 27, 0.92) 28%, rgba(4, 43, 34, 0.65) 52%, rgba(2, 26, 21, 0.2) 80%, rgba(2, 26, 21, 0.25) 100%),
        linear-gradient(0deg, rgba(1, 18, 14, 0.5) 0%, transparent 35%);
}

.lm-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, .95fr);
    align-items: center;
    min-height: 405px;
}

.lm-hero-copy { 
    max-width: 620px; 
}

.lm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 16px;
    color: #ecfdf5;
    background: rgba(5, 150, 105, 0.25);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.lm-eyebrow i { 
    color: var(--lm-gold); 
    font-size: 1.05rem; 
}

.lm-eyebrow b { 
    color: var(--lm-gold-light); 
    padding: 0 2px; 
}

.lm-hero h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 4.1vw, 4.1rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.03em;
    text-shadow: 0 3px 25px rgba(0, 0, 0, 0.35);
}

.lm-hero h1 span {
    color: var(--lm-gold);
    text-shadow: 0 2px 20px rgba(245, 158, 11, 0.2);
}

.lm-hero-description {
    max-width: 570px;
    margin: 20px 0 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.75;
}

.lm-hero-actions { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 14px; 
}

.lm-btn-primary,
.lm-btn-outline {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.lm-btn-primary {
    color: #fff;
    border: 1px solid rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.32);
}

.lm-btn-primary:hover { 
    color: #fff; 
    background: linear-gradient(135deg, #047857, #065f46); 
    transform: translateY(-2px); 
    box-shadow: 0 14px 28px rgba(5, 150, 105, 0.38); 
}

.lm-btn-outline {
    color: #fff;
    background: rgba(2, 26, 21, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.lm-btn-outline:hover { 
    color: #fff; 
    background: rgba(255, 255, 255, 0.15); 
    transform: translateY(-2px); 
}

.lm-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 36px;
    color: rgba(255, 255, 255, 0.9);
    font-size: .86rem;
    font-weight: 500;
}

.lm-trust-points span { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 0 16px; 
    border-right: 1px solid rgba(255, 255, 255, 0.22); 
}

.lm-trust-points span:first-child { padding-left: 0; }
.lm-trust-points span:last-child { border-right: 0; }
.lm-trust-points i { color: var(--lm-gold); font-size: 1.1rem; }

.lm-hero-side { 
    display: flex; 
    justify-content: flex-end; 
    align-items: flex-end; 
    min-height: 390px; 
}

.lm-glass-note {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 350px;
    margin: 0 0 15px auto;
    padding: 16px 20px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    background: rgba(2, 26, 21, 0.55);
    backdrop-filter: blur(14px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.24);
}

.lm-glass-icon { 
    width: 44px; 
    height: 44px; 
    flex: 0 0 44px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 12px; 
    background: rgba(245, 158, 11, 0.15); 
    color: var(--lm-gold); 
    font-size: 22px; 
}

.lm-glass-note strong { display: block; font-size: .92rem; color: #fff; }
.lm-glass-note small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.78); font-size: .74rem; line-height: 1.45; }

.lm-hero-bottom {
    position: absolute;
    z-index: 2;
    inset: auto 0 -1px;
    height: 66px;
    pointer-events: none;
    overflow: hidden;
}

.lm-hero-bottom svg { 
    display: block; 
    width: 100%; 
    height: 100%; 
}

/* ================= FEATURES SECTION ================= */
.lm-features-section { 
    padding: 45px 0 75px; 
    background: linear-gradient(180deg, var(--lm-bg-light) 0%, #ffffff 100%); 
}

.lm-section-heading { 
    margin: 0 auto 30px; 
}

.lm-section-kicker {
    display: inline-flex;
    padding: 6px 14px;
    margin-bottom: 10px;
    border-radius: 999px;
    color: var(--lm-emerald);
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.lm-section-heading h2 { 
    margin: 0; 
    color: var(--lm-text); 
    font-size: clamp(2rem, 3vw, 2.6rem); 
    font-weight: 800; 
    letter-spacing: -.03em; 
}

.lm-section-heading h2 span { 
    color: var(--lm-emerald); 
}

.lm-section-heading p { 
    margin: 8px 0 0; 
    color: var(--lm-muted); 
    font-size: .98rem; 
}

.lm-feature-card {
    position: relative;
    display: flex;
    gap: 19px;
    min-height: 175px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.lm-feature-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 18px 36px rgba(4, 36, 29, 0.08); 
}

.lm-feature-blue { background: linear-gradient(135deg, #f0fdf4, #fafffc); border-color: #d1fae5; }
.lm-feature-green { background: linear-gradient(135deg, #ecfdf5, #f6fff9); border-color: #a7f3d0; }
.lm-feature-orange { background: linear-gradient(135deg, #fffbeb, #fffdf7); border-color: #fef3c7; }

.lm-feature-icon { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 76px; 
    height: 76px; 
    min-width: 76px; 
    border-radius: 20px; 
    font-size: 2.1rem; 
}

.lm-feature-blue .lm-feature-icon { color: #047857; background: #d1fae5; }
.lm-feature-green .lm-feature-icon { color: #065f46; background: #a7f3d0; }
.lm-feature-orange .lm-feature-icon { color: #d97706; background: #fde68a; }

.lm-feature-content { 
    padding: 3px 18px 17px 0; 
}

.lm-feature-content h3 { 
    margin: 0 0 8px; 
    color: var(--lm-text); 
    font-size: 1.05rem; 
    font-weight: 800; 
    letter-spacing: -.02em; 
}

.lm-feature-content p { 
    margin: 0; 
    color: var(--lm-muted); 
    font-size: .92rem; 
    line-height: 1.65; 
}

.lm-feature-arrow { 
    position: absolute; 
    right: 18px; 
    bottom: 17px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    text-decoration: none; 
    font-size: 1.15rem; 
    transition: transform .2s ease; 
}

.lm-feature-arrow:hover { 
    transform: translateX(3px); 
}

.lm-feature-blue .lm-feature-arrow { color: #047857; background: #d1fae5; }
.lm-feature-green .lm-feature-arrow { color: #065f46; background: #a7f3d0; }
.lm-feature-orange .lm-feature-arrow { color: #d97706; background: #fde68a; }

/* ================= ABOUT / CALL TO ACTION ================= */
.lm-about-section { 
    padding: 0 0 65px; 
    background: #fff; 
}

.lm-about-panel {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    border: 1px solid #d1fae5;
    border-radius: 22px;
    background: linear-gradient(110deg, #ecfdf5 0%, #ffffff 65%, #fffbeb 100%);
    box-shadow: 0 12px 32px rgba(4, 36, 29, 0.05);
}

.lm-about-symbol { 
    width: 60px; 
    height: 60px; 
    min-width: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 18px; 
    color: var(--lm-gold); 
    background: #fffbeb; 
    border: 1px solid #fde68a;
    font-size: 1.65rem; 
}

.lm-about-copy { 
    flex: 1; 
}

.lm-about-kicker { 
    color: var(--lm-emerald); 
    font-size: .72rem; 
    font-weight: 800; 
    letter-spacing: .12em; 
}

.lm-about-copy h2 { 
    margin: 6px 0 8px; 
    color: var(--lm-text); 
    font-size: clamp(1.25rem, 2.3vw, 1.75rem); 
    font-weight: 800; 
    letter-spacing: -.03em; 
    line-height: 1.35; 
}

.lm-about-copy h2 span { 
    color: var(--lm-emerald-dark); 
}

.lm-about-copy p { 
    margin: 0; 
    color: var(--lm-muted); 
    font-size: .93rem; 
    line-height: 1.6; 
}

.lm-about-action { 
    flex: 0 0 auto; 
}

.lm-about-action .lm-btn-primary { 
    background: linear-gradient(135deg, #059669, #047857); 
    border-color: #047857; 
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.22); 
}

.lm-about-action .lm-btn-primary:hover { 
    background: linear-gradient(135deg, #047857, #065f46); 
}

/* ================= FOOTER ================= */
.lm-footer { 
    background: #f0fdf4; 
    border-top: 1px solid #d1fae5; 
}

.lm-footer-inner { 
    min-height: 92px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 20px; 
    padding-top: 18px; 
    padding-bottom: 18px; 
}

.lm-footer-brand { 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    color: var(--lm-text); 
    text-decoration: none; 
    font-size: 1.05rem; 
    font-weight: 800; 
    white-space: nowrap; 
}

.lm-footer-brand-icon { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 44px; 
    height: 44px; 
    border-radius: 14px; 
    background: #ecfdf5; 
    color: var(--lm-emerald); 
    border: 1px solid #a7f3d0;
    font-size: 1.35rem; 
    overflow: hidden;
    padding: 2px;
}

.lm-footer-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.lm-footer-credit { 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    text-align: center; 
    color: var(--lm-muted); 
    font-size: .8rem; 
}

.lm-footer-credit a { 
    color: var(--lm-emerald); 
    text-decoration: none; 
    font-weight: 800; 
}

.lm-footer-credit a:hover { 
    text-decoration: underline; 
}

.lm-social-link { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    color: var(--lm-emerald); 
    background: #ecfdf5; 
    border: 1px solid #d1fae5;
    text-decoration: none; 
    font-size: 1rem; 
    transition: background .2s ease, color .2s ease;
}

.lm-social-link:hover { 
    color: #fff; 
    background: #1877f2; 
    border-color: #1877f2;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991.98px) {
    .lm-topbar { background: rgba(2, 26, 21, 0.95); }
    .lm-nav-links { align-items: stretch !important; gap: 4px; padding: 12px 0 6px; }
    .lm-nav-links .nav-link { padding: 10px 4px !important; }
    .lm-nav-links .nav-link.active::after { bottom: 2px; }
    .lm-nav-links .nav-item.ms-lg-3 { margin-left: 0 !important; margin-top: 8px; }
    .lm-login-nav { display: inline-flex; align-items: center; justify-content: center; }
    .lm-hero { min-height: 570px; padding-top: 120px; background-position: 62% center; }
    .lm-hero-inner { grid-template-columns: 1fr .5fr; }
    .lm-hero-side { align-items: flex-end; }
    .lm-glass-note { display: none; }
    .lm-trust-points { row-gap: 12px; }
    .lm-about-panel { align-items: flex-start; flex-wrap: wrap; }
    .lm-about-copy { flex: 1 1 calc(100% - 90px); }
    .lm-about-action { margin-left: 84px; }
}

@media (max-width: 767.98px) {
    .lm-navbar { padding: 8px 0; }
    .lm-brand { font-size: 1rem; gap: 9px; }
    .lm-brand-icon { width: 38px; height: 38px; min-width: 38px; border-radius: 11px; font-size: 18px; }
    .lm-hero { min-height: 0; padding: 120px 0 76px; background-position: 68% center; }
    .lm-hero-shade { background: linear-gradient(90deg, rgba(2, 26, 21, 0.95), rgba(2, 26, 21, 0.75)), linear-gradient(0deg, rgba(2, 26, 21, 0.5), transparent 55%); }
    .lm-hero-inner { display: block; min-height: 0; }
    .lm-hero-copy { max-width: 100%; }
    .lm-eyebrow { margin-bottom: 16px; padding: 7px 12px; font-size: .78rem; }
    .lm-hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.15; }
    .lm-hero-description { font-size: .96rem; line-height: 1.65; margin: 18px 0 22px; }
    .lm-hero-actions { gap: 10px; }
    .lm-btn-primary, .lm-btn-outline { min-height: 46px; padding: 10px 16px; font-size: .88rem; }
    .lm-trust-points { margin-top: 26px; gap: 10px 0; font-size: .76rem; }
    .lm-trust-points span { padding: 0 10px; }
    .lm-trust-points span:first-child { padding-left: 0; }
    .lm-trust-points span:nth-child(2) { border-right: 0; }
    .lm-features-section { padding: 36px 0 50px; }
    .lm-section-heading { margin-bottom: 24px; }
    .lm-section-heading h2 { font-size: 2rem; }
    .lm-section-heading p { max-width: 330px; margin: 8px auto 0; font-size: .9rem; }
    .lm-feature-card { min-height: 145px; padding: 18px; gap: 15px; border-radius: 16px; }
    .lm-feature-icon { width: 62px; height: 62px; min-width: 62px; border-radius: 16px; font-size: 1.75rem; }
    .lm-feature-content { padding-right: 15px; padding-bottom: 17px; }
    .lm-feature-content h3 { font-size: .98rem; }
    .lm-feature-content p { font-size: .87rem; }
    .lm-feature-arrow { right: 14px; bottom: 12px; width: 34px; height: 34px; font-size: 1rem; }
    .lm-about-section { padding-bottom: 45px; }
    .lm-about-panel { gap: 14px; padding: 22px 18px; border-radius: 18px; }
    .lm-about-symbol { width: 48px; height: 48px; min-width: 48px; border-radius: 14px; font-size: 1.3rem; }
    .lm-about-copy { flex: 1 1 calc(100% - 65px); }
    .lm-about-copy h2 { font-size: 1.28rem; }
    .lm-about-copy p { font-size: .88rem; }
    .lm-about-action { margin: 4px 0 0 62px; }
    .lm-about-action .lm-btn-primary { width: 100%; }
    .lm-footer-inner { flex-direction: column; min-height: 0; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
    .lm-footer-credit { order: 3; font-size: .74rem; }
    .lm-social-link { order: 2; }
}

@media (max-width: 390px) {
    .lm-brand { font-size: .92rem; }
    .lm-hero-actions .btn { width: 100%; }
    .lm-trust-points span { border-right: 0; padding-left: 0; }
    .lm-feature-card { gap: 12px; padding: 15px; }
    .lm-feature-icon { width: 52px; height: 52px; min-width: 52px; font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}