/**
 * sangUIpatch.css v1.4
 * ----------------------------------------------------------------------------
 * Unified UI Enhancements and Responsive Fixes
 * Ministry of National Guard (SANG) Website
 * ----------------------------------------------------------------------------
 *
 * CHANGELOG:
 * v1.0 ? Initial release (June 25, 2025)
 *   - Foundation layout optimization and responsive design framework
 *   - Advanced dropdown animation system with smooth transitions
 *   - Mobile-first navigation enhancements and touch interactions
 *   - Design system integration (NDS) with CSS custom properties
 * 
 * v1.1 ? Major UI and responsive improvements (June 28, 2025)
 *   1. Navigation & Dropdown Adjustments
 *     - Enabled hover-based nav menus on desktop alongside click-based fallback
 *     - Corrected dropdown misalignment in Share menu only
 *     - Improved z-index management for layered dropdowns
 *   2. Layout Improvements
 *     - Adjusted padding, margins, and spacing across key sections
 *     - Refined carousel structure for better flow and hierarchy
 *     - Enhanced responsiveness and grid behavior across breakpoints
 *   3. High-Resolution Support
 *     - Introduced layout scalability for screens between 1920px and 3360px+
 *     - Refined font and container scaling for large display consistency
 *   4. Mobile Optimization
 *     - Increased touch target spacing and adjusted mobile breakpoints
 *     - Responsive grid corrections for fluid layout across screen sizes
 * 
 * v1.1.1 ? Critical hotfix (June 28, 2025)
 *   - HOTFIX: Large screen zoom scaling with progressive breakpoints for ultra-wide displays
 *   - Added browser compatibility checks for CSS transform scaling support
 *   - Scoped scaling with .home class to prevent conflicts with subpages and admin areas
 * 
 * v1.2 ? Homepage and E-services page enhancements (June 30, 2025)
 *   - Enhanced services-content tab slider with viewport-based responsive sizing (vh/vw units)
 *   - Improved navigation spacing, typography, and NDS compliance
 *   - Fixed footer typography inheritance and logo alignment issues on mobile
 *   - Enhanced E-services page layout with responsive sidebar positioning
 *
 * v1.3 ? Footer and Contact Page Enhancements (July 1, 2025)
 *   - Refined footer layout, spacing, and overall visual consistency
 *   - Restyled the Contact page for visual alignment with the Services page
 *   - Fixed styling issues affecting video and image gallery components
 *   - Introduced the `.oneRowContent` utility to prevent tab elements from wrapping to multiple lines
 *   - Improved responsive behavior of the `.service-content` section on the homepage
 *
 * v1.4 ? Polishing and Enhancements (July 2, 2025)
 *   - Fix scaling for claenders popup on big screens
 *   - Fix image responsive on events
 *   - better alignment for share menu for both languages
 *   - Share menu have better alignment
 *   - Styling fix for LTR direction on some elements
 *   - fix paging alignment
 * v1.4.1 ? Polishing and Enhancements (July 7, 2025)
 *   - add hover backgound on tabs in service page
 * v1.4.2 ? Polishing and Enhancements (July 9, 2025)
 *   - Removed zoom scaling for better compatibility with standard screen resolutions
 *   - Recommended manual zoom using browser features
 *
 * Created: June 25, 2025
 * Last Updated: Julay 7, 2025
 * License: Custom implementation ? Internal use for SANG website only
 */


/* set max content width */
:root {
    --contentMaxWidth: 1280px;
}

