/* Custom CSS */

/*red color: #e5613f*/
/*green color: #c2e595*/
/*@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Lora:ital,wght@0,400..700;1,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root{
    --color-red: #e5613f ;
    --color-green: #c2e595;
    --primary-color: #28a745;
    --color-light-green: #f6f9f4;
    --primary-hover: #218838;
    --accent-color: #ffc107;
    --gray-color: #F8F9FA;
    --dark-shade: #555;
    --white-color: #fff;
    --top-a-color: #ffffffc2;
    --secondary-color: #2c3e50;
    --highlight-color: #f1c40f;
}

*{

    /*font-family: "Roboto", sans-serif;*/
    /*font-family: "Big Shoulders", sans-serif;*/
}
body {
    font-family: "Lora", sans-serif;
    width: 100%;
    overflow-x: hidden;
}

/*utilities*/
.bg-gray{
    background: var(--gray-color) !important;
}


.bg-green{
    background: var(--color-green) !important;
}
.text-green{
    color: var(--color-green) !important;
}

.bg-red{
    background: var(--color-red) !important;
}

.text-red{
    color: var(--color-red) !important;
}

.text-dark-shade{
    color: var(--dark-shade) !important;
}

.text-italic {
    font-style: italic;
}

.border-bar{
    display: block;
    width: 71px;
    height: 5px;
    background-color: var(--color-red);
    margin: 8px auto;
}

