/* ===============================
   Base link/button helpers (no @apply)
   =============================== */

/* Top nav links */
.nav-link {
  color: #fff;
  border-radius: 0.5rem;           /* rounded-lg */
  padding: 0.5rem 0.75rem;         /* px-3 py-2 */
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.nav-link:hover {
  background: rgba(255,255,255,0.10); /* hover:bg-white/10 */
}

/* Call button */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;            /* rounded-full */
  font-weight: 600;
  color: #fff;
  padding: 0.5rem 1rem;             /* px-4 py-2 */
  box-shadow: 0 6px 12px rgba(0,0,0,0.20);
  background-image: linear-gradient(to right, #059669, #0f766e); /* emerald-600 -> teal-600 */
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
  background-image: linear-gradient(to right, #047857, #0d9488); /* emerald-700 -> teal-700 */
}

/* Email button */
.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;            /* rounded-full */
  font-weight: 600;
  color: #fff;
  padding: 0.5rem 1rem;             /* px-4 py-2 */
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.10);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-email:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #0f766e; /* teal-700 */
  border-color: #fff;
}

/* Mobile menu */
.mobile-menu {
  background: rgba(15, 118, 110, 0.98); /* tealBrand-ish */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.mobile-link {
  display: block;
  color: #fff;
  font-size: 1.125rem;  /* text-lg */
  font-weight: 500;
  padding: 0.5rem 0;    /* py-2 */
}

/* ===============================
   Decorative shapes / backgrounds
   =============================== */
.bg-decoration {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}
.circle-1 {
  position: fixed;
  top: 10%;
  right: -5%;
  width: 300px; height: 300px;
  background: linear-gradient(45deg, #14b8a6, #0891b2);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}
.circle-2 {
  position: fixed;
  bottom: 10%;
  left: -10%;
  width: 400px; height: 400px;
  background: linear-gradient(45deg, #0891b2, #1e40af);
  border-radius: 50%;
  opacity: 0.08;
  animation: float 12s ease-in-out infinite reverse;
}
.radial-highlight {
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

/* ===============================
   Animations
   =============================== */
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ===============================
   Sections styling
   =============================== */
.intro-section {
  background: #fff;
  margin: 2rem auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(20, 184, 166, 0.12);
  padding: 2rem;
  animation: fadeInUp 0.8s ease-out both;
}
.cta {
  background: linear-gradient(135deg, #0891b2 0%, #14b8a6 100%);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 25px;
  margin: 2rem 0;
  box-shadow: 0 25px 70px rgba(20, 184, 166, 0.25);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: -50% -50% auto auto;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  animation: float 10s linear infinite reverse;
}
.final-section {
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.12);
  padding: 2rem;
}

/* ===============================
   Service columns / cards
   =============================== */
.service-column {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border: 1px solid rgba(20,184,166,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.service-column::before {
  content:'';
  position: absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, #14b8a6, #0891b2);
}
.service-column:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(20,184,166,0.14);
  animation: pulse 2s infinite;
}

.service-icon {
  width: 60px; height: 60px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 24px; border-radius: 9999px;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
}

.service-column ul { list-style: none; padding: 0; margin: 0; }
.service-column li {
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid #eef2f7;
  color: #64748b;
  font-weight: 500;
  position: relative;
  transition: transform .2s ease, color .2s ease;
}
.service-column li::before {
  content: '✓';
  position: absolute; left: 0; top: 0.75rem;
  color: #14b8a6; font-weight: 800; font-size: 1.1rem;
}
.service-column li:hover { transform: translateX(4px); color: #0f766e; }

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(20, 184, 166, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* ===============================
   Hero buttons (no @apply)
   =============================== */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  color: #fff;
  padding: 0.75rem 1.25rem;  /* px-5 py-3 */
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
  background-image: linear-gradient(to right, #059669, #0f766e); /* emerald-600 -> teal-600 */
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(0,0,0,0.28);
  background-image: linear-gradient(to right, #047857, #0d9488); /* emerald-700 -> teal-700 */
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  color: #fff;
  padding: 0.75rem 1.25rem;   /* px-5 py-3 */
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.hero-btn-secondary:hover {
  background: #fff;
  color: #0f766e; /* teal-700 */
  transform: translateY(-2px);
}

/* ===============================
   Slider (fixed conflicts; IMG-based)
   =============================== */
.header-bg-layer { z-index: 0; }    /* gradients behind */
.hero-slider { z-index: 10; }       /* slider above */

/* Ensure containers carry height */
.hero-slider,
.hero-slider .slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Stack slides; fade via opacity */
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-slider .slide.active { opacity: 1; }

/* Fill slide with image */
.hero-slider .slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0; /* under overlay */
}

/* Overlay above image, below text */
.hero-slider .slide .slide-overlay { z-index: 1; }

/* IMPORTANT: remove any generic `.slide { ... }` rules from older code
   that set opacity:0 or backgrounds; they conflict with the hero slider. */

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.slider-dot {
  width: 12px; height: 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.slider-dot.active {
  background: #fff;
  transform: scale(1.12);
}

/* Slider arrows */
.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  background: rgba(0,0,0,0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform .2s ease, background-color .2s ease;
  z-index: 20;
}
.slider-arrows:hover {
  background: rgba(0,0,0,0.5);
  transform: translateY(-50%) scale(1.06);
}
.prev-arrow { left: 12px; }
.next-arrow { right: 12px; }

/* ===============================
   Reveal on scroll
   =============================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: all .7s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   Tidy justification helper
   =============================== */
.justify-tidy{
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  text-wrap: pretty;
}