.SANGcontainer {
    max-width: var(--contentMaxWidth) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.NavBarHeader {
    max-width: var(--contentMaxWidth);
    margin: auto;
    width: 100%;
}

.header-logo {
    z-index: 1000;
}

.Logo-MenuItems {
    height: 100%;
    width: 100%;
    display: flex;
    gap: var(--spacing-xl);
    flex: 3;
    max-width: var(--contentMaxWidth);
    margin: auto;
    background: #fff;
}

    .Logo-MenuItems .navbar-toggler {
        z-index: 9999;
    }

/* fix spaces on top dropdown menus and links color and improve animation */

.navbarCustom .dropdown:hover .dropdown-menuTop {
    display: unset;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: unset;
    transition: unset;
}

.navbarCustom .dropdown .dropdown-menuTop {
    display: flex !important;
    justify-content: center;
    padding: var(--spacing-2xl) !important;
    transform: translateY(-25%);
    transition: transform 0.25s, visibility 0.25s, opacity 0.25s ease-in-out !important;
    z-index: -1;
}

/* coexist integration for click-based and hover main nav menu in desktop */
.navbarCustom .dropdown.show .dropdown-menuTop,
.navbarCustom .dropdown:hover .dropdown-menuTop {
    display: flex !important;
    /* visibility: visible !important;By UI*/
    opacity: 1 !important;
    top: 71px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    list-style: none;
    box-shadow: 0px 3.288px 6.575px -1.644px rgba(16, 24, 40, 0.10), 0px 1.644px 3.288px -1.644px rgba(16, 24, 40, 0.06);
    padding: var(--spacing-4xl);
    gap: var(--spacing-6xl);
    transform: translateY(0);
    z-index: 998;
}

.navbarCustom .dropdown.show .dropdown-menuTop {
    z-index: 999;
    visibility: visible; /*By UI*/
}

@media only screen and (max-width: 1068px) {
    #navbarNavDropdown.forceShow {
        display: block !important;
        height: 100% !important;
        min-height: 100% !important;
        overflow: unset !important;
        transition: unset !important;
        top: 72px;
        position: absolute;
        right: 0;
        left: 0;
    }

        #navbarNavDropdown.forceShow #mobileMenu {
            position: absolute;
            top: 60px !important;
            left: 0;
            right: 0;
            background-color: #FCFCFC;
            box-shadow: 0px 3.288px 6.575px -1.644px rgba(16, 24, 40, 0.10), 0px 1.644px 3.288px -1.644px rgba(16, 24, 40, 0.06);
            display: flex;
            flex-direction: column;
            height: auto;
            z-index: 9999;
            padding: var(--spacing-xl) var(--spacing-none);
        }
}

.header-action,
.nav-link {
    z-index: 1000;
}

.menuBg .navbarCustom .nav-item.dropdown .nav-link::after {
    width: 16px;
    padding: 0;
    background-position: center;
}


.header .menuBg .navbarCustom .dropdown-menuTop a,
.header .menuBg .navbarCustom .dropdown-menuTop a:visited,
.header .menuBg .navbarCustom .dropdown-menuTop a:active,
.header .menuBg .navbarCustom .dropdown-menuTop li :link {
    color: var(--colors-title-Default) !important;
    font-size: var(--Text-mdF);
}

.menuBg .navbarCustom .dropdown-menuTop > ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.menuBg .navbarCustom .dropdown-menuTop li {
    width: 100%;
    text-align: center;
}

    .menuBg .navbarCustom .dropdown-menuTop li a {
        padding: var(--spacing-md) 0;
        display: block;
    }

/* fix how to varify dropdown animation */
.secondNavBar {
    gap: unset !important;
    padding: var(--spacing-none) var(--spacing-2xl) !important;
}


.digitalStamp_content {
    display: flex;
    gap: unset !important;
    flex-direction: column;
    max-width: var(--contentMaxWidth);
    margin: auto;
    margin-bottom: unset !important;
}

.digitalStamp_content_container {
    display: flex;
    gap: var(--spacing-2xl);
    margin: var(--spacing-2xl) 0;
}

.digitalStamp_content_item .icon {
    min-width: 60px !important;
    height: 60px;
    border-radius: 50%;
}

.digitalStamp_moreInfo {
    margin-bottom: var(--spacing-4xl);
}


.digitalStamp_content_item .icon i {
    font-size: 1.5rem !important;
}


/* fix varify dropdown content responsive */
@media only screen and (max-width: 768px) {
    .digitalStamp_content_container {
        flex-direction: column;
    }
}

