﻿/****** Elad Shechter's RESET *******/
/*** box sizing border-box for all elements ***/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin-block-start: 0;
  margin-block-end: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  padding-right: 0 !important;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

button {
  background-color: transparent;
  color: inherit;
  border-width: 0;
  padding: 0;
  cursor: pointer;
}

figure {
  margin: 0;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
  margin: 0;
}

ul, ol, dd {
  margin: 0;
  padding: 0;
  list-style: disc;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

p {
  margin: 0;
}

cite {
  font-style: normal;
}

fieldset {
  border-width: 0;
  padding: 0;
  margin: 0;
}

/*$colorPrimary: #a8d0d7; 
$colorSecondary: #4ca1af;
$colorAccent: #2d3361;*/
/*$colorPrimary: #00404b;
$colorSecondary: #d8e2e9;
$colorAccent: #2d3361;*/
/*--------------------------------------------*/
/*--------------------------------------------*/
/*$colorAccent: #BA1200; //Engineering Orange*/
/*--------------------------------------------*/
header {
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.navbar {
  display: flex;
  /*justify-content: space-between;*/
  align-items: center;
  padding: 20px 15%;
  background: #336484;
  color: #ffffff;
  width: 100%;
  position: relative;
  z-index: 1000;
}
@media (max-width: 769px) {
  .navbar {
    justify-content: space-between;
    padding: 20px 5%;
  }
}
.navbar .nav-logo {
  font-size: 1.5rem;
  line-height: 1.5rem;
  color: #fff;
  text-decoration: none;
}
.navbar .nav-left {
  margin-right: 50px;
}
.navbar .nav-right {
  display: flex;
  align-items: center;
}
.navbar .nav-right .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.navbar .nav-right .nav-links > li {
  position: relative;
  margin: 0;
}
.navbar .nav-right .nav-links > li > a {
  color: #fff;
  text-decoration: none;
  padding: 8px 25px;
  display: block;
}
.navbar .nav-right .nav-links > li > a:hover {
  background: #83A4BB;
  border-radius: 6px;
}
.navbar .nav-right .nav-links > li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #83A4BB;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
  border-radius: 0 6px 6px 6px;
  overflow: hidden;
}
.navbar .nav-right .nav-links > li .dropdown-menu li a {
  color: #fff;
  text-decoration: none;
  padding: 8px 25px;
  display: block;
  /*padding: 10px;*/
}
.navbar .nav-right .nav-links > li .dropdown-menu li a:hover {
  background: rgb(180.40625, 200.2578125, 214.09375);
}
.navbar .nav-right .nav-links > li .dropdown-menu li a:last-child {
  padding-bottom: 18px;
}
.navbar .nav-right .nav-links > li .dropdown-menu li:last-child {
  margin-bottom: 0;
}
.navbar .nav-right .hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  width: 40px;
}

.bi.bi-list::before {
  font-size: 2.75rem;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; /* hidden off screen */
  width: 70%;
  height: 100%;
  background: #272727;
  color: white;
  transition: right 0.3s ease-in-out;
  padding: 2rem 0;
  z-index: 10000;
}
.mobile-menu > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu > ul li {
  margin: 30px 0;
}
.mobile-menu > ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0 20px;
}
.mobile-menu > ul li button {
  margin: 0 20px;
}
.mobile-menu.active {
  right: 0;
}

.nav-child {
  margin-left: 30px;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Dropdown styles for mobile */
.mobile-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  cursor: pointer;
  display: flex;
  /*justify-content: space-between;*/
  align-items: center;
}

.dropdown-toggle i {
  margin-left: 20px;
  transition: transform 0.5s ease;
  font-size: 1rem;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  list-style: none;
  padding-left: 1rem;
  margin: 0;
  background-color: rgb(26.25, 26.25, 26.25);
  padding: 0 20px;
}

.dropdown-content li {
  margin: 0.5rem 0;
}

.dropdown-content li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  display: block;
}

/* Open state */
.mobile-dropdown.open .dropdown-content {
  max-height: 500px; /* large enough to fit contents */
}

.mobile-dropdown.open .dropdown-toggle i {
  transform: rotate(180deg); /* caret flips when open */
}

