/* Poppins is loaded via <link> in index.html (4 weights, preconnected).
   This @import pulled all 18 weights + italics and blocked rendering. */

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at the original position */
  }
}

@keyframes fadeUp {
  0% {
      opacity: 0; /* Start fully transparent */
      transform: translateY(50px); /* Start 30px down */
  }
  100% {
      opacity: 1; /* End fully opaque */
      transform: translateY(0); /* End at original position */
  }
}

@keyframes Boom {
  0% {
      max-width: 0%;
      height: auto;
  }
  50% {
    max-width: 29%;
    height: auto;
  }
  100% {
      max-width: 25%;
      height: auto;
  }
}

@keyframes nav {
  0% {
    margin-right: 0;
    opacity: 0;
  }
  100% {
    margin-right: 35px;
    opacity: 1;
  }
}

* {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#242424, #656565);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #494949;
}

html,body{
  width:100%;
  height:100%;
  margin:0;
  padding:0;
}

h1 {
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", "sans serif";
  font-size: 24px;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 26.4px;
}

h3 {
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", "sans serif";
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 15.4px;
}

p {
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", "sans serif";
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 20px;
}

blockquote {
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", "sans serif";
  font-size: 21px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 30px;
}

pre {
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", "sans serif";
  font-size: 13px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 18.5714px;
}

/* Phones get an 800px-wide copy (7 KB) instead of the 3840px master (137 KB);
   the full-size file is only fetched once the viewport can actually use it. */
#First {
  background: url(/resources/296a59f0-8c8e-465e-8593-b641cb5d300c-800.webp) no-repeat;
  background-position: center;
  background-size: cover;
}

@media (min-width: 1024px) {
  #First {
    background-image: url(/resources/296a59f0-8c8e-465e-8593-b641cb5d300c-1920.webp);
  }
}

/* only genuinely huge displays get the 3840px master */
@media (min-width: 2000px) {
  #First {
    background-image: url(/resources/296a59f0-8c8e-465e-8593-b641cb5d300c.webp);
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  background-color: transparent;
  align-items: center;
  z-index: 100;
  transition: 0.3s;
}

nav.desktop-nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-right: 30px;
  font-size: 17px;
  text-decoration: none;
  color: rgb(221, 220, 220);
  font-weight: 500;
  transition: 0.3s ease;
  animation: nav 0.6s ease-out;
}

nav a:hover {
  color: white;
  transition: 0.3s ease;
}

.a_icon {
  padding-right: 5px;
}

.scrolled {
  background-color: white; /* Background color after scrolling */
  transition: 0.3s;
}

.scrolled .hamburger div {
  background-color: black;
}

.scrolled #navbar a {
  color: black; /* Change link color to black when scrolled */
}

.scrolled #navbar a:hover {
  color: rgb(245, 177, 20);;
}

.scrolled #navbar .Signing {
  color: white;
}

.scrolled .Logo {
  box-shadow: 5px 5px 10px rgba(67, 67, 67, 0.564);
  transition: 0.3s;
}

.scrolled #navbar .Signing:hover {
  background-color: rgb(245, 177, 20);
  color: white;
}

