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

.cp-section-order {
  display: flex;
  flex-direction: column;
}

.cp-section-order .novalearn-nexus { order: 1; }
.cp-section-order .msEcoProject_section { order: 2; }

/* class-presentation */
    .class-presentation {
            padding: 4rem 1.5rem;
            background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
        }

        .container-class {
            max-width: 1200px;
            margin: 0 auto;
        }

        
        .section-title-class {
            text-align: center;
            margin-bottom: 3.5rem;
        }

       .section-title-class h2 {
            font-size: 2.8rem;
            font-weight: 700;
            background: linear-gradient(145deg, #1E3A5F 30%, #EA194C 80%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.02em;
            margin-bottom: 0.6rem;
            display: inline-block;
            padding: 0 1rem 1rem 1rem;
            position: relative;
        }

        .section-title-class h2::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 10%;
            width: 80%;
            height: 5px;
            background: #EA194C;
            border-radius: 10px;
            opacity: 0.8;
            box-shadow: 0 2px 6px rgba(234,25,76,0.2);
        }

        .section-title-class h2::after {
            content: '✦';
            font-size: 1.8rem;
            color: #EA194C;
            position: absolute;
            bottom: -22px;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 8px rgba(30,58,95,0.1);
            border: 2px solid rgba(234,25,76,0.3);
            -webkit-text-fill-color: #EA194C;
            background-clip: unset;
            font-size: 1.5rem;
        }

        .section-title-class p {
            max-width: 650px;
            margin: 2rem auto 0;
            color: #3A4E6B;
            font-size: 1.2rem;
            background: rgba(255, 255, 255, 0.7);
            padding: 0.8rem 2rem;
            border-radius: 50px;
            border: 1px solid rgba(234, 25, 76, 0.2);
            box-shadow: 0 4px 8px rgba(0,0,0,0.02);
            line-height: 1.6;
        }

       
        .presentation-gallery {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

       
        .presentation-card {
            background: #ffffff;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 10px 20px -8px rgba(30, 58, 95, 0.08), 0 0 0 1px rgba(234, 25, 76, 0.1);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            display: flex;
            flex-direction: column;
            position: relative;  
        }

        .presentation-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 28px -12px rgba(30, 58, 95, 0.12), 0 0 0 1px rgba(234, 25, 76, 0.2);
        }

       
        .presentation-card .image-wrapper {
            width: 100%;
            height: 200px;
            overflow: hidden;
            background: #dce5f0;
            position: relative;
            z-index: 1;
        }

        .presentation-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
            display: block;
        }

        .presentation-card:hover img {
            transform: scale(1.04);
        }

        
        .icon-wrapper {
            display: flex;
            justify-content: center;
            margin-top: -28px;
            margin-bottom: 12px;
            position: relative;
            z-index: 10;       
        }

        .icon-wrapper i {
            font-size: 1.9rem;
            color: white;
            background: #EA194C;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 12px rgba(234, 25, 76, 0.25);
            border: 3px solid white;
            transition: 0.2s;
        }

        .presentation-card:hover .icon-wrapper i {
            background: #1E3A5F;
            box-shadow: 0 8px 16px rgba(30, 58, 95, 0.2);
        }

        
        .card-content {
            padding: 0 1.2rem 1.8rem 1.2rem;
            text-align: center;
            position: relative;
            z-index: 5;
        }

        .card-content h3 {
            font-size: 17px;
            font-weight: 700;
            color: #1E3A5F;
            margin-bottom: 0.5rem;
        }

        .card-content p {
            font-size: 0.98rem;
            color: #4a5e7c;
            line-height: 1.5;
            max-width: 260px;
            margin: 0 auto;
        }

        
        @media (max-width: 1024px) {
            .presentation-gallery {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.8rem;
            }
            .section-title-class h2 {
                font-size: 2.5rem;
            }
        }

       
        @media (max-width: 640px) {
            .class-presentation {
                padding: 3rem 1rem;
            }

            .section-title-class h2 {
                font-size: 2.3rem;
                padding: 0 0.5rem 0.8rem 0.5rem;
            }

            .section-title h2::after {
                width: 40px;
                height: 40px;
                font-size: 1.3rem;
                bottom: -20px;
            }

            .section-title p {
                font-size: 1.05rem;
                padding: 0.7rem 1.2rem;
                margin-top: 1.8rem;
            }

            .presentation-gallery {
                grid-template-columns: 1fr;
                gap: 2rem;
                max-width: 400px;
                margin: 0 auto;
            }

            .presentation-card .image-wrapper {
                height: 200px;
            }

            .icon-wrapper i {
                width: 64px;
                height: 64px;
                font-size: 1.9rem;
            }

            .card-content h3 {
                font-size: 1.6rem;
            }

            .card-content p {
                font-size: 1rem;
                max-width: 280px;
            }
        }

        
        @media (max-width: 400px) {
            .section-title-class h2 {
                font-size: 2rem;
            }
            .card-content h3 {
                font-size: 1.5rem;
            }
        }

        
        .footer-tags {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-top: 3rem;
        }

        .footer-tags span {
            background: #f0f4fe;
            color: #1E3A5F;
            padding: 0.5rem 1.5rem;
            border-radius: 40px;
            font-size: 0.95rem;
            border: 1px solid rgba(234, 25, 76, 0.2);
            box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        }

        .footer-tags i {
            color: #EA194C;
            margin-right: 6px;
        }

