/* Fonts */
: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 */
:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #124265;
  --accent-color: #2487ce;
  --surface-color: #ffffff;
}
/* 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: #124265;  /* The default color of the main navmenu links */
  --nav-hover-color: #2487ce; /* 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: #124265; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #2487ce; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* 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);
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  height: 125px; /* Adjust height */
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

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

.header .logo img {
  max-height: 60px;
  max-width: 400px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 300;
  color: var(--heading-color);
}

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

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  border-color: var(--contrast-color);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Navmenu - Desktop */

/* Move entire menu to the right */
.navmenu {
  display: flex;
  justify-content: flex-end; /* Pushes menu items to the right */
  align-items: center;
  width: 100%;
  padding-right: 40px; /* Adjust this value to fine-tune spacing */
}

/* Reduce unnecessary space between menu items */
.navmenu ul {
  display: flex;
  gap: 10px; /* Adjust to reduce spacing */
  margin: 0;
  padding: 0;
}

/* Ensure menu items are aligned properly */
.navmenu ul li {
  list-style: none;
  padding: 5px 10px; /* Reduce extra padding */
}


.navmenu ul li a {
  text-decoration: none;
  font-family: var(--nav-font);
  color: var(--heading-color);
  font-weight: 600;
  font-size: 16x;
  transition: color 0.3s, background 0.3s;
  padding: 8px 12px;
  border-radius: 5px;
}

.navmenu ul li a:hover, .navmenu ul li a.active-menu {
  color: #ffffff;
  background: var(--accent-color);
  font-weight: bold;
  border-bottom: none;
}

/* Submenu Styling */
.navmenu ul li ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: var(--surface-color);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  min-width: 200px;
  z-index: 1000;
}

.navmenu ul li:hover ul {
  display: block;
}

.navmenu ul li ul li {
  padding: 8px 12px;
  white-space: nowrap;
}

.navmenu ul li ul li a {
  color: var(--default-color);
  font-size: 14px;
  font-weight: 500;
  display: block;
  transition: background 0.3s, color 0.3s;
}

.navmenu ul li ul li a:hover, .navmenu ul li ul li a.active-menu {
  color: #ffffff;
  background: var(--accent-color);
}



/* Navmenu - Mobile */
@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;
  }

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

  .navmenu 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);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu 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;
  }

  .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(--accent-color), transparent 90%);
  }

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

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

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

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .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 .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.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 {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;

  font-family: var(--nav-font); /* Use the same font as navmenu */
  color: var(--heading-color); /* Ensure color matches navmenu */
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  font-size: 15px;
  
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

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

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.footer .copyright p {
  margin-bottom: 0;
    color: #ffffff !important; /* Ensures text remains white */
	  font-family: var(--nav-font); /* Use the same font as navmenu */
	  font-size: 15px;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
}

.footer .credits a {
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
}

/*--------------------------------------------------------------
# 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 Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
  
}

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  font-size: 20px;
  margin-bottom: 10px;
	
  font-family: var(--nav-font); /* Match hero h4 font */
  font-weight: 700; /* Keep it bold but slightly lighter */
  color: var(--heading-color); /* Match hero h4 color */
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  overflow: visible;
  text-overflow: unset;
  line-height: 1.4; /* Improve readability */
}

/* Remove top margin from section title */
.section-title.no-margin {
    margin-top: 0;
}

.section-title h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  /* min-height: calc(100vh - 100px); */
  position: relative;
  display: flex;
  overflow: hidden;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 1;
    opacity: 0.7; /* Adjust value between 0 (fully transparent) to 1 (fully visible) */
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 72px;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 22px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);

}
.hero-content {
  background-color: #e6f7ff; /* Light sky blue */
  padding: 30px;
  border-radius: 8px; /* Optional: adds rounded corners */
}

.hero-content h4 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px; /* Adds spacing between letters */
  margin-bottom: 20px; /* Add spacing below headings */
    font-family: var(--nav-font);
  color: var(--heading-color);
    font-size: 18px; /* Adjust this size as needed */
	
}

.hero-content p {
  font-weight: 400;
  line-height: 1.8; /* Improve readability */
  font-size: 16px;
  margin-bottom: 30px; /* Spacing between paragraphs */
  
    font-family: var(--nav-font);
  color: var(--heading-color);
} 
 
/* ************************************************* */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Terms of Service Section Styling */
#terms-of-service .container,
#privacy-policy .container {
  background-color: #e6f7ff; /* Light sky blue only behind the text */
  padding: 40px 30px;
  border-radius: 10px;
}

.content-section {
    padding: 40px 0;
}

.content-section p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    font-size: 16px;
    color: #444;
    padding: 5px 0;
}

.content-section ul li::before {
    color: #007bff;
    font-weight: bold;
    padding-right: 10px;
}


.terms-section ul li {
    font-size: 16px;
    color: #444;
    padding: 5px 0;
}

#users-table {
  background-color: #e6f7ff; /* Light sky blue */
  border-collapse: collapse; /* Ensures borders don't double up */
  width: 100%;
  border: 1px solid #b3d7e8; /* Table outer border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

#users-table th,
#users-table td {
  background-color: #e6f7ff !important;
  border: 1px solid #b3d7e8; /* Stylish border between cells */
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
}





