------------------ DESIGN TOKENS ------------------
:root{
  --brand:#4CAF87;
  --brand-700:#3a9b72;
  --ink:#222;
  --ink-2:#444;
  --muted:#666;
  --line:#e6e6e6;
  --bg:#ffffff;
  --bg-2:#f9f9f9;
  --hero-mask: rgba(0,0,0,.45);
  --radius:16px;
  --shadow-1:0 2px 6px rgba(0,0,0,.08);
  --shadow-2:0 8px 24px rgba(0,0,0,.12);
}

/* ------------------ RESET ------------------ */
*{box-sizing:border-box;margin:0;padding:0}
html:focus-within{scroll-behavior:smooth}
body{
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.7;
  color:var(--ink-2);
  background:var(--bg);
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font:inherit}
.container{width:min(1200px,90%);margin-inline:auto}
.section{padding:72px 0}
.section-title{
  text-align:center;
  font-size:clamp(1.6rem,2.5vw,2rem);
  margin-bottom:32px;
  color:#004466;
  font-weight:600;
}
.sr-only{
  position:absolute!important;
  height:1px;width:1px;
  overflow:hidden;clip:rect(1px,1px,1px,1px);
}

/* ------------------ HEADER ------------------ */
/* ---------------- HEADER ---------------- */
:root {
  --brand: #4CAF87;
  --brand-700: #43a073;
  --ink: #0a3d62;
  --line: #e0e0e0;
  --shadow-1: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-2: 0 4px 16px rgba(0,0,0,0.15);
}

/* -------- Header -------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

/* -------- Logo -------- */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text .brand {
  font-size: 20px;
  color: var(--ink);
  font-weight: 700;
}

.logo-text span {
  font-size: 12px;
  color: #777;
  display: block;
  margin-top: -2px;
}

/* -------- Navigation -------- */
.nav {
  position: relative;
}

/* Hamburger toggle */
.nav-toggle {
  display: none; /* hidden by default, only show on mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: 2px solid var(--brand);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-toggle-bar {
  height: 3px;
  width: 100%;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* Animate into X when open */
.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav links desktop */
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--brand);
  transition: width 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* -------- Buttons -------- */
.btn-appointment {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(76,175,135,0.25);
  transition: all 0.3s ease;
}

.btn-appointment:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  transform: translateY(-1px);
}

/* -------- Responsive -------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex; /* show hamburger on mobile */
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    display: grid;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .btn-appointment {
    display: none;
  }
}





/* ------------------ HERO ------------------ */
.hero {
  position: relative;
  min-height: 92vh; /* taller for breathing space */
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

/* Background image (carousel from JS if used) */
.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.75); /* darker for better text contrast */
  transition: opacity 1s ease-in-out;
  opacity: 0.9999;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Transparent overlay box */
.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  background: rgba(0, 0, 0, 0.45); /* subtle dark overlay */
  backdrop-filter: blur(4px);       /* soft blur effect */
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Heading */
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); /* scales nicely */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #4CAF87, #6fd1aa); /* green gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subheading text */
.hero-text p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  color: #f5f5f5;
  font-weight: 400;
  line-height: 1.6;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-ctas .btn,
.hero-ctas .btn.btn-secondary {
  background: #4CAF87;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.hero-ctas .btn:hover,
.hero-ctas .btn.btn-secondary:hover {
  background: #43a06c;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 175, 135, 0.35);
}

/* -------- Responsive Fix -------- */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh; /* smaller height on mobile */
    padding: 1rem;
  }

  .hero-background {
    background-position: top center; /* keep faces/important parts visible */
    background-size: cover; /* change to 'contain' if you want full image shown */
  }

  .hero-overlay {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-ctas .btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}



/* ------------------ ABOUT ------------------ */
/* About Carousel */

/* -------- Section Titles -------- */
/* -------- Section Titles -------- */
.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0a3d62;
  margin-bottom: 0.5rem;
}

.mini-head {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #4CAF87; /* unified brand color */
  margin-bottom: 1rem;
}

/* -------- About Section -------- */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem; /* reduced gap between image & text */
  align-items: start; /* align image and text to top */
  width: 90%;
  max-width: 1180px;
  margin: 0.5rem auto 0; /* reduced top/bottom margin */
  padding: 0.5rem 0; /* optional internal spacing */
}

.about-text {
  padding-right: 1rem; /* balanced spacing */
}

.about-text h2,
.about-text span,
.about-text p {
  margin-bottom: 0.5rem; /* tighter spacing */
}

.about-text p {
  margin-top: 0.5rem;
  line-height: 1.5;
}

