:root {
    --primary-blue: #1e3a8a;
    --primary-dark: #0f172a;
    --accent-gold: #99406a;
    --accent-gold-rgb: 153, 64, 106;
    --accent-light: #c46594;
    --accent-light-rgb: 196, 101, 148;
    --text-body: #475569;
    --bg-light: #f8fafc;
    --bg-soft: #eff4ff;
    --white: #ffffff;
    --secondary-color: #ff9933;
    --border-subtle: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-strong: 0 20px 50px rgba(15, 23, 42, 0.18);
    --font-primary: "DM sans", sans-serif;
    --text-light: #64748b;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--primary-dark);
    font-weight: 700;
}

.htmx-request {
    opacity: 0.7;
    pointer-events: none;
}

.htmx-request::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


a {
    text-decoration: none;
    transition: all 0.25s ease;
}

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

/* Top Bar */
.top-bar {
    background: var(--bg-soft);
    color: var(--primary-blue);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.top-bar a {
    color: var(--primary-blue);
    margin-right: 20px;
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--accent-gold);
}

.top-bar i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.top-bar .badge {
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 600;
    background: var(--white);
    color: var(--primary-blue);
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-img {
    width: 72px;
    height: 60px;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 22px;
    margin-bottom: -7px;
    color: var(--primary-blue);
}

.logo-text span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    font-weight: 500;
}
@media (max-width: 991px) {
    .logo-text span{
        font-size: 9px;
    }
}
@media screen and (max-width: 480px) {
    .logo-img {
        width: 52px;
        height: 52px;
        object-fit: cover;
    }
    .logo-text h1 {
        font-size: 18px;
    }
    .logo-text span {
        font-size: 8px;
    }

}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.05);
}

.nav-link.active {
    color: var(--white);
    background: rgba(var(--accent-gold-rgb), 1);
}

.dropdown-indicator {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.nav-item:hover .dropdown-indicator {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    position: absolute;
    top: 110%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-soft);
    border-radius: 14px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
}

.nav-item:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--primary-dark);
}

.dropdown-menu-custom a:hover {
    background: #f1f5f9;
    color: var(--primary-blue);
    padding-left: 22px;
}

.btn-apply {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary-blue);
    white-space: nowrap;
}

