/* ==========================================================================
   SAYEM ARAFAT - PERSONAL PORTFOLIO STYLESHEET
   Design Language: Deep Navy Blue (#000080), Clean White, Modern Minimal
   ========================================================================== */

:root {
  --primary: #000080;
  --primary-dark: #000055;
  --primary-subtle: #EEF2FF;
  --accent: #2563EB;
  --accent-light: #60A5FA;
  --accent-subtle: #EFF6FF;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  
  --bg-white: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-dark: #0B1120;
  
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 80, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 80, 0.06);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 80, 0.08);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 80, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

.section {
  padding: 90px 0;
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 128, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 128, 0.35);
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--border-medium);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.sayem-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.sayem-nav.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

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

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 135px;
  padding-bottom: 80px;
  background: radial-gradient(100% 60% at 50% 0%, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
}

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-subtle);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-name-title {
  font-size: 3rem;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.1;
}

.hero-tagline-sub {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-mission-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-headline {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-mission-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-bio {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Hero Portrait Card */
.hero-visual-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--primary-subtle);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-visual-card:hover .hero-img-wrap img {
  transform: scale(1.03);
}

.hero-visual-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: rgba(0, 0, 128, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.hero-badge-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Stat Strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}

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

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   About Me
   -------------------------------------------------------------------------- */
.about-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-focus-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.focus-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.focus-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.focus-pill:hover {
  background: #FFFFFF;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.focus-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* Education Card */
.education-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.edu-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.edu-title {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.edu-meta {
  font-size: 0.95rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 10px;
}

.edu-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Experience & Leadership Timeline
   -------------------------------------------------------------------------- */
.timeline-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
}

.timeline-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.timeline-org {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
}

.timeline-badge-year {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.timeline-role-tag {
  display: inline-block;
  font-weight: 700;
  color: var(--text-main);
  background: var(--primary-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.timeline-subhead {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.timeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
}

.pill-tag {
  font-size: 0.775rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   Projects & Initiatives
   -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-lg);
}

.project-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--primary-subtle);
  color: var(--primary);
  margin-bottom: 16px;
}

.project-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.project-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.project-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-highlights-box {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--border-light);
}

.project-highlights-box h5 {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.project-highlights-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-highlights-box li {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-highlights-box li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.project-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
}

.project-footer-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   International Experience Grid
   -------------------------------------------------------------------------- */
.intl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.intl-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.intl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.intl-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intl-title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.intl-org {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.intl-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Leadership Philosophy
   -------------------------------------------------------------------------- */
.philosophy-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
  text-align: center;
}

.philosophy-quote-mark {
  color: var(--accent-light);
  margin-bottom: 12px;
}

.philosophy-quote-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  max-width: 860px;
  margin: 0 auto 16px auto;
  font-style: italic;
}

.philosophy-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.principle-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.principle-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.principle-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.principle-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.principle-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Skills & Expertise Grid
   -------------------------------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.skill-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.skill-chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.skill-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skill-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Contact & Collaboration Hub
   -------------------------------------------------------------------------- */
.contact-hub {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-intro-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 36px auto;
  text-align: center;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.channel-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-fast);
}

.channel-card:hover {
  background: #FFFFFF;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.channel-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.channel-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  word-break: break-all;
}

.channel-link {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.contact-location-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--primary-subtle);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Footer & Developer Bar
   -------------------------------------------------------------------------- */
.sayem-footer {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: 60px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-sayem-title {
  font-size: 1.3rem;
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-sayem-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Dedicated Red Developer Strip (Clean, Uniform Text, No bold, No underline) */
.dev-footer-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #DC2626;
  color: #FFFFFF;
  text-decoration: none !important;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background-color 0.25s ease;
  position: relative;
  z-index: 50;
}

.dev-footer-strip:hover {
  background: #B91C1C;
  color: #FFFFFF !important;
}

.dev-strip-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-align: center;
}

.dev-strip-text {
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none !important;
}

.dev-strip-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
  flex-shrink: 0;
}

.dev-footer-strip:hover .dev-strip-arrow {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   INTERACTIVE DEVELOPER AD POPUP / PROMO CARD (MODERN CORNER WIDGET)
   ========================================================================== */
.dev-ad-card {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 128, 0.12);
  border-top: 4px solid #DC2626;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 80, 0.22), 0 0 0 1px rgba(220, 38, 38, 0.08);
  padding: 22px 20px 18px 20px;
  z-index: 998;
  transform: translateY(140%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.dev-ad-card.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.dev-ad-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dev-ad-close:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.dev-ad-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.dev-ad-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: devPulseRed 1.8s infinite ease-in-out;
}

@keyframes devPulseRed {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

.dev-ad-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.dev-ad-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.dev-ad-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

.dev-ad-name {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.25;
}

.dev-ad-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.dev-ad-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  text-decoration: none !important;
  transition: all var(--transition-fast);
}

.dev-ad-cta-btn:hover {
  background: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.5);
  color: #FFFFFF !important;
}

/* Minimized floating reopen pill */
.dev-ad-reopen-pill {
  position: fixed;
  bottom: 26px;
  left: 26px;
  background: #FFFFFF;
  color: #DC2626;
  border: 1.5px solid #EF4444;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 997;
  cursor: pointer;
  transition: all var(--transition-fast);
  animation: fadeInPill 0.3s ease;
}

.dev-ad-reopen-pill:hover {
  background: #FEF2F2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.25);
}

@keyframes fadeInPill {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual-card {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  
  .hero-name-title {
    font-size: 2.3rem;
  }
  
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item:nth-child(2)::after {
    display: none;
  }
  
  .intl-grid {
    grid-template-columns: 1fr;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .education-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .edu-icon-box {
    margin: 0 auto;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    display: none;
  }
  
  .nav-menu.is-open {
    display: flex;
  }
  
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .stat-strip {
    grid-template-columns: 1fr;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .about-card,
  .philosophy-card,
  .contact-hub {
    padding: 28px 20px;
  }
}
