/* Google Fonts — Roboto Slab for headings */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600;700;800&display=swap');

/* =========================================
   PMS Vikas Nagar — Brand Color Override
   ========================================= */
:root {
    --primaryColor: #003087;
    --heading-font-family: "Roboto Slab", serif;
    --secenderyColor: #f59e0b;
    --whiteColor: #ffffff;
    --blackColor: #1a1a1a;
    --paragraphColor: #555555;
}

/* ── HEADING FONT — Roboto Slab ── */
h1, h2, h3, h4, h5, h6,
.navbar-brand,
.section-title h2,
.page-banner-content h1 {
    font-family: "Roboto Slab", serif !important;
}

/* Section title max-width */
.section-title {
    max-width: 700px !important;
}

/* Fix title-shape heading — theme sets line-height:0 which collapses text */
.about-content .title h2,
.title h2 {
    line-height: 1.2 !important;
    font-size: 2rem !important;
    margin-bottom: 16px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}
.title h2 img[alt="title-shape"] {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: block;
}

/* Welcome heading — custom size, no yellow underline */
.welcome-h2 {
    font-size: 2rem !important;
    padding-bottom: 15px !important;
}
.welcome-h2::after {
    display: none !important;
}

/* Logo sizing */
.navbar-brand img { height: 70px !important; width: auto; }
.offcanvas-header img { height: 60px !important; width: auto; }

/* Root nav link — larger, bolder, no wrap */
.navbar .navbar-nav > .nav-item > .nav-link {
    font-size: 15px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}
.copyright-logo img { height: 40px !important; width: auto; }

/* ── FOOTER ── */
.footer-area {
    background: linear-gradient(180deg, #001f5c 0%, #001440 100%);
    border-top: 3px solid var(--secenderyColor);
}

/* Fix: footer widgets stay opacity:0 when user instant-jumps to bottom (ScrollCue freeze).
   Footer content must always be visible — entrance animation is optional, not critical. */
.footer-area [data-cue],
.footer-area .single-footer-widget {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}

/* Footer headings */
.footer-area h3, .footer-area h6 {
    color: var(--secenderyColor) !important;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245,158,11,0.25);
}

/* Footer body text */
.footer-area p { color: rgba(255,255,255,0.75) !important; line-height: 1.7; }

/* Footer links */
.footer-area ul li a,
.footer-area .single-footer-widget.quick a,
.footer-area .single-footer-widget.contact a {
    color: rgba(255,255,255,0.78) !important;
    font-size: 0.9rem;
    transition: color 0.25s, padding-left 0.25s;
    display: inline-block;
    padding: 3px 0;
}
.footer-area ul li a:hover {
    color: var(--secenderyColor) !important;
    padding-left: 5px;
}

/* Contact list icons & text */
.footer-area .single-footer-widget.contact ul li {
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer-area .single-footer-widget.contact ul li a {
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.footer-area .single-footer-widget.contact ul li i {
    color: var(--secenderyColor);
    font-size: 1rem;
    flex-shrink: 0;
}
.footer-area .single-footer-widget.contact ul li p {
    margin: 0;
    color: rgba(255,255,255,0.78) !important;
}
.footer-map iframe {
    width: 100%;
    height: 160px;
    border: 0;
    border-radius: 8px;
    display: block;
    opacity: 0.85;
    filter: brightness(0.9) contrast(1.05);
}

/* Vision / Mission section — consistent image height */
.aims-section-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* ── TOP HEADER — blue gradient theme ── */
.top-header-area {
    background: linear-gradient(135deg, #003087 0%, #001a5e 100%) !important;
}
.top-header-list ul li a {
    color: #fff !important;
}
.top-header-list ul li a:hover {
    color: var(--secenderyColor) !important;
}
.top-header-list ul li a .svg-icon,
.top-header-list ul li a .svg-icon svg {
    color: #fff !important;
}
.top-header-social-list ul li .pages-link li a {
    color: #fff !important;
}
.top-header-social-list ul li .pages-link li a:hover {
    color: var(--secenderyColor) !important;
}
/* Social icon brand circles in top header */
.top-header-social-list ul li .social-link li:nth-child(1) a {
    background-color: #1877f2 !important;
    color: #fff !important;
}
.top-header-social-list ul li .social-link li:nth-child(2) a {
    background-color: #0a66c2 !important;
    color: #fff !important;
}
.top-header-social-list ul li .social-link li:nth-child(3) a {
    background-color: #ff0000 !important;
    color: #fff !important;
}
.top-header-social-list ul li .social-link li a:hover {
    background-color: var(--secenderyColor) !important;
    color: #1a1a1a !important;
    opacity: 1 !important;
}

/* Top-header social icon centering (override old font-icon offset) */
.top-header-social-list ul li .social-link li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}
.top-header-social-list ul li .social-link li a .svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    position: static !important;
    bottom: auto !important;
}
.top-header-social-list ul li .social-link li a .svg-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* Social icons — default: platform color, hover: amber */
.footer-area .social-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}
.footer-area .social-link li {
    display: flex !important;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-area .social-link li a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0;
    line-height: 0;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    padding: 0 !important;
    text-decoration: none;
    flex-shrink: 0;
}
.footer-area .social-link li a .svg-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.footer-area .social-link li a .svg-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}
/* Facebook — blue */
.footer-area .social-link li:nth-child(1) a {
    background: #1877F2;
    border: 2px solid #1877F2;
    color: #fff !important;
}
/* LinkedIn — blue */
.footer-area .social-link li:nth-child(2) a {
    background: #0a66c2;
    border: 2px solid #0a66c2;
    color: #fff !important;
}
/* YouTube — red */
.footer-area .social-link li:nth-child(3) a {
    background: #ff0000;
    border: 2px solid #ff0000;
    color: #fff !important;
}
/* Hover — all turn amber with lift */
.footer-area .social-link li a:hover {
    background: var(--secenderyColor) !important;
    border-color: var(--secenderyColor) !important;
    color: #1a1a1a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(245,158,11,0.4);
    padding-left: 0 !important;
}

