/* Fonts */
:root {
   --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
      sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
   --heading-font: "Raleway", sans-serif;
   --nav-font: "Inter", sans-serif;
}

/* 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;
   /* Background color for the entire website, including individual sections */
   --default-color: #444444;
   /* Default color used for the majority of the text content across the entire website */
   --heading-color: #273d4e;
   /* Color for headings, subheadings and title throughout the website */
   --accent-color: #ff4a17;
   /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
   --surface-color: #ffffff;
   /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
   --contrast-color: #ffffff;
   /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* 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-color: #e5eaee;
   /* The default color of the main nav-menu links */
   --nav-hover-color: #ff4a17;
   /* Applied to main nav-menu links when they are hovered over or active */
   --nav-mobile-background-color: #ffffff;
   /* Used as the background color for mobile navigation menu */
   --nav-dropdown-background-color: #ffffff;
   /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
   --nav-dropdown-color: #444444;
   /* Used for navigation links of the dropdown items in the navigation menu. */
   --nav-dropdown-hover-color: #ff4a17;
   /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
   --background-color: #f1f4fa;
   --surface-color: #ffffff;
}

.dark-background {
   --background-color: #000910;
   --default-color: #ffffff;
   --heading-color: #ffffff;
   --surface-color: #28323a;
   --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
   scroll-behavior: smooth;
}

:root {
   --border-radius: 10px;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
   color: var(--default-color);
   background-color: var(--background-color);
   font-family: var(--default-font);
}

a {
   color: var(--accent-color);
   text-decoration: none;
   transition: 0.3s;
}

a:hover {
   color: color-mix(in srgb, var(--accent-color), transparent 25%);
   text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   color: var(--heading-color);
   font-family: var(--heading-font);
}

.img-fluid {
   width: 100%;
   max-width: none;
}

