/* ==========================================================
   Smart Cyber Cafe -- INDEX STYLES
   Version: 2.0 (August 2026 Redesign)
   ========================================================== */

/* ==========================================================
   ICON SYSTEM
   ========================================================== */
.icon {
  display: inline-block;
  stroke: currentColor;
  fill: none;
  vertical-align: middle;
}
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; } /* Usually 20px or 24px is better for md */
.icon-lg { width: 24px; height: 24px; }


/* ==========================================================
   RESET + BASE STYLES
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', 'Inter', sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ==========================================================
   SHARED UTILITIES
   ========================================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-wide {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-fluid {
  width: 100%;
  padding: 0 5%;
  max-width: 1920px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* ==========================================================
   SHARED BUTTON BASE
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 15px;
  border-radius: 11px;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
  border-radius: 7px;
}

/* ==========================================================
   UTILITY CLASSES
   ========================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================
   LAYOUT -- Official / Government (Royal Blue + Gold)
   Palette: Royal #1a3566, Gold #d97706, Slate, White
   ========================================================== */
.l2 {
  --royal: #1a3566;
  --royal-dark: #122549;
  --royal-mid: #1e4080;
  --royal-light: #2563a0;
  --gold: #d97706;
  --gold-dark: #b45309;
  --gold-light: #fef3c7;
  --gold-mid: #fbbf24;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --white: #ffffff;
  --green: #16a34a;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--slate-800);
}

/* ---------- TOP BAR ---------- */
.l2-topbar {
  background: var(--royal-dark);
  padding: 9px 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.l2-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.l2-topbar-left {
  display: flex;
  gap: 18px;
  align-items: center;
}

.l2-topbar-right {
  display: flex;
  gap: 14px;
  align-items: center;
}

.l2-open-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(22, 163, 74, 0.2);
  color: #86efac;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.l2-open-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: l2-blink 2s ease-in-out infinite;
}

@keyframes l2-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- HEADER WRAPPER ---------- */
#public-header-placeholder,
#tools-header-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.l2-header-wrapper {
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ---------- NAV ---------- */
.l2-nav-wrap {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--gold);
}

.l2-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}

