:root {
    --accent-color: #010535;
    --accent-secondary-color: #0c5a8a;
    --primary-color: #010535;
    --cyber-navy: #010535;
    --cyber-mid: #03386b;
    --cyber-blue: #0c5a8a;
    --cyber-cyan: #22d3ee;
    --gradient-cyber: linear-gradient(90deg, #010535 0%, #021a47 28%, #03386b 62%, #0c5a8a 100%);
    --gradient-cyber-soft: linear-gradient(90.15deg, #010535 1.15%, #03386b 50%, #0c5a8a 98.84%);
    --gradient-cyber-loop: linear-gradient(to right, #010535 0%, #0c5a8a 50%, #010535 100%);
    --gradient-cyber-vertical: linear-gradient(180deg, #010535 1.15%, #03386b 50%, #0c5a8a 98.84%);

    /* Spacing rhythm */
    --nsu-section-y: 80px;
    --nsu-section-y-md: 50px;
    --nsu-section-y-sm: 40px;
    --nsu-section-row: 48px;
    --nsu-section-row-md: 32px;
    --nsu-section-title: 32px;

    /* Typography */
    --nsu-h2: 38px;
    --nsu-h2-md: 30px;
    --nsu-h2-sm: 24px;
    --nsu-h3-label: 14px;
    --nsu-body: 16px;
    --nsu-body-sm: 14px;

    /* Buttons */
    --nsu-btn-size: 15px;
    --nsu-btn-pad: 12px 44px 12px 22px;
    --nsu-btn-sm-size: 13px;
    --nsu-btn-sm-pad: 9px 18px 9px 14px;
}

/* === NSU design system: unified spacing & typography === */
.our-blog,
.our-services,
.about-us,
.our-team,
.page-blog,
.page-single-post,
.page-faqs,
.page-gallery,
.page-team,
.page-partners,
.page-notices,
.page-contact-us,
.page-service-single,
.home-gallery-section,
.cta-box-section,
.home-our-faqs,
.error-page {
    padding-top: var(--nsu-section-y);
    padding-bottom: var(--nsu-section-y);
}

.section-row {
    margin-bottom: var(--nsu-section-row);
}

.section-title {
    margin-bottom: var(--nsu-section-title);
}

.section-title h2 {
    font-size: var(--nsu-h2);
    line-height: 1.25;
}

.section-title h3 {
    font-size: var(--nsu-h3-label);
    margin-bottom: 14px;
}

.section-title p {
    font-size: var(--nsu-body);
    line-height: 1.7;
}

.btn-default {
    font-size: var(--nsu-btn-size);
    padding: var(--nsu-btn-pad);
}

.btn-default::before {
    font-size: 16px;
    transform: translate(-24px, -50%);
}

.btn-default:hover::before {
    transform: translate(-22px, -50%);
}

.btn-default.btn-sm {
    font-size: var(--nsu-btn-sm-size);
    padding: var(--nsu-btn-sm-pad);
}

.btn-default.btn-sm::before {
    display: none;
}

@media (max-width: 991px) {
    .our-blog,
    .our-services,
    .about-us,
    .our-team,
    .page-blog,
    .page-single-post,
    .page-faqs,
    .page-gallery,
    .page-team,
    .page-partners,
    .page-notices,
    .page-contact-us,
    .page-service-single,
    .home-gallery-section,
    .cta-box-section,
    .home-our-faqs,
    .error-page {
        padding-top: var(--nsu-section-y-md);
        padding-bottom: var(--nsu-section-y-md);
    }

    .section-row {
        margin-bottom: var(--nsu-section-row-md);
    }

    .section-title h2 {
        font-size: var(--nsu-h2-md);
    }
}

@media (max-width: 767px) {
    .our-blog,
    .our-services,
    .about-us,
    .our-team,
    .page-blog,
    .page-single-post,
    .page-faqs,
    .page-gallery,
    .page-team,
    .page-partners,
    .page-notices,
    .page-contact-us,
    .page-service-single,
    .home-gallery-section,
    .cta-box-section,
    .home-our-faqs,
    .error-page {
        padding-top: var(--nsu-section-y-sm);
        padding-bottom: var(--nsu-section-y-sm);
    }

    .section-title h2 {
        font-size: var(--nsu-h2-sm);
    }
}

.error-page-img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.about-values-section {
    background: var(--secondary-color);
}

.about-values-section .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* About page value cards */
.about-value-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    padding: 28px 72px 28px 28px;
    height: 100%;
    margin-bottom: 0;
}

.about-value-card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
    pointer-events: none;
    z-index: 0;
    color: var(--cyber-blue);
    opacity: 0.1;
    font-size: clamp(44px, 6vw, 56px);
    line-height: 1;
}

.about-value-card > :not(.about-value-card-icon) {
    position: relative;
    z-index: 1;
}

.about-value-card h3 {
    margin: 0 0 14px;
    color: var(--primary-color);
}

.about-value-card p {
    margin: 0;
    line-height: 1.7;
}

.about-value-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-value-card ul li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 22px;
    line-height: 1.6;
}

.about-value-card ul li:last-child {
    margin-bottom: 0;
}

.about-value-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-cyber-soft);
}

