/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* 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 - 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: #54555a; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0e0e10; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #dd4814; /* 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: #54555a;  /* The default color of the main navmenu links */
  --nav-hover-color: #dd4814; /* 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: #54555a; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #dd4814; /* 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: #f4f3f0;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0e0e10;
  --default-color: #bfbfc6;
  --heading-color: #ffffff;
  --surface-color: #18181b;
  --contrast-color: #ffffff;
}

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


/* 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: #f7f9fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #183152;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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);
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

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

.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 0.5rem;
}
/*--------------------------------------------------------------
# Global / Section Defaults
--------------------------------------------------------------*/
.section {
  color: var(--default-color, #212529);
  background-color: var(--background-color, #ffffff);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: var(--heading-color, #111111);
}

.section-title p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color, #212529), transparent 20%);
}

/*--------------------------------------------------------------
# Who Should Join Us Section Specific Styles
--------------------------------------------------------------*/
.who-should-join .card-item {
  background-color: var(--surface-color, #ffffff);
  box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.06);
  padding: 40px 30px;
  border-radius: 10px;
  height: 100%;
  position: relative;
  transition: all 0.3s ease-in-out;
  border: 1px solid color-mix(in srgb, var(--default-color, #212529), transparent 90%);
}

.who-should-join .card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 35px 0 rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color, #f82249);
}

.who-should-join .card-item .icon {
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color, #f82249), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: 0.3s;
}

.who-should-join .card-item .icon i {
  font-size: 28px;
  color: var(--accent-color, #f82249);
  line-height: 0;
}

.who-should-join .card-item:hover .icon {
  background-color: var(--accent-color, #f82249);
}

.who-should-join .card-item:hover .icon i {
  color: #ffffff;
}

.who-should-join .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.who-should-join .card-item h4 a {
  color: var(--heading-color, #111111);
  text-decoration: none;
  transition: 0.3s;
}

.who-should-join .card-item h4 a:hover {
  color: var(--accent-color, #f82249);
}

.who-should-join .card-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color, #212529), transparent 25%);
}