/* ================================================================
   Shared stylesheet – DPS School website
   Common styles extracted from all pages
   ================================================================ */


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #fff;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,h2,h3,h4 {
    font-family: var(--font-display);
    line-height: 1.2;
}

.topbar a {
    color: #ffd6d5;
    text-decoration: none;
}

.topbar a:hover {
    color: #fff;
}

@keyframes marqueeScroll {
    0% {
    transform: translateX(100vw);
    } 100% {
    transform: translateX(-100%);
    }
}

.navbar-toggler {
    border: 1px solid rgba(0,0,0,0.25);
}

.navbar .nav-link {
    color: #333 !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 1rem 0.7rem !important;
    transition: color 0.2s;
}

.dropdown-item {
    color: #333;
    font-size: 0.82rem;
    padding: 0.5rem 1.2rem;
    transition: background 0.15s, color 0.15s;
}

.dropdown-item:hover {
    background: var(--maroon);
    color: #fff;
}

.btn-eduvate:hover {
    background: var(--maroon-dark);
}

.site-footer p, .site-footer li {
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-social a:hover {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.28rem 0;
    transition: color 0.2s;
}

.footer-links a::before {
    content: '›';
    color: var(--maroon);
    font-size: 1.1rem;
    line-height: 1;
}

.footer-links a:hover {
    color: #fff;
}

.footer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.footer-gallery-grid a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
}

.footer-gallery-grid a:hover img {
    transform: scale(1.08);
}

.footer-newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-right: none;
    color: #fff;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px 0 0 6px;
    outline: none;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-newsletter-form button {
    background: var(--maroon);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-newsletter-form button:hover {
    background: var(--maroon-dark);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

/* TOP BAR */ .topbar {
    background: var(--maroon);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.4rem 0;
    overflow: hidden;
}

.marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-block;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
}

/* NAVBAR */ .navbar {
    background: #fff !important;
    padding: 0.7rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.navbar-brand img {
    height: 60px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
}

.navbar .nav-link:hover {
    color: var(--maroon) !important;
}

.navbar .nav-link.active {
    color: var(--maroon) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--maroon);
}

.dropdown-menu {
    background: #fff;
    border: none;
    border-top: 2px solid var(--maroon);
    border-radius: 0 0 6px 6px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.btn-eduvate {
    background: var(--maroon);
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border: none;
    transition: background 0.2s;
    text-decoration: none;
}

.page-header-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    font-weight: 700;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0.75rem 0 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.85rem;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* FOOTER */ .site-footer {
    background: #111;
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 0;
}

.site-footer h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--maroon);
    display: inline-block;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.footer-contact i {
    color: var(--maroon);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s;
}

.footer-newsletter-form {
    margin-top: 0.75rem;
    display: flex;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    margin-top: 3rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

/* RESPONSIVE */ @media (max-width: 991px) {
    .navbar-brand img {
    height: 52px;
    max-width: 170px;
    } .navbar .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    } .navbar-brand {
    flex-shrink: 0;
    } .navbar-toggler {
    flex-shrink: 0;
    margin-left: auto;
    border: 2px solid rgba(0,0,0,0.2);
    padding: 6px 10px;
    border-radius: 6px;
    background: transparent;
    } .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
    } .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 0.75rem 1rem 1rem;
    border-top: 2px solid var(--maroon);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
    } .navbar-nav {
    width: 100%;
    } .navbar-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    } .navbar-nav .nav-item:last-child {
    border-bottom: none;
    } .navbar-nav .nav-link {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.95rem !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    } .dropdown-menu {
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--maroon);
    background: #faf8f8;
    margin-left: 0.5rem;
    width: calc(100% - 0.5rem);
    padding: 0.25rem 0;
    } .dropdown-item {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    } .navbar .nav-link {
    color: #333 !important;
    } .btn-eduvate {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
    }
}

@media (max-width: 575px) {
    .footer-newsletter-form {
    flex-direction: column;
    } .footer-newsletter-form input {
    border-right: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    } .footer-newsletter-form button {
    border-radius: 6px;
    }
}

