/* =====================================================================
   YOMI AJIBODU — SHARED DESIGN SYSTEM
   Curriculum & Learning Designer | Instructional Designer
   ===================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* =====================================================================
   CSS VARIABLES
   ===================================================================== */
:root {
  --primary: #1a56db;
  --primary-hover: #1e40af;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --border: rgba(0, 0, 0, 0.08);
  --section-alt: #f1f5f9;
  --grad: linear-gradient(135deg, #3065a1, #ae1ee7);
  --grad-hover: linear-gradient(135deg, #254d7c, #8b18b8);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.07);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 9999px;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-blur: blur(12px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
  --bg: #0b0f19;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --card-bg: #13192b;
  --card-border: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --section-alt: #121829;
  --glass-bg: rgba(19, 25, 43, 0.75);
  --glass-border: rgba(255, 255, 255, 0.04);
  --glass-blur: blur(12px);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

/* =====================================================================
   GLOBAL RESET & BASE STYLES
   ===================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 700; }
p { color: var(--muted); }
a { transition: var(--transition); }

/* =====================================================================
   DARK MODE THEME HELPERS
   ===================================================================== */
body.dark-mode .bg-white { background-color: var(--bg) !important; }
body.dark-mode .bg-light { background-color: var(--section-alt) !important; }
body.dark-mode .text-dark, body.dark-mode .text-black, body.dark-mode strong.text-dark { color: var(--text) !important; }
body.dark-mode .text-secondary, body.dark-mode .text-muted { color: var(--muted) !important; }
body.dark-mode .border, body.dark-mode .border-top, body.dark-mode .border-bottom { border-color: var(--border) !important; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { color: var(--text) !important; }

/* =====================================================================
   LAYOUT
   ===================================================================== */
section { position: relative; }
.alt-bg { background-color: var(--section-alt) !important; }

.section-heading {
  font-weight: 700;
  position: relative;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: var(--text);
}
.section-heading::after {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background: var(--grad);
  margin-top: 0.5rem;
  border-radius: 2px;
}
.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* =====================================================================
   NAVBAR
   ===================================================================== */
.navbar {
  background-color: var(--glass-bg) !important;
  border-bottom: 1px solid var(--glass-border) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 1020;
  transition: background-color 0.3s, backdrop-filter 0.3s;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text) !important;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar-brand i { color: var(--accent); }
.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background-color: rgba(26, 86, 219, 0.06);
}
body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active {
  color: #60a5fa !important;
  background-color: rgba(96, 165, 250, 0.08);
}
body.dark-mode .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .navbar-toggler-icon { filter: invert(1) brightness(2) !important; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn-grad {
  background: var(--grad);
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  padding: clamp(0.6rem, 2vw, 0.75rem) clamp(1rem, 3.5vw, 1.75rem);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none !important;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  word-break: break-word;
}
.btn-grad:hover {
  background: var(--grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
  color: #ffffff !important;
}
.btn-grad:active { transform: translateY(0); }

.btn-outline-custom {
  background: transparent;
  color: var(--text) !important;
  border: 2px solid var(--border);
  font-weight: 600;
  padding: clamp(0.6rem, 2vw, 0.75rem) clamp(1rem, 3.5vw, 1.75rem);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none !important;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
  text-decoration: none !important;
}
.btn-outline-custom:hover {
  background: rgba(124, 58, 237, 0.05);
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-2px);
}

/* Credential badges */
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.cred-badge i { color: var(--primary); }
.cred-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
#home {
  background: #f5f2ed;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}
body.dark-mode #home { background: var(--bg); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.8rem;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 991px) { .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: left; } }
@media (max-width: 767px) { .hero-inner { grid-template-columns: 1fr; gap: 2rem; } }

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.28);
  color: var(--accent);
  border-radius: 9999px;
  padding: 0.45rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.1);
}
body.dark-mode .hero-badge { background: rgba(124, 58, 237, 0.3); border-color: rgba(167, 139, 250, 0.4); color: #c4b5fd; }

.hero-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.hero-highlight { position: relative; display: inline; }
.hero-highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 14px;
  background: linear-gradient(90deg, #f97316, #7c3aed, #1a56db, #f97316);
  background-size: 200% 100%;
  border-radius: 6px;
  opacity: 0.45;
  z-index: -1;
  animation: heroGlowShift 6s linear infinite;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
}
@keyframes heroGlowShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #334155;
  line-height: 1.8;
  max-width: 620px;
  margin: 0;
  font-weight: 450;
}
body.dark-mode .hero-desc { color: #cbd5e1; }

.hero-typing-line {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--primary);
  min-height: 2.4rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
body.dark-mode .hero-typing-line { color: #60a5fa; }
.cursor { animation: blink 1s infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  position: relative;
  z-index: 5;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--grad);
  color: #ffffff !important;
  padding: 0.95rem 2.2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none !important;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(48, 101, 161, 0.35);
  border: none;
}
.hero-btn-primary:hover {
  background: var(--grad-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(174, 30, 231, 0.4);
  color: #ffffff !important;
}
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.95rem 2rem;
  border-radius: 9999px;
  color: var(--text) !important;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none !important;
  transition: var(--transition);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
}
body.dark-mode .hero-btn-secondary {
  background: rgba(19, 25, 43, 0.75);
  border-color: rgba(255, 255, 255, 0.2);
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,1);
  border-color: var(--accent);
  transform: translateY(-3px);
  color: var(--accent) !important;
}
body.dark-mode .hero-btn-secondary:hover { background: rgba(19,25,43,0.95); border-color: var(--accent); }

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.25rem;
}
.hero-scroll-arrow {
  width: 30px; height: 30px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  animation: heroScrollBounce 2s ease-in-out infinite;
}
@keyframes heroScrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 656px;
  z-index: 2;
}
@media (max-width: 1199px) { .hero-right { height: 640px; } }
@media (max-width: 991px) { .hero-right { height: 580px; margin-top: 1rem; } }
@media (max-width: 767px) { .hero-right { height: 560px; margin-top: 1rem; } }
@media (max-width: 480px) { .hero-right { height: 500px; margin-top: 0.75rem; } }
@media (max-width: 380px) { .hero-right { height: 460px; } }
@media (min-width: 1400px) { .hero-right { height: 740px; } }

