
/* -----------------------------------------------------------------------
   TYPOGRAPHY — Assistant
----------------------------------------------------------------------- */

html,
body,
body * {
    font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                 Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.fa,
.fas,
.far,
.fal,
.fab {
    font-family: 'FontAwesome' !important;
}

body {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p { line-height: 1.75; margin-bottom: 1.25rem; }

h1, h2, h3, h4, h5, h6,
.widget_title,
.section-heading h2,
.sec-title h2,
.counter-text,
.footer-title,
.slider-title,
.banner-title {
    font-family: 'Assistant', sans-serif !important;
    color: inherit;
    letter-spacing: -0.01em;
}

h1 { font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
h2 { font-weight: 700; line-height: 1.2;  letter-spacing: -0.02em;  }
h3 { font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-weight: 600; line-height: 1.3;  }
h5 { font-weight: 600; line-height: 1.35; }
h6 { font-weight: 600; line-height: 1.4;  }

button, input, select, textarea,
.btn, .nav-link, .dropdown-item {
    font-family: inherit;
}

.header_wrap .navbar-nav .nav-link {
    font-weight: 500;
    letter-spacing: 0.005em;
}


@charset "utf-8";
/* ==========================================================================
   CUSTOM.CSS — modern overrides for the Edulearn theme.
   Load AFTER style.css.
   ========================================================================== */

:root {
    --brand-navy: #072044;
    --brand-navy-soft: #0d2c5c;
    --brand-red: #ff3115;
    --brand-red-dark: #e0260c;
    --text-muted: #6b7280;
    --bg-soft: #f6f8fc;
    --border-soft: #e8ecf3;
    --shadow-sm: 0 2px 8px rgba(7, 32, 68, 0.06);
    --shadow-md: 0 10px 30px rgba(7, 32, 68, 0.08);
    --shadow-lg: 0 20px 50px rgba(7, 32, 68, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
}

/* -----------------------------------------------------------------------
   Generic section / heading helpers
----------------------------------------------------------------------- */
.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--bg-soft);
}
.section-heading .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-red);
    background: rgba(255, 49, 21, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.section-heading h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
    margin-bottom: 12px;
}
.section-heading p {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 620px;
    margin: 0 auto;
}
.text-start .section-heading p { margin: 0; }

/* Buttons */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: #fff !important;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
    border: 2px solid var(--brand-red);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1;
}
.btn-brand:hover {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 49, 21, 0.35);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1;
    backdrop-filter: blur(6px);
}
.btn-ghost:hover {
    background: #fff;
    color: var(--brand-navy) !important;
    border-color: #fff;
    transform: translateY(-2px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}
.link-arrow:hover { color: var(--brand-navy); gap: 10px; }

/* -----------------------------------------------------------------------
   01. Fixed image sizing
----------------------------------------------------------------------- */
.logo-pg { height: 90px; object-fit: cover; }
.about-pg { width: 100%; height: 420px; object-fit: cover; }
.news-pg { width: 100%; height: 220px; object-fit: cover; }
.teams-pg { width: 100%; height: 300px; object-fit: cover; }
.team-pgg { width: 261px; height: 261px; object-fit: cover; }
.testi-pg { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.notice-pg { width: 350px; height: 240px; object-fit: cover; }
.client-pg { max-width: 120px; max-height: 80px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: var(--transition); }
.client-item:hover .client-pg { filter: grayscale(0); opacity: 1; transform: scale(1.05); }
.gallery-pg { width: 100%; height: 240px; object-fit: cover; }
.content-pg { height: 200px; }

/* -----------------------------------------------------------------------
   02. Header / logo
----------------------------------------------------------------------- */
.header_wrap {
    position: relative;
    z-index: 100;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.header_wrap .navbar { padding: 10px 0; }
.header_wrap .navbar-brand { display: flex; align-items: center; padding: 8px 0; }
.header_wrap .navbar-brand .logo_light,
.header_wrap .navbar-brand .logo_default { display: none !important; }
.header_wrap .navbar-brand .logo_dark {
    display: inline-block !important;
    width: auto !important;
    max-height: 60px !important;
    height: auto;
}
.header_wrap .navbar-nav { align-items: center; }
.header_wrap .navbar-nav .nav-link {
    padding: 10px 15px;
    color: var(--brand-navy);
    font-weight: 500;
    transition: var(--transition);
}
.header_wrap .navbar-nav .nav-link:hover,
.header_wrap .navbar-nav .nav-link.active { color: var(--brand-red); }

/* -----------------------------------------------------------------------
   03. Top header strip
----------------------------------------------------------------------- */
.top-header.bg_blue_dark2 {
    background-color: var(--brand-navy);
    padding: 8px 0;
}
.top-header .contact_detail { margin: 0; }
.top-header .contact_detail li {
    display: inline-block; margin-right: 20px;
    font-size: 14px; color: #ffffff;
}
.top-header .contact_detail li a { color: #ffffff; }
.top-header .contact_detail li i { margin-right: 6px; color: var(--brand-red); }
.top-header .social_icons.social_white { margin: 0; display: inline-flex; align-items: center; }
.top-header .social_icons.social_white li { display: inline-block; margin-left: 10px; }
.top-header .social_icons.social_white li a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); color: #ffffff;
    transition: var(--transition);
}
.top-header .social_icons.social_white li a:hover { background: var(--brand-red); }
.top-header .header_list.border_list { margin: 0 0 0 15px; }
.top-header .header_list.border_list .btn { padding: 6px 16px; font-size: 13px; }

/* -----------------------------------------------------------------------
   04. News ticker
----------------------------------------------------------------------- */
.news_ticker { padding: 8px 0; color: #ffffff; }
.news_ticker a { color: #ffffff; }

/* -----------------------------------------------------------------------
   05. HERO
----------------------------------------------------------------------- */
.hero_section { padding: 40px 0 0; }

.banner_content_wrap,
.banner_content_wrap .carousel-inner,
.banner_content_wrap .carousel-item { height: 480px; }

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 32, 68, 0.85) 0%, rgba(7, 32, 68, 0.55) 55%, rgba(7, 32, 68, 0.25) 100%);
}
.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffd0c6;
    background: rgba(255, 49, 21, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.hero-title {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.hero-caption {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-indicators {
    bottom: 18px;
}
.hero-indicators [data-bs-target] {
    width: 28px; height: 4px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.5); border: 0;
    opacity: 1; transition: var(--transition);
}
.hero-indicators .active { background: var(--brand-red); width: 40px; }

.hero-nav {
    width: 60px; opacity: 0;
    transition: var(--transition);
}
.banner_content_wrap:hover .hero-nav { opacity: 1; }
.hero-nav-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-navy);
    border-radius: 50%;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.hero-nav:hover .hero-nav-btn { background: var(--brand-red); color: #fff; }

/* Notice panel */
.notice-panel {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.notice-panel-header {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 16px; margin-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
}
.notice-panel-header h5 {
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 1.15rem;
}
.notice-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(255, 49, 21, 0.15);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 49, 21, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(255, 49, 21, 0.05); }
}

.notice-feed {
    overflow-y: auto;
    max-height: 340px;
    padding-right: 6px;
}
.notice-feed::-webkit-scrollbar { width: 6px; }
.notice-feed::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 6px; }

.notice-item {
    display: flex; gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border-soft);
}
.notice-item:last-child { border-bottom: 0; }
.notice-date {
    flex-shrink: 0;
    width: 54px; height: 54px;
    background: var(--brand-navy);
    border-radius: var(--radius-sm);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff;
}
.notice-date .d { font-size: 20px; font-weight: 800; line-height: 1; }
.notice-date .m { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.notice-body { display: flex; flex-direction: column; gap: 4px; }
.notice-title {
    color: var(--brand-navy);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.35;
    font-size: 0.95rem;
    transition: var(--transition);
}
.notice-title:hover { color: var(--brand-red); }
.notice-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex; align-items: center; gap: 6px;
}