body {
    font-family: var(--font-body);
    color: #333;
    background: #fff;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

h1,h2,h3,h4 {
    font-family: var(--font-display);
}

.marquee-inner {
    display: inline-block;
    animation: marqueeScroll 30s linear infinite;
}

/* NAVBAR */ .navbar {
    background: #fff !important;
    padding: 0.7rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 60px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

.navbar-toggler {
    border: 1px solid rgba(0,0,0,0.2);
}

.navbar .nav-link {
    color: #333 !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 1rem 0.7rem !important;
}

.dropdown-menu {
    border: none;
    border-top: 2px solid var(--maroon);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 200px;
}

.dropdown-item {
    font-size: 0.82rem;
    padding: 0.5rem 1.2rem;
    color: #333;
}

.btn-eduvate {
    background: var(--maroon);
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    text-decoration: none;
    display: inline-block;
}

.page-header-banner h1 {
    color: #fff;
    font-size: clamp(2rem,5vw,3.2rem);
    font-weight: 700;
}

.breadcrumb-item.active {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.inner-breadcrumb a {
    color: var(--green);
    text-decoration: none;
    font-size: 0.88rem;
}

.inner-breadcrumb .sep {
    margin: 0 0.4rem;
    color: #999;
    font-size: 0.88rem;
}

.inner-breadcrumb .cur {
    color: #555;
    font-size: 0.88rem;
}

/* FOOTER */ .site-footer {
    background: var(--maroon);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
}

.site-footer h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
}

.footer-contact i {
    color: rgba(255,255,255,0.5);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-links a::before {
    content: "›";
    color: rgba(255,255,255,0.4);
    font-size: 1.1rem;
}

.footer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5px;
}

.footer-gallery-grid a {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
    display: block;
}

.footer-gallery-grid a:hover img {
    transform: scale(1.07);
}

.footer-newsletter p {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    margin-bottom: 0.8rem;
}

.nl-form {
    display: flex;
}

.nl-form input {
    flex:1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-right: none;
    color: #fff;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.nl-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.nl-form button {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.nl-form button:hover {
    background: rgba(255,255,255,0.28);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 3rem;
    padding: 1.1rem 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Back to top */ #backTop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(141,12,11,0.35);
    z-index: 999;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s;
}

@media (max-width:991px) {
    .navbar-brand img {
    height: 50px;
    } .navbar-toggler {
    flex-shrink: 0;
    margin-left: auto;
    } .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 0.75rem 1rem 1rem;
    border-top: 2px solid var(--maroon);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
    } .dropdown-menu {
    box-shadow: none;
    border-left: 3px solid var(--maroon);
    }
}

@media (max-width:575px) {
    .nl-form {
    flex-direction: column;
    gap: 0.5rem;
    } .nl-form input {
    border-right: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    } .nl-form button {
    border-radius: 4px;
    }
}

:root {
    --maroon: #8d0c0b;
    --maroon-dark: #6b0909;
    --maroon-light: #fdf0f0;
    --dark: #1a1a1a;
    --text: #333;
    --muted: #5a5a5a;
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Inter", sans-serif;
}

.btn-eduvate {
    background: var(--maroon);
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border: none;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

/* PAGE HEADER BANNER */ .page-header-banner {
    background: linear-gradient(rgba(20,4,4,0.70), rgba(141,12,11,0.78)), url("assets/images/about1.png") center center / cover no-repeat;
    padding: 5rem 0 4rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.45);
}

.section-label {
    display: inline-block;
    background: var(--maroon-light);
    color: var(--maroon);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(141,12,11,0.15);
}

.footer-links a::before {
    content: "›";
    color: var(--maroon);
    font-size: 1.1rem;
    line-height: 1;
}

:root {
    --maroon: #8d0c0b;
    --maroon-dark: #6b0909;
    --maroon-light: #fdf0f0;
    --green: #008959;
    --dark: #1a1a1a;
    --text: #333;
    --muted: #5a5a5a;
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Inter", sans-serif;
}

/* MAIN CONTENT */ .main-section {
    padding: 4rem 0 5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--maroon);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.section-divider {
    width: 56px;
    height: 3px;
    background: var(--maroon);
    margin: 0 0 2rem;
    border-radius: 2px;
}

/* RESPONSIVE */ @media (max-width: 991px) {
    .navbar-brand img {
    height: 52px;
    max-width: 170px;
    } .navbar-collapse {
    background: #fff;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.07);
    } .dropdown-menu {
    box-shadow: none;
    border-left: 3px solid var(--maroon);
    } .navbar .nav-link {
    color: #333 !important;
    }
}

.section-divider {
    width: 56px;
    height: 3px;
    background: var(--maroon);
    margin: 0 0 2.5rem;
    border-radius: 2px;
}

body {
    font-family: var(--font-body);
    color: #333;
    background: #fff;
    line-height: 1.7;
}

/* BREADCRUMB */ .inner-breadcrumb {
    margin-bottom: 2.5rem;
}

.inner-breadcrumb a:hover {
    text-decoration: underline;
}

.nl-form button {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

#backTop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(141,12,11,0.35);
    z-index: 999;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s;
}

:root {
    --maroon: #8d0c0b;
    --maroon-dark: #6b0909;
    --maroon-light: #fdf0f0;
    --green: #008959;
    --dark: #1a1a1a;
    --text: #333;
    --muted: #666;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
}

/* PAGE HEADER */ .page-header-banner {
    padding: 5rem 0 4rem;
    position: relative;
}

/* SECTION */ .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 56px;
    height: 3px;
    background: var(--maroon);
    margin: 0.5rem 0 1.2rem;
    border-radius: 2px;
}