@media (max-width: 769px) {
  /*.navbar {
    .nav-right {
      .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: $colorSecondary;
        position: fixed;
        left: 0;
        top: 80px;
        height: 100%;
        z-index: 1000;
        padding: 20px 5%;

        li {
          width: 100%;
          margin-left: 30px;
        }
      }

      .hamburger {
        display: block;
      }
    }
  }*/
  /*-------------------------------------------------*/
  .desktop-menu {
    display: none !important;
  }
  .navbar .nav-right .hamburger {
    display: block;
  }
}
footer {
  width: 100%;
  background-color: #272727;
  color: #ffffff;
  padding: 20px;
}
footer a {
  color: #ffffff;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

/*$colorPrimary: #a8d0d7; 
$colorSecondary: #4ca1af;
$colorAccent: #2d3361;*/
/*$colorPrimary: #00404b;
$colorSecondary: #d8e2e9;
$colorAccent: #2d3361;*/
/*--------------------------------------------*/
/*--------------------------------------------*/
/*$colorAccent: #BA1200; //Engineering Orange*/
/*--------------------------------------------*/
body {
  font-family: "Roboto", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", Roboto, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
  margin: 0 0 0.5em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.45rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: #000000;
  text-decoration: underline;
}
a:hover, a:focus {
  text-decoration: none;
}

ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

li {
  margin-bottom: 0.5em;
}

blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: 4px solid #666666;
  color: black;
  font-style: italic;
}

pre, code {
  font-family: "Courier New", Courier, monospace;
  background: rgb(114.75, 114.75, 114.75);
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/*$colorPrimary: #a8d0d7; 
$colorSecondary: #4ca1af;
$colorAccent: #2d3361;*/
/*$colorPrimary: #00404b;
$colorSecondary: #d8e2e9;
$colorAccent: #2d3361;*/
/*--------------------------------------------*/
/*--------------------------------------------*/
/*$colorAccent: #BA1200; //Engineering Orange*/
/*--------------------------------------------*/
.button {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding: 15px 30px;
  border: 2px solid #336484;
  background-color: #336484;
  color: #ffffff;
  border-radius: 12px;
  transition: color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  margin-top: 15px;
  z-index: 1;
  min-width: 180px;
  overflow: hidden;
  text-align: center;
  font-size: 1rem;
  line-height: 1rem;
}
.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0; /* start hidden */
  background: #D3664A;
  z-index: -1; /* stay behind text */
  transition: width 0.4s ease;
  /*border-radius: 4px;*/
}
.button:hover {
  color: #ffffff;
  /*box-shadow: 0 0 6px $colorAccent, 0 0 12px $colorAccent;
  border-color: $colorAccent;*/
}
.button:hover::before {
  width: 100%; /* expand background left to right */
}
.button-glow:hover {
  box-shadow: 0 0 6px #D3664A, 0 0 12px #D3664A;
  /*border-color: $colorAccent;*/
}
.button-neutral {
  background-color: transparent;
  border-color: #EBE9E9;
  color: #EBE9E9;
}
.button-neutral-fill {
  background-color: #EBE9E9;
  border-color: #D3664A;
  color: #000000;
}
.button-neutral-fill::before {
  background: rgb(215.5714285714, 211.6285714286, 211.6285714286);
}
.button-primary {
  background-color: transparent;
  border-color: #336484;
  color: #EBE9E9;
}
.button-primary-fill {
  background-color: #336484;
  border-color: #336484;
  color: #ffffff;
}
.button-primary-fill::before {
  background: rgb(39.6295081967, 77.7049180328, 102.5704918033);
}
.button-secondary {
  background-color: transparent;
  border-color: #83A4BB;
  color: #EBE9E9;
}
.button-secondary-fill {
  background-color: #83A4BB;
  border-color: #83A4BB;
  color: #ffffff;
}
.button-secondary-fill::before {
  background: rgb(104.65, 144.6625, 172.55);
}
.button-accent {
  background-color: transparent;
  border-color: #D3664A;
  color: #EBE9E9;
}
.button-accent-fill {
  background-color: #D3664A;
  border-color: #D3664A;
  color: #ffffff;
}
.button-accent-fill::before {
  background: rgb(196.4453333333, 78.144, 47.7546666667);
}

.text-section {
  padding: 50px 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 500px) {
  .text-section {
    padding: 50px 10%;
  }
}
.text-section-content {
  max-width: 1200px;
  width: 100%;
}

.bg-primary {
  background-color: #336484;
  color: #ffffff;
}

.bg-secondary {
  background-color: #83A4BB;
  color: #ffffff;
}

.text-light {
  color: #ffffff !important;
}

.card {
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1300px;
}

.content {
  padding: 24px 50px;
}
@media (max-width: 500px) {
  .content {
    padding: 20px 18px;
  }
}
