:root {
    --primary-clr: #900212;
    --secondary-clr: linear-gradient(to bottom, rgba(255, 102, 102, 1) 0%, rgba(153, 0, 0, 1) 100%);
    --primary-text-clr: #CF872F;
    --background-clr: #FEFFE1;
    --black-clr: #000;
    --white-clr: #fff;
    --main-text-clr: #161722;
    --sub-text-clr: #494A53;
    --fc-button-bg-color: #FAC322;
    --fc-button-border-color: var(--primary-clr);
    --fc-button-hover-border-color: var(--primary-clr);
    --fc-button-hover-bg-color: #CF872F;
    --fc-button-text-color: var(--main-text-clr);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white-clr);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Montserrat", sans-serif;
    /* height: 1000px; */
}

body::-webkit-scrollbar-track,
.custom-dropdown-submenu::-webkit-scrollbar-track,
.custom-card-content::-webkit-scrollbar-track,
.menu-wrap::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--background-clr);
}

body::-webkit-scrollbar,
.custom-dropdown-submenu::-webkit-scrollbar,
.custom-card-content::-webkit-scrollbar,
.menu-wrap::-webkit-scrollbar {
    width: 6px;
    background-color: var(--background-clr);
}

body::-webkit-scrollbar-thumb,
.custom-dropdown-submenu::-webkit-scrollbar-thumb,
.custom-card-content::-webkit-scrollbar-thumb,
.menu-wrap::-webkit-scrollbar-thumb {
    background-color: var(--primary-clr);
}

.form-control,
.form-label,
.form-check-label {
    font-size: 14px;
}

.warning_msg {
    font-size: 12px;
    color: red;
    background: #fff;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 20px;
    margin: 5px auto;
}

.alert {
    font-size: 12px;
}
.mandatory{
    color: red;;
}
/* button styles */
.cta-btn {
    border: 1px solid var(--primary-clr);
    border-radius: 50px;
    padding: 5px 10px;
    font-family: "Roboto Serif", serif;
    color: var(--primary-clr);
    font-size: clamp(0.875rem, 0.8438rem + 0.1563vw, 1rem);
    transition: all .3s linear;
}

.cta-btn:hover {
    background: var(--primary-clr);
    color: var(--white-clr);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-clr);
    border-color: var(--primary-clr);
    border-radius: 50px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:disabled {
    background-color: var(--primary-clr);
    border-color: var(--primary-clr);
    box-shadow: none !important;
}