.Signing {
  background-color: black;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.Signing:hover {
  transition: 0.3s;
  background-color: white;
  color: black;
}

.Logo {
  width: 80px; /* Set the desired width */
  height: auto; /* Maintains the aspect ratio */
  border-radius: 100px;
  transition: 0.3s;
}

.Material {
  padding: 70px;
  text-align: center;
  margin-bottom: 100px;
}

.Material_Head {
  font-size: 49px;
  margin-bottom: 20px;
  color: white;
  font-size: 35px;
}

.Collection {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;

}

.Card_Collect {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  width: 450px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.Card_Collect:hover {
  transform: translateY(-5px);
}

.pdf-title {
  font-size: 17px;
  line-height: 1.3em;
  margin: 20px;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.download-btn {
  display: inline-block;
  padding: 11px 50px;
  background: #700905;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.download-btn:hover {
  background: #005ccc;
}


.graphic-section {
  position: relative; /* Enables absolute positioning of child elements */
  width: 100%;
  height: 100vh; /* Makes the section cover the full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
}

svg {
  margin: 0;
  padding: 0;
}

.Enhanced {
  position: relative;
  width: 750px;
  height: 750px;
  height: auto;
  border-radius: 50px;
  box-shadow: 5px 10px 15px rgba(67, 67, 67, 0.564),
              0 20px 30px rgba(0, 0, 0, 0.571);
  z-index: 1;
  text-wrap: wrap;
  margin: 20px;
  overflow: hidden; /* Keeps pseudo-element inside */
  animation: Boom 0.45s ease-out forwards;
}

.text-content {
  position: absolute;
  text-align: center; /* Centers the text horizontally */
  z-index: 2; /* Places the text above the image */
  color: whitesmoke; /* Optional: Set a color that contrasts well with the image */
  font-family: 'Impact', sans-serif;
  text-shadow: 5px 10px 15px rgba(67, 67, 67, 0.771);
}

.text-content h1 {
  font-size: 50px;
  font-weight: 200;
  padding: 20px;
}

span {
  font-family: 'Impact', sans-serif;
}

.span1 {
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.12s;
}

.span2 {
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.26s;
}

.text-content h2 {
  font-size: 20px;
  max-width: 800px; /* Adjust the max-width to control the line length */
  margin: 0 auto; /* Centers the h2 within the container */
  font-weight: 300;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards 0.4s;
}

.text-content button {
  padding: 10px 30px;
  border: none;
  background-color: rgb(244, 186, 38);
  margin: 20px;
  font-size: 18px;
  font-weight: 450;
  box-shadow: 0 0 20px 2px rgba(244, 186, 38, 0.837);
  cursor: pointer;
  transition: 0.6s ease;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards 0.55s;
}

.text-content button:hover {
  background-color: rgb(248, 184, 24);
  box-shadow: 0 0 30px 2px rgb(248, 184, 24);
  transition: 0.6s ease;
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 200;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px;
  transition: 0.3s;
}

/* Mobile menu */
nav.mobile-nav {
  display: none;
  position: absolute;
  top: 100px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 20px;
}

nav.mobile-nav a {
  display: block;
  margin: 10px 0;
  font-size: 14px;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#Third {
  background-color: #F4BA26;
  width: 100%;
  min-height: 170vh;
}

#Forth {
  background-color: #ba0e05;
  width: 100%;
  min-height: 100vh;
}

#Fifth {
  background-color: #1f1f1f;
  width: 100%;
  min-height: 140vh;
}

/* Pulse animation */
@keyframes pulse {
  0% {
      background-size: 100% 100%;
  }
  50% {
      background-size: 110% 110%;
  }
  100% {
      background-size: 100% 100%;
  }
}

.translate-btn {
  background: black;
  color: white;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.translate-btn:hover {
  background-color: white;
  color: #1f1f1f;
}


/* These two are decorative and were already hidden below 1024px, but as <img>
   tags the browser downloaded them on every phone anyway (188 KB wasted).
   Declared as backgrounds inside a min-width query, they are never requested
   on a narrow viewport. */
.graphic1,
.graphic2 {
  display: none;
}

@media (min-width: 1024px) {
  /* Sizes match the original exactly. The old markup was an <img>, which
     `.Services_Description img { width: 500px }` sized to 500px wide —
     that rule beat `.graphic1 { width: 1280px }`. A <div> escapes it, so
     the dimensions are restated here: 500 x 305 and 500 x 500. */
  .graphic1 {
    display: block;
    width: 500px;
    height: 305px;
    background: url(/resources/Graphic-900.webp) center / contain no-repeat;
  }

  .graphic2 {
    display: block;
    width: 500px;
    height: 500px;
    background: url(/resources/decision-making-900.webp) center / contain no-repeat;
  }
}

.FinaleImage {
  width: 600px;
  height: 600px;
}

.icon {
  color: white;
  font-size: 60px;
}

.Services_Description {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  margin-right: 125px;
  margin-left: 125px;
}

.Services_Description h1, p {
  font-family: 'Poppins', sans-serif;
}

.Services_Description h1 {
  padding-bottom: 10px;
  font-size: 30px;
  line-height: 1.2em
}

.Services_Description p {
  font-size: 17px;
  line-height: 1.3em;
  text-align: justify;
}

.Services_Description img {
  width: 500px;
  height: auto;
}

.Card_Collection {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between cards */
  margin: 0 auto; /* Center collection on the page */
  padding: 20px; /* Optional padding for spacing */
  transform: translateY(-27%);
}

.Card4 {
  background-color: #f0f0f0; /* Optional background color for the cards */
  padding: 15px 30px; /* Adjusted padding for better text fitting */
  text-align: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.264); /* Optional box shadow for better visuals */
  flex: 0 1 auto; /* Allow flex-basis to adapt to content size */
  display: inline-block; /* Makes the box only as wide as the content */
}


.Card4 .ic {
  font-size: 25px;
  background-color: white;
  transform: translateY(-90%);
  padding: 17px;
  margin: 0;
  border-radius: 150%;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.122); /* Optional box shadow for better visuals */
  vertical-align: middle;
}