.hero-portrait-img {
  position: relative;
  z-index: 1;
  height: calc(130% - 4rem); width: auto; max-width: 130%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  transform: scale(1.15);
  transform-origin: bottom center;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.28));
  transition: transform 0.3s ease;
}
@media (max-width: 767px) {
  .hero-portrait-img {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    object-fit: contain;
    object-position: bottom center;
    transform: scale(1.22) !important;
    transform-origin: bottom center;
  }
}
@media (max-width: 480px) {
  .hero-portrait-img {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    transform: scale(1.20) !important;
    transform-origin: bottom center;
  }
}
@media (max-width: 380px) {
  .hero-portrait-img {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    transform: scale(1.18) !important;
    transform-origin: bottom center;
  }
}

.hero-dots {
  position: absolute;
  top: 10px; right: -10px;
  width: 260px; height: 75%;
  background-image: radial-gradient(circle, rgba(0,0,0,0.22) 2px, transparent 2px);
  background-size: 24px 24px;
  z-index: 0; pointer-events: none;
}
body.dark-mode .hero-dots { background-image: radial-gradient(circle, rgba(255,255,255,0.18) 2px, transparent 2px); }

.hero-shape { position: absolute; z-index: 0; }
.hero-shape-accent {
  width: 300px; height: 340px;
  background: #f97316;
  border-radius: 3.5rem 3.5rem 1.5rem 3.5rem;
  bottom: 35px; right: 50px;
  opacity: 0.92;
  box-shadow: 0 20px 40px rgba(249,115,22,0.3);
}
.hero-shape-primary {
  width: 240px; height: 280px;
  background: #0d9488;
  border-radius: 3.5rem 3.5rem 3.5rem 1.5rem;
  bottom: 10px; right: 0px;
  opacity: 0.88;
  box-shadow: 0 20px 40px rgba(13,148,136,0.3);
}
@media (max-width: 991px) {
  .hero-shape-accent { width: 280px; height: 320px; right: 40px; bottom: 30px; }
  .hero-shape-primary { width: 220px; height: 260px; right: 0; bottom: 10px; }
  .hero-dots { width: 220px; right: 0; }
}
@media (max-width: 767px) {
  .hero-shape-accent { width: 280px; height: 320px; right: 20px; bottom: 25px; }
  .hero-shape-primary { width: 220px; height: 260px; right: 0; bottom: 5px; }
  .hero-dots { width: 200px; right: -5px; }
}
@media (max-width: 480px) {
  .hero-shape-accent { width: 250px; height: 290px; right: 10px; bottom: 20px; }
  .hero-shape-primary { width: 200px; height: 230px; right: 0; bottom: 5px; }
}

