/* ================================
   HOME (index) — page-scoped styles
   ================================ */
:root {
  --brand: #4dbbcf;
  --brand-dark: #37a7b7;
  --ink: #222;
  --muted: #555;
}


/* === Animated Logo (breathing + twinkle + flicker) === */
.logo img {
  height: 60px;
  width: auto;
  animation:
    fadeInDown 1.2s ease-in-out both,
    logoBreath 6.5s ease-in-out infinite,
    logoTwinkle 10s linear infinite,
    logoFlicker 9s linear infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
  will-change: transform, filter, opacity;
  backface-visibility: hidden;
}
.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(77, 187, 207, 0.6));
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes logoBreath {
  0%,100% { transform: scale(1);    filter: brightness(1); }
  50%     { transform: scale(1.015); filter: brightness(1.08); }
}
@keyframes logoTwinkle {
  0%, 28%, 32%, 60%, 64%, 100% { opacity: 1; }
  30% { opacity: .985; }
  62% { opacity: .99; }
}
@keyframes logoFlicker {
  0%, 100% { opacity: 1; filter: brightness(1); }
  5%  { opacity: .96; filter: brightness(.98); }
  6%  { opacity: .85; filter: brightness(.9);  }
  7%  { opacity: 1;   filter: brightness(1.02);}
  29% { opacity: 1;   filter: brightness(1);   }
  30% { opacity: .95; filter: brightness(.96); }
  31% { opacity: .7;  filter: brightness(.88); }
  33% { opacity: 1;   filter: brightness(1.03);}
  55% { opacity: .97; filter: brightness(.98); }
  56% { opacity: .88; filter: brightness(.92); }
  58% { opacity: 1;   filter: brightness(1.02);}
  80% { opacity: .98; filter: brightness(.99); }
  81% { opacity: .86; filter: brightness(.91); }
  83% { opacity: 1;   filter: brightness(1.02);}
}

@media (prefers-reduced-motion: reduce) {
  .logo img { animation: fadeInDown .6s ease both; }
}

/* Layout helpers */
#home .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* HERO */
#home .hero-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 66vh, 740px);
  display: grid;
  place-items: center;
  background: inherit; /* match body */
}
#home .hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 1;
  filter: saturate(1.05) contrast(1.03);
}
#home .hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 38%, rgba(0,0,0,0) 100%);
}
#home .hero-content {
  position: relative; z-index: 3; text-align: center;
  padding: clamp(56px, 8vh, 120px) 0;
  will-change: transform; /* parallax via JS */
}

/* Gradient title + caret */
#home .display-title {
  font-weight: 800; line-height: 1.08;
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0 0 14px;
  background: linear-gradient(90deg, var(--brand), #7fe0eb 50%, var(--brand-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: .5px; position: relative;
}
#home .display-title::after {
  content: '|';
  color: #fff; margin-left: 4px; /* visible on the overlay */
  animation: home-blink 1s steps(1,end) infinite;
}
@keyframes home-blink { 50% { opacity: 0; } }

#home .hero-sub {
  color: #fff; opacity: .92;
  font-size: clamp(14px, 2.6vw, 18px);
  max-width: 760px; margin: 0 auto 8px;
}

/* CTA */
#home .btn-learn {
  margin-top: 18px; display: inline-block; padding: 12px 28px;
  background: var(--brand); color: #fff; border-radius: 10px; text-decoration: none; font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}
#home .btn-learn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(77,187,207,.35); }

/* Divider */
#home .gradient-divider { height: 3px; background: linear-gradient(90deg, var(--brand), #ffffff); margin: 0; }

/* ABOUT */
#home .about-preview { padding: 40px 0; background: inherit; }
#home .about-flex { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
#home .about-text { flex: 1 1 48%; min-width: 280px; text-align: justify; color: #333; line-height: 1.75; font-size: 16px; }
#home .about-text h2 { color: var(--brand); font-size: 32px; font-weight: 800; margin: 0 0 12px; text-align: left; }
#home .about-image { flex: 1 1 45%; min-width: 280px; }
#home .about-image img {
  width: 100%; border-radius: 10px; display: block;
  transition: transform .45s ease, box-shadow .45s ease; box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
#home .about-image img:hover { transform: scale(1.04) translateY(-4px); box-shadow: 0 14px 26px rgba(0,0,0,.16); }