.Card4 p {
  font-size: 17px;
  margin: -10px 0 0;
  transform: translateY(-30%);
}

.Forth_Heading {
  text-align: center;
  font-size: 90px;
  color: white;
  font-weight: 300;
  margin: 80px;
}

.Courses {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between cards */
  margin: 0 auto; /* Center collection on the page */
  padding: 20px; /* Optional padding for spacing */

}

.course-card {
  font-family: 'Poppins', sans-serif;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #ffffff;
  margin: 20px;
  display: inline-block;
  text-align: left;
  box-shadow: 5px 15px 10px rgba(67, 67, 67, 0.564);
  border: 5px white solid;
}

.course-card:hover {
  transform: translateY(-8px);
}

.course-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.course-details {
  padding: 20px;
}

.course-title {
  font-size: 1.4em;
  margin: 10px 0;
  color: #333333;
  font-family: 'Poppins', sans-serif;
}

.course-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 15px;
}

.course-price {
  display: block;
  font-size: 1.2em;
  font-weight: 300;
  color: black;
  margin-bottom: 15px;
}

.badge {
  background-color: red;
  color: white;
  font-weight: bold;
  padding: 10px;
  padding-right: 0;
  padding-left: 0;
  font-size: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 500;
  border-radius: 10px 10px 0 0;
}

/* Best Seller card: same size, same padding, same 5px border width — only the
   colour and glow change, so the row stays perfectly aligned. */
.course-card-featured {
  border-color: #F4BA26;
  box-shadow: 5px 15px 10px rgba(67, 67, 67, .564),
              0 0 0 1px rgba(244, 186, 38, .55),
              0 0 30px rgba(244, 186, 38, .5);
}

.course-card-featured:hover {
  box-shadow: 5px 15px 10px rgba(67, 67, 67, .564),
              0 0 0 1px rgba(244, 186, 38, .8),
              0 0 44px rgba(244, 186, 38, .8);
}