@media (max-width: 991px) {
    .about-value-card {
        padding: 24px 64px 24px 24px;
    }

    .about-value-card-icon {
        top: 18px;
        right: 18px;
        font-size: 48px;
    }
}

@media (max-width: 575px) {
    .about-value-card {
        padding: 22px 58px 22px 22px;
    }

    .about-value-card-icon {
        top: 16px;
        right: 16px;
        font-size: 44px;
    }
}

.page-faqs .faq-accordion-modern .accordion-body {
    padding: 4px 22px 22px 76px;
}

@media (max-width: 991px) {
    .page-faqs .faq-accordion-modern .accordion-body {
        padding-left: 22px;
    }
}

/* Section headers — left align in row layout */
.section-row .section-title {
    margin: 0;
    max-width: none;
    text-align: left;
}

.section-row .section-title h2,
.section-row .section-title h3 {
    text-align: left;
}

/* Dark section titles (our-team, hero, CTA) */
.section-title.dark-section h1 span,
.section-title.dark-section h2 span {
    background: linear-gradient(90.15deg, var(--cyber-cyan) 0%, #7dd3fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Topbar — match page-header cyber theme */
.topbar {
    background: var(--gradient-cyber);
    border-bottom: 1px solid rgba(34, 211, 238, 0.22);
}

@media (max-width: 767px) {
    .topbar {
        display: none;
    }
}

.topbar-contact-info {
    border-right-color: rgba(34, 211, 238, 0.28);
}

.topbar-contact-info ul li,
.topbar-contact-info ul li::before,
.topbar-social-links ul li a,
.topbar-info-text p {
    color: rgba(255, 255, 255, 0.92);
}

.topbar-contact-info ul li:hover,
.topbar-social-links ul li:hover a,
.topbar-info-text p a:hover {
    color: var(--cyber-cyan);
}

.notice-item a {
    color: var(--cyber-cyan);
    text-decoration: underline;
}

.notice-item a:hover {
    color: #7dd3fc;
}

.notice-item strong {
    color: var(--cyber-cyan);
}

.nsu-navbar-logo {
    max-height: 58px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transform: scale(1.17);
    transform-origin: left center;
}

header.main-header .navbar-brand {
    display: flex;
    align-items: center;
    height: 58px;
    overflow: visible;
}

#loading-icon {
    width: 84px;
    height: 84px;
    max-width: 84px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(1, 5, 53, 0.18);
    z-index: 2;
}

#loading-icon img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    height: auto;
}

.preloader .loading-container,
.preloader .loading {
    width: 108px;
    height: 108px;
}

.preloader .loading {
    border-width: 2px;
    border-color: transparent #fff transparent #fff;
    z-index: 1;
}

/* Standard compact navbar */
header.main-header .navbar {
    padding: 12px 0;
}

.main-menu ul li a {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px !important;
}

.main-menu ul li.submenu > a:after {
    font-size: 12px;
    margin-left: 6px;
}

.main-header .header-btn .btn-default {
    font-size: 14px;
    padding: 10px 46px 10px 18px;
}

.main-header .header-btn .btn-default::before {
    font-size: 15px;
    transform: translate(-16px, -50%);
}

.main-header .header-btn .btn-default:hover::before {
    transform: translate(-14px, -50%);
}

.main-menu ul ul {
    width: 210px;
    border-radius: 14px;
    background: var(--gradient-cyber);
}

