/* ==========================================================================
   PRASHANT SRIVASTAVA - DIGITAL MARKETING PORTFOLIO
   Color Theme: Navy Blue, White, Light Blue & Purple Accent
   Fonts: Outfit (Headings) & Plus Jakarta Sans (Body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Reset & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --navy-primary: #0a1128;
  --navy-dark: #060b1b;
  --navy-surface: #0f1c3f;
  --navy-light: #1c2b53;
  --navy-border: #243666;

  --purple-primary: #7c3aed;
  --purple-light: #9333ea;
  --purple-soft: #f3e8ff;
  --purple-glow: rgba(124, 58, 237, 0.25);
  --purple-gradient: linear-gradient(135deg, #7c3aed 0%, #38bdf8 100%);
  --hero-gradient: linear-gradient(135deg, #0a1128 0%, #151e3f 50%, #1a1040 100%);

  --blue-sky: #38bdf8;
  --blue-primary: #0284c7;
  --blue-dark: #0369a1;
  --blue-soft: #e0f2fe;
  --blue-glow: rgba(56, 189, 248, 0.25);

  --text-white: #ffffff;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  --text-navy-muted: #94a3b8;
  --text-dark: #0f172a;
  --text-body: #334155;

  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-surface: #f1f5f9;
  --border-light: #e2e8f0;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 4px rgba(10, 17, 40, 0.05);
  --shadow-md: 0 6px 18px rgba(10, 17, 40, 0.08);
  --shadow-lg: 0 12px 30px rgba(10, 17, 40, 0.12);
  --shadow-xl: 0 20px 45px rgba(10, 17, 40, 0.16);
  --shadow-glow: 0 0 25px rgba(124, 58, 237, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   2. Typography & Common Elements
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--navy-primary);
  color: var(--text-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-white);
}

.section-dark p {
  color: var(--text-navy-muted);
}

.section-surface {
  background-color: var(--bg-surface);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple-primary);
  background: var(--purple-soft);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-dark .section-tag {
  color: var(--blue-sky);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--text-navy-muted);
}

.gradient-text {
  background: var(--purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   3. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: var(--purple-primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--purple-glow);
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  color: var(--text-white);
}

.btn-secondary {
  background: var(--navy-primary);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--purple-primary);
  color: var(--purple-primary);
  background: var(--purple-soft);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--blue-sky);
  color: var(--blue-sky);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sample {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-tool {
  background: var(--bg-surface);
  color: var(--navy-light);
  border: 1px solid var(--border-light);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   4. Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 17, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  border: 1.5px solid rgba(212, 168, 87, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 12px rgba(212, 168, 87, 0.25);
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-badge {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(212, 168, 87, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-role {
  color: var(--blue-sky);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-navy-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-sky);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background: var(--navy-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-xl);
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
  animation: slideDown 0.3s ease forwards;
}

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

.mobile-nav .nav-link {
  font-size: 1.1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav .nav-link:last-of-type {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   5. Hero Section (Home)
   -------------------------------------------------------------------------- */
.hero-section {
  background: var(--hero-gradient);
  color: var(--text-white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--blue-sky);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.hero-role {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--blue-sky);
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  border-left: 3px solid var(--purple-primary);
  padding-left: 1rem;
}

.hero-intro {
  font-size: 1.05rem;
  color: var(--text-navy-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 1.75rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-navy-muted);
}

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

.hero-profile-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.profile-img-container {
  width: 220px;
  height: 220px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 6px;
  background: var(--purple-gradient);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  background: var(--navy-surface);
}

.floating-pill {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: float 4s ease-in-out infinite;
}

.floating-pill.pill-seo {
  top: 15%;
  left: -20px;
  border-color: rgba(56, 189, 248, 0.4);
}

.floating-pill.pill-ads {
  bottom: 25%;
  right: -25px;
  animation-delay: 2s;
  border-color: rgba(124, 58, 237, 0.4);
}

.floating-pill.pill-analytics {
  bottom: -15px;
  left: 20px;
  animation-delay: 1s;
  border-color: rgba(34, 197, 94, 0.4);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.profile-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  font-size: 0.85rem;
  color: var(--text-navy-muted);
}

.profile-card-footer span i {
  color: var(--blue-sky);
  margin-right: 0.35rem;
}

/* --------------------------------------------------------------------------
   6. Page Banner (About, Services, Portfolio, Contact)
   -------------------------------------------------------------------------- */