.btn-apply:hover {
    background: transparent;
    color: var(--primary-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.hero-slider .slick-prev {
    left: 20px;
}

.hero-slider .slick-next {
    right: 20px;
}

.hero-slider .slick-dots {
    position: absolute;
    bottom: 35px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.hero-slider .slide {
    align-items: flex-start !important;
    padding-top: 80px;
    height: 80vh;
    max-height: 600px;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex !important;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    /*background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 55%), linear-gradient(135deg, rgba(30, 58, 138, 0.75), rgba(30, 58, 138, 0.65));*/
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 820px;
    padding: 0 16px;
}

.hero-content h1 {
    font-size: 3.1rem;
    margin-bottom: 16px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 28px;
    opacity: 0.98;
    font-weight: 400;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    font-size: 14px;
}

.hero-content .btn-apply {
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.25);
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.hero-content .btn-apply:hover {
    background: transparent;
    color: var(--white);
}

.hero-content .btn-outline-light {
    border-radius: 999px;
    border-width: 2px;
    font-weight: 600;
    background: transparent;
}
/* --- Slider Container --- */
.hero-slider {
    position: relative;
}

/* --- Navigation Arrows --- */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Only center vertically, no hover movement */
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    /* Initial State: Subtle Glass */
    background: var(--accent-gold);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100%;

    cursor: pointer;
    transition: all 0.3s ease;

    /* Reset Slick defaults */
    padding: 0;
    margin: 0;
}

.slick-prev { left: 10px; }
.slick-next { right: 10px; }


/* Icon Styling (Bootstrap Icons) */
.slick-prev i,
.slick-next i {
    font-size: 1.25rem;
    color: #fff;
    transition: color 0.3s ease;
    line-height: 1;
}

/* Hover State: White BG, Colored Icon */
.slick-prev:hover,
.slick-next:hover {
    background: #fff;
    border-color: #fff;
    color: var(--accent-gold, #D4AF37);;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slick-prev:hover i,
.slick-next:hover i {
    color: var(--accent-gold, #D4AF37);
}
.slick-next::before {
    content: '';
}
.slick-prev::before {
    content: '';
}

/* --- Pagination Dots --- */
.slick-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex !important; /* Override Slick inline styles */
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.slick-dots li button {
    padding: 0;
    margin: 0;
    width: 10px;
    height: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* The actual dot visual */
.slick-dots li button:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 1; /* Control opacity via bg-color instead */
    transition: all 0.3s ease;
    font-size: 0; /* Hide default Slick text char */
    line-height: 0;
}

/* Active Dot */
.slick-dots li.slick-active button:before {
    background-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* --- Mobile Responsiveness --- */
/* JS handles hiding arrows at 768px, but ensure dots stay visible */
@media (max-width: 768px) {
    .slick-dots {
        bottom: 20px;
    }
}



/* Sections */
.section-padding {
    padding: 60px 0;
}

.section-header,
.section-title-block {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.section-subtitle {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    margin-bottom: 8px;
    display: inline-block;
}
.ncte_rec {
    color: var(--accent-gold);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 12px;
    border-radius: 30px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-header p,
.section-title-block p {
    font-size: 14px;
    color: #64748b;
}

/* Section Background & Layout */
.why-choose-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

/* Decorative Blobs */
.why-choose-section::before,
.why-choose-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.why-choose-section::before {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
}

.why-choose-section::after {
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.06) 0%, transparent 70%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(153, 64, 106, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 16px;
    border: 1px solid rgba(153, 64, 106, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Grid System for Equal Heights */
.features-grid {
    display: grid;
    /* Mobile First: 2 columns as requested */
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 30px;
    }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
        gap: 30px;
    }
}

/* Card Styling */
.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

/* Icon Styling */
.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(153, 64, 106, 0.1), rgba(196, 101, 148, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-gold);
    font-size: 28px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-gold);
    color: var(--white);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(var(--accent-gold-rgb), 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-gold);
    margin-bottom: 16px;
}
.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 12px 0;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 480px) {
    .feature-card {
        padding: 24px 16px;
    }
    .feature-icon-wrapper {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    .feature-title {
        font-size: 14px;
    }
    .feature-card p {
        font-size: 12px;
    }
}




/* Programs */
.bg-light-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.program-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(30, 64, 175, 0.3);
}

.program-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.program-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-img-wrapper img {
    transform: scale(1.06);
}

.program-content {
    padding: 26px;
}

.program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.program-meta i {
    margin-right: 4px;
    color: var(--accent-gold);
}

.program-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.program-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
}

.program-link i {
    transition: transform 0.2s ease;
}

.program-card:hover .program-link i {
    transform: translateX(4px);
}
/* Gallery - Mobile First with 3 Columns */
.gallery-section {
    background: var(--bg-light);
}

.masonry-grid {
    column-count: 3;
    column-gap: 6px;
    padding: 0 3px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 6px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 64, 175, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 18px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Small Mobile - 2 columns */
@media (max-width: 480px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 5px;
    }

    .gallery-item {
        margin-bottom: 5px;
        border-radius: 6px;
    }
}

/* Tablet - 2 columns */
@media (min-width: 576px) and (max-width: 767px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 10px;
        padding: 0 5px;
    }

    .gallery-item {
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .gallery-overlay i {
        font-size: 20px;
    }
}

/* Desktop - 3 columns */
@media (min-width: 768px) {
    .masonry-grid {
        column-count: 3;
        column-gap: 18px;
        padding: 0;
    }

    .gallery-item {
        margin-bottom: 18px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    }

    .gallery-overlay i {
        font-size: 24px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .masonry-grid {
        column-gap: 20px;
    }
}

/*gallery ENDS*/


/* Notices */
.notices-section {
    background: #f9fafb;
}

.notice-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.notice-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-strong);
}

.notice-date-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    min-width: 85px;
}

.notice-day {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.notice-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.notice-content h5 {
    font-size: 17px;
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.notice-content p {
    font-size: 14px;
    margin-bottom: 0;
    color: #6b7280;
    line-height: 1.5;
}

.btn-hero-primary {
    background: var(--accent-gold);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: none;
}

.btn-hero-primary:hover {
    background: #b45309;
}

/*cta-section*/
.cta-section {
    background-color: #bfdeff;
    text-align: center;
    background-image:
        linear-gradient(to bottom, rgb(244, 255, 241) 0%, rgba(255, 232, 254, 0.85) 100%),

        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.05) 10px, /* Pattern color and opacity */
            rgba(0, 0, 0, 0.05) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.05) 10px, /* Pattern color and opacity */
            rgba(0, 0, 0, 0.05) 20px
        );

    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* FAQ */
#faq .section-title {
    margin-bottom: 10px;
}

#faq .accordion {
    max-width: 720px;
    margin: 0 auto;
}

