/* ============================================
   PORTFOLIO WEBSITE — REDESIGNED STYLESHEET
   Design System:
   --night:    #06263A  (deep navy black)
   --surface:  #0B3550  (card surface)
   --panel:    #114767  (elevated panel)
   --amber:    #1BB6D6  (primary accent - teal)
   --amber-lt: #4DD9EA  (light teal)
   --slate:    #4E7A93  (muted text)
   --fog:      #EAF7FB  (off-white bg)
   --white:    #FFFFFF
   Font: Outfit (display) + DM Sans (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #EAF7FB;
  color: #06263A;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- CSS VARIABLES ---------- */
:root {
  --night: #06263A;
  --surface: #0B3550;
  --panel: #114767;
  --amber: #1BB6D6;
  --amber-lt: #4DD9EA;
  --amber-dim: rgba(27, 182, 214, 0.12);
  --slate: #4E7A93;
  --slate-lt: #86AEC2;
  --fog: #EAF7FB;
  --white: #FFFFFF;
  --border-light: #D3ECF3;
  --border-dark: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(6, 38, 58, 0.08);
  --shadow-md: 0 8px 32px rgba(6, 38, 58, 0.12);
  --shadow-lg: 0 20px 60px rgba(6, 38, 58, 0.18);
  --shadow-amber: 0 8px 32px rgba(27, 182, 214, 0.25);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* legacy variable aliases for compatibility */
  --primary: #1BB6D6;
  --secondary: #4DD9EA;
  --background: #EAF7FB;
  --on-primary: #06263A;
  --on-surface: #06263A;
  --muted: #4E7A93;
  --border: #D3ECF3;
  --accent: #1BB6D6;
  --accent2: #4DD9EA;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-blur: blur(16px);
  --ink2: #06263A;
  --light: #EAF7FB;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #06263A;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: #475569;
}

.highlight {
  color: var(--amber);
  -webkit-text-fill-color: var(--amber);
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(27, 182, 214, 0.2);
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
}

.section-header {
  text-align: center;
  max-width: 670px;
  margin: 0 auto 64px;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: var(--shadow-amber);
}

.btn-primary:hover {
  background: var(--amber-lt);
  color: var(--slate);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(27, 182, 214, 0.35);
}

.btn-ghost {
  border: 2px solid var(--border-light);
  color: var(--night);
  background: var(--white);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.83rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(6, 38, 58, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.logo .dot {
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--night);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(27, 182, 214, 0.07), transparent 65%);
  top: -300px;
  right: -200px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 182, 214, 0.04), transparent 65%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 580px;
}

.hero-text h1 {
  margin: 14px 0 22px;
  color: var(--white);
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero-cta .btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-dim);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: left;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
}

.stat p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* Hero Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.card-header {
  background: #162032;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot-red,
.dot-yellow,
.dot-green {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #FF5F57;
}

.dot-yellow {
  background: #FFBD2E;
}

.dot-green {
  background: #28C840;
}

.card-body {
  padding: 24px;
  background: #0D1521;
}

.code-line {
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.code-line.indent {
  padding-left: 20px;
}

.code-tag {
  color: #1BB6D6;
}

.code-attr {
  color: #93C5FD;
}

.code-val {
  color: #86EFAC;
}

.code-text {
  color: #D3ECF3;
}

.card-footer {
  padding: 14px 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: #162032;
}

.tag {
  background: rgba(27, 182, 214, 0.15);
  color: var(--amber);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(27, 182, 214, 0.2);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--night);
  box-shadow: var(--shadow-md);
  font-family: 'Outfit', sans-serif;
}

.badge-1 {
  bottom: 20px;
  left: -10px;
}

.badge-2 {
  top: 30px;
  right: -10px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-scroll span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 1;
  }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  background: var(--surface);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--fog);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
}

.service-card.featured {
  border-color: var(--amber);
  box-shadow: var(--shadow-amber);
}

.service-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--amber-dim);
  color: var(--amber);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

/* ---- Service card header (icon + title inline) ---- */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.service-card-header .service-icon {
  margin-bottom: 0;
}

.service-card-header h3 {
  margin-bottom: 0;
}

.service-desc-text {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.65;
  color: #475569;
}

/* ---- Feature list with checkmark icons ---- */
.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--slate);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-feature-list li:last-child {
  border-bottom: none;
}

