/* ============================================
   finBZNZ – Light Luxury Theme
   Base: Ivory/Cream · Accent: Burgundy #7D1F3C
   Font: Outfit (sans-serif only)
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

:root {
    /* ── BRAND PALETTE ── */
    --burg: #7d1f3c ; /* primary brand burgundy */
    --burg-dark: #5c1629 ; /* darker for depth */
    --burg-deep: #7a1c36 ; /* deepest – footer/hero top strip */
    --burg-mid: #9b2748 ; /* midtone hover */
    --burg-light: #b83358 ; /* lighter accent */
    --burg-pale: #f5e8ec ; /* very light tint */
    --burg-tint: #fdf5f7 ; /* near-white tint */
    --rose: #c45075 ; /* rose accent */
    --rose-muted: #d4889e ; /* muted rose */

    /* ── NEUTRALS (light-first) ── */
    --white: #ffffff ;
    --snow: #fafafa ;
    --ivory: #f8f4f1 ; /* warm ivory page background */
    --cream: #f2ebe8 ; /* section alternating */
    --warm-border: #e8deda ;
    --border: #e2d8d5 ;
    --text: #1c0a10 ; /* near-black with warm undertone */
    --text-body: #3d2030 ; /* body text */
    --text-muted: #7a5565 ; /* muted */
    --text-light: #ad8a95 ; /* captions */

    /* ── SHADOWS ── */
    --shadow-xs: 0 1px 4px rgba(125, 31, 60, 0.06);
    --shadow-sm: 0 2px 16px rgba(125, 31, 60, 0.09);
    --shadow-md: 0 6px 32px rgba(125, 31, 60, 0.12);
    --shadow-lg: 0 16px 56px rgba(125, 31, 60, 0.16);
    --shadow-xl: 0 32px 80px rgba(125, 31, 60, 0.22);
    --shadow-glow: 0 0 40px rgba(125, 31, 60, 0.18);

    /* ── GEOMETRY ── */
    --r: 10px;
    --r-lg: 18px;
    --r-xl: 28px;

    /* ── TRANSITIONS ── */
    --t-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --t: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --t-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --brand:    #1b4f72;
  --dark:     #0e2d42;
  --gold:     #d4a017;
  --gold-lt:  #f0c040;
  --text:     #1a1a2e;
  --muted:    #6b7280;
  --light:    #9ca3af;
  --bg:       #f4f6f9;
  --serif:    Georgia, 'Times New Roman', serif;
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* CRITICAL: Prevent ALL horizontal overflow / scroll on mobile */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--ivory);
    color: var(--text-body);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* ════════════════════════════════════════
   PAGE TRANSITION OVERLAY
════════════════════════════════════════ */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--burg);
    z-index: 9999;
    transform: translateY(100%);
    pointer-events: none;
}

/* ════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
    text-align: center;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}
.reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}
.reveal-right.in-view {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition:
        opacity 0.55s ease,
        transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.reveal-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.d1 {
    transition-delay: 0.08s;
}
.d2 {
    transition-delay: 0.16s;
}
.d3 {
    transition-delay: 0.24s;
}
.d4 {
    transition-delay: 0.32s;
}
.d5 {
    transition-delay: 0.4s;
}

/* ════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes slideRight {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-14px) rotate(0.5deg);
    }
}
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(125, 31, 60, 0.25);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(125, 31, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(125, 31, 60, 0);
    }
}
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes draw-line {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes gradient-shift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
@keyframes badge-enter {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ════════════════════════════════════════
   LAYOUT
════════════════════════════════════════ */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}
.section {
    padding: 100px 0;
}
.section-sm {
    padding: 68px 0;
}

/* ════════════════════════════════════════
   TYPOGRAPHY HELPERS
════════════════════════════════════════ */
.label-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burg);
    margin-bottom: 16px;
}
.label-tag::before {
    content: "";
    display: inline-block;
    width: 24px !important;
    height: 2px;
    background: var(--burg);
    border-radius: 2px;
    animation: draw-line 0.6s ease forwards;
}
.label-tag.center {
    justify-content: center;
}
.label-tag.white {
    color: rgba(255, 255, 255, 0.75);
}
.label-tag.white::before {
    background: rgba(255, 255, 255, 0.5);
}

h1,
h2,
h3,
h4 {
    font-family: "Outfit", sans-serif;
    color: var(--text);
    line-height: 1.13;
    letter-spacing: -0.02em;
}

.title-xl {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
}
.title-lg {
    font-size: clamp(30px, 3.8vw, 50px);
    font-weight: 800;
}
.title-md {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 700;
}

.title-xl .line-burg {
    color: var(--burg);
}
.title-xl .line-thin {
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
}

.body-lg {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 400;
}
.body-md {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn-1 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--r);
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--t-spring);
    letter-spacing: 0.01em;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Shimmer on hover */
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--burg) !important;
    color: var(--white);
    box-shadow: 0 2px 12px rgba(125, 31, 60, 0.25);
    border: none !important;
}
.btn-primary:hover {
    background: var(--burg-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(125, 31, 60, 0.35);
}
.btn-primary:active {
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--burg);
    border: 2px solid var(--burg);
}
.btn-ghost:hover {
    background: var(--burg);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--burg);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--burg-tint);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.45);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-wa {
    background: #7a1c36;
    border: 1px solid white;
    color: white;
    font-weight: 700;
}
.btn-wa:hover {
    background: transparent;
    color: white;
    border: 1px solid #7a1c36;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.3);
}
.btn-wa-1 {
    background: #7a1c36;
    border: 1px solid white;
    color: white;
    font-weight: 700;
    display: flex;
    justify-content: center;
}
.btn-wa-1:hover {
    background: transparent;
    color: white;
     border: 1px solid white;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.3);
}
/* WhatsApp Button */
.whatsapp-btn {
    margin-top: 14px;
    font-size: 12px;
    padding: 9px 16px;
}

/* Mobile Center Alignment */
@media (max-width: 768px) {
    .whatsapp-btn {
        display: block;
        width: 150px;
        margin: 14px auto 0 auto;
        text-align: center;
    }
}
@media (max-width: 992px) {
    .whatsapp-btn {
        display: block;
        width: 150px;
        margin: 14px auto 0 auto;
        text-align: center;
    }
}

/* ════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* DEFAULT: always solid white (for all inner pages) */
.site-header .nav-bar {
    background: #7a1c36;
    border-bottom: 1px solid var(--warm-border);
    box-shadow: 0 2px 16px rgba(125, 31, 60, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

/* SCROLLED: same but slightly more shadow */
.site-header.scrolled .nav-bar {
    background: #7a1c36;
    border-bottom: 1px solid var(--warm-border);
    box-shadow: 0 4px 28px rgba(125, 31, 60, 0.1);
}

/* HOME HERO ONLY: transparent when at top, over dark hero */
.site-header.hero-top .nav-bar {
    background: #7a1c36;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

/* Home hero-top: white text/links */
.site-header.hero-top .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}
.site-header.hero-top .nav-links a:hover {
    color: white;
}
.site-header.hero-top .nav-links a::after {
    background: white;
}
.site-header.hero-top .nav-links a.active {
    color: white;
}
.site-header.hero-top .logo-wordmark {
    color: white;
}
.site-header.hero-top .logo-wordmark .fin {
    color: rgba(255, 200, 220, 0.9);
}
.site-header.hero-top .logo-tagline {
    color: rgba(255, 255, 255, 0.45);
}
.site-header.hero-top .btn-wa-nav {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
}
.site-header.hero-top .btn-wa-nav:hover {
    border-color: white;
    color: white;
}
.site-header.hero-top .btn-primary-nav {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: none;
}
.site-header.hero-top .btn-primary-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}
.site-header.hero-top .hamburger span {
    background: white;
}
/* ── Nav bar inner: never let items wrap ─────── */
.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 12px;               /* gap between logo / links / actions */
  flex-wrap: nowrap;       /* KEY: prevent any wrapping */
  min-width: 0;
}

