/* ============================================================
   SHIKSHA SANDESH ENGLISH SCHOOL — Modern Design System
   Primary: Blue (#1a4d8c) | Accent: Amber (#f59e0b)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* ── Base Reset & Variables ──────────────────────────────── */
:root {
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-body: #f9fafb;
    --bg-surface: #ffffff;
    --border-color: #e5e7eb;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 32px rgba(14, 45, 84, 0.12);
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: var(--font-sans); 
    color: var(--text-main); 
    background: var(--bg-body); 
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ── Typography & Headings ──────────────────────────────── */
.section-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: var(--radius-full);
    margin: 0 0 24px 0;
}
.section-divider.center { margin: 0 auto 24px; }
.section-block { padding: 5rem 0; }
.section-block-sm { padding: 3rem 0; }

/* ── Buttons ────────────────────────────────────────────── */
.btn-gplc {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(26, 77, 140, 0.3);
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-gplc:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 45, 84, 0.4);
}
.btn-gplc-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}
.btn-gplc-light:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ── Topbar & Header ───────────────────────────────────── */
.gplc-topbar {
    background: var(--primary-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 400;
}
.gplc-topbar a { color: #fff; opacity: 0.8; }
.gplc-topbar a:hover { opacity: 1; color: var(--accent); }
.topbar-info { display: flex; gap: 24px; align-items: center; }
.topbar-info i { color: var(--accent); margin-right: 6px; }
.portal-btn {
    background: var(--accent);
    color: var(--primary-dark) !important;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    opacity: 1 !important;
}

/* ── Mobile topbar (new 2-row design) — desktop hidden via .d-none.d-md-none classes */
.topbar-mobile { display: none; } /* Only shown via Bootstrap d-md-none */

/* Nepali date widget (desktop topbar) */
.nepali-date-widget {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    color: #fff;
}
.nepali-date-widget i { color: #fcd34d; }

.gplc-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
    transition: var(--transition);
}
.gplc-header.is-sticky {
    position: sticky;
    top: 0;
}
.gplc-header.scrolled { box-shadow: var(--shadow-soft); }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; }

/* ── Navbar Builder Themes ── */
.gplc-header.nav-theme-dark { background: var(--primary-dark); border-bottom-color: rgba(255,255,255,0.1); }
.gplc-header.nav-theme-dark .gplc-logo-text .college-name { color: #fff; }
.gplc-header.nav-theme-dark .gplc-logo-text .affiliation { color: rgba(255,255,255,0.8); }
.gplc-header.nav-theme-dark .gplc-nav > ul > li > a { color: #fff; }
.gplc-header.nav-theme-dark .gplc-nav > ul > li > a::after { background: var(--accent); }
.gplc-header.nav-theme-dark .gplc-hamburger span { background: #fff; }

.gplc-header.nav-theme-primary { background: var(--primary); border-bottom-color: rgba(255,255,255,0.1); }
.gplc-header.nav-theme-primary .gplc-logo-text .college-name { color: #fff; }
.gplc-header.nav-theme-primary .gplc-logo-text .affiliation { color: rgba(255,255,255,0.8); }
.gplc-header.nav-theme-primary .gplc-nav > ul > li > a { color: #fff; }
.gplc-header.nav-theme-primary .gplc-hamburger span { background: #fff; }

/* ── Navbar Builder Layouts ── */
@media (min-width: 1200px) {
    .gplc-header.nav-layout-centered .header-inner { flex-direction: column; height: auto; padding: 15px 0; justify-content: center; gap: 15px; }
    .gplc-header.nav-layout-centered .gplc-logo { margin-bottom: 5px; }
    .gplc-header.nav-layout-right .header-inner { justify-content: space-between; flex-direction: row-reverse; }
}

.gplc-hamburger { display: none; }
.gplc-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.gplc-logo img { height: 64px; }
.gplc-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.gplc-logo-text .college-name {
    font-family: var(--font-serif);
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.gplc-logo-text .affiliation { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.gplc-nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; align-items: center; }
.gplc-nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 10px 0;
}
.gplc-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: var(--radius-full);
}
.gplc-nav a:hover::after, .gplc-nav a.active::after { width: 100%; }

.nav-apply {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(26, 77, 140, 0.2);
    white-space: nowrap;
}
.nav-apply::after { display: none !important; }
.nav-apply:hover { background: var(--primary-dark) !important; transform: translateY(-2px); }

/* ── Dropdown ── */
.gplc-nav .dropdown {
    position: relative;
}
.gplc-nav .dropdown-toggle::after {
    display: none !important;
}
.dropdown-menu-gplc {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 230px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(14, 45, 84, 0.12);
    padding: 8px;
    border: 1px solid var(--border-color);
    z-index: 1050;
    margin: 0;
    list-style: none;
}
.gplc-nav .dropdown-menu-gplc.show {
    display: block !important;
    animation: slideUp 0.22s ease forwards;
}
@media (min-width: 1200px) {
    .gplc-nav .dropdown:hover > .dropdown-menu-gplc {
        display: block !important;
        animation: slideUp 0.22s ease forwards;
    }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-menu-gplc li {
    margin-bottom: 3px;
    width: 100%;
}
.dropdown-menu-gplc a {
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}
.dropdown-menu-gplc a:hover {
    background: var(--bg-body);
    color: var(--primary);
    padding-left: 18px;
}
.dropdown-menu-gplc a::after {
    display: none !important;
}

/* ── Hero Banner ───────────────────────────────────────── */
.gplc-hero-slide { height: 75vh; min-height: 600px; position: relative; overflow: hidden; }

/* FIX: Banner images must fill the entire slide regardless of their natural dimensions.
   Without position:absolute + object-fit:cover the image renders at its natural height,
   overflowing or leaving gaps, and is not responsive. */
.gplc-hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.gplc-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(14,45,84,0.9) 0%, rgba(26,77,140,0.7) 50%, rgba(0,0,0,0.3) 100%);
}
.gplc-hero-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 8%;
    max-width: 800px;
    z-index: 10;
}
.gplc-hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.gplc-hero-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.tag-line {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-flex; align-items: center; gap: 8px;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem;
}
.swiper-pagination-bullet { background: rgba(255,255,255,0.4) !important; width: 10px; height: 10px; }
.swiper-pagination-bullet-active { background: var(--accent) !important; width: 24px; border-radius: 12px; }

/* ── Cards (Courses & Events) ──────────────────────────── */
.course-card, .event-card, .msg-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}
.course-card:hover, .event-card:hover, .msg-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.card-img, .ev-img { height: 240px; overflow: hidden; position: relative; }
.card-img img, .ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.course-card:hover .card-img img, .event-card:hover .ev-img img { transform: scale(1.05); }

.card-body, .ev-body, .msg-card-body { padding: 24px; }
.card-body h5, .ev-body h5 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.card-body p, .ev-body p { color: var(--text-muted); font-size: 0.95rem; }

.card-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--accent); color: #fff;
    padding: 6px 16px; border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.ev-date {
    position: absolute; top: 16px; right: 16px;
    background: #fff; color: var(--primary);
    padding: 8px 16px; border-radius: var(--radius-md);
    font-weight: 700; font-size: 0.85rem;
    box-shadow: var(--shadow-soft);
}

.card-footer-gplc {
    padding: 16px 24px;
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
    display: flex; justify-content: space-between; align-items: center;
}
.ev-link { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.ev-link:hover { color: var(--accent); gap: 12px; }

/* ── Statistics Section ────────────────────────────────── */
.gplc-stats {
    background: var(--primary-dark);
    position: relative;
    padding: 5rem 0;
    color: #fff;
}
.stat-box { text-align: center; }
.stat-box .stat-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 20px;
    transition: var(--transition);
}
.stat-box:hover .stat-icon { background: var(--accent); color: #fff; transform: rotate(10deg); }
.counter-number { font-size: 3rem; font-weight: 800; line-height: 1; }
.counter-suffix { color: var(--accent); }
.stat-box p { color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; margin-top: 8px; }

/* ── Testimonials ──────────────────────────────────────── */
.gplc-testi {
    background: var(--bg-body);
    padding: 6rem 0;
}
.testi-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}
.testi-card .quote-ico { font-size: 3rem; color: rgba(26, 77, 140, 0.1); position: absolute; top: 30px; right: 30px; }
.testi-copy p { font-size: 1.1rem; color: var(--text-main); font-style: italic; line-height: 1.8; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testi-author .name { font-weight: 700; color: var(--primary-dark); }
.testi-author .role { color: var(--accent); font-size: 0.85rem; font-weight: 500; }

/* ── Footer ────────────────────────────────────────────── */
.gplc-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 5rem 0 2rem;
}
.footer-widget h4 {
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact i { color: var(--accent); font-size: 1.1rem; margin-top: 4px; }
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* ── Utilities & Floating Actions ───────────────────────── */
.wa-float,
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse-wa 2.5s infinite;
}
.wa-float:hover,
.whatsapp-float:hover {
    background: #1fa851;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #fff !important;
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7); }
}

