/* Flip.js CSS */
  /*
    * @pqina/flip v1.8.3 - A Beautifully Animated Flip Clock
    * Copyright (c) 2023 PQINA - https://pqina.nl/flip/
    */
    .tick{box-sizing:border-box;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default;position:relative;z-index:1;line-height:1.4}.tick *{box-sizing:inherit}.tick [data-view]{max-width:100%}.tick span[data-view]{display:inline-block}.tick .tick-credits{position:absolute;right:0;bottom:0;opacity:.4;text-decoration:none;font-size:11px;color:inherit}.tick [data-layout~=pad]{margin:-.25em}.tick [data-layout~=pad]>*{margin:.25em}.tick [data-layout~=horizontal]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}.tick [data-layout~=horizontal][data-layout~=baseline]{-ms-flex-align:baseline;align-items:baseline}.tick [data-layout~=horizontal][data-layout~=center]{-ms-flex-pack:center;justify-content:center}.tick [data-layout~=horizontal][data-layout~=right]{-ms-flex-pack:end;justify-content:flex-end}.tick [data-layout~=horizontal][data-layout~=left]{-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=horizontal][data-layout~=fill],.tick [data-layout~=horizontal][data-layout~=stretch]{-ms-flex-line-pack:stretch;align-content:stretch;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.tick [data-layout~=horizontal][data-layout~=fill]>*,.tick [data-layout~=horizontal][data-layout~=stretch]>*{-ms-flex:1 0 0px;flex:1 0 0;width:100%}.tick [data-layout~=horizontal][data-layout~=multi-line]{-ms-flex-wrap:wrap;flex-wrap:wrap}.tick [data-layout~=horizontal][data-layout~=fit]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-line-pack:center;align-content:center;white-space:nowrap;-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=vertical]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.tick [data-layout~=vertical][data-layout~=top]{-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=vertical][data-layout~=bottom]{-ms-flex-pack:end;justify-content:flex-end;min-height:100%}.tick [data-layout~=vertical][data-layout~=middle]{-ms-flex-pack:center;justify-content:center;min-height:100%}.tick [data-layout~=vertical][data-layout~=left]{-ms-flex-align:start;align-items:flex-start}.tick [data-layout~=vertical][data-layout~=right]{-ms-flex-align:end;align-items:flex-end}.tick [data-layout~=vertical][data-layout~=center]{text-align:center}.tick [data-layout~=vertical][data-layout~=fill],.tick [data-layout~=vertical][data-layout~=stretch]{-ms-flex-align:stretch;align-items:stretch;min-height:100%}.tick [data-layout~=vertical][data-layout~=fill]>*,.tick [data-layout~=vertical][data-layout~=stretch]>*{-ms-flex:1 0 0px;flex:1 0 0}.tick [data-layout~=vertical]>*+*{margin-top:.5em}.tick [data-layout~=overlay]{position:relative}.tick [data-layout~=overlay]>*{margin:0}.tick [data-layout~=overlay][data-layout~=center]{text-align:center}.tick [data-layout~=overlay][data-layout~=left]{text-align:left}.tick [data-layout~=overlay][data-layout~=right]{text-align:right}.tick [data-layout~=overlay]>[data-overlay=fill],.tick [data-layout~=overlay]>[data-overlay=stretch]{position:absolute;left:0;right:0;top:0;bottom:0}.tick [data-layout~=overlay]>[data-overlay=center]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:absolute;left:0;right:0;top:0;bottom:0}.tick-flip{position:relative;text-align:center}.tick-flip *{border-radius:inherit;white-space:pre;letter-spacing:inherit;text-indent:inherit}.tick-flip-front{border-bottom-left-radius:0;border-bottom-right-radius:0}.tick-flip-back{border-top-left-radius:0;border-top-right-radius:0}.tick-flip-spacer{display:block;visibility:hidden}.tick-flip-shadow{position:absolute;left:1px;right:1px;top:1px;bottom:1px;color:transparent!important;background:transparent!important}.tick-flip-shadow-top{bottom:calc(50% - 1px)}.tick-flip-shadow-bottom{top:calc(50% + 1px)}.tick-flip-card-shadow{position:absolute;left:.15em;right:.15em;bottom:.125em;height:.5em;background-color:transparent;border-radius:0;opacity:0;transform-origin:0 100%;box-shadow:0 .125em .25em rgba(0,0,0,.5),0 .125em .5em rgba(0,0,0,.75);z-index:0}.tick-flip-card{position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;perspective:4em}.tick-flip-panel-back,.tick-flip-panel-front{position:absolute;left:0;width:100%;height:51%;backface-visibility:hidden;transform-style:preserve-3d}.tick-flip-panel-back-text,.tick-flip-panel-front-text{position:absolute;left:-1px;top:0;right:-1px;height:100%;overflow:hidden}.tick-flip-panel-text-wrapper{position:absolute;left:0;top:0;right:0;height:100%}.tick-flip-panel-back-text .tick-flip-panel-text-wrapper{height:200%;top:-100%}.tick-flip-panel-front{transform-origin:center bottom;top:0;z-index:2;box-shadow:inset 0 1px hsla(0,0%,100%,.05)}.tick-flip-panel-back{transform-origin:center top;top:50%;z-index:1;box-shadow:inset 0 -1px rgba(0,0,0,.1)}.tick-flip-panel-back:after{z-index:1;content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-image:linear-gradient(180deg,rgba(0,0,0,.3) 1px,rgba(0,0,0,.15) 0,transparent 30%)}.tick-flip-panel-back-shadow{z-index:2}.tick-flip-panel-back-highlight{z-index:3}.tick-flip-panel-back-highlight,.tick-flip-panel-back-shadow{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.tick-flip-panel-back-highlight,.tick-flip-panel-back-shadow,.tick-flip-panel-front-shadow{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0}.tick-flip-panel-front-shadow{background-image:linear-gradient(0deg,rgba(0,0,0,.8),rgba(0,0,0,.3))}.tick-flip-panel-back-shadow{background-image:linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.5))}.tick-flip-panel-back-highlight{background-image:linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,.3))}.tick [data-style*="shadow:inner"],.tick [data-style*="shadow:inner"] .tick-flip-card-shadow,.tick [data-style*="shadow:none"] .tick-flip-card-shadow,.tick [data-style*="shadow:none"] .tick-flip-panel-back,.tick [data-style*="shadow:none"] .tick-flip-panel-front,.tick [data-style*="shadow:none"] .tick-flip-shadow{box-shadow:none}.tick [data-style*="shadow:none"] .tick-flip-back:after,.tick [data-style*="shadow:none"] .tick-flip-panel-back-shadow,.tick [data-style*="shadow:none"] .tick-flip-panel-back-text:after,.tick [data-style*="shadow:none"] .tick-flip-panel-front-shadow{background-image:none}.tick [data-style*="rounded:none"]{border-radius:0}.tick [data-style*="rounded:panels"] .tick-flip-front,.tick [data-style*="rounded:panels"] .tick-flip-shadow-bottom{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.tick [data-style*="rounded:panels"] .tick-flip-back,.tick [data-style*="rounded:panels"] .tick-flip-panel-back:after,.tick [data-style*="rounded:panels"] .tick-flip-shadow-top{border-top-left-radius:inherit;border-top-right-radius:inherit}.tick-flip{margin-left:.0625em;margin-right:.0625em;min-width:1.125em;border-radius:.125em;letter-spacing:.25em;text-indent:.25em}.tick-flip-panel{color:#edebeb;background-color:#333232}.tick-flip-shadow{box-shadow:0 .125em .3125em rgba(0,0,0,.25),0 .02125em .06125em rgba(0,0,0,.25)}



/* Main Styles */
body {
  background: #ffffff;
  color: #333333;
  margin: 0;
}

.counter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  /* gap: 20px; */
  margin-top: 30px;
  padding: 24px;
  background: rgba(240, 246, 255, 0.1);
  border-radius: 20px;
}

.tick [data-layout~="horizontal"][data-layout~="fit"] {
  gap: 12px;
  direction: ltr;
}

.tick-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tick-value {
  display: inline-block;
  background-color: white;
  color: #004f73;
  font-size: 50px;
  font-weight: bold;
  width: 80px;
  height: 90px;
  line-height: 90px;
  border-radius: 10px;
  text-align: center;
}

.tick-label {
  margin-top: 5px;
  font-size: 20px;
  /* color: #224E72; */
  color: #fff;
}

.tick-flip-panel {
  color: #043a60;
  background-color: #eaeaea;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tick-value {
    width: 60px;
    height: 70px;
    font-size: 40px;
    line-height: 70px;
  }

  .tick-label {
    font-size: 16px;
  }

  .counter-container {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .tick-value {
    width: 34px;
    height: 60px;
    font-size: 30px;
    line-height: 60px;
  }

  .tick-label {
    font-size: 14px;
  }

  .counter-container {
    gap: 10px;
  }
}

.tick-credits {
  display: none !important;
}
:root {
  --primary-green: #31b889;
  --primary-dark-green: #299972;
  --primary-blue: #224e72;
  --primary-grey: #6d7c7c;
  --primary-black: #404646;
  --bg: #f7f9fd;
  --primary-yellow: #f4c55c;
}

/* IBM Plex Sans Arabic font is loaded via Google Fonts in index.html */
html,
body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: #333333;
  background-color: #ffffff;
}
.offset-scroll {
  scroll-margin-top: 60px;
}
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  pointer-events: none;
  border: none;
  /* Scale video larger than viewport to ensure full coverage */
  /* Default: scale based on width for wider screens */
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
}