.main-menu ul ul li a {
    font-size: 13px;
    padding: 7px 16px !important;
    color: #fff;
}

.main-menu ul ul li a:hover,
.main-menu ul ul li a:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--cyber-cyan);
    padding: 7px 16px !important;
}

/* Compact mobile menu toggle */
.navbar-toggle .slicknav_btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.navbar-toggle .slicknav_icon .slicknav_icon-bar {
    width: 16px;
    height: 2.5px;
    margin: 3px auto !important;
}

.navbar-toggle a.slicknav_btn.slicknav_open .slicknav_icon span.slicknav_icon-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
}

.navbar-toggle a.slicknav_btn.slicknav_open .slicknav_icon span.slicknav_icon-bar:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
}

/* Mobile menu — keep links readable on cyber gradient */
.slicknav_menu {
    background: var(--gradient-cyber);
}

.slicknav_nav .slicknav_row,
.slicknav_nav li a,
.slicknav_nav .nav-link {
    color: #fff;
}

.slicknav_nav a:hover,
.slicknav_nav a:focus,
.slicknav_nav .slicknav_row:hover,
.slicknav_nav .nav-link:hover,
.slicknav_nav .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.slicknav_menu ul ul li a:hover,
.slicknav_menu ul ul li a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--cyber-cyan);
}

.slicknav_arrow:after {
    color: #fff;
}

.slicknav_open > a .slicknav_arrow:after {
    color: var(--cyber-cyan);
}

.footer-logo img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .nsu-navbar-logo {
        max-height: 46px;
        max-width: min(200px, 58vw);
        transform: scale(1);
    }

    header.main-header .navbar-brand {
        height: auto;
        min-height: 46px;
    }

    header.main-header .navbar {
        padding: 10px 0;
    }
}

.hero-slider-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Lighter hero slider overlay */
.hero.hero-slider-layout .hero-slide::before {
    background: linear-gradient(270deg, rgba(1, 5, 53, 0.12) 43.57%, rgba(1, 5, 53, 0.48) 100%);
}

/* Standard hero slider height */
.hero.hero-slider-layout .hero-slide {
    padding: 100px 0 110px;
}

.hero.hero-slider-layout .hero-pagination {
    bottom: 36px;
}

.course-image-box {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(12, 90, 138, 0.06));
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 211, 238, 0.12);
}

.course-image-box img,
.course-card-icon {
    width: auto;
    height: auto;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 0;
}

.event-date-badge {
    display: inline-block;
    background: var(--gradient-cyber-soft);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.post-featured-image,
.listing-card-image {
    position: relative;
}

.event-countdown {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    gap: 6px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(1, 5, 53, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow: 0 8px 22px rgba(1, 5, 53, 0.25);
    pointer-events: none;
}

.event-countdown-unit {
    min-width: 42px;
    text-align: center;
    color: #fff;
}

.event-countdown-unit strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--cyber-cyan);
}

.event-countdown-unit span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 2px;
}

.event-countdown-date {
    padding: 10px 12px;
}

.event-countdown-unit-single strong {
    font-size: 14px;
    color: #fff;
}

.event-countdown-unit-single span {
    font-size: 11px;
}

@media (max-width: 575px) {
    .event-countdown {
        top: 10px;
        right: 10px;
        gap: 4px;
        padding: 6px;
    }

    .event-countdown-unit {
        min-width: 36px;
    }

    .event-countdown-unit strong {
        font-size: 14px;
    }
}

.notice-ticker {
    overflow: hidden;
    white-space: nowrap;
}

.notice-ticker-track {
    display: inline-block;
    animation: noticeScroll 30s linear infinite;
}

.notice-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes noticeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.notice-item {
    display: inline-block;
    margin-right: 48px;
    color: #fff;
}

.gallery-album-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-album-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-album-card:hover img {
    transform: scale(1.05);
}

.gallery-album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 5, 53, 0.55) 0%, rgba(1, 5, 53, 0.15) 45%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}

.gallery-album-overlay h3,
.gallery-album-overlay p {
    color: #fff;
    margin: 0;
}

.gallery-album-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.gallery-album-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.partner-logo-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.partner-logo-item img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