/* -----------------------------------------------------------------------
   06. About section
----------------------------------------------------------------------- */
.about-image-wrap {
    position: relative;
    padding-bottom: 30px;
}

/* -----------------------------------------------------------------------
   06. UNIFIED CONTENT CARD
   Used by: News & Events, Courses, Gallery, Teachers, Testimonials, Clients.
   Each card = image on top, description/content below.
   3 cards per row on desktop (col-lg-4).
----------------------------------------------------------------------- */
.content-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.content-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Image wrapper — fixed aspect ratio so all cards align */
.content-card-img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f7;
}
.content-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.content-card:hover .content-card-img img {
    transform: scale(1.06);
}

/* Badge (e.g. event date) */
.content-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--brand-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(255, 49, 21, 0.35);
}

/* Tag (e.g. "Course", "Gallery", designation) */
.content-card-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-navy);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
}

/* Hover social icons on teacher cards */
.content-card-social {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}
.content-card:hover .content-card-social {
    opacity: 1;
    transform: translateX(0);
}
.content-card-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.content-card-social a:hover {
    background: var(--brand-red);
    color: #fff;
}

/* Body */
.content-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.content-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.4;
    margin: 0 0 10px;
}
.content-card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.content-card-title a:hover { color: var(--brand-red); }

.content-card-text {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 16px;
    flex-grow: 1;
}

.content-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    margin-top: auto;
}
.content-card-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.content-card-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-soft);
}

/* -----------------------------------------------------------------------
   Testimonial variant — no image header, just body content
----------------------------------------------------------------------- */
.testimonial-card .content-card-body {
    padding: 28px 26px;
    position: relative;
}
.testimonial-quote {
    font-size: 56px;
    line-height: 1;
    color: var(--brand-red);
    font-family: Georgia, serif;
    font-weight: 700;
    margin-bottom: 4px;
    opacity: 0.9;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-red);
}
.testimonial-author h6 {
    margin: 0 0 2px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-navy);
}
.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* -----------------------------------------------------------------------
   Client variant — centered logo panel
