@font-face {
    font-family: "CalculatorFont";
    src: url("../webfonts/calculator/CalculatorRegular.eot");
    src:
        url("../webfonts/calculator/CalculatorRegular.eot?#iefix")
            format("embedded-opentype"),
        url("../webfonts/calculator/CalculatorRegular.woff2") format("woff2"),
        url("../webfonts/calculator/CalculatorRegular.woff") format("woff"),
        url("../webfonts/calculator/CalculatorRegular.ttf") format("truetype"),
        url("../webfonts/calculator/CalculatorRegular.svg#CalculatorRegular")
            format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

p b {
    color: #000000;
}

a p {
    color: var(--dark-color);
}

.top-menu {
    display: flex;

    list-style: none;
}

.top-menu li a {
    text-transform: none;

    font-weight: 300;

    font-size: 15px;

    padding: 14px 8px 0 8px !important;
}

.top-header .footer-social-links {
    margin-top: 0;
}

.top-header .footer-social-links ul li a {
    width: 25px;

    height: 25px;
}

.top-header .footer-social-links ul li a i {
    font-size: 14px;
}

.department-team .testimonial-header {
    padding-bottom: 0;

    margin-bottom: 0;

    border-bottom: 0;
}

.department-team .testimonial-header img {
    /* width: 90px; */

    max-width: none;
}

.department-team .testimonial-item {
    padding: 30px 25px;
}

.department-team .author-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    height: 153px;
}

.department-team .author-content h3 {
    font-size: 20px;

    /*height: 43px;*/
}

.department-team .author-content p {
    /*height: 57px;*/
}

.department-eminent .service-entry ul li {
    width: 100%;
}

.departments-sections-nav {
}

.departments-sections-nav li {
    margin-bottom: 10px;
}

.departments-sections-nav li a {
    font-size: 20px;

    color: var(--orange-color);
}

/*.department-research .how-we-help:before{

	border-radius: 10px;

}*/

.department-research .how-we-help:before {
    display: none;
}

.department-research .how-we-help .how-we-help-content {
    padding: 20px;

    /*background: var(--primary-color);*/

    border-radius: 10px;

    margin-bottom: 30px;
}

.department-research .how-we-help-body ul li,
.department-research .how-we-help-content .section-title h3,
.department-research .how-we-help-content .section-title h2,
.department-research .how-we-help-content .section-title p {
    color: var(--dark-color);
}

.footer-departments a {
    color: var(--dark-color);
}

.departments-centers .how-it-work-body {
    height: 53px;
}

.departments-centers .how-it-work-item:nth-child(even) {
    flex-direction: inherit;
}

.alnas-donate-home-section {
    /*position: relative;*/

    background-image: url(../images/alnas/home-donate.jpg);

    /*linear-gradient(180deg, transparent 80%, #000000  20%), */

    /*background-repeat: no-repeat;

    background-position: center center;

    background-size: cover;*/

    padding: 60px 0;
}

.alnas-donate-home-section::before {
    content: "";

    position: absolute;

    top: 0;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(
        180deg,
        rgba(2, 13, 25, 0.5) 17.67%,
        #00000070 95%
    );

    height: 100%;

    width: 100%;

    z-index: 0;
}

.alnas-department-sections {
}

.alnas-department-sections h3 {
    height: 50px;
}

.dept-section-page ul li {
    /* width: 24.5%; */
    flex: 1;
}

.doctors-counters {
    justify-content: center;
}

.four-items {
    gap: 10px;

    justify-content: space-between;
}

.four-items .our-features-item {
    width: 20%;
}

/*.four-items .our-features-item,*/

.doctors-counters .why-choose-counter-item {
    width: 15%;
}

.bg-gray {
    background-color: var(--secondary-color);
}

.zakat-calculator {
    color: #ffffff !important;

    background-color: #008fc1;

    position: fixed;

    top: 70%;

    left: 60px;

    width: 80px;

    height: 100px;

    font-weight: bold;

    border-radius: 5px;

    text-align: center;

    font-size: 17px;

    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.15);

    transition: all 0.2s ease-in-out;

    z-index: 99;

    /*animation:pulse 2s infinite;*/
}

.zakat-calculator a {
    color: #ffffff;

    width: 100%;

    height: 100%;

    display: block;

    font-size: 13px;
}

.zakat-calculator a i {
    font-size: 35px;

    line-height: 60px;
}

.single-research-tags li {
    width: calc(24% - 15px) !important;
}