/* For narrower/taller screens, scale based on height */
@media (max-aspect-ratio: 16/9) {
  .hero-video {
    width: 177.78vh;
    height: 100vh;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url('https://scfhs.org.sa/themes/schs/images/landing-page/logo-trans.svg') no-repeat; */
  /* background-position: -539px top;
        background-size: 930px 100%; */
  /* background-position: -139px top;
        background-size: 930px 100%; */
  background-color: rgba(34, 78, 114, 0.7);
  /* backdrop-filter: blur(7.5px); */
  z-index: 1;
}

/* @media screen and (min-width: 992px) {
        .hero-overlay {
          background-position: -200px top;
          background-size: 930px 100%;
        }
      }

      @media screen and (min-width: 1024px) {
        .hero-overlay {
          background-position: -150px top;
          background-size: 930px 100%;
        }
      } */

.navbar-custom {
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.1);
  background: rgb(34 78 114 / 69%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  /* text-align: center; */
  padding-top: 190px;
  padding-bottom: 50px;
  min-height: 100vh;
}

.hero-section .title {
  color: var(--Primary-Green, #31b889);
  text-align: center;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 70px;
  font-style: normal;
  font-weight: 750;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active {
  border: none;
  border-color: transparent;
  box-shadow: none;
}

.full-screen-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: url("https://scfhs.org.sa/themes/schs/images/graduation/banner.png")
    no-repeat;

  background-position: -220px;
  background-size: cover;
  backdrop-filter: blur(7px);
  /* background-color: rgba(0, 0, 0, 0.8); */
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* transform: scale(0.9); */
  /* transition: opacity 0.5s ease, transform 0.5s ease; */
  transition: left 0.5s ease, opacity 0.5s ease;
}

.full-screen-menu.show {
  /* display: flex; */
  opacity: 1;
  /* transform: scale(1); */
  left: 0;
}

.full-screen-menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.full-screen-menu ul li {
  margin: 32px 0;
}

.full-screen-menu ul li a {
  color: #333333;
  font-size: 2rem;
  text-decoration: none;
}

.text-bg {
  color: #404646;
}

.text-24 {
  font-size: 24px;
  font-style: normal;
  line-height: 200%; /* 48px */
}

.text-40 {
  font-size: 40px;
  font-style: normal;
  /* line-height: 200%;*/
  line-height: 1;
  padding-bottom: 24px;
}

.fw-500 {
  font-weight: 500;
}

.fw-700 {
  font-weight: 700;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary-green);
  --bs-btn-border-color: var(--primary-dark-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--primary-dark-green);
  --bs-btn-hover-border-color: var(--primary-dark-green);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary-dark-green);
  --bs-btn-active-border-color: var(--primary-dark-green);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
}

