/* =========================
   GLOBAL TOKENS
   ========================= */
:root {
    --primary: #074da2;
    --primary-soft: #e5f0ff;
    --accent: #ffbf00;
    --accent-soft: #fff4c2;
    --danger-soft: #ffe4e4;
    --bg-body: #f5f8ff;
    --text-main: #1f2933;
    --text-muted: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.7);
    --radius-lg: 18px;
}

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

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    margin: 0;
    background: radial-gradient(circle at top, #e0ecff 0, #f5f8ff 45%, #ffffff 100%);
    color: var(--text-main);
}

/* =========================
   FIRST ROW (CONTACT STRIP)
   ========================= */
.top-info-row {
    background: #01509c;
    color: #eef2ff;
    font-size: 13px;
}
.top-bar-inner {
    min-height: 46px;
}
.top-info-contact .info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.top-info-contact .info-item i {
    font-size: 13px;
}
.top-info-contact .info-item a {
    color: #eef2ff;
    text-decoration: none;
}
.top-info-contact .info-item a:hover {
    text-decoration: underline;
}

/* 3 top action buttons (desktop + mobile) */
.top-quick-actions {
    gap: 8px;
}
.top-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffbf00, #f97316);
    color: #111827 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    border: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.top-action-btn i {
    font-size: 13px;
}
.top-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #facc15, #fb923c);
}

/* =========================
   MARQUEE STRIP
   ========================= */