.service-feature-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  box-sizing: border-box;
  color: var(--amber);
  background: var(--amber-dim);
  border-radius: 50%;
}

.service-feature-list li span {
  line-height: 1.3;
}

/* ---- Corner badge tag (tier label) ---- */
.badge-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.service-list li {
  font-size: 0.86rem;
  color: var(--slate);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-left: 18px;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.78rem;
}

.service-list li:last-child {
  border-bottom: none;
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--night);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.04em;
}

/* Pricing */
.pricing-header {
  margin-top: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: visible;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.pricing-card:hover .pricing-name {
  color: var(--amber);
}

/* Middle/featured plan reads as the recommended choice */
.pricing-card.featured {
  border-color: var(--amber);
  background: var(--night);
  box-shadow: var(--shadow-lg);
}

.pricing-grid .pricing-card.featured:nth-child(2) {
  transform: scale(1.045);
  z-index: 2;
}

.pricing-grid .pricing-card.featured:nth-child(2):hover {
  transform: scale(1.045) translateY(-8px);
}

.pricing-card.featured:hover {
  border-color: var(--amber-lt);
  box-shadow: var(--shadow-amber);
}

.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-list li,
.pricing-card.featured .currency,
.pricing-card.featured .price-amount {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card.featured .pricing-list li.muted {
  color: rgba(255, 255, 255, 0.32);
}

.pricing-card.featured:hover .pricing-name {
  color: var(--amber-lt);
}

.pricing-card.featured .pricing-list svg {
  color: var(--amber-lt);
}

/* ---- Badge ---- */
.pricing-card .badge-popular {
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 16px rgba(27, 182, 214, 0.35);
}

/* ---- Header / naming ---- */
.pricing-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  transition: var(--transition);
}

/* ---- Price ---- */
.pricing-price-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 14px;
  font-family: 'Outfit', sans-serif;
  color: var(--night);
}

.pricing-card.featured .pricing-price-wrapper {
  color: var(--white);
}

.currency {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--amber);
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, 0.55);
}

/* ---- Feature list ---- */
.pricing-list {
  margin-bottom: 28px;
  flex: 1;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
  color: #334155;
}

.pricing-list li svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  padding: 3px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--amber-dim);
  color: var(--amber);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list li.muted {
  color: var(--slate-lt);
}

.pricing-card.featured .pricing-list li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ---- Footer / CTA ---- */
.pricing-footer {
  margin-top: auto;
}

.pricing-card .btn-full {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pricing-card.featured .btn-primary {
  background: var(--amber);
  color: var(--night);
  box-shadow: var(--shadow-amber);
}

.pricing-card.featured .btn-primary:hover {
  background: var(--amber-lt);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  background: var(--white);
}

.portfolio-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border-light);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate);
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--amber);
  color: var(--night);
  background: var(--amber-dim);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.portfolio-item:hover {
  box-shadow: var(--shadow-md);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 38, 58, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  padding: 20px;
}

.overlay-content h4 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.overlay-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}

.overlay-tags span {
  background: rgba(27, 182, 214, 0.2);
  color: var(--amber);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  border: 1px solid rgba(27, 182, 214, 0.3);
}

.portfolio-info {
  padding: 18px 20px;
  background: var(--fog);
}

.portfolio-info h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.portfolio-info p {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 38, 58, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 44px;
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fog);
  color: var(--slate);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--amber);
  color: var(--night);
}

.modal-content h3 {
  margin-bottom: 12px;
}

.modal-content .modal-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.modal-content .modal-meta span {
  background: var(--fog);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--slate);
}

.modal-content .modal-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.modal-content p {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.modal-content .result-box {
  background: rgba(27, 182, 214, 0.07);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-top: 16px;
}

.modal-content .result-box strong {
  color: var(--amber);
  display: block;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  background: var(--night);
}

.process .section-header {
  color: white;
}

.process .section-header h2 {
  color: white;
}

.process .section-header p {
  color: rgba(255, 255, 255, 0.5);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.process-line {
  width: 60px;
  height: 1px;
  background: rgba(27, 182, 214, 0.2);
  margin-top: 30px;
  flex-shrink: 0;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(27, 182, 214, 0.2);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.step-content h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.step-content p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.88rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--fog);
}

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

.about-img-wrap {
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--surface) 0%, var(--panel) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  right: -16px;
  background: var(--white);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.86rem;
  font-family: 'Outfit', sans-serif;
  border: 1px solid var(--border-light);
}

