/* Fonts */
:root {
  --default-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* White Background color for the entire website, including individual sections */
  --apas-red: #ff0000; /* Red shade of APAS */
  --apas-black: #000000; /* Black shade of APAS */
  --apas-light-red: #ec2227; /* Light Red shade of APAS */

  
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-mobile-background-color: #000000; /* Used as the background color for mobile navigation menu */
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--apas-black);
  background-color: var(--background-color);
  font-family: var(--default-font);
  overflow-x: hidden;
}

a {
  color: var(--background-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--apas-black), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--apas-black);
  font-family: var(--default-font);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--apas-black);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--background-color);
  border-color: var(--apas-black) transparent var(--apas-black) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--apas-black);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
  margin: 0 20px 20px;
}

.scroll-top i {
  font-size: 32px;
  color: var(--background-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--apas-black), transparent 20%);
  color: var(--background-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color: var(--apas-black);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid
    color-mix(in srgb, var(--apas-black), transparent 85%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  height: 44px;
  width: auto;
  margin-right: 8px;
}

.header .btn-contact-us,
.header .btn-contact-us:focus {
  color: var(--background-color);
  background: var(--apas-red);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  margin-left: 10px;
  border: 2px solid var(--apas-red);
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.header .btn-contact-us:hover {
  background: var(--background-color);
  color: var(--apas-red);
  border-color: var(--apas-red);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-contact-us {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }

  .btn-container {
    text-align: center;
  }

  .header .btn-contact-us,
  .header .btn-contact-us:focus {
    display: inline-block;
    color: var(--background-color);
    background: var(--apas-red);
    font-size: 18px;
    padding: 10px 20px;
    border: 2px solid var(--apas-red);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 20px auto;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--background-color);
    padding: 18px 15px;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus,
  .btn-contact-us {
    color: var(--background-color);
  }

  .navmenu li:hover > a {
    color: var(--background-color);
  }

  .mobile-logo {
    display: none;
  }

  .logo-img {
    display: block;
  }

  .mobile-nav-active .navmenu {
    position: static;
  }

  .mobile-nav-active .navmenu ul {
    display: flex;
  }

  .mobile-nav-toggle {
    display: none;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .container-fluid.container-xl {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .logo-img {
    display: block;
    margin: 0 auto;
  }

  .mobile-nav-toggle {
    color: var(--background-color);
    font-size: 25px;
    line-height: 0;
    margin-left: 10px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s ease;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 0;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--background-color);
    padding: 20px 20px 20px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(
      in srgb,
      var(--background-color),
      transparent 90%
    );
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--apas-black);
    color: var(--background-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--apas-black);
    color: var(--apas-black);
    transform: rotate(180deg);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--background-color);
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
    transform: rotate(180deg);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }

  .mobile-nav-active .mobile-nav-toggle {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
  }

  .mobile-nav-toggle {
    transition: color 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
  }

  .mobile-logo {
    display: block;
    margin: 25px auto;
    padding-bottom: 50px;
    text-align: center;
    max-height: 110px;
    width: auto;
  }
}

/*--------------------------------------------------------------
# Global Nav Link
--------------------------------------------------------------*/

.nav-link {
  text-decoration: none;
  color: var(--background-color);
}

.nav-link:hover {
  text-decoration: none;
  color: var(--background-color);
  font-weight: 800;
}

.nav-link.active {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  color: var(--background-color);
  font-weight: 800;
  justify-content: center;
}


/*--------------------------------------------------------------
# Label
--------------------------------------------------------------*/
#policies .container {
  position: relative; 
  z-index: 2; 
  color: var(--esnapped-black);
  padding: 2rem; 
}

.policies-label {
  color: var(--tlpe-black);
  font-weight: 700;
  font-size: 16px;
}

@media (max-width: 1199px) {
  .policiies-label h1 {
    font-size: 14px;
    font-weight: 700;
  }

  .policies-label p {
    margin: 0 10px 10px 10px;
  }
}

/*--------------------------------------------------------------
# Description
--------------------------------------------------------------*/

.policies-description {
  font-size: 14px;
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 30px;

}

.desc-link {
  color: var(--apn-blue);
  font-weight: 600;
}

.desc-link:hover {
  color: color-mix(in srgb, var(--apn-blue), transparent 25%);

}

@media (max-width: 1199px) {
  .policies-description p {
    margin: 0 10px 30px 10px;
    line-height: 1.8;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--background-color);
  background-color: var(--apas-black);
  border-top: 1px solid color-mix(in srgb, var(--apas-red), transparent 80%);
  font-size: 14px;
  padding: 40px 20px;
  position: relative;
}

.footer .footer-top {
  padding: 20px 0;
}

.footer .footer-about {
  text-align: center;
}

.footer .footer-about img {
  max-height: 50px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.footer .footer-links,
.footer .footer-contact {
  padding-left: 20px;
  padding-right: 20px;
}

.footer .footer-links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.footer h4 {
  text-align: left;
  margin-left: 0;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  color: var(--background-color);
}

.footer .footer-links ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.footer .footer-links ul li {
  padding: 5px 0;
}

.footer .footer-links ul a {
  color: var(--background-color);
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: var(--background-color);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 20px;
  color: var(--background-color);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-media {
  width: 30px;
  height: auto;
}

.footer .copyright {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: var(--warp-blue);
  color: var(--background-color);
}

.footer .copyright p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer .footer-links,
  .footer .footer-contact {
    text-align: center;
  }

  .footer .footer-links h4,
  .footer .footer-contact h4 {
    text-align: center;
  }

  .footer .footer-links ul,
  .footer .footer-contact ul {
    text-align: center;
  }
}
