
/* 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: "Ubuntu",  sans-serif;
  --nav-font: "Rubik",  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: #3b5353; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #193838; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #205a9d; /* 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: #3b5353;  /* The default color of the main navmenu links */
  --nav-hover-color: #00a19e; /* 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: #3b5353; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #00a19e; /* 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: #f0f6f5;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #031a1a;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0f302f;
  --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);
  overflow-y: auto;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
}

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 {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 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: 500;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

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

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

  .header .navmenu {
    order: 3;
  }
}

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

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
}


/*--------------------------------------------------------------
# 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: 66px;
  }
}



/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 126px 0 60px 0;
  /*background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);*/
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--accent-color), transparent 90%) 0%, transparent 50%);
  pointer-events: none;
}

.hero .hero-content {
  padding: 20px 0;
}

.hero .hero-content .hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero .hero-content .hero-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
  }
}

.hero .hero-content .hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 48px;
  font-weight: 300;
}

@media (max-width: 768px) {
  .hero .hero-content .hero-description {
    font-size: 1.125rem;
    margin-bottom: 40px;
  }
}

.hero .hero-content .hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 64px;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-actions {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
  }
}

.hero .hero-content .hero-actions .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.hero .hero-content .hero-actions .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero .hero-content .hero-actions .btn-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
}

.hero .hero-content .hero-actions .btn-secondary i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-content .hero-actions .btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.hero .hero-content .hero-stats {
  display: flex;
  gap: 48px;
}

@media (max-width: 768px) {
  .hero .hero-content .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .hero .hero-content .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
}

.hero .hero-content .hero-stats .stat-item {
  text-align: left;
}

.hero .hero-content .hero-stats .stat-item .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.hero .hero-content .hero-stats .stat-item .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 400;
}

.hero .hero-visual {
  position: relative;
}

.hero .hero-visual .hero-image-wrapper {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.hero .hero-visual .hero-image-wrapper .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-visual .floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero .hero-visual .floating-elements .floating-card {
  position: absolute;
  background: var(--surface-color);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floating 3s ease-in-out infinite;
}

.hero .hero-visual .floating-elements .floating-card i {
  font-size: 1.125rem;
  color: var(--accent-color);
}

.hero .hero-visual .floating-elements .floating-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--heading-color);
  white-space: nowrap;
}

.hero .hero-visual .floating-elements .floating-card.card-1 {
  top: 10px;
  left: 40%;
  animation-delay: 0s;
}

.hero .hero-visual .floating-elements .floating-card.card-2 {
  top: 50%;
  right: 15px;
  animation-delay: -1s;
}

.hero .hero-visual .floating-elements .floating-card.card-3 {
  bottom: 25%;
  left: 15px;
  animation-delay: -2s;
}

@media (max-width: 768px) {
  .hero .hero-visual .floating-elements .floating-card {
    padding: 12px 16px;
  }

  .hero .hero-visual .floating-elements .floating-card span {
    font-size: 0.75rem;
  }

  .hero .hero-visual .floating-elements .floating-card.card-1 {
    left: 5px;
  }

  .hero .hero-visual .floating-elements .floating-card.card-2 {
    right: 5px;
  }

  .hero .hero-visual .floating-elements .floating-card.card-3 {
    left: 10px;
  }
}

@keyframes floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }
}

