/*--------- JoyfulGift Home Care Services ---------
[Site overrides]
Built on: Health Care - Responsive Html Template (demo8) by Kamleshyadav

This file holds ONLY the JoyfulGift-specific adjustments. The theme's own
assets/css/style.css has ONE deliberate exception: its hardcoded teal/coral
brand colors were recolored to the client's brand palette below (search that
file for the same hex values used here). Everything else in style.css is
unmodified layout/structure.

JoyfulGift brand palette:
  brand blue (main)     #1D398F
  brand blue - light     #3457B2   (service icon accent 1)
  brand blue - lighter   #5B82E0   (service icon accent 2 / email icon)
  brand blue - navy      #142A66   (service icon accent 3 / address icon)
  button yellow          #FACC15
  button yellow (hover)  #EAB308
  ink (body text)        #1f2732   -- unchanged from the theme
-------------------------------------------------*/

/* ---------- shared ---------- */
.hc-heading-plain {
    text-transform: none;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hc-heading-tight {
    margin-bottom: 20px;
}
.hc-btn-outline {
    background: transparent;
    color: #1D398F;
    border: 2px solid #1D398F;
    padding: 8px 20px;
    box-shadow: 0px 0px 0px 4px rgb(29 57 143 / 15%);
    margin-left: 15px;
}
.hc-btn-outline:hover {
    background: #1D398F;
    border-color: #1D398F;
    color: #fff;
}

/* ---------- top header ---------- */
.hc-top-head-div p a {
    color: #fff;
}
.hc-top-head-div p a:hover {
    color: #1f2732;
}

/* ---------- logo ---------- */
/* The logo badge bakes the full company name into the artwork itself (a
   circular mark with "JOYFULGIFT HOMECARE SERVICES" arced around a house/
   heart/hand icon), so it's sized up from the old icon-only mark and shown
   on its own -- an adjacent text lockup would just repeat the same name. */
.hc-logo a {
    display: inline-flex;
    align-items: center;
}
.hc-logo img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
}

/* ---------- banner ---------- */
.hc-banner-img {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 640px;
    padding: 40px 0;
}
.hc-banner-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgb(0 0 0 / 15%);
}
.hc-banner-content .hc-btn {
    margin-bottom: 10px;
}

/* ---------- services ---------- */
.hc-service .col-lg-4 {
    display: flex;
}
.hc-service-box {
    width: 100%;
    padding: 0 0 40px;
}
.hc-service-photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}
.hc-service-box .hc-service-icon {
    width: 80px;
    height: 80px;
    margin: -40px auto 20px;
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
}
.hc-service-box .hc-service-icon i {
    color: #fff;
    font-size: 30px;
}
.hc-service-box .hc-service-title,
.hc-service-box p {
    padding: 0 30px;
}
.hc-service-box .hc-service-title {
    font-size: 22px;
}

/* ---------- about ---------- */
.hc-image-style img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.hc-check-list li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 18px;
    font-size: 17px;
}
.hc-check-list li:last-child {
    margin-bottom: 0;
}
.hc-check-list li span {
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    background: #1D398F;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 0 0 4px rgb(29 57 143 / 15%);
}
.hc-about-content .hc-btn {
    margin-top: 40px;
}

/* ---------- contact ---------- */
.hc-contact-lead {
    margin-top: -20px;
    margin-bottom: 35px;
}
/* Honeypot spam trap: invisible to sighted visitors and out of tab order,
   but deliberately not display:none/visibility:hidden -- some spam bots
   specifically check for and skip those, defeating the trap. */
.hc-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}
/* Submit button's in-flight state: keeps the button's size (avoids layout
   shift) but swaps the label for a small spinner so clicking Submit doesn't
   look like nothing happened while the request is in the air. */
.hc-btn.hc-btn-loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
}
.hc-btn.hc-btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgb(29 57 143 / 35%);
    border-top-color: #1D398F;
    border-radius: 100%;
    animation: hc-btn-spin 0.7s linear infinite;
}
@keyframes hc-btn-spin {
    to { transform: rotate(360deg); }
}
.hc-contact-info li {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px 0 #eee;
    margin-bottom: 20px;
    transition: 0.3s;
}
.hc-contact-info li:last-child {
    margin-bottom: 0;
}
.hc-contact-info li:hover {
    box-shadow: 3px 3px 0 5px rgb(29 57 143 / 15%);
}
.hc-contact-info-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #142A66;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 0 0 5px rgb(20 42 102 / 15%);
}
.hc-contact-info li:nth-child(2) .hc-contact-info-icon {
    background: #1D398F;
    box-shadow: 0 0 0 5px rgb(29 57 143 / 15%);
}
.hc-contact-info li:nth-child(3) .hc-contact-info-icon {
    background: #5B82E0;
    box-shadow: 0 0 0 5px rgb(91 130 224 / 15%);
}
.hc-contact-info-text {
    padding-left: 20px;
}
.hc-contact-info-text h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}
.hc-contact-info-text p {
    margin-bottom: 0;
}

/* ---------- footer ---------- */
.hc-footer-logo img {
    width: 84px;
    height: 84px;
}
.hc-footer-logo h2 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 18px 0 6px;
}
.hc-footer-logo p {
    color: #fff;
    opacity: 0.75;
    margin-bottom: 0;
}
.hc-foot-contact-box p a {
    color: #fff;
}
.hc-foot-contact-box p a:hover {
    color: #facc15;
}
.hc-copyright-sub {
    font-size: 13px;
    opacity: 0.6;
    margin-top: 4px;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 1199px) {
    .hc-logo img {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
    }
}
@media screen and (max-width: 991px) {
    .hc-banner-img {
        max-width: 100%;
        padding: 0 0 60px;
    }
    .hc-banner-img img {
        height: 380px;
    }
    .hc-image-style img {
        height: 380px;
    }
}
@media screen and (max-width: 767px) {
    .hc-logo a {
        justify-content: center;
    }
    .hc-service .col-lg-4 {
        display: block;
    }
    .hc-heading-plain {
        font-size: 24px;
    }
    .hc-btn-outline {
        margin-left: 0;
    }
}

/* ---------- error pages (404/403/400/500) ---------- */
.hc-error-section {
    padding: 100px 0;
    text-align: center;
}
.hc-error-code {
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    color: #1D398F;
    opacity: 0.15;
    margin: 0 0 -20px;
}
.hc-error-heading {
    font-size: 34px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 18px;
}
.hc-error-text {
    max-width: 520px;
    margin: 0 auto 36px;
    color: #6b7280;
}
.hc-error-actions .hc-btn {
    margin: 0 6px 10px;
}
@media screen and (max-width: 480px) {
    .hc-error-section { padding: 70px 0; }
    .hc-error-code { font-size: 70px; }
    .hc-error-heading { font-size: 24px; }
}