.other-donations a {
    width: calc(23% - 15px) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.alnas-doctors .helped-fund-item {
    width: 100% !important;

    /*padding: 0!important;

	background: transparent!important;

	box-shadow: none!important;*/
}

.donate-value-box .donate-value label {
    background-color: #ffffff;
}

.donate-value-box {
}

.donate-value-box .donate-value {
    flex: 1 1 30%;
}

/*.research-slider {

	border-radius: 40px!important;

}*/

.research-slider,
.research-slider .swiper {
    border-radius: 40px !important;
}

.research-slider::before {
    border-radius: 40px !important;
}

.research-slider .swiper-slide {
    border-radius: 40px !important;
}

/*.research-slider .hero.hero-slider-layout{

	border-radius: 40px!important;

}*/

.research-slider .hero-slide {
    border-radius: 40px !important;

    padding: 200px 25px 50px !important;
}

.research-slider .hero-slide::before {
    border-radius: 40px !important;
}

.research-slider .hero-slide .hero-slider-image {
    border-radius: 40px !important;
}

.research-slider .hero-slide .hero-slider-image img {
    border-radius: 40px !important;
}

.research-slider .hero-content {
    margin-right: 0 !important;
}

.research-slider .section-title {
    margin-bottom: 10px !important;

    height: 55px;
}

.research-slider .hero-list {
    margin-bottom: 10px !important;
}

.research-slider .hero-body {
    margin-bottom: 0 !important;
}

.research-slider .section-title h2 {
    font-size: 22px !important;
}

.research-slider .hero-list ul {
    font-size: 16px;
}

.research-slider .hero-list ul li {
    background: none !important;

    padding-left: 0 !important;
}

.research-slider .hero-pagination {
    text-align: center !important;

    padding-left: 0 !important;

    /*padding-right: calc(((100vw - 1300px) / 2) + 15px);*/

    bottom: 25px !important;
}

.research-slider .readmore-btn:hover {
    color: #ffffff !important;
}

.research-slider .readmore-btn::before {
    display: none;
}

.learn-search-form .btn-default:before {
    display: none;
}

/*.btn-default::after*/

.learn-search-form .btn-default:after {
    border-radius: var(--bs-border-radius-lg) !important;
}

.sidebar-btn {
    padding: 15px;
}

.sidebar-btn a {
    display: flex;

    justify-content: center;

    align-items: center;
}

.sidebar-btn a h4 {
    font-size: 24px;

    margin-left: 20px;
}

.sidebar-btn a .icon-box {
    margin-bottom: 0;
}

.sidebar-btn a .icon-box img {
    width: 45px;
}

.department-prog-counters .why-choose-counter-item {
    width: 25%;
}

.course-tabs ul {
    width: 100%;

    justify-content: space-between;
}

.course-tabs ul li {
    width: 17%;
}

.course-tabs ul li .nav-link {
    font-size: 16px;

    line-height: 30px;
}

.form-select {
    font-size: 16px;

    font-weight: 400;

    line-height: 1.5em;

    color: var(--text-color);

    border: 1px solid var(--divider-color);

    border-radius: 10px;

    padding: 17px 20px;

    box-shadow: none;

    outline: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: var(--bnfsg-color);
    color: white;
}

.link-table a {
    color: var(--bnfsg-color);
}

.link-table a:hover {
    color: var(--orange-color);
}

.why-choose-counter-item-custom::before {
    content: "";

    position: absolute;

    top: 0;

    bottom: 0;

    right: -30px;

    background: var(--divider-color);

    width: 1px;

    height: 100%;
}

.why-choose-counter-item-custom:nth-child(3n + 3):before,
.why-choose-counter-item-custom:last-child:before {
    display: none;
}

.why-choose-counter-item-custom h2 {
    font-size: 40px;

    color: var(--accent-color);

    margin-bottom: 5px;
}

.why-choose-counter-item-custom p {
    margin-bottom: 0;

    font-size: 20px;

    text-align: center;
}

.navbar-nav .nav-link {
    /* font-size: inherit !important; */
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #340057;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
    color: var(--accent-color) !important;
}

.why-choose-image-2-custom {
    position: absolute;
    width: 100%;
    max-width: 265px;
    border: 2px solid var(--white-color);
    border-radius: 50%;
}

div.error {
    color: red;
    margin-top: 5px;
}

.form-control.error {
    border: 2px solid red;
}

#donateNow select {
    -moz-appearance: auto !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

.case-card-type {
    font-size: 30px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

/* Phase two */

#resultsContainer {
    min-height: 300px;
}

/*
.embed-responsive {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
}

.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.embed-responsive-16by9::before {
	padding-top: 56.25%;
}

.embed-responsive::before {
	display: block;
	content: "";
} */

.text-box {
    display: block;
    background-color: var(--secondary-color);
    width: 100%;
    text-align: center;
}

.story-title {
    margin: 0;
    text-align: left;
}

.about-us-body-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 60px;
}

