/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Core color palette (we will later tune to match Island Kin colors) */
:root {
  --primary-color: #006699;
  --primary-dark: #004466;
  --accent-color: #00a3c4;
  --text-color: #222222;
  --muted-text: #555555;
  --background-light: #f5f9fc;
  --white: #ffffff;
  --heading-font: "Playfair Display", "Times New Roman", serif;
}


/* Global styles */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid #e0e6ee;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
}


.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}


.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: var(--muted-text);
}


.logo-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--muted-text);
}

/* Navigation */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.1rem;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
  padding-bottom: 0.3rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  border-radius: 999px;
  background-color: var(--primary-color);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hero section */

.hero-section {
  position: relative;
  color: #ffffff;
  padding: 4.2rem 0 3.4rem;
  background-image: url("../images/home-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}






.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.hero-text-block {
  max-width: 640px;
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9e9ff;   /* light bluish white */
  margin-bottom: 0.7rem;
}



.hero-heading {
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 4.8vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 0.9rem;
  color: #ffffff;
}



.hero-highlight {
  display: block;
  color: #25d3b5;   /* teal accent like before */
}


.hero-subtitle {
  font-size: 1.125rem;
  max-width: 520px;
  color: #e3f0ff;
  margin-bottom: 1.2rem;
}



.hero-main-cta {
  margin-bottom: 0.6rem;
}

.hero-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background-color: var(--white);
  color: #004466;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.hero-call-btn:hover {
  background-color: #e1efff;   /* soft blue */
  color: #003a60;
}


.call-icon {
  font-size: 1.1rem;
}

/* Hero cards row */

.hero-card-row {
  display: flex;
  flex-direction: column;   /* schedule card on top */
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.2rem;
}



.hero-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}





.hero-card {
  position: relative;
  flex: 1 1 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.6rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 16px 36px rgba(2, 24, 60, 0.2);
  color: #102033;
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}





.hero-card-primary {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  padding: 0.9rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 260px;   /* change this number if you want wider */
  width: auto;
  align-self: flex-start;
}





.hero-card-primary:hover {
  background: #e9f3ff;        /* light blue */
  color: #003a60;
}



.hero-card-label {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
}

.hero-card-note {
  display: block;
  font-size: 0.85rem;
  color: #1e3652;        /* deeper blue so "Share your needs..." pops */
  margin-top: 0.1rem;
}


.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 1rem;
  background: linear-gradient(145deg, #0066cc, #00b894);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
}

.hero-card-body {
  display: flex;
  flex-direction: column;
}

.hero-card-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-card-text {
  font-size: 0.83rem;
  color: #1f2f45;
  margin-top: 0.05rem;
}



.hero-image-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #d2e4ff;
}

  .hero-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}


/* Generic sections */

.section {
  padding: 2.1rem 0;
}

.alt-section {
  background-color: var(--background-light);
}

.section h2 {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}



.section p {
  font-size: 1.125rem;       /* bigger body text */
  color: var(--muted-text);
  line-height: 1.5;
  max-width: 800px;          /* like your snippet */
}


/* About section */

.about-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}

.about-text {
  flex: 1 1 340px;
}

.about-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #e4f1ff;
  color: #0066cc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}


.about-heading {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b2740;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}



.about-body {
  font-size: 1.125rem;
  color: #4a6078;
  max-width: 520px;
  line-height: 1.5;
}


.about-stat-row {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-stat-card {
  flex: 1 1 120px;
  min-width: 120px;
  padding: 1rem 1.2rem;
  border-radius: 1.2rem;
  background-color: #ffffff;
  box-shadow: 0 14px 30px rgba(5, 45, 85, 0.1);
  text-align: center;
}

.about-stat-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0066cc;
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64738b;
}

.about-image-wrap {
  flex: 1 1 320px;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(3, 32, 66, 0.35);
  background: radial-gradient(circle at top left, #ffffff 0, #d7e5f7 45, #bcd7ff 100);
}

.about-image {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}


/* Gallery section */

.gallery-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.gallery-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #e4f1ff;
  color: #0066cc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

.gallery-heading {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b2740;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.gallery-intro {
  font-size: 1.125rem;
  color: #4a6078;
  max-width: 720px;
  margin: 0 auto;
}

.gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.gallery-card {
  background-color: #ffffff;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(5, 45, 85, 0.12);
  display: flex;
  flex-direction: column;
}

.gallery-card-image-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.gallery-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card-body {
  padding: 1.1rem 1.4rem 1.2rem;
}

.gallery-card-title {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  color: #0b2740;
  margin-bottom: 0.35rem;
}

.gallery-card-text {
  font-size: 0.95rem;
  color: #4a6078;
}

/* small screens */

@media (max-width: 768px) {
  .gallery-header {
    text-align: left;
  }

  .gallery-intro {
    margin: 0;
  }
}




/* Stack nicely on small screens */

@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
  }

  .about-image-wrap {
    order: -1;
    width: 100%;
  }

  .about-stat-row {
    flex-direction: column;
  }
}