----------------------------------------------------------------------- */
.client-card {
    text-align: center;
}
.client-card-img {
    aspect-ratio: 16 / 9;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.client-card-img img {
    max-width: 130px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition);
    transform: none !important;
}
.client-card:hover .client-card-img img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05) !important;
}
.client-card .content-card-body {
    padding: 18px 22px 22px;
}
.client-card .content-card-title {
    margin-bottom: 6px;
}
.client-card .content-card-text {
    margin-bottom: 0;
    font-size: 0.88rem;
}

/* -----------------------------------------------------------------------
   Responsive — ensure 3 per row on large, 2 on tablet, 1 on mobile
----------------------------------------------------------------------- */
@media (max-width: 991px) {
    .content-card-img { aspect-ratio: 16 / 10; }
}
@media (max-width: 575px) {
    .content-card-body { padding: 18px; }
    .content-card-title { font-size: 1rem; }
    .content-card-text { font-size: 0.88rem; }
    .section { padding: 60px 0; }
}

/* -----------------------------------------------------------------------
   ABOUT US — text column
----------------------------------------------------------------------- */
.about-content {
    padding-left: 1rem;
}

.about-content .section-heading h2 {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    line-height: 1.25;
    margin-bottom: 0;
}

/* Body text */
.about-text {
    position: relative;
    font-size: 1.02rem;
    line-height: 1.85;
    color: #4b5563;
    margin: 0 0 24px;
    letter-spacing: 0.005em;
}

.about-text p {
    margin-bottom: 1rem;
}
.about-text p:last-child {
    margin-bottom: 0;
}

/* Decorative accent line before body text */
.about-text::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--brand-red);
    border-radius: 2px;
    margin-bottom: 20px;
}

/* Highlight list */
.about-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}
.about-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brand-navy);
}
.about-highlights li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 49, 21, 0.1);
    color: var(--brand-red);
    font-size: 12px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------------------
   SITE COUNTERS
----------------------------------------------------------------------- */
.counters-section {
    position: relative;
    padding: 55px 0;
    background:
        linear-gradient(135deg, rgba(7, 32, 68, 0.94) 0%, rgba(7, 32, 68, 0.88) 55%, rgba(13, 44, 92, 0.92) 100%),
        url('{{ asset("front/assets/images/bred.jpg") }}') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    color: #fff;
}

/* radial glow accents */
.counters-section::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 49, 21, 0.28), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.counters-section::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -140px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Light variant of section heading — also tighten internal spacing */
.section-heading-light h2 {
    color: #fff !important;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    margin-bottom: 8px;
}
.section-heading-light p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.95rem;
}
.eyebrow-light {
    color: #ffd0c6 !important;
    background: rgba(255, 49, 21, 0.22) !important;
    padding: 5px 12px;
    font-size: 12px;
    margin-bottom: 10px;
}

/* Counter card — much tighter */
.counter-card {
    position: relative;
    text-align: center;
    padding: 24px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    height: 100%;
}
.counter-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 49, 21, 0.4);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

/* Icon bubble — smaller */
.counter-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-red), #ff6a4d);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(255, 49, 21, 0.35);
    transition: var(--transition);
}
.counter-card:hover .counter-icon {
    transform: rotate(-6deg) scale(1.06);
}

/* Number — smaller */
.counter-text {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin: 0 0 5px;
    letter-spacing: -0.02em;
}
.counter-text .counter {
    display: inline-block;
    min-width: 1ch;
}

/* Label */
.counter-card p {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

/* Responsive */
@media (max-width: 991px) {
    .counters-section {
        padding: 45px 0;
        background-attachment: scroll;
    }
}
@media (max-width: 575px) {
    .counters-section { padding: 38px 0; }
    .counter-card { padding: 20px 14px; }
    .counter-icon {
        width: 44px;
        height: 44px;
        font-size: 17px;
        margin-bottom: 10px;
    }
    .counter-text { font-size: 1.45rem; }
    .counter-card p { font-size: 0.7rem; }
}

/* -----------------------------------------------------------------------
   CLIENT LOGOS — Simple centered grid
----------------------------------------------------------------------- */
.clients-section {
    padding-bottom: 100px;
}

.client-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.client-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 100px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-4px);
    border-color: var(--brand-red);
    box-shadow: var(--shadow-md);
}

.client-logo:hover img {
    transform: scale(1.06);
}

/* Responsive */
@media (max-width: 991px) {
    .client-grid { gap: 18px; max-width: 720px; }
    .client-logo { width: 140px; height: 90px; padding: 14px; }
}
@media (max-width: 575px) {
    .client-grid { gap: 12px; }
    .client-logo { width: 120px; height: 80px; padding: 12px; }
    .clients-section { padding-bottom: 70px; }
}

/* -----------------------------------------------------------------------
   HEADER DROPDOWNS 
----------------------------------------------------------------------- */

/* ---------- Top-level dropdown container ---------- */
.header_wrap .navbar-nav > .dropdown {
    position: relative;
}

