/* CMS public pages — styles converted from ibp-school-static inner pages. */
:root {
    --primary: #691524;
    --primary-dark: #4b0e19;
    --primary-light: #942a3d;
    --primary-burgundy: #6E1626;
    --primary-burgundy-rgb: 110, 22, 38;
    --accent: #fdfdfd;
    --dark: #0e1a14;
    --dark-charcoal: #000000;
    --text: #2d3b36;
    --text-main: #2D2D2D;
    --text-muted: #5f7069;
    --bg-light: #f4f8f6;
    --bg-soft-gray: #F8F9FA;
    --bg-white: #ffffff;
    --border: #dde8e3;
    --radius-sm: 8px;
    --radius-md: 16px;
    --shadow-md: 0 8px 32px rgba(105, 21, 36, 0.10);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-inner-banner {
    position: relative;
    width: 100%;
    min-height: 370px;
    height: 55vh;
    max-height: 700px;
    background-color: #0c0507;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .premium-inner-banner {
        height: auto;
        min-height: 0;
        padding: 36px 0 40px;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .premium-inner-banner {
        height: auto;
        min-height: 0;
        padding: 20px 0 28px;
        align-items: center;
    }
}

.banner-bg-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.banner-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.08);
    filter: brightness(0.7) contrast(1.02);
}

.banner-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(75deg, rgba(12, 5, 7, 0.92) 0%, rgba(12, 5, 7, 0.65) 45%, rgba(110, 22, 38, 0.2) 100%);
}

.banner-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 3;
    pointer-events: none;
    opacity: 0.5;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(110, 22, 38, 0.4);
    bottom: -100px;
    left: -50px;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background: rgba(235, 94, 85, 0.2);
    top: -50px;
    right: 10%;
}

.floating-architect-shape {
    position: absolute;
    z-index: 3;
    background: rgb(255 255 255 / 15%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.shape-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 20%;
    right: 15%;
}

.shape-pill {
    width: 60px;
    height: 140px;
    border-radius: 100px;
    bottom: 15%;
    right: 5%;
    transform: rotate(35deg);
}

.banner-flex-wrapper {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
}

.glass-content-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    border-radius: 32px;
    padding: 55px;
}

@media (max-width: 575.98px) {
    .glass-content-panel {
        padding: 35px 25px;
        border-radius: 24px;
        background: rgba(12, 5, 7, 0.5);
    }
}

.premium-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 25px;
}

.badge-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #eb5e55;
    border-radius: 50%;
}

.premium-banner-badge .badge-text {
    font-family: var(--font-heading);
    color: #f1f3f5;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.premium-banner-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 800;
    font-size: calc(1.4rem + 1.6vw);
    line-height: 1.15;
}

.accent-text-clip {
    background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff;
}

.banner-interactive-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 20px;
}

.custom-premium-breadcrumb .breadcrumb-item,
.custom-premium-breadcrumb .breadcrumb-item a {
    color: rgba(241, 243, 245, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
}

.custom-premium-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
}

.custom-premium-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(241, 243, 245, 0.4);
}

.section-pad { padding: 100px 0; }
.section-padding { padding: 100px 0; }

.section-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-heading em { font-style: italic; color: var(--primary); }
.section-subtext { font-size: 1.05rem; color: var(--text-muted); max-width: 750px; margin: 0 auto; }

h2.section-title,
.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: calc(1.8rem + 1.5vw);
    color: var(--primary-burgundy);
    line-height: 1.15;
    margin-bottom: 30px;
}

h2.section-title span,
.section-title span {
    color: var(--dark-charcoal);
    font-weight: 400;
}
.section-desc { font-size: 1.15rem; line-height: 1.75; color: var(--dark-charcoal); }
.text-highlight { font-weight: 700; color: var(--primary-burgundy); }

.reveal, .fade-up-element, .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-premium), transform 0.8s var(--transition-premium);
}

.reveal.active, .fade-up-element.is-visible, .reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

#about-hero {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft-gray) 100%);
}