/* ── Logo: shrinks on tight viewports ─────────── */
.logo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  padding-top: 0;          /* removed the broken padding-top:20px */
}
.logo-header img {
  width: 170px;            /* slightly smaller so nav has more room */
  display: block;
}

/* ── Nav links ────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;               /* reduced from 36px to fit all items */
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
  white-space: nowrap;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: var(--t-fast, .2s ease);
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;     /* KEY: never wrap individual link text */
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: white;
  border-radius: 2px;
  transition: width 0.28s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover,
.nav-links a.active { color: white; font-weight: 700; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ── Nav actions ──────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* WhatsApp button in nav */
.btn-wa-nav {
  border: 1.5px solid rgba(241,235,237,.4);
  color: white;
  padding: 8px 14px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--t, .2s ease);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-wa-nav:hover {
  border-color: white;
  background: rgba(255,255,255,.1);
}

/* Book Assessment button */
.btn-primary-nav {
  background: transparent;
  color: white;
  padding: 9px 18px;
  border: 1.5px solid rgba(241,235,237,.25);
  border-radius: 15px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--t-spring, .3s ease);
  letter-spacing: 0.01em;
  white-space: nowrap;
  animation: pulse-ring 2.5s ease-in-out infinite;
}
.btn-primary-nav:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,.15));
  animation: none;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  outline: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--t, .2s ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Mobile menu ──────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding: 24px 20px 32px;
  z-index: 998;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  transform: translateY(-110%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateY(0);
}
.mobile-menu ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.mobile-menu ul li {
  border-bottom: 1px solid var(--border, #f0f0f0);
}
.mobile-menu ul li:last-child { border-bottom: none; }
.mobile-menu ul li a {
  display: block;
  padding: 14px 4px;
  color: var(--text-body, #333);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color .2s, padding-left .2s;
}
.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
  color: var(--burg, #7a1c36);
  padding-left: 8px;
}
.mobile-menu .mobile-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.mobile-menu .btn-1 {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Overlay behind mobile menu */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 997;
  backdrop-filter: blur(2px);
}
.mobile-overlay.show { display: block; }

/* ════════════════════════════════════════════════
   BREAKPOINTS
════════════════════════════════════════════════ */

/* 992–1100px: tighten spacing so everything fits on one line */
@media (max-width: 1100px) {
  .logo img         { width: 150px; }
  .nav-links        { gap: 20px; }
  .nav-links a      { font-size: 13px; }
  .btn-wa-nav       { padding: 7px 10px; font-size: 12px; }
  .btn-primary-nav  { padding: 8px 13px; font-size: 12px; }
}

/* ≤991px: switch to hamburger */
@media (max-width: 991px) {
  .nav-links    { display: none; }     /* hide desktop links */
  .nav-actions  { display: none; }     /* hide desktop actions */
  .hamburger    { display: flex; }     /* show hamburger */
  .logo-header img     { width: 160px; }
}

/* ≤576px: smaller logo on phones */
@media (max-width: 576px) {
  .logo-header img { width: 140px; }
}

/* ≤380px: very small phones */
@media (max-width: 380px) {
  .logo-header img       { width: 120px; }
  .nav-bar-inner  { height: 60px; }
  .mobile-menu    { top: 60px; max-height: calc(100vh - 60px); }
}
/* ════════════════════════════════════════
   HERO – LIGHT VERSION
════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    background: var(--ivory);
}

/* Animated gradient mesh background */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 70% 60% at 80% 30%,
            rgba(125, 31, 60, 0.08) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse 50% 70% at 20% 80%,
            rgba(180, 100, 130, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 80% 40% at 50% 100%,
            rgba(125, 31, 60, 0.04) 0%,
            transparent 60%
        );
    animation: gradient-shift 12s ease-in-out infinite;
    background-size: 300% 300%;
}

/* Decorative circles — clipped strictly inside hero */
.hero-circle-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(125, 31, 60, 0.06) 0%,
        transparent 70%
    );
    top: -100px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
    max-width: none; /* decorative only */
}
.hero-circle-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1.5px solid rgba(125, 31, 60, 0.08);
    bottom: 60px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
    pointer-events: none;
}
.hero-circle-3 {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(125, 31, 60, 0.06);
    top: 30%;
    right: 8%;
    animation: spin-slow 30s linear infinite;
    pointer-events: none;
}

/* Dot grid pattern */
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(125, 31, 60, 0.07) 1px,
        transparent 1px
    );
    background-size: 36px 36px;
    mask-image: radial-gradient(
        ellipse 60% 60% at 100% 50%,
        black 10%,
        transparent 70%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 72px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--burg-tint);
    border: 1px solid rgba(125, 31, 60, 0.15);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--burg);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: badge-enter 0.6s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--burg);
    animation: pulse-ring 1.8s ease-in-out infinite;
}

.hero-heading {
    animation: fadeUp 0.7s 0.3s ease both;
}
.hero-heading h1 {
    font-size: clamp(38px, 5.5vw, 66px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero-heading h1 em {
    font-style: normal;
    color: var(--burg);
    font-weight: 300;
    font-style: italic;
}
.hero-heading h1 .word-box {
    display: inline-block;
    background: var(--burg);
    color: white;
    padding: 0 12px 4px;
    border-radius: 8px;
    transform: rotate(-0.5deg);
    margin: 0 2px;
}

.hero-sub {
    font-size: 17px;
    color:var(--text-muted);
    line-height: 1.78;
    max-width: 500px;
    margin-bottom: 40px;
    animation: fadeUp 0.7s 0.45s ease both;
  
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.6s ease both;
}

.hero-trust {
    margin-top: 52px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.75s ease both;
}
.trust-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-light);
}
.trust-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.trust-item svg {
    color: var(--burg);
}

/* ── HERO VISUAL (right panel) ── */
.hero-visual {
    position: relative;
    animation: fadeUp 0.7s 0.5s ease both;
}
.hero-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--warm-border);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}
.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--burg),
        var(--burg-light),
        var(--rose)
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.hc-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
.hc-stat {
    background: var(--ivory);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--t);
}
.hc-stat:hover {
    background: var(--burg-tint);
    border-color: rgba(125, 31, 60, 0.2);
    transform: scale(1.03);
}
.hc-stat .v {
    font-size: 28px;
    font-weight: 900;
    color: var(--burg);
    display: block;
    line-height: 1;
    letter-spacing: -0.02em;
}
.hc-stat .l {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: var(--t);
}
.hc-row:hover {
    background: var(--burg-tint);
    border-color: rgba(125, 31, 60, 0.2);
    transform: translateX(4px);
}
.hc-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--burg-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.hc-row-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.hc-row-text span {
    font-size: 11px;
    color: var(--text-light);
}

.hc-retainer {
    background: var(--burg);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    margin-top: 14px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Floating badges */
.float-badge {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    animation: badge-enter 0.7s ease both;
}
.float-badge.top-right {
    top: -56px;
    right: -16px;
    animation-delay: 0.9s;
    background: var(--burg);
    color: white;
    border-color: var(--burg);
}
.float-badge.bottom-left {
    bottom: -40px;
    left: -20px;
    animation-delay: 1.1s;
}
.float-badge .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 6px;
    animation: pulse-ring 1.5s ease-in-out infinite;
}

