/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  --brand1: #00376C;
  --brand2: #80C2FF;
  --base2: #3D7EE0;
  --base3: #0274A9;
  --text-light: #FAF8F3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Alexandria', sans-serif;
  direction: rtl;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

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

/* ========================================
   Container & Layout
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

.section-padding {
  padding: 64px 0;
}

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

.text-center { text-align: center; }
.text-center-lg-right { text-align: center; }
@media (min-width: 1024px) {
  .text-center-lg-right { text-align: right; }
}

.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.mb-xl { margin-bottom: 64px; }
.mt-xl { margin-top: 64px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 640px; }
.max-w-2xl { max-width: 672px; }

/* ========================================
   Grid System
   ======================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.gap-sm { gap: 20px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 32px; }

.flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 640px) {
  .flex-center {
    flex-direction: row;
    justify-content: center;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary,
.btn-secondary,
.btn-tertiary {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Alexandria', sans-serif;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: none;
  text-align: center;
  min-width: 160px;
}

.btn-primary {
  background: var(--brand1);
  color: white;
  border: 1px solid var(--brand1);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-secondary {
  background: transparent;
  color: var(--base2);
  border: 2px solid var(--base2);
}
.btn-secondary:hover {
  background: var(--base2);
  color: white;
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

.btn-tertiary {
  background: transparent;
  color: white;
  border: 1px solid white;
}
.btn-tertiary:hover {
  background: white;
  color: var(--base2);
  transform: translateY(-2px) scale(1.03);
}
.btn-tertiary:active {
  transform: translateY(0) scale(0.97);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  min-width: auto;
}

/* ========================================
   Gradient Sections
   ======================================== */
.gradient-hero {
  background-image: linear-gradient(0deg, rgba(255,255,255,0.5) 0%, rgb(61,126,224) 100%);
  padding: 64px 0;
}
@media (min-width: 768px) {
  .gradient-hero { padding: 96px 0; }
}
@media (min-width: 1024px) {
  .gradient-hero { padding: 128px 0; }
}

.gradient-portfolio {
  background-image: linear-gradient(180deg, #FFFFFF 0%, #3D7EE0 100%);
}

.gradient-about {
  background: #3D7EE0;
}

.gradient-channels {
  background-color: #3D7EE0;
  background-image: linear-gradient(180deg, #3D7EE0 0%, #80C2FF 100%);
  position: relative;
  z-index: 1;
}

.gradient-ads {
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #80C2FF 0%, #FFFFFF 100%);
  position: relative;
  z-index: 1;
}

.gradient-cta {
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #3D7EE0 100%);
  position: relative;
  z-index: 1;
}

/* ========================================
   Text Colors
   ======================================== */
.blue-text { color: rgb(2, 116, 169); }
.blue-text-light { color: rgb(2, 116, 169); }
.text-white { color: white; }
.text-white-muted { color: rgba(255,255,255,0.75); }
.highlight { color: var(--brand1); }

/* ========================================
   Header
   ======================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .header-inner { height: 80px; }
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(255,255,255,0.2));
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}

.desktop-nav button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Alexandria', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
.desktop-nav button:hover {
  opacity: 0.8;
}

.header-cta {
  display: none;
}
@media (min-width: 768px) {
  .header-cta { display: block; }
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  background: var(--base2);
  border-top: 1px solid rgba(255,255,255,0.2);
}
.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-inner button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Alexandria', sans-serif;
  cursor: pointer;
  text-align: right;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-title {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.2;
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: -1.2px;
}

.hero-desc {
  max-width: 768px;
  margin: 0 auto 40px;
}

.hero-desc p {
  color: var(--text-light);
  font-weight: 600;
  font-size: 16.26px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  margin: 10px;
}

.stat-number {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.stat-label {
  color: #ffffff;
  font-size: 14px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: clamp(27px, 3vw, 36px);
  letter-spacing: -0.7px;
}

.section-subtitle {
  font-size: 17px;
}

/* ========================================
   Video Thumbnails
   ======================================== */
.video-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  aspect-ratio: 16/9;
  padding: 8px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,0.50);
  box-shadow: 0 4px 20px rgba(100,160,230,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-thumbnail:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 12px;
}

.video-thumbnail:hover .play-overlay {
  opacity: 1;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.6);
}

.play-triangle {
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.video-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 12px;
  border-radius: 0 0 12px 12px;
}

.video-title-overlay p {
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

/* ========================================
   VFX Section
   ======================================== */
.vfx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
}

.vfx-card {
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  padding: 5px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,0.40);
  box-shadow: 0 4px 20px rgba(100,160,230,0.18), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vfx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
}

