/* ==== Global helpers ==== */
html, body { min-height: 100%; }
section { background: transparent !important; }

/* Keep contact card white even when section is transparent */
#contact .max-w-7xl > .bg-white { background: #fff; }

/* Optional: a little nicer shadow on cards */
.shadow-xl { box-shadow: 0 10px 25px -10px rgba(2, 6, 23, 0.2); }

/* === Rocket/Astronaut gentle float animation === */
@keyframes rocketFloat {
  0%   { transform: translateY(0) rotate(-1deg); }
  50%  { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0) rotate(-1deg); }
}
.animate-rocket {
  animation: rocketFloat 6s ease-in-out infinite;
  will-change: transform;
}
.animate-rocket:hover {
  animation-duration: 3.5s;
}
@media (prefers-reduced-motion: reduce) {
  .animate-rocket { animation: none !important; }
}

/* =========================
   Partners: colored logos + gradient border
   ========================= */

/* Card with subtle gradient border */
.partner-card{
  position: relative;
  display: block;
  border-radius: .75rem;      /* rounded-lg */
  padding: 1.5rem;            /* p-6 (md হলে 2rem দিতে পারো) */
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.partner-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; /* border thickness */
  background: linear-gradient(90deg, rgba(29,78,216,.35), rgba(14,165,233,.35));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.partner-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2,6,23,.12);
}

/* Always colored logos (no grayscale) */
.partner-logo{
  max-height: 54px;     
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 1;            
  filter: none;        
  transform: translateZ(0);
  transition: transform .2s ease, opacity .2s ease;
}
.partner-card:hover .partner-logo{
  transform: scale(1.04);
}

/* Swiper inner padding so arrows don't overlap edges */
.client-swiper{ padding: 8px 28px; }

@media (max-width: 640px){
  .partner-logo{ max-height: 56px; }
}

/* ===== Feature cards: thick top gradient + subtle side gradient ===== */
.feature-card{
  position: relative;
  overflow: hidden;            /* rounded corner respect for top bar */
  border-radius: 1rem;         /* match rounded-2xl */
  background: #fff;
}

/* Top bar: thicker gradient */
.feature-card::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;                 /* <- টপ বার মোটা */
  background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
  pointer-events: none;
}

/* All sides: 1px subtle gradient stroke */
.feature-card::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;                /* stroke thickness */
  background: linear-gradient(90deg, rgba(59,130,246,.22), rgba(14,165,233,.22));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Hover polish */
.feature-card:hover{
  box-shadow: 0 18px 40px -10px rgba(2,6,23,.18);
  transform: translateY(-1px);
  transition: box-shadow .2s ease, transform .2s ease;
}

/* === Unified navbar heights === */
.nav-shell { --nav-h: 52px; }           /* এক জায়গা থেকে কন্ট্রোল */
@media (min-width: 1024px){
  .nav-shell { --nav-h: 56px; }
}

.nav-box{
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-btn{
  height: var(--nav-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;                      /* horizontal space */
  line-height: 1;
  border-radius: .5rem;                 /* rounded-lg feel */
}

.nav-icon-btn{
  width: var(--nav-h);
  height: var(--nav-h);
  display: inline-grid;
  place-items: center;
  line-height: 1;
  border-radius: 9999px;                /* fully round */
  padding: 0;                           /* icon-only */
}

/* navbar top spacing */
.nav-shell { padding-top: 1rem; }          /* ~16px */
@media (min-width: 1024px){
  .nav-shell { padding-top: 1.5rem; }      /* ~24px */
}
/* ----- Theme tones (match your page) ----- */
:root{
  --brand-sky: #38bdf8;   /* sky-400 type */
  --brand-blue: #1d4ed8;  /* blue-700 type */
  --ring: #93c5fd;
  --pill-bg: linear-gradient(90deg, var(--brand-sky), var(--brand-blue));
}

/* keep items separated nicely */
.navbar-actions{
  display:flex; align-items:center; gap:14px; /* ← spacing fix */
}

/* login icon button */
.nav-icon-btn{
  width:40px;height:40px;border-radius:999px;
  background:#ffffff;border:1px solid #e5e7eb;
  box-shadow:0 2px 8px rgba(15,23,42,.06);
  display:inline-flex;align-items:center;justify-content:center;
  color: var(--brand-blue);
  transition: background .2s ease, transform .06s ease, box-shadow .2s ease;
}
.nav-icon-btn:hover{ background:#f8fafc; box-shadow:0 4px 12px rgba(15,23,42,.08); }
.nav-icon-btn:active{ transform: translateY(1px); }
.nav-icon-btn:focus{ outline:2px solid var(--ring); outline-offset:2px; }
.nav-icon-btn .icon{ width:20px;height:20px; }

/* ----- Navbar actions container spacing ----- */
.navbar-actions{
  display:flex; align-items:center; gap:18px;   /* gap বাড়ানো হলো */
  margin-left: 10px;                            /* navbar edge থেকে কিছু space */
}

/* ----- Login Icon button ----- */
.nav-icon-btn{
  width:46px; height:46px;                      /* আগের থেকে বড় */
  border-radius:999px;
  background:#ffffff; border:1px solid #e5e7eb;
  box-shadow:0 2px 8px rgba(15,23,42,.06);
  display:inline-flex; align-items:center; justify-content:center;
  color: var(--brand-blue);
  transition: background .2s ease, transform .06s ease, box-shadow .2s ease;
}
.nav-icon-btn .icon{ width:22px; height:22px; } /* SVG-টাও সামান্য বড় */
.nav-icon-btn:hover{ background:#f8fafc; box-shadow:0 4px 12px rgba(15,23,42,.08); }
.nav-icon-btn:active{ transform: translateY(1px); }
.nav-icon-btn:focus{ outline:2px solid var(--ring); outline-offset:2px; }

/* ----- Sign up Button ----- */
.signup-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.7rem 1.6rem;                          /* সাইজ বাড়ানো হলো */
  border-radius:999px;
  font-size:1rem; font-weight:600;              /* টেক্সটও একটু বড় */
  color:#fff; text-decoration:none;
  background: var(--pill-bg);
  box-shadow:0 6px 14px rgba(29,78,216,.22);
  transition: transform .06s ease, filter .2s ease, background-position .35s ease, box-shadow .2s ease;
  background-size:200% 100%;
}
.signup-btn:hover{
  background-position:100% 0;
  filter: brightness(1.05) saturate(1.08);
  box-shadow:0 12px 24px rgba(29,78,216,.3);
}
.signup-btn:active{ transform: translateY(1px) scale(.99); }
.signup-btn:focus{ outline:2px solid var(--ring); outline-offset:3px; }

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

/* =========================================
   REMOVE UNNECESSARY GAPS BETWEEN SECTIONS
   (Partners → Verified → Contact)
   ========================================= */

/* Tighten spacing before & after Partners sections */
section:has(.client-swiper),
section:has(h2:contains("Our Trusted Partners")) {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

/* Remove invisible spacer div below Trusted Partners */
section:has(.client-swiper) > .max-w-7xl.mb-6 {
  display: none !important;
}

/* Tighten Verified Partners section */
section:has(h2:contains("Proudly Verified")) {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

/* Reduce gap before Contact section */
section#contact {
  padding-top: 2.5rem !important;
}

/* Reduce gap between stacked sections only */
section + section {
  margin-top: 0 !important;
}

/* Mobile tighter spacing */
@media (max-width: 768px) {
  section:has(.client-swiper),
  section:has(h2:contains("Proudly Verified")),
  section#contact {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}