.be-vietnam-pro-thin {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.be-vietnam-pro-extralight {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.be-vietnam-pro-light {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.be-vietnam-pro-regular {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.be-vietnam-pro-medium {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.be-vietnam-pro-semibold {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.be-vietnam-pro-bold {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.be-vietnam-pro-extrabold {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.be-vietnam-pro-black {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.be-vietnam-pro-thin-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.be-vietnam-pro-extralight-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.be-vietnam-pro-light-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.be-vietnam-pro-regular-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.be-vietnam-pro-medium-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.be-vietnam-pro-semibold-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.be-vietnam-pro-bold-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.be-vietnam-pro-extrabold-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.be-vietnam-pro-black-italic {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 900;
    font-style: italic;
}

/*Backgrounds*/

.diagonal-stripe-pattern{
    background-image: repeating-linear-gradient(45deg, #e5613f, #e5613f 20px, #c2e595 20px, #c2e595 40px, #ffc107 40px, #ffc107 60px, #fff 60px, #fff 80px, #000 80px, #000 100px);
}

.animated-bg {
    background-image: repeating-linear-gradient(
        45deg,
        #e5613f,
        #e5613f 20px,
        #c2e595 20px,
        #c2e595 40px,
        #ffc107 40px,
        #ffc107 60px,
        #fff 60px,
        #fff 80px,
        #000 80px,
        #000 100px
    );
    background-size: 200% 200%;
    animation: move-bg 5s ease-in-out infinite;
}
@keyframes move-bg {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}


.avatar-circle {
    width: 100%;
    height: 321px;
    /*border-radius: 50%;*/
    background-color: var(--color-light-green);
    color: var(--color-red);
    font-weight: bold;
    font-size: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/*main content*/

.main-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.top-header .container{
    padding: 0;
}

.mega-menu .container{
    padding: 15px;
}

.top-header .quick-links-bar a{
    color: var(--top-a-color);
    text-decoration: none;
}

.top-header .link-block .me-4 {
    margin-right:1.87rem !important
}

.top-bar {
    background: linear-gradient(to right, #D32F2F, #FF8F00);
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    color: var(--white-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.contact-item i {
    font-size: 16px;
}

.main-header {
    background: #f9f9f9;
    display: flex;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.logo-section {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: white;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.logo {
    max-width: 120px;
    height: auto;
}

.title-section {
    width: 60%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.assembly-name {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.pattern-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    z-index: -1;
}

.quick-links-bar {
    background: #333;
    display: flex;
    justify-content: flex-end;
    padding: 0;
}

.quick-links {
    display: flex;
    justify-content: flex-end;
}

.quick-link {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.2s ease;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.quick-link:hover,
.quick-link.active{
    background: var(--color-red);
}

.date {
    font-weight: 500;
}

.tagline{
    color: #666; font-size: 16px;
}

.cursive{
    font-family: 'Pacifico', cursive;
}

@media screen and (max-width: 992px) {

    .main-wrapper{
        margin-top: 0;
    }
    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .contact-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .quick-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .quick-link {
        border: none;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .main-header {
        flex-direction: column;
    }

    .logo-section {
        width: 100%;
        clip-path: none;
    }

    .title-section {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .assembly-name {
        font-size: 28px;
    }
}


.btn-primary{
    background: var(--color-green);
    border-color: var(--color-green);;
}

.btn-primary:hover{
    background: var(--color-red);
    border-color: var(--color-red);;
}

.btn-primary:focus{
    background: var(--color-green);
    border-color: var(--color-red);
    box-shadow: 0 0 0 .25rem var(--color-red);

}


.btn-outline-primary {
    color: var(--color-red);
    border-color: var(--color-red);
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 .25rem var(--color-red);
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--color-red);
    border-color: var(--color-red);
}

.navbar {
    position: relative;
    z-index: 1050;
    padding-bottom: 0;
    border-top: 3px solid var(--color-red);
}
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.fixed-nav {
    max-width: 1200px;
    margin: 0 auto;
}

/*.mega-menu {*/
/*    position: absolute;*/
/*    top: 100%;*/
/*    left: 50% !important;*/
/*    transform: translateX(-50%) !important;*/
/*    width: 100%;*/
/*    z-index: 1100; !* Ensure it appears above other elements *!*/
/*    background: white; !* Ensure visibility *!*/
/*    display: none; !* Initially hidden *!*/
/*}*/

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
    /*display: block;*/
    margin-top: 0;
}

.mega-menu h5{
    text-transform: uppercase;
    font-weight: 700;
}


.bodi-logo {
    height: 150px;
}

.search-button {
    background-color: #0099cc;
    border-color: #0099cc;
}

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center center;
    min-height: 300px;
    background-image: url('../images/hero.jpg');
    margin-bottom: -15px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*background-color: rgba(0, 0, 0, 0.3);*/
    /*color: white;*/
    /*text-align: center;*/
}

.hero-section .jumbotron-body {
    background-color: rgba(17, 17, 17, 0.2);
}

.jumbotron-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    display: inline-block;
    cursor: pointer;
}

.hero-title span .letter {
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-title span:hover .letter {
    animation-name: wave;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.z-index-1{
    z-index: 1;
}

.navbar .nav-link {
    font-weight: 700;
    color: var(--color-red) !important;
    text-transform: uppercase !important;
    border-bottom: 4px solid transparent;
    display: inline-block;
}

.navbar .nav-link.active{
    color: var(--dark-shade) !important;
}

.nav-item{
    padding: 0.5rem 0;
    border: 4px dashed transparent;
}

.nav-item.active {
    margin: 0;
    background: var(--color-light-green);
    border-top: 4px dashed var(--color-red);
    border-left: 4px dashed var(--color-red);
    border-right: 4px dashed var(--color-red);
    border-bottom: none;
}

.nav-item:hover .nav-link{
    color: var(--dark-shade) !important;
    transition: none;
    /*border-bottom: 4px solid var(--color-red);*/
}

.nav-item:hover .nav-link span,
.nav-item .nav-link.active span{
    transition: none;
    border-bottom: 4px solid var(--color-red);
    padding-bottom: .5rem;
}


.dropdown-toggle::after {
    display: none;
}

.nav-item .nav-link .nav-arrow {
    font-size: 0.8rem;
}

.navbar .dropdown-menu {
    border-radius: 0;
    border: none;
    /*box-shadow: 0 8px 16px rgba(0,0,0,0.1);*/
}

.dropdown-item{
    line-height: 1.3;
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-family: "Roboto",sans-serif;
    transition: color 0.2s, padding-left 0.2s;
}

.dropdown-item:focus {
    color: var(--color-red);
    background-color: transparent;
}


.dropdown-item:hover{
    background-color: transparent;
    text-decoration: underline;
    padding-left: 22px;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: inherit;
    outline: 0;
    box-shadow: none;
}

.single-drop-menu{
    background: var(--color-light-green);
    width: 100%;
    box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

/*.dropdown-menu.mega-menu {*/
/*    padding: 30px;*/
/*    background: var(--color-green);*/
/*}*/
.dropdown-menu[data-bs-popper]{
    margin-top: 0;
}

/* Mega menu styling */
.dropdown-menu.mega-menu {
    width: 100%;
    border-radius: 0 0 8px 8px;
    margin-top: 0;
    padding: 25px 0;
    border: none;
    box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Category column styling */
.category-column {
    padding: 0 15px;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light-green);
    color: var(--color-red);
    border-radius: 8px;
    margin-right: 15px;
    font-size: 1.2rem;
}

.category-title {
    color: #2b5329;
    font-weight: bold;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Program list styling */
.program-list {
    list-style: none;
    padding-left: 55px;
    margin-bottom: 15px;
}

.program-item {
    margin-bottom: 10px;
}

.program-link {
    color: #444;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: block;
    position: relative;
    padding: 5px 0;
    font-family: "Roboto",sans-serif;
}

.program-link:hover {
    color: #4a8f3d;
    padding-left: 5px;
    text-decoration: underline;
}

.program-link:hover::before {
    opacity: 1;
}

/* Featured program card */
.featured-program {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.featured-program:hover {
    transform: translateY(-5px);
}

.featured-img {
    height: 120px;
    background-size: cover;
    background-position: center;
}

.featured-body {
    padding: 15px;
    background-color: white;
}

.featured-title {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #2b5329;
}

.featured-text {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0;
}

/* View more button */
.view-more {
    display: inline-block;
    margin-left: 55px;
    color: #4a8f3d;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

.view-more:hover {
    color: #2b5329;
}

.view-more i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.view-more:hover i {
    transform: translateX(3px);
}

/* Background styling */
.mega-menu {
    background-color: #f9fbf7;
    background-image: linear-gradient(120deg, #f9fbf7, #f2f7f0);
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .category-column {
        margin-bottom: 25px;
    }

    .featured-program {
        margin-bottom: 15px;
    }
}

/*News*/
.news-item {
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 100%;
    object-fit: cover;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}


/*//*/


.page-header {
    /*background-color: #fff;*/
    /*padding: 20px 0;*/
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
}

.quicklinks-title {
    color: #333;
    position: relative;
    /*padding-bottom: 10px;*/
    /*margin-bottom: 40px;*/
}

.quicklinks-title span {
    color: var(--color-red);
}

.quick-links-area .card {
    background: transparent;
    border: none;
    border-radius: 0;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.05);*/
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.quick-links-area .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.quick-links-area .card-title {
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-align: left;
}

.quick-links-area .card-title a{
    text-decoration: none;
    color: var(--primary-color);
}

.quick-links-area .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 40px;
    background-color: var(--color-red);
}

.icon-container {
    width: 70px;
    height: 70px;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 2px solid var(--primary-color);*/
    border-radius: 8px;
}

.icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-container i {
    font-size: 32px;
    color: var(--white-color);
}

.quick-links-area .card-body {
    text-align: center;
    padding: 25px 15px;
}

.quick-links-area .card-text {
    color: #6c757d;
    font-size: 0.95rem;
    text-align: left;
}


/*Programs and initiatives*/

.programs-initiatives .card {
    height: 100%;
    transition: transform 0.2s ease-in-out;
    border: 1px solid #ccc;
    text-decoration: none;
    color: inherit;
}
.programs-initiatives .card:hover,
.programs .card:hover,
.officials  .card:hover{
    box-shadow: 0 16px 30px -18px rgba(130, 130, 130, 0.8);
    transition: transform 0.3s ease;
}

.programs-initiatives .card:hover {
    /*transform: translateY(-5px);*/
}

.programs-initiatives .card-img-top {
    height: 250px;
    object-fit: cover;
}

.programs-initiatives .section-header {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #333;
}

.programs-initiatives .section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-red);
}

.programs-initiatives  .card-title{
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-view-all,
.btn-view-all:hover{
    font-style: normal;
    font-weight: 900;
    color: var(--white-color);
    background-color: var(--color-red);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1.1875rem;
    max-width: 380px;
    width: fit-content;
    overflow: hidden;
    padding: 10px 15px;
    text-align: left;
    text-decoration: none;
    border-radius: 0;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5);
}

.icon-right-arrow {
    margin-left: 10px;
    width: 13px;
}

.btn-view-all i::after {
    content: '\f054';
    margin-left: 5px;
    transition: 150ms cubic-bezier(0.215,0.61,0.355,1);
}

.btn-view-all:hover i::after {
    content: '\f061';
}


/*find events*/
.find-events .section-header {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #333;
}

/*.tag-nyc {*/
/*    background-color: var(--color-red);*/
/*    color: white;*/
/*    font-weight: bold;*/
/*    padding: 5px 10px;*/
/*    border-radius: 4px;*/
/*    display: inline-block;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.tag-vote {*/
/*    background-color: var(--color-green);*/
/*    color: white;*/
/*}*/

/*.tag-health {*/
/*    background-color: #0070cc;*/
/*    color: white;*/
/*}*/

.map-container {
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    background: var(--color-green);
    display: flex;
    padding: 15px;
}

.map-container img{
    border: 1px solid var(--color-red);
}

.feature-link{
    text-decoration: none;
    color: inherit
}
.feature-link:hover{
    color: var(--color-red);
}

.event-list{
    max-height: 26rem;
    overflow-y: scroll;
}
.event-list  .card{
    border-left: 3px solid var(--color-red);

}
.event-item {
    padding-left: 15px;
    margin-bottom: 15px;
}

.event-item h5{
    font-weight: 600;
}

.event-date {
    color: var(--color-red);
    font-weight: bold;
}

.event-location {
    color: #666;
    font-size: 0.9rem;
}


/*Elected officials*/

.officials .section-header {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.officials-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    /*border-radius: 50%;*/
    margin: 0 auto 15px;
    display: block;
    /*border: 3px solid var(--color-red);*/
}

.official-name{
    margin-bottom: 0;
}
.role-title{
    font-weight: bold;
    color: var(--color-red);
}


/*Footer*/
footer h5{
    text-transform: uppercase;
    font-weight: bolder;
}

footer ul{
    margin-left: 15px;
}

footer ul li,
footer address{
    line-height: 2;
}
footer ul li a,
footer address{
    font-weight: bold;
}

footer .footer-icons{

}

.btn-floating{
    background: var(--color-red) !important;
}

label{
    font-weight: bold;
    margin-bottom: 0.5rem;
}
/*textarea{*/
/*    resize: none;*/
/*}*/

.contact-form .form-select,
.contact-form .form-control{
    border: 2px solid var(--dark-shade);
    box-shadow: none;
}

.contact-form .form-select:focus,
.contact-form .form-control:focus{
    border: 2px dashed var(--color-red);
    box-shadow: none;
}
.invalid-feedback{
    display: block;
}


.page-banner{
    font-family: Roboto,serif;
    font-size: 1.06rem;
    line-height: 1.5;
    padding-bottom: 2rem;
    padding-top: 2rem;
    background-position-x: 50%;
    background-size: cover;
    color: #fff;
    height: auto;
    margin-top: -17px;
}
.banner-content{
    max-width: 30rem;
    background-color: rgba(0,0,0,0.5);
    padding: 3.2rem;
    height: 100%;
}
.banner-content h1{
    font-family: 'Big Shoulders Text', serif;
}

.breadcrumb-item a{
    text-decoration: none !important;
}

.breadcrumb-item:not(.active):hover{
    text-decoration: underline !important;
}


.link-card {
    transition: all 0.3s ease;
}
.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.card-header {
    background-color: var(--color-red);
    color: white;
    font-weight: bold;
}
.link-icon {
    color: #0d6efd;
    transition: transform 0.3s ease;
}
.link-card:hover .link-icon {
    transform: translateX(5px);
}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--color-red);
    outline: 0;
    box-shadow: 0 0 0 .25rem var(--color-red);
}

.accordion-button:not(.collapsed) {
    color: var(--dark-shade);
    background-color: var(--color-green);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-item .accordion-button[aria-expanded="true"] {
    font-weight: 700;
}


.partner-logo {
    transition: all 0.3s ease;
}

.partner-logo img {
    height: 100px;
    width: 200px;
    object-fit: contain;
    background: #fff;
    padding: 12px;
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.carousel-item img {
    min-height: 350px;
}

.carousel-caption {
    background-color: rgba(0,0,0,0.6);
    border-radius: 0.25rem;
    padding: 1rem;
}

.nice-select{
    line-height: 2;
}

@media (max-width: 991px) {

    .navbar-toggler{
        margin: 0 auto 7px;
        /*margin-bottom: 7px;*/
    }

    header form{
        position: absolute;
        bottom: -47px;
        z-index: 1052;
        left: 16px;
    }

    .navbar{
        box-shadow: 0 16px 30px -18px rgba(130, 130, 130, 0.8);
    }

    .bodi-logo-col{
        text-align: center !important;
    }

    .hero-section .jumbotron-body{
        width: 80% !important;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    /*  .quick-links-area */
    .quick-links-area .page-header{
        text-align: center;
    }

    .icon-container{
        margin: 0 auto !important;
    }

    .quick-links-area .card{
        box-shadow: 0 16px 30px -18px rgba(130, 130, 130, 0.3);
    }

    .quick-links-area .card-title{
        text-align: center;
    }

    .quick-links-area .card-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        height: 3px;
        width: 40px;
        background-color: var(--color-red);
        top: auto;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .quick-links-area .card-text {
        color: #6c757d;
        font-size: 0.95rem;
        text-align: center;
    }

    .news-image {
        height: 100%;
        object-fit: cover;
        width: 100%;
        padding-top: 1rem;
    }

    .news-image .card-title {
        /*text-align: center;*/
        margin-top: 1.2rem;
    }

    .programs-initiatives .section-header{
        font-size: 1.5rem;
    }

    .btn-view-all, .btn-view-all:hover{
        width: 47%;
    }

    .programs-initiatives .ps-5,
    .programs-initiatives .pe-5{
        padding: 0 !important;
    }

    .find-events .icon-right-arrow{
        margin-left: 0;
    }

    .navbar-collapse.collapse.show{
        width: 100%;
    }

    .dropdown-menu.mega-menu {
        padding: 15px;
    }

    .dropdown-menu.mega-menu h5{
        font-size: 1rem;
    }

    .mega-menu {
        transform: translateX(0) !important;
    }
}


/*Elected Officials*/
.official .nav-pills .nav-link.active{
    background: var(--color-red)  !important;
}

.official .nav-pills .nav-link{
    border: 1px solid var(--color-red);
}


.nav-pills .nav-link {
    color: var(--secondary-color);
}

.official-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.official-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.current-official {
    border: 3px solid var(--highlight-color);
    position: relative;
}
.past-official {
    border: 3px solid #5555553b;
    box-shadow: none;
    position: relative;
}

.current-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--highlight-color);
    color: var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.official-img {
    height: 321px;
    object-fit: cover;
    object-position: top;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--color-red);
    top: 0;
    bottom: -8px;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--primary-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--primary-color);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--primary-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary-color) transparent transparent;
}

.right::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container::before {
        left: 60px;
        border: medium solid var(--primary-color);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--primary-color) transparent transparent;
    }

    .left::after, .right::after {
        left: 15px;
    }

    .right {
        left: 0%;
    }
}

/*Profile*/
.profile-header {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.profile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 30px 100px;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    position: absolute;
    bottom: -75px;
    left: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background-color: white;
}

.profile-content {
    margin-top: 100px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    color: white;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background-color: var(--color-red);
}

.detail-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: none;
}

.detail-card-header {
    background-color: var(--color-red);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

.detail-card-body {
    padding: 20px;
}

.info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.bio-content {
    line-height: 1.8;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: var(--color-red);
    transform: translateX(-3px);
}

.profile-info-badge{
    background-color: var(--highlight-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .profile-header {
        height: 300px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        bottom: -60px;
        left: 20px;
    }

    .profile-content {
        margin-top: 80px;
    }

    .profile-info h1 {
        font-size: 1.8rem;
    }
}

/*Document center*/
.document-center .card {
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.document-center .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(var(--dark-shade), 0.15);
}

.document-center .card-header {
    background-color: rgba(var(--color-red), 0.05);
    border-bottom: 2px solid rgba(var(--gray-color), 0.1);
}

.document-center .doc-link {
    color: #212529;
    text-decoration: none;
    display: flex;
    padding: 0 9px 0;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.document-center .doc-link:hover {
    background-color: rgba(var(--color-red), 0.05);
    color: var(--color-red);
}

.document-center .doc-icon {
    color: #ffc107;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.document-center .view-all-link {
    color: var(--color-red);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.document-center .document-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-left: 1rem;
}

.document-center .document-item:last-child {
    border-bottom: none;
}

/*resource list*/


.year-divider {
    border-bottom: 1px solid #dee2e6;
    color: #adb5bd;
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.document-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background-color 0.2s;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.document-item:last-child {
    border-bottom: none;
}

.document-item:hover {
    background-color: rgba(var(--color-red), 0.03);
}

.document-icon {
    color: #ffc107;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.document-link {
    color: var(--dark-shade);
    text-decoration: none;
    font-weight: 500;
}

.document-link:hover {
    color: var(--color-red);
}

.document-date {
    color: #6c757d;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.document-date i {
    margin-right: 0.5rem;
}

.category-item {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #212529;
    margin-bottom: 0.5rem;
}

.category-item:hover {
    background-color: rgba(var(--color-red), 0.05);
}

.category-item.active {
    background-color: rgba(var(--color-red), 0.1);
    color: var(--white-color);
    font-weight: 500;
}

.category-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-top: 2rem;
    }
}


/*news*/

.ama-bg-primary {
    background-color: var(--color-red);
}

.news-header {
    border-bottom: 3px solid var(--color-red);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.news-card {
    transition: transform 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-highlights .news-card{
    max-height: 13em;
}

.news-highlights .news-card .card-body{
    padding: 10px;
}


.news-img-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.featured-news-img-container {
    position: relative;
    overflow: hidden;
    min-height: 15em;
    max-height: 28em !important;
}

.news-img-container img, .featured-news-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-section .news-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--color-red);
    color: var(--white-color);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    z-index: 10;
}

.news-title {
    font-weight: bold;
    color: var(--dark-shade);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-decoration: none;
}
.news-title:hover,
.featured-news-title:hover{
    color: var(--color-red);
}

.featured-news-title {
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 15px;
    background: linear-gradient(transparent, rgba(0, 135, 81, 0.9));
    z-index: 10;
}

.ama-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 35px !important;
    height: 35px !important;
}


/*Programs & Innitiatives*/
/* Custom styles */
.bda-programs .bda-primary {
    color: var(--color-red);
}

.bda-programs .bda-bg-primary {
    background-color: var(--color-red);
}

.bda-programs .bda-bg-light {
    background-color: #f8f9fa;
}

.bda-programs .bda-bg-secondary {
    background-color: #e9f2fa;
}

.bda-programs .section-header {
    border-bottom: 3px solid var(--color-red);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.bda-programs .navbar-bda {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bda-programs .navbar-brand img {
    height: 50px;
}

.bda-programs .nav-link {
    color: #333;
    font-weight: 500;
}

.bda-programs .nav-link:hover, .nav-link.active {
    color: var(--color-red);
}

.bda-programs .breadcrumb-item a {
    color: var(--color-red);
    text-decoration: none;
}

.bda-programs .search-box {
    border-color: var(--color-red);
}

.bda-programs .search-btn {
    background-color: var(--color-red);
    color: white;
}

.bda-programs .program-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.bda-programs .program-card:hover {
    transform: translateY(-5px);
}

.bda-programs .program-img {
    height: 200px;
    object-fit: cover;
}

.bda-programs .program-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-red);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.bda-programs .program-title {
    font-weight: bold;
    color: #333;
    font-size: 1.2rem;
}

.bda-programs .program-description {
    color: #666;
    font-size: 0.95rem;
}

.bda-programs .bda-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
}

.bda-programs .featured-program {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    height: 400px;
}

.bda-programs .featured-program img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bda-programs .featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.bda-programs .featured-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--white-color);
}

.bda-programs .stats-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.bda-programs .stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-red);
    margin-bottom: 10px;
}

.bda-programs .stats-text {
    font-size: 1rem;
    color: #555;
}

.bda-programs .initiative-icon {
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 15px;
}

.bda-programs .filter-btn {
    padding: 8px 16px;
    margin: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #333;
    transition: all 0.3s ease;
}

.bda-programs .filter-btn:hover, .filter-btn.active {
    background-color: var(--color-red);
    color: white;
    border-color: var(--color-red);
}

.bda-programs .btn-bda {
    background-color: var(--color-red);
    color: white;
    border-radius: 20px;
    padding: 8px 20px;
}

.bda-programs .btn-bda:hover {
    background-color: #004494;
    color: white;
}

.bda-programs .btn-bda-outline {
    background-color: transparent;
    color: var(--color-red);
    border: 1px solid var(--color-red);
    border-radius: 20px;
    padding: 8px 20px;
}

.bda-programs .btn-bda-outline:hover {
    background-color: var(--color-red);
    color: white;
}

.bda-programs .cta-section {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('../images/profile-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    margin: 50px 0;
}

.bda-programs .category-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.bda-programs .category-programs {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin: 30px 0;
}

.bda-programs .category-heading {
    color: var(--color-red);
    margin-bottom: 30px;
    font-weight: 600;
}

.bda-programs .timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.bda-programs .timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-red);
}

.bda-programs .timeline-item:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: var(--color-red);
}

.bda-programs .timeline-item:last-child:after {
    display: none;
}

.bda-programs .timeline-date {
    font-weight: bold;
    color: var(--color-red);
}

.bda-programs .social-icons a {
    color: var(--color-red);
    margin-right: 15px;
    font-size: 1.2rem;
}

.bda-programs .category-pill {
    padding: 8px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: inline-block;
    font-weight: 500;
    font-size: 0.9rem;
}

.category-programs {
    transition: all 0.3s ease;
}

.filter-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    font-weight: bold;
    transform: scale(1.05);
}

.program-detail .bda-badge{
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
}

.program-detail .program-category{
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-red);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}
.atf-main-portfolio {
    display: inline-block;
    width: 100%;
    transition: all 0.3s ease;
}

.atf-grid-portfolio img {
    width: 100%;
}
.atf-single-portfolio div .image-box{
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}
.atf-grid-portfolio {
    width: 25%;
    position:relative;
}
.atf-grid-portfolio .atf-single-portfolio {
    display: block;
    overflow: hidden;
}
.atf-single-portfolio .atf-hover-portfolio {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    -webkit-transition: all .4s;
    opacity: 0;
    background-color: rgba(34, 36, 36, 0.85);
    transition: 0.3s ease-out 0s;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
}
.atf-single-portfolio .atf-hover-portfolio:hover {
    opacity: 1;
    transition: 0.5s ease-out 0.2s;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.atf-single-portfolio .atf-hover-portfolio:hover .atf-portfolio-content  {
    opacity: 1;
}
.atf-single-portfolio .atf-hover-portfolio .atf-portfolio-content i {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity:0;
}
.atf-single-portfolio:hover .atf-hover-portfolio .atf-portfolio-content i {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: .2s;
    -moz-transition-delay: .2s;
    -ms-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
    opacity: 1;
}
.atf-single-portfolio .atf-hover-portfolio .atf-portfolio-content {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}
.atf-portfolio-content i {
    width: 50px;
    height: 50px;
    text-align: center;
    border: 1px solid var(--white-color);
    color:var(--white-color);
    border-radius: 50%;
    margin: auto;
    margin-bottom: 25px;
    transition: all 0.5s ease-in-out 0s;
    line-height: 50px;
}
.atf-portfolio-content i:hover {
    background:var(--color-red);
    color:var(--white-color);
    border: 1px solid var(--color-red);
}
.atf-portfolio-content p {
    color: var(--white-color) !important;
    font-size: 14px;
}

figure img{
    /*width: 100% !important;*/
    width: 50%;
    height: 100%;
    float: left;
    margin: 0 15px 15px 0;
}
figure figcaption{
    display: none !important;
}

.clearfix{
    clear: both !important;
}

.date-square {
    width: 60px;
    height: 60px;
    background: var(--color-red);
}

/*living in bodi*/
.bodi-living-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/profile-banner.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 0;
}

.bodi-living .section-heading {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--color-red);
}

.bodi-living .section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-red);
}

.bodi-living .timeline {
    position: relative;
    padding: 20px 0;
}

.bodi-living .timeline:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 3px;
    background: #e9ecef;
    left: 50%;
    transform: translateX(-50%);
}

.bodi-living .timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.bodi-living .timeline-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    width: 45%;
}

.bodi-living .timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.bodi-living .timeline-date {
    position: absolute;
    top: 20px;
    font-weight: bold;
    color: var(--color-red);
}

.bodi-living .timeline-item:nth-child(odd) .timeline-date {
    left: -145px;
    text-align: right;
}

.bodi-living .timeline-item:nth-child(even) .timeline-date {
    right: -145px;
}

.bodi-living .timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-red);
    border-radius: 50%;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.bodi-living .site-card {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.bodi-living .site-card:hover {
    transform: translateY(-5px);
}

.bodi-living .chart-container {
    height: 400px;
}

@media (max-width: 991px) {
    .bodi-living .timeline:before {
        left: 40px;
    }

    .bodi-living .timeline-content {
        width: calc(100% - 90px);
        margin-left: 90px !important;
    }

    .bodi-living .timeline-dot {
        left: 40px;
    }

    .bodi-living .timeline-item:nth-child(odd) .timeline-date,
    .bodi-living .timeline-item:nth-child(even) .timeline-date {
        left: 0;
        top: -30px;
        text-align: left;
    }
}

.bodi-living .bg-light-custom {
    background-color: #f8f9fa;
}

.bodi-living .nav-pills .nav-link.active {
    background-color: var(--color-red);
}

.bodi-living .nav-pills .nav-link {
    color: #495057;
}

.bodi-living .nav-pills .nav-link.active {
    color: white;
}
.city-directory .company-card {
    border-left: 4px solid var(--color-red);
    transition: all 0.3s ease;
}
.city-directory .company-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.city-directory .category-section {
    margin-bottom: 2rem;
}

/*main events*/

.main-events .event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.main-events  .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.main-events  .event-date {
    color: var(--color-red);
    font-weight: 600;
}
.main-events  .event-location {
    color: #6c757d;
}
.main-events  .event-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
.main-events  .event-img-container {
    height: 200px;
    overflow: hidden;
}
.main-events  .event-img-container img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.main-events  .tab-content {
    min-height: 400px;
}
.main-events  .event-details-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.main-events  .nav-pills .nav-link.active {
    background-color: var(--color-red);
}

/*Galleries*/
.gallery-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-img-container {
    height: 200px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card .card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*partners*/
.partner-card {
    transition: transform 0.3s ease;
    height: 100%;
}
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}
.section-title:after {
    content: '';
    position: absolute;
    width: 15%;
    height: 3px;
    background: var(--color-red);
    bottom: -10px;
    left: 0;
}
.partner-img {
    height: 120px;
    object-fit: contain;
    padding: 15px;
}


/*faqs*/

.faq-header {
    background: linear-gradient(135deg, var(--color-red), var(--color-green));
}
.faq-category {
    position: relative;
    margin-bottom: 2rem;
    color: var(--color-red);
}
.faq-category::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--color-red);
    bottom: -10px;
    left: 0;
}

#cookies-policy .cookiesBtn__link {
    background: var(--color-red) !important;
    border: 1px solid var(--color-red) !important;
}