.default-shadow {
   box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.default-br {
   border-radius: var(--border-radius);
}

/* PHP Email Form Messages
------------------------------*/
.submit-forms .error-message {
   background: #df1529;
   color: #ffffff;
   text-align: center;
   padding: 15px;
   margin: 12px 0;
   font-weight: 600;
}

.submit-forms .sent-message {
   color: #ffffff;
   background: #059652;
   text-align: center;
   padding: 15px;
   margin: 12px 0;
   font-weight: 600;
}

.submit-forms .loading {
   background: var(--surface-color);
   text-align: center;
   transition: 0.4s;
}

.submit-forms .loading:before {
   content: "";
   display: inline-block;
   border-radius: 50%;
   width: 24px;
   height: 24px;
   margin: 0 10px -6px 0;
   border: 3px solid var(--accent-color);
   border-top-color: var(--surface-color);
   animation: submit-forms-loading 1s linear infinite;
}

@keyframes submit-forms-loading {
   0% {
      transform: rotate(0deg);
   }

   100% {
      transform: rotate(360deg);
   }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
   --background-color: rgba(0, 0, 0, 0.25);
   --default-color: #ffffff;
   --heading-color: #ffffff;
   color: var(--default-color);
   background-color: var(--background-color);
   padding: 5px 0;
   transition: all 0.5s;
   z-index: 997;
}

.header .logo {
   line-height: 1;
}

.header .logo img {
   max-height: 36px;
   margin-right: 8px;
}

.header .logo h1 {
   font-size: 30px;
   margin: 0;
   font-weight: 700;
   color: var(--heading-color);
}

.header .cta-btn {
   color: var(--contrast-color);
   font-size: 13px;
   padding: 7px 25px;
   margin: 0 15px;
   transition: 0.3s;
   text-transform: uppercase;
   border: 2px solid var(--contrast-color);
}

.header .cta-btn:hover,
.header .cta-btn:focus,
.header .cta-btn:focus:hover {
   color: var(--contrast-color);
   background: var(--accent-color);
   border-color: var(--accent-color);
}

@media (max-width: 1200px) {
   /* .header .logo {
    order: 1;
  } */

   /* .header .cta-btn {
      order: 2;
      margin: 0 15px 0 0;
      padding: 6px 15px;
   } */

   .header .nav-menu {
      order: 3;
   }
}

.scrolled .header {
   box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
   --background-color: rgba(21, 34, 43, 0.85);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
   .nav-menu {
      padding: 0;
   }

   .nav-menu ul {
      margin: 0;
      padding: 0;
      display: flex;
      list-style: none;
      align-items: center;
   }

   .nav-menu li {
      position: relative;
   }

   .nav-menu > ul > li {
      white-space: nowrap;
      padding: 15px 14px;
   }

   .nav-menu > ul > li:last-child {
      padding-right: 0;
   }

   .nav-menu a,
   .nav-menu a:focus {
      color: var(--nav-color);
      font-size: 13px;
      padding: 0 2px;
      font-family: var(--nav-font);
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
      position: relative;
      text-transform: uppercase;
   }

   .nav-menu a i,
   .nav-menu a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      transition: 0.3s;
   }

   .nav-menu > ul > li > a:before {
      content: "";
      position: absolute;
      height: 2px;
      bottom: -6px;
      left: 0;
      background-color: var(--nav-hover-color);
      visibility: hidden;
      width: 0px;
      transition: all 0.3s ease-in-out 0s;
   }

   .nav-menu a:hover:before,
   .nav-menu li:hover > a:before,
   .nav-menu .active:before {
      visibility: visible;
      width: 100%;
   }

   .nav-menu li:hover > a,
   .nav-menu .active,
   .nav-menu .active:focus {
      color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
   }

   .nav-menu .dropdown ul {
      margin: 0;
      padding: 10px 0;
      background: var(--nav-dropdown-background-color);
      display: block;
      position: absolute;
      visibility: hidden;
      left: 14px;
      top: 130%;
      opacity: 0;
      transition: 0.3s;
      border-radius: 4px;
      z-index: 99;
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
   }

   .nav-menu .dropdown ul li {
      min-width: 200px;
   }

   .nav-menu .dropdown ul a {
      padding: 10px 20px;
      font-size: 15px;
      text-transform: none;
      color: var(--nav-dropdown-color);
   }

   .nav-menu .dropdown ul a i {
      font-size: 12px;
   }

   .nav-menu .dropdown ul a:hover,
   .nav-menu .dropdown ul .active:hover,
   .nav-menu .dropdown ul li:hover > a {
      color: var(--nav-dropdown-hover-color);
   }

   .nav-menu .dropdown:hover > ul {
      opacity: 1;
      top: 100%;
      visibility: visible;
   }

   .nav-menu .dropdown .dropdown ul {
      top: 0;
      left: -90%;
      visibility: hidden;
   }

   .nav-menu .dropdown .dropdown:hover > ul {
      opacity: 1;
      top: 0;
      left: -100%;
      visibility: visible;
   }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
   .mobile-nav-toggle {
      color: var(--nav-color);
      font-size: 28px;
      line-height: 0;
      margin-right: 10px;
      cursor: pointer;
      transition: color 0.3s;
   }

   .nav-menu {
      padding: 0;
      z-index: 9997;
   }

   .nav-menu ul {
      display: none;
      list-style: none;
      position: absolute;
      inset: 60px 20px 20px 20px;
      padding: 10px 0;
      margin: 0;
      border-radius: 6px;
      background-color: var(--nav-mobile-background-color);
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      box-shadow: none;
      overflow-y: auto;
      transition: 0.3s;
      z-index: 9998;
   }

   .nav-menu a,
   .nav-menu a:focus {
      color: var(--nav-dropdown-color);
      padding: 10px 20px;
      font-family: var(--nav-font);
      font-size: 17px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
   }

   .nav-menu a i,
   .nav-menu 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(--accent-color), transparent 90%);
   }

   .nav-menu a i:hover,
   .nav-menu a:focus i:hover {
      background-color: var(--accent-color);
      color: var(--contrast-color);
   }

   .nav-menu a:hover,
   .nav-menu .active,
   .nav-menu .active:focus {
      color: var(--nav-dropdown-hover-color);
   }

   .nav-menu .active i,
   .nav-menu .active:focus i {
      background-color: var(--accent-color);
      color: var(--contrast-color);
      transform: rotate(180deg);
   }

   .nav-menu .dropdown ul {
      position: static;
      display: none;
      z-index: 99;
      padding: 10px 0;
      margin: 10px 20px;
      background-color: var(--nav-dropdown-background-color);
      transition: all 0.5s ease-in-out;
   }

   .nav-menu .dropdown ul ul {
      background-color: rgba(33, 37, 41, 0.1);
   }

   .nav-menu .dropdown > .dropdown-active {
      display: block;
      background-color: rgba(33, 37, 41, 0.03);
   }

   .mobile-nav-active {
      overflow: hidden;
   }

   .mobile-nav-active .mobile-nav-toggle {
      color: #fff;
      position: absolute;
      font-size: 32px;
      top: 15px;
      right: 15px;
      margin-right: 0;
      z-index: 9999;
   }

   .mobile-nav-active .nav-menu {
      position: fixed;
      overflow: hidden;
      inset: 0;
      background: rgba(33, 37, 41, 0.8);
      transition: 0.3s;
   }

   .mobile-nav-active .nav-menu > ul {
      display: block;
   }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
   color: var(--default-color);
   background-color: var(--background-color);
   font-size: 14px;
   position: relative;
}

.footer .footer-top {
   padding-top: 50px;
   border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
   line-height: 1;
   margin-bottom: 25px;
}

.footer .footer-about .logo img {
   max-height: 40px;
   margin-right: 6px;
}