/* Desktop: top-level dropdown panel */
@media (min-width: 992px) {

    .header_wrap .navbar-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        padding: 10px 0;
        margin: 0;
        border: 1px solid var(--border-soft);
        border-radius: 14px;
        background: #ffffff;
        box-shadow:
            0 4px 8px rgba(7, 32, 68, 0.04),
            0 24px 48px rgba(7, 32, 68, 0.14);
        opacity: 0;
        visibility: hidden;
        transform: translateY(14px) scale(0.98);
        transition:
            opacity 0.22s ease,
            transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
            visibility 0.22s;
        display: block;           /* we control visibility ourselves */
        overflow: visible;
        z-index: 1050;
    }

    /* Reveal on hover or when Bootstrap adds .show */
    .header_wrap .navbar-nav .dropdown:hover > .dropdown-menu,
    .header_wrap .navbar-nav .dropdown.show > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    /* Little arrow pointing up at the toggle */
    .header_wrap .navbar-nav .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -7px;
        left: 24px;
        width: 14px;
        height: 14px;
        background: #ffffff;
        border-left: 1px solid var(--border-soft);
        border-top: 1px solid var(--border-soft);
        transform: rotate(45deg);
        border-top-left-radius: 3px;
    }

    /* Submenus open to the right */
    .header_wrap .navbar-nav .dropdown-submenu {
        position: relative;
    }
    .header_wrap .navbar-nav .dropdown-submenu > .dropdown-menu {
        top: -10px;
        left: calc(100% + 8px);
        transform: translateX(10px);
        min-width: 220px;
    }
    .header_wrap .navbar-nav .dropdown-submenu > .dropdown-menu::before {
        /* arrow points left, sits on the left edge */
        top: 18px;
        left: -7px;
        border: 0;
        border-left: 1px solid var(--border-soft);
        border-bottom: 1px solid var(--border-soft);
        border-top: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 3px;
    }
    .header_wrap .navbar-nav .dropdown-submenu:hover > .dropdown-menu,
    .header_wrap .navbar-nav .dropdown-submenu.show > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* Kill Bootstrap's default caret glyph */
    .header_wrap .navbar-nav .dropdown-toggle::after { display: none; }
}

/* ---------- Inner list reset ---------- */
.header_wrap .navbar-nav .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header_wrap .navbar-nav .dropdown-menu li {
    position: relative;
}

/* ---------- Individual dropdown items ---------- */
.header_wrap .navbar-nav .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 20px 11px 22px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--brand-navy);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.25s ease;
    border: 0;
    background: transparent;
    white-space: nowrap;
}

/* Sliding left accent bar */
.header_wrap .navbar-nav .dropdown-menu .dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--brand-red);
    border-radius: 0 3px 3px 0;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center;
}

.header_wrap .navbar-nav .dropdown-menu .dropdown-item:hover,
.header_wrap .navbar-nav .dropdown-menu .dropdown-item:focus,
.header_wrap .navbar-nav .dropdown-menu .dropdown-item.active {
    color: var(--brand-red);
    background: rgba(255, 49, 21, 0.055);
    padding-left: 28px;
    outline: none;
}

.header_wrap .navbar-nav .dropdown-menu .dropdown-item:hover::before,
.header_wrap .navbar-nav .dropdown-menu .dropdown-item:focus::before {
    transform: translateY(-50%) scaleY(1);
}

/* ---------- Animated caret on the top-level toggle ---------- */
.header_wrap .navbar-nav > .dropdown > .nav-link.dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    margin-bottom: 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    vertical-align: middle;
}

.header_wrap .navbar-nav > .dropdown:hover > .nav-link.dropdown-toggle::after,
.header_wrap .navbar-nav > .dropdown.show > .nav-link.dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-bottom: -3px;
}

/* Right-pointing caret on submenu togglers */
.header_wrap .navbar-nav .dropdown-submenu > .dropdown-item::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.25s ease;
    opacity: 0.6;
}

.header_wrap .navbar-nav .dropdown-submenu:hover > .dropdown-item::after {
    transform: rotate(-45deg) translateX(3px);
    opacity: 1;
}

/* ---------- Divider between grouped items ---------- */
.header_wrap .navbar-nav .dropdown-menu li + li {
    border-top: 1px solid rgba(7, 32, 68, 0.045);
}

/* ---------- Mobile: full-width stacked panels ---------- */
@media (max-width: 991px) {
    .header_wrap .navbar-nav .dropdown-menu {
        position: static;
        border: 0;
        box-shadow: none;
        padding: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border-radius: 0;
    }

    .header_wrap .navbar-nav .dropdown.show > .dropdown-menu,
    .header_wrap .navbar-nav .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }

    .header_wrap .navbar-nav .dropdown-menu::before { display: none; }

    .header_wrap .navbar-nav .dropdown-menu .dropdown-item {
        padding: 10px 16px 10px 26px;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    .header_wrap .navbar-nav .dropdown-menu .dropdown-item::before {
        left: 6px;
    }

    .header_wrap .navbar-nav .dropdown-menu .dropdown-item:hover,
    .header_wrap .navbar-nav .dropdown-menu .dropdown-item.active {
        padding-left: 26px;
    }

    .header_wrap .navbar-nav .dropdown-submenu > .dropdown-menu {
        margin-left: 14px;
        border-left: 2px solid var(--border-soft);
        padding-left: 6px;
    }

    .header_wrap .navbar-nav .dropdown-submenu > .dropdown-item::after {
        transform: rotate(45deg);
    }

    .header_wrap .navbar-nav .dropdown-submenu.show > .dropdown-item::after {
        transform: rotate(-135deg);
    }

}