.about-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 0;
  box-shadow: none;
  transform: scaleX(-1); /* flip horizontally */
  margin: 0 auto; /* center on smaller screens */
   margin-top: -100px;
}

/* -------- Mission & Vision Grid -------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  justify-content: center;
  width: 94%;
  max-width: 1200px;
  margin: 0 auto 4rem auto; /* top margin removed */
}

.about-grid div {
  background: #ffffff;
  padding: 1.3rem;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.about-grid div:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.about-grid h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #0a3d62;
  font-weight: 700;
  position: relative;
}

.about-grid h3::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  background: #38ada9;
  margin-top: 0.5rem;
  border-radius: 3px;
}

.about-grid p {
  line-height: 1.7;
  color: #555;
  font-size: 1rem;
}

/* Extra spacing under the grid */
.about-grid + * {
  margin-top: 2rem;
}

/* -------- Responsive -------- */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr; /* stack image & text */
    text-align: center;
    margin: 1rem auto;
  }
  /* .about-image img {
    margin-top: 0px;
} */

  .about-text {
    padding-right: 0;
  }

  .about-image img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr; /* stack mission/vision */
    gap: 1.5rem;
    width: 90%;
    margin-top: -2rem;
  }

  .about-grid div {
    padding: 1rem;
  }

  .about-image img {
    max-width: 250px;
  }
}



/* ------------------ SERVICES ------------------ */
.services {
  background: var(--bg-2);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 22px;
}

.card {
  background: #fff;
  border-radius: 18px; /* softer card corners */
  padding: 0;
  text-align: center;
  box-shadow: var(--shadow-1);
  perspective: 1000px;
  cursor: pointer;
  outline: 0;
}

.card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .6s;
}

.card:focus .card-inner,
.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-face {
  min-height: 270px;
  padding: 28px 20px;
  display: grid;
  place-content: center;
  gap: 10px;
  border-radius: 18px;
  backface-visibility: hidden;
}

.card-front h3 {
  font-size: 1.1rem;
  color: #0d2a52;
}

.card-back {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid var(--line);
  transform: rotateY(180deg);
  border-radius: 18px;
}

.card-back p {
  color: #555;
  line-height: 1.5;
}