/* Partners marquee — auto scroll left to right */
.partners-marquee {
    overflow: hidden;
    width: 100%;
    margin-bottom: 8px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.partners-marquee-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: 24px;
    animation: partnersMarqueeLtr 32s linear infinite;
    will-change: transform;
}

.partners-marquee:hover .partners-marquee-track {
    animation-play-state: paused;
}

.partners-marquee-item {
    flex: 0 0 auto;
    width: clamp(200px, 42vw, 280px);
}

.partners-marquee-item .partner-logo-item {
    height: 120px;
    margin: 0;
}

@keyframes partnersMarqueeLtr {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .partners-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.trainee-meta {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 8px;
}

.course-sidebar-box {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
}

.course-sidebar-box h4 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.course-sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-sidebar-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--divider-color);
}

.course-sidebar-box ul li:last-child {
    border-bottom: none;
}

.notice-list-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.notice-list-item .notice-date {
    color: var(--accent-color);
    font-weight: 600;
    white-space: nowrap;
}

/* Fix HTTrack-corrupted Bootstrap breadcrumb divider */
.page-header-box .breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
}

/* Compact inner page header */
.page-header {
    padding: 70px 0;
    background-image: url('../images/page-header-bg.png');
    background-position: center center;
    background-size: cover;
}

.page-header-box h1 {
    font-size: 42px;
    margin-bottom: 6px;
}

@media (max-width: 991px) {
    .page-header {
        padding: 48px 0;
    }

    .page-header-box h1 {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 36px 0;
    }

    .page-header-box h1 {
        font-size: 28px;
    }
}

/* Course cards: ensure text appears above hover overlay */
.service-item .service-title-box,
.service-item .service-content {
    position: relative;
    z-index: 1;
}

.service-item .course-image-box {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.service-item .course-image-box img,
.service-item .course-card-icon {
    max-width: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    filter: none !important;
}

.service-item:hover .course-image-box img,
.service-item.active .course-image-box img,
.service-item:hover .course-image-box .course-card-icon,
.service-item.active .course-image-box .course-card-icon {
    filter: none !important;
}

/* Listing cards for events/news index pages */
.listing-card {
    background: #fff;
    border: 1px solid var(--divider-color);
    border-radius: 20px;
    overflow: hidden;
    height: calc(100% - 30px);
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.listing-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.listing-card-body {
    padding: 24px;
}

.listing-card-body h3 {
    font-size: 18px;
    margin: 12px 0;
    line-height: 1.4;
}

.listing-card-body h3 a {
    color: var(--primary-color);
}

.listing-card-body h3 a:hover {
    color: var(--accent-color);
}

.listing-meta {
    font-size: var(--nsu-body-sm);
    color: var(--text-color);
    margin-bottom: 8px;
}

/* About page layout */
.about-us-reversed .about-us-content {
    margin-right: 20px;
}

.about-us-reversed .about-visual-panel {
    margin-left: 20px;
}

.about-us-body-content-full {
    width: 100%;
    padding: 22px 28px;
}

.about-us-body:has(.about-us-body-content-full) {
    margin-left: 0;
    padding-right: 0;
    border-radius: 20px;
}

.about-footer-list-full {
    width: 100%;
}

.about-visual-panel {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 110px;
}

.about-visual-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.15);
}

.about-visual-image figure {
    display: block;
    margin: 0;
}

.about-visual-image img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

.about-visual-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(1, 5, 53, 0.92);
    color: var(--cyber-cyan);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(34, 211, 238, 0.35);
}

.about-impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-stat-card {
    background: var(--secondary-color);
    border-radius: 18px;
    padding: 20px 18px;
    border-left: 4px solid var(--cyber-cyan);
}

.about-stat-card strong {
    display: block;
    font-size: 30px;
    line-height: 1.1;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.about-stat-card span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
}

.about-partner-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--gradient-cyber-soft);
    border-radius: 22px;
    padding: 22px;
    color: #fff;
}

.about-partner-strip-logo {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 10px 12px;
    max-width: 110px;
}