.l2-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.l2-logo-emblem {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.l2-logo-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.l2-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.l2-logo-main {
  font-size: 17px;
  font-weight: 800;
  color: var(--royal);
  letter-spacing: -0.02em;
  line-height: 1;
}

.l2-logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.l2-links {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  align-items: center;
  flex: 1;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.l2-links li {
  list-style: none;
}

.l2-links a {
  transition: color 0.2s;
  padding: 6px 12px;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
  display: block;
}

.l2-links a:hover {
  color: var(--royal);
  background: var(--slate-50);
}

.l2-nav-right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* --- MOBILE HEADER RESPONSIVENESS --- */
@media (max-width: 600px) {
  .l2-nav { gap: 8px; padding: 10px 0; }
  .l2-logo { gap: 8px; flex-shrink: 1; min-width: 0; }
  .l2-logo-emblem { width: 36px; height: 36px; }
  .l2-logo-text { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
  .l2-logo-main { 
    font-size: 15px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: block; /* Required for span truncation */
    line-height: 1.15;
  }
  .l2-logo-sub { 
    display: block; /* Restore visibility */
    font-size: 8px; 
    line-height: 1.25; 
    white-space: normal; /* Allow wrapping */
    letter-spacing: 0; /* Save horizontal space */
    margin-top: 2px;
  }
  .l2-nav-right { gap: 6px; flex-shrink: 0; }
  .l2-nav-right .btn-sm { padding: 6px 12px; font-size: 12px; }
}

@media (max-width: 380px) {
  .l2-logo-emblem { width: 32px; height: 32px; }
  .l2-logo-main { font-size: 14px; }
  .l2-nav-right .btn-sm { padding: 6px 10px; font-size: 11.5px; }
}

/* ---------- BUTTONS ---------- */
.l2 .l2-btn-primary {
  background: var(--royal);
  color: var(--white);
  border: none;
}

.l2 .l2-btn-primary:hover {
  background: var(--royal-mid);
  box-shadow: 0 4px 16px rgba(26, 53, 102, 0.25);
  transform: translateY(-1px);
}

.l2 .l2-btn-gold {
  background: var(--gold);
  color: var(--white);
  border: none;
}

.l2 .l2-btn-gold:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.25);
  transform: translateY(-1px);
}

.l2 .l2-btn-ghost {
  background: transparent;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}

.l2 .l2-btn-ghost:hover {
  border-color: var(--royal);
  color: var(--royal);
}

.l2 .l2-btn-ghost-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.l2 .l2-btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* ---------- LANGUAGE TOGGLE ---------- */
.lang-toggle-btn {
  white-space: nowrap;
}

/* ---------- FOOTER ---------- */
.l2-footer-wrap {
  background: var(--royal-dark);
  border-top: 4px solid var(--gold);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-about {
  flex: 0 1 auto;
  max-width: 320px;
}

.footer-links {
  flex: 0 1 auto;
}

.footer-contact {
  flex: 0 1 auto;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-about .footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--white);
  padding: 2px;
}

.footer-about .footer-logo span {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(217, 119, 6, 0.3);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  transform: translateX(2px);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact li {
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(217, 119, 6, 0.2);
  transition: background 0.3s ease;
}

.footer-contact li:hover .footer-contact-icon {
  background: var(--gold);
}

.footer-contact li:hover .footer-contact-icon svg {
  fill: var(--white);
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  transition: fill 0.3s ease;
}

.footer-contact-text {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 36px;
}

.footer-bottom-centered {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.fb-copyright {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.fb-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.fb-links a {
  transition: color 0.3s ease;
}

.fb-links a:hover {
  color: var(--gold);
}

.fb-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.fb-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--royal);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* ---------- FLOATING WHATSAPP ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================
   LANGUAGE TOGGLE LOGIC
   ========================================================== */
body.lang-en .bn { display: none !important; }
body.lang-bn .en { display: none !important; }

/* ==========================================================
   HOMEPAGE -- HERO SECTION (Full-width Background Image)
   ========================================================== */
.hp-hero {
  position: relative;
  /* Proper premium landing page hero height */
  min-height: 80vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Background image */
.hp-hero-bg {
  position: absolute;
  inset: -20px;
  background-image: url('../assets/images/hero-bg.webp');
  background-size: cover;
  background-position: center 40%;
  filter: blur(4px);
  clip-path: inset(20px); /* Crops the blurred edges cleanly */
  z-index: 0;
}

/* Gradient overlay — strong on LEFT where text is */
.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 45, 0.90) 0%,
    rgba(10, 20, 45, 0.85) 30%,
    rgba(10, 20, 45, 0.65) 55%,
    rgba(10, 20, 45, 0.25) 80%,
    rgba(10, 20, 45, 0.05) 100%
  );
  z-index: 1;
}

/* Container inside hero (matches header grid) */
.hp-hero > .container-fluid {
    position: relative;
    z-index: 10;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Content wrapper — LEFT side of the hero */
.hp-hero-content-wrap {
  max-width: 540px;
  margin-left: 0;
  margin-right: auto;
}

/* Badge */
.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #92400e;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  margin-bottom: 24px;
}

.hp-badge-star {
  color: var(--gold);
}

/* Headline — orange/gold matching screenshot */
.hp-hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  /* Warm orange/gold — exactly matching the screenshot colour */
  color: #f59e0b;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* Description — white with enough opacity to be clearly readable */
.hp-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.72;
  max-width: 540px;
  margin-bottom: 36px;
  /* Subtle text-shadow improves legibility over any bright image area */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* CTA Buttons */
.hp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* "Explore Services" — navy solid, matching screenshot left button */
.hp-btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--royal-dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--royal-dark);
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hp-btn-explore:hover {
  background: var(--royal);
  border-color: var(--royal);
  transform: translateY(-2px);
}

/* "Book a Slot" — amber/orange, matching screenshot right button */
.hp-btn-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f59e0b;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #f59e0b;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.hp-btn-book:hover {
  background: #d97706;
  border-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.45);
}

/* ==========================================================
   QUICK ACTIONS BAR (floats at bottom of hero, overlaps next section)
   ========================================================== */
.hero-qab-wrap {
  position: relative;
  z-index: 10;
  /* Pull up into the hero bottom area */
  margin-top: -10px;
  padding-bottom: 0;
}

.hero-qab-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 20px 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hqa-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.18s ease;
}

.hqa-item:hover {
  background: var(--slate-50);
}

.hqa-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
  flex-shrink: 0;
}

