
:root{
  --navy:#0b3c55;
  --teal:#1597a7;     /* brighter teal */
  --bg:#f9fafa;
  --text:#4f5b66;     /* softer gray */
  --muted:#7a8794;
  --ring: rgba(21,151,167,0.25);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:var(--bg)}
a{color:var(--teal);text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* Universal button styles */
.btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;    /* THIS is required to make it look like a box */
  border: 2px solid var(--teal);
  box-shadow: 0 6px 16px var(--ring);
  transition: 0.2s ease;
}

/* Filled teal button */
.btn.primary {
  background: var(--teal);
  color: #ffffff;
}

/* White outlined button */
.btn.secondary {
  background: #ffffff;
  color: var(--teal);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--ring);
}


/* Top contact bar */
.top-bar {
  background: var(--teal);     /* CuraWell teal */
  color: #ffffff;
  font-size: 14px;
}

.top-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;     /* centers the group */
  gap: 32px;                   /* space between phone & email */
}

.top-bar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-bar-icon {
  font-size: 14px;
}



/* Stack on small screens */
@media (max-width: 600px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
  }
}


/* Header */
header{position:sticky;top:0;backdrop-filter:saturate(180%) blur(8px);background:rgba(255,255,255,0.85);border-bottom:1px solid #eaecef;z-index:10}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:14px}
.brand img{height:44px;width:auto} /* original larger size restored */
.brand h1{font-size:18px;margin:0;color:var(--navy);font-weight:800;letter-spacing:0.2px}
.tagline{font-size:12px;color:#6b7280;margin:2px 0 0 0;letter-spacing:0.6px;text-transform:uppercase}

.menu{display:flex;gap:18px;align-items:center}
.menu a{font-weight:600;color:var(--navy)}
.cta{background:var(--teal);color:#fff;padding:10px 16px;border-radius:10px;font-weight:700;box-shadow:0 6px 16px var(--ring)}
.cta:focus-visible{outline:2px solid var(--teal);outline-offset:2px}



/* MAIN PAGE HERO */
.hero {
  background-position: center center;
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  padding: 0px 0px 150px;
  aspect-ratio: 16 / 9;
  min-height: 520px;
  max-height: 820px;
  background:
    linear-gradient(
      to top,
      rgba(255,255,255,0.75) 0%,
      rgba(255,255,255,0.35) 25%,
      rgba(255,255,255,0.00) 55%
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.90) 0%,
      rgba(255,255,255,0.40) 10%,
      rgba(255,255,255,0.05) 35%),
    url("assets/background.jpg") center center / cover no-repeat;
}


.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 300px 20px 150px;
  text-align: left;
}

.hero-inner-logo {
  text-align: right;
  position: absolute;
  top: 70px;      /* move up/down */
  right: 100px;    /* move left/right */
  z-index: 5;     /* keeps it above the background */
}


.hero-logo {
  width: clamp(400px, 22vw, 1000px); /* responsive size */
  height: auto;
  max-width: 100%;
  display: block;
}

.hero-headline {
  max-width: 750px;
  font-size: 44px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  line-height: 1.25;
  text-shadow: 0 5px 12px rgba(0,0,0,0.25);

}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-badges span {
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #e6ebef;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-inner {
    margin-left: 0;
    text-align: center;
  }
  .hero {
    aspect-ratio: auto;        /* allow height to grow */
    min-height: 620px;         /* prevents squishing */
    padding: 100px 20px 120px;

    background-position: 70% center;
  }
}






/* Main Page Technology Section */
.tech-section {
  padding: 60px 20px;
}

.tech-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.tech-item.reverse {
  flex-direction: row-reverse;
}

.tech-item img {
  width: 380px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.tech-text h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #073b55; /* CuraWell navy */
}

.tech-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.tech-section {
  padding: 60px 20px;
  background: #E7F6F8;
  border-radius: 12px;
  margin: 40px auto;
}

.tech-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: #073b55; /* CuraWell navy */
  margin-top: 0px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.tech-title span{
  color: var(--teal);
}

/* Technology button*/
  .explore-tech {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 10px;
}

.explore-tech a {
  font-size: 28px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
}