.course-card-featured .badge {
  background-image: linear-gradient(100deg,
      #ba0e05 0%, #ba0e05 32%, #F4BA26 50%, #ba0e05 68%, #ba0e05 100%);
  background-size: 300% 100%;
  animation: badgeShine 4s linear infinite;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.course-card-featured .badge .ic {
  font-size: 16px;
  color: #ffdf7e;
}

@keyframes badgeShine {
  from { background-position: 150% 0; }
  to   { background-position: -150% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .course-card-featured .badge { animation: none; }
}

.badge-new {
  background-color: goldenrod;
  text-shadow: 5px 10px 15px rgba(67, 67, 67, 0.432);
}

.badge-new2 {
  background-color: rgb(218, 54, 32);
  text-shadow: 5px 10px 15px rgba(67, 67, 67, 0.432);
}

.collect-1 {
  margin-bottom: 30px;
  margin-top: 15px;
}

.course-button {
  width: 100%;
  background-color: #004594; /* testing */
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1em;
}

.course-button:hover {
  background-color: #242424;
}

.Final_Box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px; /* Space between cards */
  margin: 0 auto; /* Center collection on the page */
  padding: 20px; /* Optional padding for spacing */
  background-color: whitesmoke;
  max-width: 1000px;
  overflow: hidden;
  text-align: left;
}

.Final_Card {
  max-width: 60%;
  justify-content: center;
}

.Final_Card p {
  text-align: justify;
}

.Final_Card button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 15px;
  background-color: black;
  color: white;
  border: none;
  transition: 0.5s;
}

.Final_Card button:hover {
  background-color: #F4BA26;
  transition: 0.5s;
}

.Final_Card button a {
  text-decoration: none;
  color: white;
  padding: 70px;
  font-weight: 500;
}

.Final_Card h1 {
  padding-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.Final_Card p {
  font-family: 'Poppins', sans-serif;
}

.Final_Box img {
  width: 300px;
  height: 300px;
}

footer{
  display: flex;
  margin-top: auto;
  background-color: #1f1f1f;
  padding: 60px 10%;
  justify-content: center;
}

ul{
  list-style: none;
}

.footer-col{
  margin-left: 8%;
  width: 33.3%;
}

.footer-col h4{
  position: relative;
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 17px;
  color: #ffffff;
  text-transform: capitalize;
}

.footer-col h4::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  background-color: gold;
  height: 2px;
  width: 40px;
}

ul li:not(:last-child){
  margin-bottom: 8px;
}

ul li a{
  display: block;
  font-size: 15px;
  text-transform: capitalize;
  color: #bdb6b6;
  text-decoration: none;
  transition: 0.4s;
}

ul li a:hover{
  color: white;
  padding-left: 2px;
}

.links a{
  display: inline-block;
  height: 44px;
  width: 44px;
  color: white;
  background-color: #e9b329;
  margin: 0 8px 8px 0;
  text-align: center;
  line-height: 44px;
  border-radius: 50%;
  transition: 0.4s;
}

#ContactForm {
  width: 100%;
  min-height: 50vh;
  align-content: center;
  background-color: #1f1f1f;
}

.Form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: white;
  margin-top: 70px;
}

input, textarea {
  width: 30%;
  margin: 10px;
  border-radius: 10px;
  padding: 10px;
  border: 1px #242424 solid;
  font-family: 'Poppins', sans-serif;
}

textarea {
  height: 100px;
}

footer p {
  color: #a8a2a2;
}

.Form button {
  width: 200px;
  padding: 10px;
  margin: 2px;
  border-radius: 5px;
  background-color: rgb(237, 235, 235);
  border: 1px #242424 solid;
  font-family: 'Poppins', sans-serif;
  color: #242424;
  font-size: 15px;
  align-items: center;
  display: flex;
  cursor: pointer;
  justify-content: space-between;
  transition: 0.5s;
}

.Form button:hover {
  background-color: white;
  transition: 0.5s;
  width: 210px;
}

.Form button .ic {
  font-size: 20px;
  padding-right: 10px;
}

.links a:hover{
  color: black;
  background-color: white;
}

.e {
  color:#929191;
  text-align: center;
  line-height: 1.9;
}

/* the global `span { font-family: Impact }` made the year read as bold
   against the Poppins around it */
.e #copyYears {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.dev-credit {
  color: #c9c3bb;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 186, 38, .45);
  transition: color .25s ease, border-color .25s ease;
}

.dev-credit:hover {
  color: var(--dm-gold);
  border-bottom-color: var(--dm-gold);
}

@media(max-width: 740px){
  .footer-col{
      width: 50%;
      margin-bottom: 30px;
      text-align: center;
      margin-left: 0%;
  }

  .footer-col h4::before{
      all: unset;
  }
}

@media(max-width: 555px){
  .footer-col{
      width: 100%;
  }
}

