/* ============================================================
   Bungee Font Declaration
   ============================================================ */
@font-face {
    font-family: 'bungeeregular';
    src: url('/css/fonts/bungee-regular-webfont.woff2') format('woff2'),
         url('/css/fonts/bungee-regular-webfont.woff') format('woff'),
         url('/css/fonts/bungee-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ============================================================
   Icon Definitions (SVG background images)
   ============================================================ */
.home:before {
    display: block;
    content: ' ';
    background-image: url('/fonts/grid-world.svg');
    background-size: 36px 51px;
    background-position: center 0px;
    background-repeat: no-repeat;
    width: 36px;
    height: 51px;
    margin: 0 auto;
}
.aion:before {
    display: block;
    content: ' ';
    background-image: url('/fonts/rubik-cube.svg');
    background-size: 36px 51px;
    background-position: center 0px;
    background-repeat: no-repeat;
    width: 36px;
    height: 51px;
    margin: 0 auto;
}
.web-design:before {
    display: block;
    content: ' ';
    background-image: url('/fonts/computer.svg');
    background-size: 36px 51px;
    background-position: center 0px;
    background-repeat: no-repeat;
    width: 36px;
    height: 51px;
    margin: 0 auto;
}
.web:before {
    display: block;
    content: ' ';
    background-image: url('/fonts/web-hosting.svg');
    background-size: 36px 51px;
    background-position: center 0px;
    background-repeat: no-repeat;
    width: 36px;
    height: 51px;
    margin: 0 auto;
}
.tree:before {
    display: block;
    content: ' ';
    background-image: url('/fonts/tree.svg');
    background-size: 36px 51px;
    background-position: center 0px;
    background-repeat: no-repeat;
    width: 36px;
    height: 51px;
    margin: 0 auto;
}
.mail:before {
    display: block;
    content: ' ';
    background-image: url('/fonts/mail.svg');
    background-size: 36px 51px;
    background-position: center 0px;
    background-repeat: no-repeat;
    width: 36px;
    height: 51px;
    margin: 0 auto;
}

/* ============================================================
   Global reset & base
   ============================================================ */
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

/* ============================================================
   Navigation component CSS (responsive menu)
   ============================================================ */
.nav ul {
    max-width: 1240px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.1em;
    letter-spacing: 1px;
    font-weight: 100;
    font-family: 'bungeeregular', Arial, Helvetica, sans-serif;
}

.nav li span {
    display: block;
}

.nav a {
    display: block;
    color: rgba(249, 249, 249, .9);
    text-decoration: none;
    -webkit-transition: color .5s, background .5s, height .5s;
    -moz-transition: color .5s, background .5s, height .5s;
    transition: color .5s, background .5s, height .5s;
}

.nav i {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

a, button {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Hover effect - dim all, brighten hovered */
.no-touch .nav ul:hover a { color: rgba(249, 249, 249, .5); }
.no-touch .nav ul:hover a:hover { color: rgba(249, 249, 249, 0.99); }

/* Background colours for each item */
.nav li:nth-child(6n+1) { background: rgba(19, 136, 186, 0.5); }
.nav li:nth-child(6n+2) { background: rgba(18, 127, 174, 0.5); }
.nav li:nth-child(6n+3) { background: rgba(17, 118, 162, 0.5); }
.nav li:nth-child(6n+4) { background: rgba(16, 109, 150, 0.5); }
.nav li:nth-child(6n+5) { background: rgba(15, 100, 138, 0.5); }
.nav li:nth-child(6n+6) { background: rgba(14, 91, 126, 0.5); }

/* Active page highlight (red) */
.nav li.active-page { background: rgba(183, 21, 19, 0.5) !important; }

/* Desktop layout >= 800px */
@media (min-width: 50em) {
    .nav li {
        float: left;
        width: 16.66666666666667%;
        text-align: center;
        -webkit-transition: border .5s;
        transition: border .5s;
    }
    .nav a {
        display: block;
        width: auto;
    }
    .no-touch .nav li:nth-child(6n+1) a:hover,
    .no-touch .nav li:nth-child(6n+1) a:active,
    .no-touch .nav li:nth-child(6n+1) a:focus { border-bottom: 4px solid rgb(12, 101, 138); }
    .no-touch .nav li:nth-child(6n+2) a:hover,
    .no-touch .nav li:nth-child(6n+2) a:active,
    .no-touch .nav li:nth-child(6n+2) a:focus { border-bottom: 4px solid rgb(11, 92, 126); }
    .no-touch .nav li:nth-child(6n+3) a:hover,
    .no-touch .nav li:nth-child(6n+3) a:active,
    .no-touch .nav li:nth-child(6n+3) a:focus { border-bottom: 4px solid rgb(10, 83, 114); }
    .no-touch .nav li:nth-child(6n+4) a:hover,
    .no-touch .nav li:nth-child(6n+4) a:active,
    .no-touch .nav li:nth-child(6n+4) a:focus { border-bottom: 4px solid rgb(9, 74, 102); }
    .no-touch .nav li:nth-child(6n+5) a:hover,
    .no-touch .nav li:nth-child(6n+5) a:active,
    .no-touch .nav li:nth-child(6n+5) a:focus { border-bottom: 4px solid rgb(8, 65, 90); }
    .no-touch .nav li:nth-child(6n+6) a:hover,
    .no-touch .nav li:nth-child(6n+6) a:active,
    .no-touch .nav li:nth-child(6n+6) a:focus { border-bottom: 4px solid rgb(7, 56, 78); }

    .icon { padding-top: 1.0em; }
    .icon + span {
        margin-top: 1.5em;
        -webkit-transition: margin .5s;
        transition: margin .5s;
    }
    .nav a { height: 9em; }
    .no-touch .nav a:hover,
    .nav a:active,
    .nav a:focus { height: 10em; }
    .no-touch .nav a:hover .icon + span {
        margin-top: 2.2em;
        -webkit-transition: margin .5s;
        transition: margin .5s;
    }
    .nav i {
        position: relative;
        display: inline-block;
        margin: 0 auto;
        padding: 0.4em 0.7em;
        border-radius: 50%;
        font-size: 1.6em;
        box-shadow: 0 0 0 30px transparent;
        background: rgba(255,255,255,0.1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-transition: box-shadow .6s ease-in-out;
        transition: box-shadow .6s ease-in-out;
    }
    .no-touch .nav a:hover i,
    .no-touch .nav a:active i,
    .no-touch .nav a:focus i {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.2);
        -webkit-transition: box-shadow .4s ease-in-out;
        transition: box-shadow .4s ease-in-out;
    }
}

@media (min-width: 50em) and (max-width: 61.250em) {
    .nav ul { font-size: 1.2em; }
}

/* Tablet / mobile < 800px */
@media (max-width: 49.938em) {
    .no-touch .nav ul li:nth-child(6n+1) a:hover,
    .no-touch .nav ul li:nth-child(6n+1) a:active,
    .no-touch .nav ul li:nth-child(6n+1) a:focus { background: rgb(227, 119, 20); }
    .no-touch .nav li:nth-child(6n+2) a:hover,
    .no-touch .nav li:nth-child(6n+2) a:active,
    .no-touch .nav li:nth-child(6n+2) a:focus { background: rgb(245, 160, 41); }
    .no-touch .nav li:nth-child(6n+3) a:hover,
    .no-touch .nav li:nth-child(6n+3) a:active,
    .no-touch .nav li:nth-child(6n+3) a:focus { background: rgb(44, 168, 219); }
    .no-touch .nav li:nth-child(6n+4) a:hover,
    .no-touch .nav li:nth-child(6n+4) a:active,
    .no-touch .nav li:nth-child(6n+4) a:focus { background: rgb(31, 120, 176); }
    .no-touch .nav li:nth-child(6n+5) a:hover,
    .no-touch .nav li:nth-child(6n+5) a:active,
    .no-touch .nav li:nth-child(6n+5) a:focus { background: rgb(39, 70, 90); }
    .no-touch .nav li:nth-child(6n+6) a:hover,
    .no-touch .nav li:nth-child(6n+6) a:active,
    .no-touch .nav li:nth-child(6n+6) a:focus { background: rgb(32, 54, 68); }
    .nav ul li {
        -webkit-transition: background 0.5s;
        transition: background 0.5s;
    }
}

/* 2-column grid at tablet widths */
@media (min-width: 32.5em) and (max-width: 49.938em) {
    .nav li { display: block; float: left; width: 50%; }
    .nav a { padding: 0.8em; }
    .nav li span,
    .nav li span.icon { display: inline-block; }
    .nav li span.icon { width: 50%; }
    .nav li .icon + span { font-size: 1em; }
    .icon + span { position: relative; top: -0.2em; }
    .nav li i {
        display: inline-block;
        padding: 8% 9%;
        border: 4px solid transparent;
        border-radius: 50%;
        font-size: 1.5em;
        background: rgba(255,255,255,0.1);
        -webkit-transition: border .5s;
        transition: border .5s;
    }
    .no-touch .nav li:hover i,
    .no-touch .nav li:active i,
    .no-touch .nav li:focus i { border: 4px solid rgba(255,255,255,0.1); }
}

@media (min-width: 32.5em) and (max-width: 38.688em) {
    .nav li span.icon { width: 50%; }
    .nav li .icon + span { font-size: 0.9em; }
}

/* Mobile hamburger toggle */
.nav .navtoogle {
    display: none;
    width: 100%;
    font-family: 'bungeeregular', Arial, Helvetica, sans-serif;
    font-weight: 200;
    text-align: left;
    color: #FFFFFF;
    font-size: 1.2em;
    letter-spacing: 1px;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(225, 225, 225, 0.8);
    cursor: pointer;
    padding: 0.5em 0.5em 0.8em;
}

.navtoogle i { z-index: -1; }

.icon-menu {
    position: relative;
    top: 3px;
    line-height: 0;
    font-size: 1.6em;
    color: #FFFFFF;
    padding-right: 0.5em;
}

/* Icon-reorder (hamburger) */
.icon-reorder:before { content: "☰"; font-size: 1.2em; font-style: normal !important; }

@media (max-width: 32.438em) {
    .nav .navtoogle { margin: 0; display: block; }
    .main { min-height: 4em; }
    .no-js .nav ul { max-height: 30em; overflow: hidden; }
    .js .nav ul { max-height: 0em; overflow: hidden; }
    .js .nav .active + ul {
        max-height: 30em;
        overflow: hidden;
        -webkit-transition: max-height .4s;
        transition: max-height .4s;
    }
    .nav li span { display: inline-block; height: 100%; }
    .nav a { padding: 0.5em; }
    .icon + span { margin-left: 1em; font-size: 0.8em; }
    .nav li:nth-child(6n+1) { border-left: 8px solid rgb(12, 101, 138); }
    .nav li:nth-child(6n+2) { border-left: 8px solid rgb(11, 92, 126); }
    .nav li:nth-child(6n+3) { border-left: 8px solid rgb(10, 83, 114); }
    .nav li:nth-child(6n+4) { border-left: 8px solid rgb(9, 74, 102); }
    .nav li:nth-child(6n+5) { border-left: 8px solid rgb(8, 65, 90); }
    .nav li:nth-child(6n+6) { border-left: 8px solid rgb(7, 56, 78); }
    .touch .nav a { padding: 0.8em; }
}

/* ============================================================
   Site-wide styles
   ============================================================ */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 200;
    color: rgba(255, 255, 255, 1);
    background-color: #0c77a3;
    background: linear-gradient(to bottom, rgba(0,26,51,1) 0%, rgba(11,129,152,1) 100%);
    line-height: 1.5;
}

a { text-decoration: none !important; color: #8dc63f; }
a:hover { color: #222; }

h1, h2, h3, h4, h5, h6 {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 100;
    line-height: 1.5;
    margin: 0 0 30px 0;
    font-family: 'bungeeregular', Arial, Helvetica, sans-serif;
}

/* ============================================================
   #wrapper
   ============================================================ */
#wrapper {
    position: relative;
    float: none;
    width: 100%;
    margin: 0 auto;
    background-color: #0c77a3;
    background-image: url('/images/BAKH.jpg');
    background-size: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.wrapperMOBILE {
    margin: 0 auto !important;
    background-color: #0c77a3 !important;
    background-attachment: fixed !important;
    background: url('/images/BAKHM.jpg') no-repeat top center !important;
    -webkit-background-size: contain !important;
    -moz-background-size: contain !important;
    -o-background-size: contain !important;
    background-size: contain !important;
}

/* ============================================================
   Container / Main layout
   ============================================================ */
.container {
    width: 100%;
    padding: 0;
}

.main {
    width: 100%;
    max-width: 82.667em;
    min-height: 15em;
    margin: 0 auto;
    padding: 0;
}

/* ============================================================
   Hero / Particles area
   ============================================================ */
#hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 80px;
    right: 40px;
    z-index: 2;
    max-width: 550px;
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 200;
}

.hero-content .logoXM {
    display: none;
    font-family: 'bungeeregular', Arial, Helvetica, sans-serif;
    color: rgba(255,255,255,0.9);
    font-size: 24px;
    margin-bottom: 10px;
}

@media (max-width: 778px) {
    .hero-content {
        right: 0;
        left: 0;
        bottom: 100px;
        padding: 0 20px;
    }
    .hero-content .logoXM { display: block; }
}

/* ============================================================
   Footer
   ============================================================ */
#footer {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 1);
    padding: 40px 0 0;
}

#footer .footer-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.footer-col-left {
    flex: 0 0 280px;
    width: 280px;
    min-width: 0;
    padding-right: 30px;
    box-sizing: border-box;
}

.footer-col-right {
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #footer {
        background: #0a738a;
    }
    #footer .footer-inner {
        flex-wrap: wrap;
    }
    .footer-col-left,
    .footer-col-right {
        flex: 0 0 100%;
        width: 100%;
        padding-right: 0;
    }
}