.secondary-marquee-row {
    background: var(--accent);
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
}
.secondary-marquee-row .marquee-inner {
    position: relative;
    white-space: nowrap;
}
.secondary-marquee-row .marquee-track {
    display: inline-flex;
    gap: 40px;
    padding: 6px 0;
    animation: marqueeScroll 28s linear infinite;
}
.secondary-marquee-row .marquee-track span {
    display: inline-flex;
    align-items: center;
}
.secondary-marquee-row i {
    font-size: 13px;
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================
   FLOATING SOCIAL BAR
   ========================= */
.social-floating {
    position: fixed;
    top: 45%;
    left: 12px;
    z-index: 1000;
}
.social-floating-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.social-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 8px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    min-width: 38px;
    max-width: 38px;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.25s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.social-pill i {
    font-size: 14px;
}
.social-pill span {
    opacity: 0;
    transition: opacity 0.18s ease 0.05s;
}
.social-floating-inner:hover .social-pill {
    max-width: 150px;
}
.social-floating-inner:hover .social-pill span {
    opacity: 1;
}
.social-pill:hover {
    transform: translateX(3px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}
.social-pill.fb { background: linear-gradient(135deg, #1877f2, #0f5ccf); }
.social-pill.ig { background: linear-gradient(135deg, #f56040, #f77737, #e1306c); }
.social-pill.ln { background: linear-gradient(135deg, #0a66c2, #004182); }
.social-pill.yt { background: linear-gradient(135deg, #ff0000, #cc0000); }

/* =========================
   NAVBAR
   ========================= */
.main-header {
    backdrop-filter: blur(20px);
}
.nav-glass {
    background: linear-gradient(90deg, rgba(5, 49, 111, 0.96), rgba(13, 110, 253, 0.94));
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}
.logo-img {
    height: 58px;
}
.logo-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #f9fafb;
}
.logo-subtitle {
    font-size: 12px;
    color: #bfdbfe;
}
.main-menu .nav-link {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #e5e7eb !important;
    padding: 10px 14px;
    position: relative;
}
.main-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #fde68a);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}
.main-menu .nav-link:hover::after,
.main-menu .nav-link.active::after {
    transform: scaleX(1);
}

/* arrow on menu items with dropdown */
.navbar-nav .has-arrow > .nav-link::before {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    margin-right: 4px;
}

/* Hover dropdown on desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Dropdown style */
.dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    font-size: 14px;
    padding: 6px 0;
    animation: dropFade 0.18s ease-out;
}
.dropdown-item {
    padding: 8px 16px;
    color: #111827;
}
.dropdown-item:hover {
    background: #074da2;
    color: #f9fafb;
}
@keyframes dropFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-gradient {
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: #111827;
    border: none;
    font-weight: 600;
}
.btn-gradient:hover {
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    color: #111827;
}
.bg-soft-primary {
    background: #e0edff;
    color: #1d4ed8;
}
.bg-soft-danger {
    background: var(--danger-soft);
    color: #dc2626;
}
.btn-accent {
    background: var(--accent);
    border: none;
    color: #111827;
}
.btn-accent:hover {
    background: #facc15;
}

/* =========================
   HERO SLIDER
   ========================= */
.hero-2026 {
    position: relative;
    min-height: 72vh;
    padding: 70px 0 60px;
    background-image: radial-gradient(circle at top left, #0b4ea2, #071b3b 55%);
    color: #f9fafb;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.4), transparent 45%),
        radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.3), transparent 60%);
    pointer-events: none;
}
.hero-2026 .carousel,
.hero-2026 .carousel-inner,
.hero-2026 .carousel-item {
    height: 100%;
}
.hero-2026 .container,
.hero-2026 .row {
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.65);
    color: #bfdbfe;
    border: 1px solid rgba(191, 219, 254, 0.4);
}
.hero-title {
    font-size: clamp(30px, 4vw, 38px);
    font-weight: 700;
}
.hero-title span {
    color: #fde68a;
}
.hero-text {
    color: #e5e7eb;
    max-width: 560px;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: #d1d5db;
}
.hero-meta span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}
.hero-card {
    background: rgba(15, 23, 42, 0.5);
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.65);
}
.hero-indicators {
    position: absolute;
    bottom: 18px;
}
.hero-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    margin: 0 4px;
    background: rgba(148, 163, 184, 0.6);
}
.hero-indicators .active {
    width: 26px;
    background: #fde68a;
}

/* =========================
   GENERIC SECTIONS
   ========================= */
.section-padding {
    padding: 60px 0;
}
.section-surface {
    background: radial-gradient(circle at top, #e5efff 0, #ffffff 60%);
}
.section-heading h2 {
    color: var(--primary);
    font-weight: 700;
}
.section-heading p {
    color: var(--text-muted);
    max-width: 560px;
    margin-inline: auto;
}

/* =========================
   WELCOME BLOCK
   ========================= */
.welcome-block p {
    color: var(--text-muted);
}
.chip-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.welcome-image-frame {
    position: relative;
    padding: 10px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, #dbeafe, #ffffff);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.3);
}
.welcome-image-frame img {
    border-radius: 18px;
}
.welcome-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background: #fde68a;
    color: #78350f;
    border-radius: 18px;
    padding: 8px 14px;
    text-align: right;
}
.welcome-badge strong {
    display: block;
    font-size: 20px;
}
.welcome-badge span {
    font-size: 12px;
}
.welcome-points .welcome-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 6px;
}
.welcome-chip i {
    font-size: 13px;
}

/* =========================
   PRINCIPAL'S DESK
   ========================= */
.principal-block p {
    color: var(--text-muted);
}
.principal-card {
    position: relative;
    padding: 10px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, #fee2e2, #ffffff);
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.45);
}
.principal-card img {
    border-radius: 18px;
}
.principal-quote-icon {
    position: absolute;
    left: 18px;
    top: 18px;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #92400e;
    font-size: 20px;
}

/* =========================
   INFO CARDS (3 boxes)
   ========================= */
.info-card {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--glass-border);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    border-color: rgba(59, 130, 246, 0.6);
}
.info-card .info-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #ffffff;
}
.info-card-1 .info-icon { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.info-card-2 .info-icon { background: linear-gradient(135deg, #ec4899, #db2777); }
.info-card-3 .info-icon { background: linear-gradient(135deg, #10b981, #059669); }
.info-card-1 { background: linear-gradient(135deg, #e0edff, #ffffff); }
.info-card-2 { background: linear-gradient(135deg, #ffe4f3, #ffffff); }
.info-card-3 { background: linear-gradient(135deg, #dcfce7, #ffffff); }
.info-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}
.info-card p {
    font-size: 14px;
    color: var(--text-muted);
}
.info-link {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary);
}
.info-link::after {
    content: " →";
}

/* =========================
   ACADEMIC PROGRAMS
   ========================= */
.program-card {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(209, 213, 219, 0.7);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
}
.program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}
.program-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.program-tag {
    position: absolute;
    margin: 10px;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 999px;
    color: #e5e7eb;
}
.program-card-1 .program-tag { background: rgba(236, 72, 153, 0.9); }
.program-card-2 .program-tag { background: rgba(59, 130, 246, 0.9); }
.program-card-3 .program-tag { background: rgba(16, 185, 129, 0.9); }
.program-card-4 .program-tag { background: rgba(249, 115, 22, 0.9); }
.program-card-1 { background: linear-gradient(145deg, #fff0f8, #ffffff); }
.program-card-2 { background: linear-gradient(145deg, #e0edff, #ffffff); }
.program-card-3 { background: linear-gradient(145deg, #dcfce7, #ffffff); }
.program-card-4 { background: linear-gradient(145deg, #ffedd5, #ffffff); }
.program-card h6 {
    font-size: 15px;
    font-weight: 600;
    margin: 10px 14px 0;
    color: var(--primary);
}
.program-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 6px 14px 12px;
}



/* Mandatory Public Disclosure */
.mpd-section-title {
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0d6efd;
}

.mpd-sub-title {
    margin-top: 25px;
    font-weight: 600;
}

.mpd-links li {
    margin-bottom: 6px;
}





/* =========================
   INFRASTRUCTURE (COLORFUL)
   ========================= */
.infrastructure-block h2 span {
    color: var(--primary);
}
.infrastructure-block p {
    color: var(--text-muted);
}
.infra-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid rgba(209, 213, 219, 0.4);
    box-shadow: 0 8px 25px rgba(148, 163, 184, 0.15);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.infra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #10b981, #3b82f6, #ec4899);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}
.infra-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}
.infra-card:nth-child(1) .infra-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.infra-card:nth-child(2) .infra-icon { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #166534; }
.infra-card:nth-child(3) .infra-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; }
.infra-card:nth-child(4) .infra-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.infra-card:nth-child(5) .infra-icon { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); color: #be185d; }
.infra-card:nth-child(6) .infra-icon { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0c4a6e; }
.infra-card:nth-child(7) .infra-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.infra-card:nth-child(8) .infra-icon { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #166534; }

.infra-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.infra-card:hover .infra-icon {
    transform: scale(1.1);
}
.infra-card h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}
.infra-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* =========================
   NEWS & UPDATES
   ========================= */
.news-carousel-inner {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(148, 163, 184, 0.3);
}
.news-card {
    padding: 22px;
}
.news-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}
.news-label.achievement {
    background: #fef3c7;
    color: #92400e;
}
.news-label.event {
    background: #dbeafe;
    color: #1d4ed8;
}
.news-card h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}
.news-date-line {
    font-size: 12px;
    color: #6b7280;
}
.news-card p {
    font-size: 14px;
    margin-top: 8px;
    color: var(--text-muted);
}
.news-read {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.news-read::after {
    content: "→";
}
.news-indicators {
    position: relative;
    margin-top: 8px;
    justify-content: flex-start;
    padding-left: 18px;
}
.news-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    margin-right: 4px;
    background: rgba(148, 163, 184, 0.7);
}
.news-indicators .active {
    width: 24px;
    background: var(--primary);
}

/* Upcoming events (COLORFUL) */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.event-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.event-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent), #10b981);
}
.event-item:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}
.event-date-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    text-align: center;
    padding: 8px 4px;
    color: white;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s ease;
}
.event-item:hover .event-date-box {
    transform: scale(1.05);
}
.event-date-box .day {
    display: block;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
}
.event-date-box .mon {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.event-body {
    flex: 1;
}
.event-body h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}
.event-body p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
}
.testimonial-card {
    background: radial-gradient(circle at top, #1d4ed8 0, #0b2b6b 55%);
    color: #e5e7eb;
    border-radius: 26px;
    padding: 30px 26px 26px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.5);
}
.testimonial-quote-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #fde68a;
}
.testimonial-text {
    font-size: 15px;
    margin-bottom: 18px;
}
.testimonial-person {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.testimonial-person img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
}
.testimonial-person small {
    font-size: 12px;
}
.testimonial-indicators {
    position: relative;
    margin-top: 16px;
}
.testimonial-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    margin: 0 4px;
    background: rgba(148, 163, 184, 0.7);
}
.testimonial-indicators .active {
    width: 24px;
    background: #fde68a;
}

/* =========================
   GALLERY
   ========================= */
.gallery-tile {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.gallery-tile img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.gallery-tile:hover img {
    transform: scale(1.05);
}
.gallery-tile.has-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 77, 162, 0.75), rgba(56, 189, 248, 0.7));
    opacity: 0;
    transition: opacity 0.2s ease;
}
.gallery-overlay-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #f9fafb;
    font-weight: 600;
    opacity: 0;
    z-index: 1;
}
.gallery-tile.has-overlay:hover::after,
.gallery-tile.has-overlay:hover .gallery-overlay-link {
    opacity: 1;
}

/* =========================
   CONTACT + MAP
   ========================= */
.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: 0 12px 35px rgba(148, 163, 184, 0.35);
    border: 1px solid rgba(209, 213, 219, 0.7);
}
.map-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 12px 35px rgba(148, 163, 184, 0.35);
    border: 1px solid rgba(209, 213, 219, 0.7);
}
.map-info {
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================
   FOOTER
   ========================= */
.footer-section {
    margin-top: 40px;
}
.footer-top {
    background: radial-gradient(circle at top, #0c3970 0, #032043 60%);
    color: #e5e7eb;
}
.footer-bottom {
    background: #021325;
    color: #9ca3af;
    font-size: 13px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--accent);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent);
    padding-left: 8px;
}
.footer-links li {
    margin-bottom: 6px;
}
.footer-links a {
    color: #cbd5f5;
    font-size: 13px;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}