.stat-card {
  display: flex;
  width: 40%;
  padding: 24px 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 24px;
  background: rgba(231, 245, 240, 0.5);
  backdrop-filter: blur(3.5px);
  text-align: center;
}

.stat-card h3 {
  color: #224e72;
  text-align: center;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 750;
  line-height: normal;
}

@media screen and (min-width: 555px) {
  .stat-card {
    display: flex;
    width: 200px;
    padding: 24px 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 24px;
    background: rgba(231, 245, 240, 0.5);
    backdrop-filter: blur(3.5px);
  }

  .stat-card h3 {
    color: #224e72;
    text-align: center;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 750;
    line-height: normal;
  }
}

.pt-48 {
  padding-top: 68px;
}
.section-header h3 {
  position: relative;
  color: var(--primary-green);
  margin-top: -6px;
}
.section-header h3::before {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 140px;
  height: 3px;
  background: var(--Primary-Green, #31b889);
}

.section-header p {
  margin-bottom: 1rem;
}

.business-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

@media screen and (min-width: 667px) {
  .business-stats {
    gap: 16px;
  }
}

.business-stats .stat-card {
  display: flex;
  padding: 24px 0px 24px 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: auto;
}

.business-stats .stat-card h3 {
  color: var(--primary-blue);
}

.section-img-cover img {
  border-radius: 24px 24px 0 0;
}

@media screen and (min-width: 555px) {
  .section-img-cover img {
    border-radius: 0 24px 24px 0;
  }

  [dir="ltr"] .section-img-cover img {
    border-radius: 24px 0 0 24px;
  }
}

.nav-underline .nav-link.active,
.nav-underline .show > .nav-link {
  font-weight: 700;
  color: var(--primary-blue);
  border-bottom-color: currentcolor;
}

.nav-underline .nav-link {
  color: var(--Neutral-MeduimGray, #9ca8a8);
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #007bff;
}

.loading-overlay img {
  width: 180px;
  height: 100px;
  animation: scaleUpDown 2s infinite ease-in-out;
}

@keyframes scaleUpDown {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

#main-content {
  visibility: hidden;
}

.info-section {
  background: url("https://scfhs.org.sa/themes/schs/images/graduation/bg1.jpg")
    no-repeat;
  background-size: cover;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.border-top-ribbon {
  border-top: 6px solid transparent;
  border-image: url("https://scfhs.org.sa/themes/schs/images/graduation/border.svg")
    30 stretch;
}

.stream-section {
  
  min-height: 410px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.stream-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://scfhs.org.sa/themes/schs/images/graduation/bg-pattern.svg")
      no-repeat center center,
    #f8f9fa;
  background-size: cover;
  z-index: -1;
  opacity: 0.2;
  /* filter: blur(3px); */
}

.graduation-invitation-section {
  /* background: #eaf7ff; */
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 0;
  gap: 40px;
}

.graduation-invitation-section a {
  color: #00416b;
  font-weight: 500;
}

.stream-links {
  border-radius: 20px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;

  width: min(700px, 100%);
}

.stream-links a.disabled {
  color: #9ca8a8;
  font-weight: 500;
  cursor: not-allowed;
}

/* Live Section Enhancements */
.live-section {
  background-color: #214e7208;
  background-image: url('https://scfhs.org.sa/themes/schs/images/graduation/banner.png');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 80px 20px;
  position: relative;
}

.live-section > p:first-child {
  font-size: 24px;
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.live-section > p:nth-of-type(2) {
  font-size: 18px;
  color: var(--primary-blue);
  font-weight: 400;
  margin-top: 16px;
}

.live-section > p:nth-of-type(3),
.live-section > p:nth-of-type(4),
.live-section > p:nth-of-type(5) {
  font-size: 20px;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 12px;
}

.live-section > p:nth-of-type(5) {
  margin-bottom: 40px;
}

/* Info Cards Styling */
.live-section .d-flex:last-of-type {
  gap: 24px;
  margin-top: 40px;
}

.info-card {
  /* background: #ffffff;
        border-radius: 20px;
        padding: 32px 24px;
        box-shadow: 0 4px 20px rgba(34, 78, 114, 0.08);
        transition: all 0.3s ease;
        border: 1px solid rgba(34, 78, 114, 0.1); */
  min-width: 150px;
  flex: 1;
  max-width: 200px;
}

.info-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(34, 78, 114, 0.1));
}

.info-card p {
  margin: 0;
  color: #333333;
}

.info-card p strong {
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.info-card p:not(strong) {
  color: #6d7c7c;
  font-size: 14px;
  line-height: 1.5;
}

/* Stats Container - Elegant Graduation Design */
.stats-container {
  margin: 80px auto;
  max-width: 1200px;
  /* padding: 80px 60px; */
  position: relative;
  /* background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
        border-radius: 0;
        border-top: 3px solid var(--primary-yellow);
        border-bottom: 3px solid var(--primary-yellow); */
}

/* .stats-container::before {
        content: '';
        position: absolute;
        top: -3px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: var(--primary-blue);
      } */

/* .stats-container::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: var(--primary-blue);
      } */

.stats-intro {
  font-size: 28px;
  color: #333333;
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 1.8;
  position: relative;
  text-align: center;
}

.stats-intro::after {
  content: "✦";
  display: block;
  color: var(--primary-yellow);
  font-size: 20px;
  margin-top: 20px;
  opacity: 0.6;
}

.stats-main-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
  gap: 20px;
  position: relative;
  padding: 50px 0;
}

.stats-main-number::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-yellow),
    transparent
  );
}

