@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
/* Always include box-sizing for layout accuracy */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
}

/* Main container clamps content to viewport */
.main-container {
    width: 100%;
    margin: 0 auto;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
    background: #fff;
}

/* Header Bar - left-align for wide screens */
.header-bar {
    width: 100%;
    background: #56337C;
    display: flex;
    align-items: center;
    padding-left: 250px;
    height: 144px;
    overflow: hidden;
}

/* Logo - ensure never exceeds container */
.advent-logo {
    width: 307px;
    height: 117px;
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

/* Contact Bar */
.contact-bar {
    width: 100%;
    background: #00B3AE;
    color: #fff;
    text-align: center;
    padding: 16px 20px 16px 400px;
    font-size: 1.15rem;
    max-width: 100vw;
    overflow: hidden;
    display: flex;
}

.contact-bar span {
    display: inline-block;
    text-align: center;
    max-width: 100vw;
    white-space: normal;
}

.contact-bar a {
    color: #fff;
    text-decoration: underline;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Tablet */
@media (max-width: 1200px) {
    .header-bar {
        padding-left: 8vw;
        height: 110px;
    }
    .advent-logo {
        width: 220px;
        /* height: auto; */
    }
}

/* Mobile Large */
@media (max-width: 900px) {
    .header-bar {
        padding-left: 4vw;
        height: 88px;
    }
    .advent-logo {
        width: 110px;
        /* height: auto; */
    }
    .contact-bar {
        font-size: 1rem;
        padding: 12px 8px;
    }
}

/* For tablet & mobile: Center logo and middle the contact text */
@media (max-width: 767px) {
    .header-bar {
        padding-left: 0;
        justify-content: center;
        height: 80px;
    }
    .advent-logo {
        width: 80px;
    }
    .contact-bar {
        font-size: 0.98rem;
        padding: 10px 6px;
    }
    .contact-bar span {
        font-size: 0.98rem;
        max-width: 95vw;
    }
}

/* Small Mobile */
@media (max-width: 500px) {
    .header-bar {
        height: 56px;
    }
    .advent-logo {
        width: 54px;
    }
    .contact-bar {
        font-size: 0.95rem;
        padding: 6px 2px;
    }
    .contact-bar span {
        font-size: 0.92rem;
        max-width: 92vw;
    }
}


.main-title {
  font-weight: 300;
  font-family: Montserrat;
  font-size: 48px;
  color: rgb(83, 47, 124);
  text-size-adjust: none;
  font-style: normal;
  line-height: 0;
}
.title-emphasis-serving {
  font-weight: 700;
  color: #56337C;
}
.main-desc {
  font-size: 1.27rem;
  line-height: 26px;
  color: #35345D;
}
.main-desc span {
  font-weight: 400;
  font-family: Montserrat;
  font-size: 20px;
  color: rgb(26, 25, 25);
  font-style: normal;
  line-height: 0;
}
.whole-person-care {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto 48px auto;
  padding: 42px 24px 0 24px;
  text-align: left;
  background: #fff;
}
@media (max-width: 900px) {
  .whole-person-care {
    padding: 28px 12px 0 12px;
  }
  .main-title {
    font-size: 1.59rem;
  }
  .main-desc {
    font-size: 1.05rem;
  }
}
@media (max-width: 767px) {
  .main-title {
    font-size: 1.15rem;
  }
}

.whole-person-care-bg {
    display: block;
    background: rgba(255, 255, 255, 0);
    background-image: url('../images/whole_person_care.jpg');
    background-repeat: no-repeat;
    background-position: center 55%;
    background-size: cover;
    border-style: none none solid none;
    border-width: 10px;
    border-color: #00A59C;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    border-radius: 0px;
    width: 100%;
    height: 76vh;
    position: relative;
    min-height: 400px;
}

/* Responsive adjustments for whole-person-care-bg */
@media (max-width: 1800px) {
    .whole-person-care-bg {
        height: 75vh;
    }
}
@media (max-width: 1200px) {
    .whole-person-care-bg {
        height: 45vh;
        min-height: 300px;
    }
}

@media (max-width: 900px) {
    .whole-person-care-bg {
        height: 35vh;
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .whole-person-care-bg {
        height: 27vh;
        min-height: 200px;
        border-width: 8px;
    }
}

@media (max-width: 500px) {
    .whole-person-care-bg {
        height: 25vh;
        min-height: 100px;
        border-width: 6px;
    }
}

/* Hero Text Section */
.hero-text-section {
    width: 100%;
    background-color: #fff;
    padding: 60px 0;
    max-width: 1050px;
    margin: 0 auto;
}

.hero-content {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 40px;
}
.hero-title{
    line-height: 58px;
    margin-bottom: 19px;
}
.hero-title span{
    font-weight: 300;
    font-family: Montserrat;
    font-size: 48px;
    color: rgb(0, 165, 156);
    font-style: normal;
    line-height: 0;
    margin: 0 0 40px 0;
    letter-spacing: -0.02em;
}

.hero-title span.title-emphasis-care {
    font-weight: 700;
    color: #00B3AE;
}

.hero-description {
    color: #666;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 26px;
}
.hero-description span {
    font-weight: 400;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(26, 25, 25);
    font-style: normal;
    line-height: 0;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 30px;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-text-section {
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .hero-description {
        font-size: 1.05rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-text-section {
        padding: 30px 0;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}



/* Care Connector Section */
.care-connector-section {
    background: #56337C;
    padding: 80px 0;
    color: white;
    position: relative;
}

.care-connector-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Header Section - Centered */
.care-connector-header {
    text-align: center;
    margin-bottom: 60px;
}

.care-connector-title {
    margin: 0 0 20px 0;
    line-height: 26px;
    color: white;
}

.care-connector-title span{
    font-weight: 300;
    font-family: Montserrat;
    font-size: 48px;
    color: rgb(255, 255, 255);
    font-style: normal;
}

.care-connector-title span.title-emphasis{
    font-weight: 700;
}

.care-connector-subtitle {
    font-weight: 400;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(255, 255, 255);
    font-style: normal;
}

/* Content Grid */
.care-connector-content {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 945px;
    margin: 0 auto;
}

.content-left {
    flex: 1;
    max-width: 600px;
}

.content-right {
    flex: 0 0 450px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Services List */
.services-list {
    width: 602px;
    margin-bottom: 40px;
}

.service-item {
    margin-bottom: 35px;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(255, 255, 255);
    font-style: normal;
    line-height: 26px;
}

.service-title {
    font-weight: 600;
    line-height: 0;
}

.service-description {
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* Contact Box */
.contact-box {
    background: white;
    padding: 20px 35px;
    margin-top: 30px;
}

.href-class {
    text-decoration: none;
    color: #56337C;
}
.contact-text {
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(83, 47, 124);
    font-style: normal;
}

.contact-text strong {
    font-weight: 600;
}

/* Image Styling */
.image-wrapper {
    width: 650px;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.care-connector-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
    display: block;
}

/* Tablet Styles */
@media (max-width: 1200px) {
    .care-connector-container {
        padding: 0 30px;
        max-width: 1200px;
    }
    
    .care-connector-content {
        gap: 60px;
    }
    
    .content-right {
        flex: 0 0 380px;
    }
    
    .image-wrapper {
        width: 380px;
        height: 380px;
    }
    
    .care-connector-title {
        font-size: 3rem;
    }
    
    .care-connector-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 1000px) {
    .care-connector-section {
        padding: 60px 0;
    }
    
    .care-connector-header {
        margin-bottom: 50px;
    }
    
    .care-connector-content {
        flex-direction: column;
        gap: 50px;
        align-items: center;
    }
    
    .content-right {
        flex: none;
    }
    
    .content-left {
        max-width: 100%;
        text-align: left;
    }
    
    .care-connector-title {
        font-size: 2.5rem;
    }
    
    .image-wrapper {
        width: 350px;
        height: 350px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .care-connector-container {
        padding: 0 20px;
    }
    
    .care-connector-section {
        padding: 50px 0;
    }
    
    .care-connector-header {
        margin-bottom: 40px;
    }
    
    .care-connector-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .care-connector-subtitle {
        font-size: 1.1rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-item {
        margin-bottom: 28px;
    }
    
    .contact-box {
        padding: 25px 30px;
    }
    
    .contact-text {
        font-size: 1rem;
    }
    
    .image-wrapper {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .care-connector-container {
        padding: 0 16px;
    }
    
    .care-connector-section {
        padding: 40px 0;
    }
    
    .care-connector-content {
        gap: 40px;
    }
    
    .care-connector-title {
        font-size: 1.8rem;
    }
    
    .care-connector-subtitle {
        font-size: 1rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .contact-box {
        padding: 20px 25px;
    }
    
    .contact-text {
        font-size: 0.95rem;
    }
    
    .image-wrapper {
        width: 250px;
        height: 250px;
    }
}




/* Additional Services Section */
.additional-services-main {
    background: rgba(229, 243, 240, 1);
}

.additional-services {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 42px 24px;
    text-align: left;
}

.additional-services-title {
    font-weight: 300;
    font-family: Montserrat;
    font-size: 48px;
    color: rgb(0, 165, 156);
    font-style: normal;
    line-height: 58px;
    text-align: center;
}

.title-emphasis-services {
    font-weight: 700;
}
.additional-services-title span{
    line-height: 0;
}
.services-intro {
    line-height: 26px;
    text-align: center;
}
.services-intro span{
    font-weight: 400;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(26, 25, 25);
    font-style: normal;
    line-height: 0;
}

.service-heading {
    line-height: 26px;
    margin: 32px 0 16px 0;
}

.service-heading span {
    font-weight: 600;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(0, 165, 156);
    font-style: normal;
    line-height: 0;
}

.additional-services p {
    line-height: 26px;
    margin-bottom: 16px;
}

.additional-services p span{
    font-weight: 400;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(26, 25, 25);
    font-style: normal;
    line-height: 0;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .additional-services {
        padding: 0 30px;
    }
    
    .additional-services-title {
        font-size: 3rem;
        margin-bottom: 30px;
    }
    
    .services-intro {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .additional-services {
        padding: 40px 20px;
    }
    
    .additional-services-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .services-intro {
        font-size: 1.05rem;
        line-height: 1.5;
    }
    
    .service-heading {
        font-size: 1.3rem;
    }
    
    .additional-services p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .additional-services {
        padding: 30px 16px;
    }
    
    .additional-services-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .services-intro {
        font-size: 1rem;
    }
    
    .service-heading {
        font-size: 1.2rem;
    }
    
    .additional-services p {
        font-size: 0.95rem;
    }
}


/* Diverse Community Section */
.diverse-community-section {
    background: #56337C;
    padding: 80px 0;
    color: white;
    position: relative;
}

.diverse-community-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.diverse-community-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.community-left {
    flex: 0 0 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-right {
    flex: 1;
    max-width: 650px;
}

/* Image Styling */
.community-image-wrapper {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
    display: block;
}

/* Text Styling */
.community-title {
    line-height: 58px;
    font-weight: 300;
    font-family: Montserrat;
    font-size: 48px;
    color: rgb(255, 255, 255);
    font-style: normal;
}

.community-title span{
    line-height: 0;
}

.community-title span.title-emphasis-dedicated{
    font-weight: 700;
}

.community-description {
    line-height: 26px;
    font-weight: 400;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(255, 255, 255);
    font-style: normal;
    opacity: 0.95;
}

.community-description span {
    list-style: 0;
}

.community-description:last-child {
    margin-bottom: 0;
}

/* Tablet Styles */
@media (max-width: 1200px) {
    .diverse-community-container {
        padding: 0 30px;
        max-width: 1200px;
    }
    
    .diverse-community-content {
        gap: 60px;
    }
    
    .community-left {
        flex: 0 0 350px;
    }
    
    .community-image-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .community-title {
        font-size: 3rem;
    }
}

@media (max-width: 1000px) {
    .diverse-community-section {
        padding: 60px 0;
    }
    
    .diverse-community-content {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        text-align: center;
    }
    
    .community-left {
        flex: none;
    }
    
    .community-right {
        max-width: 100%;
    }
    
    .community-title {
        font-size: 2.5rem;
    }
    
    .community-image-wrapper {
        width: 320px;
        height: 320px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .diverse-community-container {
        padding: 0 20px;
    }
    
    .diverse-community-section {
        padding: 50px 0;
    }
    
    .diverse-community-content {
        gap: 40px;
    }
    
    .community-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .community-description {
        font-size: 1rem;
    }
    
    .community-image-wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .diverse-community-container {
        padding: 0 16px;
    }
    
    .diverse-community-section {
        padding: 40px 0;
    }
    
    .diverse-community-content {
        gap: 30px;
    }
    
    .community-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .community-description {
        font-size: 0.95rem;
    }
    
    .community-image-wrapper {
        width: 250px;
        height: 250px;
    }
}



/* Community Resources Section */
.community-resources {
    width: 100%;
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.resources-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.resources-title {
    line-height: 58px;
    text-align: center;
    font-weight: 300;
    font-family: Montserrat;
    font-size: 48px;
    color: rgb(0, 165, 156);
    font-style: normal;
    margin: 0 0 20px 0;
}

.resources-title span{
    line-height: 0;
}

.resources-title span.title-emphasis-resources {
    font-weight: 700;
}

.resources-intro {
    line-height: 26px;
    text-align: center;
    font-weight: 400;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(26, 25, 25);
    font-style: normal;
    margin-bottom: 35px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.resources-intro span {
    line-height: 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: left;
}

.resource-column {
    display: flex;
    flex-direction: column;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-list li a {
    font-weight: 700;
    font-family: Montserrat;
    font-size: 20px;
    color: rgb(0, 165, 156);
    font-style: normal;
    line-height: 45px;
    margin-bottom: 12px;
    padding-left: 0;
    text-decoration: none;
}

.resource-list li:last-child {
    margin-bottom: 0;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .resources-container {
        padding: 0 30px;
    }
    
    .resources-title {
        font-size: 3rem;
        margin-bottom: 30px;
    }
    
    .resources-intro {
        font-size: 1.15rem;
        margin-bottom: 50px;
    }
    
    .resources-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .community-resources {
        padding: 60px 0;
    }
    
    .resources-container {
        padding: 0 20px;
    }
    
    .resources-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .resources-intro {
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 40px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .resource-list li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .community-resources {
        padding: 50px 0;
    }
    
    .resources-container {
        padding: 0 16px;
    }
    
    .resources-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .resources-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .resource-list li {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
}


/* Header Bar - left-align for wide screens */
.footer-bar {
    width: 100%;
    background: #56337C;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 350px;
    height: 144px;
    overflow: hidden;
}