@media (max-width: 1023px) {

  body {
    overflow-x: hidden;
  }

  section {
    padding: 80px 20px;
  }

  .Services_Description img {
    width: 0;
    height: 0;
    display: none;
    
  }

  #Third {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .Services_Description {
    justify-content: center;
    flex-direction: column;
    align-items: start;
    margin-bottom: 25%;
    margin-left: 0%;
  }

  .Services_Description h1 {
    font-size: 20px;
    width: 300px;
  }

  .Services_Description p {
    font-size: 15px;
    width: 300px;
    text-align: left;
  }

  .Card_Collection {
    transform: translateY(-50%);
    display: none;
  }

  .Card_Collection p {
    font-size: 15px;
  }

  .Card_Collection .ic {
    font-size: 20px;
  }

  #Forth {
    flex-direction: column;
  }

  .Final_Card p {
    text-align: left;
  }

  .Courses {
    flex-direction: column;
  }

  .course-title {
    font-size: 21px;
  }

  .course-description {
    font-size: 15px;
  }

  .Forth_Heading {
    font-size: 40px;
    text-align: center;
    margin: 0;
  }

  .Final_Box img {
    width: 100px;
    height: 100px;
  }

  nav.desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .Logo {
    width: 50px; /* Adjust the logo size */
  }

  /* Show mobile menu when active */
  nav.mobile-nav.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav a {
    font-size: 10px;
    margin-right: 5px;
  }

  .Enhanced {
    margin: 0px;
  }

  .text-content h1 {
    font-size: 30px;
    line-height: 1.2em;
  }

  .Final_Box {
    max-width: 1000px;
  }

  .Final_Card {
    max-width: 1000px;
  }

  .Final_Card h1 {
    font-size: 20px;
    width: 100%;
  }

  .Final_Card button a {
    font-size: 13px;
    padding: 20px;
  }
  /* only the decorative wave dividers — a bare `svg` selector here would
     also hide every inline icon on the page */
  #Third > svg,
  #Fifth > svg {
    display: none;
  }

  .course-card h3 {
    line-height: 1.2em;
  }

  input {
    width: 70%;
  }

  textarea {
    width: 100%;
  }

  /* was `footer p` — that also hid the copyright/credit line on every phone */
  footer p:not(.e) {
    display: none;
  }

  .e {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* ==========================================================================
   TRACK RECORD  ·  TESTIMONIAL COVERFLOW  ·  SOCIAL
   ========================================================================== */

/* Inline SVG icons, drop-in replacement for the Font Awesome <i> glyphs.
   1em sizing + currentColor means every existing font-size / color rule that
   targeted the old <i> elements keeps working untouched. */
.ic {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  flex: none;
  /* The global `* { box-sizing: border-box }` would make any padding on an
     icon eat into its 1em box (`.a_icon` loses 5px, `.Card4 .ic` collapsed
     to nothing). content-box makes padding sit around the glyph, which is
     how the old inline <i> elements behaved. */
  box-sizing: content-box;
}

/* style.css sets a global `span { font-family: Impact }`, which the label
   spans below inherit. That rule is load-bearing for the hero, so instead of
   changing it these blocks opt back into Poppins explicitly. */
.stat-label,
.social-plat,
.social-handle,
.social-go {
  font-family: 'Poppins', sans-serif;
}

:root {
  --dm-red:    #ba0e05;
  --dm-gold:   #F4BA26;
  --dm-ink:    #1f1f1f;
  --dm-ink-2:  #2b2b2b;
  --dm-head:   Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
}

/* ------------------------------- Track record ---------------------------- */

.stats-band {
  background: var(--dm-ink);
  background-image:
    radial-gradient(circle at 12% 20%, rgba(244, 186, 38, 0.14), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(186, 14, 5, 0.20), transparent 45%);
  padding: 70px 6vw;
  border-top: 3px solid var(--dm-gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 18px 30px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(244, 186, 38, 0.28);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s ease, background .35s ease;
}

/* gold sweep along the top edge */
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dm-gold), var(--dm-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}

.stat-card:hover,
.stat-card.is-active {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(244, 186, 38, 0.6);
}

.stat-card:hover::before,
.stat-card.is-active::before { transform: scaleX(1); }

.stat-icon {
  font-size: 26px;
  color: var(--dm-gold);
  margin-bottom: 14px;
  opacity: .85;
}

.stat-num {
  font-family: var(--dm-head);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.stat-num::before {
  content: "+";
  color: var(--dm-gold);
  margin-right: 2px;
}

.stat-label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #cfcbc6;
  letter-spacing: .3px;
}

/* --------------------------- Testimonial coverflow ----------------------- */

#Second {
  background: #fff;
  padding: 90px 0 80px;
  overflow: hidden;
}