.hero-dots {
  position: absolute;
  top: 10px; right: -10px;
  width: 260px; height: 75%;
  background-image: radial-gradient(circle, rgba(0,0,0,0.22) 2px, transparent 2px);
  background-size: 24px 24px;
  z-index: 0; pointer-events: none;
}
body.dark-mode .hero-dots { background-image: radial-gradient(circle, rgba(255,255,255,0.18) 2px, transparent 2px); }

.hero-shape { position: absolute; z-index: 0; }
.hero-shape-accent {
  width: 300px; height: 340px;
  background: #f97316;
  border-radius: 3.5rem 3.5rem 1.5rem 3.5rem;
  bottom: 35px; right: 50px;
  opacity: 0.92;
  box-shadow: 0 20px 40px rgba(249,115,22,0.3);
}
.hero-shape-primary {
  width: 240px; height: 280px;
  background: #0d9488;
  border-radius: 3.5rem 3.5rem 3.5rem 1.5rem;
  bottom: 10px; right: 0px;
  opacity: 0.88;
  box-shadow: 0 20px 40px rgba(13,148,136,0.3);
}
@media (max-width: 991px) {
  .hero-shape-accent { width: 260px; height: 300px; right: 40px; bottom: 30px; }
  .hero-shape-primary { width: 200px; height: 240px; right: 0; bottom: 10px; }
  .hero-dots { width: 200px; right: 0; }
}
@media (max-width: 767px) {
  .hero-shape-accent { width: 220px; height: 260px; right: 20px; bottom: 25px; }
  .hero-shape-primary { width: 170px; height: 210px; right: 0; bottom: 5px; }
  .hero-dots { width: 170px; right: -5px; }
}
@media (max-width: 480px) {
  .hero-shape-accent { width: 190px; height: 220px; right: 15px; bottom: 20px; }
  .hero-shape-primary { width: 150px; height: 180px; right: 0; bottom: 5px; }
}
@media (min-width: 1400px) {
  .hero-shape-accent { width: 330px; height: 380px; right: 60px; }
  .hero-shape-primary { width: 260px; height: 310px; right: 0; }
}

.hero-portrait-img {
  position: relative;
  z-index: 1;
  height: calc(118% - 6.5rem); width: auto; max-width: 115%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  transform: scale(1);
  transform-origin: bottom center;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.28));
}

.hero-vector-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  overflow: hidden; color: var(--text);
}
.hero-vector-svg { width: 100%; height: 100%; display: block; }

.hero-live-badge {
  position: absolute; top: -25px; left: 10px; z-index: 4;
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem; font-weight: 700;
  color: var(--text);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: var(--transition); white-space: nowrap;
}
@media (min-width: 1200px) { .hero-live-badge { top: 25px; left: -130px; } }
body.dark-mode .hero-live-badge { background: rgba(19,25,43,0.88); border-color: rgba(255,255,255,0.14); box-shadow: 0 10px 25px rgba(0,0,0,0.35); }

.hero-live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: livePulse 2s infinite; flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.25); }
  50% { box-shadow: 0 0 0 7px rgba(16,185,129,0.05); }
}