.stats-main-number::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-yellow),
    transparent
  );
}

.stats-main-number .number {
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--primary-blue);
  position: relative;
  text-shadow: 0 8px 30px rgba(34, 78, 114, 0.15);
}

.stats-main-number .number::before {
  content: "◆";
  position: absolute;
  right: calc(100% + 30px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-yellow);
  font-size: 24px;
  opacity: 0.7;
}

.stats-main-number .number::after {
  content: "◆";
  position: absolute;
  left: calc(100% + 30px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-yellow);
  font-size: 24px;
  opacity: 0.7;
}

.stats-main-number .label {
  font-size: 32px;
  color: var(--primary-blue);
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: 1px;
  position: relative;
}

.stats-subtitle {
  font-size: 26px;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.8;
  font-weight: 400;
  text-align: center;
}

.stats-hashtag {
  font-size: 32px;
  color: var(--primary-yellow);
  font-weight: 700;
  margin-bottom: 80px;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.stats-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  margin-top: 70px;
  position: relative;
}

.stats-cards-wrapper::before {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-yellow);
  font-size: 32px;
  z-index: 1;
  text-shadow: 0 4px 12px rgba(244, 197, 92, 0.3);
}

.stats-card {
  background: #ffffff;
  padding: 50px 45px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 0 1 auto;
  min-width: 320px;
  max-width: 400px;
  position: relative;
  text-align: center;
  border-top: 2px solid var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
  border-radius: 0;
  box-shadow: 0 15px 50px rgba(34, 78, 114, 0.08);
}
.stats-card::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  border-radius: 0 0 10px 10px;
  background: var(--primary-yellow);
}