.no-rounded {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.no-rounded-top {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.no-border-left {
    border-left: 0;
}

.no-border-right {
    border-right: 0 !important;
}

.responsive-video-embed {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.responsive-video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

#birth_attach_dz_wrap,
.department_notes ul:not(:first-child) {
    display: none;
}

.department_notes ul li p {
    margin-bottom: 0;
}

.alnas-doctors .doctor-item h6 {
    height: 60px;
}

.alnas-doctors .doctor-item img {
    height: 120px;
}

.alnas-doctors .doctor-item p {
    height: 90px;
}

.page-sidebar-catagery-list ul li.active > a {
    color: var(--accent-color) !important;
}

.page-sidebar-catagery-list ul li.active > a::before {
    background-color: var(--accent-color) !important;
    mask: url("../images/arrow-text.svg") no-repeat;
    -webkit-mask: url("../images/arrow-text.svg") no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;
    background-image: none !important;
}

.page-single-sidebar {
    position: static !important;
    top: auto !important;
}

.page-sidebar-catagery-list {
    position: static !important;
    top: auto !important;
}

@media (max-width: 991px) {
    .sidebar-btn {
        padding: 8px 4px !important;
        border-radius: 12px !important;
    }
    .sidebar-btn a {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
    }
    .sidebar-btn a .icon-box {
        margin-bottom: 4px !important;
    }
    .sidebar-btn a .icon-box img {
        width: 20px !important;
        height: 20px !important;
    }
    .sidebar-btn a h4 {
        font-size: 11px !important;
        margin-left: 0 !important;
        margin-top: 2px !important;
        line-height: 1.2 !important;
    }
}

.course-metadata {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.course-meta-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    border-radius: 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    border: 1px solid var(--divider-color);
    background-color: var(--secondary-color);
}

.course-meta-badge strong {
    font-size: 11px;
    font-weight: 700;
    opacity: 1;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.course-meta-badge span {
    font-size: 13px;
    font-weight: 400;
}

.badge-leader {
    color: var(--accent-color);
}

.badge-specialty {
    color: var(--orange-color);
}

.badge-ceus {
    color: var(--bnfsg-color);
}

.badge-format {
    color: var(--text-color);
}

.course-brochure-download {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.course-brochure-download .btn-default {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

.course-brochure-download .btn-default::after {
    background-color: #b02a37 !important;
}

.service-item .service-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}

.service-item .service-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* About Us Page Boxes */
.aboutus-feature-box .what-we-item-content h3,
.aboutus-service-box .service-content h3,
.leadership-team-box .team-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}

.aboutus-feature-box .what-we-item-content p,
.aboutus-service-box .service-content p,
.leadership-team-box .team-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Careers Page Boxes */
.careers-job-box .causes-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}

.careers-job-box .causes-content .lh-base {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Departments Page Boxes */
.departments-index-box .how-it-work-body {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Doctors Page Boxes */
.doctors-profile-box .helped-fund-content h6,
.department-doctor-box .author-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}

.doctors-profile-box .helped-fund-content p,
.department-doctor-box .author-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    line-height: 1.5;
    margin-bottom: 8px;
}

.doctors-profile-box .helped-fund-img img,
.department-doctor-box .author-image img {
    height: 120px !important;
    object-fit: cover;
}

/* Research Page Boxes */
.research-info-box .service-entry-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}

.research-info-box .service-entry-content div {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Education Page Boxes */
.education-course-box .causes-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Help Page Boxes */
.help-faq-box .how-it-work-body h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    margin-bottom: 8px;
}

.service-item .service-content .date-line {
    display: block !important;
    height: auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
}

.newsroom-card .service-image {
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991px) {
    .nav-logo {
        display: none !important;
    }
}

.why-choose-counters.about-us-counters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 20px;
}

.about-us-counters .why-choose-counter-item h2 {
    font-size: 38px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
    background: linear-gradient(
        135deg,
        var(--bnfsg-color) 0%,
        #8549bd 100%
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
}

.about-us-counters .why-choose-counter-item p {
    margin-bottom: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #444444 !important;
    line-height: 1.4 !important;
}

.why-choose-counters.home-about-counters {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 40px !important;
}

.home-about-counters .why-choose-counter-item h2 {
    font-size: 38px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
    background: linear-gradient(
        135deg,
        var(--bnfsg-color) 0%,
        #8549bd 100%
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
}

.home-about-counters .why-choose-counter-item p {
    margin-bottom: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #444444 !important;
    line-height: 1.4 !important;
}

/* Responsive UI for Counters */
/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
    .why-choose-counters.home-about-counters {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px 40px !important;
    }
    .home-about-counters .why-choose-counter-item {
        text-align: center !important;
        min-width: 140px;
    }
    .home-about-counters .why-choose-counter-item h2 {
        font-size: 30px !important;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .why-choose-counters.home-about-counters {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
    }
    .home-about-counters .why-choose-counter-item {
        text-align: center !important;
        width: calc(50% - 20px) !important;
        min-width: unset;
    }
    .home-about-counters .why-choose-counter-item h2 {
        font-size: 26px !important;
        margin-bottom: 4px !important;
    }
    .home-about-counters .why-choose-counter-item p {
        font-size: 13px !important;
    }

    .top-section {
        display: none !important;
    }
}

/* Extra Small Screens (max-width: 480px) */
@media (max-width: 480px) {
    .home-about-counters .why-choose-counter-item {
        width: 100% !important;
    }
}

/* Premium Story Card */
.premium-story-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.premium-story-card .story-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.premium-story-card .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-story-card:hover .story-image img {
    transform: scale(1.08);
}

.premium-story-card .story-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.premium-story-card .story-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.premium-story-card .story-content h3 a {
    color: #1a1a1a;
    transition: color 0.3s ease;
    text-decoration: none;
}

.premium-story-card .story-content h3 a:hover {
    color: var(--bnfsg-color, #8549bd);
}

.premium-story-card .story-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}
/*
.premium-story-card .readmore-btn {
    margin-top: auto;
} */

/* .premium-story-card .readmore-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--bnfsg-color, #8549bd);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.premium-story-card .readmore-link i {
    margin-right: 8px;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.premium-story-card .readmore-link:hover {
    color: #1a1a1a;
} */

/* For RTL */
html[dir="rtl"] .premium-story-card .readmore-link i {
    margin-left: 0;
    margin-right: 8px;
}

html[dir="rtl"] .premium-story-card:hover .readmore-link i {
    transform: translateX(-5px);
}

html[dir="ltr"] .premium-story-card:hover .readmore-link i {
    transform: translateX(5px);
}

/* =========================================
   Premium Footer Styling
   ========================================= */
.main-footer.premium-footer {
    padding-top: 80px;
}

.premium-footer .footer-about-widget .icon-box i {
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.premium-footer .footer-about-widget .contact-item:hover .icon-box i {
    background: var(--bnfsg-color);
    transform: scale(1.1);
}

.premium-footer .footer-about-widget .icon-box .red-color {
    color: #ff4757 !important;
}

.premium-footer .social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.premium-footer .social-btn:hover {
    background: #ffffff;
    color: var(--bnfsg-color);
    transform: translateY(-3px);
}

.premium-footer .widget-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.premium-footer .widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--bnfsg-color);
    border-radius: 2px;
}

html[dir="ltr"] .premium-footer .widget-title::after {
    right: auto;
    left: 0;
}

.premium-footer .footer-links li {
    margin-bottom: 15px;
}

.premium-footer .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.premium-footer .footer-links a:hover {
    color: #ffffff;
    transform: translateX(-5px);
}

html[dir="ltr"] .premium-footer .footer-links a:hover {
    transform: translateX(5px);
}

.premium-footer .premium-newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 20px;
}

.premium-footer .premium-newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.premium-footer .premium-newsletter-form .newsletter-submit-btn {
    background: var(--accent-color);
    border: none;
    color: #ffffff;
    padding: 0 25px;
    transition: all 0.3s ease;
}

.premium-footer .premium-newsletter-form .newsletter-submit-btn:hover {
    background: #ffffff;
    color: var(--bnfsg-color);
}

html[dir="rtl"] .premium-footer .premium-newsletter-form .form-control {
    border-radius: 0 8px 8px 0;
}

html[dir="rtl"]
    .premium-footer
    .premium-newsletter-form
    .newsletter-submit-btn {
    border-radius: 8px 0 0 8px;
}

html[dir="ltr"] .premium-footer .premium-newsletter-form .form-control {
    border-radius: 8px 0 0 8px;
}

html[dir="ltr"]
    .premium-footer
    .premium-newsletter-form
    .newsletter-submit-btn {
    border-radius: 0 8px 8px 0;
}

.premium-footer .footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 25px 0 !important;
    margin-top: 30px !important;
    background: transparent !important;
}