/* fix nav styling to match NDS */
.menuBg .navbarCustom .nav-item .nav-link::before {
    height: 6px;
}

.menuBg .navbarCustom .nav-item .nav-link:hover {
    background-color: var(--colors-gray-100);
}


    .menuBg .navbarCustom .nav-item .nav-link:hover::before {
        background-color: var(--colors-gray-400);
    }


.menuBg .navbarCustom .nav-item.show .nav-link {
    background-color: var(--colors-brand-600);
    color: #fff;
}


    .menuBg .navbarCustom .nav-item.show .nav-link::before {
        background-color: var(--colors-gray-800);
    }

.menuBg .navbarCustom .nav-item .nav-link:focus {
    outline: unset;
    outline-offset: unset;
}

.Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root li a.static.selected,
.text-muted-link.active {
    background-color: var(--colors-brand-700);
    color: #fff;
}

    .Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root li a.static.selected:after,
    .text-muted-link.active:after {
        width: calc(100% - 8px * 2);
        height: 6px;
        background-color: var(--colors-gray-800);
    }

.Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root .static:focus,
.digitalStamp_moreInfo a:focus,
.text-muted-link:focus {
    outline: unset !important;
}

.text-muted-link.active i {
    color: var(--colors-gray-950) !important;
}

.Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root li a.static:hover:after,
.Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root li span.static:hover:after,
.text-muted-link:hover:after {
    height: 6px;
}

/* replace Bootstrap blue focus with NDS focus */
.nav-link:focus-visible,
.text-muted-link:focus-visible {
    outline: 2px solid #000 !important;
    outline-offset: -2px !important;
    box-shadow: inset 0 0 0 4px #fff !important;
}

.searchBoxDiv {
    padding: var(--spacing-4xl) var(--spacing-3xl) !important;
}

    .searchBoxDiv .SANGcontainer {
        padding: unset !important;
    }

/* main slider Gradiant */
div#carouselSANG::after {
    background: linear-gradient(180deg, rgb(0 0 0 / 3%) 0%, rgb(0 0 0 / 10%) 40%, rgb(0 0 0 / 30%) 70%, rgb(0 0 0 / 70%) 100%);
    display: block;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    isolation: isolate;
    z-index: 0;
}


/* fix nav Actions dropdown misalignment */
.header {
    padding: var(--spacing-none) var(--spacing-2xl) !important;
    background: var(--colors-white);
    position: sticky;
    top: 0;
    box-shadow: 0px 3.288px 6.575px -1.644px rgba(16, 24, 40, 0.10), 0px 1.644px 3.288px -1.644px rgba(16, 24, 40, 0.06);
    border-bottom: unset !important;
}

body {
    background-color: var(--colors-gray-50, #F9FAFB) !important;
    font-family: var(--IBMPlexSansAR-R) !important;
    color: var(--colors-title-Default);
    overflow: unset !important;
}

html[dir="ltr"] ul {
    /*padding-inline-start: 0;*/
}


/*fix share dropdown */
.navActions {
    position: relative;
}

.shareDropDown {
    position: relative;
}

    .shareDropDown #sharePage-dropdown {
        left: 0;
    }

html[dir="ltr"] .shareDropDown #sharePage-dropdown {
    left: unset;
    right: 0;
}

/* SuggestionsTags hover styling */
ul.SuggestionsTags > * {
    cursor: pointer;
}

    ul.SuggestionsTags > *:hover {
        background-color: var(--colors-gray-200);
    }

/* fix spacing and alignment of NewsEvent */
#carouselHomePageNews {
    height: 530px;
}

.NewsEvent .SANGcontainer {
    margin: auto;
    padding: var(--spacing-none) var(--spacing-2xl) !important;
    gap: var(--spacing-3xl) !important;
    align-items: stretch;
    width: 100%;
}

.HomeNews.carousel-inner {
    position: unset;
    height: 100%;
}