/* ════════════════════════════════════════
   SECTION INTRO
════════════════════════════════════════ */
.section-intro {
    max-width: 620px;
}
.section-intro.center {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

/* ════════════════════════════════════════
   PAIN SECTION
════════════════════════════════════════ */
.pain-section {
    background: var(--white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 56px 0 40px;
}

.pain-card {
    padding: 24px 22px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--white);
    display: flex;
    gap: 16px;
    transition: var(--t);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.pain-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--burg);
    border-radius: 0 2px 2px 0;
    transition: height 0.4s ease;
}
.pain-card:hover {
    border-color: rgba(125, 31, 60, 0.25);
    background: var(--burg-tint);
    transform: translateX(4px);
}
.pain-card:hover::after {
    height: 100%;
}

.pain-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--burg-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--t);
}
.pain-card:hover .pain-icon {
    background: rgba(125, 31, 60, 0.15);
    transform: scale(1.1);
}
.pain-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.pain-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.pain-conclusion {
    background: var(--burg);
    border-radius: 16px;
    padding: 32px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pain-conclusion::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -200px;
    right: -100px;
}
.pain-conclusion p {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}
.pain-conclusion strong {
    color: #ffd4e0;
    font-weight: 800;
}

/* ════════════════════════════════════════
   SOLUTION SECTION
════════════════════════════════════════ */
.solution-section {
    background: var(--ivory);
}

.solution-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sol-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--t);
}
.sol-feature:last-child {
    border-bottom: none;
}
.sol-feature:hover {
    padding-left: 4px;
}

.sol-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--burg-tint);
    border: 2px solid rgba(125, 31, 60, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--burg);
    transition: var(--t-spring);
}
.sol-feature:hover .sol-check {
    background: var(--burg);
    color: white;
    transform: scale(1.15);
    border-color: var(--burg);
}
.sol-feature span {
    font-size: 15px;
    font-weight: 500;
}

/* Solution Visual */
.sol-visual {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.sol-visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burg), var(--burg-light));
}

.sol-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    background: var(--ivory);
    transition: var(--t);
    cursor: default;
}
.sol-item:hover {
    background: var(--burg-tint);
    border-color: rgba(125, 31, 60, 0.2);
    transform: scale(1.02);
}
.sol-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--burg-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--t-spring);
}
.sol-item:hover .sol-item-icon {
    background: var(--burg);
    transform: rotate(-5deg) scale(1.1);
}
.sol-item strong {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}
.sol-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.sol-retainer {
    background: linear-gradient(135deg, var(--burg-deep), var(--burg));
    color: white;
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 16px;
}

/* ════════════════════════════════════════
   SERVICES GRID
════════════════════════════════════════ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 56px;
}

.svc-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 34px 28px;
    border: 1px solid var(--border);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    transition: var(--t);
}
/* Colored top border reveals on hover */
.svc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--burg), var(--burg-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
/* Bottom right corner accent */
.svc-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(
        circle at 100% 100%,
        rgba(125, 31, 60, 0.06),
        transparent
    );
    border-radius: 50% 0 16px 0;
    transition: var(--t);
}
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(125, 31, 60, 0.15);
}
.svc-card:hover::before {
    transform: scaleX(1);
}
.svc-card:hover::after {
    width: 100px;
    height: 100px;
}

.svc-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--burg-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: var(--t-spring);
}
.svc-card:hover .svc-icon {
    background: var(--burg);
    transform: rotate(-6deg) scale(1.1);
}

.svc-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.svc-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}
.svc-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--burg);
    margin-top: 16px;
    transition: gap 0.2s ease;
}
.svc-card:hover .svc-arrow {
    gap: 9px;
}

/* ════════════════════════════════════════
   WHY CHOOSE US
════════════════════════════════════════ */
.why-section {
    /* Light section with burgundy left panel */
    background: var(--cream);
}

.why-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.why-items {
    margin-top: 36px;
}
.why-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--t);
}
.why-item:last-child {
    border-bottom: none;
}
.why-item:hover {
    padding-left: 6px;
}

.why-num {
    font-size: 32px;
    font-weight: 900;
    color: rgba(125, 31, 60, 0.12);
    line-height: 1;
    min-width: 42px;
    transition: var(--t);
}
.why-item:hover .why-num {
    color: var(--burg);
}
.why-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.why-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Panel */
.why-panel {
    background: var(--burg-deep);
    border-radius: 24px;
    padding: 48px;
    position: sticky;
    top: 96px;
    overflow: hidden;
}
.why-panel::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}
.why-panel::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(125, 31, 60, 0.3);
}

.why-quote {
    font-size: 19px;
    font-weight: 500;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.why-quote strong {
    color: #ffd4e0;
    font-style: normal;
    font-weight: 800;
}
.why-quote::before {
    content: '"';
    font-size: 72px;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    display: block;
    line-height: 0.8;
    margin-bottom: 12px;
}

.why-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.trusted-by {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}
.trusted-by p {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
}
.trusted-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.trusted-tag {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--t);
}
.trusted-tag:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

/* ════════════════════════════════════════
   INDUSTRIES
════════════════════════════════════════ */
.ind-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 56px;
}
.ind-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 36px;
    border: 1px solid var(--border);
    transition: var(--t);
    position: relative;
    overflow: hidden;
    cursor: default;
}
.ind-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burg), var(--burg-light));
    transition: width 0.4s ease;
}
.ind-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(125, 31, 60, 0.15);
}
.ind-card:hover::before {
    width: 100%;
}

.ind-icon {
    font-size: 36px;
    text-align: center;
    margin-bottom: 14px;
    display: block;
    transition: transform 0.3s ease;
}
.ind-card:hover .ind-icon {
    transform: scale(1.1) rotate(-4deg);
}
.ind-card h3 {
    font-size: 21px;
    text-align: center;
    font-weight: 800;
    margin-bottom: 10px;
}
.ind-card > p {
    color: var(--text-muted);
    text-align: center;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.65;
}
.ind-tags {
    text-align: center;
    gap: 8px;
}
.ind-tag {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--burg);
    transition: var(--t-fast);
    text-align: center;
}
.ind-tag:hover {
    background: var(--burg-pale);
    border-color: rgba(125, 31, 60, 0.25);
}

/* ════════════════════════════════════════
   ENGAGEMENT
════════════════════════════════════════ */
.eng-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
}
.eng-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 44px 40px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.eng-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    border: 2px solid transparent;
    transition: border-color 0.35s ease;
}
.eng-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.eng-card:hover::after {
    border-color: rgba(125, 31, 60, 0.18);
}

.eng-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--burg-deep), var(--burg));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 28px;
    transition: var(--t-spring);
}
.eng-card:hover .eng-icon {
    transform: scale(1.1) rotate(-5deg);
}

.eng-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}
.eng-card > p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}
.eng-features {
    background: var(--ivory);
    border-radius: var(--r);
    padding: 14px 18px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════ */
.cta-band {
    background: var(--burg);
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 60% 80% at 20% 50%,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 50% 60% at 80% 50%,
            rgba(0, 0, 0, 0.1) 0%,
            transparent 50%
        );
}
/* Animated rings */
.cta-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin-slow 20s linear infinite;
}
.cta-ring-1 {
    width: 400px;
    height: 400px;
}
.cta-ring-2 {
    width: 650px;
    height: 650px;
    animation-direction: reverse;
    animation-duration: 30s;
}
.cta-ring-3 {
    width: 900px;
    height: 900px;
    animation-duration: 45s;
}
.cta-band .container {
    position: relative;
    z-index: 2;
}

/* ════════════════════════════════════════
   PAGE HERO (Services/About/Contact)
════════════════════════════════════════ */
.page-hero {
    background: var(--burg);
    padding: 148px 0 88px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 70% 80% at 50% 110%,
            rgba(0, 0, 0, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 50% 50% at 0% 0%,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 50%
        );
}
.page-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.06) 1px,
        transparent 1px
    );
    background-size: 32px 32px;
    mask-image: radial-gradient(
        ellipse 80% 80% at 50% 50%,
        black 10%,
        transparent 90%
    );
}
.page-hero .inner {
    position: relative;
    z-index: 2;
}