.premium-footer .footer-copyright p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* =============================================
   Premium Milestone / Timeline Section
   ============================================= */

.milestones-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* ---- Wrapper ---- */
.ms-timeline {
    position: relative;
    padding: 20px 0 40px;
}

/* ---- Vertical centre line ---- */
.ms-timeline__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--bnfsg-color) 8%,
        var(--bnfsg-color) 92%,
        transparent 100%
    );
    z-index: 0;
}

/* ---- Individual row ---- */
.ms-timeline__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 80px;
    z-index: 1;
}

/* ---- Step badge on the line ---- */
.ms-timeline__badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bnfsg-color) 0%, #8549bd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 6px rgba(88, 45, 131, 0.15),
        0 6px 20px rgba(88, 45, 131, 0.4);
    flex-shrink: 0;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ms-timeline__badge span {
    color: #ffffff;
    font-family: var(--accent-font);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.ms-timeline__item:hover .ms-timeline__badge {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow:
        0 0 0 8px rgba(88, 45, 131, 0.2),
        0 10px 30px rgba(88, 45, 131, 0.5);
}

/* ---- Image half ---- */
.ms-timeline__img {
    width: calc(50% - 50px);
    flex-shrink: 0;
}

.ms-timeline__img--left {
    margin-inline-end: auto;
    padding-inline-end: 30px;
}
.ms-timeline__img--right {
    margin-inline-start: auto;
    padding-inline-start: 30px;
    order: 1;
}

.ms-timeline__figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.ms-timeline__figure img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ms-timeline__item:hover .ms-timeline__figure {
    transform: translateY(-6px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
}

.ms-timeline__item:hover .ms-timeline__figure img {
    transform: scale(1.04);
}

/* ---- Content half ---- */
.ms-timeline__content {
    width: calc(50% - 50px);
    flex-shrink: 0;
}

.ms-timeline__content--right {
    padding-inline-start: 30px;
    order: 1;
}

.ms-timeline__content--left {
    padding-inline-end: 30px;
    text-align: end; /* RTL aware right-align for left-column */
}

/* Reset text alignment in LTR */
html[dir="ltr"] .ms-timeline__content--left {
    text-align: left;
}
html[dir="ltr"] .ms-timeline__content--right {
    text-align: left;
}

/* ---- Card ---- */
.ms-timeline__card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    border: 1px solid rgba(88, 45, 131, 0.08);
    position: relative;
}

.ms-timeline__card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--bnfsg-color),
        var(--accent-color)
    );
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ms-timeline__item:hover .ms-timeline__card {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.11);
}

