* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root {
    --dark-blue: #121640;
    --dark-orange: #DF2F26;
    --mute-indigo: #1E2A78;
    --warm-red: #F25A4A;
    --soft-gray: #F4F4F7;
    --mid-gray: #C7C9D1;
    --dark-gray: #2B2D42;
    
    --light-blue: #5066AC;

}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #FFF;
    font-family: "GTEesti", sans-serif;
    color: #5D5D5D;
    font-size: .95rem;
}
p {
    padding: 8px 0;
}
ul {
    list-style: inside;
    padding-left: 1.25rem;
}
a {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dark-blue);
    font-size: .85rem;
}
section {
    width: 100%;
    padding: 20px 0;
}
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 16px;
    margin: auto;
}
.location-spacer {
    padding: 80px 0;
}

/*****NAV AREA*****/
nav {
    width: 100%;
    background: linear-gradient(rgb(255 255 255 / 1), rgb(255 255 255 / 0));
    box-shadow: 0 0 20px transparent;
    top: 0;
    padding: 12px 0 0;
    z-index: 10;
    transition: all .3s linear;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
nav.scrolled {
    position: fixed;
    background: #FFF;
    box-shadow: 0 0 20px var(--dark-blue);
}
.nav-bar {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.nav-bar-bottom {
    position: relative;
    background: var(--dark-blue);
    width: 100%;
    margin: 0 auto;
    padding: 8px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.nav-brand {
    width: 220px;
    transition: all .3s linear;
}
.nav-brand.scrolled {
    width: 160px;
}
.nav-logo {
    width: 100%;
    display: block;
}
.nav-position {
    display: flex;
    justify-content: flex-end;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
}
a.nav-links {
    letter-spacing: .85px;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark-blue);
    transition: all .3s linear;
    padding: 8px;
}
a.nav-links:hover, .dropdown:hover .drop-btn {
    color: var(--dark-orange);
    cursor: pointer;
}
.dropdown .drop-btn {
    letter-spacing: .85px;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark-blue);
    transition: all .3s linear;
    padding: 8px;
    transition: all .3s linear;
}
.dropdown-content {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    background: #FFF;
    border-radius: 5px;
    min-width: 160px;
    box-shadow: 2px 4px 6px rgb(0 0 0 / .25);
    z-index: 1;
    transition: all .3s linear;
}
.dropdown:hover .dropdown-content {
  display: flex;
}
.nav-toggle {
    position: absolute;
    right: 1.85%;
    top: 9px;
    width: 40px;
    height: 40px;
    border: 2px solid var(--dark-blue);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .35rem;
    border-radius: 10px;
    cursor: pointer;
    padding: 3px;
}
.bar {
    height: 3px;
    width: 100%;
    background: var(--dark-blue);
    border-radius: 5px;
    transition: all .3s ease;
}
.bar-4 {
    opacity: 0;
    display: none;
    width: 100%;
    height: 100%;

}
.nav-toggle.toggled .bar-1 {
    opacity: 0;
    display: none;
}
.nav-toggle.toggled .bar-2 {
    opacity: 0;
    display: none;
}
.nav-toggle.toggled .bar-3 {
    opacity: 0;
    display: none;
}
.nav-toggle.toggled .bar-4 {
    opacity: 1;
    display: inherit;
}


.fa-facebook {
    color: #FFF;
    font-size: 1.2rem;
}
.fa-linkedin-in, .fa-phone, .fa-youtube {
    color: #FFF;
    font-size: 1.15rem;
}

.footer-menu {
    display: flex;
    flex-direction: column;
}
.nav-menu li, .footer-menu li {
    list-style: none;
}
.zip-search-form {
    width: 100%;
  max-width: 600px;
  text-align: center;
}

.zip-search-form p {
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: bold;
}

.search-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-area input[type="text"] {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 2;
  font-size: 14px;
}

.search-area button {
    flex: 1;
  background: #006699; /* brand color */
  color: #fff;
  border: none;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.search-area button:hover {
  background: #004466;
}

.search-area i {
  font-size: 16px;
}

.toggle-btn {
    cursor: pointer;
}
.fa-bars {
    font-size: 1.35rem;
    color: var(--dark-blue);
    position: absolute;
    right: 3%;
    top: 40px;
    display: none;
}



.footer-menu {
    display: flex;
    flex-direction: column;
}





/*-----END OF NAV AREA-----*/






/****Home Header Area****/

.home-header-area {
    background-color: #FFFFFF;
    background-image: url(../images/habor-header-BG4.jpg);
    background-position: 80% 65%;
    background-size: cover;
    background-repeat: no-repeat;
    
    display: flex;
}
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-content h1 {
    color: #FFF;
    text-transform: uppercase;
    font-size: 5rem;
    text-shadow: 2px 3px 6px rgb( 0 0 0 / .35);
    text-align: left;
    padding-bottom: 3rem;
}
.header-content p {
    color: #FFF;
    font-size: 2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 3px rgb( 0 0 0 / .55);
    font-weight: bolder;
}
.special {
    color: #DF2F26;
}
.top-wave {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    
}
.bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}




/*---->WHAT'S HAPPENING AREA<----*/
.whats-happening-area {
    background-color: #FFF;
    background-image: linear-gradient(rgb(255 255 255 / 1), rgb(255 255 255 / 0)), url(../images/google-placeholder.png);
    background-size: cover;
    background-position: 85% 15%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.location-area {
    /*background-image: url(../images/google-placeholder.png);
    background-size: cover;
    background-position: center;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
}
.location-area form {
    width: 100%;
    max-width: 720px;
    background-color: rgb(18 22 64 / 0.75);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.search-area {
    display: flex;
    align-items: center;
    background-color: rgb(255 255 255 / 0.85);
    padding: 4px;
    border-radius: 5px;
}
.location-area form p {
    color: #FFF;
    text-transform: uppercase;
    font-size: 1.3rem;
}
.location-area form input {
    outline: none;
    background-color: transparent;
    line-height: 10px;
    flex: 1;
    padding: 4px;
    border: none;
    font-size: .85rem;
}
.location-area form input::placeholder {
    color: rgb(0 0 0 /.65);
}
.location-area form button {
    font-size: 1rem;
    background-color: transparent;
    border: none;
    color: rgb(0 0 0 /.65);
    cursor: pointer;
}
.location-item {
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.location-item:hover {
    background: #f7f7f7;
}

.location-item.active {
    background: #e8f2ff;
    border-left: 4px solid #007bff;
    padding-left: 12px;
}



/****Mission Statement Area****/
.home-services-area {
   width: 100%;
   max-width: 1600px;
   justify-self: right;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding-left: 16px;
}
.home-services-area-content {
    width: 100%;
}
.special-title {
    font-size: 2.6rem;
    margin-bottom: 24px;
}
.mission-statement-area {
    width: 100%;
    max-width: 1400px;
    font-size: 1.65rem;
    color: var(--dark-blue);

}
.mission-statement-area h1 {
    padding-bottom: 2rem;
    font-weight: 200;
}
.mission-statement-area p {
    width: 100%;
    max-width: 800px;
}
.mission-side-image {
    width: 1200px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}
.mission-side-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.mission-img {
    width: 100%;
    object-fit: cover;
    object-position: 65% 90%;
}
.mission-img2 {
    width: 320px;
}
.find-location-btn {
    background: transparent;
    color: var(--dark-blue);
    font-weight: 600;
    border-radius: 24px;
    padding: 16px;
    font-size: 1.4rem;
    border: 2px solid var(--dark-blue);
    cursor: pointer;
    margin-top: 24px;
}

/*---->YouTube Area<----*/
.you-tube-area {
    background-image: linear-gradient(rgb(18 22 64 / 1), rgb(18 22 64 / 0.65), rgb(18 22 64 / 1)), url(../images/harbor-header-banner-services.png);
    background-position: 50% 10%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.tube-content-area {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1.15rem;
}
.text-area {
    flex: 1;
}
.text-area h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #FFF;
    text-shadow: 2px 2px 4px rgb( 0 0 0 / .35);
}
.text-area p {
    color: #FFF;
}
.tube-content-area iframe {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16/9;
    border: 3px solid var(--dark-orange);
    border-radius: 10px;
    box-shadow: 2px 3px 8px rgb( 0 0 0 / .35);
}
.tube-content-area .text-area:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.page-header-area {
    background-color: #FFF;
    background-image: linear-gradient(rgb(255 255 255 / 0.0), rgb(255 255 255 / 0.45), rgb(255 255 255 / 1.0)), url(../images/harbor-header-banner-group1.jpg);
    background-position: 18% 5%;
    background-size: cover;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    justify-content: center;
}
.page-header-area-content {
    text-align: center;
}
.page-header-area-content h1 {
    color: var(--dark-blue);
    font-size: 3.5rem;
    text-transform: uppercase;
    text-shadow: 2px 3px 5px rgb(0 0 0 / 0.55);
}


.list-of-services {
    background-image: url(../layered-waves-haikei.svg);
    background-size: cover;
    background-position: center bottom;

}
.list-of-services-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.list-of-services-content p {
    font-size: 1.15rem;
}
.service-card-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: stretch;
    justify-items: center;
    gap: 1.5rem;
}
.service-card {
    background-color: #f6f6f6;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 3px 5px 6px rgb(0 0 0 / .40);
    border-radius: 10px;
    overflow: hidden;
    
}
.service-image-holder {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}
.service-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transition: .6s;
}
.service-image-holder img:hover {
    transform: scale(1.1) rotate(-3deg);
}
.card-title {
    text-transform: uppercase;
    font-size: 1rem;
    padding: 4px;
    color: #FFF;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    background-color: rgb( 0 0 0 / .55);
}
.service-card-text {
    font-size: .95rem;
    padding: 0px 8px 8px;
}



/*----->Privacy Notice Area<-----*/
.privacy-area {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    background-color: rgb(0 0 0 / 0.75);
    color: #FFF;
    z-index: 5;
    transition: bottom 1s;
}
.privacy-area.active {
    bottom: 0;
}
.privacy-area-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.privacy-btn {
    background-color: #FFF;
    font-size: 1.05rem;
    width: 100%;
    max-width: 180px;
    padding: 12px 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgb( 0 0 0 / .35);
}




.hospice-care-area {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}
.left-hospice-care-area {
    width: 100%;
    max-width: 800px;
    
}
.right-hospice-care-area {
    width: 100%;
    max-width: 400px;
}
.hospice-links {
    justify-self: center;
    
}
.hospice-links li  {
    list-style: none;
    padding-bottom: 6px;
}


/***CHOOSE AREA***/
.choose-area {
    
    background-color: #AAC0DB;
    color: #FFF;
}
.choose-us-area {
    display: flex;
    flex-direction: column;
    gap:.95rem;
    padding: 0 12px;
}
.choose-us-area h3 {
    font-size: 1.65rem;
}
.reasons-to-choose {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: stretch;
    justify-items: center;
    gap: .95rem;
}
.reasons-to-choose div {
    background-color: #FFF;
    border: 1px solid #F4F4F4;
    width: 100%;
    max-width: 600px;
    padding: 8px;
    color: var(--dark-gray);
    border-radius: 5px;
}
.special-1 {
    color: var(--dark-gray);
    font-size: 1.25rem;
   
}


/****Speak With Us Area****/

.speak-with-you {
    /*background-image: linear-gradient(rgb(255 255 255 / 1), rgb(255 255 255 / 1)),url(../images/habor-header-BG3.jpg);*/
    background: var(--dark-blue);
    background-position: 15% 20%;
    background-size: cover;
    background-repeat: no-repeat;
}
.speak-with-you .container {
    width: 100%;
    max-width: 1600px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 320px);
    gap: 2rem;
    justify-content: center;
    padding: 16px;
}
.speak-with-you h5 {
    font-size: 2.1rem;
    text-align: center;
    color: #FFF;
}
.speak-card {
    background-color: #FFF;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 2px 2px 5px rgb(0 0 0 / .20);
    width: 100%;
    max-width: 480px;
    border: 2px solid #FBECEA;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 1rem;
    
    
}
.speak-card-img {

}
.soeak-card-img img {
    width: 100%;
    display: block;
}
.speak-card-title {
    font-size: 1.3rem;
}
.speak-card-text {
    text-align: center;
}
a.speak {
    background-color: #505050;
    padding: 8px;
    border-radius: 10px;
    color: #FFF;
    justify-item: flex-end;
    min-width: 120px;
    text-align: center;
    font-weight: 600;
    letter-spacing: .5px;
}
.container.vol-structure {
    max-width: 1200px;
}
.vol-structure {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}



