/* ================================================================
   PAGE: best-cbse-school.css
   Page-specific sections only; shared components live in ../components.
   ================================================================ */

    /* BEST SCHOOL HEROHOME */
  .best-cbse-school-pataudi-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.best-cbse-school-pataudi-container {
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    overflow: hidden;
}

.best-cbse-school-pataudi-header {
    width: 100%;
    background: linear-gradient(135deg, #061B45 0%, #1b4f6e 100%);
    padding: 3rem 1.5rem;
    text-align: center;
    border-bottom: 6px solid #ffb84d;
}

.best-cbse-school-pataudi-heading {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.best-cbse-school-pataudi-subtext {
    color: #e0f0ff;
    font-size: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
    padding-top: 0.6rem;
}
 /* BEST SCHOOL HEROHOME END */
 /* Best cbse school in patudi */
  .cbse-hero-banner, .cbse-history-split, .cbse-gallery-panel, .cbse-features-zone,
        .cbse-hero-inner, .cbse-media-frame, .cbse-bottom-paragraphs, .cbse-gallery-card,
        .cbse-feature-card, .cbse-pride-intro {
            box-shadow: none !important;
        }

        img {
            max-width: 100%;
            display: block;
        }

        
        :root {
            --cbse-deep-navy: #061B45;
            --cbse-bold-crimson: #E9104B;
            --cbse-soft-bg: #f8faff;
            --cbse-pure-white: #ffffff;
            --cbse-text-dark: #1f2a44;
            --cbse-text-soft: #2c3e66;
        }

      
        @keyframes cbseFadeUp {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        .cbse-animate {
            animation: cbseFadeUp 0.6s ease forwards;
        }

        .cbse-hero-banner, .cbse-history-split, .cbse-gallery-panel, .cbse-features-zone {
            animation: cbseFadeUp 0.5s ease forwards;
        }

        .cbse-feature-item {
            opacity: 0;
            animation: cbseFadeUp 0.5s ease forwards;
        }
        .cbse-feature-item:nth-child(1) { animation-delay: 0.05s; }
        .cbse-feature-item:nth-child(2) { animation-delay: 0.1s; }
        .cbse-feature-item:nth-child(3) { animation-delay: 0.15s; }
        .cbse-feature-item:nth-child(4) { animation-delay: 0.2s; }
        .cbse-feature-item:nth-child(5) { animation-delay: 0.25s; }
        .cbse-gallery-tile {
            opacity: 0;
            animation: cbseFadeUp 0.5s ease forwards;
        }
        .cbse-gallery-tile:nth-child(1) { animation-delay: 0.05s; }
        .cbse-gallery-tile:nth-child(2) { animation-delay: 0.1s; }
        .cbse-gallery-tile:nth-child(3) { animation-delay: 0.15s; }
        .cbse-gallery-tile:nth-child(4) { animation-delay: 0.2s; }
        .cbse-gallery-tile:nth-child(5) { animation-delay: 0.25s; }

       
        .cbse-hero-banner {
            background: linear-gradient(105deg, #061B45 0%, #0E2A5E 100%);
            border-bottom: 5px solid #E9104B;
        }
        .cbse-hero-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 3.2rem 2rem 3.8rem;
            text-align: center;
        }
        .cbse-hero-heading {
            font-size: 2.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, #fff, #ffe0e7);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
        }
        .cbse-hero-tagline {
            font-size: 1.2rem;
            font-weight: 500;
            color: #ffdae2;
            border-top: 2px solid #E9104B;
            display: inline-block;
            padding-top: 0.7rem;
        }

       
        .cbse-history-split {
            max-width: 1280px;
            margin: 3rem auto 2rem;
            padding: 0 1.5rem;
        }
        .cbse-top-dual {
            display: flex;
            flex-wrap: wrap;
            background: var(--cbse-pure-white);
            border-radius: 2rem;
            border: 1px solid #e2e8f0;
            overflow: hidden;
            margin-bottom: 1.5rem;
        }
        .cbse-image-zone {
            flex: 0.9;
            background: #fefaf5;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }
        .cbse-elegant-frame {
            border-radius: 1.5rem;
            overflow: hidden;
            background: #f0eae4;
            border: 1px solid #ffd9e2;
            transition: transform 0.25s ease;
        }
        .cbse-elegant-frame:hover {
            transform: scale(1.01);
        }
        .cbse-elegant-frame img {
            width: 100%;
            height: auto;
            aspect-ratio: 4/3;
            object-fit: cover;
        }
        .cbse-fourth-para-area {
            flex: 1.2;
            padding: 2rem 2rem 2rem 1.5rem;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .cbse-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #ffecf0;
            padding: 0.3rem 1.2rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #E9104B;
            margin-bottom: 1rem;
            width: fit-content;
        }
        .cbse-fourth-para-area h2 {
            font-size: 2rem;
            font-weight: 800;
            color: var(--cbse-deep-navy);
            letter-spacing:1px;
           font-family: 'Boogaloo', cursive;
            margin-bottom: 0.5rem;
        }
        .cbse-fourth-para-area h3 {
            font-size: 1.35rem;
            font-weight: 600;
            color: #E9104B;
            margin-bottom: 1.2rem;
            border-left: 5px solid #E9104B;
            padding-left: 1rem;
        }
        .cbse-para-text p {
            color: var(--cbse-text-soft);
            line-height: 1.9;
            font-size: 1rem;
        }

       
        .cbse-bottom-triple {
            background: var(--cbse-pure-white);
            border-radius: 2rem;
            border: 1px solid #e2e8f0;
            padding: 2rem 2rem 1.8rem;
        }
        .cbse-triple-content p {
            margin-bottom: 1rem;
            color: var(--cbse-text-soft);
            line-height: 1.9;
            font-size: 1rem;
        }
        .cbse-triple-content p:last-child {
            margin-bottom: 0;
        }

      
        .cbse-gallery-panel {
            max-width: 1280px;
            margin: 2rem auto 3rem;
            padding: 0 1.5rem;
        }
        .cbse-gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            gap: 1.5rem;
        }
        .cbse-gallery-tile {
            background: #ffffff;
            border-radius: 1.5rem;
            overflow: hidden;
            border: 1px solid #e2e8f0;
            transition: transform 0.2s;
        }
        .cbse-gallery-tile:hover {
            transform: translateY(-4px);
            border-color: #E9104B;
        }
        .cbse-gallery-img {
            width: 100%;
            height: 230px;
            object-fit: cover;
            display: block;
        }

        
        .cbse-features-zone {
            background: #fefafc;
            padding: 2rem 1.5rem 4rem;
        }
        .cbse-features-wrapper {
            max-width: 1280px;
            margin: 0 auto;
        }
        .cbse-pride-intro {
            background: #fff;
            border-radius: 1.8rem;
            padding: 1.8rem 2rem;
            margin-bottom: 2.5rem;
            border: 1px solid #e9eef3;
            border-left: 8px solid #E9104B;
        }
        .cbse-intro-badge {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .cbse-intro-badge span:first-child {
            font-size: 2rem;
            background: #ffebef;
            padding: 0.6rem;
            border-radius: 1.2rem;
           
        }
        .cbse-intro-badge span:last-child {
            font-weight: 800;
            font-size: 1.9rem;
            color: #061B45;
             font-family: 'Boogaloo', cursive;
             letter-spacing: 1px;
        }
        .cbse-intro-description {
            font-size: 1rem;
            line-height: 1.9;
            color: #2c3e66;
            margin: 0.8rem 0 1rem;
        }
        .cbse-intro-highlight {
            font-weight: 700;
            font-size: 1.2rem;
            color: #E9104B;
            border-left: 4px solid #E9104B;
            padding-left: 1rem;
            display: inline-block;
        }

        .cbse-features-list {
            max-width: 1180px;
            margin: 0 auto;
        }
        .cbse-feature-item {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2.5rem;
            background: #fff;
            border-radius: 1.5rem;
            padding: 1.5rem;
            border: 1px solid #ecf0f5;
            transition: background 0.2s, transform 0.2s;
        }
        .cbse-feature-item:hover {
            background: #fffbfd;
            border-color: #ffccd6;
            transform: translateY(-2px);
        }
        .cbse-feature-media {
            flex: 1.1;
            min-width: 210px;
            border-radius: 1.2rem;
            overflow: hidden;
        }
        .cbse-feature-media img {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            border-radius: 1rem;
            border: 1px solid #e6ecf3;
            transition: transform 0.3s;
        }
        .cbse-feature-media img:hover {
            transform: scale(1.02);
        }
        .cbse-feature-content {
            flex: 1.6;
        }
        .cbse-feature-title {
            font-size: 1.9rem;
            font-weight: 700;
            color: #061B45;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 10px;
             font-family: 'Boogaloo', cursive;
             letter-spacing: 2px;
        }
        .cbse-feature-title i {
            color: #E9104B;
            font-size: 1.4rem;
        }
        .cbse-feature-text {
            font-size: 0.98rem;
            line-height: 1.9;
            color: #2c3e66;
        }

        .cbse-media-left .cbse-feature-media { order: 1; }
        .cbse-media-left .cbse-feature-content { order: 2; }
        .cbse-media-right .cbse-feature-media { order: 2; }
        .cbse-media-right .cbse-feature-content { order: 1; }

       
        @media (max-width: 900px) {
            .cbse-top-dual {
                flex-direction: column;
            }
            .cbse-image-zone {
                padding: 1.5rem;
            }
            .cbse-fourth-para-area {
                padding: 1.5rem;
            }
            .cbse-hero-heading {
                font-size: 2rem;
            }
            .cbse-feature-item {
                flex-direction: column;
            }
            .cbse-media-left .cbse-feature-media,
            .cbse-media-right .cbse-feature-media {
                order: 1;
            }
            .cbse-media-left .cbse-feature-content,
            .cbse-media-right .cbse-feature-content {
                order: 2;
            }
            .cbse-gallery-img {
                height: 190px;
            }
            .cbse-bottom-triple {
                padding: 1.5rem;
            }
        }
        @media (max-width: 640px) {
            .cbse-fourth-para-area h2 {
                font-size: 1.7rem;
            }
            .cbse-fourth-para-area h3 {
                font-size: 1.2rem;
            }
            .cbse-intro-badge span:last-child {
                font-size: 1.25rem;
            }
            .cbse-feature-title {
                font-size: 1.2rem;
            }
            .cbse-hero-container {
                padding: 2rem 1rem;
            }
        }
       
        .cbse-top-dual::after, .cbse-bottom-triple::before {
            display: none;
        }

  /* Best cbse school in patudi 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;
  }
}