.about-partner-strip-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-partner-strip-content p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.about-partner-strip-content a {
    color: var(--cyber-cyan);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.about-partner-strip-content a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .about-us-reversed .about-us-content,
    .about-us-reversed .about-visual-panel {
        margin-left: 0;
        margin-right: 0;
    }

    .about-us-body-content-full {
        padding: 18px 22px;
    }

    .about-visual-panel {
        position: static;
        margin-top: 40px;
    }

    .about-visual-image img {
        aspect-ratio: 16 / 10;
        border-radius: 20px;
    }

    .about-visual-image {
        border-radius: 20px;
    }

    .about-partner-strip {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* Footer university branding (from csc.northsouth.edu) */
.footer-brand-block {
    padding-right: 24px;
}

.footer-brand-heading {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 4px;
}

.footer-university-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 12px;
    width: max-content;
    max-width: 100%;
}

.footer-slogan {
    width: 82%;
    max-width: 260px;
}

.footer-slogan img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    background: transparent;
    padding: 0;
}

.footer-university-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-university-info a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-university-info a:hover {
    color: var(--cyber-cyan);
}

.footer-university-info i {
    margin-right: 6px;
    color: var(--cyber-cyan);
}

.footer-brand-block .footer-social-links {
    margin-top: 24px;
}

/* Symmetric footer link columns */
.main-footer > .container > .row {
    align-items: stretch;
}

.footer-links-row {
    height: 100%;
}

.footer-links-row > [class*="col-"] {
    display: flex;
}

.footer-links-row .footer-links {
    flex: 1;
    width: 100%;
    margin: 0;
}

.footer-quick-links {
    margin-left: 0;
}

.footer-copyright-text p {
    margin-bottom: 6px;
}

.footer-copyright-text p:last-child {
    margin-bottom: 0;
}

.footer-copyright {
    margin-top: 30px;
    padding: 28px 0;
}

/* Sidebar program info list */
.program-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--divider-color);
    color: var(--text-color);
}

.program-info-list li:last-child {
    border-bottom: none;
}

/* Course detail — default vector hero */
.service-single-feature-image {
    margin: 0 0 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(12, 90, 138, 0.06));
    padding: 24px;
    text-align: center;
}

.service-single-vector {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.sidebar-cta-logo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
}

/* Topbar notice text visibility */
.topbar-info-text {
    overflow: hidden;
}

/* Google map iframe */
.google-map-iframe iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Contact page */
.page-contact-us {
    background:
        radial-gradient(circle at 8% 12%, rgba(34, 211, 238, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 92% 88%, rgba(12, 90, 138, 0.08) 0%, transparent 38%),
        var(--secondary-color);
}

.page-contact-us .section-title p,
.contact-showcase-title p {
    max-width: none;
    margin-top: 14px;
    color: var(--text-color);
    line-height: 1.7;
}

.contact-showcase-title {
    margin-bottom: 8px;
}

.contact-showcase-title h2 {
    margin-bottom: 0;
}

.contact-showcase {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.contact-channel-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    padding: 22px 72px 22px 22px;
    border: 1px solid rgba(34, 211, 238, 0.15);
    box-shadow: 0 12px 32px rgba(1, 5, 53, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-channel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 18px 40px rgba(1, 5, 53, 0.1);
}

.contact-channel-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--cyber-blue);
    opacity: 0.1;
    font-size: 56px;
    line-height: 1;
    pointer-events: none;
}

.contact-channel-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyber-blue);
    margin-bottom: 8px;
}

.contact-channel-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--primary-color);
    line-height: 1.35;
}

.contact-channel-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-channel-card h3 a:hover {
    color: var(--cyber-blue);
}

.contact-channel-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
}

.contact-form-panel {
    height: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(34, 211, 238, 0.15);
    box-shadow: 0 20px 50px rgba(1, 5, 53, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-cyber);
}

.contact-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 100px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyber-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contact-form-panel-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form-panel-header p {
    margin-bottom: 24px;
    color: var(--text-color);
    line-height: 1.7;
}

.contact-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.page-contact-us .member-contact-form .form-control {
    background: var(--secondary-color);
    border: 1px solid rgba(12, 90, 138, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-us .member-contact-form .form-control:focus {
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
    background: #fff;
}

.contact-map-section {
    padding-bottom: var(--nsu-section-y);
    background: var(--secondary-color);
}

.contact-map-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.15);
    box-shadow: 0 20px 50px rgba(1, 5, 53, 0.08);
}

.contact-map-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: var(--gradient-cyber-soft);
    color: #fff;
}

.contact-map-header h3 {
    margin: 0 0 6px;
    font-size: 20px;
    color: #fff;
}