.accordion-item {
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid var(--border-subtle) !important;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
    background: var(--white);
}

.accordion-button {
    font-weight: 600;
    font-size: 15px;
    padding: 16px 20px;
    background: var(--white);
    color: var(--primary-dark);
}

.accordion-button:not(.collapsed) {
    background-color: #eff6ff;
    color: var(--primary-blue);
    box-shadow: none;
}

.accordion-button:hover {
    background: #f8fafc;
}

.accordion-body {
    font-size: 14px;
    color: #4b5563;
    padding: 16px 20px 18px;
    background: var(--white);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FOOTER — Dark
═══════════════════════════════════════════ */
.main-footer {
    font-family: var(--font-primary);
    background: #0f172a;
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 90% 10%, rgba(153,64,106,.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 5% 80%,  rgba(30,58,138,.25) 0%, transparent 70%);
    pointer-events: none;
}

.footer-geo {
    position: absolute;
    top: -80px; right: -80px;
    width: 380px; height: 380px;
    border-radius: 50%;
    border: 1px solid rgba(232,184,109,.08);
    pointer-events: none;
}
.footer-geo::after {
    content: '';
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    border: 1px solid rgba(232,184,109,.06);
}

/* Animated gradient bar */
.footer-accent-bar {
    height: 3px;
    background: linear-gradient(90deg,
    var(--primary-blue) 0%,
    var(--accent-gold)  40%,
    var(--accent-light) 70%,
    var(--primary-blue) 100%
    );
    background-size: 200% 100%;
    animation: footerBarShift 4s linear infinite;
}
@keyframes footerBarShift {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ── Newsletter Band ── */
.footer-newsletter {
    position: relative;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.10);
    padding: 28px 0;
}
.footer-newsletter .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.newsletter-label {
    display: flex;
    align-items: center;
    gap: 14px;
}
.newsletter-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}
.newsletter-label h5 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.newsletter-label p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}
.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 380px;
    width: 100%;
}
.newsletter-form input {
    flex: 1;
    padding: 11px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, background .2s;
}
.newsletter-form input::placeholder { color: #94a3b8; }
.newsletter-form input:focus {
    border-color: var(--accent-light);
    background: rgba(255,255,255,.09);
}
.newsletter-form button {
    padding: 11px 20px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    color: #fff;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s, transform .2s ease;
}
.newsletter-form button:hover { opacity: .88; transform: translateY(-1px); }

/* ── Main Footer Body ── */
.footer-body { padding: 60px 0 48px; position: relative; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
    gap: 48px;
}

/* Brand */
.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.brand-emblem {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f172a, #2c263b);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(232,184,109,.3);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 26px;
    font-weight: 700;
    color: #e8b86d;
}
.brand-emblem img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
}
.brand-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 3px;
}
.brand-title span {
    font-size: 11px;
    font-weight: 500;
    color: #e8b86d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.brand-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: #94a3b8;
    margin-bottom: 24px;
}
.brand-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    font-size: 11px;
    font-weight: 500;
    color: #cbd5e1;
}
.badge-chip i { color: #e8b86d; font-size: 11px; }

/* Social */
.footer-social { display: flex; gap: 9px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #94a3b8;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all .25s ease;
}
.footer-social a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(153,64,106,.35);
}