.hqa-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hqa-icon-blue  { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.hqa-icon-orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.hqa-icon-red   { background: rgba(239, 68, 68, 0.1);  color: #ef4444; }
.hqa-icon-green { background: rgba(37, 211, 102, 0.1); color: #25d366; }

.hqa-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hqa-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.hqa-text span {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ==========================================================
   HOMEPAGE -- SHARED SECTION HEADER
   ========================================================== */
.hp-section-header {
  text-align: center;
  margin-bottom: 52px;
}

.hp-section-tag {
  display: inline-block;
  background: rgba(26, 53, 102, 0.07);
  color: var(--royal-light);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hp-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--royal-dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.hp-section-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================
   HOMEPAGE -- SERVICES SECTION
   ========================================================== */
.hp-services {
  padding: 88px 0;
  background: #f8fafc;
  position: relative;
  z-index: 10;
  margin-top: -3px; /* Airtight subpixel seal with hero wave */
  border-bottom: 1px solid #e2e8f0;
}

.hp-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.hp-svc-card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 32px 28px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hp-svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hp-svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(26, 53, 102, 0.1);
  border-color: transparent;
}

.hp-svc-card:hover::after {
  opacity: 1;
}

.hp-svc-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-svc-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.hp-svc-body {
  flex: 1;
  min-width: 0;
}

.hp-svc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--royal-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.hp-svc-title .bn {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-500);
  display: block;
  margin-top: 3px;
}

.hp-svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hp-svc-list li {
  font-size: 0.9rem;
  color: var(--slate-600);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--slate-100);
}

.hp-svc-list li:last-child {
  border-bottom: none;
}

.hp-svc-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hp-svc-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--royal-light);
  transition: color 0.2s;
}

.hp-svc-card:hover .hp-svc-link {
  color: var(--gold-dark);
}

/* ==========================================================
   HOMEPAGE -- TOOLS SECTION
   ========================================================== */
.hp-tools {
  padding: 88px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.hp-tools-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hp-tool-cat {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.25s ease;
}

.hp-tool-cat:hover {
  box-shadow: 0 8px 24px rgba(26, 53, 102, 0.07);
}

.hp-tool-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--slate-100);
}

.hp-tool-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hp-tool-cat-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--royal-dark);
  line-height: 1.2;
}

.hp-tool-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-tool-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-600);
  background: var(--slate-50);
  text-decoration: none;
  transition: all 0.18s ease;
}

.hp-tool-link:hover {
  background: rgba(26, 53, 102, 0.06);
  color: var(--royal);
  transform: translateX(3px);
}

.hp-tool-link svg {
  flex-shrink: 0;
  color: var(--slate-400);
  transition: color 0.18s ease;
}

.hp-tool-link:hover svg {
  color: var(--royal);
}

.hp-tools-cta {
  text-align: center;
  margin-top: 44px;
}

.hp-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--slate-800);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.2);
}

.hp-btn-dark:hover {
  background: var(--royal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 37, 73, 0.25);
}

/* ==========================================================
   HOMEPAGE -- WHY CHOOSE US
   ========================================================== */
.hp-why-us {
  padding: 88px 0;
  background: transparent;
}

.hp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-feature-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}

.hp-feature-card:hover {
  background: #fff;
  border-color: var(--slate-300);
  box-shadow: 0 10px 28px rgba(26, 53, 102, 0.07);
  transform: translateY(-4px);
}

.hp-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.hp-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--royal-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.hp-feature-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================
   HOMEPAGE -- CONTACT & MAP SECTION
   ========================================================== */
.hp-contact {
  padding: 100px 0;
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* Decorative glow behind the glass card */
.hp-contact::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.hp-contact::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.hp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 56px;
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 1);
  position: relative;
}

.hp-contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hp-contact-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  color: #3b82f6;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  align-self: flex-start;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(4px);
}

.hp-contact-title {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 900;
  color: var(--royal-dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hp-contact-desc {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 90%;
}

.hp-contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hp-cd-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hp-cd-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hp-cd-icon::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.hp-cd-icon svg {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.hp-cd-item:hover .hp-cd-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

.hp-cd-item:hover .hp-cd-icon::before {
  opacity: 1;
}

.hp-cd-item:hover .hp-cd-icon svg {
  color: #ffffff;
}

.hp-cd-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.hp-cd-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hp-cd-value {
  font-size: 1rem;
  color: var(--slate-800);
  line-height: 1.6;
  font-weight: 500;
}

.hp-cd-link {
  color: #3b82f6;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-cd-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.hp-contact-map {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
  border: 4px solid #ffffff;
  height: 100%;
  min-height: 480px;
  position: relative;
  transform: translateZ(0); /* Fix for Safari border-radius bug with iframe */
}

.hp-contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 480px;
  filter: saturate(1.2) contrast(1.1);
  transition: filter 0.5s ease;
}

.hp-contact-map:hover iframe {
  filter: saturate(1.4) contrast(1.15);
}

/* ==========================================================
   HOMEPAGE -- CTA BANNER
   ========================================================== */
.hp-cta-banner {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.hp-cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.08);
  pointer-events: none;
}

.hp-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.hp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hp-cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.hp-cta-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.6;
}