/* Copyright bar */
.copyright-area {
    background: #000d28;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
}
.copyright-area p { color: rgba(255,255,255,0.65) !important; font-size: 0.875rem; margin: 0; }
.copyright-area p strong { color: var(--secenderyColor); }
.copyright-area .copyright-list a {
    color: rgba(255,255,255,0.65) !important;
    font-size: 0.85rem;
    padding: 0 10px;
    transition: color 0.2s;
}
.copyright-area .copyright-list a:hover { color: var(--secenderyColor) !important; }

/* ── DEFAULT BUTTON — fix full-width issue ── */
.default-btn {
    display: inline-flex !important;
    width: auto !important;
}

/* ── SECTION TITLE — center alignment fix ── */
.section-title {
    margin-left: auto !important;
    margin-right: auto !important;
}
.section-title.text-center { text-align: center !important; }
.section-title.text-center h2::after { left: 50%; transform: translateX(-50%); }
.section-title.text-start h2::after { left: 0; transform: none; }

/* ── PAGE BANNER — centered content ── */
.page-banner-area {
    background: linear-gradient(135deg, #003087 0%, #001a5e 100%);
    padding: 80px 0 60px;
    position: relative;
    text-align: center;
}
.page-banner-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/bg/page-banner-bg.jpg') center/cover no-repeat;
    opacity: 0.08;
}
.page-banner-content h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}
.page-banner-content .breadcrumb { justify-content: center; }
.page-banner-content .breadcrumb-item { color: rgba(255,255,255,0.75); }
.page-banner-content .breadcrumb-item.active { color: var(--secenderyColor); }
.page-banner-content .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* Message page layout */
.message-section { padding: 80px 0; }
.message-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.message-photo img { width: 100%; }
.message-text h2 { color: var(--primaryColor); margin-bottom: 20px; }
.message-quote {
    border-left: 4px solid var(--secenderyColor);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--primaryColor);
}
.message-signature {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-weight: 600;
    color: var(--primaryColor);
}

/* Infrastructure card */
.infra-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 30px rgba(0,48,135,0.12), 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
}
.infra-card:hover {
    box-shadow: 0 12px 40px rgba(0,48,135,0.18), 0 4px 14px rgba(0,0,0,0.10);
}
.infra-card .infra-img-wrap {
    overflow: hidden;
    width: 100%;
    height: 240px;
}
.infra-card .infra-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s ease;
}
.infra-card:hover .infra-img-wrap img {
    transform: scale(1.0);
}
.infra-card img { width: 100%; height: 240px; object-fit: cover; }
.infra-card-body { padding: 18px 20px; }
.infra-card-body h5 { color: var(--primaryColor); font-size: 1.05rem; font-weight: 700; margin-bottom: 7px; }
.infra-card-body p { font-size: 0.875rem; color: var(--paragraphColor); margin: 0; line-height: 1.6; }