.about-text {
  max-width: 520px;
}

.about-text h2 {
  margin: 12px 0 22px;
}

.about-text p,
.about-description p {
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.skill-item {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  gap: 6px;
  align-items: center;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}

.skill-item:hover {
  border-color: var(--amber);
  color: var(--night);
  background: var(--amber-dim);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--white);
}

/* ---- Trust / social-proof bar ---- */
.testimonials-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: -20px auto 44px;
  padding: 18px 28px;
  max-width: fit-content;
  background: var(--fog);
  border: 1px solid var(--border-light);
  border-radius: 100px;
}

.trust-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-score {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--night);
  line-height: 1;
}

.trust-rating-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-rating-meta .stars-sm {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.trust-rating-meta span {
  font-size: 0.76rem;
  color: var(--slate);
}

.trust-divider {
  width: 1px;
  height: 34px;
  background: var(--border-light);
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: linear-gradient(135deg, var(--amber), var(--amber-lt));
  color: var(--night);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.66rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-label {
  margin-left: 14px;
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 500;
}

/* ---- Empty state ---- */
.testimonials-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px;
  color: var(--slate);
  text-align: center;
}

.testimonials-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--amber-dim);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-empty-icon svg {
  width: 26px;
  height: 26px;
}

.testimonials-slider {
  position: relative;
}

.testimonials-track-wrap {
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 20px;
  margin-top: -20px;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
}

.slider-dots {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: var(--white);
  color: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
}

.slider-arrow:hover:not(:disabled) {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-amber);
}

.slider-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--amber);
}

.testimonial-card {
  position: relative;
  background: var(--fog);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.quote-mark {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 34px;
  height: 26px;
  color: var(--amber);
  opacity: 0.16;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--amber-dim);
  border-color: var(--amber);
}

.testimonial-card:hover .quote-mark {
  opacity: 0.3;
  transform: scale(1.08);
}

.testimonial-card:hover .testimonial-author strong {
  color: var(--night);
}

.testimonial-card.featured {
  background: var(--night);
  border-color: transparent;
}

.testimonial-card.featured .quote-mark {
  opacity: 0.25;
}

.testimonial-card.featured:hover {
  background: var(--amber-dim);
  border-color: var(--amber);
}

.testimonial-card.featured:hover .quote-mark {
  opacity: 0.3;
}

.testimonial-card.featured p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-card.featured:hover p {
  color: var(--night);
}

.testimonial-card .badge-popular {
  top: -12px;
  left: 28px;
  transform: none;
}

.stars {
  color: var(--amber);
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.testimonial-author {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--night);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--border-light);
}

.testimonial-card.featured .author-avatar {
  box-shadow: 0 0 0 3px var(--night), 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--night);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.testimonial-card.featured .testimonial-author strong {
  color: white;
}

.testimonial-card.featured:hover .testimonial-author strong {
  color: var(--night);
}

.testimonial-author span {
  font-size: 0.77rem;
  color: var(--slate-lt);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--fog);
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 44px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--night);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--amber);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--slate);
}

.faq-item.open .faq-icon {
  background: var(--amber);
  color: var(--night);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-answer p {
  padding-bottom: 22px;
  font-size: 0.94rem;
  color: var(--slate);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(27, 182, 214, 0.06), transparent 65%);
  top: -180px;
  right: -180px;
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info {
  padding-top: 10px;
}

.contact-info h2 {
  margin: 12px 0 20px;
}

.contact-info p {
  font-size: 0.98rem;
  margin-bottom: 34px;
  max-width: 440px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
}

.contact-method:hover {
  border-color: var(--amber);
  background: var(--amber-dim);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-method.whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.06);
}

.method-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--amber-dim);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
}

.contact-method.whatsapp .method-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-method strong {
  display: block;
  font-size: 0.86rem;
  color: var(--night);
  margin-bottom: 2px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.contact-method span {
  font-size: 0.82rem;
  color: var(--slate);
  word-break: break-word;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links.mt {
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--slate);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-dim);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--night);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--night);
  background: var(--fog);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-lt);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--slate-lt);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27, 182, 214, 0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #EF4444;
}

