@import url("https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap");

@font-face {
  font-family: "Gerad";
  src: url("/Assets/Gerad.ttf") format("truetype");
}

:root {
  --Pri: #a00000;
  --Background: #181818;
  --Text: #ffffff;
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #464646;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a00000;
}

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

body {
  font-family: "Parkinsans", sans-serif;
  background-color: var(--Background);
  color: var(--Text);
}

a {
  text-decoration: none;
  color: var(--Text);
  cursor: pointer;
}

h1 {
  font-family: "Gerad", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  text-align: center;
  font-size: 2vw;
}
h1 b {
  color: var(--Pri);
}

h2 {
  font-family: "Gerad";
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.5vw;
}
h2 b {
  color: var(--Pri);
}

img {
  image-rendering: optimizeSpeed;
}

/* <---- Buttons ----> */

.button {
  background-color: var(--Pri);
  color: #fff;
  padding: 0.8vw 1.5vw;
  padding-top: calc(0.8vw + 3px);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Gerad";
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #800000;
}

@media screen and (max-width: 768px) {
  .button {
    font-size: 5vw;
    padding: 4vw 6vw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .button:hover {
    background-color: var(--Pri);
    scale: 1;
  }
}

.inverted {
  background-color: var(--Background);
  color: var(--Text);
  scale: 1.1;
}

.inverted:hover {
  background-color: var(--Background);
  scale: 1.2;
  color: var(--Pri);
}

/* <---- Navbar ----> */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 8vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--Background);
  backdrop-filter: blur(10px);
  padding: 10px 5%;
  z-index: 1000;
}

.navbar .logo {
  height: 100%;
  padding: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 90%;
}

.navbar .right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar .links {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1;
  white-space: nowrap;
}

.navbar .links a {
  text-decoration: none;
  color: var(--Text);
  font-size: 0.8vw;
  transition: color 0.3s;
  padding: 10px;
}

.navbar .links a:hover {
  color: var(--Pri);
}

/* Dropdown */

.dropdown-toggle {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  z-index: 3;
  font-size: 0.8vw;
  padding: 10px;
}

.dropdown-toggle:hover {
  color: var(--Pri);
}

.dropdown-toggle.active {
  color: var(--Pri);
}

.dropdown-toggle i {
  margin-left: 5px;
  transition: all 0.3s ease;
}

.dropdown-toggle.active i {
  rotate: 180deg;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: calc(-8%);
  display: none;
  background-color: var(--Background);
  backdrop-filter: blur(10px);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding: 10px 10px;
  z-index: 999;
  flex-direction: column;
  min-width: 150px;
  text-align: center;
  white-space: nowrap;
}

.dropdown.active {
  display: flex;
}

.dropdown a {
  padding: 10px 20px;
  color: var(--Text);
  font-size: 0.8vw;
  transition: all 0.3s ease;
}

.dropdown a:hover {
  color: var(--Pri);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 11000;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.4s;
}

.hamburger span:nth-child(2) {
  background-color: var(--Pri);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(17px) rotate(45deg);
  background-color: var(--Pri);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--Pri);
}

@media screen and (max-width: 1024px) {
  .navbar .logo {
    height: 80%;
  }

  .navbar .links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar .links a {
    text-decoration: none;
    color: var(--Text);
    font-size: 5.5vw;
  }

  .dropdown-toggle {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    align-items: center;
    z-index: 3;
    font-size: 5.5vw;
    padding: 10px;
  }
  .dropdown {
    position: absolute;
    justify-content: center;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .dropdown a {
    padding: 30px 20px;
    color: var(--Text);
    font-size: 5.5vw;
    transition: all 0.3s ease;
  }

  .navbar .right {
    display: flex;
    position: fixed;
    top: 8vh;
    right: -100%;
    width: 100%;
    height: 92vh;
    background-color: var(--Background);
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 30px;
    z-index: 999;
    transition: right 0.3s ease;
  }

  .navbar .right.active {
    right: 0;
  }

  .navbar .right .button {
    position: absolute;
    bottom: 10%;
    width: 80%;
    text-align: center;
    padding: 20px 0;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
  }
}

/* <---- Hero Image ----> */

.hero {
  width: 100%;
  height: 100vh;
  background: url("/Assets/Images/Banners/HomeBanner.png") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--Text);
  padding: 0 20px;
  border-radius: 20px;
}

