/* ==========================================================================
   Ritu Raj (Raj Gamer) — Clean Human-Crafted Editorial Design System
   ========================================================================== */

:root {
  /* Clean Dark Architecture Palette */
  --bg-page: #090a0f;
  --bg-card: rgba(18, 20, 29, 0.72);
  --bg-card-hover: rgba(24, 27, 39, 0.88);
  --bg-nested: rgba(255, 255, 255, 0.03);
  
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-active: rgba(255, 255, 255, 0.18);
  
  --text-pure: #ffffff;
  --text-body: #c8d1dc;
  --text-muted: #828e9e;
  --text-dark: #4b5563;
  
  --brand-red: #ff2a55;
  --brand-red-hover: #e01e47;
  --brand-green: #10b981;
  --brand-blue: #3b82f6;

  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
}

body.human-site {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* 3D WebGL Canvas Layer */
#canvas-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Background Grid Overlay */
.subtle-grid-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--brand-red);
}

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

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

.brand-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-red);
}

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

.nav-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.06);
}

.btn-yt-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-yt-nav i {
  width: 16px;
  height: 16px;
}

.btn-yt-nav:hover {
  background: var(--brand-red-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.hero-section {
  padding-top: 60px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 56px 48px;
}

.hero-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-body);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--text-pure);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.text-highlight {
  color: var(--brand-red);
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 820px;
  margin-bottom: 36px;
}

.hero-description strong {
  color: var(--text-pure);
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease-smooth);
}

.btn i {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--text-pure);
  color: #000000;
}

.btn-primary:hover {
  background: var(--brand-red);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-active);
  background: rgba(255, 255, 255, 0.1);
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 36px;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-plus {
  color: var(--brand-red);
  font-size: 1.8rem;
  margin-left: 2px;
}

.stat-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-pure);
  margin-bottom: 2px;
}

.stat-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Title Box
   ========================================================================== */
.section-title-box {
  margin-bottom: 40px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-pure);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
}

/* ==========================================================================
   Media Grid & Social Cards
   ========================================================================== */
.media-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}

.media-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
}

.yt-feature-card {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.yt-creator-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.yt-profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--brand-red);
}

.yt-title-verified {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-title-verified h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-pure);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-green);
  padding: 2px 8px;
  border-radius: 4px;
}

.verified-badge i {
  width: 12px;
  height: 12px;
}

.yt-handle-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-yt-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
}

.btn-yt-red:hover {
  background: #cc0000;
}

.yt-highlights-table {
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.highlight-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.highlight-name {
  color: var(--text-muted);
}

.highlight-val {
  color: var(--text-pure);
  font-weight: 600;
}

.red-text {
  color: var(--brand-red);
}

.link-val a {
  color: var(--text-pure);
  text-decoration: underline;
}

.yt-bio-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-full-yt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-red);
  color: #ffffff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-full-yt:hover {
  background: var(--brand-red-hover);
}

/* Social Mini Boxes */
.social-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-box-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.svg-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.social-svg-logo {
  width: 100%;
  height: 100%;
  display: block;
}

.social-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.social-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-pure);
}

.social-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-insta-real {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn-insta-real:hover {
  opacity: 0.9;
}

.btn-discord-real {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #5865F2;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-discord-real:hover {
  background: #4752c4;
}

/* ==========================================================================
   Two-Column Grid (Education & Skills)
   ========================================================================== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
}

.box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.box-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-red);
  font-weight: 600;
}

.box-year {
  font-size: 0.75rem;
  color: var(--brand-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.box-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.box-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 16px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-pure);
  margin-bottom: 20px;
}

.spec-pill i {
  color: var(--brand-red);
  width: 16px;
  height: 16px;
}

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

.skills-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.skill-mini-card {
  background: var(--bg-nested);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
}

.skill-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.skill-mini-head strong {
  color: var(--text-pure);
  font-size: 0.95rem;
}

.skill-level {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-green);
}

.skill-mini-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bullet-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--text-body);
  font-weight: 500;
}

/* ==========================================================================
   Certifications Grid
   ========================================================================== */
.cert-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.cert-img-box {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: #ffffff;
  overflow: hidden;
}

.cert-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cert-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cert-card:hover .cert-zoom-overlay {
  opacity: 1;
}

.cert-zoom-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #000000;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.cert-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-red);
  margin-bottom: 6px;
}

.cert-details h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.cert-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.cert-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dark);
}