.field-error {
  font-size: 0.77rem;
  color: #EF4444;
  min-height: 1px;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.contact-form .btn-primary {
  margin-top: 4px;
  transition: var(--transition);
}

.contact-form .btn-primary:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

#btnLoader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#btnLoader::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid rgba(6, 38, 58, 0.25);
  border-top-color: var(--night);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-success {
  grid-column: 1 / -1;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid #22C55E;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #15803D;
  display: none;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--night);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.88rem;
  max-width: 260px;
  line-height: 1.7;
}

.footer h4 {
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'Outfit', sans-serif;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a,
.footer ul li {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.87rem;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--amber);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.87rem;
  margin-bottom: 8px;
}

/* Fix: .social-links a was inheriting the dark body text color (#06263A),
   which matches the footer's dark background (--night), making icons invisible.
   Explicit colors below break that inheritance. */
.footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer .social-links a i {
  color: #ffffff;
  transition: var(--transition);
}

/* Official brand colors */
.footer .social-links a .fa-facebook-f {
  color: #1877F2;
}

.footer .social-links a .fa-instagram {
  color: #E1306C;
}

.footer .social-links a .fa-linkedin-in {
  color: #0A66C2;
}

.footer .social-links a .fa-x-twitter {
  color: #ffffff;
}

.footer .social-links a .fa-youtube {
  color: #FF0000;
}

.footer .social-links a .fa-whatsapp {
  color: #25D366;
}

/* Hover: fill circle with brand color, icon turns white/black for contrast */
.footer .social-links a:has(.fa-facebook-f):hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer .social-links a:has(.fa-instagram):hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #bc1888;
}

.footer .social-links a:has(.fa-linkedin-in):hover {
  background: #0A66C2;
  border-color: #0A66C2;
}

.footer .social-links a:has(.fa-x-twitter):hover {
  background: #ffffff;
  border-color: #ffffff;
}

.footer .social-links a:has(.fa-x-twitter):hover i {
  color: #000000;
}

.footer .social-links a:has(.fa-youtube):hover {
  background: #FF0000;
  border-color: #FF0000;
}

.footer .social-links a:has(.fa-whatsapp):hover {
  background: #25D366;
  border-color: #25D366;
}

.footer .social-links a:hover i {
  color: #ffffff;
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.8rem;
}

/* ============================================
   WHATSAPP FLOAT + BACK TO TOP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  width: 42px;
  height: 42px;
  background: var(--amber);
  color: var(--night);
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-amber);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--amber-lt);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-sub {
    margin: 0 auto 40px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-wrap {
    max-width: 360px;
    margin: 0 auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid .pricing-card.featured:nth-child(2) {
    transform: none;
  }

  .pricing-grid .pricing-card.featured:nth-child(2):hover {
    transform: translateY(-8px);
  }

  .testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 10px);
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .process-line {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--night);
    flex-direction: column;
    gap: 0;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.4);
    transition: right 0.35s ease;
    z-index: 999;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  .services-grid,
  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-track .testimonial-card {
    flex: 0 0 100%;
  }

  .hero-stats {
    gap: 24px;
  }

  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 18px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--fog);
}

::-webkit-scrollbar-thumb {
  background: var(--amber);
  border-radius: 10px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------------
   Portfolio Call‑to‑Action Button
   ------------------------------------------------------------------ */
.portfolio-cta {
  /* Centers the button horizontally */
  text-align: center;

  /* Adds space above the button – adjust the value as needed */
  margin-top: 2rem;
  /* ≈ 32 px */
}

/* Optional: tighten the button’s vertical spacing on very small screens */
@media (max-width: 480px) {
  .portfolio-cta {
    margin-top: 1.5rem;
  }
}

/* ============================================
   BLOG
   ============================================ */
.blog-hero {
  background: var(--night);
  padding: 110px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(27, 182, 214, 0.08), transparent 65%);
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.blog-hero .container {
  position: relative;
  z-index: 1;
}

.blog-hero h1 {
  color: var(--white);
  margin: 14px 0 12px;
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.blog-hero .highlight {
  color: var(--amber);
}

.blog-search-hero {
  max-width: 480px;
  margin: 32px auto 0;
  position: relative;
}

.blog-search-hero input {
  width: 100%;
  padding: 15px 56px 15px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.blog-search-hero input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.blog-search-hero input:focus {
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.1);
}

.blog-search-hero button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.95rem;
}