.NewsEvent .HomeNews-item {
    padding-bottom: 40px;
}

    .NewsEvent .HomeNews-item img {
        height: 225px !important;
    }


#carouselHomePageNews .carousel-indicators {
    margin-top: -40px;
}

.Event-Home {
    height: 100%;
}

    .Event-Home .UpcomingEvents {
        height: 100%;
        max-height: 530px;
        overflow: hidden;
        padding: 16px; /*By UI*/
    }

        .Event-Home .UpcomingEvents .splide {
            height: 100%;
            overflow: hidden;
        }

.UpcomingEvents .splide .splide__track {
    min-height: 550px !important;
}

.Event-Home .UpcomingEvents .splide li {
    margin-bottom: 8px !important; /*By UI*/
    height: auto !important; /*By UI*/
}

html[dir="ltr"] .EventDate {
    border-left: unset !important;
    padding-left: unset !important;
    border-right: 1px solid var(--colors-gray-300);
    padding-right: var(--spacing-2xl);
}

html[dir="ltr"] .EventList-item a i {
    transform: scale(-1);
}

@media only screen and (max-width: 992px) {
    .NewsEvent .SANGcontainer {
        flex-direction: row !important;
    }
}

@media only screen and (max-width: 768px) {
    .NewsEvent .SANGcontainer {
        flex-direction: column !important;
    }

    #carouselHomePageNews {
        height: unset !important;
    }

    .NewsEvent .HomeNews-item img {
        height: 253px !important;
    }
}

html[dir="ltr"] .HomeNews .sectionPrevNextBtnDiv {
    right: var(--spacing-xl);
    left: unset !important;
    flex-direction: row-reverse;
}

html[dir="ltr"] #carouselHomePageNews .carousel-indicators {
    flex-direction: row-reverse;
}


/* fix the gap between sections */
.SANG-bodyDiv section:not(.porjectsSection, .InnerContent) {
    /*padding: var(--spacing-3xl) var(--spacing-none) !important; BY UI*/
}

.SANG-bodyDiv section.InnerContent {
    padding: var(--spacing-3xl) var(--spacing-3xl) !important;
}


.home .services-content {
    padding-bottom: unset !important;
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-4xl); /*BY UI*/
}

    .home .services-content #overlay {
        min-height: 100%;
    }

    .home .services-content .nav-link:not(:hover),
    .home .services-content .tabs_content_text {
        text-shadow: 0 2px 2px rgb(0 0 0 / 50%);
    }

    /* Improve services-content visuals */
    .home .services-content .SANGnav-item .nav-link {
        font-size: 1.5rem;
        display: flex;
        gap: var(--spacing-md, 8px);
    }

    .home .services-content .info_tab_content {
        min-height: 60vh !important;
    }

    .home .services-content .SANGnavDiv:after {
        right: 0 !important;
    }

    .home .services-content .SANGnavDiv {
        padding-right: 0 !important;
        margin: 0 5%;
    }

        .home .services-content .SANGnavDiv .SANGnav-tabs {
            flex-wrap: nowrap !important;
            padding: 0;
        }
/* added by Tamkeen to activate navigation tabs in home page*/
.SANGnav-tabs .nav-link {
    position: relative;
}

    .SANGnav-tabs .nav-link.active:after {
        position: absolute;
        content: "";
        background: var(--colors-brand-600);
        width: calc(100%); /*By UI*/
        height: 3px;
        bottom: 0;
        left: 0; /*By UI*/
        border-bottom: 20px;
        right: 0; /*By UI*/
    }
/* new code added is finished here*/

@media only screen and (max-width: 768px) {
    .home .services-content .SANGnavDiv {
        left: 50%;
        transform: translateX(-60%);
    }
}

@media only screen and (min-width: 993px) {
    .home .services-content .info_tab_content {
        min-height: 80vh !important;
    }
}

.home .services-content .info_tab_content {
    justify-content: flex-start !important;
    padding: 100px 5% !important;
}

.home .services-content .info_tabs_content {
    padding: 0 !important;
    margin: 0;
}