.page-banner {
  background: var(--hero-gradient);
  color: var(--text-white);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-banner-title {
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.page-banner-lead {
  font-size: 1.15rem;
  color: var(--text-navy-muted);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-navy-muted);
}

.breadcrumb-nav a {
  color: var(--blue-sky);
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   7. Feature / Pillar Cards
   -------------------------------------------------------------------------- */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 58, 237, 0.3);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--purple-soft);
  color: var(--purple-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.feature-card:hover .card-icon {
  background: var(--purple-gradient);
  color: var(--text-white);
  box-shadow: var(--shadow-glow);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   8. Services Cards (Services Page)
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--purple-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(56, 189, 248, 0.4);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--purple-gradient);
  color: var(--text-white);
  box-shadow: 0 8px 20px var(--purple-glow);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features-list {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.service-feature-item i {
  color: #10b981;
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   9. Portfolio Cards & Filter (Portfolio Page)
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--purple-primary);
  color: var(--purple-primary);
}

.filter-btn.active {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.portfolio-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(124, 58, 237, 0.3);
}

.portfolio-thumb {
  position: relative;
  height: 220px;
  background: var(--navy-surface);
  overflow: hidden;
}

.portfolio-thumb img,
.portfolio-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb img,
.portfolio-card:hover .portfolio-thumb svg {
  transform: scale(1.05);
}

.portfolio-tag-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.portfolio-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.portfolio-summary {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.tools-used-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.portfolio-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   10. Project Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--navy-primary);
  color: var(--text-white);
}

.modal-header {
  padding: 2.25rem 2.25rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-body {
  padding: 2rem 2.25rem;
}

.modal-section {
  margin-bottom: 1.75rem;
}

.modal-section h4 {
  color: var(--navy-primary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section h4 i {
  color: var(--purple-primary);
}

.modal-section p, .modal-section ul {
  font-size: 0.95rem;
  color: var(--text-body);
}

.modal-section ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.modal-section ul li {
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   11. About Page Styles (Timeline & Skill Matrix)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-card-sticky {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.about-card-sticky .profile-img-container {
  width: 180px;
  height: 180px;
}

.about-info-list {
  margin: 1.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
}

.about-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  color: var(--text-body);
}

.about-info-item:last-child {
  margin-bottom: 0;
}

.about-info-item i {
  color: var(--purple-primary);
  width: 20px;
  text-align: center;
}

.skills-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.skill-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.skill-box:hover {
  border-color: var(--purple-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.skill-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.skill-box-header i {
  font-size: 1.5rem;
  color: var(--purple-primary);
}

.skill-box h4 {
  font-size: 1.05rem;
}

.skill-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.skill-level-bar {
  height: 6px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.skill-level-fill {
  height: 100%;
  background: var(--purple-gradient);
  border-radius: var(--radius-full);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 7px;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple-primary);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--purple-primary);
}

.timeline-content {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.timeline-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.92rem;
  color: var(--blue-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. Contact Page Styles
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-card-info {
  background: var(--navy-primary);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-card-info::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-card-info h3 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.contact-card-info p {
  color: var(--text-navy-muted);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-sky);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-method-text h5 {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-method-text a,
.contact-method-text span {
  color: var(--text-navy-muted);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.contact-method-text a:hover {
  color: var(--blue-sky);
}

.social-links-row {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
  margin-bottom: 0.5rem;
}

.contact-form-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--purple-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-error-msg {
  color: #ef4444;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  display: none;
}

.form-control.invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-control.invalid + .form-error-msg {
  display: block;
}

.form-status-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  display: none;
}

.form-status-alert.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  display: block;
}

/* --------------------------------------------------------------------------
   13. Call-to-Action Banner (Reusable)
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--navy-primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-navy-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: var(--text-white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-desc {
  color: var(--text-navy-muted);
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-navy-muted);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--blue-sky);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-navy-muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item i {
  color: var(--blue-sky);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-navy-muted);
}

.footer-bottom a {
  color: var(--blue-sky);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 990;
}

.floating-whatsapp {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-bounce);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.floating-scroll-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  margin: 0 auto;
}

.floating-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.floating-scroll-top:hover {
  background: var(--purple-primary);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   15. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-tagline {
    border-left: none;
    padding-left: 0;
  }

  .hero-intro {
    margin: 0 auto 2rem;
  }

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

  .hero-stats-row {
    max-width: 450px;
    margin: 0 auto;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-cta .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cards-grid-3,
  .cards-grid-2,
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .contact-card-info,
  .contact-form-box {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-img-container {
    width: 180px;
    height: 180px;
  }

  .floating-pill {
    display: none;
  }

  .filter-tabs {
    gap: 0.4rem;
  }

  .filter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
  }
}