.hero img {
  width: 60%;
}

.hero .scroller {
  position: absolute;
  bottom: 5%;
  font-size: 45px;
  color: var(--Text);
  animation: bounce 2s infinite;
  transition: all 0.3s ease;
}

.hero h1 {
  font-size: 4vw;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

.hero .scroller:hover {
  color: var(--Pri);
  scale: 1.1;
}

@media screen and (max-width: 768px) {
  .hero img {
    width: 90%;
  }

  .hero .scroller {
    font-size: 30px;
  }

  .hero h1 {
    font-size: 15vw;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Hero Images */

.events {
  background: url("/Assets/Images/Banners/EventsBanner.png");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 50vh;
}

.news {
  background: url("/Assets/Images/Banners/NewsBanner.png");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 50vh;
}

.gallery {
  background: url("/Assets/Images/Banners/GalleryBanner.png");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 50vh;
}

.about {
  background: url("/Assets/Images/Banners/AboutBanner.png");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 50vh;
}

@media screen and (max-width: 1024px) {
  .events {
    background-position: center;
  }

  .news {
    background-position: center;
  }

  .gallery {
    background-position: center;
  }

  .about {
    background-position: center;
  }
}

/* <---- Welcome Section ----> */

.welcome {
  padding: 30px 20px;
  text-align: center;
}

/* <---- Section Type 1 (Side by Side Text & Image) ----> */

.section-type-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  gap: 50px;
}

/* Left */

.section-type-1 .left {
  width: 50%;
  text-align: center;
}

.section-type-1 .left p {
  font-size: 0.8vw;
}

/* Right */

.section-type-1 .right {
  width: 50%;
}

.section-type-1 .right img {
  width: 100%;
  border-radius: 15px;
}

@media screen and (max-width: 1024px) {
  .section-type-1 {
    flex-direction: column;
    padding: 30px 10px;
  }

  .section-type-1 .left,
  .section-type-1 .right {
    width: 100%;
  }

  .section-type-1 .left p {
    font-size: 4vw;
  }
  h1 {
    font-size: 8vw;
  }
}

/* <---- Section Type 2 (Triple Box Horizontal) ----> */

.section-type-2 {
  background-color: var(--Pri);
  margin: 10px;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  padding: 2% 12.5%;
  gap: 30px;
  border-radius: 15px;
}

.section-type-2 .box {
  background-color: var(--Background);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1;
  cursor: default;
  transition: transform 0.3s ease;
}

.section-type-2 .box:hover {
  transform: translateY(-10px);
}

.section-type-2 .box i {
  font-size: 50px;
  margin-bottom: 15px;
  color: #fff;
}

.section-type-2 .box h2 {
  font-size: 1.3vw;
  margin-bottom: 5px;
  color: #fff;
}

.section-type-2 .box p {
  font-size: 0.7vw;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .section-type-2 {
    grid-template-columns: 1fr;
    padding: 5% 10%;
  }

  .section-type-2 .box h2 {
    font-size: 6vw;
  }

  .section-type-2 .box p {
    font-size: 4vw;
  }

  .section-type-2 .box i {
    font-size: 15vw;
    margin-bottom: 5vw;
  }
  .section-type-2 .box:hover {
    transform: none;
  }

  .section-type-2 br {
    display: none;
  }
}

/* <---- Section Type 3 (Events & News Grid) ----> */

.section-type-3 {
  padding: 20px;
  text-align: center;
}

.section-type-3 .grid {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
  margin-top: 20px;
  padding: 0 5vw;
}

.section-type-3 .grid .box {
  max-width: 33.33vw;
  background-color: #242424;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: default;
}

.section-type-3 .grid .box:hover {
  transform: translateY(-10px);
}

.section-type-3 .grid .box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
}

.section-type-3 .grid .box .info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-type-3 .grid .box .info h2 {
  padding: 5px;
  margin-bottom: 15px;
}

.section-type-3 .grid .box .btncontainer {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 5px;
  gap: 5px;
}

.section-type-3 .grid .box .button {
  display: flex;
  width: calc(100% - 10px);
  justify-content: center;
}

@media screen and (max-width: 1024px) {
  .section-type-3 {
    padding: 20px;
    text-align: center;
  }

  .section-type-3 .grid {
    display: grid;
    grid-template-columns: 90vw;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 0;
  }

  .section-type-3 .grid .box {
    max-width: 90vw;
    background-color: #242424;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: default;
  }

  .section-type-3 .grid .box:hover {
    transform: translateY(0);
  }

  .section-type-3 .grid .box .info h2 {
    font-size: 6vw;
  }
}

/* <---- Convoy Event Viewer ----> */

.convoy-1 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.822);
  backdrop-filter: blur(6px);
  z-index: 10000;
}
.convoy-1.active {
  display: block;
}