/*****LOCATION PAGE*****/
.location-home-page {
    display: flex;
    gap: 1.5rem;
}

.location-home-page-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 15px;
}
.location-side {
    width: 100%;
    
}
#result {
    overflow-y:auto; 
    margin-top:8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    padding-bottom: 16px;
}
.special-h3 {
    color: var(--dark-orange);
    
}
#state-results {
    padding: 16px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}
.location-item {
    display: flex;
    flex-direction: column;
    justify-content: start;
    box-shadow: 0 0 10px rgb(0 0 0 / .45);
    border-radius: 10px;
    width: 95%;
    max-width: 360px;
    margin: 0 auto;
    position: relative;
}
.gold-medal {
    position: absolute;
    bottom: 10px;
    right: 5px;
    width: 50px;
}
.google-link-btn {
    padding: 4px;
    background: var(--dark-gray);
    color: #EDEDED;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}
.map-area {
    
    width: 100%;
    height: 480px;
    
}
#map {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.location-card {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.location-card:hover {
  background: #f7f7f7;
}

.directions-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  background: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.bounce {
    animation: bounce 0.6s ease-in-out infinite alternate;
}
#state-links {
    width: 100%;
    background: var(--dark-blue);
    padding: 12px 4px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    justify-items: center;
    gap: 2rem;
}
#state-links a {
    color: #FFF;
    font-weight: 800;
}
.inpatient {
    color: var(--dark-orange);
    font-weight: 700;
}
#result h3.special-h3 {
    grid-column: 1 / -1;  /* spans all columns */
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
}