.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 1.4rem;
    box-shadow: var(--shadow-soft);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ── Sticky Notice Widget (Floating Aside) ─────────────── */
.sticky-notice-widget {
    position: fixed;
    top: 172px;
    right: 0;
    width: min(250px, calc(100vw - 14px));
    max-height: calc(100vh - 212px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-right: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: var(--shadow-hover);
    z-index: 998;
    overflow: hidden;
    transition: width .22s ease, box-shadow .22s ease, transform .22s ease;
}
.sticky-notice-head {
    padding: 10px 14px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.sticky-notice-head h6 {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #fff;
}
.sticky-notice-head h6 span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sticky-notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    font-size: 10px;
    font-weight: 800;
    color: #fff;
}
.sticky-notice-toggle {
    border: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.sticky-notice-body {
    max-height: calc(100vh - 262px);
    overflow-y: auto;
    padding: 8px;
}
.sticky-notice-item {
    display: block;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.sticky-notice-item:hover {
    background: var(--bg-body);
    transform: translateX(-2px);
}
.sticky-notice-item + .sticky-notice-item {
    margin-top: 5px;
}
.sticky-notice-item-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.45;
    margin-bottom: 3px;
}
.sticky-notice-item-meta {
    font-size: 10.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.sticky-notice-widget.is-collapsed .sticky-notice-body,
.sticky-notice-widget.is-collapsed .sticky-notice-head h6 span,
.sticky-notice-widget.is-collapsed .sticky-notice-badge {
    display: none;
}
.sticky-notice-widget.is-collapsed .sticky-notice-head {
    padding: 8px 6px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}
.sticky-notice-widget.is-collapsed {
    width: 44px;
}

/* ── Notice Ticker (Marquee) ───────────────────────────── */
.gplc-ticker {
    background: var(--primary-dark);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: #fff;
}
.gplc-ticker-label {
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.gplc-ticker marquee { flex: 1; padding: 10px 0; font-size: 0.95rem; }
.gplc-ticker marquee a { color: rgba(255, 255, 255, 0.9); font-weight: 500; text-decoration: none; }
.gplc-ticker marquee a:hover { color: var(--accent); }

/* ── Affiliation Bar ───────────────────────────────────── */
.affiliation-bar {
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}
.affiliation-bar .aff-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}
.affiliation-bar .aff-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.affiliation-bar .aff-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.affiliation-bar .aff-divider {
    width: 1px;
    height: 20px;
    background: var(--border-color);
}
.affiliation-bar .aff-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* ── Popup Notice Modal ────────────────────────────────── */
.gplc-popup-wrap {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(14, 45, 84, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}
.gplc-popup {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popIn .3s ease-out;
}
@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.gplc-popup img { width: 100%; display: block; max-height: 300px; object-fit: cover; }
.gplc-popup .popup-body { padding: 24px 28px; text-align: center; }
.gplc-popup .popup-body h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; }
.gplc-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    z-index: 2;
    transition: var(--transition);
}
.gplc-popup-close:hover { background: var(--primary); color: #fff; }

/* ── Page Hero ── */
.page-hero {
    background: var(--primary-dark);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-hero h1 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 10px; }
.breadcrumb-nav a { color: var(--accent); font-weight: 600; }
.breadcrumb-nav span { margin: 0 8px; opacity: 0.5; }

/* ── Contact Section ── */
.contact-info-card {
    background: var(--primary);
    color: #fff;
    padding: 32px;
    border-radius: var(--radius-md);
    height: 100%;
}
.contact-info-card h4 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.info-item .ico { color: var(--accent); font-size: 1.25rem; margin-top: 4px; }
.info-item .label { font-size: 0.85rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.info-item a { color: #fff; font-weight: 600; }
.info-item a:hover { color: var(--accent); }
.social-row { display: flex; gap: 12px; margin-top: 32px; }
.social-row a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--transition); }
.social-row a:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }

.contact-form-card {
    background: var(--bg-surface);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}
.contact-form-card h4 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 24px; color: var(--primary-dark); }
.gplc-input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-body);
}
.gplc-input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(26, 77, 140, 0.1); }
textarea.gplc-input { min-height: 120px; resize: vertical; }