.btn-secondary {
    background-color: var(--white-clr);
    border-color: var(--primary-clr);
    transition: all .3s linear;
    color: var(--primary-clr);
    border-radius: 50px;
    font-size: 14px;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:not(:disabled):not(.disabled):active {
    background-color: var(--primary-clr);
    color: var(--white-clr);
    box-shadow: none !important;
}

/* Header */
.navbar-header .logo {
    /* transform: translateY(-200%); */
}

.navbar-header .navbar-brand img {
    width: 60px;
    height: 60px;
}

.brand-title h5 {
    font-size: clamp(1rem, 0.9375rem + 0.3125vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 0;
    background: var(--secondary-clr);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-title h6 {
    font-size: clamp(0.875rem, 0.8438rem + 0.1563vw, 1rem);
    font-weight: 600;
    margin-bottom: 0;
    background: var(--secondary-clr);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-bg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    background-color: var(--white);
}

.topnav-main {
    box-shadow: 0 2px 10px 0px rgb(0 0 0 / 10%);
    height: auto;
    background: #ffffff86;
    padding-inline: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
    z-index: 1200;
}

.topnav-main .navbar-header {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topnav-main .menu-wrap {
    /* background-color: var(--primary-clr); */
    justify-content: center;
    margin-right: -15px;
    margin-left: -15px;
    direction: rtl;
}

.topnav-main.shrink-nav {
    height: 80px;
}

.topnav-main.shrink-nav .nav-right .nav-menu-btn {
    height: 80px;
}

.topnav-main .navbar-header .navbar-brand {
    /* width: 480px; */
    max-width: 100px;
    height: auto;
    float: left;
    margin: 0 auto;
}

.navbar-collapse>.navbar-nav>li>a {
    color: #fff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    text-transform: capitalize;
    padding-right: 12px !important;
    padding-left: 12px !important;
    padding-top: 14px;
    padding-bottom: 12px;
    font-weight: 500;
    line-height: initial;
}

.navbar-collapse>.navbar-nav>li>a:hover {
    background-color: #f2faff;
}

.navbar-collapse>.navbar-nav>li>a.dropdown-toggle::after {
    /* float: right; */
    margin-top: 7px;
    transform: rotate(-90deg);
}

.navbar-collapse>.navbar-nav>li.dropdown.show>a.dropdown-toggle::after {
    transform: rotate(0deg);
}

.navbar-collapse>.navbar-nav>li.dropdown.show>a {
    background-color: #f2faff;
}

.navbar-collapse>.navbar-nav>.nav-item .dropdown-menu {
    background-color: #fff;
    border-radius: 0px;
    border: 0;
    margin-top: 0;
    border-bottom: 1px solid lightgray;
    padding-bottom: 0;
}

.navbar-collapse>.navbar-nav>.nav-item .dropdown-menu .dropdown-item {
    color: #000;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2;
    padding-right: 10px;
    padding-left: 14px;
    padding-top: .5rem;
    padding-bottom: .5rem;
    text-transform: capitalize;
    white-space: normal;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-clr);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 2px;
    top: 50%;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
}

.topnav-main .menu-wrap {
    position: fixed;
    display: block;
    width: 320px;
    background: var(--white-clr);
    height: 100vh;
    overflow-y: hidden;
    top: 0;
    right: -10px;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    z-index: 999;
    transform: translate(100%, 0);
}

.topnav-main .menu-wrap.show {
    height: 100vh;
    overflow-y: auto;
    transform: translate(0%, 0);
    opacity: 1;
    -webkit-box-shadow: 4px 0px 5px 2px rgb(76 15 16 / 40%);
    -moz-box-shadow: 4px 0px 5px 2px rgb(76 15 16 / 40%);
    box-shadow: 4px 0px 5px 2px rgb(76 15 16 / 40%);
}

.navbar-collapse>.navbar-nav {
    display: flex;
    width: 100%;
    height: auto;
    margin-top: 20px;
    direction: ltr;
}

.navbar-collapse>.navbar-nav>.nav-item {
    float: left;
    width: 100%;
    height: auto;
    border-bottom: 1px ridge rgba(255, 255, 255, 0.2);
}

.navbar-collapse>.navbar-nav>.nav-item .dropdown-menu .dropdown-item {
    color: #000;
    font-weight: 400;
    font-size: 14px;
    padding-right: 16px;
    padding-left: 16px;
    /* text-transform: uppercase; */
}

.navbar-collapse>.navbar-nav>.nav-item .dropdown-menu .dropdown-item:focus {
    color: var(--white);
    background-color: var(--primary-clr);
}

.dropdown-submenu .dropdown-menu {
    background-color: #ffdede !important;
    box-shadow: inset 0 5px 10px -6px #00000024 !important;
}

.dropdown-submenu a::after {
    right: 12px;
    top: 1em;
}

.navbar-collapse>.navbar-nav>li>a {
    color: var(--primary-clr);
    font-weight: 500;
    padding-top: 14px;
    padding-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-collapse>.navbar-nav>li>a:hover {
    background-color: var(--primary-clr);
    color: var(--white-clr);
}

.navbar-collapse>.navbar-nav>li.dropdown.show>a {
    background-color: #7b1b1b;
    color: var(--white-clr);
}


.nav-menu-btn>label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 30px;
    height: 50px;
    float: left;
    margin-bottom: 0;
}

.nav-menu-btn>label>span {
    width: 100%;
    height: 2px;
    background: var(--primary-clr);
    margin-bottom: 6px;
    border-radius: 4px;
    display: block;
    float: right;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.nav-menu-btn>label>span:nth-child(2) {
    width: 80%;
}

.nav-menu-btn>label>span:nth-child(3) {
    width: 60%;
}

.nav-menu-btn>label>span:last-child {
    margin-bottom: 0;
}

.nav-menu-btn[aria-expanded="true"]>label>span {
    opacity: 1;
    transform: rotate(45deg) translate(-6px, -8px);
    background: var(--primary-clr);
    width: 100%;
}

.nav-menu-btn[aria-expanded="true"]>label>span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

.nav-menu-btn[aria-expanded="true"]>label>span:nth-last-child(2) {
    transform: rotate(-45deg) translate(2px, 0);
}

.menu-wrap .nav-item .nav-link {
    white-space: break-spaces;
}

/* menu backdrop */
.topmain-nav-backdrop {
    position: fixed;
    z-index: -1;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    min-height: inherit;
    background-color: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    transition: all 0.3s ease;
}

.topmain-nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Footer  */
footer {
    margin-top: auto;
    background-color: #F9F6F1;
}

.footer-logo {
    display: flex;
    justify-content: start;
    align-items: center;
}

.footer-logo img {
    width: 60px;
    height: 60px;
}

.footer-links h6 {
    font-family: 'Roboto Serif', serif;
    font-weight: 500;
    color: var(--primary-clr);
    text-transform: uppercase;
    margin-top: 1rem;
}

.footer-links ul li {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--sub-text-clr);
}

.footer-links ul li i {
    color: var(--primary-clr);
    margin-right: 6px;
    font-size: 16px;
    margin-top: 3px;
}

footer hr {
    border-top-color: #90021346;
}

.copyright {
    font-size: 12px;
    color: var(--primary-clr);
}

@media(min-width:378px) {
    .nav-menu-btn-sm {
        display: none;
    }
}

@media(max-width:586px) {
    .topnav-main .navbar-header {
        justify-content: start;
    }
}

@media(max-width:786px) {
    .topnav-main {
        position: sticky !important;
    }
}

@media (min-width:768px) {
    .navbar-header .navbar-brand img {
        width: 60px;
        height: 60px;
    }

    .footer-logo img {
        width: 60px;
        height: 60px;
    }
}

@media (min-width:992px) {
    .navbar-header .navbar-brand img {
        width: 80px;
        height: 80px;
    }

    .footer-logo img {
        width: 80px;
        height: 80px;
    }
}

@media (min-width:1400px) {
    .navbar-header .navbar-brand img {
        width: 100px;
        height: 100px;
    }

    .footer-logo img {
        width: 100px;
        height: 100px;
    }
}

/* Inner page common styles */
.inner-content {
    position: relative;

}

.inner-content::before,
.inner-content::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
}

/* Left image */
.inner-content::before {
    left: 0;

    margin-left: -150px;
    background-image: url("../images/be-af-img.png");
}

/* Right image */
.inner-content::after {
    margin-right: -150px;
    right: 0;
    top: 0;
    transform: scaleX(-1);
    background-image: url("../images/be-af-img.png");
}

.breadcrumbs {
    height: 380px;
    background-size: cover;
    width: 100%;
    background-position: bottom;
}

.breadcrumbs .breadcrumbs-box h1 {
    font-size: clamp(1.125rem, 0.7813rem + 1.7188vw, 2.5rem);
    text-align: center;
}

@media(max-width:992px) {
    .breadcrumbs {
        height: 380px;
    }
}

@media(max-width:768px) {
    .breadcrumbs {
        height: 280px;
    }
}

@media(max-width:568px) {
    .breadcrumbs {
        height: 180px;
    }
}

/* Hero banner */
.hero-carousel .carousel-item {
    position: relative;
    height: 600px;
    
}
@media(max-width:992px){
    .hero-carousel .carousel-item {
        height: auto;
    }
    }

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-caption {
    bottom: unset;
    text-align: left;
    top: 120px;
    width: 50%;
    left: 10%;
}

.hero-carousel .carousel-caption .slide-logo {
    width: 100px;
    height: 100px;
}

.hero-carousel .carousel-caption h6 {
    font-size: clamp(1rem, 0.9375rem + 0.3125vw, 1.25rem);
    font-weight: 500;
    color: #FEE8B3;
    text-transform: uppercase;
}

.hero-carousel .carousel-caption h3 {
    font-size: clamp(1.75rem, 1.3438rem + 2.0313vw, 3.375rem);
    font-family: "Roboto Serif", serif;
    font-weight: 400;
}

.hero-carousel .carousel-caption p {
    font-size: clamp(0.875rem, 0.8438rem + 0.1563vw, 1rem);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-carousel .carousel-control-next,
.hero-carousel .carousel-control-prev {
    height: 50px;
    top: 50%;
}

.hero-carousel .carousel-control-prev {
    left: unset;
    right: 0;
    top: 65%;
}

.hero-carousel .carousel-control-next-icon,
.hero-carousel .carousel-control-prev-icon {
    width: 50px;
    height: 50px;
}

.hero-carousel .carousel-control-next-icon {
    background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2259%22%20height%3D%2259%22%20viewBox%3D%220%200%2059%2059%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M29.1221%200.35376C45.1383%200.35376%2058.1221%2013.3375%2058.1221%2029.3538C58.1221%2045.37%2045.1383%2058.3538%2029.1221%2058.3538C13.1058%2058.3538%200.12207%2045.37%200.12207%2029.3538C0.12207%2013.3375%2013.1058%200.35376%2029.1221%200.35376ZM29.1221%201.23755C13.5941%201.23755%201.00586%2013.8258%201.00586%2029.3538C1.00586%2044.8817%2013.5941%2057.47%2029.1221%2057.47C44.65%2057.47%2057.2383%2044.8817%2057.2383%2029.3538C57.2383%2013.8258%2044.65%201.23755%2029.1221%201.23755ZM40.4482%2029.0559L40.7207%2029.3538L40.4482%2029.6516L34.0479%2036.6516L33.3955%2036.0559L39.1191%2029.7961H20.1221V28.9114H39.1191L33.3955%2022.6516L34.0479%2022.0559L40.4482%2029.0559Z%22%20fill%3D%22white%22/%3E%3C/svg%3E
);
}

.hero-carousel .carousel-control-prev-icon {
    background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2258%22%20height%3D%2258%22%20viewBox%3D%220%200%2058%2058%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M29%200C45.0163%200%2058%2012.9837%2058%2029C58%2045.0163%2045.0163%2058%2029%2058C12.9837%2058%200%2045.0163%200%2029C0%2012.9837%2012.9837%200%2029%200ZM29%200.883789C13.472%200.883789%200.883789%2013.472%200.883789%2029C0.883789%2044.528%2013.472%2057.1162%2029%2057.1162C44.528%2057.1162%2057.1162%2044.528%2057.1162%2029C57.1162%2013.472%2044.528%200.883789%2029%200.883789ZM25.7266%2022.2979L20.0029%2028.5576H39V29.4424H20.0029L25.7266%2035.7021L25.0742%2036.2979L18.6738%2029.2979L18.4014%2029L18.6738%2028.7021L25.0742%2021.7021L25.7266%2022.2979Z%22%20fill%3D%22white%22/%3E%3C/svg%3E
);
}

@media(max-width:991px) {
    .hero-carousel .carousel-caption {
        top: 50px;
        width: 80%;
    }

    .hero-carousel .carousel-caption .slide-logo {
        width: 70px;
        height: 70px;
    }

    .hero-carousel .carousel-caption h6 {
        font-size: 1rem;
    }

    .hero-carousel .carousel-caption h3 {
        font-size: 1.75rem;
    }

    .hero-carousel .carousel-caption p {
        font-size: .875rem;
    }

    .hero-carousel .carousel-control-prev {
        left: 0;
        ;
        right: unset;
        top: 50%;
    }
}

@media(min-width:992px) {
    .hero-carousel .carousel-caption {
        top: 100px;
    }
}

/* Flash news  */
.flash_news_sec {
    width: 100%;
    height: auto;
    /* float: left; */
    background-color: transparent;
    position: relative;
}

.marquee_container {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: var(--main-text-clr);
}

.marquee_container .title {
    font-size: 16px;
    font-weight: 400;
    line-height: initial;
    color: var(--white-clr);
    background-color: var(--primary-clr);
    padding: 10px 15px;
    float: left;
    width: 285px;
    justify-content: end;
    font-family: 'Roboto Serif', serif;
}

.marquee_container .content {
    display: flex;
    width: 100%;
    /* padding-left: 15px;
    padding-right: 15px; */
    padding: 8px 0px;
    background-color: #F9F6F1;
}

.marquee_container .flash-news-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--sub-text-clr);
    margin-right: 10px;
    border-right: 1px solid var(--secondary-clr);
    padding-right: 10px;
}

