:root {
    --desaturate-blue-color: #7377A1;
    --light-gray-color: #EBECF3;
    --dark-blue-color: #191C3B;
    --header-bg-color: #404365;
    --default-text-color: #121330;
    --evendarker-blue-color: #131529;
    --container_width: 1110px;
}

/* Text Fonts */

* {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: var(--default-text-color);
    line-height: 22px;
}

.inter-font {
    font-family: 'Inter', sans-serif;
}

.manrope-font {
    font-family: 'Manrope', sans-serif;
}

@media screen and (max-width: 991px) {
    * {
        font-size: 14px;
    }
}

/* Text rules */

h1 {
    font-size: 2.489rem;
    /* 39.82px */
    letter-spacing: 0px;
    line-height: 54px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.074rem;
    /* 33.18px */
    letter-spacing: 0px;
    line-height: 45px;
    font-weight: 700;
    text-transform: none;
}

h3 {
    font-size: 1.728rem;
    /* 27.65px */
    letter-spacing: 0px;
    line-height: 37px;
    text-transform: none;
}

h4 {
    font-size: 1.440rem;
    /* 23.04px */
    letter-spacing: 0px;
    line-height: 32px;
    text-transform: none;
}

h5 {
    font-size: 1.200rem;
    /* 19.20px */
    letter-spacing: 0px;
    line-height: 26px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 1rem;
}

/* Text Sizes */
.text-39px {
    font-size: 2.489rem;
    /* 39.82px */
    line-height: 54px;
}

.text-33px {
    font-size: 2.074rem;
    /* 33.18px */
    line-height: 45px;
}

.text-27px {
    font-size: 1.728rem;
    /* 27.65px */      
    line-height: 37px;
}

.text-23px {
    font-size: 1.440rem;
    /* 23.04px */
    line-height: 32px;
}

.text-19px {
    font-size: 1.200rem;
    /* 19.20px */
    line-height: 26px;
}

.text-14px {
    font-size: 0.875rem;
    /* 14px */
    line-height: 20px;
}

.text-12px {
    font-size: 0.75rem;
    /* 12px */
    line-height: 18px;
}

.text-13px {
    font-size: 0.833rem;
    /* 13.33px */
    line-height: 18px;
}

/* Text Colours */

.text-desaturated-blue {
    color: var(--desaturate-blue-color) !important;
}

.text-dark-blue {
    color: var(--dark-blue-color) !important;
}

.text-light-grey {
    color: var(--light-grey-color) !important;
}

.text-default {
    color: var(--default-text-color) !important;
}

.text-logo-green {
    color: #63BC1C !important;
}

.mb-67px {
    margin-bottom: 4.188rem !important;
}

/* Background Colours */


.bg-desaturated-blue {
    background-color: var(--desaturate-blue-color) !important;
}

.bg-light-gray {
    background-color: var(--light-gray-color) !important;
}

.bg-dark-blue {
    background-color: var(--dark-blue-color) !important;
}

.bg-default {
    background-color: var(--default-text-color) !important;
}

.bg-evendarker-blue {
    background-color: var(--evendarker-blue-color) !important;
}

/* Font Weights */

.font-ex-bold {
    font-weight: 800 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.font-normal {
    font-weight: 400 !important;
}

.font-light {
    font-weight: 300 !important;
}

.font-ex-light {
    font-weight: 200 !important;
}


/* Background Colors */
.bg-very-light-blue {
    background-color: var(--very-light-blue-color) !important;
}

@media screen and (min-width: 992px) {
    .ml-100 {
        margin-left: 100px;
    }   
}

/* Content wrapper class */

.wrapper {
    position: relative;
    width: 100%;
    max-width: var(--container_width);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* Header */

#header {
    position: sticky;
    top: 0;
    z-index: 2000;
}

#header .header-body {
    opacity: 1;
    flex-direction: column;
    background: var(--header-bg-color);
    transition: min-height 0.3s ease;
}

#header .header-container {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    transition: ease height 300ms;
    max-width: 1600px;
}

#header .header-row {
    flex-wrap: nowrap;
    display: flex;
    flex-grow: 1;
    align-items: center;
    align-self: stretch;
    max-height: 100%;
}

#header .header-column {
    display: flex;
    align-self: stretch;
    align-items: center;
    flex-grow: 1;
    flex-direction: column;
}