.contact-map-header h3 i {
    margin-right: 8px;
    color: var(--cyber-cyan);
}

.contact-map-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.contact-map-btn {
    flex-shrink: 0;
}

.contact-map-iframe iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.4s ease;
}

.contact-map-card:hover .contact-map-iframe iframe {
    filter: grayscale(0%);
}

@media (max-width: 991px) {
    .contact-form-panel {
        padding: 26px 22px;
    }

    .contact-map-header {
        padding: 20px 22px;
    }

    .contact-map-iframe iframe {
        height: 320px;
    }
}

@media (max-width: 575px) {
    .contact-channel-card {
        padding: 20px 64px 20px 20px;
    }

    .contact-channel-icon {
        font-size: 48px;
    }

    .contact-form-panel-header h2 {
        font-size: 24px;
    }
}

/* Gallery page album grid */
.page-gallery .gallery-album-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Our Team section — card layout (original background from custom.css) */
.our-team .section-row {
    margin-bottom: 50px;
}

.our-team .section-title h2 {
    margin-bottom: 0;
    line-height: 1.25;
}

.our-team .team-grid {
    --team-card-width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.75rem;
    margin-left: 0;
    margin-right: 0;
}

.our-team .team-grid > [class*='col-'] {
    flex: 0 0 auto;
    width: min(100%, var(--team-card-width));
    max-width: var(--team-card-width);
    padding: 0;
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .our-team .team-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: center;
        gap: 1.75rem;
    }

    .our-team .team-grid > [class*='col-'] {
        width: 100%;
        max-width: none;
        flex: initial;
    }

    .our-team .team-item.team-card {
        max-width: 280px;
    }

    /* Row 1: 4 cards | Row 2: 2 cards centered */
    .our-team .team-grid > :nth-child(5) {
        grid-column: 2;
    }

    .our-team .team-grid > :nth-child(6) {
        grid-column: 3;
    }
}

.our-team .team-item.team-card {
    position: relative;
    width: 100%;
    max-width: var(--team-card-width);
    height: auto;
    margin-bottom: 0;
    margin-inline: auto;
    flex: 0 0 auto;
    container-type: inline-size;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.our-team .team-item.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(34, 211, 238, 0.15);
}

.our-team .team-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3 / 4;
}

.our-team .team-image::before,
.our-team .team-image figure::before {
    display: none;
}

.our-team .team-image figure,
.our-team .team-image figure.image-anime {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.our-team .team-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.45s ease;
}

.our-team .team-item.team-card:hover .team-image img {
    transform: scale(1.04);
}

.our-team .team-content {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    text-align: center;
    padding: clamp(14px, 4cqw, 20px) clamp(14px, 4.5cqw, 20px) clamp(16px, 4.5cqw, 22px);
    background: #fff;
}

.our-team .team-content::before {
    content: '';
    display: block;
    width: clamp(36px, 12cqw, 48px);
    height: 3px;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-blue));
    margin: 0 auto clamp(10px, 3cqw, 14px);
}

.our-team .team-content h3 {
    color: var(--primary-color);
    font-size: clamp(14px, 4.5cqw, 20px);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: clamp(4px, 1.5cqw, 8px);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.our-team .team-content p {
    color: var(--cyber-blue);
    opacity: 1;
    font-size: clamp(12px, 3.4cqw, 16px);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.page-team.our-team {
    background: var(--secondary-color);
}

.page-team.our-team .team-item.team-card {
    box-shadow: 0 12px 32px rgba(1, 5, 53, 0.12);
}

.page-team.our-team .team-item.team-card:hover {
    box-shadow: 0 20px 42px rgba(1, 5, 53, 0.18), 0 0 0 1px rgba(34, 211, 238, 0.12);
}

@media (max-width: 991px) {
    .our-team .section-row {
        margin-bottom: 36px;
    }

    .our-team .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
        gap: 1.25rem;
    }

    .our-team .team-grid > [class*='col-'] {
        width: 100%;
        max-width: none;
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    }

    .our-team .team-item.team-card {
        max-width: none;
        width: 100%;
    }

    .our-team .team-grid > :nth-child(5),
    .our-team .team-grid > :nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 575px) {
    .our-team .team-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 300px;
        margin-inline: auto;
    }
}