@media(max-width:768px) {
    .marquee_container .title {
        display: none !important;
    }

    .marquee_container .content {
        background-color: var(--primary-clr);
    }

    .marquee_container .flash-news-link {
        color: var(--white-clr);
    }
}

@media(max-width:992px) {
    .marquee_container .title {
        width: 200px;
    }
}

/* About section */
.sub-heading {
    font-size: clamp(1rem, 0.875rem + 0.625vw, 1.5rem);
    font-family: 'Roboto Serif', serif;
    color: var(--primary-clr);
    position: relative;
    margin-left: 40px;
    font-weight: 400;
}

.sub-heading::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background-color: var(--primary-clr);
    top: 50%;
    left: -40px;
}

.main-heading {
    font-size: clamp(1.25rem, 1.0625rem + 0.9375vw, 2rem);
    font-family: 'Roboto Serif', serif;
    color: var(--main-text-clr);
}

.para-text {
    font-size: 14px;
    color: var(--sub-text-clr);
}

.about-card img {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.about-card .about-content h6 {
    font-family: 'Roboto Serif', serif;
    color: var(--main-text-clr);
}

.service-block {
    padding: 10px;
    border-radius: 10px;
    background-color: var(--white-clr);
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 5%);
    position: relative;
    background-image: url("../images/service-bg.svg");
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
}