.home .services-content .tabs_content_text {
    margin: 0 40px;
}

    .home .services-content .tabs_content_text > h4 {
        font-size: 2rem;
        margin-top: 80px;
        display: none;
    }

    .home .services-content .tabs_content_text > p {
        font-size: 1.2rem;
        line-height: 2rem;
        margin-top: 80px;
    }

.oneRowContent {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    max-width: 100%;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

    .oneRowContent > * {
        white-space: nowrap;
        width: fit-content;
    }

/* force display block to fix overflow scroll */
.ms-webpart-zone,
div.ms-webpart-cell-vertical-inline-table,
.ms-webpart-chrome-vertical {
    display: block !important;
}

/* fix Agencies affiliated with the Ministry section responsiveness */
.SANG-bodyDiv section.porjectsSection {
    padding-top: 40px !important;
    padding: var(--spacing-7xl) var(--spacing-none) !important;
}

.porjectsSection .Projects {
    flex-wrap: wrap !important;
    justify-content: center;
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: row !important;
}

@media only screen and (max-width: 600px) {
    .porjectsSection .SANGcontainer {
        max-width: calc(100% - 64px) !important;
    }
}

@media only screen and (max-width: 768px) {
    .porjectsSection .Projects .project-item {
        max-width: 100%;
    }
}

@media only screen and (min-width: 769px) {
    .porjectsSection .Projects .project-item {
        max-width: calc(50% - var(--spacing-3xl));
    }
}

@media only screen and (min-width: 993px) {
    .porjectsSection .Projects .project-item {
        max-width: calc(25% - var(--spacing-3xl));
    }
}

@media only screen and (min-width: 1280px) {
    .porjectsSection .Projects .project-item {
        max-width: calc(20% - var(--spacing-3xl));
    }
}

.porjectsSection .Projects .project-item .p-detail {
    display: none;
}

.porjectsSection .Projects .project-item .img-container img {
    height: auto !important;
}

/* fix content padding for footer content */
.footer .SANGcontainer {
    padding: 0px !important;
}

.footer-links-Div {
    display: flex;
    gap: var(--spacing-md);
}

    .footer-links-Div a {
        text-decoration: underline;
    }

@media only screen and (max-width: 600px) {
    .footer .SANGcontainer .legalInfo-Date {
        align-items: center;
    }
}

@media only screen and (max-width: 960px) {
    .copyright-col {
        justify-content: center;
    }

    .copyright-temp {
        text-align: center;
    }
}

.sub-navLinks a {
    font-family: var(--IBMPlexSansAR-R)
}

:not(.home) .InnerContent {
    background-color: #fff;
}

body .SANGcontainerCol {
    max-width: var(--contentMaxWidth) !important;
}


html[dir="ltr"] .breadcrumb > * {
    /*display: flex;*/
    gap: var(--spacing-sm);
    flex-direction: row;
}

html[dir="ltr"] .breadcrumb span .pathbar__devider {
    rotate: 270deg;
    margin-bottom: -4px;
}

.InnerContent #serviceDetailsInfo.SANGcontainerCol .SANGnav-item .nav-link,
.InnerContent #serviceDetailsInfo.SANGcontainerCol #SANGnav-MDL .nav-link {
    font-size: var(--Text-mdF);
    line-height: var(--Text-mdL);
    color: var(--colors-title-Default);
    font-family: var(--IBMPlexSansAR-B);
}

/* .InnerContent #serviceDetailsInfo.SANGcontainerCol .SANGnav-item .nav-link:hover,
.InnerContent #serviceDetailsInfo.SANGcontainerCol #SANGnav-MDL .nav-link:hover {
    background: unset !important;
} */

/* .InnerContent #serviceDetailsInfo.SANGcontainerCol .SANGnav-item .nav-link:not(.active, :active):hover::after,
.InnerContent #serviceDetailsInfo.SANGcontainerCol #SANGnav-MDL .nav-link:not(.active , :active):hover::after {
    background-color: var(--colors-gray-400);
} */