.convoy-1 .left {
  position: fixed;
  height: calc(100% - 20px);
  width: 25vw;
  background-color: var(--Background);
  margin: 10px;
  border-radius: 15px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  left: 0;
  align-items: center;
  transition: all 0.3s ease;
}
.convoy-1 .left.collapsed {
  left: -27%;
}

.convoy-1 .left h2 {
  text-align: center;
  margin-bottom: 5px;
}

.convoy-1 .left .top {
  display: none;
}

.convoy-1 .left .bottom {
  position: absolute;
  bottom: 3%;
  width: 23.5vw;
}

/* Card 1 */

.convoy-1 .left .card-1 {
  background-color: #242424;
  padding: 15px;
  border-radius: 15px;
  width: 100%;
}

.convoy-1 .left .card-1 p {
  margin: 5px;
  display: flex;
  align-items: center;
  font-size: 0.7vw;
}

.convoy-1 .left .card-1 i {
  margin-right: 5px;
  color: var(--Pri);
  font-size: 0.9vw;
}

/* Card 2 */

.convoy-1 .left .card-2 {
  margin-top: 15px;
  background-color: #242424;
  padding: 15px;
  border-radius: 15px;
  height: 35vh;
  overflow-y: scroll;
  font-size: 0.7vw;
}

.convoy-1 .left .card-2 .row {
  margin-top: 10px;
  display: flex;
  width: 100%;
  gap: 10px;
}