.footer-contact li {
    font-size: 13px;
    margin-bottom: 8px;
}
.footer-contact i {
    margin-right: 6px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #e5e7eb;
    margin-right: 6px;
    font-size: 13px;
}
.footer-social a:hover {
    background: #ffffff;
    color: #0f172a;
}
.affiliation-card {
    background: rgba(15, 23, 42, 0.8);
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
}

/* =========================
   POPUPS
   ========================= */
.popup-glass {
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.98), rgba(219, 234, 254, 0.95));
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    position: relative;
}
.modal-dialog-slide {
    transform: translateY(-10px);
    transition: transform .2s ease-out;
}
.modal.show .modal-dialog-slide {
    transform: translateY(0);
}
.popup-left {
    position: relative;
    background: radial-gradient(circle at top, #074da2 0, #38bdf8 55%);
    color: #f9fafb;
}
.popup-left-inner {
    height: 100%;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* ✅ image moves to top */
    align-items: center;        /* optional: center horizontally */
}
.popup-left-inner h4 {
    font-weight: 700;
}
.popup-left-inner p {
    font-size: 13px;
}
.popup-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    font-size: 11px;
    margin-bottom: 8px;
}
.popup-bullets {
    padding-left: 18px;
    font-size: 13px;
}
.popup-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
}