/* .InnerContent #serviceDetailsInfo.SANGcontainerCol .SANGnav-item .nav-link:active,
.InnerContent #serviceDetailsInfo.SANGcontainerCol #SANGnav-MDL .nav-link:active {
    background-color: unset !important;
} */

.InnerContent #serviceDetailsInfo.SANGcontainerCol a:focus {
    outline: unset !important;
}

@media (min-width: 991px) {
    :root {
        --serviceDetails-card-width: 400px;
    }

    .service-details,
    .serviceDetails-tabs,
    .breadcrumb {
        width: calc(100% - var(--serviceDetails-card-width) - var(--spacing-4xl) - 15px) !important;
    }


    .InnerContent #serviceDetailsInfo.SANGcontainerCol .serviceDetails-card {
        width: var(--serviceDetails-card-width);
        min-width: var(--serviceDetails-card-width);
        margin-top: -150px;
    }

    .InnerContent #serviceDetailsInfo.SANGcontainerCol .service-list-card {
        position: unset !important;
    }

    .InnerContent #serviceDetailsInfo.SANGcontainerCol {
        flex-direction: row;
    }
}

.StarRatingSection,
.FeedbackSection {
    background: #fff;
}

.NewsPagination,
.PaginationList,
.Pagination {
    display: flex;
    justify-content: center;
}

.contact-us-form,
.newcontact-box {
    box-shadow: unset !important;
}
/* modified by tamkeen 2025-08-05 to addd map on contact us page */
.contact-contact, .map-container {
    border: 1px solid var(--colors-gray-300);
    background-color: var(--colors-white);
    padding: var(--spacing-5xl);
    border-radius: 16px;
    width: 35%;
    float: right;
}

@media only screen and (max-width: 600px) {

    .NewsPagination .Pagination_Link,
    .NewsPagination .Pagination_selected,
    .Pagination .Pagination_Link a,
    .PaginationList .Pagination_Link,
    .PaginationList .Pagination_selected {
        padding: var(--spacing-md) !important;
    }
}

.ImgGallery {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
}

    .ImgGallery .ImgGalleryItem {
        min-width: 200px;
        max-width: 300px;
    }

        .ImgGallery .ImgGalleryItem img {
            border-radius: 4px;
            width: 100%;
            object-fit: cover;
            max-height: unset !important;
            height: 100% !important;
        }

.fancybox-navigation .fancybox-button {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    min-width: 40px;
    max-width: 40px;
    max-height: 60px;
    padding: 0 !important;
    color: #fff !important;
}

    .fancybox-navigation .fancybox-button[disabled],
    .fancybox-navigation .fancybox-button[disabled]:hover {
        color: var(--colors-gray-400) !important;
        background-color: var(--colors-gray-300) !important;
    }

.InnerContent .content img {
    width: 100% !important;
    height: auto !important;
}



@media only screen and (max-width: 1280px) {

    .menuBg .navbarCustom .nav-item .nav-link,
    .header-action > * {
        font-size: var(--Text-mdF) !important;
        line-height: var(--Text-mdL) !important;
    }
}

@media only screen and (min-width: 1101px) {

    .Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root li a.static,
    .Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root li span.static,
    .header-action a,
    .header-action button {
        padding: var(--spacing-none) var(--spacing-md);
        white-space: nowrap;
        background-color: #fff;
        border: 0;
    }
}

@media only screen and (max-width: 1100px) {

    .Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root li a.static,
    .Menu-Items .ms-core-listMenu-horizontalBox .ms-core-listMenu-root li span.static,
    .header-action a,
    .header-action button {
        padding: var(--spacing-none) var(--spacing-sm);
    }
}

@media (min-width: 1280px) and (max-width: 1344px) {

    .SANGcontainer,
    .footer .SANGcontainer {
        padding: var(--spacing-none) var(--spacing-2xl) !important;
    }
}

/* added by tamkeen for leaders page*/
.SANG-bodyDiv section.InnerContent {
    padding: 24px !important;
}