.gplc-map iframe { width: 100%; height: 100%; min-height: 400px; border-radius: var(--radius-md); }

/* ── Media Queries (Mobile Responsiveness) ── */
@media (max-width: 1399px) {
    .gplc-nav ul { gap: 0.8rem; }
    .gplc-nav a { font-size: 0.95rem; }
    .nav-apply { padding: 8px 16px !important; font-size: 0.9rem; }
}

@media (max-width: 1199px) {
    .topbar-info span:not(:first-child) { display: none !important; }
    
    .gplc-hamburger {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
    }
    .gplc-hamburger span {
        display: block; width: 25px; height: 3px;
        background: var(--primary-dark);
        margin: 5px 0; border-radius: 3px;
        transition: var(--transition);
    }
    .gplc-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .gplc-hamburger.active span:nth-child(2) { opacity: 0; }
    .gplc-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    
    .gplc-nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: #fff; box-shadow: var(--shadow-soft);
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    .gplc-nav.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .gplc-nav ul { flex-direction: column; gap: 15px; align-items: flex-start; }
    .gplc-nav a { padding: 10px 0; display: block; width: 100%; }
    .gplc-nav .dropdown-menu-gplc {
        position: static !important; opacity: 1; visibility: visible;
        box-shadow: none; transform: none !important; display: none; padding-left: 20px;
    }
    .gplc-nav .dropdown-menu-gplc.show { display: block !important; }
    
    .section-title { font-size: 2.2rem; }
    .section-block { padding: 3rem 0; }

    /* ── Mobile & Tablet Topbar 2-row design ── */
    .topbar-mobile { display: block !important; }

    /* Row 1: Nepali date + marquee notice */
    .mob-topbar-row1 {
        display: flex;
        align-items: center;
        gap: 8px;
        background: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: 6px 12px;
        overflow: hidden;
    }
    .mob-date-pill {
        display: flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
        flex-shrink: 0;
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        padding-right: 8px;
        border-right: 1px solid rgba(255,255,255,0.3);
    }
    .mob-date-pill i { color: #fcd34d; font-size: 0.75rem; }

    .mob-marquee-wrap {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 1;
        overflow: hidden;
        min-width: 0;
    }
    .mob-notice-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fcd34d;
        font-size: 0.8rem;
        flex-shrink: 0;
        animation: bellPulse 2s ease-in-out infinite;
    }
    @keyframes bellPulse {
        0%, 100% { transform: scale(1) rotate(0deg); }
        50% { transform: scale(1.1) rotate(10deg); }
    }
    .mob-marquee-wrap marquee { flex: 1; font-size: 0.75rem; color: rgba(255,255,255,0.9); }
    .mob-marquee-wrap marquee a { color: rgba(255,255,255,0.95); text-decoration: none; font-weight: 500; }
    .mob-marquee-wrap marquee a:hover { color: #fcd34d; }

    /* Row 2: Social icons + CTA button */
    .mob-topbar-row2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
    }
    .mob-social { display: flex; gap: 10px; align-items: center; }
    .mob-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.85);
        font-size: 1rem;
        text-decoration: none;
        transition: color 0.2s;
    }
    .mob-social a:hover { color: #fcd34d; }

    .mob-cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: var(--accent, #f59e0b);
        color: var(--primary-dark, #0e2d54) !important;
        font-weight: 700;
        font-size: 0.72rem;
        padding: 4px 12px;
        border-radius: 20px;
        text-decoration: none;
        letter-spacing: 0.02em;
        transition: opacity 0.2s, transform 0.15s;
        white-space: nowrap;
    }
    .mob-cta-btn:hover { opacity: 0.9; transform: scale(1.03); }
}

@media (max-width: 767px) {
    .gplc-logo img { height: 48px; }
    .gplc-logo-text .college-name { font-size: 1.1rem; }
    .gplc-logo-text .affiliation { font-size: 0.75rem; }
    
    .section-title { font-size: 1.8rem; }
    .page-hero { padding: 40px 0; }
    .page-hero h1 { font-size: 2rem; }
    /* Mobile-only overrides */

    /* Hero banner responsive height */
    .gplc-hero-slide { min-height: 480px; }
    .gplc-hero-content h1 { font-size: 2.5rem; }
    .gplc-hero-actions { flex-direction: column; gap: 10px; }
    .gplc-hero-actions .btn-gplc, .gplc-hero-actions .btn-gplc-light { width: 100%; justify-content: center; }
    
    .stat-box { margin-bottom: 30px; }
    .testi-card { padding: 24px; }
    
    .footer-widget { margin-bottom: 30px; }

    .sticky-notice-widget {
        top: 130px;
        width: min(180px, calc(100vw - 8px));
    }
    .back-to-top {
        right: 18px;
        bottom: 80px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .wa-float, .whatsapp-float {
        right: 18px;
        bottom: 20px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

/* ── Hero Banner: Phone-specific overrides ──────────── */
@media (max-width: 480px) {
    .gplc-hero-slide { height: 60vh; min-height: 320px; }
    .gplc-hero-content { padding: 0 5%; }
    .gplc-hero-content h1 { font-size: 1.8rem; margin-bottom: 1rem; }
    .gplc-hero-content p { font-size: 0.9rem; margin-bottom: 1.5rem; }
}

/* ============================================================
   UI ENHANCEMENTS: Glassmorphism, Gradients & Animations
   ============================================================ */

/* Floating animations */
@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes floatDown {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes pulseBlob {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Dynamic Backgrounds */
.bg-mesh-primary {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color, #1a4d8c);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.6) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.5) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(13, 148, 136, 0.5) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(79, 70, 229, 0.6) 0px, transparent 50%);
    background-size: 150% 150%;
    animation: gradientMove 15s ease infinite alternate;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.bg-soft-blobs {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
}

.bg-soft-blobs::before,
.bg-soft-blobs::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.bg-soft-blobs::before {
    background: rgba(37, 99, 235, 0.07);
    top: -100px;
    left: -100px;
    animation: pulseBlob 8s infinite alternate;
}

.bg-soft-blobs::after {
    background: rgba(245, 158, 11, 0.07);
    bottom: -100px;
    right: -100px;
    animation: pulseBlob 10s infinite alternate-reverse;
}

.content-relative {
    position: relative;
    z-index: 1;
}

/* Card hover enhancements */
.course-card, .event-card-animated, .premium-faculty-card, .notice-table-wrapper {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.course-card:hover, .event-card-animated:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Abstract SVG Wave */
.svg-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.svg-wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
@media (min-width: 992px) {
    .svg-wave-bottom svg { height: 100px; }
}