/* Gallery grid */
.gallery-grid-item { overflow: hidden; border-radius: 8px; cursor: pointer; }
.gallery-grid-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; display: block; }
.gallery-grid-item:hover img { transform: scale(1.07); }

/* Downloads table */
.downloads-table th { background-color: var(--primaryColor); color: #fff; }
.downloads-table td a { color: var(--primaryColor); font-weight: 600; }
.downloads-table td a:hover { color: var(--secenderyColor); }

/* Branch card */
.branch-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,48,135,0.07);
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
}
.branch-card:hover { box-shadow: 0 8px 28px rgba(0,48,135,0.15); transform: translateY(-4px); }
.branch-card-img img { width: 100%; height: 190px; object-fit: cover; display: block; }
.branch-card-body { padding: 18px; }
.branch-card-body h5 { color: var(--primaryColor); font-size: 0.98rem; font-weight: 700; margin-bottom: 10px; }
.branch-info p { font-size: 0.82rem; color: #555; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; line-height: 1.45; }
.branch-info p i,
.branch-info p .svg-icon { color: var(--primaryColor); font-size: 0.95rem; flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.branch-info p .svg-icon svg { width: 0.95rem; height: 0.95rem; }
.branch-info .branch-classes { display: inline-flex; align-items: center; background: #f0f4ff; color: var(--primaryColor); border-radius: 4px; padding: 2px 8px; font-size: 0.78rem; font-weight: 600; }
.branch-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.03em; }
.badge-cbse { background: #e8f5e9; color: #1b5e20; }
.badge-icse { background: #e3f2fd; color: #0d47a1; }
.badge-up { background: #fff3e0; color: #e65100; }
.badge-converting { background: #fff8e1; color: #f57f17; border: 1px dashed #f9a825; }
/* Board section headings */
.board-section-heading {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(135deg, var(--primaryColor), #0051b5);
    color: #fff; padding: 12px 20px; border-radius: 8px;
    font-size: 1rem; font-weight: 700; margin-bottom: 24px;
}
.board-section-heading .bsh-badge { font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 12px; background: rgba(255,255,255,0.2); }

/* Mandatory Disclosure table */
.disclosure-table { border-radius: 8px; overflow: hidden; border: 1px solid #dee2e6; table-layout: fixed; width: 100%; }
.disclosure-table thead th { background: var(--primaryColor); color: #fff; border: none; }
.disclosure-table th:first-child,
.disclosure-table td:first-child { width: 60px; min-width: 60px; text-align: center; }
.disclosure-table th.col-doc,
.disclosure-table td.col-doc { width: 160px; min-width: 160px; text-align: center; vertical-align: middle; }
.disclosure-table tbody tr:hover td { background: #f0f4ff; }
.disclosure-table td a { color: var(--primaryColor); }
/* View PDF button */
.pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--primaryColor);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: "Roboto Slab", serif;
    padding: 6px 0;
    text-decoration: none !important;
    width: 120px;
    transition: background 0.2s, transform 0.15s;
}
.pdf-btn:hover { background: #0051b5; color: #fff !important; transform: translateY(-1px); }
/* Coming Soon badge */
.coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: "Roboto Slab", serif;
    padding: 6px 0;
    width: 120px;
    letter-spacing: 0.03em;
}
.disclosure-section-title {
    background: var(--secenderyColor);
    color: #1a1a1a;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 6px;
    margin: 30px 0 16px;
}

/* Hero home section — image-only slider */
.hero-slider-area { position: relative; overflow: hidden; height: 680px; }
.hero-slider-area .swiper { height: 100%; }
.hero-slider-area .swiper-slide { position: relative; overflow: hidden; }
.hero-slider-area .swiper-slide img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.swiper-pagination { bottom: 20px !important; }
.swiper-pagination-bullet { background: #fff !important; width: 10px; height: 10px; opacity: 0.7; }
.swiper-pagination-bullet-active { background: var(--secenderyColor) !important; opacity: 1; width: 28px; border-radius: 5px; }
.swiper-button-prev, .swiper-button-next {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 48px; height: 48px;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}
.swiper-button-prev:hover, .swiper-button-next:hover { background: rgba(0,48,135,0.7); }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 1.1rem !important; color: #fff; }
@media (max-width: 992px) {
    .hero-slider-area, .hero-slider-area .swiper-slide img { height: 480px; }
}
@media (max-width: 576px) {
    .hero-slider-area, .hero-slider-area .swiper-slide img { height: 300px; }
    .swiper-button-prev, .swiper-button-next { display: none; }
}

/* Stats/funfact area */
.funfact-area { background: linear-gradient(135deg, #001f5c 0%, #003087 100%); }
.funfact-area .section-title h2 { color: #fff !important; }
.funfact-area .section-title h2::after { background: var(--secenderyColor); }
.funfact-area .single-funfact-info {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 14px;
    padding: 36px 24px;
    margin: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.funfact-area .single-funfact-info:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.funfact-area .single-funfact-info h2 { line-height: 1.1 !important; margin-bottom: 10px !important; }
.funfact-area .single-funfact-info p { color: rgba(255,255,255,0.85); font-weight: 500; margin-bottom: 0; margin-top: 6px; }
.funfact-area .single-funfact-info a { color: var(--secenderyColor); }

/* Back to top — circle, blue gradient, orange on hover */
#back-to-top {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #003087 0%, #001a5e 100%) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0,48,135,0.35) !important;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s !important;
}
#back-to-top i,
#back-to-top .svg-icon,
#back-to-top .svg-icon svg {
    color: #fff !important;
    fill: #fff !important;
}
#back-to-top:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 6px 20px rgba(245,158,11,0.4) !important;
    transform: translateY(-3px) !important;
}

/* Section title accent underline */
.section-title h2 {
    position: relative;
    padding-bottom: 16px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: var(--secenderyColor);
    border-radius: 2px;
}
.section-title.text-start h2::after { left: 0; transform: none; }

/* Why choose us */
.why-choose-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7f5;
    box-shadow: 0 2px 16px rgba(0,48,135,0.06);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.why-choose-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,48,135,0.12); }
.why-choose-card .icon-circle {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primaryColor), #0051b5);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: #fff; font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(0,48,135,0.3);
}
.why-choose-card h5 { color: var(--primaryColor); font-weight: 700; font-size: 1.05rem; }

/* Management team cards */
.management-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7f5;
    box-shadow: 0 2px 16px rgba(0,48,135,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.management-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,48,135,0.12); }
.management-card img {
    width: 130px; height: 130px;
    border-radius: 50%; object-fit: cover;
    border: 4px solid var(--secenderyColor);
    margin: 0 auto 18px;
    display: block;
    box-shadow: 0 4px 16px rgba(0,48,135,0.15);
}
.management-card h5 { color: var(--primaryColor); font-weight: 700; font-size: 1rem; }
.management-card span { color: var(--paragraphColor); font-size: 0.875rem; font-weight: 600; }

/* Fix breadcrumb separator (theme bootstrap.min.css uses its own URL) */
.breadcrumb { --bs-breadcrumb-divider: "/"; }

/* Sticky header */
.navbar.sticky-top { position: sticky; top: 0; z-index: 999; }

/* ── SVG ICON STYLES ── */

/* Hide the font glyph on icon <i> elements — SVG replacement runs on DOMContentLoaded.
   Setting font-size:0 + suppressing ::before prevents the icon font character from
   flashing before JS swaps the element with an SVG span. */
i[class^="ri-"], i[class*=" ri-"],
i[class^="flaticon-"], i[class*=" flaticon-"] {
    font-size: 0 !important;
    line-height: 0 !important;
}
i[class^="ri-"]::before, i[class*=" ri-"]::before,
i[class^="flaticon-"]::before, i[class*=" flaticon-"]::before {
    display: none !important;
}

.svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}
.svg-icon svg {
    width: 1em;
    height: 1em;
    display: block;
    flex-shrink: 0;
}

/* Stats number + suffix inline */
.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}
.stat-number .counter {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    font-family: "Roboto Slab", serif;
}
.stat-suffix {
    color: #f59e0b;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
    align-self: flex-start;
    margin-top: 6px;
}

/* Stats section direct SVG icons */
.stat-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    color: rgba(255,255,255,0.85);
}
.stat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* py-80 utility (used in inner pages) */
.py-80 { padding-top: 80px; padding-bottom: 80px; }

/* ── CONTAINER SIZE STANDARDIZATION ──
   Constrain top-bar and navbar fluid containers to the same max-width
   as Bootstrap's .container so all rows align horizontally */
.top-header-area .container-fluid,
.navbar .container-fluid {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Coming soon box */
.coming-soon-box {
    text-align: center;
    padding: 60px 30px;
    background: #f8faff;
    border-radius: 12px;
    border: 2px dashed var(--primaryColor);
}
.coming-soon-box i { font-size: 3rem; color: var(--primaryColor); margin-bottom: 16px; }
.coming-soon-box h3 { color: var(--primaryColor); }
.coming-soon-box p { color: var(--paragraphColor); }