/* =========================
   FORM CONTROLS
   ========================= */
.form-control {
    border-radius: 10px;
    border-color: rgba(148, 163, 184, 0.7);
    font-size: 14px;
}
.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.25);
}

/* =========================
   BACK TO TOP
   ========================= */
.back-to-top {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #0f172a, #1f2937);
    color: #f9fafb;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
    z-index: 1050;
}
.back-to-top.show {
    display: flex;
}






/* ===============================
   PAGE TITLE – UI 2026 (FIXED)
   =============================== */

.page-title-hero {
    background: linear-gradient(135deg, #eaf4ff, #f5faff);
    border-radius: 16px;
    padding: clamp(22px, 5vw, 44px) 16px;
    text-align: center;
    position: relative;
}

/* Accent underline */
.page-title-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: clamp(80px, 20vw, 160px);
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #66b2ff);
    border-radius: 2px;
    transform: translateX(-50%);
}

/* MAIN TITLE */
.page-title-main {
    font-size: clamp(1.35rem, 4.4vw, 2.4rem);
    font-weight: 800;
    color: #0d6efd;
    line-height: 1.2;
    margin-bottom: 8px;

    /* allow wrapping, but keep it compact */
    white-space: normal;
    word-break: break-word;
    letter-spacing: clamp(-0.5px, -0.15vw, 0px);
}

/* SUBTITLE */
.page-title-sub {
    font-size: clamp(0.78rem, 2.6vw, 1rem);
    color: #4b5563;
    margin: 0;

    white-space: normal;
    letter-spacing: clamp(-0.3px, -0.12vw, 0px);
}
















/* =========================
   RESPONSIVE (COMPLETE FIX)
   ========================= */
@media (max-width: 991.98px) {
    .hero-2026 {
        text-align: center;
        padding-top: 80px;
    }
    .hero-text {
        margin-inline: auto;
    }
    .hero-meta {
        justify-content: center;
    }
    .social-floating {
        display: none;
    }
}

