
/* Fonts */
html{ scroll-behavior: smooth; }
:root {
  --default-font: "Roboto",  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";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  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: #0430b4; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #76b5f5; /* 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: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #1acc8d; /* Applied to main navmenu 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: #1acc8d; /* 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: #f4f5fe;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #08005e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0c0091;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# 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);
}
.L-Heading{
  font-size: 4rem;
}
  /*--------------------------------------------------------------
  # Global Footer
  --------------------------------------------------------------*/
  
  
  .footer .footer-about .logo img {
    width: 250px;
  }
  
/*--------------------------------------------------------------
# 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);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.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);
  position: relative;
}

.page-title .heading {
  padding: 160px 0 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 88%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 40px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# 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 div {
  color: var(--heading-color);
  margin: 0;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.custom-nav-container  ul li {
  list-style: none;
}

/* Header Styles */
#header {
  transition: transform 1s ease-in-out !important;
}
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #162280 !important;
  transition: transform 1.2s ease-in-out !important;
  /* backdrop-filter: blur(10px); */
}

.custom-nav-link.active {
  color: #f76d03!important; /* Change this to the color you want to use for the active link */
  font-weight: bold;
  border-bottom: 1px solid rgb(0, 213, 255);
}

.header.scrolled {
  background-color: #0E1759;
  /* Add your desired background color */
  transition: background-color 0.3s ease;
  /* Smooth transition */
}


/* Main Navigation Container */
.custom-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand/Logo */
.nav-brand {
  width: 35%;
  display: flex;
  align-items: center;
}

.nav-brand img {
  width: 90%;
  transition: transform 0.3s ease;
}

.nav-brand img:hover {
  transform: scale(1.05);
}

/* Navigation Menu */
.custom-nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  padding-top: 1%;
}

.custom-nav-item {
  position: relative;
}

.custom-nav-link {
  color: white !important;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.custom-nav-link::after {
  content: '';
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 0;
  height: 2px !important;
  background: #0E1759 !important;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.custom-nav-link:hover::after {
  width: 100% !important;
}

/* Dropdown Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.dropdown-menu li {
  display: flex;
  align-items: center;
}
.dropdown-menu li img {
  padding-right: 10px;
  width: 30px;
  height: 20px;
}
.dropdown-menu li h2 {
 font-size: 15px;
 color: white;
}

.custom-dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  color: white;
}

.custom-dropdown-item:hover {
  background: rgba(14, 23, 89, 0.1);
  transform: translateX(5px);
}

/* Login Button */
.nav-button {
  background: #0E1759;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-button:hover {
  background: transparent;
  color: rgb(210, 211, 217);
  border-color: rgb(67, 74, 132);
}

/* Mobile Menu Toggle */
.custom-nav-toggle,
.custom-nav-close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.custom-nav-toggle:hover,
.custom-nav-close:hover {
  transform: scale(1.1);
}

/* Add slide animations for dropdown items */
@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }

  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Show dropdown when active class is present */
.dropdown-menu.show {
  position: absolute;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  background: rgba(3, 31, 108, 0.72);
  margin-top: 1rem;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.dropdown-menu.show .custom-dropdown-item {
  animation: slideDown 0.3s ease forwards;
  opacity: 0;
}

.dropdown-menu.show .custom-dropdown-item:nth-child(1) {
  animation-delay: 0.1s;
}

.dropdown-menu.show .custom-dropdown-item:nth-child(2) {
  animation-delay: 0.2s;
}

.dropdown-menu.show .custom-dropdown-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* Mobile Styles */
@media (min-width: 1112px) {


  .custom-nav-item:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(10px);
  }

  .custom-nav-link:hover {
      color: rgba(128, 128, 238, 0.96) !important;
      transition: all 0.5s ease;
  }

  .custom-dropdown-item {
      display: flex;
      align-items: center;
      padding: 0.75rem 1.5rem;
      color: white;
      text-decoration: none;
      transition: all 0.3s ease;
      width: 250px;
  }

  .custom-dropdown-item:hover {
      background: rgba(14, 23, 89, 0.1);
      transform: translateX(5px);
  }

  .custom-nav-link .dropdown-arrow {
      display: inline-block;
      margin-left: 5px;
      transition: transform 0.3s ease;
  }

  /* .custom-nav-link.active .dropdown-arrow {
      transform: rotate(180deg);
  } */
}