.service-block img {
    position: absolute;
    top: 0;
    right: 18px;
    height: 40px;
}

.service-block h5 {
    font-size: clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem);
    width: 80%;
}

.service-block .service-content {
    max-height: 300px;
    overflow: hidden;
    margin-bottom: 1rem;
}

@media(max-width:1200px) {
    .service-block {
        background-size: 30%;
    }
}

/* Organization carousel */
.owl-theme .owl-nav [class*=owl-] {
    background: transparent !important;
}

.owl-theme .owl-nav [class*=owl-] img {
    width: 50px;
    height: 50px;
}

.org-carousel-bg {
    background: #F9F6F1;
}

.org-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
}

.carousel-card-item {
    max-width: 240px;
}

.carousel-card-item * {
    transition: all 0.3s ease-in-out;
}

.carousel-card-item img {
    height: 100%;
    aspect-ratio: 3/4;
}

.carousel-card-item h5 {
    font-family: 'Roboto Serif', serif;
}

.carousel-card-item p {
    font-size: 12px;
    color: var(--white-clr);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-item a {
    font-size: 12px;
    color: var(--white-clr);
    margin-bottom: 8px;
    background: transparent;
    border-color: var(--white-clr);
}

.carousel-card-item .carousel-card-context {
    height: 0;
    overflow: clip;
    visibility: hidden;
    interpolate-size: allow-keywords;
}

.carousel-card-item:hover .carousel-card-context {
    height: auto;
    visibility: visible;
}

.carousel-card-item.card-item::before {
    background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 0%), rgb(0 0 0 / 80%));
    opacity: 0.8;
}

