/* ============================================================
   Mission Page — Dedicated Layout & Styles
   ============================================================ */

/* ---- HERO ---- */
.m-hero {
    position: relative;
    background: linear-gradient(175deg, var(--temple-white) 0%, var(--sandal-cream) 50%, var(--ivory) 100%);
    padding: 80px 24px 60px;
    text-align: center;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-hero-decor-left,
.m-hero-decor-right {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    opacity: 0.12;
    background: radial-gradient(circle, var(--marigold-gold) 0%, transparent 70%);
    pointer-events: none;
}

.m-hero-decor-left {
    top: -40px;
    left: -60px;
}

.m-hero-decor-right {
    bottom: -40px;
    right: -60px;
    width: 220px;
    height: 220px;
}

.m-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 168, 23, 0.15) 0%, transparent 70%);
    animation: pulseGlow 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.m-hero-inner {
    position: relative;
    z-index: 1;
    animation: heroSlideIn 0.9s ease both;
}

.m-hero-sanskrit {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 13px;
    color: #8B4513;
    opacity: 0.65;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.m-hero-om {
    font-size: 100px;
    line-height: 1;
    color: var(--marigold-gold);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(230, 168, 23, 0.3));
    margin-bottom: 15px;
    animation: omGlow 3s ease-in-out infinite, titlePop 0.8s 0.3s ease both;
    font-weight: 900;
}

.m-hero-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: titlePop 0.6s 0.4s ease both;
}

.m-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.m-hero-divider span:first-child,
.m-hero-divider span:last-child {
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--marigold-gold), transparent);
}

.m-hero-dot {
    color: var(--marigold-gold);
    font-size: 10px;
}

.m-hero-subtitle {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 15px;
    color: #795548;
    line-height: 1.7;
    background: rgba(139, 69, 19, 0.06);
    display: inline-block;
    padding: 12px 24px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    animation: fadeInUp 0.6s 0.6s ease both;
}

/* ---- DUO SECTIONS (2-column cards) ---- */
.m-duo-section {
    padding: 60px 24px;
    background: var(--ivory);
}

.m-duo-section.m-duo-alt {
    background: var(--temple-white);
}

.m-duo-container {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .m-duo-container {
        grid-template-columns: 1fr;
    }
}

/* ---- CARD (shared for duo) ---- */
.m-duo-card {
    background: white;
    border-radius: 24px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05);
    transition: transform 0.45s cubic-bezier(.22, .61, .36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s;
}

.m-duo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--marigold-gold);
}

/* Decorative gradient corner */
.m-duo-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at top right, rgba(230, 168, 23, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Number badge */
.m-card-num {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    color: rgba(182, 90, 60, 0.08);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    user-select: none;
}

.m-num-center {
    position: static;
    text-align: center;
    margin-bottom: 8px;
}

/* Icon wrap variants */
.m-card-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(.22, .61, .36, 1), box-shadow 0.35s;
}

.m-duo-card:hover .m-card-icon-wrap {
    transform: scale(1.12) rotate(-6deg);
}

.m-card-icon-wrap .material-symbols-outlined {
    font-size: 28px;
}

.m-icon-saffron {
    background: linear-gradient(135deg, #FFF0DC, #F5DFC0);
    box-shadow: 0 4px 12px rgba(199, 62, 29, 0.1);
}

.m-icon-saffron .material-symbols-outlined {
    color: #C73E1D;
}

.m-icon-gold {
    background: linear-gradient(135deg, #FFFDE7, #FFF9C4);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.12);
}

.m-icon-gold .material-symbols-outlined {
    color: #F9A825;
}

.m-icon-green {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.m-icon-green .material-symbols-outlined {
    color: #2E7D32;
}

.m-icon-maroon {
    background: linear-gradient(135deg, #FCE4EC, #F8BBD0);
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.08);
}

.m-icon-maroon .material-symbols-outlined {
    color: #C62828;
}

/* Card title */
.m-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Card list */
.m-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.m-card-list li {
    position: relative;
    padding: 7px 0 7px 26px;
    font-size: 14px;
    color: #5D4037;
    line-height: 1.65;
    transition: transform 0.25s, color 0.25s;
}

.m-card-list li:hover {
    transform: translateX(4px);
    color: #3E2723;
}

.m-card-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C73E1D, #C9A84C);
    box-shadow: 0 0 6px rgba(199, 62, 29, 0.3);
}

/* ---- DEVOTEE SECTION ---- */
.m-devotee-section {
    padding: 80px 24px;
    background: var(--sandal-cream);
}

.m-devotee-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: var(--ivory);
    border-radius: 32px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--glass-border);
}

/* Golden shimmer top border */
.m-devotee-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #C9A84C, #C73E1D, #C9A84C, transparent);
    background-size: 300% 100%;
    animation: shimmerBar 3s linear infinite;
}

@keyframes shimmerBar {
    0% {
        background-position: 300% 0;
    }

    100% {
        background-position: -300% 0;
    }
}

.m-devotee-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FCE4EC, #F8BBD0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.12);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.m-devotee-badge .material-symbols-outlined {
    font-size: 30px;
    color: #E91E63;
}

.m-devotee-title {
    font-size: 24px;
    font-weight: 800;
    color: #3D0F16;
    margin-bottom: 28px;
}

.m-devotee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 700px) {
    .m-devotee-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.m-benefit-item {
    background: linear-gradient(180deg, #FDF6EC, #FDF2E9);
    border-radius: 18px;
    padding: 24px 18px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    transition: transform 0.35s cubic-bezier(.22, .61, .36, 1), box-shadow 0.35s;
}

.m-benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(201, 168, 76, 0.12);
}

.m-benefit-item .material-symbols-outlined {
    font-size: 32px;
    color: #C73E1D;
    margin-bottom: 10px;
    display: block;
}

.m-benefit-item p {
    font-size: 14px;
    color: #5D4037;
    line-height: 1.6;
}

/* ---- CTA SECTION ---- */
.m-cta-section {
    padding: 0;
}

.m-cta-inner {
    background: var(--sandal-cream);
    background-image: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0l2 18h18l-15 11 6 18-11-13-11 13 6-18-15-11h18z" fill="%23FF9933" fill-opacity="0.05" fill-rule="evenodd"/></svg>');
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
}

.m-cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(199, 62, 29, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

.m-cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.m-cta-emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    animation: floatBadge 3s ease-in-out infinite;
}

.m-cta-section h2 {
    color: var(--text-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    .m-hero {
        padding: 50px 16px 40px;
        min-height: 340px;
    }

    .m-hero-title {
        font-size: 34px;
    }

    .m-hero-om {
        font-size: 60px;
    }

    .m-hero-subtitle {
        font-size: 13px;
        padding: 10px 16px;
    }

    .m-duo-section {
        padding: 32px 16px;
    }

    .m-duo-card {
        padding: 24px 20px;
    }

    .m-card-title {
        font-size: 17px;
    }

    .m-card-num {
        font-size: 34px;
    }

    .m-devotee-section {
        padding: 36px 16px;
    }

    .m-devotee-container {
        padding: 28px 20px;
    }

    .m-devotee-title {
        font-size: 20px;
    }

    .m-cta-inner {
        padding: 40px 16px;
    }

    .m-cta-emoji {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .m-cta-section h2 {
        font-size: 18px;
        margin-bottom: 24px;
    }
}