/* class-presentation END */
/* Circle deisgn */
 .novalearn-nexus {
    padding: 50px 24px;
    background: linear-gradient(145deg, #f9faff 0%, #f0f3fd 100%);
    position: relative;
    overflow: hidden;
}

.novalearn-nexus::before,
.novalearn-nexus::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.novalearn-nexus::before {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 30% 30%, rgba(235, 23, 79, 0.05), transparent 70%);
    top: -50px;
    right: -50px;
}

.novalearn-nexus::after {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle at 70% 80%, rgba(6, 27, 69, 0.04), transparent 70%);
    bottom: -70px;
    left: -70px;
}

.novalearn-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.novalearn-header {
    text-align: center;
    margin-bottom: 60px;
}

.novalearn-heading {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #061B45;
    margin-bottom: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    word-break: break-word;
}

.novalearn-accent {
    color: #EB174F;
    font-weight: 800;
    display: inline-block;
    position: relative;
}

.novalearn-accent::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #EB174F;
    border-radius: 40px;
    opacity: 0.5;
}

.novalearn-description {
    max-width: 700px;
    margin: 0 auto;
    color: #2d3b5a;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(2px);
    padding: 0 20px;
}

.novalearn-grid {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    align-items: center;
    gap: 30px;
}

.novalearn-side {
    display: flex;
    flex-direction: column;
}

.novalearn-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 45px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 15px 25px 15px 15px;
    border-radius: 60px 20px 20px 60px;
    box-shadow: 0 12px 28px -8px rgba(6, 27, 69, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.7);
}

.novalearn-card--right {
    border-radius: 20px 60px 60px 20px;
    padding: 15px 15px 15px 25px;
}

.novalearn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 38px -12px rgba(235, 23, 79, 0.25);
    background: white;
    border-color: white;
}

.novalearn-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 18px -6px rgba(0,0,0,0.2), inset 0 -2px 0 rgba(0,0,0,0.1);
    transition: 0.25s ease;
    flex-shrink: 0;
}

.novalearn-card:hover .novalearn-icon {
    transform: scale(1.07) rotate(2deg);
    box-shadow: 0 16px 24px -8px currentColor;
}

