:root {
    --g: #043f37;
    --g2: #086556;
    --gold: #c88918;
    --gold2: #e4ad4b;
    --cream: #fffaf0;
    --ink: #16312c;
    --muted: #63736e;
    --line: #e3ebe7
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1160px, 92%);
    margin: auto
}

.top {
    background: var(--g);
    color: #dcece7;
    font-size: 13px;
    padding: 8px 0
}

.top .container {
    display: flex;
    justify-content: space-between;
    gap: 15px
}

header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px
}

.logo img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 50%
}

.logoText {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--g)
}

.logoText b {
    color: var(--gold)
}

.logoText small {
    display: block;
    font: 700 9px Arial;
    letter-spacing: 2.2px;
    color: #455a55;
    margin-top: -3px
}

nav {
    display: flex;
    gap: 25px;
    font-weight: 700;
    font-size: 14px;
    color: #405a55
}

nav a:hover {
    color: var(--gold)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition: .2s
}

.btn.gold {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 8px 20px #c8891830
}

.btn.gold:hover {
    background: #ad7310;
    transform: translateY(-2px)
}

.btn.green {
    background: var(--g);
    color: #fff
}

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, #e9f5ef 0, #fff 43%, #f8fbf7 100%);
    padding: 70px 0 62px
}

.heroGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase
}

.eyebrow:before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--gold)
}

h1 {
    font: 700 clamp(43px, 6vw, 69px)/1.02 Georgia, serif;
    color: var(--g);
    margin: 13px 0 20px;
        font-size: 38px;
}

h1 em {
    font-style: normal;
    color: var(--gold)
}

.heroLead {
    font-size: 18px;
    line-height: 1.7;
    color: #536762;
    max-width: 650px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0
}

.trustRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px
}

.trust {
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px 13px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 7px 22px #17493b0c
}

.heroPic {
    position: relative;
    border-radius: 30px;
    padding: 8px;
    background: linear-gradient(135deg, #fff, #e9f2eb);
    box-shadow: 0 28px 70px #17493b25
}

.heroPic img {
    width: 100%;
    height: 510px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 24px
}

.floating {
    position: absolute;
    left: -18px;
    bottom: 25px;
    background: #fff;
    padding: 15px 18px;
    border-radius: 16px;
    box-shadow: 0 15px 35px #17493b25;
    font-weight: 900;
    color: var(--g)
}

.floating span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600
}

section {
    padding: 82px 0
}

.cream {
    background: var(--cream)
}

.sectionHead {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center
}

.sectionHead h2 {
    font: 700 43px/1.1 Georgia, serif;
    color: var(--g);
    margin: 0 0 10px
}

.sectionHead p {
    color: var(--muted);
    font-size: 16px
}

.serviceGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.service {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 23px;
    box-shadow: 0 10px 30px #17493b0b;
    transition: .22s;
    position: relative;
    overflow: hidden
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px #17493b18
}

.service:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--g), var(--gold))
}

.num {
    color: var(--gold);
    font-weight: 900;
    font-size: 13px
}

.ico {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: #edf6ef;
    border-radius: 16px;
    font-size: 25px;
    margin: 12px 0
}

.service h3 {
    color: var(--g);
    font-size: 19px;
    margin: 0 0 9px
}

.service p,
.service li {
    color: #65746f;
    font-size: 13.5px;
    line-height: 1.55
}

.service ul {
    padding-left: 17px;
    margin: 8px 0
}

.featureGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 27px;
    text-align: center
}

.feature .ico {
    margin: 0 auto 13px
}

.feature h3 {
    color: var(--g);
    margin: 0 0 7px
}

.feature p {
    color: var(--muted);
    font-size: 14px;
    margin: 0
}

.benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.box {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    padding: 30px
}

.box h3 {
    font: 700 29px Georgia, serif;
    color: var(--g);
    margin: 0 0 15px
}

.checks {
    list-style: none;
    padding: 0;
    margin: 0
}

.checks li {
    padding: 8px 0 8px 29px;
    position: relative;
    color: #526660
}

.checks li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    background: var(--g);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900
}

.booking {
    background: linear-gradient(135deg, #043f37, #07584c);
    color: #fff
}

.bookGrid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 45px
}

.booking h2 {
    font: 700 46px Georgia, serif;
    margin: 0 0 13px
}

.bookingIntro {
    color: #d3e4df;
    line-height: 1.7
}

.contact {
    margin-top: 25px;
    display: grid;
    gap: 10px
}

.contact div {
    padding: 13px 15px;
    border: 1px solid #ffffff22;
    border-radius: 14px;
    background: #ffffff09
}

.form {
    background: #fff;
    color: var(--ink);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 65px #0000002b
}

.formGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

label {
    display: block;
    font-size: 12px;
    font-weight: 900;
    color: #47615b;
    margin: 0 0 6px
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d9e5df;
    border-radius: 12px;
    padding: 13px;
    font: inherit;
    outline: none;
    background: #fcfefc
}

textarea {
  
    resize: vertical
}

.full {
    grid-column: 1/-1
}

.cta {
    background: #f5f9f4;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.cta h3 {
    font: 700 31px Georgia, serif;
    color: var(--g);
    margin: 0 0 7px
}

.cta p {
    color: var(--muted);
    margin: 0
}

footer {
    background: #032f29;
    color: #d5e7e1;
    padding: 30px 0
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.goldText {
    color: #e0a33a
}

.wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #20a85a;
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 900;
    z-index: 100;
    box-shadow: 0 12px 30px #0003
}

@media(max-width:950px) {
    nav {
        display: none
    }

    .heroGrid,
    .bookGrid,
    .benefits {
        grid-template-columns: 1fr
    }

    .serviceGrid {
        grid-template-columns: repeat(2, 1fr)
    }

    .heroPic img {
        height: 430px
    }
}