/* Services cards */

.services-section .section-intro {
  margin-bottom: 1.8rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.service-card {
  position: relative;
  flex: 1 1 280px;
  background-color: var(--white);
  border-radius: 1.4rem;
  padding: 1.8rem 1.6rem 1.7rem;
  box-shadow: 0 18px 40px rgba(5, 45, 85, 0.08);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #00b894, #0066cc);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 1.3rem;
  background: linear-gradient(145deg, #0066cc, #00b894);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon span {
  font-size: 1.4rem;
}

.services-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #e4f1ff;
  color: #0066cc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}


.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: var(--primary-dark);
}

.service-card p {
  font-size: 0.93rem;
  color: var(--muted-text);
  margin-bottom: 0.9rem;
}

.service-list {
  list-style: none;
  padding-left: 0;
}

.service-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0.4rem;
}

.service-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.8rem;
  color: #00b894;
}



/* Contact section */

.contact-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-left {
  max-width: 460px;
}

.contact-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #e4f1ff;
  color: #0066cc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

.contact-heading {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b2740;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.contact-lead {
  font-size: 1.125rem;
  color: #4a6078;
  line-height: 1.5;
}

.contact-info-cards {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: 1.4rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(5, 45, 85, 0.12);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007ec9, #00b3a9);
  color: #ffffff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-info-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b2740;
}

.contact-info-main {
  font-size: 0.95rem;
  color: #0066cc;
  text-decoration: none;
}

.contact-info-main + .contact-info-main {
  margin-top: 0.1rem;
}

.contact-info-main:hover {
  text-decoration: underline;
}

.contact-info-note {
  font-size: 0.8rem;
  color: #7a8aa3;
}

/* Form card */

.contact-form {
  background: #ffffff;
  border-radius: 1.6rem;
  padding: 1.8rem 2rem 2rem;
  box-shadow: 0 18px 40px rgba(5, 45, 85, 0.12);
}

.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.contact-form-row-two {
  flex-direction: row;
  gap: 0.8rem;
}

.contact-form-row-two .form-field {
  flex: 1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a6078;
  margin-bottom: 0.25rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #d6e1f0;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #203248;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background-color: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #0088d6;
  box-shadow: 0 0 0 2px rgba(0, 136, 214, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-submit-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-image: linear-gradient(135deg, #007ec9, #00b3a9);
  box-shadow: 0 12px 30px rgba(5, 45, 85, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(5, 45, 85, 0.28);
  opacity: 0.95;
}

/* Contact responsive */

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form {
    padding: 1.4rem 1.5rem 1.6rem;
  }

  .contact-form-row-two {
    flex-direction: column;
  }
}







/* Footer */

.site-footer {
  background: #00263f;
  color: #cfd9e8;
  padding: 1.5rem 0;
  margin-top: 2rem;
  text-align: left; /* override any global centering */
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.footer-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: #9fb0c8;
}

.footer-social {
  flex: 1;
  text-align: right;
}

.footer-social-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb0c8;
  margin-bottom: 0.25rem;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: flex-end;
}

.footer-social-links a {
  font-size: 0.9rem;
  color: #e4f1ff;
  text-decoration: none;
}

.footer-social-links a:hover {
  text-decoration: underline;
}

/* footer on small screens */

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    text-align: left;
  }

  .footer-social-links {
    justify-content: flex-start;
  }
}



/* Emergency call button */

.emergency-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background-color: #ff6b35;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.emergency-button:hover {
  background-color: #e85a28;
}

.emergency-icon {
  font-size: 1.1rem;
}

.emergency-text {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .main-nav ul {
    gap: 0.9rem;
    flex-wrap: wrap;
  }

  .hero-section {
    padding: 3.2rem 0 2.6rem;
  }

  .hero-heading {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}


  .hero-card-row {
    flex-direction: column;
  }

  .hero-card,
  .hero-card-primary {
    box-shadow: 0 10px 24px rgba(2, 24, 60, 0.35);
  }

  .services-grid {
    flex-direction: column;
  }
}
/* On smaller screens, show only the icons in the hero feature cards */
@media (max-width: 600px) {
  .hero-feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .hero-card {
    padding: 0.6rem;
    justify-content: center;
  }

  /* Hide the text (title + description) under each icon */
  .hero-card-body {
    display: none;
  }

  /* Make sure the icon is centered nicely */
  .hero-card-icon {
    margin: 0 auto;
  }
}
