body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #272727;
    background-color: #f4f4f4;
    padding-top: 70px;
    box-sizing: border-box;
}

.em-black {
    color: #000000;
}

/****************************************************************************************/

/* NAVBAR */
.em-navbar-wrap .navbar {
  transition: padding-top 0.3s ease, padding-bottom 0.3s ease;
  position: fixed;
  width: 100%;
  z-index: 1030;
}

/* Logo sizing (default + smooth transition) */
.em-brand img {
  transition: max-height 0.3s ease;
  max-height: 50px;
  height: auto;
  width: auto;
  margin-top: 8px;
}

/* Smaller logo when scrolled */
.em-brand img.scrolled-logo {
  max-height: 40px;
}

/* Smaller logo on phones */
@media (max-width: 575.98px) {
  .em-brand img {
    max-height: 40px;
    margin-top: 6px;
  }
}

/* Nav link styles and transitions */
.em-navbar-wrap .navbar .navbar-nav .nav-link {
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  font-size: 1rem;
  color: #FFFFFF;
}

/* Hover and active state for nav links */
.em-navbar-wrap .navbar .navbar-nav .nav-item:hover .nav-link,
.em-navbar-wrap .navbar .navbar-nav .nav-item.active .nav-link {
  color: #999999;
  box-shadow: inset 0 -4px 0 0 #2c66a0;
}

/* navbar changes when scrolled */
.em-navbar-wrap .navbar.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Adjust padding for nav links when scrolled */
.navbar.scrolled .nav-link {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* navbar dropdown menu */
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu {
  background-color: #212529;
  border: none;
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item {
  color: #f8f9fa;
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:focus {
  background-color: #495057;
  color: #ffffff;
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:active {
  background-color: #2c66a0;
  color: #ffffff;
}

/* navbar hamburger menu */
.navbar-toggler {
  outline: none !important;
  border: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #2c66a0;
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler.active {
  outline: none;
  border: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  background-color: #999999;
}
.navbar-toggler:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) inset;
  background-color: #999999;
}



/****************************************************************************************/

/* HERO IMAGES */
.hero-section {
    position: relative;
    height: 50vh;  /* Control the height of the hero section */
    overflow: hidden;
    margin-top: 0px;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area without distorting the image */
    object-position: center; /* Align the center of the image to the center of the container */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0px 0px 10px #000;
}

.page-hero-section {
    position: relative;
    height: 30vh;  
    overflow: hidden;
}

.hero-section-aboutus {
    position: relative;
    height: 100vh;  /* Full viewport height */
    overflow: hidden;
}

.hero-image-aboutus {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area properly */
    object-position: center; /* Centers the image */
}

.hero-overlay-aboutus {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-wrapper-aboutus {
    background-color: rgba(0, 0, 0, 0.5); 
    text-shadow: 0px 0px 10px #000;
}

/* Section: Hero CTA button */
#btn_demo {
  background-color: #2c66a0;
  border-color: #2c66a0;
}

#btn_demo:hover {
  background-color: #255a8b;
  border-color: #255a8b;
}

#btn_demo:focus {
  box-shadow: 0 0 0 .25rem rgba(44, 102, 160, .35);
}



/****************************************************************************************/

/* LEARN BOXES */
.container-main {
    max-width: 1400px;
    margin: auto;
    padding: 1rem;
}

.learn-boxes {
    margin-top: 50px;
}

.learn-boxes .row img {
    border-radius: 5px 0 0 5px; 
    margin-bottom: 25px;
}

.learn-boxes h2 {
    font-size: 2.5rem; 
    margin-bottom: 0.75rem; 
}

.learn-boxes p {
    font-size: 1rem; 
    margin-bottom: 1rem; 
}


/****************************************************************************************/

/* btn-primary */


.btn-primary {
  background-color: #212529;
  border-color: #000;
  color: #fff;
  width: 175px;
}

.btn-primary:hover {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

.btn-primary:focus,
.btn-primary:focus-visible {
  box-shadow: 0 0 0 .25rem rgba(33, 37, 41, .35);
  color: #fff;
}

/****************************************************************************************/

/* FOOTER */

footer ul li a:hover,
footer ul li a:focus {
    color: #999999; 
    text-decoration: none; 
}

/****************************************************************************************/

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding-top: 30px;
        padding-bottom: 10px;
        height: auto;
    }
}

@media (min-width: 1400px) {
    .container-main {
    max-width: 1600px; 
    }
}
@media (min-width: 1400px) {
    .em-navbar-wrap .navbar-brand {
    padding-right: 2rem; 
    }
    .em-navbar-wrap .navbar .navbar-nav {
    padding-left: 2rem; 
    }
}

/****************************************************************************************/

/* MODAL */

/* Fullscreen modal with greyed-out background */
#pnl_modal_verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050; /* Higher than everything else */
  display: none; /* Hidden by default */
}

#pnl_modal_verification.show {
  display: flex !important; /* Flexbox for center alignment */
}

#pnl_modal_verification .card {
  width: 100%;
  max-width: 400px;
}

/****************************************************************************************/

/* VALIDATION */

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: var(--bs-border-color) !important;
  background-image: none !important;
  padding-right: .75rem !important;
}

.was-validated .form-check-input:valid {
  border-color: var(--bs-border-color) !important;
}

.was-validated .form-check-input:valid:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.was-validated .form-check-input:valid ~ .form-check-label {
  color: inherit !important;
}