/* WHAT WE OFFER */
#home .what-we-offer-bg { padding: 40px 0; background: #f9f9f9; }
#home .offer-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
#home .offer-col { flex: 1 1 45%; max-width: 45%; }
#home .icon-grid-card {
  padding: 20px; border-radius: 14px; background: #fff; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease; box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
#home .icon-grid-card:hover { transform: translateY(-6px); box-shadow: 0 14px 26px rgba(0,0,0,.16); }
#home .icon-grid-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
#home .icon-grid-card h5 { color: var(--brand); font-size: 20px; margin: 8px 0; font-weight: 700; }
#home .icon-grid-card p { color: #444; font-size: 15px; line-height: 1.65; }

/* QUICK ACCESS */
#home .qa-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
#home .qa-card {
  width: 300px; background: #fff; border: 2px solid var(--brand); border-radius: 14px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease; box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
#home .qa-card:hover { transform: translateY(-6px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
#home .qa-card img { width: 100%; height: 180px; object-fit: cover; }
#home .quick-btn {
  background: var(--brand); color: #fff; border: none; padding: 8px 16px; border-radius: 8px; margin-top: 10px; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
#home .quick-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 14px rgba(0,0,0,.15); }

/* Reveal animation (CSS-only) */
#home .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
#home .reveal.in { opacity: 1; transform: none; }
#home .delay-1 { transition-delay: .12s; } 
#home .delay-2 { transition-delay: .22s; }

@media (prefers-reduced-motion: reduce) {
  #home .reveal { opacity: 1; transform: none; transition: none; }
  #home .display-title::after { animation: none; }
}

/* Responsive */
@media (max-width: 992px) {
  #home .offer-col { flex: 1 1 48%; max-width: 48%; }
}
@media (max-width: 768px) {
  #home .about-flex { flex-direction: column; align-items: stretch; }
  #home .about-text, 
  #home .about-image { flex: 1 1 100%; max-width: 100%; }
  #home .offer-col { flex: 1 1 100%; max-width: 100%; }
  #home .icon-grid-card { padding: 16px; }
  #home .icon-grid-card img { height: 160px; }
  #home .qa-card { width: 100%; max-width: 480px; }
  #home .qa-card img { height: 160px; }
}




/* ================================
   RESET & BASE STYLES
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
}

/* ================================
  Container
================================= */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

body,
.site-header,
.site-header .container,
.header-flex {
  text-align: left !important;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================================
  hero section
================================= */

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 40px 0;
  border-radius: 10px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: center;
}



/* ================================
   BK
================================= */
.section-divider {
  height: 120px;
  background-image: url('img/bk.jpg'); 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: none;
  margin: 60px 0;
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
}


/* ================================
   HEADER & NAVIGATION
================================= */
header.site-header {
  background-color: #f9f9f9;
  border-bottom: 2px solid #4dbbcf;
  padding: 1rem 2rem;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #4dbbcf;
}

/* Dropdown Menu */
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  min-width: 200px;
}

.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: #4dbbcf;
  color: #fff;
}

/* ================================
   WELCOME SECTION
================================= */
.welcome-section {
  background-color: #fdfdfd;
  padding: 60px 20px;
  text-align: center;
}

.welcome-section h2 {
  font-size: 2.2rem;
  color: #4dbbcf;
  margin-bottom: 20px;
}

.welcome-section p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.btn-learn {
  padding: 10px 20px;
  font-weight: bold;
  background-color: #4dbbcf;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-learn:hover {
  background-color: #3aa7b8;
}

/* ================================
   SERVICE CARDS
================================= */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
  padding: 40px 20px;
}

.col-lg-4 {
  flex: 0 0 calc(33.333% - 16px);
  display: flex;
  justify-content: center;
}