/* ════════════════════════════════════════
   SERVICE DETAIL SECTIONS
════════════════════════════════════════ */
.svc-detail {
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
}
.svc-detail:nth-child(even) {
    background: var(--white);
}
.svc-detail:nth-child(odd) {
    background: var(--ivory);
}

.svc-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}
.svc-detail:nth-child(even) .svc-detail-grid {
    direction: rtl;
}
.svc-detail:nth-child(even) .svc-detail-grid > * {
    direction: ltr;
}

.svc-num {
    font-size: 88px;
    font-weight: 900;
    color: rgba(125, 31, 60, 0.06);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.04em;
}

.inc-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burg);
    margin-bottom: 14px;
    margin-top: 28px;
}
.inc-list {
    list-style: none;
}
.inc-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-body);
    border-bottom: 1px solid var(--border);
    transition: var(--t-fast);
}
.inc-list li:last-child {
    border-bottom: none;
}
.inc-list li:hover {
    color: var(--burg);
    padding-left: 4px;
}
.inc-list li::before {
    content: "▸";
    color: var(--burg);
    font-size: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.svc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.svc-badge {
    padding: 7px 14px;
    border-radius: var(--r);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--ivory);
    color: var(--text-body);
    transition: var(--t-fast);
}
.svc-badge:hover {
    background: var(--burg-tint);
    border-color: rgba(125, 31, 60, 0.2);
    color: var(--burg);
}
.svc-badge.accent {
    background: var(--burg-tint);
    border-color: rgba(125, 31, 60, 0.2);
    color: var(--burg);
    font-weight: 700;
}

/* Service visual box */
.svc-box {
    background: #7a1c36;
    border-radius: var(--r-xl);
    padding: 40px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.svc-box::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(155, 39, 72, 0.2);
}
.svc-box::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.svc-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r);
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--t-fast);
}
.svc-chip:hover {
    background: rgba(255, 255, 255, 0.18);
    color: white;
}
.svc-chip.hi {
    background: rgba(255, 200, 220, 0.18);
    border-color: rgba(255, 200, 220, 0.3);
    color: #ffd4e0;
    font-weight: 600;
}

/* =========================================
   ABOUT PAGE STYLES
========================================= */

/* Hero Section */
.page-hero {
    position: relative;
    padding: 120px 0;
    background: var(--burg-deep);
    overflow: hidden;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-headline {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.about-headline span {
    color: var(--burg-light);
}

.mission-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-lg);
    padding: 30px;
}

.mission-box h3 {
    color: #fff;
    margin-bottom: 12px;
}

.mission-box p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
}

/* Section Spacing */
.section {
    padding: 100px 0;
}

/* Values */
.val-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.val-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 34px 28px;
    border: 1px solid var(--border);
    transition: var(--t);
    text-align: left;
}

.val-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.val-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.val-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.val-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-item .n {
    font-size: 38px;
    font-weight: 800;
    display: block;
}

.stat-item .l {
    font-size: 13px;
    color: var(--text-muted);
}

/* Approach */
.approach-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.approach-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-badge {
    min-width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--burg);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Difference Grid */
.difference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CTA Band */
.cta-band {
    padding: 120px 0;
    background: var(--burg);
    text-align: center;
    position: relative;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 992px) {
    .about-hero-grid,
    .val-grid,
    .difference-grid {
        grid-template-columns: 1fr 1fr;
    }

    .approach-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-badge {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .about-hero-grid,
    .val-grid,
    .difference-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .val-card {
        text-align: center;
    }

    .val-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .approach-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step-badge {
        margin-bottom: 12px;
    }

    .stats-bar {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .about-headline {
        font-size: 38px;
    }

    .section {
        padding: 60px 0;
    }

    .mission-box {
        text-align: center;
    }

    .stat-item .n {
        font-size: 30px;
    }
}
/* Values */
/* ===============================
   VALUES SECTION
=================================*/

.val-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 56px;
}

/* Card */
.val-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 34px 28px;
    border: 1px solid var(--border);
    transition: var(--t);
    text-align: center; /* center everything */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.val-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(125, 31, 60, 0.18);
}

/* Icon */
.val-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--burg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 18px auto; /* perfect center */
    transition: var(--t-spring);
}

.val-card:hover .val-icon {
    background: var(--burg);
    transform: rotate(-6deg) scale(1.1);
}

/* Title */
.val-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Description */
.val-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===============================
   TABLET RESPONSIVE
=================================*/
@media (max-width: 992px) {
    .val-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===============================
   MOBILE RESPONSIVE
=================================*/
@media (max-width: 576px) {
    .val-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .val-card {
        padding: 24px 20px;
    }

    .val-card h3 {
        font-size: 16px;
    }

    .val-card p {
        font-size: 14px;
    }

    .val-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Team stats bar */
.stats-bar {
    background: var(--burg-deep);
    border-radius: var(--r-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rose), transparent);
}
.stat-item {
    text-align: center;
}
.stat-item .n {
    font-size: 52px;
    font-weight: 900;
    color: white;
    line-height: 1;
    display: block;
    letter-spacing: -0.03em;
    transition: transform 0.3s ease;
}
.stat-item:hover .n {
    transform: scale(1.06);
}
.stat-item .l {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Approach */
.approach-grid {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}
.approach-step {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 24px;
    align-items: start;
    padding: 26px;
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    transition: var(--t);
}
.approach-step:hover {
    border-color: var(--burg);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}
.step-badge {
    width: 52px;
    height: 52px;
    background: var(--burg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    transition: var(--t-spring);
}
.approach-step:hover .step-badge {
    transform: scale(1.1) rotate(-5deg);
}
.approach-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.approach-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    padding: 96px 0;
}

.cmethod {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    text-decoration: none;
    transition: var(--t);
    margin-bottom: 12px;
}
.cmethod:hover {
    border-color: var(--burg);
    box-shadow: var(--shadow-sm);
    transform: translateX(6px);
}
.cmethod-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--burg-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burg);
    flex-shrink: 0;
    transition: var(--t-spring);
}
.cmethod:hover .cmethod-icon {
    background: var(--burg);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}
.cmethod-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.cmethod-text span {
    font-size: 13px;
    color: var(--text-muted);
}

.form-box {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 48px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
        height: fit-content;
}
.form-box h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}
.form-box > p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.fg {
    margin-bottom: 16px;
}
.fg label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 7px;
}
.fg input,
.fg select,
.fg textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--ivory);
    transition: var(--t);
    outline: none;
    appearance: none;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    border-color: var(--burg);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(125, 31, 60, 0.08);
}
.fg textarea {
    resize: vertical;
    min-height: 120px;
}
.fg select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%237A5565' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
    background: #7a1c36;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--rose),
        var(--burg-light),
        transparent
    );
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
}
.footer-brand-desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 18px;
    max-width: 270px;
    text-align: center;
}
.footer-col h4 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 200, 220, 0.65);
    margin-bottom: 20px;
    text-align: center;
}
.footer-col ul {
    list-style: none;
    text-align: center;
}
.footer-col ul li {
    margin-bottom: 10px;
    text-align: center;
}
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 14px;
    transition: var(--t-fast);
    text-align: center;
}
.footer-col ul li a:hover {
    color: white;
    padding-left: 4px;
}
.footer-ci {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}
.footer-ci span a {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255, 200, 220, 0.6);
}
.footer-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: var(--t);
}
.footer-social a:hover {
    background: var(--burg-mid);
    color: white;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}