.image-composition {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-img {
    position: absolute;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.comp-img-main { width: 75%; left: 5%; top: 10%; z-index: 2; border: 4px solid #fff; }
.comp-img-sub { width: 50%; height: 300px; right: 0; bottom: 5%; z-index: 3; border: 6px solid #fff; }

.floating-stat-card {
    position: absolute;
    left: 0;
    bottom: 12%;
    z-index: 4;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 20px 30px;
    border-radius: 20px;
}

.method-flex-container { display: flex; flex-direction: column; gap: 40px; margin-top: 60px; }
.method-row { display: flex; flex-direction: row; gap: 40px; width: 100%; }

@media (max-width: 992px) {
    .method-row { flex-direction: column; }
    .image-composition { height: 350px; }
}

.method-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 45px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.method-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    color: rgba(110, 22, 38, 0.06);
    line-height: 1;
    position: absolute;
    top: 30px;
    right: 45px;
}

.method-icon-circle {
    width: 70px;
    height: 70px;
    background: #e9e9e9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-burgundy);
    margin-bottom: 30px;
}

.method-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; margin-bottom: 15px; }
.method-card p { color: var(--dark-charcoal); font-size: 1rem; line-height: 1.65; margin: 0; }

#excellence { background-color: var(--bg-soft-gray); }
.excellence-flex-container { display: flex; flex-direction: column; gap: 30px; margin-top: 50px; }

.excellence-box {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.excellence-box.reverse { flex-direction: row-reverse; }

@media (max-width: 992px) {
    .excellence-box, .excellence-box.reverse { flex-direction: column; }
}

.ex-image-side { flex: 1; min-height: 320px; position: relative; overflow: hidden; }
.ex-image-side img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.ex-text-side { flex: 1.2; padding: 50px 60px; display: flex; flex-direction: column; justify-content: center; }
.ex-icon-tag { font-size: 2rem; color: rgba(110, 22, 38, 0.2); margin-bottom: 20px; }
.ex-text-side h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--primary-burgundy); margin-bottom: 15px; }

.excellence-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, #4a0f19 100%);
    border-radius: 24px;
    padding: 60px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 45px rgba(110, 22, 38, 0.15);
}

@media (max-width: 992px) {
    .excellence-banner { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
    .ex-text-side { padding: 35px 25px; }
}

.excellence-banner .banner-content {
    flex: 1.5;
    min-width: 0;
}

.excellence-banner .banner-content h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.excellence-banner .banner-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.excellence-banner .banner-action {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .excellence-banner .banner-action { justify-content: flex-start; }
}

.excellence-banner .premium-btn {
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--primary-burgundy);
    padding: 16px 35px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.excellence-banner .premium-btn:hover {
    color: var(--primary-burgundy);
    background: var(--bg-soft-gray);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.policy-timeline { display: flex; flex-direction: column; position: relative; gap: 30px; margin-top: 60px; }
.policy-timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(110, 22, 38, 0.3) 0%, rgba(110, 22, 38, 0.02) 100%);
}

.policy-block { display: flex; flex-direction: row; align-items: flex-start; gap: 30px; position: relative; padding-left: 10px; }

.policy-icon-wrapper {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 2px solid var(--primary-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-burgundy);
    z-index: 3;
    flex-shrink: 0;
}

.policy-card-glass {
    flex: 1;
    background: rgba(248, 249, 250, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 35px;
}

.policy-card-glass h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.policy-card-glass h4 i {
    color: var(--primary-burgundy);
    font-size: 1.1rem;
    opacity: 0.8;
}

.policy-card-glass p { margin: 0; font-size: 1rem; line-height: 1.65; }

.services-section.section-pad { padding: 100px 0; background-color: var(--bg-light); }

.facility-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.facility-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(105, 21, 36, 0.06);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
}

.facility-title { font-size: 1.35rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 1rem; }
.facility-text { color: black; font-size: 1rem; line-height: 1.6; margin-bottom: 0; }

.service-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card h4, .service-card p { color: #fff; }
.service-card h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; line-height: 1.6; }

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgb(255 255 255 / 13%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.service-arrow { margin-top: 20px; font-size: 1.4rem; color: var(--accent); }

.service-row-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(0 0 0 / 13%);
}

.service-content-wrap { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
.service-row-card .service-icon-wrap { background: rgba(105, 21, 36, 0.08); color: var(--primary); margin-bottom: 0; }
.service-text h4 { margin: 0 0 0.25rem; color: #333; }
.service-text p { margin: 0; color: #666; font-size: 0.95rem; }

@media (max-width: 768px) {
    .section-padding { padding: 25px; }
    .section-pad { padding: 56px 25px; }
    .comp-img-sub { height: 180px; }
}

@media (max-width: 576px) {
    .service-row-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .service-content-wrap { flex-direction: column; align-items: flex-start; }
}