.hero-mini-video-card {
  position: absolute; bottom: 12%; right: -10px; z-index: 4;
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(255,255,255,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 0.65rem 1.25rem 0.65rem 0.75rem;
  border-radius: 1.25rem;
  box-shadow: 0 14px 35px rgba(0,0,0,0.14);
  text-decoration: none !important; transition: var(--transition);
}
body.dark-mode .hero-mini-video-card { background: rgba(19,25,43,0.92); border-color: rgba(255,255,255,0.14); box-shadow: 0 14px 35px rgba(0,0,0,0.4); }
.hero-mini-video-card:hover { transform: translateY(-4px) scale(1.03); border-color: var(--accent); box-shadow: 0 18px 40px rgba(124,58,237,0.25); }

.mini-play-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(48,101,161,0.35);
}
.mini-video-info strong { display: block; font-size: 0.88rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.mini-video-info small { font-size: 0.72rem; color: var(--muted); font-weight: 600; }

.hero-wave-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 3; pointer-events: none; }
.hero-wave-divider svg { position: relative; display: block; width: calc(100% + 1.3px); height: 45px; }

.hero-trust-bar {
  display: flex; align-items: center; gap: 1.25rem;
  flex-wrap: wrap; margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(15,23,42,0.12);
}
body.dark-mode .hero-trust-bar { border-top-color: rgba(255,255,255,0.12); }
.hero-trust-bar span { font-size: 0.82rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust-bar i { color: #10b981; font-size: 0.92rem; }

@media (max-width: 991px) { .hero-live-badge { display: none !important; } .hero-mini-video-card { bottom: 2%; right: 0; } }
@media (max-width: 575px) { .hero-mini-video-card { padding: 0.5rem 0.85rem; } .mini-play-btn { width: 34px; height: 34px; font-size: 0.95rem; } }

/* =====================================================================
   CREDIBILITY STRIP (new)
   ===================================================================== */
.credibility-strip {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1.5rem 0;
  overflow: hidden;
}
.credibility-strip .strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.strip-item i { color: var(--accent); font-size: 1rem; }
.strip-divider {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--card-border);
  flex-shrink: 0;
}
@media (max-width: 575px) { .strip-divider { display: none; } }

/* =====================================================================
   SERVICE / EXPERTISE CARDS
   ===================================================================== */
.service-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--accent);
}
.service-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: rgba(26, 86, 219, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; transition: var(--transition);
}
.service-icon img, .service-icon i { width: 32px; height: 32px; object-fit: contain; font-size: 2rem; color: var(--primary); }
.service-card:hover .service-icon { background: var(--grad); }
.service-card:hover .service-icon i { color: #ffffff; }
.service-card h3, .service-card .h4 { color: var(--text) !important; font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.service-card p { font-size: 0.95rem; line-height: 1.6; }

/* =====================================================================
   PORTFOLIO CARDS (new)
   ===================================================================== */
.portfolio-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--accent);
}
.portfolio-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card-img { transform: scale(1.04); }
.portfolio-img-wrap { overflow: hidden; position: relative; }
.portfolio-card-type {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}
.portfolio-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.portfolio-card-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.portfolio-card-body p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.portfolio-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}
.meta-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(26, 86, 219, 0.08);
  color: var(--primary);
  border: 1px solid rgba(26,86,219,0.15);
}

/* =====================================================================
   CASE STUDY PAGE (new)
   ===================================================================== */
/* =====================================================================
   CASE STUDY PAGE HERO (Balanced Muted Brand Gradient)
   ===================================================================== */
.case-study-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #5b21b6 80%, #6b21a8 100%);
  color: #fff;
  padding: 5rem 0 3.8rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 25px rgba(0, 0, 0, 0.2);
}
.case-study-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M50 0v50H0V0h50zM25 0v50M0 25h50' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3Ccircle cx='25' cy='25' r='1.5' fill='rgba(255,255,255,0.15)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 50px 50px;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}
.case-study-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(249, 115, 22, 0.12) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}
.case-study-hero .container { position: relative; z-index: 2; }
.case-study-hero h1 { color: #fff !important; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 850; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.case-study-hero p, .case-study-hero p.lead { color: rgba(255,255,255,0.9) !important; font-size: clamp(1.02rem, 1.7vw, 1.2rem); line-height: 1.68; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }

.cs-meta-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.cs-meta-item { margin-bottom: 1rem; }
.cs-meta-item .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--accent); margin-bottom: 0.2rem; }
.cs-meta-item .value { font-size: 0.95rem; font-weight: 600; color: var(--text); }

.cs-section { padding: 3rem 0; }
.cs-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 1rem; }

