@charset "UTF-8";

:root {
    --primary: #4166f5;
    --secondary: #14a1ce;
    --shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    --text-shadow: 2px 3px 4px rgba(0,0,0,.5);
    --light: rgba(74, 144, 226, .1);
}

body {
    background-color: #fff;
    color: #222; }

section { padding: 4rem 0; }

h1, h2, h3, h4, h5, h6 { color: var(--primary); }

h1 {
    text-transform: uppercase;
    margin-bottom: 1rem; }

a {
    text-decoration: none;
    transition: all .15s ease; }

.bg-light { background-color: rgba(74, 144, 226, .1) !important; }
.btn:focus { box-shadow: none; }
.badge:hover { color: #222;  }
address { margin-bottom: 0; }
button:focus:not(:focus-visible) { box-shadow: none; }

li { list-style-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='red' class='bi bi-dot' viewBox='0 0 16 16'><path d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/></svg>"); }

li.check { list-style-image: url("data:image/svg+xml,<svg width='1em' height='1em' viewBox='0 0 16 16' class='bi bi-check2-circle mr-1' fill='green' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M15.354 2.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L8 9.293l6.646-6.647a.5.5 0 0 1 .708 0z'/><path fill-rule='evenodd' d='M8 2.5A5.5 5.5 0 1 0 13.5 8a.5.5 0 0 1 1 0 6.5 6.5 0 1 1-3.25-5.63.5.5 0 1 1-.5.865A5.472 5.472 0 0 0 8 2.5z'/></svg>"); }

li.arrow { list-style-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='red' class='bi bi-arrow-right-short' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z'/></svg>"); }

.underline {
    margin-bottom: 5px;
    position: relative; }

.underline:hover::after  {
    width: 75%;
    background-color: var(--bs-danger); }

.underline:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    content: '.';
    color: transparent;
    background-color: var(--bs-danger);
    height: 1px;
    transition: all .15s ease; }

.text-underline:hover { text-decoration: none; }

img.myImg {
    box-shadow: var(--shadow);
    border-radius: .5rem;
    max-width: 100%;
    height: auto; }

.circle {
    box-shadow: var(--shadow);
    border-radius: 50%;
    width: 150px;
    height: 150px; }

.and::after {
    font-family: 'Arial';
    content: '&';
    font-size: 80%; }

/* HR Line */
.line:after {
    background-image: linear-gradient(90deg, #fff 0%, var(--primary) 50%, #fff 100%);
    content: '';
    display: inline-block;
    width: 100px;
    height: 1px;
    border: 0;
    margin: 0;
    padding: 0; }


/* .top */
.top::before {
    content: "";
    display: block;
    height: 100px;
    margin: -100px 0 0; }


/* Center */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center; }

/* Z-Index */
.z1 { z-index: 1; }
.z2 { z-index: 2; }
.z3 { z-index: 3; }

/* Video */
video:focus, video:active {
    border: none;
    outline: none; }

video {
    border-radius: .25rem;
    overflow: hidden;
    -webkit-transform: translateZ(0); }

/* Social Media SVG */
.bi-facebook { fill: #1778f2; }
a.facebook:hover .bi-facebook { fill: #4267B2; }

.bi-instagram { fill: #833AB4; }
a.bi-instagram:hover .bi-instagram { fill: #4267B2; }


/* Callout */
.callout {
    display: inline-block;
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0,0,0,.15);
    border-left-width: .25rem;
    border-radius: .25rem; }

.callout-primary { border-left-color: var(--bs-primary); }
.callout-danger { border-left-color: var(--bs-danger); }
.callout-success { border-left-color: var(--bs-sucess); }
.callout-info { border-left-color: var(--bs-info); }
.callout-warning { border-left-color: var(--bs-warning); }
.callout-light { border-left-color: var(--bs-light); }
.callout-dark { border-left-color: var(--bs-dark); }

/* Divider */
.divider {
    z-index: -1;
    position: absolute;
    top: 210px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0; }

.divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px; }

.divider .shape-fill { fill: var(--primary); }


/* ******************************************** Content ******************************************** */


header {
    background-color: var(--primary);
    display: flex;
    justify-content: space-between; }

header .brand { 
    margin-top: 1.5rem;
    text-align: center; }
    
header address {
    font-size: 14px;
    text-align: right; 
    margin-right: 1rem; }


/* Navigation */
nav:not(.sub-nav) {
    width: 100%;
    display: flex;
    justify-content: space-between; }
    
.nav-inner {
    display: flex;
    justify-content: center;
    align-items: center; }
    
.nav-inner, .brand { flex-basis: 33.33334%; }

nav svg { margin-bottom: 6px; }
.brand { text-align: center; }
    
.right-nav-wrapper {
    display: flex;
    flex-direction: column; }

.nav-link {
    padding: .5rem .75rem;
    font-size: 14px;
    color: #fff;
    margin-left: .5rem;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center; }

.nav-link.active {
    color: var(--primary);
    background-color: #fff;
    border-radius: .5rem; }

.nav-link:hover, .nav-link:focus { 
    border-radius: .5rem;
    background-color: #fff;
    color: var(--secondary); }


/* Landing */
#landing {
    background-color: transparent;
    padding-top: 6rem;
    height: calc(100vh - 211px);
    display: flex;
    justify-content: center;
    align-items: center; }
    
#landing.index h1 { text-transform: unset; }

#landing.index .display-1 { 
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0;  }

#landing p {
    color: var(--muted);
    margin-top: 1rem; }

#landing .btn { margin-top: 1.2rem; }


/* Pages */
#about, #contact { padding-top: 6rem; }
#history { padding-top: 8rem; }

#services section { 
    background-color: var(--light);
    padding: 2rem;
    border-radius: .5rem; }
    
#services h2 { margin-top: 1.5rem; }

figcaption {
    margin-top: .5rem;
    font-family: var(--bs-font-monospace);
    letter-spacing: normal;
    font-size: 14px;
}
    

/* Map */
#map {
    width: 100%;
    height: 100%; }