.explore-tech a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .tech-item,
  .tech-item.reverse {
    flex-direction: column;
    text-align: center;
  }

  .tech-item img {
    width: 100%;
    max-width: 380px;
    margin-bottom: 20px;
  }
}



/* Home: Contact + Service Area block */
.contact-map-section {
  padding: 56px 0 64px;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 24px;
  align-items: flex-start;
}

/* Contact card styling */
.contact-card-title {
  text-align: center;
  color: var(--navy);
  margin: 0 0 8px;
}

.contact-card-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 24px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form-full {
  grid-column: 1 / -1;
}

.contact-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9e1e6;
  border-radius: 10px;
  font: inherit;
  color: var(--text);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Map card */
.map-card {
  padding: 20px;
}

.map-title {
  margin: 0 0 4px;
  color: var(--navy);
}

.map-subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 7px
}

.map-frame {
  border-radius: 12px;
  overflow: hidden;
}

/* Responsive layout */
@media (max-width: 900px) {
  .contact-map-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}





/* Services Sections */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:48px auto}
.card{background:#fff;border:1px solid #e6ebef;border-radius:16px;padding:18px;text-align:left;box-shadow:0 3px 10px rgba(3,20,31,0.05)}
.card h3{margin:0 0 8px;color:var(--navy)}
.card p{margin:0;color:#55616c}

footer{border-top:1px solid #e6ebef;padding:24px 0;text-align:center;color:#6b7280;margin-top:48px}

/* Services button*/
.explore-services {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 10px;
}

.explore-services a {
  font-size: 28px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 25px auto;
  max-width:1100px
}

.card {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(3,20,31,0.08);
}


@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


.explore-services a:hover {
  text-decoration: underline;
}



/* Wound types section */

/* Full-width light blue background */
.wound-types-wrap{
  background: #E7F6F8;
}
.wound-types{
  padding: 60px 0px;
  background: #E7F6F8;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 24px 0px;
}

.wound-types-title{
  margin: 0;
  color: var(--navy);
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.wound-types-title span{
  color: var(--teal);
}

.wound-types-subtitle{
  margin: 10px 0 28px;
  color: #5b6b78;
  max-width: 720px;
}

.wound-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  row-gap: 50px;
  align-items: start;
}

/* Each wound entry becomes a row: text + image */
.wound-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: 0; /* prevents weird overflow */
}

/* Alternate layout for right column items */
.wound-item:nth-child(even){
  grid-template-columns: 160px 1fr; /* image | text */
}

.wound-item:nth-child(even) .wound-img{
  order: 1;
}

.wound-item:nth-child(even) .wound-text{
  order: 2;
}

/* Text is allowed to shrink, but not overlap image */
.wound-text{
  flex: 1;
  min-width: 0;
  max-width: 520px; /* THIS is what stops overlap */
}

/* Image gets a fixed size (make it bigger here) */
.wound-img{
  flex: 0 0 220px;   /* fixed width column */
  width: 220px;
  border-radius: 8px;
}

.wound-img img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 10px 24px rgba(3,20,31,0.08);
}

/* Mobile: stack */
@media (max-width: 900px){
  .wound-grid{ grid-template-columns: 1fr; }

  .wound-item,
  .wound-item.reverse{
    flex-direction: column;
    align-items: flex-start;
  }

  .wound-text{ max-width: 100%; }
}

/* Sticky mobile call button - bottom center */
.sticky-call{display:none}
@media (max-width:900px){
  .grid{grid-template-columns:1fr}
  .brand h1{display:none}
  .tagline{display:none}
  .sticky-call{
    display:flex;
    position:fixed;left:0;right:0;bottom:16px;
    justify-content:center;z-index:50;
  }
  .sticky-call a{
    background:var(--teal);
    color:#fff;
    font-weight:800;
    padding:14px 24px;
    border-radius:999px;
    box-shadow:0 10px 24px var(--ring);
    border:2px solid white;
  }
}





/* TECHNOLOGY PAGE */

.tech-hero{
  padding: 26px 0 30px;
}

.tech-hero-kicker{
  color: #2C7C8B;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}

.tech-hero-title{
  margin: 0;
  color: var(--navy);
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
  padding: 0px 0px 15px
}

.tech-hero-title span{
  color: var(--teal);
}

.tech-hero-sub{
  margin: 0;
  color: var(--muted);
  max-width: 820px;
  font-size: 18px;
}

.tech-block{
  padding: 64px 0;
  background: #fff;
}

.tech-block.alt{
  background: #EAF4F7;
}

.tech-block-inner{
  display: flex;
  gap: 56px;
  align-items: center;
}

.tech-block-inner.reverse{
  flex-direction: row-reverse;
}

.tech-media{
  display: flex;
  flex: 0 0 46%;
  flex-direction: column;
  gap: 20px;
}

.tech-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.20);
}