.draft-banner {
  background: linear-gradient(90deg, rgba(249,115,22,0.12), rgba(124,58,237,0.12));
  border: 1.5px solid rgba(249,115,22,0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 2rem;
}
.draft-banner i { color: #f97316; font-size: 1.25rem; flex-shrink: 0; }
.draft-banner p { margin: 0; font-size: 0.9rem; font-weight: 500; color: var(--text); }

/* =====================================================================
   VIDEO CARDS
   ===================================================================== */
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-premium); }
.video-wrapper { position: relative; width: 100%; }
.video-wrapper iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.video-card-body { padding: 1.5rem; }
.video-card-body h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }
.video-card-body p { font-size: 0.9rem; margin-bottom: 0; }

/* =====================================================================
   ABOUT / PROFILE
   ===================================================================== */
.profile-img-container {
  position: relative;
  width: 200px; height: 200px;
  margin: 0 auto;
}
.profile-img-container::before {
  content: '';
  position: absolute; top: -8px; left: -8px; right: -8px; bottom: -8px;
  border-radius: 50%;
  background: var(--grad);
  z-index: 1;
}
.profile-img-container img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative; z-index: 2;
  border: 6px solid var(--card-bg);
}
.about-details-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.social-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-links-row a,
.social-links {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--section-alt);
  border: 1px solid var(--card-border);
  color: var(--text) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
  text-decoration: none !important;
  flex-shrink: 0;
}
.social-links-row a:hover,
.social-links:hover {
  background: var(--grad);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}