.rev-head {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 48px;
}

.rev-title {
  font-family: var(--dm-head);
  font-size: clamp(34px, 6vw, 68px);
  letter-spacing: 3px;
  font-weight: 400;
  color: var(--dm-red);
  line-height: 1;
}

.rev-sub {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 300;
  color: #6b6b6b;
}

.rev-stage {
  position: relative;
  padding: 0 clamp(10px, 6vw, 80px);
}

.rev-swiper {
  width: 100%;
  padding: 30px 0 40px;
  overflow: visible;
}

.rev-swiper .swiper-slide {
  width: clamp(190px, 22vw, 268px);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  cursor: pointer;

  /* Swiper sets transition-DURATION inline per slide; the property list and
     easing come from here. `transition: box-shadow ...` used to live on this
     rule, which limited transition-property to box-shadow only — so every
     per-slide coverflow transform snapped instead of animating. */
  transition-property: transform, box-shadow;
  transition-timing-function: cubic-bezier(.25, .9, .3, 1);
}

/* same easing for the track and the coverflow shadow overlays,
   so nothing in the effect moves on a different curve */
.rev-swiper .swiper-wrapper,
.rev-swiper .swiper-slide-shadow-left,
.rev-swiper .swiper-slide-shadow-right {
  transition-timing-function: cubic-bezier(.25, .9, .3, 1);
}

.rev-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* the centred card gets a gold frame so the eye lands on it */
.rev-swiper .swiper-slide-active {
  box-shadow: 0 0 0 3px var(--dm-gold), 0 26px 55px rgba(0, 0, 0, .42);
}

.rev-swiper .swiper-slide-shadow-left,
.rev-swiper .swiper-slide-shadow-right {
  border-radius: 14px;
}

/* arrows */
.rev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--dm-ink);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: background .25s ease, transform .25s ease;
}

.rev-arrow:hover  { background: var(--dm-red); transform: translateY(-50%) scale(1.08); }
.rev-arrow:active { transform: translateY(-50%) scale(.96); }
.rev-prev { left:  clamp(4px, 2vw, 26px); }
.rev-next { right: clamp(4px, 2vw, 26px); }

/* Progress bar (65 slides makes dots useless).
   swiper-bundle.min.css is linked AFTER style.css, so its
   .swiper-pagination-progressbar rules would otherwise win at equal
   specificity — the #Second prefix is what makes these stick. */
#Second .rev-pagination {
  position: relative;
  width: min(420px, 70vw);
  height: 4px;
  margin: 30px auto 0;
  border-radius: 4px;
  background: #e4e4e4;
  overflow: hidden;
}

#Second .rev-pagination .swiper-pagination-progressbar-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: left top;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--dm-gold), var(--dm-red));
}

.rev-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  color: #9a9a9a;
  letter-spacing: .4px;
}

.rev-hint .ic { color: var(--dm-gold); }

/* call to action */
.rev-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  padding: 0 20px;
}

/* "More reviews" links to Facebook, so it wears Facebook blue */
.rev-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #1877f2;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .3px;
  border-radius: 3px;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.rev-btn:hover {
  background: #1465d8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, .38);
}

.rev-btn-alt { background: var(--dm-gold); color: var(--dm-ink); }

.rev-btn-alt:hover {
  background: #e0a814;
  color: var(--dm-ink);
  box-shadow: 0 8px 20px rgba(244, 186, 38, .4);
}

/* ------------------------------- Lightbox -------------------------------- */

.rev-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, .93);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  animation: revFade .22s ease;
}

/* the [hidden] attribute must beat display:flex above */
.rev-lightbox[hidden] { display: none; }

@keyframes revFade { from { opacity: 0 } to { opacity: 1 } }

.rev-lightbox img {
  max-width: min(94vw, 460px);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.rev-lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}

.rev-lb-close:hover { background: var(--dm-red); }

.rev-lb-nav {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background .2s ease;
}

.rev-lb-nav:hover { background: var(--dm-gold); color: var(--dm-ink); }

/* --------------------------------- Social -------------------------------- */

.social-band {
  background: var(--dm-ink-2);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(244, 186, 38, .10), transparent 55%);
  padding: 84px 6vw 90px;
  text-align: center;
}