.footer .footer-about .logo span {
   font-size: 26px;
   font-weight: 700;
   letter-spacing: 1px;
   font-family: var(--heading-font);
   color: var(--heading-color);
}

.footer .footer-about p {
   font-size: 14px;
   font-family: var(--heading-font);
}

.footer .social-links a {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
   font-size: 16px;
   color: color-mix(in srgb, var(--default-color), transparent 30%);
   margin-right: 10px;
   transition: 0.3s;
}

.footer .social-links a:hover {
   color: var(--accent-color);
   border-color: var(--accent-color);
}

.footer h4 {
   font-size: 16px;
   font-weight: bold;
   position: relative;
   padding-bottom: 12px;
}

.footer .footer-links ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.footer .footer-links ul i {
   padding-right: 3px;
   font-size: 13px;
   line-height: 0;
   color: var(--accent-color);
}

.footer .footer-links ul li {
   padding: 10px 0;
   display: flex;
   align-items: center;
}

.footer .footer-links ul li:first-child {
   padding-top: 0;
}

.footer .footer-links ul a {
   color: color-mix(in srgb, var(--default-color), transparent 30%);
   display: inline-block;
   line-height: 1;
}

.footer .footer-links ul a:hover {
   color: var(--accent-color);
}

.footer .footer-contact p {
   margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
   margin-top: 30px;
   margin-bottom: 15px;
   padding: 6px 8px;
   position: relative;
   border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
   display: flex;
   background-color: var(--background-color);
   transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
   border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"] {
   border: 0;
   padding: 4px;
   width: 100%;
   background-color: var(--background-color);
   color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"]:focus-visible {
   outline: none;
}

.footer .footer-newsletter .newsletter-form #nl-submit {
   border: 0;
   font-size: 16px;
   padding: 0 20px;
   margin: -7px -8px -7px 0;
   background: var(--accent-color);
   color: var(--contrast-color);
   transition: 0.3s;
   border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer .footer-newsletter .newsletter-form #nl-submit:hover {
   background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-newsletter .newsletter-form #nl-submit:disabled {
   background: #828282;
}

.footer .footer-newsletter .newsletter-form #nl-submit:disabled:hover {
   background: #828282;
}

.submit-forms .loading#nl-loading {
   background: var(--background-color);
}

.footer .copyright {
   padding: 25px 0;
   border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
   margin-bottom: 0;
}

.footer .credits {
   margin-top: 6px;
   font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
   position: fixed;
   inset: 0;
   z-index: 999999;
   overflow: hidden;
   background: var(--background-color);
   transition: all 0.6s ease-out;
}

#preloader:before {
   content: "";
   position: fixed;
   top: calc(50% - 30px);
   left: calc(50% - 30px);
   border: 6px solid #ffffff;
   border-color: var(--accent-color) transparent var(--accent-color) 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(--accent-color);
   transition: all 0.4s;
   padding: 10px;
}

.scroll-top i {
   font-size: 24px;
   color: var(--contrast-color);
   line-height: 0;
}

.scroll-top:hover {
   background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
   color: var(--contrast-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 Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
   color: var(--default-color);
   background-color: var(--background-color);
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   padding: 160px 0 80px 0;
   text-align: center;
   position: relative;
}

.page-title:before {
   content: "";
   background: color-mix(in srgb, var(--background-color), transparent 30%);
   position: absolute;
   inset: 0;
}

.page-title h1 {
   font-size: 42px;
   font-weight: 700;
   margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
   display: flex;
   flex-wrap: wrap;
   list-style: none;
   justify-content: center;
   padding: 0;
   margin: 0;
   font-size: 16px;
   font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
   padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
   content: "/";
   display: inline-block;
   padding-right: 10px;
   color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
   color: var(--default-color);
   background-color: var(--background-color);
   padding: 60px 0;
   scroll-margin-top: 90px;
   overflow: clip;
}

@media (max-width: 1199px) {
   section,
   .section {
      scroll-margin-top: 76px;
   }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
   padding-bottom: 60px;
   position: relative;
}

.section-title h2 {
   font-size: 14px;
   font-weight: 500;
   padding: 0;
   line-height: 1px;
   margin: 0;
   letter-spacing: 1.5px;
   text-transform: uppercase;
   color: color-mix(in srgb, var(--default-color), transparent 50%);
   position: relative;
}

.section-title h2::after {
   content: "";
   width: 120px;
   height: 1px;
   display: inline-block;
   background: var(--accent-color);
   margin: 4px 10px;
}

.section-title p {
   color: var(--heading-color);
   margin: 0;
   font-size: 36px;
   font-weight: 800;
   text-transform: uppercase;
   font-family: var(--heading-font);
}

@media (max-width: 768px) {
   .section-title p {
      font-size: 24px;
   }
}

.main-content:first-of-type {
   padding-top: 4rem;
}
