html {
    scroll-behavior: smooth;
    /* Smooth scrolling */

}

body {
    margin-top: 180px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;


}

html,
body {
    /* height: 100%; */
    margin: 0;
}

h5 {
    color: #4b2377;
    font-weight: bold;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensure full viewport height */
}


/*  */
  
  .domain-card {
    width: 200px; /* Adjust based on design */
    flex: 1 1 auto;
  }


.logo-name-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    /* padding: 10px 20px; */
    background-color: #fff;
    z-index: 1000000;
    /* Ensure it's above the navbar */
}

.logo {
    width: 300px;
    /* Adjust size as needed */
    height: 120px;
}

.network-container {
    width: 500px;
    height: 180px;
    /* Cover the height of the header */
    overflow: hidden;
    position: relative;
}

.network-image {
    width: 500px;
    height: auto;

    bottom: -120px;
    position: absolute;
    transform: scale(1.25) rotate(20deg);
    transform-origin: bottom right;
    /* Sets the origin point for transformations */
    z-index: -1;
    /* Places the image behind other content like the logo */

}



/* Navbar Styles */
/* .navbar {
    position: fixed;
    top: 180px; 
    width: 100%;
    z-index: 10000;
}
.navbar-custom {
    background-color: #e8e8f8; 
    padding: 5px 0; 
    border-bottom: 2px solid #88c88c;
    border-top: 2px solid #88c88c;
}

.navbar-custom .navbar-nav {
    flex: 1;
    justify-content: space-between;
    padding: 0 20px; 
}

.navbar-custom .navbar-nav .nav-link {
    color: #4a148c; 
    text-transform: uppercase;
    padding: 5px 25px; 
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #6a1b9a;
}

.navbar-custom .navbar-nav .nav-link.active {
    color: #311b92; 
    font-weight: bold;
}

.nav-link.active {
    text-decoration: underline;
    font-weight: bold; 
}


.navbar-custom .navbar-nav {
    margin: 0 auto;
} */

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 140px;
    width: 100%;
    z-index: 10000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.6s ease-in-out;
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    background: rgb(245 238 253 / 75%);
    /* border-radius: 10px;
    border: 1px solid rgba(200, 200, 255, 0.3); */
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-custom {
    padding: 8px 0;
    padding-right: 90px;
    padding-left: 20px;
}

.navbar-custom .nav-link {
    position: relative;
    color: #74687c;
    text-transform: uppercase;
    padding: 10px 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s ease-in-out;
}

.navbar-custom .nav-link::after {
    content: "";
    /* position: absolute; */
    left: 25%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #7b1fa2, #ba68c8);
    transition: width 0.4s ease;
    border-radius: 1px;
}

.navbar-custom .nav-link:hover {
    color: #74687c;
    text-decoration: underline;
    text-underline-offset: 14px;

    /* letter-spacing: 0.5px; */
}



.navbar-custom .nav-link.active {
    color: #6a1b9a;
    /* text-decoration: underline; */
    /* font-weight: bold; */
    text-shadow: 0 0 2px rgba(122, 122, 255, 0.3);
}

.navbar-custom .navbar-nav {
    flex: 1;
    justify-content: space-between;
    padding: 0 30px;
    margin: 0 auto;
}

.navbar-toggler {
    border: none;
    background-color: transparent;
}

.navbar-logo {
    display: inline-block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar-logo.visible {
    visibility: visible;
    opacity: 1;
}

/* domains menu larger screens */
.domains-dropdown {
    background-color: #f5f5f5;
    padding: 20px;
    border: none;
}

/* .domains-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: flex-start;
} */




.domains-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start; /* ensures left alignment */
   
  }

.domain-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
  
    flex: 1 1 80px;
    max-width: 200px;
    min-width: 80px;
    box-sizing: border-box;
    min-height: 180px;
  }
  