.ms-timeline__item:hover .ms-timeline__card::before {
    opacity: 1;
}

.ms-timeline__card-inner {
    padding: 30px 28px;
}

/* ---- Typography ---- */
.ms-timeline__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
    line-height: 1.3;
    font-family: var(--accent-font);
}

.ms-timeline__body {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.ms-timeline__body p:last-child {
    margin-bottom: 0;
}

/* =============================================
   Responsive – Tablet  (≤ 991px)
   ============================================= */
@media (max-width: 991px) {
    .ms-timeline__line {
        left: 28px;
        transform: none;
    }

    .ms-timeline__item {
        flex-direction: column;
        align-items: flex-start;
        padding-inline-start: 70px;
        margin-bottom: 50px;
    }

    .ms-timeline__badge {
        left: 28px;
        top: 0;
        transform: translate(-50%, 10px);
        width: 46px;
        height: 46px;
    }

    .ms-timeline__badge span {
        font-size: 16px;
    }

    /* Image: always full width, on top */
    .ms-timeline__img,
    .ms-timeline__img--left,
    .ms-timeline__img--right {
        width: 100%;
        padding: 0 0 18px 0 !important;
        margin: 0 !important;
        order: 0 !important;
    }

    .ms-timeline__figure img {
        height: 240px;
    }

    /* Content: always full width, below image */
    .ms-timeline__content,
    .ms-timeline__content--left,
    .ms-timeline__content--right {
        width: 100%;
        padding: 0 !important;
        order: 1 !important;
        text-align: start !important;
    }

    html[dir="rtl"] .ms-timeline__content--left {
        text-align: right !important;
    }
}

/* =============================================
   Responsive – Mobile  (≤ 575px)
   ============================================= */
@media (max-width: 575px) {
    .ms-timeline__line {
        left: 20px;
    }

    .ms-timeline__item {
        padding-inline-start: 52px;
        margin-bottom: 40px;
    }

    .ms-timeline__badge {
        left: 20px;
        width: 38px;
        height: 38px;
    }

    .ms-timeline__badge span {
        font-size: 14px;
    }

    .ms-timeline__figure img {
        height: 200px;
    }

    .ms-timeline__card-inner {
        padding: 20px 18px;
    }

    .ms-timeline__title {
        font-size: 18px;
    }

    .ms-timeline__body {
        font-size: 14px;
    }
}

/* =============================================
   Research Page – Objectives Grid
   ============================================= */

.objs-section {
    margin-top: 50px;
}

.objs-section__heading {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 28px !important;
    position: relative;
    padding-bottom: 14px;
}

.objs-section__heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--bnfsg-color), var(--accent-color));
    border-radius: 3px;
}

/* Grid container – 3 cols on desktop */
.objs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

/* Individual card */
.objs-grid__card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(88, 45, 131, 0.1);
    border-radius: 16px;
    padding: 28px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    overflow: hidden;
}

.objs-grid__card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--bnfsg-color),
        var(--accent-color)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px 0 0 4px;
}

.objs-grid__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(88, 45, 131, 0.14);
    border-color: rgba(88, 45, 131, 0.25);
}

.objs-grid__card:hover::before {
    opacity: 1;
}

/* Number badge – top-right corner */
.objs-grid__badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bnfsg-color) 0%, #8549bd 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    font-family: var(--accent-font);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(88, 45, 131, 0.35);
    flex-shrink: 0;
}

/* Large decorative first-letter */
.objs-grid__letter {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(88, 45, 131, 0.1) 0%,
        rgba(250, 158, 0, 0.1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    font-family: var(--accent-font);
    color: var(--bnfsg-color);
    transition:
        background 0.3s ease,
        color 0.3s ease;
    flex-shrink: 0;
}

.objs-grid__card:hover .objs-grid__letter {
    background: linear-gradient(135deg, var(--bnfsg-color) 0%, #8549bd 100%);
    color: #ffffff;
}

/* Objective text */
.objs-grid__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.objs-grid__card:hover .objs-grid__text {
    color: var(--bnfsg-color);
}

/* ---- Responsive ---- */

/* Tablet: 2 columns */
@media (max-width: 991px) {
    .objs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile: 1 column */
@media (max-width: 575px) {
    .objs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .objs-grid__card {
        flex-direction: row;
        text-align: start;
        padding: 18px 16px;
        align-items: center;
        gap: 14px;
    }

    .objs-grid__letter {
        width: 48px;
        height: 48px;
        font-size: 20px;
        flex-shrink: 0;
    }

    .objs-grid__text {
        font-size: 13px;
    }
}

/* Newsrooms Page – Premium UI
   ============================================= */

/* ── Search Bar ── */
.nr-search-wrap {
    margin-bottom: 48px;
}

.nr-search-inner {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
}

.nr-search-inner input.form-control {
    height: 56px;
    border-radius: 50px;
    border: 2px solid #e8e8e8;
    padding-inline: 56px 24px;
    font-family: var(--accent-font);
    font-size: 15px;
    color: var(--primary-color);
    background: #fff;
    transition:
        border-color 0.3s,
        box-shadow 0.3s;
    box-shadow: 0 4px 18px rgba(2, 13, 25, 0.06);
}

.nr-search-inner input.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(250, 158, 0, 0.14);
    outline: none;
}

.nr-search-inner input.form-control::placeholder {
    color: #aaa;
}

.nr-search-icon {
    position: absolute;
    inset-inline-start: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 17px;
    pointer-events: none;
    z-index: 1;
}

/* ── No Results ── */
.nr-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-color);
}