/* Stat lockup: the number carries the weight, the label sits beside it
   across a gold rule. Deliberately not a small pill badge. */
.social-kicker {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 24px);
  margin-bottom: clamp(18px, 3vw, 30px);
  text-align: left;
  line-height: 1;   /* the global `p` rule forces 20px, which breaks the lockup */
}

.social-kicker-num {
  font-family: var(--dm-head);
  font-size: clamp(58px, 9vw, 104px);
  line-height: .82;
  letter-spacing: 1px;
  color: var(--dm-gold);
  text-shadow: 0 4px 24px rgba(244, 186, 38, .35);
}

.social-kicker-num em {
  font-style: normal;
  font-size: .58em;
  vertical-align: .28em;
  margin-left: 2px;
  color: #fff;
}

.social-kicker-label {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: clamp(1.5px, .28vw, 3.4px);
  text-transform: uppercase;
  color: #fff;
  padding-left: clamp(14px, 2.2vw, 24px);
  border-left: 3px solid var(--dm-gold);
}

.social-title {
  font-family: var(--dm-head);
  font-size: clamp(32px, 5.5vw, 60px);
  letter-spacing: 3px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

.social-sub {
  margin-top: 12px;
  margin-bottom: 46px;
  font-size: 16px;
  font-weight: 300;
  color: #b3aeaa;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

/* Each card permanently wears its platform colour — identical shape and size
   across all four, no motion. Hover (desktop only) just lifts and deepens. */
.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 20px 26px;
  border-radius: 6px;
  background: var(--brand, #444);
  border: 1px solid rgba(255, 255, 255, .14);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}

/* a dark scrim that lifts on hover, so the colour reads deeper at rest and
   brightens on interaction without the fill itself moving */
.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .18);
  transition: opacity .35s ease;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .42);
}

.social-card:hover::before { opacity: 0; }

.sc-youtube   { --brand: linear-gradient(160deg, #f5342a, #c00d05); }
.sc-instagram { --brand: linear-gradient(150deg, #7b2ff0, #d6249f 48%, #f9a11b); }
/* TikTok's own palette is black-first; the cyan and pink stay in the corners
   so the centred white text always sits on the dark middle */
.sc-tiktok    { --brand: linear-gradient(150deg, #25f4ee -18%, #111 42%, #fe2c55 130%); }
.sc-facebook  { --brand: linear-gradient(160deg, #2b88ff, #0b5fd0); }

.social-icon {
  font-size: 34px;
  color: #fff;
  margin-bottom: 16px;
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}

.social-card:hover .social-icon { transform: scale(1.15); }

.social-name {
  font-family: var(--dm-head);
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1;
  color: #fff;
  letter-spacing: 2px;
}

.social-plat {
  margin-top: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .92);
  letter-spacing: .3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.social-handle {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .72);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.social-go {
  margin-top: 20px;
  padding-top: 16px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
}

.social-go .ic {
  margin-left: 6px;
  transition: transform .3s ease;
}

.social-card:hover .social-go .ic { transform: translateX(5px); }

/* -------------------------------- Responsive ----------------------------- */

@media (max-width: 1023px) {
  .stats-grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-band  { padding: 54px 5vw; }
  .social-band { padding: 62px 5vw 70px; }
  .stat-card   { padding: 26px 12px 24px; }
  .social-card { padding: 30px 14px 22px; }
  #Second      { padding: 64px 0 60px; }
  .rev-head    { margin-bottom: 32px; }
  .rev-sub     { font-size: 15px; }
  .rev-arrow   { width: 42px; height: 42px; font-size: 14px; }
  .rev-cta     { gap: 12px; }
  .rev-btn     { padding: 12px 22px; font-size: 14px; }
}

@media (max-width: 560px) {
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; }
  .stat-label  { font-size: 12.5px; }
  .rev-lb-nav  { width: 38px; height: 38px; }
  .rev-lightbox { gap: 8px; padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .stat-card, .social-card, .social-card::before,
  .stat-card::before, .social-icon, .social-go .ic, .rev-btn {
    transition: none !important;
  }
  .rev-lightbox { animation: none; }
}
