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; /* Smooth transitions for padding */
    position: fixed;
    width: 100%;
    z-index: 1030;
}

/* Default state of the navbar */
.em-navbar-wrap .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Transition for navbar logo size */
.em-brand img {
    transition: max-height 0.3s ease; /* Smooth transition for logo size */
    max-height: 80px; /* Set a max-height for the logo */
    margin-top: 8px;
}

/* Nav link styles and transitions */
.em-navbar-wrap .navbar .navbar-nav .nav-link {
    transition: color 0.3s ease; /* Smooth transition for color change */
    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;
}

/* Smaller logo when scrolled */
.em-brand img.scrolled-logo {
    max-height: 40px;
}

/* 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;  /* Dark background to match the navbar */
    border: none;               /* No border for a cleaner look */
}
.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;  /* Slightly lighter background on hover/focus */
    color: #ffffff;             
}
.em-navbar-wrap .navbar .navbar-nav .dropdown-menu .dropdown-item:active {
    background-color: #2c66a0;  /* Highlights color for active state */
    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; /* "Pressed in" look */
    background-color: #999999;
}


/****************************************************************************************/

/* HERO IMAGES */
.hero-section {
    position: relative;
    height: 50vh;  /* Control the height of the hero section */
    overflow: hidden;
    margin-top: 50px;
}
.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;
}

/****************************************************************************************/

/* 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 {
    background-color: #000; 
    border-color: #000; 
    color: #fff; 
    width: 175px; 
}

.btn-primary:hover {
    background-color: #333; 
    border-color: #333; 
}

/****************************************************************************************/

/* FOOTER */

footer {
    background-color: #000; 
    color: #fff;
    padding: 1rem 0; 
    margin-top: auto;
}
footer .navbar-brand img {
    max-height: 50px; 
}
footer h5 {
    font-size: 0.9rem; 
}
footer ul li a,
footer ul li p {
    font-size: 0.8rem; 
    color: #fff; 
    text-decoration: none; 
}
footer ul li a:hover,
footer ul li a:focus {
    color: #999999; 
    text-decoration: none; 
}
footer address,
footer p {
    font-size: 0.8rem; 
}
footer .footer-copyright {
    font-size: 0.8rem; 
    padding: 0.5rem 0; 
    text-align: center;
}

/****************************************************************************************/

/* 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;
}