/* Link columns */
.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 2px; width: 28px;
    border-radius: 2px;
    background: linear-gradient(90deg, #e8b86d, var(--accent-light));
}

.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 1px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove vertical gaps between columns */
}

.footer-links h6 {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 12px;
    padding-left: 0; /* Left align heading */
    line-height: 1.3;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.footer-links li {
    margin-bottom: 6px; /* Small gap between links only */
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0; /* Vertical padding only */
    font-size: 13.5px;
    color: #94a3b8;
    text-decoration: none;
    transition: all .2s ease;
    line-height: 1.4;
    width: 100%; /* Full width for left alignment */
}

.footer-links li a .link-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-gold);
    flex-shrink: 0;
    opacity: 0;
    transform: scale(.5);
    transition: all .2s ease;
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 12px; /* Slide effect on hover */
    background: none; /* No background */
}

.footer-links li a:hover .link-dot {
    opacity: 1;
    transform: scale(1);
}

/* Left align everything */
.footer-links {
    text-align: left !important;
}


/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    transition: background .2s;
}
.contact-item:hover { background: rgba(255,255,255,.04); }
.contact-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(153,64,106,.3), rgba(196,101,148,.15));
    border: 1px solid rgba(153,64,106,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    color: var(--accent-light);
    flex-shrink: 0;
    transition: all .2s;
}
.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    color: #fff;
    border-color: transparent;
}
.contact-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 2px;
}
.contact-info span,
.contact-info a {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
    text-decoration: none;
    transition: color .2s;
}
.contact-info a:hover { color: #fff; }

.map-card {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
}
.map-card-inner {
    height: 72px;
    background: linear-gradient(135deg, rgba(30,58,138,.4), rgba(153,64,106,.25));
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    font-size: 12px; font-weight: 500;
    color: #94a3b8;
}
.map-card-inner i { color: #e8b86d; font-size: 16px; }

/* Divider */
.footer-divider {
    position: relative;
    height: 1px;
    background: rgba(255,255,255,.07);
}
.footer-divider-icon {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #151e35;
    border: 1px solid rgba(255,255,255,.07);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    color: #494104;
}

/* Bottom bar */
.footer-bottom { padding: 20px 0; background: rgba(0, 0, 0, 0.29)
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-copyright { font-size: 12.5px; color: #475569; }
.footer-copyright strong { color: #94a3b8; font-weight: 500; }
.footer-bottom-sep { width: 1px; height: 14px; background: rgba(255,255,255,.10); }
.footer-bottom-nav { display: flex; gap: 18px; }
.footer-bottom-nav a { font-size: 12px; color: #475569; text-decoration: none; transition: color .2s; }
.footer-bottom-nav a:hover { color: #fff; }
.footer-bottom-right { display: flex; align-items: center; gap: 12px; }
.footer-made-with { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #475569; }
.footer-made-with i { color: var(--accent-gold); font-size: 11px; }
.govt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(30,58,138,.20);
    border: 1px solid rgba(30,58,138,.35);
    font-size: 11px; font-weight: 600;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .footer-newsletter .container { flex-direction: column; align-items: flex-start; }
    .newsletter-form { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-body { padding: 48px 0 36px; }
}
@media (max-width: 576px) {
    .newsletter-form { flex-direction: column; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-bottom-sep { display: none; }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

/* Mobile Offcanvas */
.offcanvas {
    width: 300px !important;
}

.offcanvas-header {
    background: var(--accent-gold);
    color: white;
    padding: 18px;
}

.offcanvas-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.offcanvas-body {
    padding: 0;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav li a,
.mobile-nav .dropdown-toggle-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 500;
}

.mobile-nav li a:hover,
.mobile-nav .dropdown-toggle-mobile:hover {
    background: #f8fafc;
    color: var(--primary-blue);
}

.mobile-nav .dropdown-icon {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.mobile-nav .dropdown-icon.rotate {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8fafc;
    display: none;
}

.mobile-submenu.show {
    display: block;
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-submenu li a {
    padding: 10px 24px 10px 34px;
    display: block;
    color: var(--text-body);
    font-size: 14px;
}

.mobile-submenu li a:hover {
    background: #e2e8f0;
    color: var(--primary-blue);
}

.mobile-apply-btn {
    margin: 16px 16px 20px;
    text-align: center;
}

.mobile-apply-btn .btn-apply {
    display: block;
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .stats-wrapper {
        margin-top: 0;
    }

    .stats-section {
        border-radius: 0;
    }

    .stat-box {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .stat-box:last-child {
        border-bottom: none;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-slider .slide {
        min-height: 500px;
        max-height: 500px;
        height: 70vh;
    }
    .hero-badge {
        font-size: 10px;
    }

    .hero-badge i {
        font-size: 12px;
    }

    .stats-section {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .masonry-grid {
        column-count: 2;
    }

    .notice-item {
        flex-direction: column;
        gap: 14px;
    }

    .notice-date-box {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
    }

    .notice-day,
    .notice-month {
        display: inline-block;
    }

    .notice-day {
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .slick-prev,
    .slick-next {
        width: 40px;
        height: 40px;
    }

    .slick-prev:before,
    .slick-next:before {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-slider .slide {
        min-height: 450px;
        max-height: 450px;
        height: 65vh;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }
}



/* ================= CM PROFILE CARD (1st screenshot style) ================= */
.cm-card-profile {
    position: relative;
}
.cm-cover-wrapper {
    position: relative;
    overflow: hidden;
    height: 110px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.35);
}
.cm-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cm-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.15), rgba(15,23,42,0.75));
    backdrop-filter: blur(5px);
    margin: 0 5px;
}

/* Floating profile card overlapping the cover */
.cm-profile-inner {
    position: relative;
    margin: -50px 10px 0;
    padding: 60px 8px 8px;
    background: #ecfdf5;
    border-radius: 6px;
    /*box-shadow: 0 18px 45px rgba(8,47,73,0.14);*/
    text-align: center;
}

/* Circular avatar similar to sample 1 */
.cm-avatar-wrapper {
    position: absolute;
    left: 50%;
    top: -46px;
    transform: translateX(-50%);
}
.cm-avatar-ring {
    width: 96px;
    height: 96px;
    border-radius: 10%;
    padding: 4px;
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
}
.cm-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 10%;
    object-fit: cover;
    border: 3px solid #ecfdf5;
}

/* Role chip like "Edit profile" pill */
.cm-chip-role {
    border: none;
    outline: none;
    margin-bottom: 8px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(22,163,74,0.08);
    color: #166534;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cm-chip-role i {
    font-size: 12px;
    color: #facc15;
}

.cm-profile-name {
    font-size: 19px;
    font-weight: 700;
    color: #022c22;
    margin-bottom: 2px;
}
.cm-profile-title {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* Location + office line similar to meta row */
.cm-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.cm-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #374151;
}
.cm-meta-item i {
    font-size: 13px;
    color: #0ea5e9;
}

/* Quote highlighted like sample 1 subtitle */
.cm-quote {
    font-size: 11px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    padding: 8px 10px;
    background: rgba(59,130,246,0.04);
    border-radius: 12px;
    border-left: 3px solid #22c55e;
    font-style: italic;
}

/* ================= PRINCIPAL PROFILE CARD ================= */
.principal-card-profile {
    position: relative;
}

/* Cover Section */
.principal-cover-wrapper {
    position: relative;
    overflow: hidden;
    height: 110px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
    background: #99406a;
}

.principal-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(153, 64, 106, 0.2),
        rgba(153, 64, 106, 0.85)
    );
    backdrop-filter: blur(5px);
    margin: 0 5px;
}

/* Floating Profile Card */
.principal-profile-inner {
    position: relative;
    margin: -50px 10px 0;
    padding: 60px 8px 12px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-gold));
    border-radius: 8px;
    /*box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);*/
    text-align: center;
    color: #ffffff;
}

/* Avatar */
.principal-avatar-wrapper {
    position: absolute;
    left: 50%;
    top: -46px;
    transform: translateX(-50%);
}

.principal-avatar-ring {
    width: 96px;
    height: 114px;
    border-radius: 4%;
    padding: 4px;
    background: linear-gradient(135deg, #c084fc, #f472b6);
}

.principal-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 12% !important;
    object-fit: cover;
    border: 3px solid #99406a;
}

/* Role Chip */
.principal-chip-role {
    border: none;
    outline: none;
    margin-bottom: 8px;
    margin-top: 20px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.principal-chip-role i {
    font-size: 12px;
    color: #ffd700;
}

/* Name & Title */
.principal-profile-name {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.principal-profile-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
}

/* Meta Information */
.principal-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.principal-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

.principal-meta-item i {
    font-size: 13px;
    color: #fbbf24;
}

/* Quote Section */
.principal-quote {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border-left: 3px solid #ffffff;
    font-style: italic;
}

/* ================= PRINCIPAL BANNER CARD (2nd screenshot style) ================= */
.principal-banner-card {
    position: relative;
}
.principal-banner-inner {
    background: #99406a;
    border-radius: 6px;
    padding: 10px 10px 10px;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 18px 42px rgba(30,64,175,0.35);
    overflow: hidden;
    margin: 0 10px;
}

/* Circular avatar on left like screenshot 2 */
.principal-avatar-block {
    flex: 0 0 auto;
}
.principal-avatar-circle {
    width: 70px;
    height: 70px;
    border-radius: 10%;
    background: #4f46e5;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.principal-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 10%;
    object-fit: cover;
}

/* Text block similar to banner "I'm Jane Doe, I'm a UX designer" */
.principal-text-block {
    flex: 1 1 auto;
}
.principal-intro-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 4px;
    opacity: 0.85;
}
.principal-main-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.35;
    color: #f9fafb;
}
.principal-main-text span {
    font-weight: 700;
}
.principal-sub-text {
    font-size: 14px;
    color: #e5e7eb;
    opacity: 0.95;
    margin-bottom: 6px;
}

/* Small info row like contact/location chips in screenshot 2 */
.principal-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}
.principal-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    background: rgba(15,23,42,0.18);
    padding: 4px 8px;
    border-radius: 999px;
}
.principal-info-item i {
    font-size: 12px;
}

/* CTA link similar to "Read more" under the banner */
.principal-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fde68a;
    text-decoration: none;
}
.principal-cta i {
    font-size: 14px;
    transition: transform 0.2s ease;
}
.principal-cta:hover i {
    transform: translateX(3px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .cm-card-profile,
    .principal-banner-card {
        max-width: 440px;
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider .slide {
        min-height: 360px;
    }
    .cm-cover-wrapper {
        height: 130px;
    }
    .cm-avatar-ring {
        width: 86px;
        height: 86px;
    }
    .principal-banner-inner {
        padding: 16px;
    }
    .principal-main-text {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding-inline: 1.25rem;
    }
    .cm-profile-inner {
        margin-inline: 10px;
        padding: 64px 14px 15px;
    }
    .principal-banner-inner {
        flex-direction: row;
    }
}

/* Compact Hero Section - Reused from About Page */
.compact-hero {
    position: relative;
    min-height: 200px;
    max-height: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.compact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    rgba(30, 58, 138, 0.85) 0%,
    rgba(153, 64, 106, 0.75) 100%);
}

.compact-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 16px 0;
}

.compact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.compact-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
    line-height: 1.3;
}

.compact-breadcrumb {
    font-size: 13px;
}

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



/* Compact CTA Section */
.cta-section-compact {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--primary-dark);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.cta-section-compact h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.cta-section-compact p {
    color: var(--text-body);
    font-size: 14px;
}

/* Form Styling */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-label {
    color: var(--primary-dark);
    margin-bottom: 6px;
}

/* Map iframe container */
iframe {
    border-radius: var(--radius-lg);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .compact-hero {
        min-height: 100px;
        max-height: 100px;
        height: 100px;
    }

    .compact-hero-title {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .compact-hero-badge {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 4px;
    }

    .compact-breadcrumb {
        font-size: 11px;
    }

    .cta-section-compact {
        padding: 30px 0;
    }

    .cta-section-compact h2 {
        font-size: 1.25rem;
    }

    .feature-card {
        padding: 18px;
    }
}

@media (max-width: 576px) {
    .compact-hero {
        min-height: 90px;
        max-height: 90px;
        height: 90px;
    }

    .compact-hero-content {
        text-align: center;
    }

    .btn-apply.w-md-auto {
        width: 100%;
    }
}



/* ── hs-section Section  ────────────────────────────────────────────── */
.hs-section {
    padding: 80px 0;
    background: var(--bg-light);
    font-family: var(--font-primary);
}

.hs-header {
    text-align: center;
    margin-bottom: 44px;
}
.hs-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-primary);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 10px;
}
.hs-label::before {
    content: '';
    width: 22px; height: 2.5px;
    border-radius: 2px;
    background: var(--accent-gold);
}
.hs-heading {
    font-family: var(--font-primary);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}
.hs-heading span { color: var(--primary-blue); }
.hs-sub {
    font-size: 15px;
    color: var(--text-body);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

.hs-slide { padding: 0 10px; }

.hs-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s;
}
.hs-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
    border-color: transparent;
}

/* photo */
.hs-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.hs-photo img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .45s ease;
}
.hs-card:hover .hs-photo img { transform: scale(1.05); }