.testimonial-card i.bi-quote { font-size: 3rem; color: var(--accent); opacity: 0.15; position: absolute; top: 10px; right: 20px; }
.testimonial-card p { font-style: italic; font-size: 1.05rem; margin-bottom: 1.5rem; position: relative; z-index: 2; }
.testimonial-user { display: flex; align-items: center; gap: 1rem; }
.testimonial-user i.bi-person-circle { font-size: 2.5rem; color: var(--muted); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-item {
  background: var(--card-bg);
  border: 1.5px solid rgba(15,23,42,0.12);
  border-radius: var(--radius-md);
  margin-bottom: 1.1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: var(--transition);
}
body.dark-mode .faq-item { border-color: rgba(255,255,255,0.12); }
.faq-item:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(26,86,219,0.12); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.35rem 1.6rem;
  font-size: 1.05rem; font-weight: 700; color: var(--text) !important;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; line-height: 1.4;
}
.faq-question i { transition: transform 0.3s ease; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; margin-left: 1rem; }
.faq-question.open i { transform: rotate(180deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 1.6rem; color: var(--muted); font-size: 0.98rem; line-height: 1.75; }
.faq-answer.open { max-height: 350px; padding: 0 1.6rem 1.35rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-card {
  background: var(--card-bg);
  border: 1.5px solid rgba(15,23,42,0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
@media (max-width: 575.98px) {
  .contact-card {
    padding: 1.35rem 1.15rem;
  }
}
body.dark-mode .contact-card { border-color: rgba(255,255,255,0.12); }
.contact-info-item { 
  display: flex; 
  align-items: flex-start; 
  gap: 0.9rem; 
  font-size: 1rem; 
  color: var(--text);
  word-break: break-word;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(26,86,219,0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
body.dark-mode .contact-info-icon {
  background: rgba(124,58,237,0.15);
  color: var(--accent);
}
.contact-info-item img, .contact-info-item i { flex-shrink: 0; }
.form-control-custom {
  background-color: var(--card-bg);
  border: 1.5px solid rgba(15,23,42,0.14);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem; width: 100%; transition: var(--transition);
}
body.dark-mode .form-control-custom { background-color: #13192b; border-color: rgba(255,255,255,0.14); }
.form-control-custom:focus { background-color: var(--card-bg); border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(26,86,219,0.15); }

/* =====================================================================
   RESUME PAGE (new)
   ===================================================================== */
.resume-embed-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.resume-embed-container iframe { width: 100%; height: 80vh; min-height: 700px; border: 0; display: block; }

/* =====================================================================
   PAGE HERO (Balanced Muted Brand Gradient)
   ===================================================================== */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #5b21b6 80%, #6b21a8 100%);
  padding: 5rem 0 4rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 25px rgba(0, 0, 0, 0.2);
}

/* Subtle Geometric Vector Grid Overlay */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M50 0v50H0V0h50zM25 0v50M0 25h50' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3Ccircle cx='25' cy='25' r='1.5' fill='rgba(255,255,255,0.15)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 50px 50px;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

/* Muted Ambient Light Orb */
.page-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(249, 115, 22, 0.12) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #ffffff !important;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-hero p, .page-hero p.lead {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.7;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 1.15rem;
}
.page-breadcrumb a { color: rgba(255, 255, 255, 0.92); text-decoration: none; transition: var(--transition); }
.page-breadcrumb a:hover { color: #ffffff; text-decoration: underline; }
.page-breadcrumb i { font-size: 0.7rem; opacity: 0.75; }

/* =====================================================================
   EXPERTISE PAGE (new)
   ===================================================================== */
/* =====================================================================
   EXPERTISE PAGE STYLES
   ===================================================================== */
.expertise-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}
.expertise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); border-color: var(--accent); }
.expertise-card .expertise-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem; color: var(--accent);
  transition: var(--transition);
}
body.dark-mode .expertise-card .expertise-icon {
  background: rgba(124, 58, 237, 0.28);
  color: #c4b5fd;
}
.expertise-card:hover .expertise-icon { background: var(--grad); color: #fff !important; }
.expertise-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.expertise-card ul { list-style: none; padding: 0; margin: 0; }
.expertise-card ul li { font-size: 0.9rem; color: var(--muted); padding: 0.25rem 0; display: flex; align-items: center; gap: 0.5rem; }
.expertise-card ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.tools-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tool-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.tool-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.tool-chip i { color: var(--primary); font-size: 0.95rem; }
body.dark-mode .tool-chip i { color: #60a5fa; }

/* Philosophy cards & Quote */
.philosophy-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.philosophy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-premium); border-color: var(--accent); }
.philosophy-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent);
  flex-shrink: 0; transition: var(--transition);
  position: relative; z-index: 2;
}
.philosophy-card-icon i {
  position: relative; z-index: 5;
  color: var(--accent) !important;
  font-size: 1.5rem !important;
  opacity: 1 !important;
  display: inline-block !important;
}
body.dark-mode .philosophy-card-icon {
  background: rgba(124, 58, 237, 0.28);
  color: #c4b5fd;
}
body.dark-mode .philosophy-card-icon i {
  color: #c4b5fd !important;
}
.philosophy-card:hover .philosophy-card-icon { background: var(--grad); }
.philosophy-card:hover .philosophy-card-icon i { color: #fff !important; }
.philosophy-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.philosophy-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* Timeline dots & icons */
.timeline-dot {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #7c3aed 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px var(--bg), 0 6px 20px rgba(37, 99, 235, 0.35);
  margin-bottom: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; z-index: 3; flex-shrink: 0;
}
.timeline-dot i {
  color: #ffffff !important;
  font-size: 1.45rem !important;
  line-height: 1 !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 5 !important;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.18);
  box-shadow: 0 0 0 4px var(--bg), 0 10px 28px rgba(124, 58, 237, 0.55);
}

/* =====================================================================
   FLOATING WIDGETS
   ===================================================================== */
.toggleIcon {
  width: 3.2rem; height: 3.2rem;
  position: fixed; bottom: 2rem; left: 2rem;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 1000;
  box-shadow: var(--shadow-md); transition: var(--transition);
}
.toggleIcon:hover { transform: scale(1.1) rotate(15deg); box-shadow: var(--shadow-lg); }
.toggleIcon img { width: 26px; height: 26px; object-fit: contain; transition: transform 0.3s ease; }
body.dark-mode .toggleIcon { background-color: #1e293b !important; border: 1.5px solid rgba(255,255,255,0.25) !important; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
body.dark-mode .toggleIcon img { filter: brightness(0) invert(1) !important; }

.scroll-top {
  width: 3.2rem; height: 3.2rem;
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--grad); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  color: #ffffff; font-size: 1.25rem; text-decoration: none;
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); color: #ffffff !important; box-shadow: 0 6px 18px rgba(124,58,237,0.45); }