/* -----------------------------------------------------------------------
   FOOTER
   Matches brand navy (#072044) used across hero, counters, and header.
----------------------------------------------------------------------- */
.footer_dark {
    background: var(--brand-navy);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    position: relative;
    overflow: hidden;
}

/* subtle radial glow accents (matches counters section) */
.footer_dark::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 49, 21, 0.14), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.footer_dark::after {
    content: "";
    position: absolute;
    bottom: -180px;
    left: -140px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer_dark .top_footer {
    padding: 70px 0 50px;
    position: relative;
    z-index: 1;
}

/* ---------- Column headings ---------- */
.footer_dark .footer-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer_dark .footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--brand-red);
    border-radius: 2px;
}

/* ---------- Contact list ---------- */
.footer_dark .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 4px;
}
.footer_dark .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.55;
}
.footer_dark .footer-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 14px;
    transition: var(--transition);
}
.footer_dark .footer-contact li:hover .footer-icon {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
    transform: translateY(-2px);
}
.footer_dark .footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-word;
}
.footer_dark .footer-contact a:hover { color: #fff; }

/* ---------- Social icons ---------- */
.footer_dark .footer-social {
    display: flex;
    gap: 10px;
    margin: 0;
}
.footer_dark .footer-social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}
.footer_dark .footer-social li a:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 49, 21, 0.35);
}

/* ---------- Link lists ---------- */
.footer_dark .footer-links {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer_dark .footer-links li a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}
.footer_dark .footer-links li a::before {
    content: "›";
    display: inline-block;
    width: 0;
    opacity: 0;
    color: var(--brand-red);
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-right: 0;
}
.footer_dark .footer-links li a:hover {
    color: #fff;
    padding-left: 8px;
}
.footer_dark .footer-links li a:hover::before {
    width: 10px;
    opacity: 1;
    margin-right: 6px;
}

/* ---------- App / QR block ---------- */
.footer_dark .footer-app-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0 0 16px;
    line-height: 1.5;
}
.footer_dark .footer-app-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.footer_dark .footer-app-col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer_dark .footer-app-col:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 49, 21, 0.3);
}
.footer_dark .footer-store {
    height: 34px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}
.footer_dark .footer-app-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}
.footer_dark .footer-qr {
    width: 78px;
    height: 78px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    object-fit: contain;
    transition: var(--transition);
}
.footer_dark .footer-qr:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ---------- Bottom footer ---------- */
.footer_dark .bottom_footer {
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    font-size: 0.88rem;
    position: relative;
    z-index: 1;
}
.footer_dark .copyright {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}
.footer_dark .footer-bottom-link {
    color: var(--brand-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.footer_dark .footer-bottom-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Visitor stats */
.footer_dark .footer-visitors {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}
.footer_dark .footer-visitors li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer_dark .footer-visitors .sep {
    opacity: 0.3;
}
.footer_dark .footer-visitors i {
    color: var(--brand-red);
}
.footer_dark .footer-visitors span {
    color: #fff;
    font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .footer_dark .top_footer { padding: 55px 0 35px; }
    .footer_dark .footer-title { margin-top: 10px; }
}
@media (max-width: 575px) {
    .footer_dark .top_footer { padding: 45px 0 25px; }
    .footer_dark .footer-app-row { grid-template-columns: 1fr; }
    .footer_dark .footer-visitors { justify-content: center; }
    .footer_dark .footer-visitors .sep { display: none; }
    .footer_dark .footer-visitors li { display: block; text-align: center; }
}

/* -----------------------------------------------------------------------
   FOOTER
   Matches brand navy (#072044) used across hero, counters, and header.
----------------------------------------------------------------------- */
.footer_dark {
    background: var(--brand-navy);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    position: relative;
    overflow: hidden;
}

/* subtle radial glow accents (matches counters section) */
.footer_dark::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 49, 21, 0.14), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.footer_dark::after {
    content: "";
    position: absolute;
    bottom: -180px;
    left: -140px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer_dark .top_footer {
    padding: 70px 0 50px;
    position: relative;
    z-index: 1;
}

/* ---------- Column headings ---------- */
.footer_dark .footer-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer_dark .footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--brand-red);
    border-radius: 2px;
}