.vfx-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
}

.vfx-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s, filter 0.5s;
  filter: brightness(0.85);
}

.vfx-card:hover .vfx-card-thumb img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.vfx-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.4s;
}

.vfx-card:hover .vfx-play-overlay {
  opacity: 1;
}

.vfx-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
}

.vfx-card:hover .vfx-play-btn {
  transform: scale(1.1);
}

.play-triangle-sm {
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.vfx-thumb-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}

.vfx-card-content {
  padding: 20px;
}

.vfx-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vfx-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s;
  flex-shrink: 0;
}

.vfx-card:hover .vfx-icon-box {
  background: rgba(255,255,255,0.15);
}

.vfx-card-title {
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.vfx-card-desc {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.8;
}

.vfx-watch-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}

.vfx-card:hover .vfx-watch-link {
  color: white;
  transform: translateX(-4px);
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,0.40);
  box-shadow: 0 4px 20px rgba(100,160,230,0.18), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.15s;
}

.about-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.profile-photo-hover {
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}

.profile-photo-hover:hover {
  transform: scale(1.02);
}

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

.about-text p {
  margin-bottom: 12px;
}

.name-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0 auto;
    width: 280px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.name-container p {
    margin: 0;
    text-align: center;
    font-size: 0.85rem;
    color: white;
    line-height: 1;
    font-weight: 500;
}

.social-links-about {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

@media (min-width: 1024px) {
  .social-links-about {
    justify-content: flex-end;
  }
}

.social-links-about a,
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F4F8FC;
  transition: background 0.3s;
}

.social-links-about a:hover,
.footer-social a:hover {
  background: rgba(255,255,255,0.4);
}

/* ========================================
   Channels Section
   ======================================== */
.channel-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.channel-card:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.channel-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid;
  margin-bottom: 20px;
  flex-shrink: 0;
  background: #111;
}

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

.channel-name {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.5px;
}

.channel-subs {
  font-weight: 500;
  margin-bottom: 16px;
  font-size: 16px;
}

.channel-yt-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: opacity 0.3s;
}
.channel-yt-link:hover { opacity: 0.8; }

/* ========================================
   Service Cards
   ======================================== */
.service-card {
  padding: 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.text-4xl {
  font-size: 36px;
}

.service-icon {
  display: flex;
  justify-content: center;
}

.service-title {
  font-weight: 700;
  color: rgb(2, 116, 169);
  font-size: 18px;
  margin-bottom: 8px;
}

.service-desc {
  color: #666;
  font-size: 14px;
}

/* Ad video half width */
.ad-video-half {
  width: 100%;
}
@media (min-width: 640px) {
  .ad-video-half {
    width: calc(33.333% - 10px);
  }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-heading {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.7px;
  line-height: 1.4;
}

.cta-subtext {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 40px;
  font-size: 16px;
}

.gradient-cta .btn-secondary {
  background: white;
}

.gradient-ads .section-title,
.gradient-ads .section-subtitle {
  color: white;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #3D7EE0;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-nav button {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Alexandria', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
.footer-nav button:hover {
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: white;
  transition: opacity 0.3s;
}

.footer-social a:hover {
  background: none;
  opacity: 0.7;
}

.footer-tagline {
  font-weight: 600;
  color: white;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.footer-bottom p {
  color: white;
  font-size: 14px;
}

/* ========================================
   Video Modal
   ======================================== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  padding: 16px;
}

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

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: black;
  border-radius: 16px;
  overflow: hidden;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: white;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.4);
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal-box {
  opacity: 0;
  transition: opacity 0.8s ease-out,
              transform 0.8s ease-out;
  will-change: transform, opacity;
}

.reveal-box.revealed {
  opacity: 1;
  transform: translate(0, 0) !important;
}

.reveal-up {
  transform: translateY(35px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal-box.revealed.reveal-scale {
  transform: scale(1) !important;
}

/* ========================================
   Entrance Animation
   ======================================== */
.fade-in-element {
    animation: fadeInAnimation 1.5s ease-in-out;
}

@keyframes fadeInAnimation {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 767px) {
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-text,
  .about-content > .btn-primary {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .about-content {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding-right: 0;
  }
  .about-text { flex: 0 0 100%; }
  .name-container {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  .social-links-about {
    margin-top: 0;
    justify-content: flex-start;
    align-items: center;
  }
  .about-content > .btn-primary {
    flex: 0 0 100%;
    padding: 8px 16px;
    width: fit-content;
    margin-top: 8px;
    margin-bottom: 8px;
  }
}

@media (max-width: 639px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item:last-child {
    grid-column: 1 / -1;
  }
}