.header-logo {
    padding-top: 19px;
    padding-bottom: 19px;
}

/* .nav-link.active {
    position: relative;
    color: var(--blue-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 2px;
    background-color: var(--blue-color);
} */

/* Add spacing between nav items */
.navbar-nav .nav-item {
    margin-right: 38px;
}

/* Remove margin from the last nav item to avoid extra space at the end */
.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

/* Mobile menu icon color */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Optional: Remove default border and focus styles */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (min-width: 992px) {
    #header .header-nav {
        display: flex;
        align-items: center;
        flex-grow: 1;
        justify-content: flex-end;
        align-self: stretch;
    }

    #header .header-nav-main {
        display: flex !important;
        height: auto !important;
    }
}

@media (max-width: 991px) {
    #header .header-nav {
        display: flex;
        align-items: center;
    }

    #header .header-container {
        padding: 0;
    }

    .header-logo {
        padding-left: 1rem;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        position: absolute;
        top: 59px;
        right: 0;
        width: 100vw;
        background: white;
        padding: 1rem;
        box-shadow: 0px 3px 6px #00000029;
    }

    .navbar-nav .nav-item {
        margin-right: 0;
        margin-bottom: 15px; /* Vertical spacing for mobile */
    }
    
    .navbar-nav .nav-item:last-child {
        margin-bottom: 0;
    }

    .nav-item a {
        color: var(--default-text-color) !important;
    }
}

#header .header-column .header-row {
    justify-content: inherit;
}

/* Hero Section */
.hero-section {
    min-height: 494px;
}

.nav_btn {
    background: #FFFFFF3D 0% 0% no-repeat padding-box;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    padding: 10px;
}

/* Center content vertically on mobile */
@media (max-width: 991px) {
    .hero-section {
        min-height: 494px; /* Full viewport height on mobile */
        display: flex;
        align-items: center;
    }
}

.h1-top-right-icon {
    position: absolute;
    top: -35px;
    right: -80px;
    z-index: 10;
}

.hero-first {
    margin-top: 4.125rem;
    margin-bottom: 3.125rem;
}

/* Adjust icon position on mobile */
@media (max-width: 991px) {
    .h1-top-right-icon {
        top: -47px;
        right: 73px;
        width: 112px;
        height: auto;
    }
}

/* Ensure the parent has relative positioning */
.position-relative {
    position: relative;
}

/* Footer */

.footer-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 217px;
    padding: 43px 2%;
    gap: 24px;
}

.footer-logo {
    max-width: 270px;
    margin-bottom: 29px;
}

.horizon_text {
    margin-top: 25px;
}

/* EWS Map */
.map-container {
    height: calc(100vh - 84px);
    min-height: 820px;
}

.leaflet-popup {
    max-width: 206px !important;
}

.leaflet-popup-content {
    margin: 10px !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 9px !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-content {
    background-color: var(--evendarker-blue-color) !important;
}

.pilots-sidebar {
    top: 20px;
    left: 20px;
    width: 247px;
    background: var(--dark-blue-color) !important;
    border-radius: 0px 10px 10px 0px;
    opacity: 0.83;
    z-index: 1000;
    padding: 20px;
    height: 95%;
    overflow-y: auto;
    transition: 'transform 0.3s ease'
}

.pilot-card {
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    opacity: 1;
    cursor: pointer;
    transition: 'background-color 0.2s ease';
}

.pilot-card:hover {
    background-color: var(--evendarker-blue-color) !important;
    border: 2px solid #FFFFFF;
}

.termsfeed-com---palette-light .cc-cp-foot-save, .termsfeed-com---palette-light .cc-nb-okagree, .termsfeed-com---palette-light .cc-nb-reject {
    background: var(--dark-blue-color) !important;
}

.leaflet-left {
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    bottom: 30px !important;
}


/* Social Media Icons */
.social-icon {
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-decoration: none !important;
}

.social-icon:hover {
    color: #007bff !important;
    transform: scale(1.1);
    text-decoration: none !important;
}

.social-icon i {
    font-size: 24px !important;
    width: 24px;
    text-align: center;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    footer .border-end {
        border-right: none !important;
        border-bottom: 1px solid #6c757d !important;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    footer .ps-4 {
        padding-left: 0 !important;
    }
    
    footer .pe-4 {
        padding-right: 0 !important;
    }

    .foooter-row {
        gap: 10px;
    }
}