.card.shadow-sm {
  width: 100%;
  max-width: 100%;
  min-height: 440px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.card-body {
  padding: 24px;
  text-align: center;
  flex-grow: 1;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4dbbcf;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.btn-outline-primary {
  border: 2px solid #4dbbcf;
  color: #4dbbcf;
  background-color: transparent;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #4dbbcf;
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ================================
   MEDIA QUERIES
================================= */
@media (max-width: 768px) {
  .col-lg-4 {
    flex: 0 0 100%;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  header.site-header {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================================
   FOOTER
================================= */
.site-footer {
  background-color: #001219;
  color: #eee;
  padding: 50px 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  border: 1px solid #4dbbcf;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  background-color: #222;
  transition: all 0.3s ease;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h3 {
  color: #fff;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.footer-col ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #4dbbcf;
}

.footer-col p {
  margin: 5px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #bbb;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #4dbbcf;
  font-size: 20px;
  margin-right: 12px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #69d2e3;
}

/* SUBSCRIBE FORM */
.subscribe-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-form input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  outline: none;
  font-size: 0.95rem;
}

.subscribe-form button {
  background-color: #4dbbcf;
  color: #fff;
  padding: 10px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-form button:hover {
  background-color: #3aa7b8;
}

/* SCROLL TO TOP BUTTON */
#scrollBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 25px;
  z-index: 999;
  font-size: 20px;
  border: none;
  background-color: #4dbbcf;
  color: white;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

#scrollBtn:hover {
  background-color: #3aa7b8;
}

/* Show scroll button when page is scrolled down */
window.onscroll = function () {
  const btn = document.getElementById("scrollBtn");
  if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
    btn.style.display = "block";
  } else {
    btn.style.display = "none";
  }
};

/* HERO SECTION */
.hero-section {

  background-size: cover;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section {
  position: relative;
  min-height: 300px;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
}
.hero-section {
  border: 4px double #fffff;
  border-radius: 10px;
}

}
/* ABOUT PREVIEW */
.about-preview {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h2 {
  color: #4dbbcf;
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-text p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-image {
  flex: 1 1 45%;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }
}

.section-divider {
  height: 4px;
  width: 80px;
  background-color: #4dbbcf;
  margin: 40px auto;
  border-radius: 2px;
}

.display-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #fff;
}

.hero-overlay .lead {
  font-size: 1.2rem;
  margin: 15px 0 25px;
}



#offerings .card {
  min-height: 220px;
  transition: all 0.3s ease;
}
#offerings .card:hover {
  background-color: #f0fafd;
  transform: translateY(-4px);
}



.about-preview {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.about-image {
  flex: 1 1 45%;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 100%;
  }
}



/* ================================
   index Animation
================================= */

.with-icons {
  position: relative;
  background-image: url('img/bk.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  height: 150px;
  overflow: hidden;
}

.icon-strip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  font-size: 36px;
  display: flex;
  gap: 40px;
  animation: floatIcons 6s infinite ease-in-out;
}

@keyframes floatIcons {
  0% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
  100% { transform: translate(-50%, -50%) translateY(0); }
}

/* ================================
  Gradient & Parallax
================================= */

.gradient-divider {
  height: 30px;
  background: linear-gradient(135deg, #4dbbcf, #ffffff, #69d2e3);

  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ================================
  index about
================================= */
.what-we-offer-bg {
  background: linear-gradient(to bottom, #ffffff, #f3f3f3);
  padding: 80px 20px;
}

.icon-grid-card {
  border: 1px solid #ddd;
  border-top: 5px solid #4dbbcf;
  padding: 25px;
  border-radius: 10px;
  background-color: #fff;
  transition: 0.3s;
  height: 100%;
}

.icon-grid-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.icon-grid-card i {
  font-size: 34px;
  margin-bottom: 15px;
  color: #4dbbcf;
}
/* ================================
Services
================================= */
:root {
  --primary: #4dbbcf;
  --primary-dark: #3490a6;
  --text: #25303a;
  --bg: #f4f8fb;
  --card-bg: #fff;
  --radius-xl: 2.2rem;
  --radius: 1.2rem;
  --shadow: 0 6px 24px rgba(77,187,207,0.12), 0 2px 6px rgba(50,50,50,0.03);
}

body { background: var(--bg); color: var(--text); }

/* HERO SECTION */
.service-hero-modern, .service-hero-pro {
  background: linear-gradient(120deg, var(--primary) 58%, #fff 100%);
  padding: 90px 0 60px 0;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  box-shadow: 0 6px 48px rgba(77,187,207,0.08);
  margin-bottom: 30px;
  position: relative;
}
.service-title, .hero-title {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.service-subtitle, .hero-subtitle {
  color: #eaf9fc;
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width:700px) {
  .service-hero-modern, .service-hero-pro { border-radius: 0; padding: 60px 0 40px 0; }
  .service-title, .hero-title { font-size: 2rem; }
}

/* SERVICES GRID */
.services-modern, .services-pro {
  background: var(--bg);
  padding: 40px 0 60px 0;
}
.services-grid, .services-pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 38px 32px;
  justify-content: center;
  align-items: stretch;
}

/* --- Modern Card Styles (for .service-card and .service-card-modern) --- */
.service-card,
.service-card-modern,
.service-pro-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 2px solid #e7f5f9;
  animation: cardFadeIn 0.7s cubic-bezier(.39,.575,.565,1) both;
}

@keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(40px);}
  100% { opacity: 1; transform: none;}
}

.service-card:hover,
.service-card-modern:hover,
.service-pro-card:hover,
.service-card:focus-within,
.service-card-modern:focus-within,
.service-pro-card:focus-within {
  box-shadow: 0 12px 38px 0 rgba(77,187,207,0.19), 0 2px 12px 0 rgba(0,0,0,0.08);
  border-color: var(--primary);
  transform: translateY(-7px) scale(1.035);
  z-index: 2;
}

.service-card img,
.service-card-modern img,
.service-pro-card img,
.service-pro-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  transition: filter .22s;
  background: #eaf9fc;
}

.service-card:hover img,
.service-card-modern:hover img,
.service-pro-card:hover img,
.service-pro-card:hover .service-pro-img {
  filter: brightness(0.96) saturate(1.07);
}

/* For .service-pro-img used as background */
.service-pro-img {
  background-size: cover;
  background-position: center;
  height: 210px;
  position: relative;
  display: block;
}
.service-pro-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(77,187,207,0.90);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  padding: 10px 12px;
  box-shadow: 0 2px 10px rgba(77,187,207,0.12);
}

.service-card .card-body,
.service-card-modern .service-card-body,
.service-pro-card .service-pro-content {
  padding: 28px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card .card-title,
.service-card-modern .service-card-body h3,
.service-pro-card .service-pro-content h3 {
  color: var(--primary);
  font-size: 1.23rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.service-card .card-text,
.service-card-modern .service-card-body p,
.service-pro-card .service-pro-content p {
  color: #4b5561;
  font-size: 1.06rem;
  margin: 0 0 20px 0;
  min-height: 48px;
  flex: 1;
}

.service-card .btn,
.service-card-modern .service-btn,
.service-pro-card .service-pro-btn {
  display: inline-block;
  align-self: flex-start;
  border-radius: 2rem;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 24px;
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
  box-shadow: none;
  margin-top: 8px;
}
.service-card .btn:hover,
.service-card-modern .service-btn:hover,
.service-pro-card .service-pro-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-dark);
  box-shadow: 0 2px 12px 0 rgba(77,187,207,0.13);
}

/* Animate on Scroll (if using AOS/Animate.css) */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

@media (max-width: 600px) {
  .services-grid, .services-pro-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-card .card-body,
  .service-card-modern .service-card-body,
  .service-pro-card .service-pro-content { padding: 22px 12px 22px 12px; }
}

/* WHAT WE OFFER — mobile fixes */
  .what-we-offer-bg .row { display: flex; gap: 20px; flex-wrap: wrap; }

  /* Tweak heading/body sizes responsively */
  .what-we-offer-bg h2 { 
    font-size: clamp(22px, 4.5vw, 32px) !important; 
    margin-bottom: 16px !important;
  }
  .what-we-offer-bg > .container > p {
    font-size: clamp(14px, 3.6vw, 16px) !important;
    margin: 0 auto 24px !important;
    max-width: 700px;
  }

  /* Tablet and up: keep two columns */
  @media (min-width: 768px) {
    .what-we-offer-bg .offer-col { 
      flex: 1 1 48% !important; 
      max-width: 48% !important; 
    }
    .what-we-offer-bg .icon-grid-card img { height: 180px !important; }
  }

  /* Phones: single column + softer sizing */
  @media (max-width: 767.98px) {
    .what-we-offer-bg .row { gap: 16px !important; }
    .what-we-offer-bg .offer-col { 
      flex: 1 1 100% !important; 
      max-width: 100% !important; 
    }
    .what-we-offer-bg .icon-grid-card { padding: 16px !important; }
    .what-we-offer-bg .icon-grid-card img { height: 150px !important; }
    .what-we-offer-bg h5 { font-size: 18px !important; margin-bottom: 8px !important; }
    .what-we-offer-bg .icon-grid-card p { font-size: 14px !important; line-height: 1.6 !important; }
  }

  /* Very small phones */
  @media (max-width: 400px) {
    .what-we-offer-bg .icon-grid-card img { height: 130px !important; }
  }

  /* Avoid tilt jank on touch (optional) */
  @media (pointer: coarse) {
    .card-tilt { transform: none !important; }
  }