.nr-no-results i {
    font-size: 52px;
    color: #e0e0e0;
    margin-bottom: 16px;
    display: block;
}

/* ── Search Results Grid ── */
.nr-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* ── Featured Section ── */
.nr-featured-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 6rem;
    align-items: stretch;
}

@media (max-width: 991px) {
    .nr-featured-section {
        grid-template-columns: 1fr;
    }
}

/* Hero Card (first featured) */
.nr-hero-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    min-height: 400px;
    box-shadow: 0 8px 32px rgba(2, 13, 25, 0.14);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.nr-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(2, 13, 25, 0.2);
}

.nr-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    display: block;
    transition: transform 0.5s ease;
}

.nr-hero-card:hover img {
    transform: scale(1.04);
}

.nr-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(2, 13, 25, 0.88) 0%,
        rgba(2, 13, 25, 0.3) 55%,
        transparent 100%
    );
    z-index: 1;
}

.nr-hero-body {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 28px;
    z-index: 2;
}

.nr-hero-body .nr-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.nr-hero-body h2 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.nr-hero-body p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Side featured cards stack */
.nr-side-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nr-side-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.3s,
        box-shadow 0.3s,
        transform 0.3s;
    flex: 1;
    overflow: hidden;
}

.nr-side-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 24px rgba(250, 158, 0, 0.12);
    transform: translateX(-4px);
}

[dir="ltr"] .nr-side-card:hover {
    transform: translateX(4px);
}

.nr-side-thumb {
    width: 88px;
    min-width: 88px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.nr-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nr-side-card:hover .nr-side-thumb img {
    transform: scale(1.1);
}

.nr-side-text {
    flex: 1;
    min-width: 0;
}

.nr-side-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nr-side-text p {
    font-size: 12px;
    color: var(--text-color);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Category Sections ── */
.nr-category-section {
    margin-bottom: 60px;
}

.nr-category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    /* border-bottom: 2px solid #f0f0f0; */
}

.nr-category-header .nr-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-color), #e08900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.nr-category-header h2 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin: 0;
    flex: 0 1 auto;
}

.nr-cat-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #fff !important;
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    transition:
        background 0.3s ease,
        transform 0.25s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.nr-cat-readmore:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ── Swiper Override ── */
.nr-swiper-wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.nr-swiper-wrap .swiper-pagination-bullet {
    background: var(--accent-color);
    opacity: 0.35;
}

.nr-swiper-wrap .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 767px) {
    .nr-hero-card {
        min-height: 300px;
    }
    .nr-hero-body h2 {
        font-size: 1.15rem;
    }
    .nr-category-header {
        flex-wrap: wrap;
    }
}

/* ── Newsroom Loop Card ── */
.nr-loop-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #efefef;
    box-shadow: 0 4px 16px rgba(2, 13, 25, 0.06);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.3s;
    height: 100%;
}

.nr-loop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(2, 13, 25, 0.13);
    border-color: var(--accent-color);
}

/* Thumb */
.nr-loop-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.nr-loop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nr-loop-card:hover .nr-loop-thumb img {
    transform: scale(1.06);
}

.nr-loop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(2, 13, 25, 0.35) 0%,
        transparent 60%
    );
    transition: opacity 0.3s;
}

/* Body */
.nr-loop-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px;
    gap: 8px;
}

.nr-loop-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.nr-loop-card:hover .nr-loop-body h3 {
    color: var(--accent-color);
}

.nr-loop-body p {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.nr-loop-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f4f4f4;
}

.nr-loop-date {
    font-size: 12px;
    color: var(--text-color);
    font-weight: 500;
}

.nr-loop-readmore {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--accent-font);
    transition: gap 0.3s;
}


/* ── Story Badge on thumb ── */
.nr-story-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: var(--accent-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    z-index: 2;
}

/* =============================================
   Zakat Calculator – Premium UI
   ============================================= */
.zakat-calc-wrap {
    padding: 60px 0 100px;
    background: #fdfdfd;
}

.zakat-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(2, 13, 25, 0.05);
    padding: 40px;
    border: 1px solid #f0f0f0;
}

.zakat-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f5f5f5;
}

