/* ===================== ROOT SYSTEM ===================== */

:root {
  --primary: #0f7f7f;
  --secondary: #e8f6f6;
  --text: #1f2d2d;
  --muted: #6b7c7c;

  --h1: 48px;
  --h2: 34px;
  --h3: 20px;
  --body: 16px;
  --small: 14px;
}

/* ===================== BASE ===================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: var(--body);
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 4px solid #fff;
  display: block;
}

/* ===================== TYPOGRAPHY ===================== */

h1, h2, h3 {
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

p {
  margin: 0 0 15px;
}

.muted {
  color: var(--muted);
  font-size: var(--small);
}

/* ===================== LAYOUT ===================== */

section {
  padding: 60px 0;
}

section:nth-child(even) {
  background: #f7fbfb;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}


section.mid-banner {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
  text-align: center;
}
/* ===================== HEADER ===================== */

header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 40px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 34px;
  width: auto;
}

/* ===================== NAV ===================== */

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

/* ===================== CTA BUTTON ===================== */

.cta {
  margin-left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

.cta-section {
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    #0c6b6b 100%
  );
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

/* tighten text inside */
.cta-section p {
  color: rgba(255,255,255,0.9);
}

.cta-section .container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  margin-bottom: 15px;
  }

.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 25px;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}


.cta-section .cta-btn {
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.cta-section .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.page-cta-grid {
  text-align: center;
  padding-top: 40px;
}


/* ===================== CTA IMAGE GRID ===================== */

.cta-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.cta-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  background: #fff;
 
}

.cta-img img {
  width: 100%;
  height: 160px;   /* key change: makes them small */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* hover movement consistent with other cards */
.cta-img:hover img {
  transform: scale(1.03);
}

/* responsive */
@media (max-width: 768px) {
  .cta-image-grid {
    grid-template-columns: 1fr;
  }

  .cta-img img {
    height: 200px;
  }
}

/* ===================== CONTACT BAR ===================== */

.contact-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 18px;
}

/* ===================== ICONS ===================== */

.social-icon img,
.phone-link img {
  width: 18px;
  height: 18px;
  border: none;
}

/* facebook hover */
.social-icon:hover img {
  transform: translateY(-2px);
  opacity: 0.8;
  transition: 0.25s ease;
}

/* phone layout */
.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
}

.phone-link span {
  transition: 0.25s ease;
}

.phone-link:hover span {
  transform: translateX(4px);
  color: var(--primary);
}

.phone-link:hover img {
  transform: translateY(-2px);
  opacity: 0.8;
  transition: 0.25s ease;
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 120px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/top.jpg') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
  color: #fff;
  margin-top: -80px;

  animation: fadeInUp 1.2s ease-out;
}

/* ===================== PAGE HERO ===================== */

.page-hero {
  background: var(--secondary);
  text-align: center;
  padding: 55px 0 70px;
  padding-bottom: 40px;
}

.page-hero .container {
  max-width: 850px;
}

/* fix centering issue */
.page-hero p {
  max-width: 750px;
  margin: 0 auto 15px;
}

.page-hero p {
  margin: 0 auto 10px;
  max-width: 750px;
}

.page-hero h1 {
margin-top: 0;
  margin-bottom: 8px;
  
}

/* ===================== GRID ===================== */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


.card {
  background: #fff;
  padding: 20px;
  border-top: 3px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

/* ===================== WHY GRID ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.why-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 22px 20px 20px;

  border-top: 4px solid #fff; /* THIS is the white top */
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* subtle accent line under the white top (optional but matches style) */
.why-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary);
  margin: -22px -20px 15px; 
}

/* hover like main cards */
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* top accent (matches design language) */
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary);
}

/* hover movement like service cards */
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* text spacing */
.why-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted);
  font-size: 15px;
}


/* ===================== TESTIMONIALS ===================== */

.testimonials {
  background: #fff;
  text-align: center;
}