.domain-card a {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.domain-icon-large {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    object-fit: contain;
}

.domain-label {
    /* font-size: 0.8rem; */
    font-weight: 600;
    color: #333;
    /* width: 100%; */
    /* margin-bottom: 10px; */
    /* margin-top: 6px; */
    text-align: center;
    text-decoration: none;
}

.domain-text {
    /* font-size: 0.8rem; */
    /* font-weight: 600; */
    color: #333;
    margin-bottom: 10px;
    margin-top: 6px;
    text-align: center;
    text-decoration: none;
}

.dropdown-item {
    white-space: wrap;
    padding: 10px;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active {
    color: none;
    background-color: #e1e0e0;
    text-decoration: none;
}

.domain-card:hover,
.domain-card:focus-within,
.domain-card.active,
.domain-card:active {
    background-color: #e1e0e0;
    border-radius: 5px;
}

.dropdown-menu[data-bs-popper] {
    margin-top: 0px;
}

@media (max-width: 991.98px) { /* Bootstrap breakpoint for navbar collapse */
    .scrollable-navbar .navbar-collapse {
      max-height: 80vh; /* Adjust height as needed */
      overflow-y: auto;
    }
  }

/* Mobile Screen */
@media (max-width: 991px) {
    .domains-dropdown {
        background-color: transparent;
        padding: 10px 15px;
    }

    .domains-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .domain-card {
        background: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        max-width: 100%;
        width: auto;
        flex-wrap: nowrap;
        min-height: 0;
    }

    .domain-card a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
    }

    .domain-icon-large {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .domain-label {
        margin-top: 0;
        font-size: 0.875rem;
        text-align: left;
    }


    .responsive-hide {
        display: none;
    }

}

.engagement-dropdown {
    background-color: #f5f5f5;
    padding: 20px;
    border: none;
}

.engagement-row {
    padding: 0 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
    /* flex-wrap: nowrap; */
}

.engagement-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 calc(100% / 7 - 10px);
    /* max-width: calc(100% / 7 - 10px); */
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

.engagement-card:last-child {
    border-right: none; /* remove from last */

}

.engagement-card a {
    text-decoration: none;
}



.engagement-label {
    /* font-size: 0.8rem; */
    font-weight: 600;
    color: #333;
    /* margin-bottom: 10px; */
    /* margin-top: 6px; */
    text-align: center;
    text-decoration: none;
}

.engagement-text {
    /* font-size: 0.8rem; */
    /* font-weight: 600; */
    color: #333;
    margin-bottom: 10px;
    margin-top: 6px;
    text-align: center;
    text-decoration: none;
}

.engagement-item {
    white-space: wrap;
    padding: 10px;
}


.engagement-card:hover,
.engagement-card:focus-within,
.engagement-card.active,
.engagement-card:active {
    background-color: #e1e0e0;
    border-radius: 5px;
}

/* .engagement-card.active .engagement-label {
    color: #6a1b9a; 
} */



/* Mobile Screen */
@media (max-width: 991px) {
    .engagement-dropdown {
        background-color: transparent;
        padding: 10px 15px;
    }

    .engagement-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .engagement-card {
        background: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        max-width: 100%;
        width: auto;
        flex-wrap: nowrap;
    }

    .engagement-card a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
    }


    .engagement-label {
        margin-top: 0;
        font-size: 0.875rem;
        text-align: left;
    }


    .responsive-hide {
        display: none;
    }

}



/* .dropdown-menu[data-bs-popper] {
    margin-top: 0px;
}

#domainsDropdown {
    display: inline-flex;
    align-items: center;
}
  
#domainsDropdown::after {
    margin-left: 5px;
}


.domain-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .domains-dropdown {
        position: static;
        border: none;
        padding: 15px;
    }

    .domains-dropdown .row {
        flex-direction: column;
    }

    .domains-dropdown .col-md-3 {
        width: 100%;
    }
} */

section {
    margin-top: 200px;
    overflow: auto;
    flex: 1
}


.lead {
    color: #4b2377;
    margin-top: 20px;
    font-size: 1.1rem;
    /* line-height: 2px; */
    font-weight: 550;
}

.heading {
    font-weight: bold;
}

h1,
h2 {
    color: #4b2377;
}

h3,
h4 {
    color: #4b2377;
}


.bottom-page-1 {
    width: 50vw;
    margin: auto;
    text-align: justify;
    line-break: 2.5rem;

}

.exposome {
    background-color: #96de9b;
    border-radius: 20px;
    padding: 5px;
}

.left-section {
    width: 50%;
    margin-top: 15%;
}

.left-section p {
    font-size: clamp(20px, 1rem, 22px);
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.image-container {
    position: relative;
}

.path-image {
    width: 100%;
    height: auto;
}


/* Marker positions for large screens */
.heading2 {
    font-size: 1rem;
    font-weight: bold;
}

.marker {
    width: 200px;
    padding: 10px;
    font-size: 1rem;
}

.marker.throughout-life {
    top: 25%;
    left: 15%;
}

.marker.early-life {
    top: 4%;
    left: 60%;
}

.marker.mid-life {
    top: 45%;
    left: 70%;
}

.marker.later-life {
    top: 70%;
    left: 35%;
}


.custom-background {
    /* padding-top: 5rem !important; */
    padding: 3rem 5rem;
    position: relative;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-background {
    /* padding-top: 5rem !important; */
    padding: 3rem 5rem;
    position: relative;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .custom-background,
    .main-background {
        padding: 3rem 3rem; 
    }
}

/* .main-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/istockphoto.jpg');
    background-image: url('/gecc/final/images/spokes_transparent-2.png'), url('/gecc/final/images/spokes_transparent-3.png');
    background-position: -10% 30%, 110% 50%;

    background-size: 20vw auto, 20vw auto;
    background-repeat: no-repeat;
    background-position: center;

    background-size: cover;
    opacity: 0.15;

    z-index: -10001;

} */



/* For smaller content sections, adjust the size */
@media (max-height: 800px) {
    .custom-background {
        background-size: 15vw auto, 15vw auto;
        background-position: -10% 30%, 110% 50%;
        min-height: 55vh;
    }
}

@media (max-height: 500px) {
    .custom-background {
        background-size: 15vw auto, 15vw auto;
        background-position: -10% 30%, 110% 50%;
    }
}

@media (max-height: 300px) {
    .custom-background {
        background-size: 10vw auto, 10vw auto;
        background-position: -10% 30%, 110% 50%;
    }
}



.left-aligned-container {
    margin-top: 40px;
}



.links {
    /* padding: 10px; */
    font-size: 1rem;
    border-radius: 20px;
    margin-top: 20px;
    /* background-color: #f6edff; */
}


/* Container for the list */
.domains-list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
    gap: 20px;
}

/* Style for each list item */
.domains-list li {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 170px;
    box-sizing: border-box;
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 10px;
}

.domains-list p {
    margin: 0;
    padding-top: 5px;
    justify-content: center;
}


.domain-images1 {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 5px;
}


.domains-list a {
    text-decoration: none;
    color: inherit;
    text-align: center;
    font-weight: bold;
    display: block;
    height: 100%;
    overflow: hidden;
    line-height: 1.2;
}




footer {
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    background-color: #4b2377;
    color: white;
    font-size: 0.9rem;
    /* Default behavior: no fixed position on mobile */
    /* position: static; */
    /* bottom:0; */
}

/* @media (min-width: 768px) {
    section {
        margin-bottom: 10px;
    }
    footer {
        position: static; 
        width: 100%;
        z-index: 10000;
    }
} */


.footer-heading {
    font-weight: bold;
}

.footer-row-1 {
    margin-left: 20px;
}

.nih-logo-container {
    margin: auto;
    background-color: white;
    border-radius: 45px;
    max-width: 250px;
    max-height: 70px;
    justify-content: center;
}

.nih-logo {
    padding: 10px;
}

.about-heading {
    color: #4b2377;
    font-weight: bold;
}

.profile-section {
    background-color: #e9ecef;
    padding: 30px 0;
}

.profile-card {
    text-align: center;
    padding: 20px;
    border-left: 2px;

}

.profile-card img {
    border-radius: 50%;
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.col-md-4 {
    padding-left: 5px;
    padding-right: 5px;
}

.approach-heading {
    color: #4b2377;
    font-weight: bold;
}

.approach-data {
    font-weight: bold;
}


.domains-heading {
    color: #4b2377;
    font-weight: bold;
}

.domains-intro {
    font-weight: 500;
}

.domain-images {
    height: 20px;
    width: 20px;
}

.townhalls-heading {
    color: #4b2377;
    font-weight: bold;
}

.townhalls-data {
    font-weight: bold;
}

.contact-heading {
    color: #4b2377;
    font-weight: bold;
}

.contact-data {
    font-weight: bold;
}

#email {
    max-width: 500px;
    /* font-size: 0.8rem; */
}

.submit-button {
    /* margin-top: 15px; */
    margin-left: 22px;
}

.news-heading {
    color: #4b2377;
    font-weight: bold;
}


.news-data {
    margin-top: 50px;
    font-weight: 500;
}

/* 
.accordion-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    border-bottom: 3px solid #ccc;
    margin-top: 50px;

}


.accordion-button {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%; 
    border: none;
    text-align: left;
    font-weight: 510;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin-bottom: 5px; 
}

.accordion-header {
    display: flex; 
    flex-grow: 1; 
    justify-content: space-between; 
}

.accordion-title {
    flex: 1; 
    padding-right: 10px; 
}

.accordion-date {
    white-space: nowrap; 
    color: #777;
}


.accordion-button.accordion-active, .accordion-button:hover {
    border: 2px solid #ccc;
    background-color: #e2e1e1;
}


.accordion-button:after {
    content: '\002B'; 
    color: #777;
    font-weight: 510;
    float: right;
    margin-left: 20px;
}


.accordion-button.accordion-active:after {
    content: "\2212"; 
}


.accordion-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}



@media (max-width: 768px) {
    .accordion-header {
        flex-direction: column;/
        align-items: flex-start;
    }

    .accordion-title {
        padding-right: 0; 
    }

    .accordion-date {
        margin-top: 5px; 
    }
} */


.accordion-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-bottom: 3px solid #ccc;
    margin-top: 50px;
}

.accordion-button {
    background-color: #eee;

    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    font-weight: 510;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.accordion-header {
    display: flex;
    /* Make the content a flex container */
    flex-grow: 1;
    /* Allow it to grow */
    justify-content: space-between;
    /* Space out the title and date */
}

.accordion-title {
    flex: 1;
    /* Take available space */
    padding-right: 10px;
    /* Add some spacing */
}

.accordion-date {
    white-space: nowrap;
    /* Prevent date from wrapping */
    color: #777;
}

.accordion-button.accordion-active,
.accordion-button:hover {
    border: 2px solid #ccc;
    background-color: #e2e1e1;
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z'/%3e%3c/svg%3e");
    color: #777;
    /* font-weight: 510; */
    float: right;
    margin-left: 20px;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z'/%3e%3c/svg%3e");
    transform: rotate(-135deg);
}

.accordion-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    .accordion-header {
        flex-direction: column;
        /* Stack title and date */
        align-items: flex-start;
        /* Align to the left */
    }

    .accordion-title {
        padding-right: 0;
       
    }

    .accordion-date {
        margin-top: 5px;
    
    }
}

.preview {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
    color: #444;
    font-size: 0.95rem;
  }
  /* Hide preview when expanded */
  .accordion-collapse.show + .preview {
    display: none;
  }
  
  
  

.contact-email {
    font-weight: 400;
}

.people-container {
    background-color: #f8f9fa;
}

.row-cols-1 .col,
.row-cols-sm-2 .col,
.row-cols-md-4 .col {
    border: 1px solid #ddd;

    box-sizing: border-box;
}

.team-member {
    margin-top: 1rem;
    position: relative;
}

.team-member-img {
    border: 1px solid #ddd;
    border-radius: 50%;
    height: 125px;
    width: 125px;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto;
}

.team-member-name {
    padding-top: 1.5rem;
    margin-bottom: 0;
}


.contact-email {
    font-weight: 400;
}


.people-container {
    background-color: #f8f9fa;

}


.row-cols-1 .col,
.row-cols-sm-2 .col,
.row-cols-md-4 .col {
    border: 1px solid #ddd;

    box-sizing: border-box;
}

.team-member {
    margin-top: 1rem;
    position: relative;
}


.team-member-img {
    border: 1px solid #ddd;
    border-radius: 50%;
    height: 125px;
    width: 125px;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto;
}

.team-member-name {
    padding-top: 1.5rem;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .heading2 {
        font-size: 0.8rem;
        font-weight: bold;
        margin: 0;
    }

    .marker {
        width: 150px;
        padding: 8px;
    }

    .marker.throughout-life {
        top: 25%;
        left: 25%;
    }

    .marker.early-life {
        top: 6%;
        left: 65%;
    }

    .marker.mid-life {
        top: 45%;
        left: 70%;
    }

    .marker.later-life {
        top: 75%;
        left: 35%;
    }


}

@media (max-width: 576px) {
    .heading2 {
        font-size: 0.6rem;
        font-weight: bold;
        margin: 0;
    }

    .marker {
        width: 120px;
        padding: 6px;
        font-size: 0.4rem;
    }

    .marker.throughout-life {
        top: 20%;
        left: 15%;
    }

    .marker.early-life {
        top: 3%;
        left: 60%;
    }

    .marker.mid-life {
        top: 50%;
        left: 70%;
    }

    .marker.later-life {
        top: 70%;
        left: 35%;
    }

    .curved-line {
        display: none;
    }

}


/* Container for the list */
.community-list {
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
    gap: 20px;
    width: 100%;
}

.community-list li {
    box-sizing: border-box;
    border-radius: 8px;
}

.community-images1 {
    width: 5.25rem;
    height: 5.5rem;
    object-fit: contain;
    margin-bottom: 5px;
}

.community-list a {
    text-decoration: none;
    color: inherit;
    text-align: center;
    font-weight: bold;
    display: block;
    height: 100%;
    overflow: hidden;
    line-height: 1.2;
}


@media (min-width: 992px) {
    /* Large screens (lg and up) */
    #fullCommunityTeamContainer {
      display: block !important; /* Always visible */
    }
    #carouselCommunityTeam,
    #toggleCommunityButton {
      display: none !important; /* Hide carousel & button */
    }
  }
  
  @media (max-width: 991px) {
    /* Medium and smaller screens (md and down) */
    #fullCommunityTeamContainer {
      display: none; /* Initially hidden */
    }
    #carouselCommunityTeam {
      display: block;
    }
    #toggleCommunityButton {
      display: block;
    }
  }
  

  @media (min-width: 992px) {
    /* Large screens (lg and up) */
    #fullPolicyTeamContainer {
      display: block !important; /* Always visible */
    }
    #carouselPolicyTeam,
    #togglePolicyButton {
      display: none !important; /* Hide carousel & button */
    }
  }
  
  @media (max-width: 991px) {
    /* Medium and smaller screens (md and down) */
    #fullPolicyTeamContainer {
      display: none; /* Initially hidden */
    }
    #carouselPolicyTeam {
      display: block;
    }
    #togglePolicyButton {
      display: block;
    }
  }

  @media (min-width: 992px) {
    /* Large screens (lg and up) */
    #fullMethodsTeamContainer {
      display: block !important; /* Always visible */
    }
    #carouselMethodsTeam,
    #toggleMethodsButton {
      display: none !important; /* Hide carousel & button */
    }
  }
  
  @media (max-width: 991px) {
    /* Medium and smaller screens (md and down) */
    #fullMethodsTeamContainer {
      display: none; /* Initially hidden */
    }
    #carouselMethodsTeam {
      display: block;
    }
    #toggleMethodsButton {
      display: block;
    }
  }