.stats-card::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  border-radius: 10px 10px 0 0;
  background: var(--primary-yellow);
}

/* .stats-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: var(--primary-yellow);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.4s ease;
      }

      .stats-card::after {
        content: '';
        position: absolute;
        top: 15px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        border: 1px solid var(--primary-yellow);
        opacity: 0.3;
        pointer-events: none;
      } */

.stats-card .stats-number {
  font-size: 72px;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -3px;
  position: relative;
  transition: all 0.4s ease;
}

/* .stats-card:hover .stats-number {
        color: var(--primary-yellow);
        text-shadow: 0 8px 20px rgba(244, 197, 92, 0.3);
        transform: scale(1.08);
      } */

.stats-card .stats-label {
  font-size: 20px;
  color: #333333;
  line-height: 1.7;
  font-weight: 500;
  position: relative;
  padding-top: 25px;
}

/* .stats-card .stats-label::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
        background: var(--primary-blue);
      }

      .stats-card:hover .stats-label::before {
        width: 80px;
        background: var(--primary-yellow);
      } */

/* Decorative SVG Images */
.live-section .d-flex:first-of-type {
  margin: 30px 0;
  gap: 20px;
}

.live-section .d-flex:first-of-type img:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .live-section {
    padding: 60px 16px;
  }

  .live-section > p:first-child {
    font-size: 20px;
  }

  .live-section > p:nth-of-type(3),
  .live-section > p:nth-of-type(4),
  .live-section > p:nth-of-type(5) {
    font-size: 18px;
  }

  .live-section .d-flex:last-of-type {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .info-card {
    max-width: 100%;
    width: 100%;
    max-width: 280px;
  }

  /* Responsive Stats */
  .stats-container {
    padding: 60px 30px;
    margin: 60px 20px;
  }

  .stats-main-number {
    margin: 50px 0;
    padding: 40px 0;
  }

  .stats-main-number .number {
    font-size: 80px;
    letter-spacing: -3px;
  }

  .stats-main-number .number::before,
  .stats-main-number .number::after {
    display: none;
  }

  .stats-main-number .label {
    font-size: 26px;
  }

  .stats-main-number::before,
  .stats-main-number::after {
    width: 100px;
  }

  .stats-intro {
    font-size: 24px;
  }

  .stats-subtitle {
    font-size: 22px;
  }

  .stats-hashtag {
    font-size: 26px;
    margin-bottom: 60px;
  }

  .stats-hashtag::before,
  .stats-hashtag::after {
    font-size: 20px;
  }

  .stats-cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
  }

  .stats-cards-wrapper::before {
    top: 50%;
    left: 50%;
  }

  .stats-card {
    width: 100%;
    max-width: 100%;
    padding: 45px 35px;
  }

  .stats-card .stats-number {
    font-size: 64px;
  }

  .stats-card .stats-label {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .live-section {
    padding: 40px 12px;
    background-position: -183px;
  }

  .info-card {
    padding: 24px 20px;
  }

  .stats-container {
    padding: 50px 24px;
    margin: 40px 16px;
  }

  .stats-container::before,
  .stats-container::after {
    width: 120px;
  }

  .stats-main-number {
    margin: 40px 0;
    padding: 35px 0;
  }

  .stats-main-number .number {
    font-size: 70px;
    letter-spacing: -2px;
  }

  .stats-main-number .label {
    font-size: 24px;
  }

  .stats-main-number::before,
  .stats-main-number::after {
    width: 80px;
  }

  .stats-intro {
    font-size: 21px;
  }

  .stats-intro::after {
    font-size: 16px;
    margin-top: 15px;
  }

  .stats-subtitle {
    font-size: 20px;
  }

  .stats-hashtag {
    font-size: 24px;
    margin-bottom: 50px;
  }

  .stats-hashtag::before,
  .stats-hashtag::after {
    font-size: 18px;
    right: calc(100% + 12px);
    left: calc(100% + 12px);
  }

  .stats-cards-wrapper {
    gap: 40px;
    margin-top: 50px;
  }

  .stats-card {
    padding: 40px 30px;
    min-width: unset;
  }

  .stats-card .stats-number {
    font-size: 58px;
  }

  .stats-card .stats-label {
    font-size: 18px;
  }
}