.hp-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.hp-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
  white-space: nowrap;
}

.hp-cta-btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(217, 119, 6, 0.5);
}

.hp-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hp-cta-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================
   RESPONSIVE STYLES
   Breakpoints: 1024px (tablet), 768px (mobile)
   ========================================================== */

/* ---------- LARGE TABLET -- 1200px ---------- */
@media (max-width: 1200px) {
  .hp-tools-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- TABLET -- 1024px ---------- */
@media (max-width: 1024px) {
  /* Hero */
  .hp-hero-content-wrap { padding: 0; }

  /* QAB */
  .hero-qab-card {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 600px;
  }
  .hqa-divider:nth-child(2) { display: none; }
  .hqa-divider:nth-child(4) {
    grid-column: 1 / -1;
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }
  .hqa-divider:nth-child(6) { display: none; }

  /* Services */
  .hp-svc-grid { grid-template-columns: 1fr; }

  /* Features */
  .hp-features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .hp-contact-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px; }

  /* CTA */
  .hp-cta-inner { flex-direction: column; text-align: center; }
  .hp-cta-text p { margin: 0 auto; }
  .hp-cta-actions { justify-content: center; }
}

/* ---------- MOBILE -- 768px ---------- */
@media (max-width: 768px) {
  .container,
  .container-wide { padding: 0 16px; }

  /* Top bar */
  .l2-topbar { display: none; }

  /* Nav */
  .l2-links { display: none; }

  /* Hero — on mobile, content takes full width with deliberate wave clearance */
  .hp-hero { 
    min-height: auto; 
    max-height: none; 
  }
  .hp-hero > .container-fluid { 
    padding-top: 40px; 
    padding-bottom: 110px; /* Provides 20px+ clean clearance above the 90px mobile wave */
  }
  .hp-hero-content-wrap { max-width: 100%; margin-left: 0; margin-right: 0; }
  .hp-hero-badge { margin-bottom: 16px; }
  .hp-hero-title { font-size: 2rem; margin-bottom: 14px; }
  .hp-hero-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hp-hero-actions { gap: 10px; }
  .hp-btn-explore,
  .hp-btn-book { padding: 12px 20px; font-size: 0.92rem; }

  /* Services */
  .hp-services { padding: 40px 0 64px; }
  .hp-svc-card { flex-direction: column; gap: 16px; }

  /* Floating buttons safe positioning */
  .whatsapp-float {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  .scroll-to-top {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    right: calc(18px + env(safe-area-inset-right, 0px));
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  /* Tools */
  .hp-tools,
  .hp-why-us,
  .hp-contact,
  .hp-cta-banner { padding: 60px 0; }
  .hp-tools-categories { grid-template-columns: 1fr; }

  /* Features */
  .hp-features-grid { grid-template-columns: 1fr; }

  /* Contact */
  .hp-contact-grid { padding: 24px; border-radius: 20px; gap: 32px; }
  .hp-contact-map { min-height: 300px; border-width: 2px; }
  .hp-contact-map iframe { min-height: 300px; }

  /* CTA */
  .hp-cta-inner { gap: 28px; }
  .hp-cta-text h2 { font-size: 1.6rem; }
}

/* ---------- SMALL MOBILE -- 480px ---------- */
@media (max-width: 480px) {
  .hp-hero > .container-fluid { 
    padding-top: 32px; 
    padding-bottom: 100px; /* Provides 25px clean clearance above the 75px wave */
  }
  .hp-hero-title { font-size: 1.75rem; line-height: 1.15; }
  .hp-hero-desc { font-size: 0.92rem; margin-bottom: 20px; }
  .hp-hero-actions { flex-direction: column; width: 100%; }
  .hp-btn-explore,
  .hp-btn-book { justify-content: center; width: 100%; }
  .hp-cta-actions { flex-direction: column; width: 100%; }
  .hp-cta-btn-primary,
  .hp-cta-btn-ghost { justify-content: center; }
  .hp-services { padding: 32px 0 56px; }
}

/* ==========================================================
   HOMEPAGE -- NEW SERVICES SECTION (v2)
   ========================================================== */
.hp-svc-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.hp-svc-card-v2 {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--slate-800);
  border-bottom: 4px solid #10b981; 
  position: relative;
}

.hp-svc-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 32px -4px rgba(15, 23, 42, 0.09), 0 8px 12px -2px rgba(15, 23, 42, 0.03);
  border-color: #cbd5e1;
}

