@charset "utf-8";

/* Colour legend: 
    Air Force Blue - rgba(95, 153, 187, 1) - #5F99BB
    Air Force Blue - shaded - rgba(56, 93, 115, 1) - #385D73
    Orange - rgba(230, 83, 43, 1) - #E6532B
    Shaded Orange - rgba(199, 71, 36, 1) - #C74724
    Light Grey - rgba(171, 178, 182, 1) - #ABB2B6
    Prussian Blue - rgba(2, 38, 63, 1) - #02263F
    Sky Blue - rgba(173, 221, 246, 1) - #ADDDF6
    Alice Blue - rgba(240, 246, 250, 1) - #F0F6FA
    Yellow - rgba(238, 173, 0, 1) - #EEAD00
    Way Beyond the Blue - rgba(0, 140, 222, 1) - #008CDE - Used for gradient contact page
*/

/* CSS Variable Declarations */
:root {
    --main-box-shadow: 0.5rem 1rem 1rem rgba(2, 38, 63, 0.2);
    --blue-gradient-bg-img: linear-gradient(215deg, #02263F, #5F99BB); /* Prussian Blue + Air Force Blue */
    --primary-colour: #02263F !important;
    --secondary-colour: #E6532B;
    --inverse-colour: #FFFFFF;
}

/* Global styling */
body {
    background-color: rgba(2, 38, 63, 1);
    overflow-x: hidden;
    overscroll-behavior: contain;
    font-family: Manrope, sans-serif !important;
}

h1 {
    color: var(--primary-colour);
}

h2 {
    color: var(--primary-colour);
}

h5 {
    text-transform: uppercase;
    color: var(--secondary-colour);
}

strong {
    font-weight: 600 !important;
}

.border-primary {
    border-color: rgba(2, 38, 63, 1) !important;
}

/* Button styling */
.btn-primary {
    background-color: var(--secondary-colour) !important;
    border-color: var(--secondary-colour) !important;
}

    .btn-primary:hover {
        background-color: #C74724 !important;
        border-color: #C74724 !important;
    }

.btn-secondary {
    background-color: #5F99BB !important;
    border-color: #5F99BB !important;
}

    .btn-secondary:hover {
        background-color: #02263F !important;
        border-color: #02263F !important;
    }

.btn-outline-secondary {
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    background-color: rgba(95, 153, 187, 1);
}

    .btn-outline-secondary:hover {
        background-color: rgba(56, 93, 115, 1) !important;
    }

.btn-outline-light {
    text-transform: uppercase;
}

    .btn-outline-light:hover {
        color: #FFFFFF;
        background-color: var(--secondary-colour) !important; /* S2C Orange */
    }

.btn-feature {
    /*    background-image: linear-gradient(45deg, var(--secondary-colour), #f5943a); orange gradient*/
    background: var(--secondary-colour);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0.125rem 0.125rem 0.313rem 0 rgba(2, 38, 63, 0.5);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 1rem;
    font-weight: 500;
}

    .btn-feature:hover {
        background: #C74724;
    }

.focus-ring {
    --bs-focus-ring-color: rgba(230, 83, 43, 0.5);
}

.form-control:focus {
    border-color: var(--secondary-colour);
    border: 0.063rem solid rgba(230, 83, 43, 1)
}

/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    transition: background-color 0.3s ease;
    background-image: linear-gradient(to right, #000, #02263F);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-item {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-link {
    color: #ced4da;
}

.active {
    color: var(--secondary-colour) !important;
    font-weight: 700 !important;
}

/* Dropdown menu standard styling */
.dropdown-menu {
    /*    background-color: rgba(230, 83, 43, 1);*/
    background-color: rgba(95, 153, 187, 1); /* Air Force Blue background */
    border-radius: 25px;
    padding: 0.7em;
}

    .dropdown-menu ul {
        list-style: none;
        padding: 0;
    }

    .dropdown-menu li .dropdown-item {
        color: #FFFFFF;
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        padding: 0.5rem 1rem;
    }

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.5);
}


.dropdown-subitem {
    padding-left: 2em !important;
}

.text-light-emphasis {
    color: #FFFFFF !important;
}

/* Search box */
.search-wrapper {
    max-width: 300px;
}

.search-box {
    position: relative;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .search-box:focus-within {
        transform: translateY(-2px);
    }

.search-input {
    border-radius: 50px;
    border: 2px solid rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}

    .search-input:focus {
        border-color: var(--secondary-colour);
    }

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50px;
    border: none;
    padding: 8px 15px;
}