.timeline-wrapper {
  /* background: linear-gradient(135deg, #f0f7ff 0%, #e8f0f8 100%); */
  padding: 80px 20px 40px;
  /* border-radius: 24px;
          box-shadow: 0 10px 40px rgba(34, 78, 114, 0.08); */
}

.timeline-wrapper h4 {
  color: #224e72;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

/* .timeline-wrapper h4::after {
          content: '';
          position: absolute;
          bottom: -8px;
          left: 0;
          width: 80px;
          height: 4px;
          background: #F4C55C;
          border-radius: 2px;
        } */

.timeline-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding: 40px 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #f4c55c rgba(34, 78, 114, 0.1);
}

/* Modern Minimal Scrollbar */
.timeline-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.timeline-scroll-container::-webkit-scrollbar-track {
  background: rgba(34, 78, 114, 0.05);
  border-radius: 20px;
  margin: 0 40px;
}

.timeline-scroll-container::-webkit-scrollbar-thumb {
  background: #f4c55c;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.timeline-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #e6b84a;
}

.timeline {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  position: relative;
  min-width: max-content;
}

.timeline::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #f4c55c 10%,
    #f4c55c 90%,
    transparent
  );
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 1;
}

.task {
  background: white;
  border-radius: 0 0 16px 16px;
  padding: 24px 20px;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(34, 78, 114, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 2px solid transparent;
  position: relative;
}

.task::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: #f4c55c;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #f4c55c, 0 4px 12px rgba(244, 197, 92, 0.3);
  z-index: 2;
}