.carousel-card-item.card-item:hover::before {
    background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 20%), rgb(0 0 0 / 100%));
    opacity: 1;
}

@media(max-width:768px) {
    .org-carousel .owl-nav {
        position: relative;
        top: unset;
        right: unset;
    }
}

/* Upcoming events */
.event-card {
    display: flex;
    gap: 10px;
    border: 1px solid #ECECEC;
    border-radius: 10px;
    padding: 10px;
}

.event-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    aspect-ratio: 1/1;
}

.event-card .event-content h6 {
    font-size: clamp(0.875rem, 0.8438rem + 0.1563vw, 1rem);
    color: var(--main-text-clr);
}

.event-card .event-content p {
    font-size: 12px;
    color: var(--sub-text-clr);
    margin-bottom: 0;
}

.event-card a {
    width: fit-content;
    font-size: 12px;
    background-color: var(--primary-clr) !important;
    color: var(--white-clr);
    font-family: 'Roboto Serif', serif;
}

@media(max-width:568px) {
    .event-card {
        flex-direction: column;
    }

    .event-card img {
        width: 100%;
        ;
        height: 200px;
    }
}

/* latest news carousel */
.carousel-card-item-news {
    width: 300px;
}

.carousel-card-item-news .card-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.carousel-card-item-news .card-info-news h5 {
    font-family: 'Roboto Serif', serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-item-news .card-info-news {
    background-color: var(--white-clr);
    box-shadow: 0px 4px 18px -2px rgba(243, 243, 234, 100%);
    min-height: 130px;
}

.carousel-card-item-news .carousel-card-context p {
    font-size: 12px;
    color: var(--sub-text-clr);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-item-news .carousel-card-context a {
    font-size: 12px;
    color: var(--primary-clr);
}

.carousel-card-item-news .carousel-card-context .stamp {
    font-size: 12px;
    color: gray;
}

/* message of month */
.mom-bg {
    background: linear-gradient(-90deg, rgba(254, 232, 179, 0.90) 0%, rgba(254, 232, 179, 0.90) 100%), url(../images/banner-bg.png) no-repeat center center;
    background-attachment: fixed;
}

.mom-bg .btn-secondary {
    background-color: transparent;
}

.mom-bg .btn-secondary:hover {
    background-color: var(--primary-clr);
    color: var(--white-clr);
}

/* Classified */
.custom-nav-pills {
    gap: 1rem;
}

.custom-nav-pills .nav-item .nav-link.active {
    background-color: var(--primary-clr);
    color: var(--white-clr);
    border: 1px solid var(--primary-clr);
    border-radius: 50px;
    font-family: 'Roboto Serif', serif;
}

.custom-nav-pills .nav-item .nav-link {
    background-color: transparent;
    color: var(--primary-clr);
    border: 1px solid var(--primary-clr);
    border-radius: 50px;
    font-family: 'Roboto Serif', serif;
}

.custom-nav-pills .nav-item .nav-link:focus {
    box-shadow: none;
}

.job-info h6 {
    font-size: clamp(1.125rem, 1.0938rem + 0.1563vw, 1.25rem);
    font-weight: 600;
}

.contact-info i {
    color: var(--primary-clr);
}


/******************** image card style ********************/
.card-item {
    position: relative;
    max-width: 255px;
    margin-bottom: 10px;
    margin-inline: auto;
}

.card-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 20%), rgb(0 0 0 / 100%));
    z-index: 1;
}