/* ---------- Contact list ---------- */
.footer_dark .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 4px;
}
.footer_dark .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.55;
}
.footer_dark .footer-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 14px;
    transition: var(--transition);
}
.footer_dark .footer-contact li:hover .footer-icon {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
    transform: translateY(-2px);
}
.footer_dark .footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-word;
}
.footer_dark .footer-contact a:hover { color: #fff; }

/* ---------- Social icons ---------- */
.footer_dark .footer-social {
    display: flex;
    gap: 10px;
    margin: 0;
}
.footer_dark .footer-social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}
.footer_dark .footer-social li a:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 49, 21, 0.35);
}

/* ---------- Link lists ---------- */
.footer_dark .footer-links {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer_dark .footer-links li a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}
.footer_dark .footer-links li a::before {
    content: "›";
    display: inline-block;
    width: 0;
    opacity: 0;
    color: var(--brand-red);
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-right: 0;
}
.footer_dark .footer-links li a:hover {
    color: #fff;
    padding-left: 8px;
}
.footer_dark .footer-links li a:hover::before {
    width: 10px;
    opacity: 1;
    margin-right: 6px;
}

/* ---------- App / QR block ---------- */
.footer_dark .footer-app-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0 0 16px;
    line-height: 1.5;
}
.footer_dark .footer-app-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.footer_dark .footer-app-col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer_dark .footer-app-col:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 49, 21, 0.3);
}
.footer_dark .footer-store {
    height: 34px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}
.footer_dark .footer-app-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}
.footer_dark .footer-qr {
    width: 78px;
    height: 78px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    object-fit: contain;
    transition: var(--transition);
}
.footer_dark .footer-qr:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ---------- Bottom footer ---------- */
.footer_dark .bottom_footer {
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    font-size: 0.88rem;
    position: relative;
    z-index: 1;
}
.footer_dark .copyright {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}
.footer_dark .footer-bottom-link {
    color: var(--brand-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.footer_dark .footer-bottom-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Visitor stats */
.footer_dark .footer-visitors {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}
.footer_dark .footer-visitors li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer_dark .footer-visitors .sep {
    opacity: 0.3;
}
.footer_dark .footer-visitors i {
    color: var(--brand-red);
}
.footer_dark .footer-visitors span {
    color: #fff;
    font-weight: 600;
}

.footer_dark .footer-qr {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 4px;
    border-radius: 6px;
    object-fit: contain;
    transition: var(--transition);
}
.footer_dark .footer-store {
    height: 26px;                 /* was 34px */
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer_dark .footer-app-col {
    padding: 10px 8px;            /* was 14px 10px */
    gap: 6px;                     /* was 8px */
}

.footer_dark .footer-app-label {
    font-size: 0.66rem;           /* was 0.72rem */
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.footer_dark .footer-app-note {
    font-size: 0.8rem;
    margin: 0 0 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .footer_dark .top_footer { padding: 55px 0 35px; }
    .footer_dark .footer-title { margin-top: 10px; }
}
@media (max-width: 575px) {
    .footer_dark .top_footer { padding: 45px 0 25px; }
    .footer_dark .footer-app-row { grid-template-columns: 1fr; }
    .footer_dark .footer-visitors { justify-content: center; }
    .footer_dark .footer-visitors .sep { display: none; }
    .footer_dark .footer-visitors li { display: block; text-align: center; }
}
/* -----------------------------------------------------------------------
   FOOTER — CONTACT INFO (fixed layout)
   Overrides theme's .contact_info defaults so each row aligns cleanly:
   [icon] [text]
   Consistent icon column, consistent gap, consistent line-height.
----------------------------------------------------------------------- */

/* Kill the theme's default contact_info spacing */
.footer_dark .contact_info,
.footer_dark .contact_info_light {
    padding: 0;
    margin: 0 0 4px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Each row = icon column + text column, aligned to top */
.footer_dark .contact_info > li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.55;
    padding: 0;
    margin: 0;
    border: 0;
}

/* Force every direct child of <li> to be a flex item (address, a, p) */
.footer_dark .contact_info > li > address,
.footer_dark .contact_info > li > p,
.footer_dark .contact_info > li > a,
.footer_dark .contact_info > li > span {
    margin: 0;
    padding: 0;
    font-style: normal;
    line-height: inherit;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    word-break: break-word;
}

.footer_dark .contact_info > li > a {
    transition: var(--transition);
}
.footer_dark .contact_info > li > a:hover {
    color: #fff;
}

/* The icon cell — fixed width so all text columns align */
.footer_dark .contact_info > li > i {
    flex: 0 0 22px;
    width: 22px;
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    color: var(--brand-red);
    margin: 0;
    padding: 0;
    transition: var(--transition);
}
.footer_dark .contact_info > li:hover > i {
    transform: translateY(-1px);
    color: #ff6a4d;
}

/* Make sure headings above have consistent bottom spacing */
.footer_dark .contact_info + .widget_title,
.footer_dark .contact_info + h6 {
    margin-top: 32px !important;
}

.footer_dark .top_footer {
    padding-bottom: 80px;
}

.footer_dark .footer-widget,
.footer_dark .col-lg-3.footer-widget {
    padding-bottom: 20px;
}

.footer_dark .footer-widget .col-6 > div:last-child {
    margin-bottom: 12px;
}


.footer_dark .bottom_footer {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991px) {
    .footer_dark .top_footer {
        padding-bottom: 60px;
    }
}
@media (max-width: 575px) {
    .footer_dark .top_footer {
        padding-bottom: 45px;
    }
    .footer_dark .bottom_footer {
        padding: 18px 0;
    }
}

/* ===================================================================
   UI POLISH — differentiate buttons vs. labels
   Rule: only real clickables get pill shape. Labels are plain text.
=================================================================== */

/* ---------- 1. Eyebrow labels — remove pill, use clean text ---------- */
.section-heading .eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-red);
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 14px;
    line-height: 1;
}
/* small dash before each label */
.section-heading .eyebrow::before,
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--brand-red);
    border-radius: 2px;
}