.logo-footer img{
    width: 210px;
 margin-bottom: -75px;
    margin-top: -65px;
}
@media (max-width:768px) {
 .logo-footer img {
    margin-bottom: -75px;
    margin-top: -105px; 
 }  
}
/* ════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
════════════════════════════════════════ */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    /* Collapse all two-column grids */
    .hero-grid,
    .solution-split,
    .why-split,
    .about-hero-grid,
    .svc-detail-grid,
    .contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Reset rtl flip on even service sections */
    .svc-detail:nth-child(even) .svc-detail-grid {
        direction: ltr;
    }

    /* Hide floating hero card on tablet */
    .hero-visual {
        display: none;
    }

    /* Un-sticky the why panel */
    .why-panel {
        position: static;
    }

    /* 2-col grids */
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .val-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer: 2 cols */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    /* Stats bar: 2x2 */
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Approach sticky override */
    .approach-grid-wrap > div:first-child {
        position: static !important;
    }

    /* About hero headline smaller */
    .about-headline {
        font-size: clamp(44px, 8vw, 80px);
    }

    /* 3-col "why different" grid → 2 col */
    .why-diff-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Hero heading slightly smaller */
    .hero-heading h1 {
        font-size: clamp(32px, 5vw, 56px);
    }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
════════════════════════════════════════ */
@media (max-width: 768px) {
    /* ══ CORE OVERFLOW FIX ══
     Every section must clip its own overflow so decorative
     absolute-positioned elements (circles, rings, headlines)
     never push the page wider than the viewport.            */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    /* Clip overflow on every major section/wrapper */
    .hero,
    .hero-content,
    .section,
    .pain-section,
    .solution-section,
    .svc-detail,
    .why-section,
    .cta-band,
    .page-hero,
    .site-footer,
    .mobile-menu {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Prevent any absolutely-positioned decorative element
     from extending beyond its parent on mobile           */
    .hero-circle-1,
    .hero-circle-2,
    .hero-circle-3,
    .hero-dots,
    .hero-bg,
    .cta-ring,
    .cta-ring-1,
    .cta-ring-2,
    .cta-ring-3,
    .page-hero-dots,
    .page-hero::before,
    .cta-band::before,
    .why-panel::before,
    .why-panel::after,
    .pain-conclusion::before {
        max-width: 100%;
        overflow: hidden;
    }

    /* Disable translateX hover effects that cause scroll on touch */
    .approach-step:hover {
        transform: none;
    }
    .cmethod:hover {
        transform: none;
    }
    .why-item:hover {
        padding-left: 0;
    }
    .pain-card:hover {
        transform: none;
    }
    .sol-feature:hover {
        padding-left: 0;
    }
    .footer-col ul li a:hover {
        padding-left: 0;
    }

    /* Ensure all images and embeds stay within bounds */
    img,
    svg,
    video,
    iframe,
    embed,
    object {
        max-width: 100%;
        height: auto;
    }

    /* Prevent wide text from overflowing */

    /* ----- SPACING ----- */
    .section {
        padding: 64px 0;
    }
    .section-sm {
        padding: 48px 0;
    }
    .page-hero {
        padding: 120px 0 60px;
    }
    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    /* ----- NAVIGATION ----- */
    .nav-links,
    .nav-actions {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    .nav-bar-inner {
        height: 64px;
    }
    .mobile-menu {
        top: 64px;
    }

    /* Logo text smaller */
    .logo-wordmark {
        font-size: 19px;
    }
    .logo-tagline {
        display: none;
    }
    .logo-shield {
        width: 34px;
        height: 38px;
    }

    /* ----- HERO ----- */
    .hero {
        padding-top: 64px;
        min-height: auto;
    }
    .hero-content {
        padding: 48px 0 60px;
        width: 100%;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        width: 100%;
    }
    .hero-visual {
        display: none !important;
    }

    .hero-heading h1 {
        font-size: clamp(26px, 7vw, 40px);
        line-height: 1.1;
        word-break: normal;
        overflow-wrap: break-word;
    }
    .hero-heading h1 .word-box {
        display: inline;
        white-space: normal;
    }
   
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }
    .hero-ctas .btn {
        justify-content: center;
        padding: 14px 20px;
        width: 100%;
    }
    .hero-eyebrow {
        font-size: 10px;
        max-width: 100%;
    }
    .hero-trust {
        gap: 12px;
        margin-top: 36px;
        padding-top: 28px;
        flex-wrap: wrap;
    }
    .trust-items {
        gap: 10px 14px;
        flex-wrap: wrap;
    }
    .trust-item {
        font-size: 12px;
    }

    /* Floating badges — hide on mobile to prevent overflow */
    .float-badge {
        display: none;
    }

    /* ----- BUTTONS ----- */
    .btn {
        font-size: 13px;
        padding: 12px 18px;
    }

    /* ----- ALL GRIDS → SINGLE COLUMN ----- */
    .svc-grid,
    .val-grid,
    .ind-grid,
    .eng-grid,
    .pain-grid,
    .form-row,
    .hero-grid,
    .solution-split,
    .why-split,
    .about-hero-grid,
    .svc-detail-grid,
    .contact-split {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    /* ----- FOOTER ----- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 36px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .footer-brand-desc {
        max-width: 100%;
    }

    /* ----- PAIN SECTION ----- */
    .pain-conclusion {
        padding: 28px 20px;
    }
    .pain-conclusion p {
        font-size: 16px;
    }

    /* ----- ABOUT PAGE ----- */
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-headline {
        font-size: clamp(44px, 13vw, 72px);
        line-height: 0.95;
        word-break: break-all;
    }
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 24px 16px;
        gap: 14px;
    }
    .stat-item .n {
        font-size: 34px;
    }
    .mission-box {
        padding: 22px 18px;
    }
    .mission-box p {
        font-size: 15px;
    }

    /* About-page 2-col grid in story section */
    .about-hero-grid,
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: 1fr 2fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Approach step */
    .approach-step {
        grid-template-columns: 48px 1fr;
        gap: 14px;
        padding: 18px;
    }
    .approach-step:hover {
        border-color: var(--burg);
        box-shadow: var(--shadow-sm);
    }

    /* ----- SERVICES PAGE ----- */
    .svc-num {
        font-size: 56px;
    }
    .svc-detail {
        padding: 52px 0;
    }
    .svc-box {
        min-height: auto;
        padding: 28px 22px;
    }

    /* ----- WHY SECTION ----- */
    .why-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .why-panel {
        padding: 32px 24px;
        position: static;
    }
    .why-quote {
        font-size: 16px;
    }
    .why-quote::before {
        font-size: 56px;
    }

    /* ----- CONTACT PAGE ----- */
    .contact-split {
        padding: 52px 0;
        gap: 24px;
    }
    .form-box {
        padding: 24px 18px;
    }
    .form-box h3 {
        font-size: 20px;
    }

    /* ----- ENGAGEMENT ----- */
    .eng-grid {
        grid-template-columns: 1fr !important;
    }

    /* ----- CTA BAND ----- */
    .cta-band {
        padding: 68px 0;
    }
    .cta-ring-1 {
        width: 280px;
        height: 280px;
    }
    .cta-ring-2 {
        width: 460px;
        height: 460px;
    }
    .cta-ring-3 {
        width: 640px;
        height: 640px;
    }

    /* ----- SECTION TITLES ----- */
    .title-lg {
        font-size: clamp(22px, 6vw, 32px) !important;
    }
    .title-md {
        font-size: clamp(19px, 5vw, 26px) !important;
    }
    .body-lg {
        font-size: 16px;
    }
    .label-tag {
        font-size: 10px;
    }

    /* ----- INDUSTRY CARDS ----- */
    .ind-card {
        padding: 26px 20px;
    }

    /* 3-col grids → 1 col */
    .why-diff-grid {
        grid-template-columns: 1fr !important;
    }

    /* Solution section */
    .sol-visual {
        padding: 24px 20px;
    }

    /* Val grid – 1 col on mobile */
    .val-grid {
        grid-template-columns: 1fr !important;
    }

    /* Prevent inline-style grids from overflowing */
    [style*="display:grid"],
    [style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤420px)
════════════════════════════════════════ */
@media (max-width: 420px) {
    .container {
        padding: 0 14px;
    }

    .hero-heading h1 {
        font-size: clamp(24px, 8vw, 34px);
    }
    .about-headline {
        font-size: clamp(38px, 12vw, 58px);
        word-break: break-all;
    }

    .hero-ctas .btn {
        font-size: 13px;
        padding: 13px 14px;
    }
    .hero-eyebrow {
        font-size: 9px;
        padding: 5px 10px;
        letter-spacing: 0.1em;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 18px 14px;
        gap: 10px;
    }
    .stat-item .n {
        font-size: 28px;
    }

    .form-box {
        padding: 18px 14px;
    }
    .why-panel {
        padding: 26px 18px;
    }
    .pain-conclusion {
        padding: 22px 16px;
    }

    .svc-detail-grid {
        gap: 24px;
    }
    .footer-grid {
        gap: 20px;
        text-align: center;
    }

    .svc-grid {
        grid-template-columns: 1fr !important;
    }

    /* Prevent any element wider than screen */
    .hero-circle-1,
    .hero-circle-2,
    .hero-circle-3 {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   popup.css — Reusable popup styles
   Add <link rel="stylesheet" href="{{ asset('assets/css/popup.css') }}">
   inside <head> in your main layout file.
═══════════════════════════════════════════════════════════ */

/* ── Hidden utility ────────────────────────────────────────── */
.hidden {
    display: none !important;
}

/* ── Overlay backdrop ──────────────────────────────────────── */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: overlayIn 0.25s ease both;
}

.popup-overlay.hidden {
    display: none !important;
}

@keyframes overlayIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ── Modal box ─────────────────────────────────────────────── */
.popup-modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38);
    position: relative;
    animation: modalIn 0.38s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Logo banner ───────────────────────────────────────────── */
.pushp {
    background: linear-gradient(135deg, #5c1629 0%, #7a1c36 55%, #9b2748 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 24px;
    position: relative;
    overflow: hidden;
}

.pushp::before,
.pushp::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    pointer-events: none;
}
.pushp::before {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -50px;
}
.pushp::after {
    width: 160px;
    height: 160px;
    bottom: -60px;
    left: -40px;
}

.pushp img {
    position: relative;
    z-index: 1;
    max-width: 155px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
    margin-top: -56px;
    margin-bottom: -56px;
}

/* ── Close button ──────────────────────────────────────────── */
.popup-close {
    position: absolute;
    top: 11px;
    right: 13px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition:
        background 0.2s,
        transform 0.2s;
    padding: 0;
}
.popup-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.1);
}

