/* Fikrul Ummah Institute, Feni — brand layer on top of the Edulia theme.
   Palette is taken from the logo: deep teal, amber, maroon. */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600&family=Noto+Serif+Bengali:wght@600;700&display=swap');

:root {
    --fu-teal: #01415c;
    --fu-teal-deep: #012c40;
    --fu-teal-soft: #0a5a7a;
    --fu-gold: #f5a508;
    --fu-gold-soft: #fdf1d4;
    --fu-maroon: #8b1f26;
    --fu-mist: #eef4f7;
    --fu-ink: #1b2b34;
    --fu-line: #d9e4ea;
}

body, input, textarea, select, button { font-family: 'Hind Siliguri', 'Inter', sans-serif; color: var(--fu-ink); }
h1, h2, h3, h4, h5, h6 { font-family: 'Noto Serif Bengali', 'Hind Siliguri', serif; color: var(--fu-teal); line-height: 1.35; }
a { color: var(--fu-teal); }
a:hover { color: var(--fu-maroon); }
::selection { background: var(--fu-gold); color: var(--fu-teal-deep); }
:focus-visible { outline: 3px solid var(--fu-gold); outline-offset: 2px; }

/* ---------- top bar + main nav ---------- */
.heading_sub { background: var(--fu-teal-deep) !important; }
.heading_sub a, .heading_sub_left a, .heading_sub_right a { color: #fff; }
.heading_sub a:hover { color: var(--fu-gold); }
.heading_main { background: #fff; border-bottom: 4px solid var(--fu-gold); border-radius: 14px; box-shadow: 0 10px 30px rgba(1, 44, 64, .18); }
.heading_main_logo img, .heading_logo img { height: 74px !important; max-height: none !important; width: auto !important; object-fit: contain; }
.heading_main_menu_list_link { color: var(--fu-teal) !important; font-weight: 600; position: relative; }
.heading_main_menu_list_link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--fu-gold); transform: scaleX(0); transition: transform .2s ease; }
.heading_main_menu_list:hover > .heading_main_menu_list_link::after { transform: scaleX(1); }
.heading_main_menu_list:hover > .heading_main_menu_list_link { color: var(--fu-maroon) !important; }
.heading_main_menu_list_dropdown { border-top: 3px solid var(--fu-gold); border-radius: 0 0 10px 10px; }
.heading_main_menu_list_dropdown li a:hover { color: var(--fu-maroon) !important; background: var(--fu-gold-soft); }

