@font-face {
  font-family: "AbeatbyKai";
  src: url("../fonts/ABEAKRG.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "AbeatbyKai", cursive;
  color: #fff;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(248, 223, 9, .30), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(62, 81, 209, .26), transparent 24%),
    radial-gradient(circle at 80% 80%, rgba(61, 181, 72, .24), transparent 24%),
    radial-gradient(circle at 20% 85%, rgba(201, 0, 8, .28), transparent 24%),
    linear-gradient(180deg, #df4d13 0%, #c63d09 50%, #a92f07 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(#f8df09 2px, transparent 2px),
    radial-gradient(#ffffff 1.5px, transparent 1.5px),
    radial-gradient(#3db548 2px, transparent 2px);
  background-size: 140px 140px, 180px 180px, 220px 220px;
  animation: particles 25s linear infinite;
  opacity: .35;
  z-index: -1;
}

@keyframes particles {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 -800px, 50px -600px, -60px -900px;
  }
}

.about-page {
  min-height: 100vh;
  padding: 30px 7% 0;
}

.back-home {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  margin-bottom: 45px;
  padding: 11px 22px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
}

.back-home:hover {
  background: #f8df09;
  color: #222;
}

.about-hero {
  max-width: 930px;
  margin: 0 auto 90px;
  text-align: center;
}

.about-label {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  color: #222;
  background: #f8df09;
  margin-bottom: 24px;
  box-shadow: 0 14px 35px rgba(248, 223, 9, .45);
}

.about-hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  margin-bottom: 24px;
  color: #fff;
}

.about-hero p {
  max-width: 760px;
  margin: auto;
  font-size: 19px;
  line-height: 1.8;
}

.brand-map {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 30px 0 130px;
}

.map-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 100%;
  transform: translateX(-50%);
  border-radius: 50px;
  background: linear-gradient(180deg, #f8df09, #df4d13, #3e51d1, #3db548, #c90008);
  z-index: 1;
}

.map-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #fff 2px, transparent 3px);
  background-size: 10px 24px;
  animation: dottedMove 1.4s linear infinite;
}

@keyframes dottedMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 24px;
  }
}

.map-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 0;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 0 35px #fff;
}

.moving-ant {
  position: absolute;
  top: 0;
  left: 50%;
  width: 76px;
  transform: translate(-50%, -50%);
  z-index: 6;
  animation: antWalk .6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 22px #f8df09);
}

@keyframes antWalk {
  from {
    transform: translate(-50%, -50%) rotate(-7deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(7deg);
  }
}

.floating-icon {
  position: absolute;
  font-size: 34px;
  z-index: 4;
  animation: floatIcon 5s ease-in-out infinite;
}

.icon-1 {
  left: 44%;
  top: 180px;
}

.icon-2 {
  right: 43%;
  top: 620px;
  animation-delay: 1s;
}

.icon-3 {
  left: 44%;
  top: 1080px;
  animation-delay: 2s;
}

.icon-4 {
  right: 43%;
  top: 1570px;
  animation-delay: 3s;
}

.icon-5 {
  left: 44%;
  top: 2060px;
  animation-delay: 4s;
}

@keyframes floatIcon {
  50% {
    transform: translateY(-20px) rotate(8deg) scale(1.15);
  }
}

.map-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  margin-bottom: 110px;
  opacity: 1;
  transform: none;
  transition: 1s ease;
}

.map-card.animate {
  opacity: 0;
  transform: translateY(80px);
}

.map-card.animate.show {
  opacity: 1;
  transform: none;
}

.map-card.reverse img {
  grid-column: 2;
  grid-row: 1;
}

.map-card.reverse div {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.map-card img {
  width: 100%;
  display: block;
  border-radius: 34px;
  padding: 9px;
  background: #fff;
  box-shadow:
    0 30px 75px rgba(0, 0, 0, .34),
    0 0 45px rgba(248, 223, 9, .25);
  transform: rotate(-1.5deg);
  transition: .5s ease;
}

.map-card.reverse img {
  transform: rotate(1.5deg);
}

.map-card>div {
  padding: 44px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .93);
  color: #222;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
}

.map-card span {
  display: inline-block;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 14px;
  opacity: .28;
}

.map-card h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 18px;
  line-height: 1.08;
}

.map-card p {
  font-size: 17px;
  line-height: 1.85;
  color: #333;
}

.card-yellow>div {
  border-left: 10px solid #f8df09;
  background: #fff9c9;
}