.chat-bubble {
  position: fixed; bottom: 2rem; right: 6.2rem;
  background: #25D366; color: white;
  border-radius: 50%; width: 3.2rem; height: 3.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer; z-index: 999;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3); transition: var(--transition);
}
.chat-bubble:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.45); }

.chat-popup {
  position: fixed; bottom: 6.2rem; right: 6.2rem;
  width: 320px; background: var(--card-bg);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-premium);
  z-index: 999; border: 1px solid var(--card-border);
  overflow: hidden; display: none;
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.chat-popup.open { display: block; }
.chat-header { background: var(--grad); color: white; padding: 1.25rem; }
.chat-body { padding: 1.25rem; }
.chat-messages { max-height: 180px; overflow-y: auto; margin-bottom: 1rem; }
.chat-msg { background: var(--section-alt); border-radius: var(--radius-md); padding: 0.75rem 1rem; font-size: 0.88rem; margin-bottom: 0.75rem; color: var(--text); line-height: 1.5; }
.chat-input-row { display: flex; gap: 0.5rem; }
.chat-input { flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-size: 0.88rem; background: var(--bg); color: var(--text); }
.chat-input:focus { outline: none; border-color: var(--primary); }
.chat-send { background: var(--grad); color: white; border: none; border-radius: var(--radius-sm); padding: 0.5rem 1rem; cursor: pointer; transition: var(--transition); }
.chat-send:hover { background: var(--grad-hover); }

@media (max-width: 575.98px) {
  .chat-popup { right: 2rem; left: 2rem; width: auto; bottom: 6.2rem; }
  .chat-bubble { right: 2rem; }
}

/* =====================================================================
   FOOTER (100% Viewport Responsive)
   ===================================================================== */
footer {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  padding: 2.25rem 0 1.75rem;
}
footer .footer-brand { 
  font-weight: 700; 
  font-size: 1.25rem; 
  color: var(--text); 
}
footer .footer-tagline { 
  font-size: 0.85rem; 
  color: var(--muted); 
}
footer a { 
  color: var(--muted); 
  text-decoration: none; 
  font-size: 0.88rem; 
  font-weight: 500; 
  transition: var(--transition); 
}
footer a:hover { 
  color: var(--accent); 
}
.footer-nav { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 0.65rem 1.35rem; 
}
.social-links {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--section-alt);
  border: 1px solid var(--card-border);
  color: var(--muted) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
}
.social-links:hover {
  background: var(--grad);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  footer {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
  }
  footer .col-md-4 {
    margin-bottom: 1.25rem;
  }
  footer .col-md-4:last-child {
    margin-bottom: 0;
  }
  .footer-nav {
    gap: 0.6rem 1rem;
    margin: 0.5rem 0;
  }
}

/* =====================================================================
   COMPREHENSIVE RESPONSIVE ADAPTATIONS
   ===================================================================== */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  width: 100%;
}

img, iframe, svg, video {
  max-width: 100%;
}

/* Touch friendly minimum click areas & focus bounds */
a, button, input, select, textarea {
  touch-action: manipulation;
}