/* MOBILE TOP ROW - FIXED */
@media (max-width: 767.98px) {
    .top-info-row {
        font-size: 12px;
        padding: 4px 0;
    }
    
    /* Fix overlapping - proper spacing */
    .top-info-row .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .top-info-row .row {
        margin: 0;
    }
    
    /* Left side - stack properly */
    .top-info-left {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 4px;
    }
    
    .top-info-row .info-item {
        font-size: 11px;
        gap: 4px;
    }
    
    /* Right side - Apply Now + Menu icon properly spaced */
    .top-info-right {
        justify-content: space-between !important;
        width: 100%;
        padding-top: 4px;
    }
    
    /* Apply Now button - smaller, no overlap */
    .apply-strip-btn {
        padding: 4px 12px !important;
        font-size: 11px !important;
        min-height: 28px !important;
        line-height: 1.3;
    }
    
    /* Hide social icons on very small screens */
    .top-info-row .info-social {
        display: none !important;
    }
}

/* NAVBAR MOBILE - Brighter hamburger + proper positioning */
@media (max-width: 991.98px) {
    /* Mobile navbar CTA + toggler - right aligned */
    .navbar .d-flex {
        gap: 8px;
        margin-left: auto;
    }
    
    /* Brighter hamburger menu icon */
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 6px !important;
        padding: 4px 6px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(10px);
    }
    
    .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%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        opacity: 1 !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
    }
    
    /* Mobile Apply Now button in navbar */
    .navbar .btn-warning.btn-sm {
        padding: 6px 14px !important;
        font-size: 12px !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
        border: none !important;
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4) !important;
    }
}

/* Extra small screens - ultra compact */
@media (max-width: 480px) {
    .top-info-row .info-item {
        font-size: 10px;
    }
    
    .apply-strip-btn {
        padding: 3px 10px !important;
        font-size: 10px !important;
    }
    
    .logo-img {
        height: 42px !important;
    }
    
    .logo-title {
        font-size: 16px !important;
    }
    
    .logo-subtitle {
        font-size: 11px !important;
    }
}



/* MOBILE TOP ROW CHIPS */
@media (max-width: 767.98px) {
    .quick-links-chips {
        display: flex;
        gap: 8px;
    }
    .quick-chip {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        color: #fff !important;
        font-size: 13px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
        transition: all 0.2s ease;
    }
    .quick-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(251, 191, 36, 0.6);
    }
}

/* MOBILE LOGO - LARGER */
@media (max-width: 991.98px) {
    .logo-img { height: 54px !important; }
    .logo-title { 
        font-size: 22px !important; 
        font-weight: 800 !important; 
        line-height: 1.1 !important;
    }
    .logo-subtitle { 
        font-size: 14px !important; 
        font-weight: 600 !important;
    }
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    width: 44px !important;
    height: 44px !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}
.mobile-menu-btn .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* MOBILE TOP ROW CLEAN */
@media (max-width: 767.98px) {
    .top-info-row {
        padding: 8px 0;
        background: linear-gradient(135deg, #01509c, #01428a);
    }
    .top-info-row .info-item {
        font-size: 13px;
        gap: 6px;
        margin-bottom: 2px;
    }
    .top-info-row .info-link {
        font-weight: 600;
        color: #e5f2ff !important;
    }
    /* Hide address on mobile */
    .top-info-row .info-item:has(.fa-location-dot) {
        display: none !important;
    }
}

/* COLLAPSED MENU - Apply Now buttons */
.navbar-nav .dropdown-menu .open-modal {
    display: block;
    padding: 8px 20px;
    color: #074da2 !important;
    font-weight: 600;
    background: #e5f0ff;
    border-radius: 8px;
    margin: 4px 8px;
    text-decoration: none;
}
.navbar-nav .dropdown-menu .open-modal:hover {
    background: #074da2;
    color: #fff !important;
}


/* MOBILE – single clean row, full-width buttons with text */
@media (max-width: 767.98px) {
    .top-info-row {
        font-size: 12px;
        padding: 6px 0;
    }
    .top-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .top-info-contact {
        width: 100%;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }
    .top-quick-actions {
        width: 100%;
        justify-content: center;
    }
    .top-action-btn {
        flex: 1 1 calc(33.33% - 8px);
        justify-content: center;
        padding: 7px 4px;
        font-size: 11px;
    }
}

/* TABLET / SMALL DESKTOP – compact spacing, no overlap with marquee */
@media (min-width: 768px) and (max-width: 991.98px) {
    .top-bar-inner {
        min-height: 48px;
    }
    .top-quick-actions .top-action-btn {
        padding-inline: 10px;
    }
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-3px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