.tech-content{
  flex: 1;
}

.tech-content h3{
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 34px;
  letter-spacing: -0.02em;
}

.tech-content p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.faq{
  margin-top: 18px;
}

.faq-title{
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: #2C7C8B;
  margin-bottom: 10px;
}

.faq-list{
  margin: 0;
  padding: 0;
}

.faq-list dt{
  margin-top: 14px;
  color: var(--navy);
  font-size: 16px;
}

.faq-list dd{
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-list dt:first-child{ margin-top: 0; }

.tech-bullets{
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
}

@media (max-width: 900px){
  .tech-hero-title{ font-size: 36px; }

  .tech-block-inner,
  .tech-block-inner.reverse{
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }

  .tech-media{ flex: 1; }
  .tech-content h3{ font-size: 28px; }
  .tech-content p,
  .tech-bullets{ font-size: 16px; }
}





/* ABOUT HERO */
.about-hero{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: start;
  padding: 44px 0 18px;
}

.about-hero-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(3,20,31,0.10);
}

.about-kicker{
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.about-title{
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.about-title span{
  color: var(--teal);
}

.about-block{
  margin: 14px 0 0;
}

.about-block h3{
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.about-block p{
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  max-width: 54ch;
}

.about-quote{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e6ebef;
  color: var(--muted);
  font-style: italic;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px){
  .about-hero{
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0 6px;
  }

  .about-title{
    font-size: 38px;
  }
}






/* GLOBAL FOOTER */
.footer {
  background-color: #0f2f33; /* deep teal */
  color: #eaf7f7; /* light text */
  padding: 40px 20px 0 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left, .footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-left i {
  margin-right: 10px;
  color: #30d5c8; /* CuraWell teal accent */
}

.footer-logo img {
  max-width: 240px;   /* smaller logo width */
  height: auto;       /* keeps proportions */
  opacity: 0.9;       /* optional soft look */
  margin-top: 10px;   /* space above */
}

.footer-left a {
  color: #30d5c8;
  text-decoration: none;
  font-weight: 500;
}

.footer-left a:hover {
  color: #9df5ef;
  text-decoration: underline;
}

.footer-right h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.footer-right p {
  line-height: 1.5;
  color: #d6eeee;
}

.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  background-color: #16484d;
  color: white;
  padding: 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background-color: #30d5c8;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  background-color: #0b2023;
  margin-top: 40px;
  padding: 15px;
  font-size: 0.9rem;
  color: #b4d9d9;
  border-top: 1px solid rgba(255,255,255,0.1);
}


/* ===== Mobile spacing fixes ===== */
@media (max-width: 768px) {

  /* Hero container */
  .hero {
    padding-bottom: 140px; /* creates breathing room */
  }

  /* Hero inner content */
  .hero-inner {
    padding-top: 80px;
  }

  /* Headline spacing */
  .hero h1 {
    margin-bottom: 16px;
  }

  /* Pills / badges */
  .hero-badges {
    gap: 10px;
    margin-bottom: 22px;
  }

  /* Primary CTA button */
  .hero .btn-primary {
    margin-bottom: 16px;
  }

  /* Secondary CTA */
  .hero .btn-secondary {
    margin-bottom: 28px;
  }

  /* Services cards section */
  .services-preview {
    margin-top: 32px;
  }

  /* Individual service cards */
  .service-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .menu .cta {
    display: none;
  }
}

/* Hide header Schedule button on mobile (floating CTA remains) */
@media (max-width: 768px) {
  header .btn.primary {
    display: none !important;
  }
}