/* ── Body ──────────────────────────────────────────────────── */
.popup-body {
    padding: 22px 24px 26px;
}

.popup-body h3 {
    font-size: 17px;
    font-weight: 800;
    color: #1c0a10;
    text-align: center;
    margin: 0 0 6px;
    font-family: "Outfit", sans-serif;
}

.popup-subtext {
    font-size: 13px;
    color: #7a5565;
    text-align: center;
    margin: 0 0 18px;
}

/* ── Form ──────────────────────────────────────────────────── */
#popupForm {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

#popupForm .form-group {
    margin: 0;
    position: relative;
}

#popupForm input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2d8d5;
    border-radius: 8px;
    font-size: 14px;
    color: #1c0a10;
    background: #f8f4f1;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
    font-family: "Outfit", sans-serif;
    display: block;
}

#popupForm input:focus {
    border-color: #7a1c36;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(122, 28, 54, 0.1);
}

#popupForm input::placeholder {
    color: #ad8a95;
}

#popupForm input.has-error {
    border-color: #dc2626;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.popup-field-error {
    display: block;
    font-size: 11px;
    color: #dc2626;
    margin-top: 4px;
    padding-left: 2px;
    min-height: 14px;
}

/* ── Submit button ─────────────────────────────────────────── */
.popup-submit {
    width: 100%;
    padding: 13px;
    background: #7a1c36;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    transition:
        background 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
    font-family: "Outfit", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.popup-submit:hover:not(:disabled) {
    background: #5c1629;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(122, 28, 54, 0.35);
}
.popup-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/* Spinner animation */
.popup-submit-loader svg {
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Success state ─────────────────────────────────────────── */
.popup-success {
    text-align: center;
    padding: 10px 0 6px;
    animation: fadeUp 0.4s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.popup-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-weight: 700;
}

.popup-success h4 {
    font-size: 17px;
    font-weight: 800;
    color: #1c0a10;
    margin: 0 0 7px;
    font-family: "Outfit", sans-serif;
}

.popup-success p {
    font-size: 13px;
    color: #7a5565;
    margin: 0;
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .popup-modal {
        border-radius: 14px;
    }
    .pushp {
        padding: 20px;
    }
    .pushp img {
        max-width: 130px;
    }
    .popup-body {
        padding: 18px 18px 22px;
    }
    .popup-body h3 {
        font-size: 15px;
    }
    .popup-subtext {
        font-size: 12px;
        margin-bottom: 14px;
    }
    #popupForm input {
        padding: 11px 12px;
        font-size: 13px;
    }
    .popup-submit {
        font-size: 14px;
        padding: 12px;
    }
}
/* blog-details start */


/* ────────────────────────────────────
   HERO — full-width article image with overlay
──────────────────────────────────── */
.article-hero {
  position: relative;
  width: 100%;
  height: clamp(260px, 45vw, 480px);
  overflow: hidden;
  background: var(--dark);
}
.article-hero .hero-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.article-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(14,45,66,.9) 0%,
    rgba(14,45,66,.5) 42%,
    rgba(14,45,66,.1) 100%);
  display: flex; align-items: flex-end;
}
.article-hero .hero-content {
  width: 100%; padding: 0 0 clamp(1.5rem, 4vw, 3rem);
}
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 4vw, 2.8rem);
  color: #fff; line-height: 1.2; margin-bottom: .65rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.article-hero .hero-meta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  color: rgba(255,255,255,.68); font-size: .82rem;
}
.article-hero .hero-meta span {
  display: inline-flex; align-items: center; gap: .32rem;
}
.article-hero .hero-meta i { color: var(--gold-lt); }
.article-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, #d4a017, #f0c040, #d4a017, transparent);
}