.time-badge {
  background: linear-gradient(135deg, #224e72, #2d6595);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(34, 78, 114, 0.25);
  letter-spacing: 0.5px;
  min-width: 100px;
  text-align: center;
}

.event-title {
  color: #224e72;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-note {
  margin-top: 30px;
  padding: 20px 24px;
  background: rgba(244, 197, 92, 0.1);
  border-right: 4px solid #f4c55c;
  border-radius: 8px;
  color: #224e72;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline-wrapper {
    padding: 30px 16px;
  }

  .timeline-wrapper h4 {
    font-size: 26px;
  }

  .task {
    min-width: 160px;
    padding: 20px 16px;
  }

  .time-badge {
    font-size: 15px;
    padding: 6px 16px;
  }

  .event-title {
    font-size: 16px;
  }

  .timeline-note {
    font-size: 14px;
    padding: 16px 20px;
  }
}


.section-qoute {
  background: var(--primary-blue);
  position: relative;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;

  background: var(--primary-blue) url("https://scfhs.org.sa/themes/schs/images/graduation/bg2.jpg")
  no-repeat;
  background-size: cover;
  background-position: center;
}

.section-qoute::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url("https://scfhs.org.sa/themes/schs/images/graduation/bg2.jpg")
  no-repeat;
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay; */
  background: rgba(34, 78, 114, 0.7);
  z-index: 0;
}

.section-qoute img {
  width: max(330px, 50%);
  margin: 20px auto;
  display: block;
  position: relative;
  z-index: 1;
}


.partner-logo {
  height: 135px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  color: #000;
  background: rgb(245, 197, 92);
  /* background: linear-gradient(180deg, rgba(245, 197, 92, 0.8) 0%, rgb(234 247 255) 80%); */
  background: linear-gradient(180deg, rgba(34, 78, 114, 0.7) 0%, #e7f1f8 80%);
  
  border-radius: 20px;
  min-width: 240px;
}

.partner-logo span {
  background: var(--primary-blue);
  color: var(--primary-yellow);
  padding: 4px 16px 8px;
  border-radius: 20px 20px 0 0;
  width: 100%;
  text-align: center;
}

.partner-logo img {
  max-width: 140px;
  max-height: 60px;
  min-height: 50px;
  object-fit: contain;
  margin-bottom: 24px;
}

footer {
  background: #e7f1f8;
  color: var(--primary-blue);
}

footer small {
  color: var(--primary-blue);
}