.text-sa-flag-600 {
    color: var(--colors-brand-600);
}

.font-weight-700 {
    font-weight: 700;
}

.btn-neutral-100 {
    background-color: #f3f4f6;
    border: 0 solid transparent;
    border-radius: .25rem;
    color: var(--colors-title-Default);
    padding: 12px 1rem 15px;
}

a.btn-neutral-100 {
    text-decoration: none;
    display: inline-flex;
}

.section-space-md {
    padding: 2rem 0;
}

.card-content h2 {
    font-size: 28px;
    letter-spacing: 0px;
    line-height: 36px;
    outline: 0px;
    margin-bottom: 8px;
}

.card-content h3 {
    font-size: 24px;
    letter-spacing: 0px;
    line-height: 32px;
}

.card-content p {
    font-size: 16px;
    line-height: 24px;
}

.sang-board-card .card-content h4 {
    line-height: 28px;
    font-size: 18px;
}

.sang-board-card .card-content h3,
.sang-board-card .card-content h4 {
    font-weight: 700;
    margin-bottom: 0;
}

.text-formatted-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card.card-n-border {
    border: 0;
}

.card {
    color: #1f2a37;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    padding: 1rem;
    transition: background-color .3s ease;
    word-break: break-word;
    text-align: start;
}

    .card.has-shadow {
        border: 1px solid #f3f4f6;
        border-radius: 1rem;
    }

    .card.is-white {
        background-color: #fff;
    }

.sang-banner-board .card img {
    height: 484.664px;
}

.card img {
    border-radius: .5rem;
    transition: transform .3s ease;
}

.card-img {
    height: 302px;
}

.sang-board-card img {
    height: 302px;
    object-fit: cover;
}

.card.has-shadow {
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, .1), 0 2px 4px -2px rgba(16, 24, 40, .06);
}


/*Home page slider text positioning style */

.carousel-content {
    position: relative;
    overflow: hidden;
}

    .carousel-content img {
        display: block;
        width: 100%;
        height: auto;
    }

/* Base styles for carousel-text */
.carousel-text {
    position: absolute;
    top: 50%;
    z-index: 5;
    box-sizing: border-box;
    padding: 1rem;
    color: #fff;
    transform: translateY(-50%);
    opacity: 0;
    transition: transform .6s ease, opacity .6s ease;
    text-align: left; /* default */
    max-width: 40%;
}

    .carousel-text .headerTitle {
        font-size: clamp(14px, 5vw, 48px);
        margin: 0 0 0.4rem;
    }

    .carousel-text .headerDescription {
        font-size: clamp(12px, 5vw, 20px);
        margin: 0;
    }

.sang-carousel .carousel-item {
    height: 600px !important;
    position: relative !important;
}

/* Show text when slide is active */
.carousel-item.active .carousel-text {
    opacity: 1;
}

/* LTR language: text on right */
[dir="ltr"] .carousel-text {
    left: 5%;
    right: auto;
    text-align: left;
    transform: translateY(-50%);
}

/* RTL language: text on left */
[dir="rtl"] .carousel-text {
    right: 5%;
    left: auto;
    text-align: right;
    transform: translateY(-50%);
}

/* Mobile styles for both LTR and RTL */
@media (max-width: 600px) {
    .carousel-text {
        position: absolute !important;
        top: 50%;
        left: 50% !important;
        right: auto !important;
        max-width: 90%;
        width: auto;
        padding: 0;
        background: transparent;
        text-align: center !important;
        transform: translate(-50%, -50%) !important;
        font-size: clamp(12px, 4vw, 18px);
    }

        .carousel-text .headerTitle {
            font-size: clamp(16px, 3vw, 24px);
            margin: 0 0 0.4rem;
        }

        .carousel-text .headerDescription {
            font-size: clamp(10px, 2vw, 16px);
            margin: 0;
        }

    .sang-carousel .carousel-item {
        height: auto !important;
        position: relative !important;
    }
}
/*End*/