/* ────────────────────────────────────
   BREADCRUMB
──────────────────────────────────── */
.detail-crumb {
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
  padding: .55rem 0;
}
.detail-crumb .breadcrumb { margin: 0; font-size: .78rem; }
.detail-crumb .breadcrumb-item a {
  color: var(--brand); text-decoration: none; font-weight: 500; transition: color .2s;
}
.detail-crumb .breadcrumb-item a:hover { color: var(--gold); }
.detail-crumb .breadcrumb-item.active { color: var(--muted); }
.detail-crumb .breadcrumb-item + .breadcrumb-item::before { color: #ccc; }

/* ────────────────────────────────────
   ARTICLE BODY TYPOGRAPHY
──────────────────────────────────── */
.article-body {
  font-size: clamp(.93rem, 1.8vw, 1.05rem);
  line-height: 1.85; color: #2c3340;
}
.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--serif); color: var(--text);
  margin: 2rem 0 .75rem; line-height: 1.25;
}
.article-body h2 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
.article-body h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
.article-body p  { margin-bottom: 1.2rem; }
.article-body a  {
  color: var(--brand); text-decoration: underline;
  text-underline-offset: 3px; transition: color .2s;
}
.article-body a:hover { color: var(--gold); }
.article-body img {
  border-radius: 10px; margin-block: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
  max-width: 100%; height: auto; display: block;
}
.article-body blockquote {
  margin: 1.75rem 0; padding: 1rem 1.5rem;
  border-left: 4px solid var(--gold);
  background: rgba(212,160,23,.06);
  border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--muted);
}
.article-body blockquote p { margin-bottom: 0; }
.article-body ul,
.article-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: .4rem; }
.article-body strong { color: var(--text); }
.article-body code {
  background: #f1f3f6; padding: .15rem .42rem;
  border-radius: 4px; font-size: .88em;
  color: var(--dark); border: 1px solid #e5e7eb;
}
.article-body pre {
  background: #0e2d42; color: #d1e8f7;
  padding: 1.2rem 1.5rem; border-radius: 8px;
  overflow-x: auto; font-size: .84rem; margin-bottom: 1.5rem;
}
.article-body pre code { background: none; border: none; color: inherit; padding: 0; }
.article-body table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 1.5rem; font-size: .88rem; border: 1px solid #e5e7eb;
  border-radius: 8px; overflow: hidden;
}
.article-body table th {
  background: var(--brand); color: #fff;
  padding: .6rem 1rem; font-size: .8rem; text-align: left;
}
.article-body table td { padding: .55rem 1rem; border-bottom: 1px solid #f0f2f5; }
.article-body table tr:last-child td { border-bottom: none; }
.article-body table tr:nth-child(even) td { background: rgba(27,79,114,.025); }

/* ────────────────────────────────────
   SHARE BAR
──────────────────────────────────── */
.share-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  border-top: 1px solid #e5e7eb; padding-top: 1.5rem; margin-top: 2.5rem;
}
.share-bar .s-lbl { font-size: .8rem; font-weight: 600; color: var(--muted); }
.sh-btn {
  display: inline-flex; align-items: center; gap: .32rem;
  padding: .42rem 1rem; border-radius: 6px;
  font-size: .77rem; font-weight: 700; border: none;
  cursor: pointer; transition: all .22s; text-decoration: none;
}
.sh-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.16); }
.sh-tw { background: #000;    color: #fff; }
.sh-fb { background: #1877f2; color: #fff; }
.sh-li { background: #0077b5; color: #fff; }
.sh-cp { background: var(--bg); color: var(--text); border: 1.5px solid #e5e7eb !important; }
.sh-cp:hover { background: var(--brand); color: #fff; border-color: var(--brand) !important; }
@media (max-width: 400px) { .sh-btn .slbl { display: none; } }

/* ────────────────────────────────────
   SECTION LABEL (shared)
──────────────────────────────────── */
.sec-label {
  display: block;
  font-size: .67rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.2rem; padding-left: 1rem; position: relative;
}
.sec-label::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 14px;
  background: linear-gradient(180deg, #d4a017, #f0c040);
  border-radius: 2px;
}

/* ────────────────────────────────────
   RELATED CARD  — Bootstrap card structure
   .card > img.card-img-top + .card-body
──────────────────────────────────── */
.card-related {
  border: 1px solid #edf0f4 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .25s, transform .25s;
  height: 100%;
}
.card-related:hover {
  box-shadow: 0 14px 38px rgba(27,79,114,.15);
  transform: translateY(-3px);
}
.card-related .card-img-top {
  height: 150px; object-fit: cover;
  transition: transform .5s ease; display: block;
}
.card-related .rel-img-wrap { overflow: hidden; }
.card-related:hover .card-img-top { transform: scale(1.06); }
.card-related .card-body { padding: .9rem 1rem 1.1rem !important; }
.card-related .card-title {
  font-family: var(--serif);
  font-size: .87rem; line-height: 1.35; margin-bottom: .25rem;
}
.card-related .card-title a {
  color: var(--text); text-decoration: none; transition: color .2s;
}
.card-related .card-title a:hover { color: var(--brand); }
.card-related .rel-date {
  display: flex; align-items: center; gap: .28rem;
  font-size: .7rem; color: var(--light);
}
.card-related .rel-date i { color: var(--gold); }

/* ────────────────────────────────────
   SIDEBAR WIDGETS
──────────────────────────────────── */
.sb-widget {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  margin-bottom: 1.25rem;
}
.sb-widget:last-child { margin-bottom: 0; }

.sb-widget-title {
  font-size: .66rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: .55rem; margin-bottom: .9rem;
  border-bottom: 2px solid #f0f2f5; position: relative;
}
.sb-widget-title::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, #d4a017, #f0c040);
}

/* Info rows */
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0; border-bottom: 1px solid #f0f2f5; font-size: .82rem;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row .lbl { color: var(--muted); font-size: .79rem; }
.info-row .val { font-weight: 700; color: var(--text); }
.info-row .val-pub { font-weight: 700; color: var(--brand); }

/* Recent post items */
.recent-item {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .72rem 0; border-bottom: 1px solid #f0f2f5;
}
.recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-item .ri-img {
  width: 62px; height: 50px; object-fit: cover;
  border-radius: 7px; border: 1px solid #e5e7eb; flex-shrink: 0;
}
.recent-item .ri-body a {
  font-size: .81rem; font-weight: 500; color: var(--text);
  text-decoration: none; line-height: 1.35; display: block; transition: color .2s;
}
.recent-item .ri-body a:hover { color: var(--brand); }
.recent-item .ri-date {
  display: flex; align-items: center; gap: .25rem;
  font-size: .69rem; color: var(--light); margin-top: 3px;
}
.recent-item .ri-date i { color: var(--gold); }

/* CTA Widget */
.sb-cta {
  background:#7a1c36 !important;
  border-color: transparent !important;
  text-align: center;
}
.sb-cta .sb-widget-title { color: rgba(255,255,255,.42); border-color: rgba(255,255,255,.12); }
.sb-cta .sb-widget-title::after { background: var(--gold); }
.sb-cta .cta-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .85rem; font-size: 1.35rem; color: #fff;
}
.sb-cta p { color: rgba(255,255,255,.65); font-size: .83rem; margin-bottom: 1.1rem; }
.btn-gold {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #7a1c36;
  color: white !important; font-size: .82rem; font-weight: 800;
  letter-spacing: .04em; padding: .65rem 1.5rem;
  border-radius: 6px; border: none; cursor: pointer;
  border: 1px solid white;
  transition: all .25s; text-decoration: none;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(212,160,23,.42); }

/* Sticky sidebar */
.sidebar-sticky { position: sticky; top: 1.5rem; }
@media (max-width: 991px) { .sidebar-sticky { position: static; } }

/* ────────────────────────────────────
   RESPONSIVE
──────────────────────────────────── */
@media (max-width: 768px) {
  .article-hero { height: clamp(220px, 44vw, 340px); }
  .article-hero h1 { font-size: clamp(1.3rem, 4vw, 1.85rem); }
}
@media (max-width: 576px) {
  .article-hero { height: 240px; }
  .article-hero h1 { font-size: 1.25rem; }
  .article-body { font-size: .95rem; }
  .sb-widget { padding: 1.1rem; }
  .sh-btn { padding: .4rem .75rem; font-size: .74rem; }
}
@media (max-width: 380px) {
  .article-hero { height: 200px; }
  .article-hero h1 { font-size: 1.1rem; }
}

/* blog-details end  */

/* blog start */
/* Page background */
.blog-pg { background: #f4f6f9; }

/* ────────────────────────────────────
   HERO
──────────────────────────────────── */
.blog-hero {
  background: #7a1c36;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(212,160,23,.14) 0%, transparent 70%),
    repeating-linear-gradient(-45deg, transparent, transparent 38px,
      rgba(255,255,255,.02) 38px, rgba(255,255,255,.02) 39px);
}
.blog-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #d4a017, #f0c040, #d4a017);
}
.blog-hero .container { position: relative; z-index: 1; }

.blog-hero .hero-tag {
  display: block;
  font-size: .7rem; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: white;
  margin-bottom: .55rem;
  text-align: center;
}
.blog-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  color: #fff; line-height: 1.14; margin-bottom: .65rem;
  text-align: center;
}
.blog-hero h1 em { font-style: italic; color: white; }

/* ────────────────────────────────────
   SECTION LABEL
──────────────────────────────────── */
.sec-label {
  display: block;
  font-size: .67rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: #6b7280;
  margin-bottom: 1.2rem; padding-left: 1rem; position: relative;
}
.sec-label::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 14px;
  background: linear-gradient(180deg, #d4a017, #f0c040);
  border-radius: 2px;
}

/* ────────────────────────────────────
   FEATURED CARD
   Exact Bootstrap structure:
   .card > img.card-img-top + .card-body
──────────────────────────────────── */
.card-featured {
  border: none !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
  transition: box-shadow .26s ease, transform .26s ease;
  width: 40%;
}
.card-featured:hover {
  box-shadow: 0 20px 52px rgba(27,79,114,.18);
  transform: translateY(-3px);
}

/* img.card-img-top — fixed height, never fills screen */
.card-featured .card-img-top {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.card-featured:hover .card-img-top { transform: scale(1.04); }

/* .card-body */
.card-featured .card-body {
  padding: 1.75rem 2rem 2rem !important;
  background: #fff;
}

/* Featured badge (above card-title) */
.feat-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #d4a017; color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: .28rem .85rem;
  border-radius: 20px; margin-bottom: .8rem;
}
.feat-badge i { font-size: .54rem; }

/* h5.card-title */
.card-featured .card-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: #1a1a2e; line-height: 1.25; margin-bottom: .55rem;
}
.card-featured .card-title a {
  color: inherit; text-decoration: none; transition: color .22s;
}
.card-featured .card-title a:hover { color: #1b4f72; }

/* Date line */
.card-featured .card-date {
  display: flex; align-items: center; gap: .35rem;
  font-size: .74rem; color: #9ca3af; margin-bottom: .6rem;
}
.card-featured .card-date i { color: #d4a017; }

/* p.card-text */
.card-featured .card-text {
  color: #6b7280; font-size: .92rem; line-height: 1.72;
  margin-bottom: 1.2rem;
}

/* a.btn — styled like Bootstrap btn but branded */
.btn-brand-primary {
  display: inline-flex; align-items: center; gap: .4rem;
  background:#7a1c36;
  color: #fff !important; font-size: .83rem; font-weight: 700;
  letter-spacing: .04em; padding: .65rem 1.55rem;
  border-radius: 6px; border: none; cursor: pointer;
  transition: all .24s; text-decoration: none; white-space: nowrap;
}
.btn-brand-primary:hover {
  background: #f1ebed40;
  color: #0e2d42 !important;
  transform: translateY(-2px);
  border: 1px solid #f1ebed40;
  box-shadow: 0 8px 22px rgba(212,160,23,.38);
}

/* ────────────────────────────────────
   GRID CARDS
   Exact Bootstrap card structure:
   .card > img.card-img-top + .card-body
──────────────────────────────────── */
.card-post {
  border: 1px solid #edf0f4 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: box-shadow .26s ease, transform .26s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.card-post:hover {
  box-shadow: 0 18px 48px rgba(27,79,114,.16);
  transform: translateY(-5px);
}

/* img.card-img-top — fixed height, consistent */
.card-post .card-img-top {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform .5s ease;
}
.card-post .card-img-top-wrap { overflow: hidden; flex-shrink: 0; }
.card-post:hover .card-img-top { transform: scale(1.06); }

/* .card-body */
.card-post .card-body {
  padding: 1.2rem 1.3rem 1.4rem !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Date inside body */
.card-post .card-date {
  display: flex; align-items: center; gap: .28rem;
  font-size: .69rem; color: #9ca3af; margin-bottom: .4rem;
}
.card-post .card-date i { color: #d4a017; font-size: .65rem; }

/* h5.card-title */
.card-post .card-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.93rem, 1.5vw, 1.06rem);
  color: #1a1a2e; line-height: 1.35; margin-bottom: .4rem;
}
.card-post .card-title a {
  color: inherit; text-decoration: none; transition: color .22s;
}
.card-post .card-title a:hover { color: #1b4f72; }

/* p.card-text */
.card-post .card-text {
  color: #6b7280; font-size: .83rem; line-height: 1.65;
  flex: 1; margin-bottom: 0;
}

/* a — "Go somewhere" equivalent */
.card-post .card-link {
  display: inline-flex; align-items: center; gap: .28rem;
  font-size: .79rem; font-weight: 700; color: #1b4f72;
  text-decoration: none; margin-top: auto; padding-top: .65rem;
  transition: gap .22s, color .22s;
}
.card-post .card-link:hover { color: #d4a017; gap: .52rem; }
.card-post .card-link i { font-size: .72rem; transition: transform .22s; }
.card-post .card-link:hover i { transform: translateX(3px); }

/* ────────────────────────────────────
   PAGINATION
──────────────────────────────────── */
.blog-pg .pagination .page-link {
  border-radius: 8px !important;
  border: 1.5px solid #e5e7eb;
  color: #6b7280; font-weight: 600; font-size: .82rem;
  min-width: 36px; height: 36px; padding: 0 .7rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .22s;
}
.blog-pg .pagination .page-link:hover {
  background: #1b4f72; color: #fff; border-color: #1b4f72;
}
.blog-pg .pagination .page-item.active .page-link {
  background: #1b4f72 !important;
  border-color: #1b4f72 !important;
  color: #fff !important;
}
.blog-pg .pagination .page-item.disabled .page-link { opacity: .45; }

/* ────────────────────────────────────
   ANIMATIONS
──────────────────────────────────── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-featured  { animation: slideUp .46s .04s ease both; }
.post-col       { animation: slideUp .38s ease both; }
.post-col:nth-child(1) { animation-delay: .04s; }
.post-col:nth-child(2) { animation-delay: .12s; }
.post-col:nth-child(3) { animation-delay: .20s; }
.post-col:nth-child(4) { animation-delay: .28s; }
.post-col:nth-child(5) { animation-delay: .36s; }
.post-col:nth-child(6) { animation-delay: .44s; }

/* ────────────────────────────────────
   RESPONSIVE
──────────────────────────────────── */
@media (max-width: 768px) {
  .card-featured .card-img-top { height: 280px; }
  .card-featured{
    width: 100%;
  }
  .card-featured .card-body    { padding: 1.35rem !important; }
}
@media (max-width: 992px) {
  .blog-hero { padding: 2rem 0 1.75rem;
    margin-top: 60px;
}
}
@media (max-width: 576px) {
  .blog-hero { padding: 2rem 0 1.75rem;
    margin-top: 60px;
}
  .blog-hero h1 { font-size: 1.7rem; }
  .card-featured .card-img-top { height: 220px; }
  .card-featured .card-title   { font-size: 1.15rem; }
  .card-post .card-img-top     { height: 185px; }
}
@media (max-width: 380px) {
  .blog-hero h1                { font-size: 1.45rem; }
  .card-featured .card-img-top { height: 180px; }
  .btn-brand-primary           { font-size: .76rem; padding: .58rem 1.1rem; }
}