.content-section {
    padding: 5rem 0;
}

.content-section p {
    color: var(--muted);
    font-size: 0.96rem;
    text-align: justify;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.content-section ul {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.85;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section ul li {
    margin-bottom: 0.4rem;
}

/* IMAGE CARDS */ .img-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(141,12,11,0.12);
    margin-bottom: 1.2rem;
}

.img-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.img-card:hover img {
    transform: scale(1.04);
}

/* PHOTO GRID */ .photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.photo-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.photo-grid a, .photo-grid-3 a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.photo-grid img, .photo-grid-3 img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-grid a:hover img, .photo-grid-3 a:hover img {
    transform: scale(1.06);
}

/* CARD BLOCK */ .club-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(141,12,11,0.08);
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.club-card:hover {
    box-shadow: 0 8px 30px rgba(141,12,11,0.15);
    transform: translateY(-2px);
}

.club-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--maroon);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.club-card p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* HIGHLIGHT BOX */ .highlight-box {
    background: var(--maroon-light);
    border-left: 4px solid var(--maroon);
    border-radius: 8px;
    padding: 1.4rem 1.8rem;
    margin: 1.5rem 0;
}

.highlight-box p {
    color: var(--text) !important;
    font-style: italic;
    margin: 0;
    font-size: 1rem !important;
}

/* ACHIEVEMENTS TABLE */ .achievement-card {
    background: linear-gradient(135deg, var(--maroon) 0%, #b01614 100%);
    color: #fff;
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 1.2rem;
}

.achievement-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    text-align: left;
}

.achievement-card .badge-uni {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.25rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.6rem;
}

@media (max-width: 767px) {
    .navbar {
    padding: 0.55rem 0.8rem;
    } .navbar-brand img {
    height: 44px;
    max-width: 145px;
    } .page-header-banner {
    padding: 3.5rem 0 2.5rem;
    } .img-card img {
    height: 180px;
    } .content-section {
    padding: 3rem 0;
    }
}

@media (max-width: 575px) {
    .footer-newsletter-form {
    flex-direction: column;
    } .footer-newsletter-form input {
    border-right: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    } .footer-newsletter-form button {
    border-radius: 6px;
    } .photo-grid, .photo-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    }
}

.topbar {
    background: var(--maroon);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.4rem 0;
    overflow: hidden;
}