.blog-search-hero button:hover {
  background: var(--amber-lt);
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.blog-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Featured post */
.featured-post {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.featured-post:hover {
  box-shadow: var(--shadow-md);
}

.featured-post-img {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, var(--surface), var(--panel));
}

.featured-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.featured-post-img .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
}

.featured-post-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.featured-post-body h2 {
  font-size: 1.55rem;
  margin: 12px 0 10px;
}

.featured-post-body h2 a:hover {
  color: var(--amber);
}

.featured-post-body p {
  font-size: 0.92rem;
}

.featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--slate);
  font-weight: 500;
}

/* Post grid */
.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
}

.post-card-img {
  position: relative;
  height: 190px;
  background: linear-gradient(135deg, var(--surface), var(--panel));
  overflow: hidden;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-card-img img {
  transform: scale(1.06);
}

.post-card-img .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  text-align: center;
  padding: 16px;
}

.post-card-body {
  padding: 22px 22px 0;
}

.post-card-body h3 {
  font-size: 1.05rem;
  margin: 10px 0 8px;
  line-height: 1.4;
}

.post-card-body h3 a:hover {
  color: var(--amber);
}

.post-card-body p {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  margin-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--slate);
  background: var(--fog);
  font-weight: 500;
}

.empty-state {
  background: var(--white);
  text-align: center;
  padding: 70px 30px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-light);
}

.empty-state svg {
  color: var(--slate-lt);
  margin: 0 auto 16px;
}

.empty-state h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.empty-state p {
  font-size: 0.9rem;
  max-width: 360px;
  margin: 0 auto;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border-light);
}

.sidebar-card h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.sidebar-search {
  position: relative;
}

.sidebar-search input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
  background: var(--fog);
  outline: none;
  transition: var(--transition);
  color: var(--night);
}

.sidebar-search input:focus {
  border-color: var(--amber);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27, 182, 214, 0.12);
}

.sidebar-search button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 34px;
  border-radius: 8px;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.sidebar-search button:hover {
  color: var(--amber);
}

.category-list li {
  margin-bottom: 0;
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 0.87rem;
  color: var(--slate);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.category-list li:last-child a {
  border-bottom: none;
}

.category-list a:hover {
  color: var(--amber);
  padding-left: 6px;
}

.category-count {
  background: var(--fog);
  color: var(--slate);
  font-size: 0.7rem;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 600;
}

.category-list a:hover .category-count {
  background: var(--amber-dim);
  color: var(--amber);
}

.popular-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.popular-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.popular-post-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fog);
}

.popular-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post h5 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--night);
}

.popular-post h5 a:hover {
  color: var(--amber);
}

.popular-post span {
  font-size: 0.72rem;
  color: var(--slate-lt);
}

.pagination-wrap {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}

.pagination-wrap nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Article (show) */
.article-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate);
  flex-wrap: wrap;
  margin: 16px 0;
}

.article-meta .dot {
  color: var(--border-light);
}

.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 480px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
  background: var(--fog);
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prose {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.85;
}

.prose p {
  margin-bottom: 20px;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--night);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.prose h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 40px 0 18px;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 36px 0 16px;
}

.prose h3 {
  font-size: 1.3rem;
  margin: 30px 0 14px;
}

.prose h4 {
  font-size: 1.1rem;
  margin: 26px 0 12px;
}

.prose h5 {
  font-size: 0.95rem;
  margin: 22px 0 10px;
}

.prose h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
  margin: 20px 0 10px;
}

.prose img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

.prose a {
  color: var(--amber);
  text-decoration: underline;
}

.prose ul,
.prose ol {
  margin: 0 0 20px 20px;
  color: #334155;
}

.prose blockquote {
  border-left: 3px solid var(--amber);
  padding-left: 18px;
  color: var(--slate);
  font-style: italic;
  margin: 24px 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.tag-pill {
  color: var(--slate);
  background: var(--fog);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

.tag-pill:hover {
  background: var(--amber-dim);
  color: var(--amber);
  border-color: rgba(27, 182, 214, 0.3);
}

.share-box {
  background: var(--fog);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 44px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border-light);
}

.share-box>span {
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--night);
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.share-fb {
  background: #1877F2;
}

.share-tw {
  background: #0F1419;
}

.share-li {
  background: #0A66C2;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px 0;
  margin: 44px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.post-nav-item.next {
  text-align: right;
  border-left: 1px solid var(--border-light);
  padding-left: 24px;
}

.post-nav-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-lt);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
}