.convoy-1 .left .card-2 .row .company {
  width: 32%;
  padding: 10px;
  background-color: var(--Background);
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.convoy-1 .left .card-2 .row .company img {
  width: 100%;
  border-radius: 15px;
}

.convoy-1 .left .card-2 .row .company:hover {
  color: var(--Pri);
}

/* Route Map */

.collapse,
.close {
  width: 2.5vw;
  height: 2.5vw;
  background-color: var(--Pri);
  font-size: 1vw;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.collapse:hover,
.close:hover {
  scale: 1.1;
}

.collapse {
  position: fixed;
  z-index: 100;
  top: 2%;
  left: 26.5%;
}
.collapse.active {
  left: 1%;
  rotate: 180deg;
}

.close {
  position: fixed;
  z-index: 100;
  top: 2%;
  right: 1.5%;
}

.route {
  position: fixed;
  right: 2%;
  bottom: 5%;
  width: 70%;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.route img {
  width: 100%;
  border-radius: 15px;
}

.route.large {
  right: 10%;
  bottom: 3%;
  width: 80%;
}

.route .button {
  position: fixed;
  width: 18%;
  right: 3%;
  bottom: 7%;
}

.route.large .button {
  right: 11%;
  bottom: 5%;
}

@media screen and (max-width: 1025px) {
  .close {
    width: 13vw;
    height: 13vw;
    font-size: 5vw;
  }

  .collapse {
    display: none;
  }

  .route {
    display: none;
  }

  .convoy-1 .left {
    position: fixed;
    height: calc(100%);
    width: 100vw;
    background-color: var(--Background);
    margin: 0;
    border-radius: 0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    left: 0;
    align-items: center;
    transition: all 0.3s ease;
  }

  .convoy-1 .left .card-1 p {
    font-size: 3vw;
  }

  .convoy-1 .left .card-1 i {
    font-size: 4vw;
  }

  .convoy-1 .left .card-2 {
    margin-top: 15px;
    background-color: #242424;
    padding: 15px;
    border-radius: 15px;
    height: 35vh;
    overflow-y: scroll;
    font-size: 3vw;
  }

  .convoy-1 .left h2 {
    font-size: 6vw;
    margin-bottom: 5px;
  }

  .convoy-1 .left .top {
    display: block;
    position: absolute;
    bottom: 10%;
    width: 90vw;
    text-align: center;
  }

  .convoy-1 .left .bottom {
    position: absolute;
    bottom: 3%;
    width: 90vw;
  }
}

/* <---- Gallery ----> */

.gallery-container .date {
  display: flex;
  align-items: center;
  margin-left: -20px;
}

.gallery-container span {
  width: 5vw;
  height: 5px;
  background-color: var(--Pri);
  border-radius: 10px;
}

.gallery-container h1 {
  margin-left: 20px;
  padding-top: 5px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  padding: 10px;
}

.gallery-grid a {
  width: 100%;
  padding: 10px;
  transition: all 0.3s ease;
}

.gallery-grid a img {
  width: 100%;
  border-radius: 10px;
}

.gallery-grid a:hover {
  padding-top: 5px;
  opacity: 0.8;
}

@media screen and (max-width: 1000px) {
  .gallery-container span {
    width: 15vw;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 95vw;
    justify-content: center;
    padding: 10px;
  }

  .gallery-grid a {
    width: 100%;
    padding: 10px;
    transition: all 0.3s ease;
  }

  .gallery-grid a img {
    width: 100%;
    border-radius: 10px;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1050px) {
  .gallery-container span {
    width: 10vw;
  }

  .gallery-grid {
    grid-template-columns: auto auto;
  }
}

/* <---- Our Team (Grid) ----> */

.team-container {
  padding: 10px;
  text-align: center;
}

.team-container .grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.team-container .grid .box {
  background-color: var(--Pri);
  width: 15%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.team-container .grid .box img {
  width: 100%;
  border-radius: 10px;
}

.team-container .grid .box h3 {
  font-family: "Gerad";
  text-transform: uppercase;
  font-size: 1.25vw;
  margin-top: 10px;
}

.team-container .grid .box:hover {
  scale: 1.05;
  background-color: #800000;
}

@media screen and (max-width: 1024px) {
  .team-container .grid {
    display: flex;
    flex-direction: column;
    padding: 0 5vw;
  }
  .team-container .grid .box {
    background-color: var(--Pri);
    width: 100%;
  }
  .team-container .grid .box:hover {
    scale: 1;
    background-color: var(--Pri);
  }
  .team-container .grid .box h3 {
    font-size: 5vw;
  }

  .team-container h2 {
    font-size: 6vw;
  }
}

/* <---- Our Roadmap (Timeline) ----> */

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline .container {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline .container::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid var(--Pri);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline .left {
  left: 0;
}

.timeline .right {
  left: 50%;
}

.timeline .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--Pri);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--Pri);
}

.timeline .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--Pri);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--Pri) transparent transparent;
}

.timeline .right::after {
  left: -16px;
}

.timeline .content {
  padding: 20px 30px;
  background-color: var(--Pri);
  position: relative;
  border-radius: 6px;
}

.timeline .content p {
  margin-bottom: 20px;
}

.timeline .content .button:hover {
  scale: 1.05;
}

@media screen and (max-width: 600px) {
  .timeline::after {
    left: 31px;
  }

  .timeline .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline .container::before {
    left: 60px;
    border: medium solid var(--Pri);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--Pri) transparent transparent;
  }

  .timeline .left::after,
  .timeline .right::after {
    left: 15px;
  }

  .timeline .right {
    left: 0%;
  }

  .timeline .content h2 {
    font-size: 5vw;
  }

  .timeline .content .button {
    font-size: 4vw;
  }

  .timeline .content .button:hover {
    scale: 1.1;
  }
}

/* <---- Footer ----> */

footer {
  width: 100%;
  text-align: center;
  padding: 20px;
  background-color: var(--Pri);
  color: var(--Text);
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

footer .divider {
  width: 2px;
  background-color: var(--Text);
  height: 20px;
  align-self: center;
}

@media screen and (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 10px;
  }

  footer .divider {
    width: 35vw;
    background-color: var(--Text);
    height: 2px;
  }
}

/* HUGE IPAD PRO FONT SIZING */

@media screen and (min-width: 1000px) and (max-width: 1050px) {
  .section-type-1 .left p {
    font-size: 2.5vw;
    padding: 5px;
  }
  h1 {
    font-size: 4vw;
  }
  .section-type-2 .box p {
    font-size: 2.5vw;
  }
}