/* Responsive grid */
@media (max-width: 900px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

/* Service Image Styling - Square */
.card-img {
  width: 380px;
  height: 190px;
  object-fit: cover;
  border-radius: 8px; /* small curve on corners */
  margin: 0 auto 12px;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover .card-img {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

@media (max-width: 480px) {
 .service-cards {
    margin-top: 30px;
  }
}
/* ------------------ FAQ ------------------ */
/* FAQ Box Style */
/* Section background */
.faq.section {
  background: #3a9b72;
  padding: 60px 20px;
}

.faq-item {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.faq-question {
  background: #fff;
  color: #222;
  font-weight: 600;
  font-size: 16px;
  border: none;
  transition: color 0.3s, background 0.3s;
}

.faq-question:hover {
  background: #f3fdf7;
  color: #3a9b72;
}

.faq-question i {
  transition: transform 0.25s, color 0.25s;
  color: #3a9b72;
  font-size: 18px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f8fdf9;
  padding: 0 20px;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item.open {
  border: 1px solid #3a9b72;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-item.open .faq-question {
  color: #3a9b72;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding: 14px 20px;
  border-top: 1px solid #e0e0e0;
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
  color: #3a9b72;
}

/* ------------------ Responsive ------------------ */
@media (max-width: 1024px) {
  .faq.section {
    padding: 50px 20px;
  }
}

@media (max-width: 768px) {
  .faq.section {
    padding: 40px 16px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .faq.section {
    padding: 30px 12px;
  }

  .faq-question {
    font-size: 14px;
  }

  .faq-answer {
    font-size: 13px;
  }

  .faq-item {
    border-radius: 10px;
  }
}




/* ------------------ CONTACT ------------------ */
.contact {
  padding: 80px 0;
  background: url('images/contact.avif') no-repeat center center/cover;
  position: relative;
  z-index: 1;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.45); /* subtle overlay */
  z-index: -1;
}

.contact .section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #222;
}

.contact-form {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.form-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  background: #fff;
}

.contact-form textarea {
  border-radius: 14px;
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand, #4CAF87);
  box-shadow: 0 0 0 4px rgba(76, 175, 135, 0.12);
}

.contact-form button.btn {
  align-self: flex-start;
  background-color: var(--brand, #4CAF87);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button.btn:hover {
  background-color: #3a9b72;
  transform: translateY(-2px);
}

.form-note {
  min-height: 20px;
  font-weight: 600;
  color: #222;
}

/* ------------------ Responsive ------------------ */
@media (max-width: 1024px) {
  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 860px) {
  .form-row {
    flex-direction: column;
    gap: 12px; /* optional, keeps spacing */
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    flex: 1 1 100%; /* full width */
    width: 100%;
  }
}


@media (max-width: 480px) {
  .contact {
    padding: 60px 16px;
  }

  .contact .section-title {
    font-size: 1.6rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 16px;
    font-size: 14px;
  }

  .contact-form button.btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* ------------------ FOOTER ------------------ */
.footer {
  background: #1e1e1e;
  color: #ccc;
  padding: 16px 12px 8px; /* Tightest padding */
  font-size: 14px;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.footer-col {
  flex: 1 1 180px;
}

.footer-col h2,
.footer-col h4,
.footer-col .logo,
.footer-col p,
.footer-col ul,
.footer-col ul li {
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

.footer-col h2.logo {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}

.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.footer-col p {
  margin: 2px 0;
  font-size: 13px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin: 2px 0;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 13px;
}

.footer-col a:hover {
  color: #00b894;
}

.social-icons {
  margin-top: 4px;
}

.social-icons a {
  font-size: 14px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00b894;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 10px;
  padding-top: 6px;
  text-align: center;
  color: #888;
  font-size: 12px;
}

/* ------------------ Responsive ------------------ */
@media (max-width: 860px) {
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-col {
    width: 100%;
  }
}



/* ------------------ MISC ------------------ */
.back-to-top{
  position:fixed;right:14px;bottom:14px;border:0;border-radius:999px;padding:10px 12px;background:var(--brand);
  color:#fff;box-shadow:var(--shadow-2);cursor:pointer;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s
}
.back-to-top.show{opacity:1;visibility:visible}
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}

/* Active nav link styling when section in view */
.nav-links a.is-current{color:var(--brand)}
.nav-links a.is-current::after{width:100%}

/* ------------------ TESTIMONIALS ------------------ */
/* Carousel Base */
.testi-carousel-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Styling */
.testimonials .card {
  flex: 0 0 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  display: flex;
  align-items: center; /* align all cards consistently */
  justify-content: flex-start;
  padding: 30px;
  gap: 25px;
}

.testimonials .card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ddd;
  flex-shrink: 0;
}

.testimonial-text {
  flex: 1;
}

.testimonial-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  font-style: italic;
}

.author {
  font-weight: 600;
  font-size: 16px;
  color: #4CAF87;
}

/* Buttons */
.testi-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #4CAF87;
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 10px;
  transition: background 0.3s;
}

.testi-btn:hover {
  background: #43a06c;
}

.testi-btn.prev { left: 15px; }
.testi-btn.next { right: 15px; }

/* Dots */
.testi-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.testi-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #bbb;
  cursor: pointer;
  transition: background 0.3s;
}

.testi-dots button.active {
  background: #4CAF87;
}

/* Mobile */
@media (max-width: 768px) {
  .testimonials .card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    align-items: center;
  }
  .testimonials .card img {
    margin-bottom: 15px;
  }
}


   /* Hero Section */
.core-hero-section {
  position: relative;
  background: url('images/bghero.avif') center/cover no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.core-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 135, 0.9) 40%, rgba(255, 255, 255, 0.6));
  z-index: 1;
}

.core-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.core-hero-content h2 {
  font-size: 32px;
  color: #fff;
}

.core-hero-content p {
  font-size: 16px;
  color: #f1f1f1;
}

/* Core Values Section */
.core-services-section {
  padding: 0 20px 60px;
  text-align: center;
  position: relative;
  z-index: 3;
  margin-top: -190px;
}

.core-services-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #0d1b2a;
}

.core-cards-wrapper {
  margin-top: -100px;
  padding-top: 100px;
}

.core-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.core-service-card {
  background: white;
  width: 220px;
  height: 230px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.core-card-logo {
  width: 50px;
  height: 50px;
  margin-top: 30px;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.core-card-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #0d1b2a;
  position: relative;
  z-index: 1;
}

/* Overlay text */
.core-card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(76, 175, 135, 0.95);
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 3;
  padding: 15px;
  border-radius: 12px;
}

/* Hover effects */
.core-service-card:hover {
  transform: translateY(-5px);
}

.core-service-card:hover .core-card-hover-overlay {
  transform: translateY(0);
}

.core-service-card:hover .core-card-logo {
  opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .core-hero-content h2 {
    font-size: 28px;
  }
  .core-service-card {
    width: 90%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .core-hero-content h2 {
    font-size: 24px;
  }

  .core-card-hover-overlay {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
 
.core-services-section {
margin-top: 20px;
}
  
}