/* Contact Form */
#first-name, #first-name-label { display: none; visibility: hidden; opacity: 0; z-index: -1; text-indent: 100%; }
#contact-form .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
#contact-form .form-floating>label { color: #222; }
#contact-form .input-group-text { border-top-right-radius: 0; border-bottom-right-radius: 0; }
#contact-form .bi { fill: var(--bs-primary); }
#contact-form .form-floating { flex-grow: 1; }
#contact-form .messege { align-items: flex-start; padding-top: .7rem; }
#contact-form .bi-chat-right-fill { margin-top: .8rem; }
#form_message { height: 200px; }

#contact-form {
    padding: 0 1rem 1rem 1rem;
    margin-bottom: 1rem; }

.contact-circle {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: .5rem; }


/* Footer */
footer {
    padding: 1rem;
    background-color: #222;
    border-top: solid 1px #000;
    text-align: center;
    color: #eee; }

footer p { color: inherit !important; }

.footer-links {
    padding: 0 1rem;
    margin-top: .5rem;
    margin-bottom: .5rem; }

.footer-links a {
    font-size: 18px;
    color: #ffffcc;
    margin-left: .5rem; }

.footer-links a:hover { color: #aaa; }

.footer-links a::before {
    margin-right: .5rem;
    content: "|"; }

.footer-links a:first-child::before { content: ""; }
.footer-links:nth-of-type(2) a:before { display: none; }

/* MSWD */
.mswd-links p {
    font-size: 13px !important;
    display: block;
    margin-top: 1rem;
    line-height: 1.25rem;
    text-align: center; }

.mswd-links a {
    transition: all .15s ease;
    text-decoration: underline;
    color: inherit;
    font-size: inherit; }

.mswd-links a:hover {
    opacity: .7;
    text-decoration: none; }


/* ******************************************** REPONSIVE ******************************************** */

@media (min-width: 768px) {
    p, li:not(.nav-item), q {
        font-size: 18px; }
    
    #contact .row { align-items: center; }
    .margin1 { margin-top: 8rem; }
    #technical img { margin-top: 2.5rem; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .nav-link {
        font-size: 13px;
        margin-top: -4rem;
        margin-left: 0;
        padding: .5rem; }
    
    #landing { 
        margin-bottom: 2rem;
        height: auto; }
        
    #landing h1 { margin-top: 2rem; }
    
    #landing.index img {
        max-width: 50%;
        margin-right: auto;
        margin-top: -2rem !important; }
        
    .services-img { 
        margin-top: 0 !important;
        justify-content: flex-start; }
        
    .contact-circle { margin-left: -1rem; }
}

@media (max-width: 767px) {
    section { padding: 2rem 0; }
    #technical { margin-top: 6px !important; }
    footer.services { margin-top: -1rem; }
    .divider { display: none; }
    .callout { margin: 0; }

    .order1 { order: 1; }
    .order2 { order: 2; }
    .order3 { order: 3; }

    /* Navigation */
    nav { 
        flex-direction: column;
        justify-content: center; }
        
    header .brand { 
        margin-top: 0;
        margin-bottom: 0; }
    
    .brand img { margin-bottom: -1rem; }
        
    .nav-link { 
        font-size: 1rem;
        color: #fff; }
        
    .nav-link svg { display: none; }
    .brand h1 { margin-bottom: 0; }
    .nav-inner.order3 { margin-bottom: 1rem; }


    /* Landing */
    #landing {
        height: auto;
        align-items: flex-start;
        text-align: center;
        margin-top: 0;
        padding-top: 2rem; }

    #landing h1 { margin-top: 0; }
    .index-img { margin-top: 0 !important; }
    #landing .row.align-items-center { text-align: left; }
    
    /* Pages */
    #about, #contact, #history { padding-top: 2rem; }
    .contact-circle { margin: 0 auto; }
    #contact-form { padding: 0; }
    .projects-img { margin-top: 2rem; }
    
    .services-img { 
        margin-top: 1rem !important;
        justify-content: flex-start; }


    /* Footer */
    footer p, .footer-links a { font-size: 16px !important; }
}
