/* ================================================================
   PAGE: vision-mission.css
   Page-specific sections only; shared components live in ../components.
   ================================================================ */

/* Shared visual language used by the School History page hero */
.mp-vm-page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  height: clamp(320px, 28vw, 430px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) max(24px, calc((100% - 1400px) / 2));
  overflow: hidden;
  background: url('assets/images/mothers-pride.jpg') center 45% / cover no-repeat;
}

.mp-vm-page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 14, .8), rgba(8, 10, 14, .62) 44%, rgba(8, 10, 14, .18));
}

.mp-vm-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, .22));
}

.mp-vm-page-hero-content {
  width: min(100%, 700px);
}

.mp-vm-page-hero-content::before {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-bottom: 24px;
  background: #e91e52;
}

.mp-vm-page-hero h1 {
  margin: 0;
  color: #fff;
  font-family: 'Boogaloo', cursive;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
}

@media (max-width: 850px) {
  .mp-vm-page-hero { height: 360px; }
}

@media (max-width: 680px) {
  .mp-vm-page-hero {
    height: 320px;
    padding-inline: 22px;
    background-position: 62% center;
  }

  .mp-vm-page-hero::before {
    background: linear-gradient(90deg, rgba(8, 10, 14, .84), rgba(8, 10, 14, .68) 68%, rgba(8, 10, 14, .3));
  }

  .mp-vm-page-hero h1 { font-size: clamp(2.8rem, 11vw, 3.8rem); }
}

    /* mission section */
     .mp-vision-mission {
      min-height: 70vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      margin: 0;
      position: relative;
      -webkit-font-smoothing: antialiased;
    }

   
  .mp-vision-mission::before {
      content: '';
      position: fixed;
      width: 70vmax;
      height: 70vmax;
    
      top: -20vmax;
      right: -10vmax;
      border-radius: 50%;
      z-index: 0;
      pointer-events: none;
    }

    .mp-vision-mission::after {
      content: '';
      position: fixed;
      width: 60vmin;
      height: 60vmin;
      background: radial-gradient(circle at 70% 80%, rgba(255, 180, 200, 0.35) 0%, transparent 70%);
      bottom: 0;
      left: 0;
      border-radius: 50%;
      z-index: 0;
      pointer-events: none;
    }

   
    .mp-school-card {
      max-width: 1300px;
      width: 100%;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 3.5rem;
      
      padding: 0rem 2.5rem;
      position: relative;
      z-index: 10;
     
      transition: border-radius 0.2s;
    }

  
    .mp-mission-vision-header {
      text-align: center;
      margin-bottom: 3rem;
      position: relative;
    }

    .mp-mission-vision-header h1 {
      font-size: 3.2rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      background: linear-gradient(125deg, #b82c5c, #EA154F, #f28bb0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.3rem;
      line-height: 1.2;
      text-shadow: 0 4px 12px rgba(245, 150, 180, 0.2);
    }

    .mp-mission-vision-header p {
      font-size: 1rem;
      color: #fff;
      font-weight: 400;
      background: #061B45;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      display: inline-block;
      padding: 0.5rem 2rem 0.5rem 2rem;
      border-radius: 60px;
      border: 1px solid #ffdae9;
      box-shadow: 0 4px 8px rgba(255, 200, 220, 0.3);
    }

  
    .mp-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.2rem;
      margin: 2rem 0 2rem;
    }

    .mp-card {
      background: rgba(255, 250, 252, 0.9);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      border-radius: 2.8rem;
      padding: 2.5rem 2.2rem 2.2rem 2.2rem;
      box-shadow: 
        0 15px 30px -10px rgba(200, 120, 140, 0.2),
        0 5px 0 0 #ffe2ed,          
        inset 0 -2px 0 0 #ffb6d1;
      border: 1px solid #ffdeec;
      transition: transform 0.2s, box-shadow 0.3s;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
    }

    .mp-card:hover {
      transform: translateY(-6px);
      box-shadow: 
        0 25px 30px -10px #fbb6ce,
        0 8px 0 0 #ff9fbb,
        inset 0 -2px 0 0 #ff88aa;
      border-color: #ffbfd5;
    }

    .mp-card::after {
      content: '✦';
      font-size: 8rem;
      color: rgba(255, 170, 200, 0.1);
      position: absolute;
      bottom: -1rem;
      right: -1rem;
      transform: rotate(15deg);
      pointer-events: none;
      line-height: 1;
      user-select: none;
    }

    .mp-card h2 {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-size: 2.3rem;
      font-weight: 600;
      color: #1f3a57;
      margin-bottom: 1.6rem;
      letter-spacing: -0.01em;
      background: linear-gradient(135deg, #243b55, #3b2b3f);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
    }

    .mp-card h2::before {
  content: '';
  display: inline-block;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: white; 
  margin-right: 0.5rem;
  border: 2px solid white;
  box-shadow: 0 4px 8px #ffc1d5;
  background-size: cover;
  background-position: center;
  padding: 2px;
}


.mp-mission h2::before {
  background-image: url('assets/images/mission_sjalc9.png'); 
}


.mp-vision h2::before {
  background-image: url('assets/images/missionnn_uajqnm.png'); 
}

    .mp-card p {
      color: #2b4a6e;
      font-size: 1rem;
      line-height: 2rem;
      margin-bottom: 2rem;
      flex: 1;
      padding-left: 1.2rem;
      border-left: 3px solid #ffb0ca;
    }

    .mp-card-highlight {
      background: linear-gradient(105deg, #ffe4f0, #fff0f7);
      padding: 1rem 1.5rem;
      border-radius: 3rem;
      font-size: 1.05rem;
      font-weight: 550;
      color: #b13e62;
      border: 1px solid #ffbfd5;
      box-shadow: 0 4px 8px rgba(255, 150, 180, 0.2);
      margin-top: auto;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .mp-card-highlight::before {
      content: '✨';
      font-size: 1.4rem;
      filter: drop-shadow(0 2px 2px #fbc1d0);
    }

    .mp-editable-footer {
      text-align: center;
      margin-top: 3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.8rem;
      flex-wrap: wrap;
      border-top: 2px dashed #ffb8ce;
      padding-top: 2rem;
    }

    .mp-editable-tag {
      background: #ffddea;
      padding: 0.6rem 2rem;
      border-radius: 40px;
      font-weight: 600;
      color: #a12d55;
      letter-spacing: 0.02em;
      box-shadow: 0 6px 0 #feadc6;
      border: 1px solid #ffffff;
      font-size: 1.1rem;
      backdrop-filter: blur(2px);
    }

    .mp-editable-footer span:last-child {
      background: rgba(255, 255, 255, 0.6);
      backdrop-filter: blur(4px);
      padding: 0.4rem 1.8rem;
      border-radius: 60px;
      color: #882d52;
      font-weight: 480;
      border: 1px solid #ffbed3;
    }

    @media screen and (max-width: 700px) {
      .mp-vision-mission { padding: 0.8rem; align-items: flex-start; }
      .mp-school-card { padding: 1.8rem 1.2rem; border-radius: 2.5rem; }
      .mp-mission-vision-header h1 { font-size: 2.4rem; }
      .mp-mission-vision-header p { font-size: 1.1rem; padding: 0.4rem 1.2rem; }
      .mp-grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
      .mp-card { padding: 1.8rem 1.5rem 1.5rem; border-radius: 2.2rem; }
      .mp-card h2 { font-size: 2rem; gap: 0.6rem; margin-bottom: 1.2rem; }
      .mp-card h2::before { width: 2.4rem; height: 2.4rem; }
      .mp-mission h2::after, .mp-vision h2::after { font-size: 1.6rem; left: 0.5rem; top: 0.2rem; }
      .mp-card p { font-size: 1.1rem; padding-left: 1rem; margin-bottom: 1.5rem; }
      .mp-card-highlight { font-size: 0.98rem; padding: 0.7rem 1.2rem; }
      .mp-editable-footer { flex-direction: column; gap: 0.6rem; padding-top: 1.5rem; }
      .mp-editable-tag { padding: 0.5rem 1.6rem; }
    }

    @media screen and (max-width: 380px) {
      .mp-school-card { padding: 1.2rem 0.9rem; }
      .mp-mission-vision-header h1 { font-size: 2rem; }
      .mp-card h2 { font-size: 1.8rem; }
    }

    @media screen and (max-height: 600px) and (orientation: landscape) {
      .mp-vision-mission { align-items: flex-start; padding: 0.8rem; }
      .mp-grid-2 { grid-template-columns: 1fr 1fr; }
    }
     /* mission section END */
    /* mission vission img section */

     .vm-section {
      max-width: 1200px;
      margin: auto;
      display: flex;
      flex-direction: column;
      gap: 60px;
    }

    .vm-row {
      display: flex;
      gap: 40px;
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
      overflow: hidden;
      flex-wrap: wrap;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .vm-row:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

    .vm-row:nth-child(even) {
      flex-direction: row-reverse;
    }

    .vm-image {
      flex: 1 1 400px;
      min-width: 300px;
      overflow: hidden;
      border-radius: 20px 0 0 20px;
    }

    .vm-row:nth-child(even) .vm-image {
      border-radius: 0 20px 20px 0;
    }

    .vm-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }

    .vm-image img:hover {
      transform: scale(1.05);
    }

    .vm-content {
      flex: 1 1 500px;
      min-width: 300px;
      padding: 40px 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .vm-content h2 {
      font-size: 1.8rem;
      color: #2c3e50;
      margin-bottom: 15px;
    }

    .vm-content p {
      font-size: 1rem;
      color: #555;
      line-height: 1.8;
      margin-bottom: 20px;
    }

    .vm-content ul {
      list-style: none;
      padding-left: 0;
    }

    .vm-content ul li {
      position: relative;
      padding-left: 30px;
      margin-bottom: 12px;
      font-size: 1rem;
      color: #555;
      line-height: 1.9;
    }

    .vm-content ul li::before {
      content: '✔';
      position: absolute;
      left: 0;
      color: #3498db;
      font-weight: bold;
    }

    @media (max-width: 900px) {
      .vm-row {
        flex-direction: column;
      }
      .vm-content {
        padding: 20px;
      }
      .vm-content h2 {
        text-align: center;
      }
    }
     /* mission vission img section  END*/

/* ================================================================
   PAGE-LEVEL VISUAL POLISH
   This source is appended to each isolated page stylesheet.
   ================================================================ */

/* Smooth, accessible interaction feedback */
a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(214, 168, 75, 0.9);
  outline-offset: 3px;
}

/* Media presentation remains contained within its own page */
img {
  height: auto;
}

/* Prevent long labels, links, and table content from breaking layouts */
p,
li,
td,
th,
a {
  overflow-wrap: break-word;
}

/* Refined motion where the visitor allows animation */
@media (prefers-reduced-motion: no-preference) {
  img,
  a,
  button {
    transition-duration: 220ms;
    transition-timing-function: ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .mp-top-strip,
  .mp-main-header,
  .mp-mobile-menu,
  .mp-overlay,
  .apply-now,
  .whatsapp {
    display: none !important;
  }
}

/* Clean Mission & Vision cards */
.mp-vision-mission {
  min-height: 0;
  padding: clamp(32px, 4vw, 52px) 20px clamp(58px, 7vw, 90px);
  background: #fff;
}

.mp-vision-mission::before,
.mp-vision-mission::after { display: none; }

.mp-school-card {
  width: min(100%, 1280px);
  padding: 0 20px;
  border-radius: 0;
  background: #fff;
  backdrop-filter: none;
}

.mp-mission-vision-header {
  max-width: 720px;
  margin: 0 auto clamp(30px, 4vw, 45px);
}

.mp-mission-vision-header h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  text-shadow: none;
}

.mp-mission-vision-header p {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #687386;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.mp-grid-2 {
  gap: clamp(22px, 3vw, 36px);
  margin: 0;
}

.mp-card {
  padding: clamp(32px, 4vw, 46px);
  border: 1px solid rgba(7, 29, 67, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(7, 29, 67, .08);
  backdrop-filter: none;
}

.mp-card:hover {
  border-color: rgba(233, 30, 82, .2);
  box-shadow: 0 22px 55px rgba(7, 29, 67, .12);
  transform: translateY(-4px);
}

.mp-card::after,
.mp-card h2::before,
.mp-card-highlight::before { display: none; }

.mp-card h2 {
  display: block;
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.mp-card p {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: #53627a;
  font-size: 1rem;
  line-height: 1.8;
}

.mp-card-highlight {
  display: block;
  margin-top: auto;
  padding: 14px 18px;
  border: 1px solid rgba(233, 30, 82, .13);
  border-radius: 12px;
  background: #fff5f8;
  box-shadow: none;
  color: #b9365d;
  font-size: .96rem;
}

@media (max-width: 760px) {
  .mp-vision-mission { padding: 30px 14px 58px; }
  .mp-school-card { padding: 0; }
  .mp-mission-vision-header { margin-bottom: 28px; }
  .mp-grid-2 { grid-template-columns: 1fr; gap: 18px; }
  .mp-card { padding: 28px 22px; border-radius: 18px; }
}