.card-item .card-images-info {
    position: absolute;
    z-index: 10;
    bottom: 0;
    color: #ffffff;
}

.card-item .card-image img {
    height: 300px;
    object-fit: cover;
    background-position: center;
}

/****************** image card style end ********************/
/* ******************************************************************************************************************** */
/********************** login style *************************/
.container-login {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-login::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* black overlay with 50% opacity */
    z-index: 1;
}

.wrapper {
    width: 420px;
    background-color: rgba(16 18 27 / 40%);
    border: 2px solid rgba(255, 255, 255, 02);
    backdrop-filter: blur(20px);
    color: #fff;
    border-radius: 10px;
    padding: 30px 40px;
    z-index: 5;
    position: relative;
}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box {
    position: relative;
    width: 100%;
    /* height: 50px; */
    margin: 15px 0;
}

.input-box input {
    width: 100%;
    /* height: 50px; */
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    font-size: 14px;
    color: #fff;
    padding: 10px 15px;
}

.input-box input::placeholder {
    color: #fff;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    background-color: #fff;
    border: none;
    outline: none;
    margin-top: 20px;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.wrapper .btn:hover {
    background-color: #900212;
    color: #fff;
}

.wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
}

.register-link p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover {
    text-decoration: underline;
}

.wrapper .register-link a {
    color: #fff;
    font-size: 13px;
}

/********************** login style end*************************/
/* ******************************************************************************************************************** */
/********************* inner banner *************************/
.log-inner-banner {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100px;
    width: 100%;
}

.inner-banner-white {
    height: 100px;
    width: 100%;
    /* max-width: 500px; */
    background-color: white;
    position: relative;
}

.inner-banner-white::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 150px solid rgb(255, 255, 255);
    border-top: 100px solid transparent;
    z-index: 2;
    margin-right: -148px;
}

.card-profile {
    max-width: 400px;
    border-radius: 100px 20px 20px 100px !important;
}
.log-inner-banner .inner-banner-white h3 {
    font-size: 1.3rem;
}

@media(max-width:768px) {
    .card-profile {
        border-radius: 100px 20px 20px 100px !important;
    }

    .card-profile h6 {
        font-size: 12px !important;
    }
}

.log-inner-banner .inner-banner-white h3 {
    color: var(--primary-clr);
}