/* Hero section with centered image */
.hero-centered {
    background-image: linear-gradient(to right, #000, #02263F) !important; /* Replace with image picker to use as hero block in Umbraco Block Grid */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: auto;
    position: relative;
    z-index: 1;
    margin-top: 3em;
}

/* Left aligned hero section with background image */
.hero-left-aligned {
    background-image: url(../images/placeholders/placeholder_12.jpg); /* Will be obsolete once implemented in Umbraco (either as full page setup or Block Grid) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: auto;
    position: relative;
    z-index: 1;
    margin-top: 3em;
}

.hero-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-left-content {
    position: relative;
    z-index: 2;
}

/* Styling for featurettes */
.featurette-container {
    background-color: #F0F6FA;
    /*    box-shadow: 0 0 0.9em 0.6em rgba(95, 153, 187, 0.3) inset;*/
}

    .featurette-container p {
        color: var(--primary-colour);
        font-weight: 400 !important;
    }

    .featurette-container img {
        border-radius: 5px;
    }

    .featurette-container ul {
        color: var(--primary-colour);
    }

/* Section divider with primary colours */
.section-divider-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding-top: 0.25rem;
}

.section-dot-primary {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    display: inline-block;
}

    .section-dot-primary:first-of-type {
        background-color: var(--primary-colour);
        margin: 0 0.2rem;
    }

    .section-dot-primary:last-of-type {
        background-image: linear-gradient(135deg, var(--secondary-colour), #f5943a);
        margin: 0 0.4rem 0 0.1rem;
    }

.section-line-primary {
    flex: auto;
    border: none;
    height: 0.125rem;
    background-color: var(--primary-colour);
    margin: 0;
    padding: 0;
}

/* Section divider with inverted colours */
.section-divider-inverse {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding-top: 0.25rem;
}

.section-dot-inverse {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    display: inline-block;
}

.section-dot-inverse:first-of-type {
    background-color: var(--inverse-colour);
    margin: 0 0.2rem;
}

.section-dot-inverse:last-of-type {
    background-image: linear-gradient(135deg, var(--secondary-colour), #f5943a);
    margin: 0 0.4rem 0 0.1rem;
}

.section-line-inverse {
    flex: auto;
    border: none;
    height: 0.125rem;
    background-color: var(--inverse-colour);
    margin: 0;
    padding: 0;
}


/* Styling for custom feature cards w/ hover */
.custom-card-container {
    background-image: radial-gradient(circle, #F0F6FA, #ADDDF6);
    /*    box-shadow: 0 0 0.8rem 0.4rem rgba(2, 38, 63, 0.3) inset;*/
}

    .custom-card-container h2 {
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    }

.custom-badge {
    /*    background-image: linear-gradient(45deg, var(--secondary-colour), #f5943a);*/
    background: var(--secondary-colour);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0.125rem 0.125rem 0.313rem 0 rgba(2, 38, 63, 0.5);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 1rem;
    font-weight: 500;
}

.feature-card {
    perspective: 1000px;
    height: 400px
}

.feature-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-card:hover .feature-card-inner {
    transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: var(--main-box-shadow);
    overflow: hidden;
}

.feature-card-front {
    /*    background-image: linear-gradient(215deg, var(--secondary-colour), #f5943a); orange gradient*/
    background-image: var(--blue-gradient-bg-img); /* Prussian Blue + Air Force Blue */
    color: #FFFFFF;
    text-shadow: 0 1px 1px #000000;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.feature-card-back {
    background-color: #F0F6FA;
    color: #02263F;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    justify-content: center;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list {
    padding: 0;
    margin: 0;
}

    .feature-list li {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(171, 178, 182, 0.5);
    }

        .feature-list li:last-child {
            padding: 0.3rem 0;
            border-bottom: none;
        }

.hover-lift {
    transition: transform 0.2s;
}

    .hover-lift:hover {
        transform: translateY(-5px);
    }

/* Footer Styling */
footer {
    background-image: linear-gradient(to right, #000, #02263F);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

address {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 300;
    color: #ced4da;
}

    address dt {
        font-weight: 300 !important;
    }

.nav-item .footer-link {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
}

.copyright {
    color: #ced4da;
}

.footer-image img {
    display: flex;
    max-width: 75px !important;
    height: auto !important;
}

/* Hero section with video background - Coming Soon page */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

    .hero video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: 1;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Contact Page */
.contact-container {
    background-image: url(../images/backgrounds/Contact_Page_S2C_Landscape.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-wrapper {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--main-box-shadow);
}

.contact-info,
.contact-form {
    padding: 2.5rem;
}

.contact-info {
    background-image: linear-gradient(135deg, #02263F, 70%, #008cde);
    color: rgba(255, 255, 255, 1);
    height: 100%;
}

    .contact-info h2 {
        color: rgba(255, 255, 255, 1) !important;
        font-weight: 600;
    }

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

    .contact-item:hover {
        transform: translateX(0.625rem);
    }

        .contact-item:hover .contact-icon {
            background: rgba(255, 255, 255, 1);
            color: var(--secondary-colour);
        }

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 1rem;
}

.social-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.2);
    margin-right: 0.625rem;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background: rgba(255, 255, 255, 1);
        color: var(--secondary-colour);
        transform: translateY(0.25rem);
    }

.contact-form h2 {
    font-weight: 600;
}

.form-label {
    color: var(--primary-colour);
    font-weight: 500;
}

.form-floating label {
    font-size: 0.875rem;
}

.alt-lang-contact-card {
    height: 15.625rem;
    max-width: 15.625rem;
    background: #ADDDF6;
    border-radius: 1.25rem;
    box-shadow: 0.25rem 0.5rem 0.5rem rgba(2, 38, 63, 0.2), 0 0 0.625rem rgba(95, 153, 187, 0.5) inset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

    .alt-lang-contact-card:hover {
        transform: translateY(-0.25rem);
        background: rgba(206, 235, 250, 1);
    }

        .alt-lang-contact-card:hover .lang-wrapper {
            color: var(--secondary-colour);
            background: #FFFFFF;
        }

    .alt-lang-contact-card .btn-secondary {
        box-shadow: 0.125rem 0.125rem 0.25rem rgba(2, 38, 63, 0.3);
    }

.lang-wrapper {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    color: #02263F;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .lang-wrapper img {
        max-height: 6.25rem;
        width: auto;
    }

.custom-modal {
    background: rgba(0, 0, 0, 0.7);
}

.modal-header {
    background-image: linear-gradient(135deg, #ADDDF6, #FFFFFF);
}

#contactArabic .modal-header {
    flex-direction: row-reverse;
    justify-content: space-between;
}

#contactArabic .modal-header h2 {
    margin: 0;
}

#contactArabic .btn-close {
    margin: 0;
}

#contactArabic .modal-body {
    direction: rtl;
}

/* Blog landing page */
.featured-post-large {

}

/* Blog post */

/* Media queries */
@media screen and (max-width: 1200px) {
    /* Dropdown menu styling for screens smaller than 1200px */
    .dropdown-menu {
        background-color: rgba(230, 83, 43, 1);
        border-radius: 15px;
        padding: 0.7em;
    }

    /* Section line for screens smaller than 1200px */
    .section-line-primary,
    .section-line-inverse {
        height: 0.1rem;
    }

    .logos-container-desktop {
        display: none;
    }

    .btn-feature .fa-chevron-right {
        display: inline-block;
    }

    .contact-container {
        background-image: url(../images/backgrounds/1.png);
    }
}

@media screen and (max-width: 768px) {
    .hero-img-desktop {
        display: none;
    }
}

@media screen and (min-width: 769px) {
    .hero-img-mobile {
        display: none;
    }

    /* Featurette styling */
    .featurette-mobile {
        display: none;
    }
}


@media screen and (min-width: 1200px) {
    /* Dropdown menu styling for screens larger than 1200px */
    .dropdown:hover > .dropdown-menu {
        display: flex;
        margin-top: 0;
    }

    .dropdown:hover > .nav-link {
        color: #FFFFFF;
    }

    .dropdown-menu.show {
        display: flex;
    }

    /* Navbar styling for screens larger than 1200px */
    .nav-item:hover > .nav-link {
        color: #FFFFFF;
    }

    .nav-link .fa-chevron-right {
        display: none;
    }

    .nav-link:hover .fa-chevron-right {
        display: inline-block;
    }

    .search-button:hover {
        transform: translateY(-50%) scale(1.1);
    }

        .search-button:hover .fa-magnifying-glass {
            color: var(--secondary-colour) !important;
        }

    /* Styling for logo slider screens larger than 1200px */
    .logos-container-desktop {
        background-image: radial-gradient(circle, #F0F6FA, #ADDDF6);
    }

    .logos {
        white-space: nowrap;
        padding: 0.5rem 0;
        position: relative;
    }

        .logos::before,
        .logos::after {
            position: absolute;
            top: 0;
            width: 15rem;
            height: 100%;
            content: "";
            z-index: 2;
        }

        .logos::before {
            left: 0;
            background: linear-gradient(to right, rgba(173, 221, 246, 1), rgba(255, 255, 255, 0));
        }

        .logos::after {
            right: 0;
            background: linear-gradient(to left, rgba(173, 221, 246, 1), rgba(255, 255, 255, 0));
        }

    .logos-slider {
        display: inline-block;
        animation: 60s logo-slider infinite linear;
    }

        .logos-slider img {
            height: 2.2rem;
            width: auto;
            margin: 1rem 2.5rem;
        }

    @keyframes logo-slider {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-100%)
        }
    }

    /* Feature cards styling for screens larger than 1200px */
    .icon-wrapper-click {
        display: none;
    }

    .btn-feature .fa-chevron-right {
        display: none;
    }

    .btn-feature:hover .fa-chevron-right {
        display: inline-block;
    }
}


@media screen and (min-width: 1400px) {
    .hero-logo {
        max-width: 70% !important;
        height: auto;
    }
}