.hp-svc-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.hp-svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-svc-card-v2:hover .hp-svc-img-wrap img {
  transform: scale(1.04);
}

.hp-svc-body-v2 {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hp-svc-header-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hp-svc-icon-v2 {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hp-svc-card-v2:hover .hp-svc-icon-v2 {
  background: #10b981;
  color: #ffffff;
  transform: scale(1.05);
}

.hp-svc-title-v2 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--royal-dark);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hp-svc-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 0 0 16px 0;
}

.hp-svc-list-v2 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-grow: 1;
}

.hp-svc-list-v2 li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

/* Custom green checkmark circle */
.hp-svc-list-v2 li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: #10b981;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1200px) {
  .hp-svc-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hp-svc-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hp-svc-grid-v2 { grid-template-columns: 1fr; }
}

.hp-svc-link-v2 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--royal);
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hp-svc-link-v2 svg {
  transition: transform 0.2s ease;
}

.hp-svc-card-v2:hover .hp-svc-link-v2 {
  color: var(--gold-dark);
}

.hp-svc-card-v2:hover .hp-svc-link-v2 svg {
  transform: translateX(4px);
}


/* ====== HOMEPAGE TOOLS GRID ====== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Tool Card */
.tool-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

.tool-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.tool-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.tool-card:hover .tool-icon-wrap {
  transform: scale(1.05) rotate(3deg);
}

.tool-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Badges */
.tool-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-free {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.badge-popular {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.badge-multi {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

/* Card Content */
.tool-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.tool-desc-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-grow: 1;
}

.tool-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  padding-right: 16px;
}

.tool-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tool-arrow svg {
  width: 16px;
  height: 16px;
}

.tool-card:hover .tool-arrow {
  background: #3b82f6;
  color: #ffffff;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   GLOWING BACKGROUND DECORATION (Shared with Tools)
   ========================================================== */
.page-body-glow {
  background-color: #ffffff;
}

.tools-bg-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  display: none; /* Removed as requested */
}

.tools-bg-decor .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.glow-tl {
  top: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: rgba(59, 130, 246, 0.2); /* Soft blue */
}

.glow-tr {
  top: 0;
  right: -5%;
  width: 35vw;
  height: 35vw;
  background: rgba(139, 92, 246, 0.15); /* Soft purple */
}

.glow-bl {
  bottom: -10%;
  left: 10%;
  width: 30vw;
  height: 30vw;
  background: rgba(236, 72, 153, 0.15); /* Soft pink */
}

/* ==========================================================
   HERO SEAMLESS LAYERED WAVE TRANSITION (V6)
   ========================================================== */

/* Subtle dark fade at the bottom of hero */
.hp-hero-bottom-fade {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.4) 0%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Container for waves and glows */
.hp-hero-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: 2;
  pointer-events: none;
}

/* Extremely subtle atmospheric glows */
.hp-hero-haze {
  position: absolute;
  bottom: 0;
  height: 150px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 3; /* Sit above solid wave to match tools-bg-decor tint */
  display: none; /* Removed as requested */
}

.haze-left {
  left: -5%;
  width: 45%;
  background: rgba(59, 130, 246, 0.2);
}

.haze-right {
  right: -5%;
  width: 50%;
  background: rgba(167, 139, 250, 0.15);
}

.haze-pink {
  right: 25%;
  width: 30%;
  height: 120px;
  background: rgba(236, 72, 153, 0.12);
}

/* Layered wave SVGs */
.hp-hero-wave-layer {
  position: absolute;
  bottom: -2px; /* Prevent subpixel rendering gap */
  left: 0;
  width: 100%;
  height: calc(100% + 2px);
  z-index: 2;
}

/* Top translucent wave */
.hp-wave-1 { opacity: 0.35; }

/* Middle translucent wave */
.hp-wave-2 { opacity: 0.6; }

/* Base solid wave */
.hp-wave-solid { opacity: 1; }
.hp-hero-wave-layer path { fill: #ffffff !important; }

/* Services background to match the page */


@media (max-width: 1024px) {
  .hp-hero-transition { height: 130px; }
}

@media (max-width: 768px) {
  .hp-hero-transition { height: 90px; }
  .hp-hero-haze { height: 70px; filter: blur(40px); }
}

@media (max-width: 480px) {
  .hp-hero-transition { height: 75px; }
}