.navbar {
    background: #fff !important;
    padding: 0.7rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.page-header-banner {
    background: linear-gradient(rgba(20,4,4,0.70), rgba(141,12,11,0.78)), url("assets/images/about1.png") center center / cover no-repeat;
    padding: 5rem 0 4rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 56px;
    height: 3px;
    background: var(--maroon);
    margin: 0.5rem 0 3rem;
    border-radius: 2px;
}

@media (max-width: 991px) {
    .navbar-brand img {
    height: 52px;
    max-width: 170px;
    } .navbar-toggler {
    margin-left: auto;
    } .navbar-collapse {
    background: #fff;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.07);
    } .dropdown-menu {
    box-shadow: none;
    border-left: 3px solid var(--maroon);
    } .navbar .nav-link {
    color: #333 !important;
    }
}

:root {
    --maroon: #8d0c0b;
    --maroon-dark: #6b0909;
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Inter", sans-serif;
}

/* PAGE HEADER */ .page-header-banner {
    background: linear-gradient(rgba(15,3,3,0.65), rgba(141,12,11,0.72)), url("assets/images/about1.png") center / cover no-repeat;
    padding: 5rem 0 4rem;
}

.inner-breadcrumb a {
    color: #008959;
    text-decoration: none;
    font-size: 0.88rem;
}

.content-row {
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #f5eded;
}

.content-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.content-img-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s;
}

.content-img-wrap:hover img {
    transform: scale(1.04);
}

.content-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--maroon);
    font-weight: 700;
    margin-bottom: 1rem;
}

.content-body p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 0.85rem;
}

.content-body p:last-child {
    margin-bottom: 0;
}

@media (max-width:767px) {
    .navbar {
    padding: 0.5rem 0.8rem;
    } .navbar-brand img {
    height: 44px;
    } .page-header-banner {
    padding: 3rem 0 2.5rem;
    } .content-section {
    padding: 2.5rem 0 3rem;
    } .content-img-wrap img {
    height: 200px;
    }
}

/* ================================================================
   GLOBAL MOBILE NAVBAR FIX - v4 (FINAL)
   ================================================================ */
@media (max-width: 991.98px) {

    /* Navbar bar itself */
    .navbar {
        padding: 0.6rem 0 !important;
        position: sticky !important;
        top: 0 !important;
    }

    /* Container: logo left, hamburger right — no wrapping on the bar row */
    .navbar > .container,
    .navbar > .container-fluid {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        position: relative !important;
    }

    /* Logo stays left, never shrinks */
    .navbar-brand {
        flex-shrink: 0 !important;
        margin-right: 0 !important;
    }

    .navbar-brand img {
        height: 48px !important;
        max-width: 160px !important;
    }

    /* Hamburger always sits on the far right */
    .navbar-toggler {
        flex-shrink: 0 !important;
        margin-left: auto !important;
        order: 2 !important;
        padding: 7px 12px !important;
        border: 2px solid rgba(141,12,11,0.35) !important;
        border-radius: 6px !important;
        background: transparent !important;
        cursor: pointer !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
        outline: none !important;
    }

    /* Custom hamburger icon in maroon */
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(141,12,11,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        width: 22px !important;
        height: 22px !important;
    }

    /* Menu panel drops below the navbar, full width */
    .navbar-collapse {
        order: 3 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        flex-basis: 100% !important;
        background: #fff !important;
        padding: 0.5rem 0 1rem !important;
        border-top: 3px solid var(--maroon, #8d0c0b) !important;
        box-shadow: 0 8px 28px rgba(0,0,0,0.13) !important;
        max-height: 78vh !important;
        overflow-y: auto !important;
        z-index: 1050 !important;
    }

    /* Nav list full width */
    .navbar-nav {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Each nav item full width with subtle divider */
    .navbar-nav .nav-item {
        width: 100% !important;
        border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none !important;
    }

    /* Nav links full width, comfortable tap area */
    .navbar .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem !important;
        color: #222 !important;
        width: 100% !important;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        background: rgba(141,12,11,0.05) !important;
        color: var(--maroon, #8d0c0b) !important;
    }

    /* Dropdowns inline, no floating */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 3px solid var(--maroon, #8d0c0b) !important;
        border-radius: 0 !important;
        background: #faf7f7 !important;
        padding: 0.25rem 0 !important;
        margin: 0 0 0 1.25rem !important;
        min-width: auto !important;
        width: calc(100% - 1.25rem) !important;
    }

    .dropdown-item {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.9rem !important;
        color: #333 !important;
        white-space: normal !important;
    }

    .dropdown-item:hover {
        background: rgba(141,12,11,0.07) !important;
        color: var(--maroon, #8d0c0b) !important;
    }

    /* Eduvate button full width */
    .btn-eduvate {
        display: block !important;
        text-align: center !important;
        margin: 0.75rem 1.25rem 0 !important;
        width: calc(100% - 2.5rem) !important;
    }
}