.zakat-section-title i {
    color: var(--accent-color);
    background: rgba(250, 158, 0, 0.12);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.zakat-form-group {
    margin-bottom: 24px;
}

.zakat-form-group label {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    display: block;
    font-size: 14px;
}

.zakat-input-wrap {
    position: relative;
}

.zakat-input-wrap .form-control {
    height: 56px;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    padding-inline-start: 20px;
    padding-inline-end: 60px; /* space for currency symbol */
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    background: #fafafa;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.zakat-input-wrap .form-control:focus {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(250, 158, 0, 0.12) !important;
    outline: none;
}

.zakat-input-wrap .form-control::placeholder {
    color: #ccc;
    font-weight: 500;
}

.zakat-currency {
    position: absolute;
    inset-inline-end: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-weight: 700;
    font-size: 15px;
    pointer-events: none;
}

/* ── Results Sidebar ── */
.zakat-result-card {
    background: linear-gradient(145deg, var(--bnfsg-color));
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    box-shadow: 0 15px 45px rgba(2, 13, 25, 0.25);
    position: sticky;
    top: 120px;
}

.zakat-result-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.zakat-result-title i {
    color: var(--accent-color);
    font-size: 24px;
}

.zakat-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.zakat-result-item:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

.zakat-result-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.zakat-result-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-family: var(--accent-font);
    display: flex;
    align-items: center;
    gap: 6px;
}

.zakat-result-item.total-row {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px 20px;
    border-radius: 14px;
    border: 1px solid rgba(250, 158, 0, 0.3);
    margin-top: 24px;
}

.zakat-result-item.total-row .zakat-result-label {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.zakat-result-value.total {
    color: var(--accent-color);
}

/* ── Donate Button ── */
.btn-zakat-donate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 60px;
    border-radius: 14px;
    background: var(--accent-color);
    color: #fff !important;
    font-size: 17px;
    font-weight: 800;
    font-family: var(--accent-font);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    margin-top: 30px;
}

.btn-zakat-donate:hover:not(.disabled) {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(250, 158, 0, 0.35);
    background: #e08900;
}

.btn-zakat-donate.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ── Result Input Fields ── */
.zakat-result-input {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-align: end;
    width: auto;
    max-width: 120px;
    padding: 0 !important;
    margin: 0 !important;
}

.zakat-result-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.zakat-result-value.total .zakat-result-input {
    font-size: 26px !important;
    color: var(--accent-color) !important;
    max-width: 160px;
}

@media (max-width: 991px) {
    .zakat-card {
        padding: 30px 24px;
        margin-bottom: 40px;
    }
    .zakat-result-card {
        padding: 35px 24px;
    }
}

/* ── Objectives List UI ── */
.objs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.objs-list__item {
    position: relative;
    background: #fff;
    border: 1px solid rgba(2, 13, 25, 0.06);
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(2, 13, 25, 0.02);
    transition: all 0.35s ease;
    overflow: hidden;
}

.objs-list__item:hover {
    transform: translateX(-6px);
    border-color: rgba(250, 158, 0, 0.3);
    box-shadow: 0 10px 25px rgba(250, 158, 0, 0.08);
}

[dir="ltr"] .objs-list__item:hover {
    transform: translateX(6px);
}

.objs-list__item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), #e08900);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.objs-list__item:hover::before {
    opacity: 1;
}

.objs-list__icon {
    width: 30px;
    height: 30px;
    background: rgba(250, 158, 0, 0.12);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition:
        background 0.35s,
        color 0.35s;
}

.objs-list__item:hover .objs-list__icon {
    background: var(--accent-color);
    color: #fff;
}

.objs-list__text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s;
}

.objs-list__item:hover .objs-list__text {
    color: var(--accent-color);
}

/* =============================================
   Contact Us – Premium UI
   ============================================= */

/* ── Contact Info Cards ── */
.contact-cards-wrap {
    padding: 60px 0;
    background: #fdfdfd;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.premium-contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(2, 13, 25, 0.05);
    box-shadow: 0 10px 30px rgba(2, 13, 25, 0.04);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-contact-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #e08900);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.premium-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(250, 158, 0, 0.08);
}

.premium-contact-card:hover::after {
    transform: scaleX(1);
}

.pcc-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(250, 158, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-color);
    transition:
        background 0.4s,
        color 0.4s;
}

.premium-contact-card:hover .pcc-icon {
    background: var(--accent-color);
    color: #fff;
}

.pcc-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.pcc-text,
.pcc-text a {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s;
}

.pcc-text a:hover {
    color: var(--accent-color);
}

/* ── Contact Form Section ── */
.contact-section-main {
    padding: 0 0 80px;
    background: #fdfdfd;
}

.contact-layout-box {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(2, 13, 25, 0.06);
    border: 1px solid rgba(2, 13, 25, 0.03);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.contact-form-side {
    padding: 60px 50px;
    width: 50%;
}

.contact-map-side {
    width: 50%;
    position: relative;
    background: #eee;
}

.contact-map-side iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    filter: grayscale(100%) contrast(1.1) opacity(0.8);
    transition: filter 0.4s ease;
}

.contact-map-side:hover iframe {
    filter: none;
}

.cf-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.cf-subtitle {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 40px;
}

/* ── Form Inputs ── */
.premium-form-group {
    margin-bottom: 24px;
}

.premium-form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.premium-input {
    width: 100%;
    height: 56px;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    padding: 0 20px;
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    background: #fafafa;
    transition: all 0.3s ease;
}