.card-yellow h2,
.card-yellow span {
  color: #d3ad00;
}

.card-orange>div {
  border-right: 10px solid #df4d13;
  background: #fff0e8;
}

.card-orange h2,
.card-orange span {
  color: #df4d13;
}

.card-blue>div {
  border-left: 10px solid #3e51d1;
  background: #eef2ff;
}

.card-blue h2,
.card-blue span {
  color: #3e51d1;
}

.card-green>div {
  border-right: 10px solid #3db548;
  background: #eaf8ec;
}

.card-green h2,
.card-green span {
  color: #3db548;
}

.card-red>div {
  border-left: 10px solid #c90008;
  background: #fff1f1;
}

.card-red h2,
.card-red span {
  color: #c90008;
}

.final-card>div {
  color: #fff;
  background: linear-gradient(135deg, #f8df09, #df4d13, #3e51d1, #3db548, #c90008);
  border: 0;
}

.final-card h2,
.final-card span,
.final-card p {
  color: #fff;
}

.map-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 8px solid #f8df09;
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 0 28px rgba(248, 223, 9, .95);
}

.card-orange::before {
  border-color: #df4d13;
}

.card-blue::before {
  border-color: #3e51d1;
}

.card-green::before {
  border-color: #3db548;
}

.card-red::before {
  border-color: #c90008;
}

.map-card:hover img {
  transform: scale(1.06) rotate(0deg);
}

.map-card:hover>div {
  transform: translateY(-10px);
}

@media (max-width: 900px) {
  .about-page {
    padding: 25px 5% 0;
  }

  .map-line {
    left: 28px;
    width: 7px;
  }

  .map-progress {
    width: 7px;
  }

  .moving-ant {
    left: 28px;
    width: 52px;
  }

  .floating-icon {
    display: none;
  }

  .map-card,
  .map-card.reverse {
    display: block;
    margin-left: 60px;
    margin-bottom: 80px;
  }

  .map-card.reverse div {
    text-align: left;
  }

  .map-card img {
    margin-bottom: 22px;
    border-radius: 26px;
  }

  .map-card>div {
    padding: 28px;
    border-radius: 26px;
  }

  .map-card span {
    font-size: 44px;
  }

  .map-card h2 {
    font-size: 31px;
  }

  .map-card p {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .map-card::before {
    left: -32px;
    top: 35px;
    width: 22px;
    height: 22px;
    border-width: 5px;
  }

  .card-orange>div,
  .card-green>div,
  .final-card>div {
    border-right: none;
    border-left: 9px solid currentColor;
  }
}

/* Shared inner-page navigation and consistent typography */
body {
  /* font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; */
  font-family: "AbeatbyKai", cursive;
  font-size: 16px;
  line-height: 1.6
}

h1,
h2,
h3,
.about-label,
.testimonial-label,
.section-heading>span,
.video-category {
  /* font-family: "AbeatbyKai", system-ui, sans-serif */
  font-family: "AbeatbyKai", cursive;
}

.inner-header {
  position: relative;
  z-index: 100;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.inner-logo img {
  display: block;
  width: 92px;
  height: auto
}

.inner-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.inner-header nav a {
  padding: 8px 12px;
  border: 2px solid #111;
  border-radius: 999px;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  font-size: .82rem;
  box-shadow: 3px 3px 0 #111
}

.inner-header nav a:nth-child(1) {
  background: #F8DF09
}

.inner-header nav a:nth-child(2) {
  background: #DF4D13
}

.inner-header nav a:nth-child(3) {
  background: #3E51D1;
  color: #fff
}

.inner-header nav a:nth-child(4) {
  background: #3DB548
}

.inner-header nav a:nth-child(5) {
  background: #C90008;
  color: #fff
}

.inner-header nav a:hover {
  transform: translateY(-2px)
}

img {
  height: auto
}

.map-card p,
.testimonial-hero p,
.section-heading p,
.video-card-content p,
.written-card p {
  /* font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif */
  font-family: "AbeatbyKai", cursive;
}

@media(max-width:720px) {
  .inner-header {
    align-items: flex-start
  }

  .inner-header nav {
    justify-content: flex-end
  }

  .inner-header nav a {
    font-size: .7rem;
    padding: 6px 9px
  }

  .inner-logo img {
    width: 72px
  }

  .about-page {
    padding-left: 16px;
    padding-right: 16px
  }

  .about-hero h1,
  .testimonial-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem)
  }
}