.hs-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-light), var(--border-subtle));
    color: #94a3b8;
    font-size: 3rem;
}
/* subtle bottom gradient on photo */
.hs-photo-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 48%;
    background: linear-gradient(to top, rgba(15,23,42,.45), transparent);
    pointer-events: none;
}
.hs-badge {
    position: absolute;
    bottom: 10px; left: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    background: rgba(15,23,42,.80);
    backdrop-filter: blur(6px);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    color: var(--secondary-color);
}

.hs-info {
    padding: 18px 16px 20px;
    text-align: center;
}
@media (max-width: 480px) {
    .hs-info { padding: 8px 8px 8px; }
    .hs-name { font-size: 12px;}
    .hs-email { font-size: 9.5px; }
    .hs-role { font-size: 9px; }
}
.hs-name {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}
.hs-role {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}
.hs-email {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 11.5px;
    color: var(--text-body);
    text-decoration: none;
    word-break: break-all;
    transition: color .2s;
    justify-content: center;
}
.hs-email i { color: var(--primary-blue); flex-shrink: 0; }
.hs-email:hover { color: var(--primary-blue); }

.hs-slider { position: relative; padding: 0 8px; }

.hs-slider .slick-prev,
.hs-slider .slick-next {
    width: 42px; height: 42px;
    background: var(--accent-gold);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    z-index: 2;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.hs-slider .slick-prev { left: -22px; }
.hs-slider .slick-next { right: -22px; }
.hs-slider .slick-prev::before,
.hs-slider .slick-next::before {
    color: var(--text-body);
    font-size: 16px;
    opacity: 1;
}
.hs-slider .slick-prev:hover,
.hs-slider .slick-next:hover {
    background: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 6px 18px rgba(30,58,138,.28);
}
.hs-slider .slick-prev:hover::before,
.hs-slider .slick-next:hover::before { color: var(--white); }

.hs-slider .slick-dots { bottom: -34px; }
.hs-slider .slick-dots li button::before {
    font-size: 8px;
    color: var(--accent-gold);
    opacity: .45;
}
.hs-slider .slick-dots li.slick-active button::before {
    color: var(--accent-gold);
    opacity: 1;
}

.hs-footer {
    text-align: center;
    margin-top: 52px;   /* extra space for dots */
}
.hs-btn-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}
.hs-btn-all:hover {
    opacity: .88;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(var(--accent-gold-rgb), .38);
    color: var(--white);
}

@media (max-width: 768px) {
    .hs-slider .slick-prev { left: -8px; }
    .hs-slider .slick-next { right: -8px; }
}
/* ── END hs-section Section  ────────────────────────────────────────────── */