@media (max-width: 1199.98px) {
  .container, .container-fluid { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-heading { font-size: clamp(2rem, 4vw, 3.2rem); }
}

@media (max-width: 991.98px) {
  .hero-actions { justify-content: flex-start; gap: 0.85rem; }
  .hero-trust-bar { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
  .about-details-card { padding: 1.75rem; }
  .resume-embed-container iframe { height: 60vh; min-height: 500px; }
  .navbar-collapse {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    border: 1px solid var(--card-border);
  }
}

@media (min-width: 768px) {
  .credibility-strip {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  #home { padding: 2rem 0; }
  .hero-trust-bar { display: none !important; }
  .hero-heading { font-size: clamp(1.85rem, 5vw, 2.5rem); }
  .hero-desc { font-size: 1rem; line-height: 1.7; }
  .hero-actions { width: 100%; }
  .hero-actions a, .hero-actions button { flex: 1 1 auto; text-align: center; justify-content: center; }
  .credibility-strip { padding: 1.5rem 0; }
  .cred-badge { font-size: 0.85rem; padding: 0.5rem 0.9rem; }
  .expertise-card { padding: 1.5rem; }
  .resume-embed-container iframe { height: 50vh; min-height: 400px; }
}

@media (max-width: 575.98px) {
  .container-fluid, .container { padding-left: 1rem !important; padding-right: 1rem !important; }
  .hero-heading { font-size: 1.75rem; line-height: 1.2; }
  .hero-badge { font-size: 0.8rem; padding: 0.35rem 0.9rem; }
  .hero-live-badge { top: -15px; left: 5px; font-size: 0.75rem; padding: 0.4rem 0.8rem; }
  .hero-mini-video-card { bottom: 15px; right: 5px; padding: 0.5rem 0.8rem; }
  .toggleIcon { width: 2.8rem; height: 2.8rem; bottom: 1.2rem; left: 1.2rem; }
  .scroll-top { width: 2.8rem; height: 2.8rem; bottom: 1.2rem; right: 1.2rem; }
  .chat-bubble { width: 2.8rem; height: 2.8rem; bottom: 1.2rem; right: 4.6rem; font-size: 1.3rem; }
  .chat-popup { right: 1.2rem; left: 1.2rem; width: auto; bottom: 4.6rem; }
}

@media (max-width: 380px) {
  .hero-heading { font-size: 1.55rem; }
  .hero-btn-primary, .hero-btn-secondary { padding: 0.8rem 1.4rem; font-size: 0.88rem; width: 100%; }
}

/* =====================================================================
   INTERACTIVE PORTFOLIO IMAGE PREVIEW & LIGHTBOX SYSTEM
   ===================================================================== */
.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.portfolio-img-wrap .preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.portfolio-img-wrap:hover .preview-overlay {
  opacity: 1;
}
.preview-btn-icon {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.preview-btn-icon:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.06);
}

.zoomable-img {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.zoomable-img:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}
.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-dialog {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}
.lightbox-caption-wrap {
  margin-top: 1rem;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
}
.lightbox-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.lightbox-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}
.lightbox-counter {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.3rem;
}
.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
  z-index: 10001;
}
.lightbox-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}
.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}
.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}
.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Portfolio Filter Buttons */
.portfolio-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.portfolio-filter-btn {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--card-border);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.portfolio-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.portfolio-filter-btn.active {
  background: var(--grad);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.25);
}

/* Responsive adjustments for Lightbox & Touch Viewports */
@media (hover: none) {
  /* On touch screens, show a subtle preview badge overlay so mobile visitors know images are interactive */
  .portfolio-img-wrap .preview-overlay {
    opacity: 0.85;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 60%);
    align-items: flex-end;
    padding-bottom: 0.75rem;
  }
  .preview-btn-icon {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }
}

@media (max-width: 767.98px) {
  .lightbox-modal {
    padding: 1rem 0.75rem;
  }
  .lightbox-btn { 
    width: 40px; 
    height: 40px; 
    font-size: 1.1rem; 
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.35);
  }
  .lightbox-close { 
    top: 0.85rem; 
    right: 0.85rem; 
  }
  .lightbox-prev { 
    left: 0.4rem; 
  }
  .lightbox-next { 
    right: 0.4rem; 
  }
  .lightbox-img { 
    max-height: 60vh; 
    max-width: 94vw; 
  }
  .lightbox-title { 
    font-size: 0.98rem; 
  }
  .lightbox-desc { 
    font-size: 0.78rem; 
    line-height: 1.4;
  }
  .portfolio-card-body {
    padding: 1.15rem;
  }
  .portfolio-filter-nav {
    gap: 0.35rem;
    margin-bottom: 1.75rem;
  }
  .portfolio-filter-btn {
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .portfolio-card-img {
    aspect-ratio: 16 / 10;
  }
  .lightbox-dialog {
    max-width: 98vw;
  }
  .lightbox-img {
    max-height: 55vh;
  }
  .lightbox-prev, .lightbox-next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
  .lightbox-prev { left: 1.5rem; }
  .lightbox-next { right: 1.5rem; }
  .lightbox-prev:hover { transform: scale(1.1); }
  .lightbox-next:hover { transform: scale(1.1); }
}



