/* ==========================================================================
   vision_mission.css — Sneh Shikshan Avam Manav Seva Sansthan (Rewa, MP)
   Vision & Mission Page Styling
   ========================================================================== */

/* -------------------- Variables (match top.css & index.css) -------------------- */
:root {
    --orange:        #ffa500;
    --orange-dark:   #e69500;
    --navy:          #1a2c4e;
    --navy-dark:     #0f1c34;
    --navy-light:    #2a3f66;
    --white:         #ffffff;
    --text-dark:     #222222;
    --text-muted:    #667085;
    --bg-soft:       #f7f9fc;
    --shadow-sm:     0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md:     0 6px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.15);
    --radius:        14px;
}

/* -------------------- Utility -------------------- */
.section-pad { padding: 70px 0; }

.section-tag {
    display: inline-block;
    background: rgba(255, 165, 0, 0.15);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.section-text {
    color: #4a5568;
    font-size: 15.5px;
    line-height: 1.75;
    margin-bottom: 14px;
}

.section-head { margin-bottom: 40px; }

/* -------------------- Buttons -------------------- */
.btn-brand {
    background: var(--orange);
    color: var(--white) !important;
    font-weight: 700;
    border: 2px solid var(--orange);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-brand:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 44, 78, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* ==========================================================================
   PAGE HERO (same as about_us)
   ========================================================================== */
.page-hero {
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255, 165, 0, 0.20), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(255, 165, 0, 0.15), transparent 45%);
    pointer-events: none;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255,255,255,0.03) 0 20px,
            transparent 20px 40px);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-breadcrumb {
    justify-content: center;
    margin: 0;
    background: transparent;
    padding: 0;
}

.page-breadcrumb .breadcrumb-item,
.page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover { color: var(--orange); }

.page-breadcrumb .breadcrumb-item.active {
    color: var(--orange);
    font-weight: 700;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    line-height: 1;
}

.page-breadcrumb i { margin-right: 4px; }

/* ==========================================================================
   INTRO
   ========================================================================== */
.vm-intro {
    background: var(--white);
    padding-bottom: 20px;
}

/* ==========================================================================
   VISION & MISSION — Shared Visual Block
   ========================================================================== */
.vm-vision { background: var(--white); }
.vm-mission { background: var(--bg-soft); }

/* Visual (Icon with rings) */
.vm-visual {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-visual-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--white);
    position: relative;
    z-index: 3;
    transition: all 0.35s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vm-visual--vision .vm-visual-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.vm-visual--mission .vm-visual-icon {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.vm-visual:hover .vm-visual-icon {
    transform: scale(1.06) rotate(-6deg);
}

/* Decorative rings */
.vm-visual-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vm-visual-rings span {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.4;
    animation: pulseRing 4s ease-in-out infinite;
}

.vm-visual--vision .vm-visual-rings span { border-color: var(--orange); }
.vm-visual--mission .vm-visual-rings span { border-color: var(--navy); }

.vm-visual-rings span:nth-child(1) {
    width: 180px; height: 180px;
    animation-delay: 0s;
}
.vm-visual-rings span:nth-child(2) {
    width: 240px; height: 240px;
    animation-delay: 0.6s;
}
.vm-visual-rings span:nth-child(3) {
    width: 320px; height: 320px;
    animation-delay: 1.2s;
}

@keyframes pulseRing {
    0%, 100% { transform: scale(1);   opacity: 0.35; }
    50%      { transform: scale(1.05); opacity: 0.15; }
}

/* Visual label */
.vm-visual-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 22px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 4;
    white-space: nowrap;
}

.vm-visual--vision .vm-visual-label { color: var(--orange-dark); }

/* ==========================================================================
   VM LIST — Vision & Mission bullet points
   ========================================================================== */
.vm-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.vm-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--orange);
    transition: all 0.3s ease;
}