.methodsAccordion-collapse {
  border: none !important;
  box-shadow: none !important;
}

.methodsAccordion-header button {
    color: #4b2377 !important;
    font-size: large;
    padding: 0%;
}

.methodsAccordion-body {
    padding: 0%;
    margin-top: 0.5rem;
}


.accordion-item {
    /* border: 1px solid rgb(226, 225, 225); */
    border-bottom: 1px solid #cccdce;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 10px 0px;
    /* border: none !important; */
    box-shadow: none !important;
    background-color: transparent !important;
}
.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
  outline: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  box-shadow: none !important;
}

.accordion-collapse {
  border: none !important;
  box-shadow: none !important;
}

.accordion-header button {
  color: #4b2377 !important;
  font-weight: 600;
  /* font-size: large; */
  padding: 0%;
}

.accordion-body {
  padding: 0%;
  margin-top: 0.5rem;
}

.text-purple {
    color: #4b2377;
}

#responseMessage {
    padding: 10px 10px;
    /* margin-top: 15px; */
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}
  
/* 
.foreground-image {

    text-align: center;
    width: 100%;
    height: auto;
} */

.image-div {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.foreground-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  z-index: 2;
  color: white;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  /* max-height: 100%;  */
  overflow: auto;
}

.overlay-image {
  max-width: 50%;
  height: auto;
}