@media(max-width:600px) {
    .top .container {
        justify-content: center;
        text-align: center
    }

    .nav {
        height: 70px
    }

    .logo img {
        width: 55px;
        height: 55px
    }

    .logoText {
        font-size: 22px
    }

    .hero {
        padding: 48px 0
    }

    .heroPic img {
        height: 330px
    }

    .trustRow {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .serviceGrid,
    .featureGrid {
        grid-template-columns: 1fr
    }

    section {
        padding: 60px 0
    }

    .sectionHead h2,
    .booking h2 {
        font-size: 35px
    }

    .formGrid {
        grid-template-columns: 1fr
    }

    .full {
        grid-column: auto
    }

    .cta,
    .foot {
        flex-direction: column;
        align-items: flex-start
    }

    .wa {
        right: 12px;
        bottom: 12px
    }
}

/* CareSure Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 30, 25, 0.65); /* Soft Dark Backdrop */
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Modal Open Class */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  width: 90%;
  max-width: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  color: #123524;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #ffffff;
  transform: scale(1.1);
}

.modal-image-wrapper {
  position: relative;
  width: 100%;
  height: 295px;
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  bottom: 12px;
  left: 15px;
  background: #c28e2b; /* Gold Accent */
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.modal-body {
  padding: 24px;
  text-align: center;
}

.modal-tagline {
  color: #c28e2b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-body h2 {
  color: #123524; /* Theme Dark Green */
  margin: 8px 0 10px 0;
  font-size: 22px;
  font-weight: 700;
}

.modal-body p {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-primary-modal {
  background: #c28e2b;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  flex: 1;
  transition: background 0.2s;
}

.btn-primary-modal:hover {
  background: #a37420;
}

.btn-secondary-modal {
  background: #123524;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-secondary-modal:hover {
  background: #0b2217;
}
/* ==========================================
   CARESURE FOOTER DESIGN
   ========================================== */

:root {
  --cs-green-dark: #0d3b2e;
  --cs-green-medium: #124738;
  --cs-gold: #c28e2b;
  --cs-gold-hover: #d8a139;
  --cs-bg-light: #f4f8f6;
  --cs-text-muted: #a0b8b0;
}

.cs-footer {
  background-color: var(--cs-green-dark);
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding-top: 40px;
  position: relative;
}

/* CTA Banner Top */
.cs-footer-cta {
  max-width: 1140px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

.cs-footer-cta-container {
  background: linear-gradient(135deg, #ffffff 0%, var(--cs-bg-light) 100%);
  color: var(--cs-green-dark);
  padding: 32px 40px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(194, 142, 43, 0.2);
}

.cs-cta-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--cs-green-dark);
}

.cs-cta-text p {
  margin: 0;
  color: #4a635a;
  font-size: 15px;
}

.cs-cta-btn {
  background-color: var(--cs-gold);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(194, 142, 43, 0.35);
}

.cs-cta-btn:hover {
  background-color: var(--cs-gold-hover);
  transform: translateY(-2px);
}

/* Main Grid Content */
.cs-footer-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px 50px 20px;
}

.cs-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

/* Brand Column */
.cs-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cs-logo-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(194, 142, 43, 0.15);
  border: 1px solid var(--cs-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cs-logo-text {
  display: flex;
  flex-direction: column;
}

.cs-logo-text .brand-name {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.cs-logo-text .brand-name span {
  color: var(--cs-gold);
}

.cs-logo-text .brand-tagline {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--cs-text-muted);
  font-weight: 600;
}

.cs-brand-desc {
  color: var(--cs-text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cs-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-badge {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Titles & Lists */
.cs-footer-col h3 {
  color: var(--cs-gold);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 20px 0;
  position: relative;
}

.cs-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-footer-links li {
  margin-bottom: 12px;
}

.cs-footer-links a {
  color: var(--cs-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.cs-footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Contact Details */
.cs-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--cs-text-muted);
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.cs-contact-list a {
  color: var(--cs-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.cs-contact-list a:hover {
  color: var(--cs-gold);
}

.cs-contact-list .cs-icon {
  font-size: 16px;
}

/* Bottom Bar */
.cs-footer-bottom {
  background-color: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.cs-footer-bottom-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--cs-text-muted);
}

.cs-footer-bottom p {
  margin: 0;
}

.cs-motto {
  color: var(--cs-gold);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .cs-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cs-footer-cta-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .cs-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cs-footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

span a {
    color: inherit;
    text-decoration: none;
}


/* Animated Soft Background for Why Choose CareSure Section */
#why.cream {
    position: relative;
    padding: 80px 0;
    /* Soft Healthcare Theme Gradient Colors */
    background: linear-gradient(-45deg, #fffbeb, #e0f2fe, #f0fdf4, #fef3c7);
    background-size: 400% 400%;
    animation: smoothGradient 10s ease infinite;
    overflow: hidden;
}

/* Background Motion Keyframes */
@keyframes smoothGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Enhancing Feature Cards over Animated Background */
.featureGrid .feature {
    background: rgba(255, 255, 255, 0.85); /* Glass Effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Hover Animation */
.featureGrid .feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.glow-bg {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    animation: floatGlow 8s infinite alternate ease-in-out;
}

.glow-1 {
    background: #00A896;
    top: -10%;
    left: -5%;
}

.glow-2 {
    background: #F4A261;
    bottom: -10%;
    right: -5%;
    animation-delay: -4s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.2); }
}
/* Hide the automatically injected Netlify promotional badge, if present */
#netlify-badge,
.netlify-badge,
[data-netlify-badge],
iframe[src*="netlify" i][title*="badge" i] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