#footer img { max-width: 150px; }

#footer address, #footer p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 5px;
}

#footer a { color: #8dc63f; }
#footer a:hover { color: #fff; }

#copyrights {
    margin-top: 30px;
    background: rgba(0,0,0,0.3);
    padding: 15px 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

#copyrights a { color: rgba(255,255,255,0.6); }
#copyrights a:hover { color: #fff; }

.footer-text p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.7; }

/* ============================================================
   Go to Top
   ============================================================ */
#gotoTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1000;
    font-size: 18px;
}
#gotoTop:hover { background: rgba(0,0,0,0.8); }
#gotoTop.visible { display: block; }

/* ============================================================
   Modal (Terms)
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9000;
    overflow-y: auto;
}
.modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; }
.modal-box {
    background: #1a3a4a;
    color: rgba(255,255,255,0.85);
    border-radius: 4px;
    max-width: 800px;
    width: 100%;
    padding: 30px;
    position: relative;
}
.modal-box h3 { color: #fff; font-size: 20px; margin-bottom: 20px; }
.modal-box p { font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: #8dc63f; }

/* ============================================================
   Afooter link
   ============================================================ */
.Afooter { color: rgba(255,255,255,0.6); font-size: 13px; }
.Afooter:hover { color: #fff; }
.AR { margin-left: 10px; }

/* ============================================================
   Footer logo
   ============================================================ */
.footer-logo {
    max-width: 120px;
    display: block;
    margin-bottom: 15px;
    margin-top: 10px;
}