@media (max-width: 768px) {
  .overlay-content {
    padding: 10px;
  }


  .overlay-content p {
    font-size: 0.5em;
  }
}


/* .image-div {
    text-align: center;
}

@media (max-width: 768px) {
    .foreground-image {
        width: 100%;
    
    }
} */
.section-home {
    background-color: rgb(245 238 253 / 75%);
    padding: 20px;
}

.section-header {
    /* color: #4b2377; */
    font-weight: bold;
    
}


.section-text {
    text-align: justify;
    margin: 0 auto 1.5em; 
    max-width: 90%; 
}


.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; 
  margin: 20px 0;
}

.section-title .line {
  flex: 1;
  height: 1px;
  background-color: black; 
}

.section-title h2 {
  margin: 0;
  white-space: nowrap;
  font-size: 24px;
  font-weight: bold;
  color: black; 
}


.step-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 20px;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 300px;
  flex: 1;
}

.circle {
  min-width: 80px;
  height: 80px;
  background-color: #a8dfb0;
  color: #2d2d2d;
  font-weight: bold;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.step-text p {
  font-size: 13px;
  line-height: 1.4;
  color: #444;
  margin: 0;
}

.mailing-section {
  background-color: rgb(245 238 253 / 75%); 
  padding: 20px 20px;
  text-align: center;
}

.mailing-section h2 {
  color: #444;
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 20px;
}

.mailing-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.mailing-form input {
  padding: 10px 12px;
  border: 2px solid #5eb67b; /* green border */
  border-radius: 3px;
  width: 230px;
  box-sizing: border-box;
  font-size: 14px;
}

.mailing-form button {
  flex-basis: 100%;
  padding: 8px;
  background-color: #5eb67b;
  color: white;
  border: 2px solid #2e2e5c;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.mailing-form button:hover {
  background-color: #4ea068;
}
@media (max-width: 500px) {
  .mailing-form input {
    width: 100%;
  }
}