@media (max-width: 1111px) {
  /* .dropdown-arrow{
    display:inline-block;
  } */
  .dropdown-menu.show {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      background: rgba(15, 6, 100, 0.72);

      margin-top: 1rem;
      margin-left: 1rem;
      transition: all 0.3s ease;
  }

  .custom-nav-toggle {
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      font-size: 2rem;
      z-index: 1001;
      color: white;
  }

  .custom-nav-close {
      display: block;
      position: absolute;
      top: 0.5rem;
      right: 0.8rem;
      font-size: 2rem;
      color: white;
      transition: transform 0.3s ease;
  }

  .custom-nav-close:hover {
      transform: scale(1.1) !important;
      transition: transform 0.5s ease;
      color: rgb(150, 162, 243);
  }

  /* Cool rotation animation for close button */
  .custom-nav-close.active {
      /* transform: rotate(180deg); */
      transition: transform 0.5s ease;
  }

  .custom-nav-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: #0E1759;
      background-image: url(/assets/img/demo-hosting-mobile-menu-bg.jpg);
      background-position: center center;
      background-size: cover;
      background-repeat: no-repeat;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      padding: 2rem;
      padding-top: 5rem;
      transform: translateY(-100%);
      transition: all 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      visibility: hidden;
      overflow-y: auto;
  }

  .custom-nav-menu.active {
      transform: translateY(0);
      /* Slide in to natural position */
      visibility: visible;
  }

  /* Modify closing animation */
  .custom-nav-menu.closing {
      transform: translateY(-100%);
      /* Slide out to top */
      opacity: 1;
      /* Keep opacity 1 for consistent animation */
      visibility: visible;
      /* Keep visible during animation */
      /* transition: all 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); */
  }

  .custom-nav-link {
      width: 100%;
      color: white;
      font-size: 1.2rem;
  }

  .custom-nav-item {
      padding-bottom: 10px;
      width: 100%;
      border-bottom: 1px solid rgba(255, 255, 255, 0.256);
  }

  /* Remove hover styles for dropdown */




  /* Add rotation animation to dropdown arrow */
  .custom-nav-link .dropdown-arrow {
      display: inline-block;
      margin-left: 5px;
      transition: transform 0.3s ease;
  }

  /* .custom-nav-link.active .dropdown-arrow {
      transform: rotate(180deg);
  } */

  /* Enhanced animation for menu closing */
  .custom-nav-menu.closing {
      transform: translateX(100%);
      opacity: 0;
  }

  .custom-dropdown-item {
      color: rgba(255, 255, 255, 0.8) !important;
  }

  .custom-dropdown-item:hover {
      background: rgba(255, 255, 255, 0.1) !important;
  }

  /* Animation for menu items */
  .custom-nav-menu.active .custom-nav-item {
      animation: slideIn 0.5s forwards;
      opacity: 0;
  }

  @keyframes slideIn {
      from {
          opacity: 0;
          transform: translateY(20px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* Stagger animation delay for menu items */
  .custom-nav-menu.active .custom-nav-item:nth-child(1) {
      animation-delay: 0.1s;
  }

  .custom-nav-menu.active .custom-nav-item:nth-child(2) {
      animation-delay: 0.2s;
  }

  .custom-nav-menu.active .custom-nav-item:nth-child(3) {
      animation-delay: 0.3s;
  }

  .custom-nav-menu.active .custom-nav-item:nth-child(4) {
      animation-delay: 0.4s;
  }

  .custom-nav-menu.active .custom-nav-item:nth-child(5) {
      animation-delay: 0.5s;
  }

  /* Brand/Logo */
  .nav-brand {
      width: 75%;
      display: flex;
      align-items: center;
  }

  .nav-brand img {
      width: 95%;
      transition: transform 0.3s ease;
  }

  .nav-button {
      /* width: 10%; */
      text-align: center;
      padding: 0.75rem;
      font-size: 1.2rem;
  }
  .custom-nav-link.active {
    border-bottom: none;
  }

}