.active-location {
    background: #f0f8ff;
    transition: background 0.6s ease;
}



/*****FOOTER AREA*****/
footer {
    padding: 20px 0 0;
    background-color: var(--mid-gray);
    
}
.footer-bottom-area {
    border-top: 3px solid var(--dark-orange);
    background-color: var(--dark-blue);
    padding: 6px 0;
    font-size: .70rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: #2C359C;
}
.top-footer-area {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 6px;
    gap: 12px;
}
.footer-special-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-special-area .fa-facebook {
    color: var(--dark-blue);
    font-size: 1.2rem;
}
.footer-special-area .fa-linkedin-in, .footer-special-area .fa-phone, .footer-special-area .fa-youtube {
    color: var(--dark-blue);
    font-size: 1.15rem;
}

.footer-image-area {
    width: 100%;
    max-width: 240px;
}
.footer-logo {
    width: 100%;
    display: block;
}
.designer-logo {
    display: block;
    width: 35px;
}
.designer-area {
    display: flex;
    align-items: center;
    gap: 4px;
}
.designer-area a {
    color: #293293;
}
.top-footer-breaker {
    width: 100%;
    max-width: 580px;
    display: flex;
    justify-content: space-evenly;
}

.to-top-btn {
    position: fixed;
    right: 2%;
    bottom: 2%;
    background-color: rgb(199 193 139 / .70);
    padding: 8px;
    border-radius: 50%;
    box-shadow: 2px 2px 4px rgb( 0 0 0 /.35);
    width: 45px;
    height: 45px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: 1s;
}
.to-top-btn.scrolled {
    display: flex;
}
.fa-arrow-up {
    color: #FFF;
}