/* ---------- buttons ---------- */
.theme_btn, .site_btn, .boxed_btn, a.theme_btn, button.theme_btn {
    background: var(--fu-gold) !important; color: var(--fu-teal-deep) !important; border: 2px solid var(--fu-gold) !important;
    border-radius: 999px !important; font-weight: 600; padding: 10px 26px; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.theme_btn:hover, .site_btn:hover, .boxed_btn:hover { background: var(--fu-teal) !important; border-color: var(--fu-teal) !important; color: #fff !important; }
.site_btn::after, .boxed_btn::after, .site_btn_border::after { background: transparent !important; }
.input-control-input[type=submit], .contacts_form .input-control-input[type=submit] {
    background: var(--fu-teal) !important; border-color: var(--fu-teal) !important; color: #fff !important; border-radius: 999px; font-weight: 600;
}
.input-control-input[type=submit]:hover { background: var(--fu-gold) !important; border-color: var(--fu-gold) !important; color: var(--fu-teal-deep) !important; }
.input-control-input { border-radius: 10px; background: var(--fu-mist); }
.input-control-input:focus { border-color: var(--fu-teal) !important; box-shadow: 0 0 0 3px rgba(245, 165, 8, .25); }

/* ---------- section titles ---------- */
.section_title_meta { color: var(--fu-maroon) !important; font-weight: 600; letter-spacing: 0; padding-left: 36px; position: relative; display: inline-block; }
.section_title_meta::before { content: ''; position: absolute; left: 0; top: 50%; width: 26px; height: 4px; border-radius: 2px; background: var(--fu-gold); transform: translateY(-50%); }
.text-center .section_title_meta { padding-left: 0; padding-bottom: 12px; }
.text-center .section_title_meta::before { left: 50%; top: auto; bottom: 0; transform: translateX(-50%); }
.section_title h2, .section_title h3 { color: var(--fu-teal) !important; }

/* ---------- page header (breadcrumb) ---------- */
.bradcrumb_area {
    background-image: linear-gradient(120deg, rgba(1, 44, 64, .96), rgba(1, 65, 92, .9)), url('/public/uploads/fuif/about.jpg') !important;
    background-size: cover; background-position: center; position: relative; border-bottom: 5px solid var(--fu-gold);
}
.bradcrumb_area h1, .bradcrumb_area h2, .bradcrumb_area h3, .bradcrumb_area a, .bradcrumb_area li, .bradcrumb_area span { color: #fff !important; }
.bradcrumb_area a:hover { color: var(--fu-gold) !important; }
.bradcrumb_area_inner h2, .bradcrumb_area_inner h1 { font-family: 'Noto Serif Bengali', serif; }

/* page heading + body text blocks */
.page_heading_title, .pb-themesection > .container > h2 { color: var(--fu-teal); }
.fuif-text h3 { position: relative; padding-bottom: 12px; margin: 34px 0 18px; }
.fuif-text h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--fu-gold); }
.fuif-text p { max-width: 78ch; }
.fuif-text table { border-collapse: separate; border-spacing: 0; width: 100%; border: 1px solid var(--fu-line); border-radius: 12px; overflow: hidden; }
.fuif-text table th { background: var(--fu-mist); color: var(--fu-teal); font-weight: 600; }
.fuif-text table th, .fuif-text table td { padding: 12px 16px; border-bottom: 1px solid var(--fu-line); }
.fuif-text table tr:last-child th, .fuif-text table tr:last-child td { border-bottom: 0; }
.fuif-text blockquote { background: var(--fu-gold-soft); border-left: 5px solid var(--fu-gold) !important; border-radius: 0 12px 12px 0; padding: 16px 22px !important; color: var(--fu-teal-deep); }
.fuif-text ul li::marker { color: var(--fu-gold); }

/* feature / division cards (Academics) */
.fu-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.fu-card { background: #fff; border: 1px solid var(--fu-line); border-top: 5px solid var(--fu-gold); border-radius: 4px 4px 18px 18px; padding: 24px; box-shadow: 0 8px 22px rgba(1, 65, 92, .08); }
.fu-card h4 { color: var(--fu-teal); margin: 0 0 8px; }
.fu-card p { margin: 0; }
.fu-card:nth-child(3n+2) { border-top-color: var(--fu-teal); }
.fu-card:nth-child(3n+3) { border-top-color: var(--fu-maroon); }
.fu-classes { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fu-classes li { background: var(--fu-teal); color: #fff; border-radius: 999px 999px 14px 14px; padding: 16px 30px 12px; font-family: 'Noto Serif Bengali', serif; font-weight: 700; box-shadow: inset 0 -4px 0 var(--fu-gold); }

/* ---------- home hero ---------- */
.fuif-hero { position: relative; margin-top: -110px; padding: 190px 0 150px; background: var(--fu-teal-deep); overflow: hidden; color: #fff; }
.fuif-hero::before {
    content: ''; position: absolute; inset: 0; opacity: .5;
    background:
        radial-gradient(circle at 20% 120%, transparent 0 140px, rgba(255, 255, 255, .09) 141px 143px, transparent 144px) 0 0 / 220px 110px,
        radial-gradient(circle at 70% 120%, transparent 0 140px, rgba(255, 255, 255, .09) 141px 143px, transparent 144px) 0 0 / 220px 110px;
}
.fuif-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--fu-gold); }
.fuif-hero .container { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.fuif-hero__kicker { margin: 0 0 18px; color: var(--fu-gold); font-weight: 600; font-size: 18px; }
.fuif-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.3; margin: 0 0 20px; }
.fuif-hero__lead { max-width: 56ch; font-size: 19px; line-height: 1.8; color: rgba(255, 255, 255, .88); margin: 0 0 30px; }
.fuif-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.fuif-btn { display: inline-block; padding: 13px 30px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--fu-gold); transition: background .2s, color .2s; }
.fuif-btn--gold { background: var(--fu-gold); color: var(--fu-teal-deep) !important; }
.fuif-btn--gold:hover { background: #fff; border-color: #fff; }
.fuif-btn--ghost { color: #fff !important; }
.fuif-btn--ghost:hover { background: var(--fu-gold); color: var(--fu-teal-deep) !important; }
.fuif-hero__divisions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fuif-hero__divisions li { border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 6px 16px; font-size: 15px; color: #fff; }
.fuif-hero__art { position: relative; display: flex; justify-content: center; }
.fuif-hero__art::before { content: ''; position: absolute; inset: -26px 6% 24px 6%; border: 3px solid var(--fu-gold); border-radius: 999px 999px 24px 24px; }
.fuif-hero__art img { position: relative; width: min(340px, 100%); background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }

/* notice board (home) */
.notice-section .noticeContent { background: var(--fu-teal) !important; border-top: 5px solid var(--fu-gold); border-radius: 18px; box-shadow: 0 18px 40px rgba(1, 44, 64, .28); }
.notice-board-title, .notice-view-all, .notice-view-all a { color: #fff !important; }
.notice-view-all:hover, .notice-view-all a:hover { color: var(--fu-gold) !important; }
.noticeboard_inner_item, .notification-container > * { border-radius: 10px; }
.notice-section .noticeContent .notification-container a { color: #fff !important; }
.notice-section .noticeContent [class*="date"], .notice-section .noticeContent .badge { background: var(--fu-gold) !important; color: var(--fu-teal-deep) !important; }

/* about block: image in an arch */
.about_us_img_inner img, .about_us_img img { display: block; width: 100%; height: auto; border-radius: 999px 999px 18px 18px; box-shadow: 0 0 0 8px #fff, 0 0 0 11px var(--fu-gold); }
.about_us_inner h2 { color: var(--fu-teal); font-size: clamp(26px, 3.2vw, 40px); }
.about_us_inner_call a, .about_us_inner_call i, .about_us_inner_call span { color: var(--fu-maroon) !important; }
.about_us .far.fa-check, .about_us .fa-check { color: var(--fu-gold) !important; }


/* gallery tiles: arch-topped photo, teal caption with a gold rule */
.gallery_item { filter: drop-shadow(0 10px 18px rgba(1, 65, 92, .16)); }
.gallery_item_img { border-radius: 999px 999px 0 0; }
.gallery_item_inner { background-color: var(--fu-teal) !important; border-top: 4px solid var(--fu-gold); border-radius: 0 0 16px 16px; text-align: center; }
.gallery_item_inner h4 { color: #fff !important; font-family: 'Noto Serif Bengali', serif; }
.gallery_item:hover h4 { color: var(--fu-gold) !important; }

/* principal message (home) */
.fu-principal { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; background: var(--fu-mist); border-left: 6px solid var(--fu-gold); border-radius: 18px; padding: 40px 44px; margin: 60px 0; }
.fu-principal img { width: 220px; height: 260px; object-fit: cover; border-radius: 999px 999px 16px 16px; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--fu-gold); }
.fu-principal h2 { margin: 0 0 10px; }
.fu-principal blockquote { font-family: 'Noto Serif Bengali', serif; font-size: 21px; color: var(--fu-teal); margin: 0 0 14px; padding: 0; border: 0; }
.fu-principal p { margin: 0 0 8px; max-width: 70ch; line-height: 1.8; }
.fu-principal .theme_btn { margin-top: 14px; display: inline-block; }
@media (max-width: 767px) { .fu-principal { grid-template-columns: 1fr; padding: 28px 22px; justify-items: center; text-align: center; } }

/* blog */
.blog_item_inner { border-radius: 16px; overflow: hidden; border: 1px solid var(--fu-line); }
.blog_item_img img { border-radius: 0; }
.blog_item_meta, .blog_item_meta * { color: var(--fu-maroon); }
.blog_item_readmore, .blog_item a.read_more { color: var(--fu-teal); }
.blog_item_readmore:hover { color: var(--fu-maroon) !important; border-color: var(--fu-maroon) !important; }

/* tables (result) */
table.dataTable thead th { background: var(--fu-teal); color: #fff; }

/* ---------- footer ---------- */
.pb-footer, .pb-footer > *, .footer, .footer_area { background-color: var(--fu-teal-deep) !important; }
.footer-item-logo img { background: #fff; border-radius: 14px; padding: 6px; max-height: 96px; width: auto; }
.footer-item h4, .footer-item h5, .footer-item .footer-item-title { color: var(--fu-gold) !important; font-family: 'Noto Serif Bengali', serif; }
.footer-item, .footer-item p, .footer-item-links a { color: rgba(255, 255, 255, .86) !important; }
.footer-item-links a:hover { color: var(--fu-gold) !important; }
.footer_copyright, .footer_copyright_inner { background: #011f2e !important; border-top: 3px solid var(--fu-gold); }
.footer_copyright_inner, .footer_copyright_inner a, .footer_copyright_inner p { color: rgba(255, 255, 255, .8) !important; }
.backtop { background: var(--fu-gold) !important; color: var(--fu-teal-deep) !important; }

/* ---------- small screens ---------- */
@media (max-width: 991px) {
    .fuif-hero { margin-top: -70px; padding: 130px 0 90px; }
    .fuif-hero .container { grid-template-columns: 1fr; gap: 40px; }
    .fuif-hero__art { order: -1; }
    .fuif-hero__art img { width: 220px; }
    .heading_main { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* sizing fixes found in review */
.footer-item-logo img { height: 110px !important; width: auto !important; max-height: none !important; }
.heading_main_logo, .heading_logo { display: flex; align-items: center; }
.heading_main_logo img, .heading_logo img, .heading_main img { height: 74px !important; width: auto !important; }
.notice-section .noticeContent { padding-bottom: 28px; min-height: 0 !important; height: auto !important; }
.heading_main_menu_list_link { font-size: 17px; padding-left: 14px; padding-right: 14px; }
.bradcrumb_area::before { background: linear-gradient(120deg, rgba(1, 44, 64, .93), rgba(1, 65, 92, .82)) !important; opacity: 1 !important; }
.bradcrumb_area_inner h1, .bradcrumb_area_inner h1 span { color: #fff !important; }
.fuif-text p { margin: 0 0 1.1em; line-height: 1.95; }
.footer-item-logo { width: auto !important; height: auto !important; overflow: visible !important; display: inline-block; }
.footer-item-logo img { width: auto !important; height: 110px !important; object-position: left; }
[class*="readmore"], [class*="read_more"] { color: var(--fu-teal) !important; border-color: var(--fu-gold) !important; }
[class*="readmore"]::after, [class*="read_more"]::after { background-color: var(--fu-gold) !important; }
.blog_item .fa-plus-circle, .noticeboard_inner_item .fa-plus-circle { color: var(--fu-gold); }
.footer_copyright_inner { background: transparent !important; border-top: 0 !important; }
.footer_copyright_inner::before, .footer_copyright_inner::after { display: none !important; }

/* footer copyright bar: one full-width strip */
.footer_copyright { margin-top: 0 !important; background: #011f2e !important; border-top: 4px solid var(--fu-gold) !important; }
.footer_copyright .container { padding-top: 22px !important; padding-bottom: 22px !important; }
.footer_copyright .container::before { display: none !important; }
.footer_copyright .row { align-items: center; }
.footer_copyright_inner { padding: 0 !important; }
.footer_copyright_inner p { margin: 0; }
.footer_copyright_social { margin: 0; justify-content: flex-end; }
.footer_copyright_social_list_link { color: #fff !important; }
.footer_copyright_social_list_link:hover { color: var(--fu-gold) !important; }
@media (max-width: 767px) { .footer_copyright .text-end { text-align: left !important; margin-top: 10px; } }
.pb-footer > section:first-of-type { padding-bottom: 50px !important; background-color: var(--fu-teal-deep) !important; }
.pb-footer > section:last-of-type { padding: 0 !important; background-color: #011f2e !important; border-top: 4px solid var(--fu-gold); }
.pb-footer > section:last-of-type .footer_copyright { border-top: 0 !important; background: transparent !important; }

/* data tables (result, lists): readable header on teal */
table.dataTable thead th, table.dataTable thead td, table.dataTable thead th *, .dataTable thead tr th, table thead tr th { background-color: var(--fu-teal) !important; color: #fff !important; font-weight: 600; border-bottom: 3px solid var(--fu-gold) !important; }
table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::before, table.dataTable thead .sorting_desc::after { color: var(--fu-gold) !important; opacity: .9; }
table.dataTable tbody tr:nth-child(even) td { background-color: var(--fu-mist); }
table.dataTable tbody tr:hover td { background-color: var(--fu-gold-soft); }
table.dataTable tbody td { color: var(--fu-ink); }
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { background: var(--fu-teal) !important; color: #fff !important; border-color: var(--fu-teal) !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button:hover { background: var(--fu-gold-soft) !important; color: var(--fu-teal) !important; border-color: var(--fu-gold) !important; }

/* feature strip: three equal cards, one accent each, no stray borders */
.feature { padding: 10px 0 30px; }
.feature .container::before { display: none !important; }
.feature .row > [class*="col-"] { padding-top: 12px; padding-bottom: 12px; }
.feature_item, .feature .col-md-4:last-child .feature_item { position: relative; height: 100%; background: #fff; border: 1px solid var(--fu-line) !important; border-radius: 4px 4px 16px 16px; padding: 30px 28px 26px !important; box-shadow: 0 8px 22px rgba(1, 65, 92, .08); display: block; }
.feature_item::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; border-radius: 4px 4px 0 0; background: var(--fu-gold); }
.feature .col-md-4:nth-child(2) .feature_item::before { background: var(--fu-teal); }
.feature .col-md-4:nth-child(3) .feature_item::before { background: var(--fu-maroon); }
.feature_item_left:empty { display: none !important; }
.feature_item_right { padding-left: 0 !important; }
.feature_item_inner h4 { color: var(--fu-teal); font-size: 20px; line-height: 1.5; margin-bottom: 6px; }
.feature_item_inner p { margin: 0; color: var(--fu-ink); }
@media (max-width: 767px) { .feature_item, .feature .col-md-4:last-child .feature_item { border: 1px solid var(--fu-line) !important; } }

/* ---------- facilities page ---------- */
.fu-facilities { padding: 70px 0 30px; }
.fu-intro { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.fu-intro h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 14px; }
.fu-intro h2::after { content: ''; display: block; width: 72px; height: 5px; border-radius: 3px; background: var(--fu-gold); margin: 16px auto 0; }
.fu-intro p { color: #4a5a63; font-size: 18px; line-height: 1.9; margin: 0; }
.fu-facility { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 88px; }
.fu-facility:nth-of-type(even) .fu-facility__media { order: 2; }
.fu-facility__media { position: relative; }
.fu-facility__media img { display: block; width: 100%; height: 440px; object-fit: cover; object-position: center 30%; border-radius: 999px 999px 20px 20px; box-shadow: 0 0 0 8px #fff, 0 0 0 11px var(--fu-gold), 0 22px 44px rgba(1, 44, 64, .22); }
.fu-facility__body h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 16px; }
.fu-facility__body p { font-size: 18px; line-height: 1.95; margin: 0; color: var(--fu-ink); }
.fu-facility__body h3::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--fu-gold); margin-bottom: 16px; }
.fu-facility:nth-of-type(3n+2) .fu-facility__body h3::before { background: var(--fu-teal); }
.fu-facility:nth-of-type(3n+3) .fu-facility__body h3::before { background: var(--fu-maroon); }
.fu-cta { margin: 20px 0 80px; padding: 44px 48px; border-radius: 20px; background: var(--fu-teal); border-bottom: 6px solid var(--fu-gold); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.fu-cta h3 { color: #fff; margin: 0 0 6px; }
.fu-cta p { color: rgba(255, 255, 255, .85); margin: 0; }
@media (max-width: 991px) {
    .fu-facility { grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px; }
    .fu-facility:nth-of-type(even) .fu-facility__media { order: 0; }
    .fu-facility__media { margin: 0 11px; }
    .fu-facility__media img { height: 300px; }
    .fu-cta { padding: 30px 24px; }
}

/* header logo: round badge with a gold ring */
.heading_main_logo img, .heading_logo img, .heading_main img { width: 78px !important; height: 78px !important; border-radius: 50%; object-fit: cover; background: #fff; border: 3px solid var(--fu-gold); box-shadow: 0 6px 16px rgba(1, 44, 64, .22); }

/* ---------- responsive + notice-board pass ---------- */
.fu-facilities { padding-left: 15px; padding-right: 15px; }
.about_us_img_inner { height: auto !important; width: 100%; max-width: 505px; }
.about_us_img_inner img, .about_us_img img { aspect-ratio: 505 / 615; height: auto !important; object-fit: cover; }
@media (max-width: 991px) {
    .about_us .col-lg-5 { margin-bottom: 48px; }
    .about_us_img_inner { width: calc(100% - 22px); margin-left: 11px; margin-right: 11px; }
    .heading_main_logo img, .heading_logo img { width: 66px !important; height: 66px !important; }
    .bradcrumb_area { padding-top: 56px !important; padding-bottom: 36px !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .heading_main_menu_list_link { font-size: 15px; padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 575px) {
    .fuif-text table { display: block; overflow-x: auto; }
    .fu-cta { padding: 28px 22px; }
    .fu-facility__media img { height: 280px; }
    .fu-principal { padding: 26px 18px; }
}

/* notice-board page */
.noticeboard_inner { border: 1px solid var(--fu-line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(1, 65, 92, .1); }
.noticeboard_inner_head { background: var(--fu-teal) !important; border-bottom: 4px solid var(--fu-gold); }
.noticeboard_inner_head, .noticeboard_inner_head * { color: #fff !important; font-family: 'Noto Serif Bengali', serif; }
.noticeboard_inner_item_title, .noticeboard_inner_item_title a { color: var(--fu-teal) !important; font-family: 'Noto Serif Bengali', serif; }
.noticeboard_inner_item a.site_btn_border { background: transparent !important; color: var(--fu-teal) !important; border: 2px solid var(--fu-gold) !important; border-radius: 999px !important; padding: 8px 20px; font-size: 14px; }
.noticeboard_inner_item a.site_btn_border:hover { background: var(--fu-gold) !important; color: var(--fu-teal-deep) !important; }
.noticeboard_inner_item a.site_btn_border i { color: var(--fu-gold); }
.fuif-text td, .fuif-text th, .fuif-text p { overflow-wrap: anywhere; }
@media (max-width: 575px) { .fuif-text table th { width: 38% !important; } }

/* Bengali digits (০-৯) everywhere on the site: Hind Siliguri and the theme font draw them badly, so those
   families get the digits from Noto Sans Bengali (self-hosted subset in fonts/). Letters are unchanged. */
@font-face { font-family: 'Hind Siliguri'; font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; src: url('fonts/bn-digits-400.ttf') format('truetype'); }
@font-face { font-family: 'Hind Siliguri'; font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; src: url('fonts/bn-digits-500.ttf') format('truetype'); }
@font-face { font-family: 'Hind Siliguri'; font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; src: url('fonts/bn-digits-600.ttf') format('truetype'); }
@font-face { font-family: 'Hind Siliguri'; font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; src: url('fonts/bn-digits-700.ttf') format('truetype'); }
@font-face { font-family: 'Eudoxus Sans'; font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; src: url('fonts/bn-digits-400.ttf') format('truetype'); }
@font-face { font-family: 'Eudoxus Sans'; font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; src: url('fonts/bn-digits-500.ttf') format('truetype'); }
@font-face { font-family: 'Eudoxus Sans'; font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; src: url('fonts/bn-digits-600.ttf') format('truetype'); }
@font-face { font-family: 'Eudoxus Sans'; font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; src: url('fonts/bn-digits-700.ttf') format('truetype'); }

/* ---------- mobile header: the school name runs round the round logo ---------- */
@media (max-width: 991px) {
    .heading_logo { position: relative; display: flex; margin-inline: auto; align-items: center; justify-content: center; flex: none; width: 96px; height: 96px; }
    .heading_logo::before {
        content: ''; position: absolute; inset: 0; pointer-events: none;
        background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpath id='p' d='M50,50 m-43,0 a43,43 0 1,1 86,0 a43,43 0 1,1 -86,0'/%3E%3C/defs%3E%3Ctext font-family='Georgia,Times New Roman,serif' font-size='11' font-weight='700' fill='%23012c40'%3E%3CtextPath href='%23p' textLength='266' lengthAdjust='spacing'%3EFikrul Ummah Institute Feni %E2%80%A2%3C/textPath%3E%3C/text%3E%3C/svg%3E");
    }
    .heading_logo img { position: relative; width: 58px !important; height: 58px !important; }
}

/* ---------- mobile menu drawer (brand layer) ---------- */
.heading_mobile_menu { background: #fff; border-right: 4px solid var(--fu-gold); box-shadow: 14px 0 40px rgba(1, 44, 64, .28); font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.heading_mobile_menu_top { background: var(--fu-teal-deep); border-bottom: 4px solid var(--fu-gold); padding: 22px 22px 20px; }
.heading_mobile_menu_top ul { margin: 0; padding: 0; list-style: none; }
.heading_mobile_menu_top a { display: inline-flex; align-items: center; gap: 8px; background: var(--fu-gold); color: var(--fu-teal-deep) !important; font-weight: 600; font-size: 15px; padding: 9px 24px; border-radius: 999px; text-decoration: none; }
.heading_mobile_menu_top a:hover { background: #fff; }
.heading_mobile_menu li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 22px; border-bottom: 1px solid var(--fu-line); border-left: 4px solid transparent; color: var(--fu-teal); font-size: 17px; font-weight: 500; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.heading_mobile_menu li a:hover, .heading_mobile_menu li a:focus-visible { background: var(--fu-mist); border-left-color: var(--fu-gold); color: var(--fu-maroon); }
.heading_mobile_menu li a i { color: var(--fu-gold); font-size: 14px; }
.heading_mobile_menu .submenu { background: #fff; }
.heading_mobile_menu .submenu-header { background: var(--fu-teal); }
.heading_mobile_menu .submenu-header a { color: #fff; border-bottom: 3px solid var(--fu-gold); border-left-color: transparent; justify-content: flex-start; gap: 10px; font-weight: 600; }
.heading_mobile_menu .submenu-header a:hover, .heading_mobile_menu .submenu-header a:focus-visible { background: var(--fu-teal-soft); color: #fff; border-left-color: transparent; }
.heading_mobile_menu .submenu-header a i { color: var(--fu-gold); }
.heading_mobile_menu .heading_mobile_menu_top ul li a { display: inline-flex; justify-content: center; background: var(--fu-gold) !important; color: var(--fu-teal-deep) !important; border: 0; border-radius: 999px; padding: 9px 26px; font-size: 15px; font-weight: 600; }
.heading_mobile_menu .heading_mobile_menu_top ul li a:hover, .heading_mobile_menu .heading_mobile_menu_top ul li a:focus-visible { background: #fff !important; }
.heading_mobile_menu > ul > li > a, .heading_mobile_menu .submenu > ul > li > a { padding: 15px 22px; border-bottom: 1px solid var(--fu-line); border-left: 4px solid transparent; color: var(--fu-teal); font-size: 17px; font-weight: 500; }
.heading_mobile_menu > ul > li > a:hover, .heading_mobile_menu > ul > li > a:focus-visible, .heading_mobile_menu .submenu > ul > li > a:hover, .heading_mobile_menu .submenu > ul > li > a:focus-visible { background: var(--fu-mist); border-left-color: var(--fu-gold); color: var(--fu-maroon); }
.heading_mobile_menu .submenu-header a, .heading_mobile_menu .submenu-header a:focus, .heading_mobile_menu .submenu-header a:active { background: transparent !important; color: #fff !important; }
.heading_mobile_menu .submenu-header a:hover, .heading_mobile_menu .submenu-header a:focus-visible { background: var(--fu-teal-soft) !important; }

/* ---------- mobile header: logo on the left, menu button on the right ---------- */
@media (max-width: 991px) {
    .heading_mobile > .text-center { order: -1; flex: 0 0 auto; text-align: left !important; }
    .heading_mobile > .text-center .heading_logo { margin-inline: 0; }
    .heading_mobile > div:first-child { order: 2; flex: 0 0 auto; margin-left: auto; }
}

/* ---------- hero: the school name follows the gold arch above the logo ---------- */
.fuif-hero__art { margin-top: 56px; }
.fuif-hero__art::after {
    content: ''; position: absolute; left: -8%; top: 0; width: 116%; aspect-ratio: 1; margin-top: calc(-14% - 26px); pointer-events: none;
    background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 116 116'%3E%3Cdefs%3E%3Cpath id='a' d='M-0.5,50 A50.5,50.5 0 0 1 100.5,50'/%3E%3C/defs%3E%3Ctext font-family='Hind Siliguri,Noto Serif Bengali,Noto Sans Bengali,Nirmala UI,Bangla Sangam MN,sans-serif' font-size='5.2' font-weight='700' fill='%23f5a508' text-anchor='middle'%3E%3CtextPath href='%23a' startOffset='50%25'%3E%E0%A6%AB%E0%A6%BF%E0%A6%95%E0%A6%B0%E0%A7%81%E0%A6%B2 %E0%A6%89%E0%A6%AE%E0%A7%8D%E0%A6%AE%E0%A6%BE%E0%A6%B9 %E0%A6%87%E0%A6%A8%E0%A6%B8%E0%A7%8D%E0%A6%9F%E0%A6%BF%E0%A6%9F%E0%A6%BF%E0%A6%89%E0%A6%9F-%E0%A6%AB%E0%A7%87%E0%A6%A8%E0%A7%80%3C/textPath%3E%3C/text%3E%3C/svg%3E");
}