/* Light variant (on dark sections like counters) */
.section-heading-light .eyebrow,
.eyebrow-light {
    color: #ff7a5c !important;
    background: transparent !important;
}
.section-heading-light .eyebrow::before,
.eyebrow-light::before {
    background: #ff7a5c;
}

/* ---------- 2. Buttons — rectangular, not pill ---------- */
.btn-brand,
.btn-ghost,
.btn-default,
.readon,
.readon2,
.primary-btn,
.btn.btn-brand,
.btn.btn-ghost {
    border-radius: 4px !important;   /* nearly square corners */
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.22s ease;
}

.btn-brand { background: var(--brand-red); border: 2px solid var(--brand-red); color: #fff !important; }
.btn-brand:hover { background: var(--brand-red-dark); border-color: var(--brand-red-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,49,21,0.28); }

.btn-ghost { background: transparent; border: 2px solid rgba(255,255,255,0.75); color: #fff !important; }
.btn-ghost:hover { background: #fff; color: var(--brand-navy) !important; border-color: #fff; transform: translateY(-1px); }

/* Small nav CTAs (scholarship button in header) — keep rectangle */
.top-header .header_list.border_list .btn,
.top-header .header_list.border_list .btn-default {
    border-radius: 4px !important;
}

/* Scroll-up button — keep it round; it's an icon-only control */
.scrollup { border-radius: 50% !important; }

/* ---------- 3. News card date badge — keep pill (it's a tag, not a button) ---------- */
.content-card-badge,
.content-card-tag,
.notice-date,
.event-date-badge {
    /* leave as-is — these are data tags, not CTAs */
}

/* ---------- 4. "View All ..." trailing buttons — same rectangle ---------- */
.section .btn-brand { border-radius: 4px !important; }

/* ---------- 5. Global safety — kill pill radius on any button-ish thing that snuck in ---------- */
a.btn,
button.btn,
input[type="submit"],
input[type="button"] {
    border-radius: 4px !important;
}

/* ===================================================================
   LAYOUT — wider container + 4-column card grid
=================================================================== */

/* ---------- 1. Widen all main content containers ---------- */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    max-width: 1440px !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Wider still on large desktops */
@media (min-width: 1600px) {
    .container {
        max-width: 1560px !important;
    }
}

/* Comfortable edge padding on tablets and below */
@media (max-width: 991px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media (max-width: 575px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ---------- 2. Reduce excessive section padding on wide screens ---------- */
@media (min-width: 1400px) {
    .section {
        padding: 90px 0;
    }
}

/* ---------- 3. Four cards per row on desktop ---------- */
/* Bootstrap's col-lg-3 = 25% width, 4 per row. */
/* We set this in markup — see the updated blade below.              */

/* ---------- 4. Slightly smaller card typography for the tighter grid ---------- */
.content-card-body {
    padding: 20px 20px 22px;
}
.content-card-title {
    font-size: 1.02rem;
    line-height: 1.4;
    margin: 0 0 8px;
}
.content-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* ---------- 5. Hero row: banner + notice panel spacing ---------- */
/* When the container is wider, keep the hero balanced — don't let
   the banner stretch to giant proportions next to a narrow notice panel */
.hero_section .row.g-4 {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

/* ---------- 6. About section: keep the text column readable on wide screens ---------- */
.about-section .about-text {
    max-width: 720px;
}
.about-section .about-content {
    padding-left: 1.5rem;
}
@media (max-width: 991px) {
    .about-section .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
}

/* Fallback when a gallery item has no cover image */
.content-card-img .no-preview {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.content-card-img .no-preview i {
    font-size: 28px;
    color: #cbd5e1;
    transition: var(--transition);
}
.content-card:hover .content-card-img .no-preview i {
    color: var(--brand-red);
    transform: scale(1.1);
}

/* -----------------------------------------------------------------------
   SUBMENU / INNER PAGE CONTENT
   Styles the rich-text description from the DB so headings, paragraphs,
   and lists inside it render properly regardless of what HTML is stored.
----------------------------------------------------------------------- */

.page-content-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

/* Page header (eyebrow + title) */
.page-content-header {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}
.page-content-header h1 {
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

/* The rich-text body — this is where the DB HTML renders */
.page-content {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #475569;
}

/* Headings inside the rich text */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: var(--brand-navy);
    font-weight: 700;
    line-height: 1.3;
    margin: 2.25em 0 0.75em;
    letter-spacing: -0.01em;
}
.page-content > *:first-child { margin-top: 0; }

.page-content h2 {
    font-size: 1.6rem;
    padding-bottom: 10px;
    position: relative;
}
/* red accent bar under each h2 */
.page-content h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    background: var(--brand-red);
    border-radius: 2px;
    margin-top: 12px;
}
.page-content h3 {
    font-size: 1.3rem;
    color: var(--brand-navy);
}
.page-content h4 { font-size: 1.1rem; }

/* Paragraphs */
.page-content p {
    margin: 0 0 1.25em;
}

/* Lists */
.page-content ul,
.page-content ol {
    padding-left: 0;
    margin: 0 0 1.5em;
    list-style: none;
}
.page-content ul li,
.page-content ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.7;
}
/* custom bullet for ul */
.page-content ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background: var(--brand-red);
    border-radius: 2px;
    transform: translateY(-50%) rotate(45deg);
}
/* numbered list for ol */
.page-content ol { counter-reset: item; }
.page-content ol li { padding-left: 36px; }
.page-content ol li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Links inside content */
.page-content a {
    color: var(--brand-red);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 49, 21, 0.35);
    transition: var(--transition);
}
.page-content a:hover {
    color: var(--brand-navy);
    border-bottom-color: var(--brand-navy);
}

/* Images / figures inside content */
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1em 0;
    box-shadow: var(--shadow-sm);
}

/* Blockquote */
.page-content blockquote {
    border-left: 4px solid var(--brand-red);
    background: #f8fafc;
    padding: 18px 24px;
    margin: 1.5em 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #475569;
    font-style: italic;
}
.page-content blockquote p:last-child { margin-bottom: 0; }

/* Tables */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
}
.page-content table th,
.page-content table td {
    padding: 12px 16px;
    border: 1px solid var(--border-soft);
    text-align: left;
}
.page-content table th {
    background: var(--bg-soft);
    color: var(--brand-navy);
    font-weight: 700;
}
.page-content table tr:nth-child(even) td {
    background: #fafbfd;
}

/* Horizontal rule */
.page-content hr {
    border: 0;
    border-top: 1px solid var(--border-soft);
    margin: 2.5em 0;
}

/* Inline emphasis */
.page-content strong { color: var(--brand-navy); font-weight: 700; }
.page-content em { font-style: italic; }

/* Responsive */
@media (max-width: 767px) {
    .page-content-section { padding: 40px 0 60px; }
    .page-content { font-size: 0.98rem; line-height: 1.75; }
    .page-content h2 { font-size: 1.35rem; }
    .page-content h3 { font-size: 1.15rem; }
}

/* Override the vendor's injected credit */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
}