.slider {
  overflow: hidden;
  position: relative;
  margin-top: 30px;
}

.slide-track {
  display: flex;
  width: calc(300px * 6); /* must match number of slides */
  animation: scroll 65s linear infinite;
}

.slide {
  width: 300px;
  margin: 0 15px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.slide p {
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}

.slide span {
  font-weight: 600;
  color: var(--primary);
}

/* scrolling animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* fade edges */
.slider::before,
.slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.slider::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.slider::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

/* pause on hover */
.slider:hover .slide-track {
  animation-play-state: paused;
}

/* stars */
.stars {
  color: #f5b301;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 8px 0 6px;
}

.slide-track {
  width: calc(300px * 12);
}

/* ===================== SUPPORT GRID ===================== */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.support-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.who-support {
  text-align: center;
  padding-top: 30px;
}

.mid-banner {
  padding: 25px 0;
  text-align: center;
}

.mid-banner h2 {
  margin: 0;
}

/* ===================== KEYFRAMES ===================== */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===================== SERVICES ===================== */

.services {
  text-align: center;
}

.services h2 {
  margin-bottom: 30px;
}


.services-grid h2 {
  text-align: center;
  margin-bottom: 30px;
}

.mid-banner {
  text-align: center;
  padding: 70px 0;
}

.mid-banner h2 {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy {
  text-align: center;
  padding-bottom: 20px;
}

.philosophy p {
  max-width: 750px;
  margin: 0 auto 15px;
  padding-bottom: 45px;
}



/* ===================== EXPERIENCE TAGS ===================== */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 0;
}

.tag-list span {
  background: #fff;
  border: 1px solid rgba(15, 127, 127, 0.15);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tag-list span:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.experience {
  padding-top: 35px;
  text-align: center;
}

.experience-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
  }
  
  .experience-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  .experience-media {
    grid-template-columns: 1fr;
  }

  .experience-media img {
    height: 240px;
  }
}





/* ===================== CTA IMAGE (FIXED GRID) ===================== */

.cta-image {
  padding: 80px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: stretch;
}

.cta-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.cta-grid img:hover {
  transform: translateY(-4px);
}

/* ===================== WHY MEDIA ===================== */

.why-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}

.why-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.why {
  padding-top: 40px;
  text-align: center;
}

.why .container {
  max-width: 900px;
  margin: 0 auto;
}

.why-grid {
  justify-content: center;
}

/* ===================== SPLIT ===================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ===================== BANNER ===================== */

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ===================== ABOUT ===================== */

/* tighter readable width */
.narrow {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

/* image strip */
.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.image-row img {
  height: 240px;
  object-fit: cover;
}

/* split section */
.split-section {
  background: #f7fbfb;
}

/* closing section */
.about-closing {
  text-align: center;
}


.about-closing {
  padding-top: 40px;
  padding-bottom: 40px;
}

.about-intro {
  padding-top: 20px;
}

/* ===================== FOOTER ===================== */


footer {
  text-align: center;
  padding: 25px 0;
  background: #f5f5f5;
  margin-top: 40px;
}

/* ===================== AREA ===================== */

.areas-support {
  background: #fff;
}

.areas-support h2 {
  text-align: center;
  margin-bottom: 10px;
}

.areas-intro {
  max-width: 800px;
  margin: 0 auto 35px;
  text-align: center;
  color: var(--muted);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.area-group {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-group:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.area-group h3 {
  margin-bottom: 8px;
}

.area-group p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.areas-footer {
  text-align: center;
  margin-top: 35px;
  color: var(--muted);
  font-size: 14px;
}

/* responsive */
@media (max-width: 768px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== CONTACT ===================== */

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  border-top: 3px solid var(--primary);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 25px;
}

.contact-card h2 {
  margin-bottom: 15px;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.contact-card button {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* mobile */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {

  .cta-grid,
  .why-media,
  .split,
  .banner-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}