.cert-footer-meta code {
  color: var(--text-body);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-avatar-photo {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.about-badge-tag {
  background: var(--bg-nested);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 6px;
  text-align: center;
  width: 100%;
}

.about-badge-tag strong {
  display: block;
  color: var(--text-pure);
  font-size: 0.95rem;
}

.about-badge-tag span {
  font-size: 0.78rem;
  color: var(--brand-red);
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-pure);
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  margin-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-item i {
  color: var(--brand-red);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-pure);
}

.highlight-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 48px;
}

.contact-header-block {
  margin-bottom: 36px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.contact-two-columns {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row-card {
  background: var(--bg-nested);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #181a26;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  flex-shrink: 0;
}

.yt-red-icon {
  background: rgba(255, 0, 0, 0.15);
  color: #ff3333;
}

.contact-row-body {
  flex-grow: 1;
}

.contact-type {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-pure);
  text-decoration: none;
}

.btn-copy-mini, .btn-ext-mini {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-copy-mini:hover, .btn-ext-mini:hover {
  background: var(--text-pure);
  color: #000000;
}

.social-quick-pills {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-pill-link {
  flex: 1;
  background: var(--bg-nested);
  border: 1px solid var(--border-subtle);
  padding: 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-pill-link i {
  width: 14px;
  height: 14px;
}

.social-pill-link:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* Contact Form */
.clean-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-field input, .form-field textarea {
  background: var(--bg-nested);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-pure);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field input:focus, .form-field textarea:focus {
  border-color: var(--brand-red);
}

.btn-send-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-red);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-send-message i {
  width: 16px;
  height: 16px;
}

.btn-send-message:hover {
  background: var(--brand-red-hover);
}

.form-result-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
  position: relative;
  z-index: 10;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dark);
}

.footer-top-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-top-link:hover {
  color: var(--text-pure);
}

/* ==========================================================================
   Certificate Lightbox Modal
   ========================================================================== */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cert-modal.active {
  display: flex;
}

.modal-backdrop-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 9, 0.85);
  backdrop-filter: blur(16px);
}

.modal-card {
  position: relative;
  z-index: 10;
  background: #10121a;
  border: 1px solid var(--border-active);
  border-radius: 12px;
  max-width: 920px;
  width: 100%;
  overflow: hidden;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.modal-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
}

.modal-img-wrap {
  background: #ffffff;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.modal-info-side {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-subtle);
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-green);
  margin-bottom: 8px;
}

.modal-info-side h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.modal-issuer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-data-box {
  background: var(--bg-nested);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-data-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.data-label { color: var(--text-muted); }
.data-val-id { font-family: var(--font-mono); color: var(--brand-red); }

.btn-verify-guvi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text-pure);
  color: #000000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
}

.btn-verify-guvi:hover {
  background: var(--brand-red);
  color: #ffffff;
}

/* Header Right Actions & Mobile Hamburger */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-toggle i {
  width: 20px;
  height: 20px;
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  background: #0d0e14;
  border-top: 1px solid var(--border-subtle);
  padding: 16px 24px;
  gap: 8px;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-item {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-pure);
}

/* Touch Input iOS Optimization */
input, textarea, select, button {
  font-size: 16px !important; /* Prevents auto-zoom on iPhone Safari */
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (PC, Tablets, Android, iPhone)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-main-title {
    font-size: 3.2rem;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
  }
  .cert-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-card {
    grid-template-columns: 1fr;
  }
  .about-left-col {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-card {
    padding: 36px 24px;
  }
  .hero-main-title {
    font-size: 2.6rem;
  }
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .stats-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cert-cards-grid {
    grid-template-columns: 1fr;
  }
  .modal-layout {
    grid-template-columns: 1fr;
  }
  .modal-img-wrap {
    padding: 16px;
  }
  .modal-info-side {
    padding: 24px;
  }
  .contact-two-columns {
    grid-template-columns: 1fr;
  }
  .form-row-half {
    grid-template-columns: 1fr;
  }
  .about-highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 60px 0;
  }
  .hero-section {
    padding-top: 40px;
  }
  .hero-card {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .hero-top-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-main-title {
    font-size: 2.1rem;
    letter-spacing: -0.8px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .media-card, .info-box, .about-card, .contact-box {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .yt-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .btn-yt-red {
    width: 100%;
    justify-content: center;
  }
  .highlight-row {
    flex-direction: column;
    gap: 4px;
  }
  .social-quick-pills {
    flex-direction: column;
  }
  .brand-name {
    font-size: 1rem;
  }
  .btn-yt-nav span {
    display: none;
  }
}