@media(max-width:768px) {
    .log-inner-banner .inner-banner-white h3 {
        font-size: 1.2rem;
    }
}

/************************* inner banner end *************************/
/* ******************************************************************************************************************** */
/************************* Parish Directory *************************/


/* grid list style */
/* .list-view .row > [class*='col-'] {
    max-width: 100%;
    flex: 0 0 100%;
} */
.list-view .card {
    flex-direction: row;
}

.list-view .card>.card-img-top {}

.list-view .card .card-body {
    display: inline-block;
}

.search-form {
    margin: 0;
}

.search-form .input-group {
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 50px;
    overflow: hidden;
    overflow: visible;
    background-color: var(--surface-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-form .input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.search-form .input-group .form-control {
    border: none;
    padding: 16px 16px;
    font-size: 16px;
    background-color: transparent;
    color: var(--default-color);
}

.search-form .input-group .form-control::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
}

.search-form .input-group .form-control:focus {
    box-shadow: none;
}

.search-form .input-group .btn {
    background-color: #900212;
    color: white;
    padding: 0 25px;
    border: none;
    transition: all 0.3s ease;
    border-radius: 50px !important;
}

.search-form .input-group .btn:hover {
    background-color: rgb(0, 141, 19);
}

.search-form .input-group .btn i {
    font-size: 16px;
}

@media (max-width: 766px) {
    .grid-container .card-img-top {
        aspect-ratio: 1 / 1;
        width: 80px;
        height: 80px;
        border-radius: 14px;

    }

    .grid-container .card-id span {
        font-size: 20px !important;
    }

    .inner-banner-white::after {
        background-color: var(--white-clr);
    }
}

.grid-container .member-card {
    position: relative;
    isolation: isolate;
}

.grid-container .member-card p {
    font-size: 12px;
    text-box-trim: trim-both;
}
.grid-container .member-card h6{
    font-size: 15px;
    margin-bottom: 4px;
}

.grid-container .member-card a {
    font-size: 12px;
    color: var(--primary-clr);
    text-box-trim: trim-both;
}

.grid-container .card-img-top {
    object-fit: cover;
    aspect-ratio: 1 / 1;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    object-position: top;
}

.grid-container .member-card::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    background-color: #90021328;
    z-index: -1;
    border-radius: 18px;
    top: 12px;
    left: 12px;
    rotate: 45deg;
}

.grid-container .card-id span {
    font-size: 24px;
    color: #900212;
}
#pagination{
    font-size: 12px;
}
#pagination button{
    font-size: 12px;
}
.pagination .page-item.active .page-link{
    background-color: var(--primary-clr);
    border-color: var(--primary-clr);
    color: var(--white-clr);
}
.pagination .page-item .page-link{
    color: var(--primary-clr);
    transition: all 0.3s ease;
}
.pagination .page-item .page-link:focus{
    box-shadow: none;;
}

@media(max-width:568px) {}

/************************* Parish Directory End*************************/
/************************* Family Members *************************/
.profile-details .profile-img {
    width: 150px;
    height: auto;
    border-radius: 5px;
    border: 4px solid var(--primary-clr);
    aspect-ratio: 3/4;
}

@media(min-width:991px) {
    .profile-details .profile-img {
        transition: all 0.35s ease-in-out;
        background-position: center;
        object-fit: cover;
        background-size: cover;
    }

}

.Status-btn {
    background-color: green;
    border-radius: 24px;
    text-align: center;
    color: white;
}

/************************* Family Members end *************************/


/* Cards style for all areas */
.post-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f7f8f8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.2s;
    color: black;
    text-decoration: none;
}

.post-box-thumbnail-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    flex: 0 0 auto;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    overflow: hidden;
    transition: clip-path 0.2s;
}

.post-box-thumbnail {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    transition: transform 0.3s;
}

.post-box-thumbnail img {
    width: 100%;
    height: 100%;
}

.post-box-thumbnail-wrapper:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: linear-gradient(to top,
            rgba(136, 27, 132, 0.2),
            rgba(162, 77, 211, 0.03));
}