.vm-mission .vm-list li {
    background: var(--white);
    border-left-color: var(--navy);
}

.vm-list li:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.vm-list li i {
    color: var(--orange);
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.vm-mission .vm-list li i {
    color: var(--navy);
}

.vm-list li strong {
    display: block;
    color: var(--navy);
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.vm-list li span {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* ==========================================================================
   CORE VALUES
   ========================================================================== */
.vm-values {
    background: var(--white);
}

.value-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 32px 22px;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.value-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    border-top-color: var(--orange);
}

.value-card:hover::before { opacity: 1; }

.value-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--orange);
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    background: var(--orange);
    color: var(--white);
    transform: rotate(-10deg) scale(1.08);
}

.value-card h5 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   PROCESS — How We Work
   ========================================================================== */
.vm-process {
    background: var(--bg-soft);
}

.process-row {
    position: relative;
}

/* Connector line between cards (desktop only) */
@media (min-width: 992px) {
    .process-row::before {
        content: "";
        position: absolute;
        top: 62px;
        left: 12%;
        right: 12%;
        height: 2px;
        background-image: linear-gradient(
            to right,
            var(--orange) 50%,
            transparent 50%
        );
        background-size: 16px 2px;
        background-repeat: repeat-x;
        opacity: 0.5;
        z-index: 0;
    }
}

.process-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 22px 28px;
    text-align: center;
    position: relative;
    z-index: 1;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border-bottom: 4px solid transparent;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--orange);
}

.process-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: var(--orange);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.35s ease;
}

.process-card:hover .process-num {
    background: var(--orange);
    color: var(--white);
}

.process-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(26, 44, 78, 0.08));
    color: var(--orange);
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 22px 0 18px;
    transition: all 0.35s ease;
}

.process-card:hover .process-icon {
    background: var(--orange);
    color: var(--white);
    transform: rotate(-8deg) scale(1.06);
}

.process-card h5 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.process-card p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 55px 0;
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--white);
}

.cta-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {

    .section-pad { padding: 50px 0; }
    .section-head { margin-bottom: 30px; }

    .page-hero { min-height: 220px; padding: 40px 0; }

    .vm-visual { max-width: 300px; }

    .vm-visual-icon { width: 110px; height: 110px; font-size: 48px; }

    .vm-visual-rings span:nth-child(1) { width: 150px; height: 150px; }
    .vm-visual-rings span:nth-child(2) { width: 200px; height: 200px; }
    .vm-visual-rings span:nth-child(3) { width: 270px; height: 270px; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-buttons { justify-content: center; width: 100%; }
}

@media (max-width: 575.98px) {

    .section-pad { padding: 40px 0; }
    .section-title { font-size: 1.3rem; }
    .section-text { font-size: 14.5px; }

    .page-hero { min-height: 180px; padding: 30px 0; }
    .page-hero-title { font-size: 1.5rem; }

    .vm-visual { max-width: 240px; }

    .vm-visual-icon { width: 90px; height: 90px; font-size: 38px; }

    .vm-visual-rings span:nth-child(1) { width: 120px; height: 120px; }
    .vm-visual-rings span:nth-child(2) { width: 160px; height: 160px; }
    .vm-visual-rings span:nth-child(3) { width: 210px; height: 210px; }

    .vm-visual-label { font-size: 11px; padding: 6px 14px; bottom: 12px; }

    .vm-list li { padding: 13px 14px; gap: 10px; }
    .vm-list li i { font-size: 19px; }
    .vm-list li strong { font-size: 14px; }
    .vm-list li span { font-size: 12.5px; }

    .value-card { padding: 26px 18px; }
    .value-icon { width: 60px; height: 60px; font-size: 26px; }
    .value-card h5 { font-size: 16px; }

    .process-card { padding: 28px 18px 22px; }
    .process-icon { width: 64px; height: 64px; font-size: 26px; }
    .process-card h5 { font-size: 16px; }
}