textarea.premium-input {
    height: auto;
    padding: 16px 20px;
    resize: vertical;
    min-height: 140px;
}

.premium-input:focus {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(250, 158, 0, 0.12);
    outline: none;
}

.premium-input::placeholder {
    color: #bbb;
    font-weight: 500;
}

/* Submit Button */
.btn-submit-premium {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff !important;
    font-size: 17px;
    font-weight: 800;
    font-family: var(--accent-font);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 10px;
    cursor: pointer;
}

.btn-submit-premium:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(250, 158, 0, 0.3);
}

@media (max-width: 991px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-side {
        width: 100%;
        padding: 40px 24px;
    }

    .contact-map-side {
        width: 100%;
        height: 350px;
        position: relative;
    }
}

/* =============================================
   Visit Us – Premium UI
   ============================================= */

/* ── Hero Boxes ── */
.visit-hero-section {
    padding: 60px 0;
    background: #fdfdfd;
}

.visit-section-title {
    margin-bottom: 50px;
    text-align: center;
}

.visit-section-title h3 {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.visit-section-title h2 {
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.visit-hero-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 15px 40px rgba(2, 13, 25, 0.08);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
}

.visit-hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(250, 158, 0, 0.15);
}

.visit-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 20, 36, 0.95) 0%,
        rgba(5, 20, 36, 0.4) 60%,
        transparent 100%
    );
    z-index: 1;
}

.visit-hero-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
}

.visit-hero-card-content h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}

.visit-hero-card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-visit-book {
    background: var(--accent-color);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-visit-book:hover {
    background: #e08900;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(250, 158, 0, 0.3);
}

/* ── Quick Links (Icons) ── */
.visit-quick-links {
    padding: 0 0 60px;
    background: #fdfdfd;
}

.visit-quick-link-card {
    background: #fff;
    border: 1px solid rgba(2, 13, 25, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(2, 13, 25, 0.03);
    transition: all 0.3s ease;
    text-decoration: none !important;
    margin-bottom: 20px;
    height: 100%;
}

.visit-quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(250, 158, 0, 0.08);
    border-color: rgba(250, 158, 0, 0.3);
}

.vql-icon {
    width: 65px;
    height: 65px;
    background: rgba(250, 158, 0, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vql-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.vql-content h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.vql-content p {
    color: var(--text-color);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.visit-quick-link-card:hover .vql-content h3 {
    color: var(--accent-color);
}

/* ── FAQs Section ── */
.visit-faqs-section {
    padding: 60px 0;
    background: #fff;
}

.visit-accordion .accordion-item {
    border: 1px solid rgba(2, 13, 25, 0.06);
    border-radius: 16px !important;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.visit-accordion .accordion-button {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    padding: 20px 24px;
    box-shadow: none !important;
    border-radius: 16px !important;
}

.visit-accordion .accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background: rgba(250, 158, 0, 0.02);
}

.visit-accordion .accordion-body {
    padding: 0 24px 24px;
    color: var(--text-color);
    line-height: 1.7;
}

/* ── Form Section ── */
.visit-form-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.visit-form-layout {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(2, 13, 25, 0.06);
    border: 1px solid rgba(2, 13, 25, 0.03);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.visit-sidebar {
    width: 35%;
    background: linear-gradient(
        145deg,
        var(--bnfsg-color),
        var(--primary-color)
    );
    padding: 60px 40px;
    color: #fff;
    position: relative;
}

.visit-sidebar::after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: url('{{ asset("images/pattern.png") }}') center/cover;
    opacity: 0.05;
    pointer-events: none;
}

.visit-sidebar h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.visit-sidebar-list {
    margin-top: 40px;
}

.visit-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.visit-sidebar-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 16px;
    flex-shrink: 0;
}

.visit-sidebar-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
}

.visit-socials {
    display: flex;
    gap: 12px;
    margin-top: 50px;
}

.visit-socials a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.visit-socials a:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}

.visit-form-box {
    width: 65%;
    padding: 60px 50px;
}

/* Form Inputs */
.premium-form-group {
    margin-bottom: 24px;
}

.premium-form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.premium-input {
    width: 100%;
    height: 56px;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    padding: 0 20px;
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    background: #fafafa;
    transition: all 0.3s ease;
}

select.premium-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23020D19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
}
html[dir="ltr"] select.premium-input {
    background-position: right 20px center;
}

.premium-input:focus {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(250, 158, 0, 0.12);
    outline: none;
}

.premium-input::placeholder {
    color: #bbb;
    font-weight: 500;
}

.btn-submit-premium {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    background: var(--accent-color);
    color: #fff !important;
    font-size: 17px;
    font-weight: 800;
    font-family: var(--accent-font);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 15px;
    cursor: pointer;
}

.btn-submit-premium:hover {
    background: #e08900;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(250, 158, 0, 0.3);
}

@media (max-width: 991px) {
    .visit-sidebar {
        width: 100%;
        padding: 40px 30px;
    }
    .visit-form-box {
        width: 100%;
        padding: 40px 24px;
    }
    .visit-quick-link-card {
        margin-bottom: 20px;
    }
}