.post-nav-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--night);
  line-height: 1.5;
}

.post-nav-title:hover {
  color: var(--amber);
}

.related-posts {
  margin: 56px 0;
}

.related-posts>h3 {
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--amber);
}

.related-card-body {
  padding: 20px;
}

.related-date {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  font-family: 'Outfit', sans-serif;
}

.related-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--night);
}

.related-title:hover {
  color: var(--amber);
}

.comments-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}

.comments-heading {
  margin-bottom: 28px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid #22C55E;
  color: #15803D;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-lt));
  color: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.chat-message:nth-child(5n+2) .chat-avatar {
  background: linear-gradient(135deg, var(--night), #164A66);
  color: var(--white);
}

.chat-message:nth-child(5n+3) .chat-avatar {
  background: linear-gradient(135deg, var(--slate), var(--slate-lt));
  color: var(--white);
}

.chat-message:nth-child(5n+4) .chat-avatar {
  background: linear-gradient(135deg, #4DD9EA, #B9F0F5);
  color: var(--night);
}

.chat-message:nth-child(5n+5) .chat-avatar {
  background: linear-gradient(135deg, #114767, var(--amber));
  color: var(--white);
}

.chat-content {
  flex: 1;
  min-width: 0;
}

.chat-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  padding-left: 2px;
}

.chat-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--night);
  font-family: 'Outfit', sans-serif;
}

.chat-time {
  font-size: 0.75rem;
  color: var(--slate-lt);
  white-space: nowrap;
}

.chat-bubble {
  position: relative;
  background: var(--fog);
  border: 1px solid var(--border-light);
  border-radius: 4px 16px 16px 16px;
  padding: 14px 18px;
  max-width: 100%;
  transition: var(--transition);
}

.chat-message:hover .chat-bubble {
  border-color: rgba(27, 182, 214, 0.3);
  box-shadow: var(--shadow-sm);
}

.chat-bubble p {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.65;
  margin: 0;
}

.comment-replies {
  margin-top: 16px;
  margin-left: 22px;
  padding-left: 18px;
  border-left: 2px solid rgba(27, 182, 214, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-reply {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border: 1px solid var(--border-light);
}

.reply-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  font-family: 'Outfit', sans-serif;
}

.comment-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 40px 20px;
  background: var(--fog);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  color: var(--slate);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 40px;
}

.comment-empty-icon {
  font-size: 1.6rem;
  font-style: normal;
}

.comment-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}

.comment-form-card h4 {
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-item.next {
    text-align: left;
    border-left: none;
    padding-left: 4px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
  }

  .comment-form-card .contact-form {
    grid-template-columns: 1fr;
  }

  .chat-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }

  .chat-bubble {
    padding: 12px 14px;
  }
}

/* ==========================================================================
   ========== BLOG SECTION ==========
   ========================================================================== */
.blog {
  position: relative;
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 45px;
}

/* Card Styling */
.blog-card {
  background: var(--card-bg, #ffffff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Featured Image Layout */
.blog-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 20px;
  text-align: center;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-placeholder {
  transform: scale(1.05);
}

/* Badge overlay */
.blog-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color, #1BB6D6);
  color: #fff;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(27, 182, 214, 0.2);
}

/* Content Layout */
.blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 12px;
}

.blog-meta i {
  color: var(--primary-color, #1BB6D6);
  margin-right: 4px;
}

.blog-title {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 12px;
  font-weight: 700;
}

.blog-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-title a:hover {
  color: var(--primary-color, #1BB6D6);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color, #1BB6D6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.blog-link:hover {
  transform: translateX(4px);
}

/* Center Bottom Call-To-Action Button */
.blog-cta {
  text-align: center;
  margin-top: 50px;
}

.no-posts {
  text-align: center;
  color: #6c757d;
  margin-top: 40px;
  font-style: italic;
}

.blog {
  position: relative;
  padding: 80px 0;

  /* Option A: Using a relative asset file path */
  background-image: url('../images/blog-bg.jpg');

  /* Option B: Subtle light grid or dotted pattern fallback path */
  /* background-image: url('/assets/images/bg-pattern.png'); */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional: Add a dark or light layer overlay if you need to maintain text readability */
.blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  /* Adjust opacity depending on the visual layout */
  z-index: 1;
}

/* Ensure container content floats over the background overlay layer */
.blog .container {
  position: relative;
  z-index: 2;
}