.novalearn-icon--green { background: linear-gradient(145deg, #9dc44d, #7fa53a); box-shadow: 0 8px 18px -6px #9dc44d80; }
.novalearn-icon--red { background: linear-gradient(145deg, #ff6b6b, #e04f4f); box-shadow: 0 8px 18px -6px #ff6b6b80; }
.novalearn-icon--blue { background: linear-gradient(145deg, #3aa0ff, #1f7ed0); box-shadow: 0 8px 18px -6px #3aa0ff80; }
.novalearn-icon--yellow { background: linear-gradient(145deg, #ffb400, #e09e00); box-shadow: 0 8px 18px -6px #ffb40080; }

.novalearn-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #061B45;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.novalearn-card-text {
    color: #3e4a66;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    max-width: 240px;
}

.novalearn-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.novalearn-circle {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #eef2fc);
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 12px 24px -10px rgba(6,27,69,0.2);
    overflow: hidden;
    transition: 0.2s ease;
    margin: 0 auto;
}

.novalearn-circle:hover { transform: scale(1.01); }
.novalearn-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.novalearn-card:last-child { margin-bottom: 0; }

/* ===== PERFECT MOBILE STYLES ===== */
@media (max-width: 900px) {
    .novalearn-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .novalearn-heading {
        font-size: 38px;
        margin-left: auto;
        margin-right: auto;
        white-space: nowrap;      /* keep heading on one line */
    }

    .novalearn-description {
        font-size: 1rem;
        padding: 0 10px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .novalearn-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .novalearn-center {
        order: -1;
        justify-content: center;
        margin: 0 0 20px 0;
    }

    .novalearn-circle {
        max-width: 300px;         /* increased from 260px */
        margin: 0 auto;
    }

    .novalearn-card,
    .novalearn-card--right {
        border-radius: 60px 20px 20px 60px !important;
        padding: 15px 20px 15px 15px !important;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    .novalearn-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .novalearn-card-title {
        font-size: 20px;
    }

    .novalearn-card-text {
        font-size: 14px;
        max-width: none;
    }

    .novalearn-side {
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .novalearn-heading {
        font-size: 32px;          /* ensure one line on narrower screens */
    }
}

@media (max-width: 480px) {
    .novalearn-nexus {
        padding: 30px 12px;
    }

    .novalearn-heading {
        font-size: 26px;          /* still one line at 480px */
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .novalearn-accent::after {
        bottom: -3px;
        height: 2px;
    }

    .novalearn-description {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 5px;
    }

    .novalearn-card {
        padding: 12px 15px 12px 12px !important;
        gap: 12px;
    }

    .novalearn-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .novalearn-card-title {
        font-size: 17px;
    }

    .novalearn-card-text {
        font-size: 12px;
    }

    .novalearn-circle {
        max-width: 220px;         /* increased from 180px */
    }
}

/* Even smaller devices */
@media (max-width: 380px) {
    .novalearn-heading {
        font-size: 22px;
    }
    .novalearn-circle {
        max-width: 180px;
    }
}
/* Circle deisgn END */
/* Classpresentation Header deisgn */

.msEcoProject_section {
      padding: 4rem 1.5rem;
      min-height: 50vh;
      display: flex;
      align-items: center;
      background: #061B45;
      background-image: radial-gradient(circle at 20% 30%, rgba(238, 15, 75, 0.08) 0%, transparent 30%),
                        radial-gradient(circle at 80% 70%, rgba(238, 15, 75, 0.05) 0%, transparent 40%);
    }

    .msEcoProject_container {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }

    .msEcoProject_row {
      display: flex;
      align-items: center;
      gap: 3rem;
    }

    .msEcoProject_col {
      flex: 1 1 50%;
    }

    .msEcoProject_preHeading {
      display: inline-block;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.3px;
      text-transform: uppercase;
      color: #ffffff;
      background: rgba(238, 15, 75, 0.18);
      padding: 0.4rem 1.2rem;
      border-radius: 40px;
      margin-bottom: 1rem;
      backdrop-filter: blur(4px);
      border: 1px solid rgba(238, 15, 75, 0.4);
    }

    .msEcoProject_mainHeading {
      font-size: clamp(2.4rem, 6vw, 3.8rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.2rem;
      color: #ffffff;
    }

    .msEcoProject_gradientSpan {
      background: linear-gradient(145deg, #EE0F4B, #ff6b9d, #EE0F4B);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      display: inline-block;
    }

    .msEcoProject_description {
      font-size: 1.15rem;
      color: rgba(255, 255, 255, 0.8);
      max-width: 520px;
      margin-bottom: 2.5rem;
      font-weight: 400;
      border-left: 4px solid #EE0F4B;
      padding-left: 1.2rem;
      background: rgba(255, 255, 255, 0.02);
      border-radius: 0 8px 8px 0;
    }

    .msEcoProject_topicGrid {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 1.8rem;
    }

    .msEcoProject_topicChip {
      background: rgba(6, 27, 69, 0.7);
      backdrop-filter: blur(4px);
      padding: 0.8rem 1.6rem;
      border-radius: 60px;
      font-weight: 500;
      font-size: 1rem;
      color: white;
      box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(238, 15, 75, 0.5);
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      transition: all 0.25s ease;
      border: 1px solid rgba(238, 15, 75, 0.3);
    }

    .msEcoProject_topicChip i {
      color: #EE0F4B;
      font-size: 1.1rem;
    }

    .msEcoProject_topicChip:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 24px -8px rgba(238, 15, 75, 0.5), 0 0 0 1px #EE0F4B;
      background: rgba(238, 15, 75, 0.2);
    }

    .msEcoProject_classMeta {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      margin-top: 2.2rem;
      color: rgba(255, 255, 255, 0.7);
      font-weight: 400;
      border-top: 2px dashed rgba(238, 15, 75, 0.4);
      padding-top: 1.5rem;
      flex-wrap: wrap;
    }

    .msEcoProject_metaItem {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.95rem;
      background: rgba(6, 27, 69, 0.6);
      padding: 0.3rem 1rem 0.3rem 0.8rem;
      border-radius: 40px;
      backdrop-filter: blur(2px);
      border: 1px solid rgba(238, 15, 75, 0.2);
    }

    .msEcoProject_metaItem i {
      color: #EE0F4B;
    }

    .msEcoProject_blobWrapper {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .msEcoProject_blob {
      width: 100%;
      max-width: 420px;
      aspect-ratio: 1 / 1;
      border-radius: 48% 52% 38% 62% / 51% 44% 56% 49%;
      box-shadow: 0 28px 38px -12px rgba(238, 15, 75, 0.5),
                  0 0 0 6px rgba(6, 27, 69, 0.8) inset;
      transition: border-radius 0.7s ease, transform 0.4s ease, box-shadow 0.3s;
      animation: morphBlob 12s ease-in-out infinite alternate;
      will-change: border-radius, transform;
      overflow: hidden;
      background: transparent;
    }

    .msEcoProject_blob:hover {
      transform: scale(1.02) rotate(2deg);
      box-shadow: 0 34px 48px -12px #EE0F4B, 0 0 0 8px rgba(255, 255, 255, 0.2) inset;
    }

    @keyframes morphBlob {
      0% { border-radius: 48% 52% 38% 62% / 51% 44% 56% 49%; }
      25% { border-radius: 62% 38% 54% 46% / 38% 58% 42% 62%; }
      50% { border-radius: 42% 58% 45% 55% / 56% 40% 60% 44%; }
      75% { border-radius: 55% 45% 62% 38% / 48% 62% 38% 52%; }
      100% { border-radius: 48% 52% 38% 62% / 51% 44% 56% 49%; }
    }

    .msEcoProject_blob img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transition: transform 0.4s ease;
    }

    .msEcoProject_blob:hover img {
      transform: scale(1.04);
    }

    @media screen and (max-width: 800px) {
      .msEcoProject_row {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
      }

      .msEcoProject_description {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        padding-left: 0;
        border-top: 4px solid #EE0F4B;
        padding-top: 1rem;
        max-width: 480px;
        border-radius: 0;
      }

      .msEcoProject_topicGrid {
        justify-content: center;
      }

      .msEcoProject_classMeta {
        justify-content: center;
      }

      .msEcoProject_blob {
        max-width: 350px;
      }

      .msEcoProject_preHeading {
        margin-left: auto;
        margin-right: auto;
      }
    }

    @media screen and (max-width: 500px) {
      .msEcoProject_section {
        padding: 2.5rem 1rem;
        align-items: flex-start;
      }

      .msEcoProject_mainHeading {
        font-size: 2.2rem;
      }

      .msEcoProject_description {
        font-size: 1rem;
        max-width: 100%;
      }

      .msEcoProject_topicChip {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
      }

      .msEcoProject_classMeta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
      }

      .msEcoProject_metaItem {
        width: 100%;
        justify-content: center;
      }

      .msEcoProject_blob {
        max-width: 260px;
      }
    }

    @media screen and (max-width: 360px) {
      .msEcoProject_mainHeading {
        font-size: 2rem;
      }
      .msEcoProject_blob {
        max-width: 220px;
      }
      .msEcoProject_preHeading {
        font-size: 0.8rem;
      }
    }
/* Classpresentation Header deisgn 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;
  }
}