/* -----------------------------------------------------------------------
   CONTACT PAGE
----------------------------------------------------------------------- */
.contact-section {
    background: #ffffff;
}

/* Shared card shell */
.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.contact-info-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.contact-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}
.contact-card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 44px;
    height: 2px;
    background: var(--brand-red);
}

/* ---------- Contact info list ---------- */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 49, 21, 0.08);
    color: var(--brand-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.contact-info-list li:hover .contact-icon {
    background: var(--brand-red);
    color: #fff;
    transform: translateY(-2px);
}
.contact-info-list li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.contact-info-list p,
.contact-info-list a {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--brand-navy);
    text-decoration: none;
    line-height: 1.5;
    word-break: break-word;
}
.contact-info-list a:hover {
    color: var(--brand-red);
}

/* ---------- Map ---------- */
.contact-map {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    height: 220px;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ---------- Form ---------- */
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin: 0;
}
.contact-form .req {
    color: var(--brand-red);
}
.contact-form .form-control {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--brand-navy);
    transition: var(--transition);
    box-shadow: none;
    height: auto;
}
.contact-form .form-control:focus {
    outline: 0;
    background: #fff;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(255, 49, 21, 0.12);
}
.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.contact-form .field-error {
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 2px;
}

/* ---------- Captcha ---------- */
.captcha-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
}
.captcha-img {
    height: 46px;
    width: auto;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}
.btn-refresh {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    color: var(--brand-navy);
    font-size: 15px;
    transition: var(--transition);
    padding: 0;
}
.btn-refresh:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
    transform: rotate(90deg);
}
.captcha-input {
    flex: 1;
    min-width: 120px;
    height: 46px;
}

/* ---------- Submit button ---------- */
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .contact-info-card,
    .contact-form-card {
        padding: 26px;
    }
    .contact-map { height: 200px; }
}
@media (max-width: 575px) {
    .contact-info-card,
    .contact-form-card {
        padding: 22px 18px;
    }
    .contact-submit {
        width: 100%;
    }
    .captcha-row {
        flex-direction: column;
        align-items: stretch;
    }
    .captcha-img,
    .btn-refresh {
        align-self: flex-start;
    }
}