/*---->Media Query Area<----*/

@media screen and (max-width: 1200px) {
    nav {
        background: #FFF;
        box-shadow: 0 0 20px var(--dark-blue);
    }
    .nav-bar {
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }
    .nav-bar-bottom form {
        margin: auto;
    }
    .nav-toggle {
        display: flex;
    }
    .spacer-100 {
        padding: 80px 0;
    }
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
    }
    .nav-menu.toggled  {
        display: flex;
    }
    .dropdown {
        width: 100%;
        overflow: visible;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
    }
    a.nav-links {
        width: 100%;
    }
    .location-home-page-area {
        flex-direction: column;
    }
    .mission-statement-area {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1020px) {
    .mission-statement-area {
        font-size: .8rem;
    }
}

@media screen and (max-width: 900px) {
    .special-title {
        font-size: 2rem;
        
    }
    .home-header-area {
        height: 75vh;
    }

    .vol-structure {
        flex-direction: column;
    }
    .dropbtn {
        position: static;
    }
    .dropdown {
        position: relative;
        width: 100%;
    }
    .dropdown-content {
        min-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .home-header-area {
        height: 75vh;
        background-position: 70% 0;
    }
    .page-header-area {
        height: 55vh;
    }
    .mission-side-image {
        display: none;
    }
    .mission-statement-area h1 {
        text-align: center;
    }
    .tube-content-area {
        flex-direction: column;
    }
    .text-area {
        width: 100%;
    }
    .page-header-area-content h1 {
        font-size: 2.5rem;
    }
    .fa-bars {
        top: 30px;
    }
    .top-footer-area {
        flex-direction: column;
        align-items: center;
    }
    .footer-menu {
    }
}

@media screen and (max-width: 420px) {
    .location-item h4 {
        font-size: 1rem;
    }
    .location-item p {
        font-size: .9rem;
    }
    .special-title {
        font-size: 1.5rem;
    }
    .mission-statement-area {
        padding-top: 2rem;
        font-size: .8rem;
    }
    .choose-us-area h3 {
        font-size: 1.9rem;
    }
    .speak-with-you h5 {
        font-size: 1.6rem;
    }
}