/* Homepage FAQ section */
.home-our-faqs {
    background:
        radial-gradient(circle at 10% 20%, rgba(34, 211, 238, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 90% 80%, rgba(12, 90, 138, 0.1) 0%, transparent 38%),
        var(--secondary-color);
}

.home-our-faqs .faq-showcase .section-title {
    margin-bottom: 24px;
    text-align: left;
}

.home-our-faqs .faq-showcase .section-title p {
    margin-top: 16px;
    color: var(--text-color);
    line-height: 1.7;
    max-width: 420px;
}

.faq-topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.faq-topic-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    background: #fff;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(1, 5, 53, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.faq-topic-pills i {
    color: var(--cyber-blue);
    font-size: 14px;
}

.faq-help-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 18px;
    background: var(--gradient-cyber-soft);
    color: #fff;
    box-shadow: 0 14px 32px rgba(1, 5, 53, 0.18);
}

.faq-help-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: var(--cyber-cyan);
    font-size: 18px;
}

.faq-help-card h4 {
    font-size: 17px;
    margin-bottom: 6px;
    color: #fff;
}

.faq-help-card p {
    margin: 0 0 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.faq-help-card a {
    color: var(--cyber-cyan);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.faq-help-card a:hover {
    color: #fff;
    text-decoration: underline;
}

.faq-accordion-modern .accordion-item {
    border: none;
    box-shadow: 0 10px 28px rgba(1, 5, 53, 0.08);
    margin-bottom: 18px;
}

.faq-accordion-modern .accordion-item::before {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-accordion-modern .accordion-item:has(.accordion-button:not(.collapsed))::before {
    opacity: 1;
}

.faq-accordion-modern .accordion-item:has(.accordion-button.collapsed) {
    border-left: 4px solid var(--cyber-cyan);
}

.faq-accordion-modern .accordion-header .accordion-button {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: clamp(15px, 2.8vw, 18px);
    padding: 22px 52px 22px 22px;
}

.faq-item-number {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyber-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.faq-accordion-modern .accordion-button:not(.collapsed) .faq-item-number {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.faq-item-text {
    flex: 1;
    text-align: left;
    line-height: 1.45;
}

.faq-accordion-modern .accordion-body {
    padding: 4px 22px 22px 76px;
}

.faq-section-footer {
    margin-top: 28px;
}

@media (max-width: 991px) {
    .faq-accordion-modern .accordion-body {
        padding-left: 22px;
    }

    .faq-help-card {
        margin-bottom: 8px;
    }
}

/* CTA dark section paragraph */
.cta-box-content .section-title.dark-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
}

/* Site-wide cyber gradient theme */
.preloader,
.cta-box,
.about-us-body,
.btn-default,
.btn-default.btn-highlighted::after,
.main-footer,
.cb-cursor::before {
    background: var(--gradient-cyber-soft);
}

.btn-default {
    background: var(--gradient-cyber-loop);
    background-size: 200% auto;
}

.btn-default.btn-highlighted {
    background: var(--gradient-cyber-soft);
    color: #fff;
}

.btn-default.btn-highlighted::before {
    color: #fff;
}

.btn-default.btn-highlighted:hover,
.btn-default.btn-highlighted:hover::before {
    color: #fff;
}

.btn-default.btn-highlighted span {
    color: inherit;
}

.main-footer {
    background: url(../images/footer-bg.png), var(--gradient-cyber);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
}

.cta-box,
.about-us-body {
    background: var(--gradient-cyber);
}

.btn-default.btn-highlighted::after {
    background: var(--gradient-cyber-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-cyber-vertical);
}

.team-image::before,
.team-item:hover .team-image::before {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.45) -0.01%, rgba(1, 5, 53, 0.72) 111.29%);
}

.team-image figure::before {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0) 63.54%, #010535 110.14%);
}

.project-item .project-image a figure::before,
.project-item.active .project-image a figure::before,
.project-item:hover .project-image a figure::before,
.page-projects .project-item .project-image figure::before {
    background: linear-gradient(270deg, rgba(34, 211, 238, 0.45) 0%, rgba(1, 5, 53, 0.72) 100%);
}

/* === Site-wide responsive fixes === */
html {
    overflow-x: clip;
}

.container {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
}

/* Hero slider */
@media (max-width: 1299px) {
    .hero.hero-slider-layout .hero-pagination {
        padding-left: 15px;
    }
}

@media (max-width: 991px) {
    .hero.hero-slider-layout .hero-slide {
        padding: 80px 0 90px;
    }

    .hero .section-title h1 {
        font-size: clamp(30px, 5vw, 42px);
    }

    .section-row.align-items-center > [class*='col-']:last-child {
        margin-top: 16px;
        text-align: left !important;
    }

    .section-row.align-items-center .btn-default {
        display: inline-block;
        width: auto;
        max-width: none;
    }

    .topbar-contact-info ul li a {
        word-break: break-word;
    }

    .footer-brand-block {
        padding-right: 0;
        margin-bottom: 28px;
    }

    .footer-university-title {
        width: auto;
        font-size: 18px;
    }

    .footer-slogan {
        width: 100%;
        max-width: 220px;
    }

    .footer-links-row > [class*='col-'] {
        margin-bottom: 20px;
    }

    .gallery-album-card img {
        height: 220px;
    }

    .service-item .course-image-box {
        padding: 22px 18px;
    }

    .cta-box {
        padding: 24px;
        gap: 20px;
    }

    .about-us-reversed .about-us-content,
    .about-us-reversed .about-visual-panel {
        margin-left: 0;
        margin-right: 0;
    }

    .about-visual-panel {
        margin-top: 32px;
    }

    .page-service-single .row > [class*='col-lg-4'] {
        margin-bottom: 24px;
    }

    .sidebar-cta-box {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .hero.hero-slider-layout .hero-slide {
        padding: 68px 0 78px;
    }

    .hero .section-title h1 {
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.2;
    }

    .hero .section-title p {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-header-box h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .page-header-box .breadcrumb {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .btn-default:not(.btn-sm) {
        min-height: 44px;
    }

    .post-item-body h2 {
        font-size: 17px;
        line-height: 1.35;
    }

    .post-item-content {
        left: 16px;
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .listing-meta {
        font-size: 13px;
        line-height: 1.5;
        white-space: normal;
    }

    .listing-card-body h3 {
        font-size: 18px;
        line-height: 1.35;
    }

    .gallery-album-card img {
        height: 200px;
    }

    .gallery-album-overlay {
        padding: 16px 20px;
    }

    .gallery-album-overlay h3 {
        font-size: 16px;
    }

    .faq-accordion-modern .accordion-header .accordion-button {
        padding: 16px 40px 16px 16px;
        gap: 12px;
    }

    .faq-item-number {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .about-impact-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .notice-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .notice-list-item .notice-date {
        white-space: normal;
    }

    .contact-map-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-map-btn {
        width: 100%;
    }

    .contact-map-btn .btn-default {
        width: 100%;
        text-align: center;
    }

    .service-item .service-title h3 {
        font-size: 17px;
        line-height: 1.35;
    }

    .service-item .service-content p {
        font-size: 14px;
        word-break: break-word;
    }

    .footer-university-info p {
        font-size: 14px;
        word-break: break-word;
    }

    .footer-copyright-text p {
        font-size: 13px;
        line-height: 1.6;
    }
}

@media (max-width: 575px) {
    .hero.hero-slider-layout .hero-slide {
        padding: 56px 0 66px;
    }

    .page-header-box h1 {
        font-size: 22px;
    }

    .about-impact-stats {
        grid-template-columns: 1fr;
    }

    .about-stat-card strong {
        font-size: 26px;
    }

    .faq-help-card {
        flex-direction: column;
    }

    .faq-topic-pills span {
        font-size: 12px;
        padding: 6px 12px;
    }

    .gallery-album-card img {
        height: 180px;
    }

    .contact-channel-card h3 {
        font-size: 16px;
        word-break: break-word;
    }

    .contact-form-panel {
        padding: 20px 16px;
    }

    .preloader .loading-container,
    .preloader .loading {
        width: 88px;
        height: 88px;
    }

    #loading-icon {
        width: 68px;
        height: 68px;
        padding: 10px;
    }

    #loading-icon img {
        max-height: 44px;
    }

    .topbar-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .event-countdown {
        top: 8px;
        right: 8px;
        padding: 5px;
        gap: 3px;
    }

    .event-countdown-unit {
        min-width: 32px;
    }

    .event-countdown-unit strong {
        font-size: 13px;
    }
}