.post-box-content-wrapper {
    padding: 1rem;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.post-box-title {
    color: #152732;
    margin-top: -3rem;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2rem;
}

.post-box-title span {
    /* display: inline; */
    display: inline-block;
    /* background-color: var(--primary-clr); */
    background-color: #fff;
    /* padding: 0.2rem 0.6rem; */
    padding: 1rem 1rem 0.2rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    border-radius: 10px;
    text-align: center;
    box-shadow: rgba(50, 50, 93, 0.075) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.123) 0px -2px 6px 0px inset;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-box-disc {
    font-size: 14px;
    line-height: 1.2;
}

.post-box-read-more {
    padding-bottom: 3px;
    display: inline;
    background-image: linear-gradient(#b0252b, #b0252b);
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: left bottom;
    transition: background-size 0.3s;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-clr);
}

.post-box-read-more:hover {
    text-decoration: none;
    color: #7b1b1b;
}

/* hover state */
.post-box:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.171);
}

.post-box:hover .post-box-thumbnail-wrapper {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.post-box:hover .post-box-thumbnail {
    transform: scale(1.1);
}

.post-box:hover .post-box-read-more {
    background-size: 30% 2px;
}

/* Gallery */
.gallery .sec-title {
    text-align: center;
    color: #000;
    margin-bottom: 10px;
}

.gallery .sec-title::after {
    border-color: var(--primary-clr);
}

.gallery-bx {
    width: 100%;
    height: auto;
    float: left;
    background-color: #f2faff;
    padding: 10px;
    box-shadow: 2px 2px 10px -7px #787878;
}

.gallery-bx .bx-img {
    width: 100%;
    height: 200px;
    float: left;
}

.gallery-bx .bx-cnt {
    width: 100%;
    height: auto;
    float: left;
    padding-top: 14px;
    padding-bottom: 4px;
}

.gallery-bx .bx-cnt h6 {
    font-size: 16px;
    color: #000;
    text-align: center;
    margin-bottom: 0;
}

.gallery .gallery-btn-sec {
    text-align: center;
    margin-top: 40px;
}

.gallery .gallery-btn-sec .btn-cmn {
    background-color: var(--primary-clr);
    color: #fff;
    border-color: var(--primary-clr);
}

.gallery-wrap {
    width: 100%;
    height: auto;
    float: left;
}

ul.imglist {
    width: 100%;
    height: auto;
    float: left;
    margin-bottom: 10px;
}

ul.imglist li {
    display: block;
    float: left;
    margin-bottom: 12px;
    width: 33.333333%;
    padding-left: 10px;
    padding-right: 10px;
}

ul.imglist li a img {
    display: block;
    width: 100%;
    height: 200px;
    float: left;
}

.hover-scale .bx-img {
    overflow: hidden;
}

.hover-scale .bx-img img {
    position: relative;
    width: 100%;
    display: block;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.hover-scale:hover .bx-img img {
    opacity: 1;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

/* Downloads */
ul.downloads-wrap {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-inline-start: 0;
}

ul.downloads-wrap>li {
    width: 50%;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 10px;
}

.downloads-bx {
    background-color: #f2faff;
    width: 100%;
    height: 100%;
    float: left;
    padding: 10px;
    box-shadow: 2px 2px 10px -7px #787878;
    display: flex;
    align-items: center;
}

.downloads-bx .bx-icon {
    width: 20%;
    height: 100%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.downloads-bx .bx-icon i {
    font-size: 30px;
    color: var(--primary-clr);
}

.downloads-bx .bx-cnt {
    width: 80%;
    height: auto;
    float: left;
}

.downloads-bx .bx-cnt h6 {
    margin-bottom: 0;
    color: #000;
}

@media(max-width:768px) {

    ul.downloads-wrap>li {
        width: 100%;
    }
}

/* profile section */
@media(min-width:991px) {
    .profile-details .profile-img {
        transition: all 0.35s ease-in-out;
        position: relative;
        background-position: center;
        object-fit: cover;
        background-size: cover;
    }

}

.Status-btn {
    background-color: green;
    border-radius: 24px;
    text-align: center;
    color: white;
    font-size: 14px;
}

/* Loader */
.spinner-load {
    width: 100%;
}

.spinner-load i {
    font-size: 2rem;
    color: var(--primary-clr);
    text-align: center;
    display: block;
}

@media(max-width:768px) {
    .name-tag {
        flex-direction: column;
        justify-content: center !important;
    }
}