@media(max-width:480px) {
  .inner-header {
    display: grid;
    justify-items: center
  }

  .inner-header nav {
    justify-content: center
  }

  .inner-header nav a {
    font-size: .68rem
  }

  .map-card {
    padding: 20px !important
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important
  }

  .video-card-content {
    padding: 14px !important;
    min-height: 120px !important
  }

  .video-card-content h3 {
    font-size: 1.05rem !important
  }

  .video-card-content p {
    font-size: .75rem !important
  }

  .grid-play-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1rem !important
  }

  .video-duration {
    font-size: .6rem !important
  }
}

/* Mobile: remove decorative moving ant and protect content readability */
@media (max-width: 900px) {
  .moving-ant {
    display: none !important;
  }
}

.premium-footer {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 20px 70px;

  background: linear-gradient(180deg,
      #3DB548 0%,
      #F8DF09 25%,
      #DF4D13 55%,
      #C90008 75%,
      #3E51D1 100%);
}

.footer-card {
  max-width: 1100px;
  margin: auto;
  padding: 60px 40px;
  border-radius: 40px;

  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .22);
}

.footer-logo {
  width: 120px;
  margin-bottom: 20px;
  animation: footerFloat 4s ease-in-out infinite;
}

.footer-brand-name {
  font-family: "AbeatbyKai", cursive;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  color: #F5F5F5;
  margin-bottom: 12px;

  text-shadow:
    4px 4px 0 rgba(0, 0, 0, .35),
    0 8px 25px rgba(0, 0, 0, .28);

  animation: footerFloat 4s ease-in-out infinite;
}

.footer-tagline {
  font-family: "AbeatbyKai", cursive;
  color: #F5F5F5;
  letter-spacing: 4px;
  font-size: 1rem;
}

.footer-divider {
  width: 230px;
  height: 8px;
  border-radius: 999px;
  margin: 28px auto;

  background: linear-gradient(90deg,
      #3DB548,
      #F8DF09,
      #DF4D13,
      #C90008,
      #3E51D1);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: #F8DF09;
}

.footer-links span {
  color: rgba(255, 255, 255, .7);
}

.footer-address {
  max-width: 760px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, .95);
  line-height: 1.8;
  font-weight: 600;
}

.footer-copy {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
}

@keyframes footerFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media(max-width:768px) {
  .footer-card {
    padding: 45px 22px;
    border-radius: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-links span {
    display: none;
  }

  .footer-tagline {
    letter-spacing: 2px;
  }
}

/* Mobile-only top social icons — intentionally isolated from all other page styles. */
.inner-mobile-social { display: none; }
@media (max-width: 720px) {
  .inner-mobile-social {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 12px auto 18px;
  }
  .inner-mobile-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #111;
    border-radius: 50%;
    color: #fff;
    box-shadow: 3px 3px 0 #111;
    text-decoration: none;
  }
  .inner-mobile-social a:nth-child(1) { background: #DF4D13; }
  .inner-mobile-social a:nth-child(2) { background: #3E51D1; }
  .inner-mobile-social a:nth-child(3) { background: #3DB548; }
  .inner-mobile-social svg { width: 18px; height: 18px; fill: currentColor; }
}

/* ==================================================
   DESKTOP ONLY - SLIGHT TYPOGRAPHY REDUCTION
   (Matches sean-style.css)
   Mobile remains unchanged
================================================== */

@media only screen and (min-width:769px){

    html{
        font-size:97%;
    }

    /* Hero */
    .about-hero h1{
        font-size:clamp(40px,6.7vw,82px) !important;
    }

    .about-hero p{
        font-size:18px !important;
    }

    /* Timeline Cards */
    .map-card span{
        font-size:60px !important;
    }

    .map-card h2{
        font-size:clamp(28px,3.8vw,43px) !important;
    }

    .map-card p{
        font-size:16px !important;
        line-height:1.75 !important;
    }

    /* Navigation */
    .inner-header nav a{
        font-size:.79rem !important;
    }

    /* Labels */
    .about-label,
    .testimonial-label,
    .video-category{
        font-size:13px !important;
    }

    /* Footer */
    .footer-brand-name{
        font-size:clamp(2.8rem,7.5vw,6.5rem) !important;
    }

    .footer-tagline{
        font-size:.95rem !important;
    }

    .footer-address,
    .footer-copy{
        font-size:.95rem !important;
    }

}
