@font-face {
    font-family: 'Moonhouse';
    src: url('../fonts/Moonhouse-yE5M.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.moonhouse-font {
    font-family: 'Moonhouse', sans-serif;
}

html, body {
    height: 100%;
    scrollbar-width: none;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main {
    flex: 1;
}

.justify p {
    text-align: justify;
}

/* ----- header ----- */

.navbar-brand img {
    width: 100px;
    height: auto;
}

.navbar {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: black;
    box-shadow: 0 4px 2px -2px gray;
}

header .navbar-nav .nav-link, 
header .navbar-nav .dropdown-toggle, 
header .dropdown-menu .dropdown-item {
    color: azure !important;
    font-weight: 600;
}

header .navbar-nav .nav-link:hover,
header .navbar-nav .dropdown-toggle:hover,
header .dropdown-menu .dropdown-item:hover {
    color: #8f9496 !important;
}

.navbar-nav .nav-item {
    margin-right: 20px;
}

.dropdown-menu {
    background-color: #2c3e50;
}

header.dark-header .navbar-nav .nav-link,
header.dark-header .navbar-nav .dropdown-toggle,
header.dark-header .dropdown-menu .dropdown-item {
    color: black !important;
    font-weight: 600;
}

header.dark-header .navbar-nav .nav-link:hover,
header.dark-header .navbar-nav .dropdown-toggle:hover,
header.dark-header .dropdown-menu .dropdown-item:hover {
    color: #555 !important;
}

header.scrolled .navbar-nav .nav-link,
header.scrolled .navbar-nav .dropdown-toggle,
header.scrolled .dropdown-menu .dropdown-item {
    color: white !important;
}


header.scrolled .navbar-nav .nav-link:hover,
header.scrolled .navbar-nav .dropdown-toggle:hover,
header.scrolled .dropdown-menu .dropdown-item:hover {
    color: #8f9496 !important;
}

/* ----- Side Panel ----- */

.offcanvas {
    width: 100%;
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-top: 20px;
}

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

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

.btn-close {
    outline: none;
    box-shadow: none;
}

.btn-close:focus {
    outline: none;
    box-shadow: none;
}

.navbar-nav .nav-item {
    margin-right: 20px;
}

.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="black" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
}

.navbar.scrolled .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="white" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
}

.offcanvas-body .navbar-nav .main-item {
    font-size: 1em;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.offcanvas-body .navbar-nav .sub-menu {
    padding-left: 20px;
    margin-top: 0.5rem;
}

.offcanvas-body .navbar-nav .sub-menu .nav-item {
    margin: 5px 0;
}

.offcanvas-body .navbar-nav .sub-menu .nav-link {
    color: #333;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.offcanvas-body .navbar-nav .nav-link:hover {
    color: gray;
}

.offcanvas-header h5 {
    font-weight: bold;
    color: #333;
}

.offcanvas-body .navbar-nav .main-item a {
    color: #333;
    text-decoration: none;
}

/* ----- contact ----- */

#contact-us {
    background-color: black;
    color: white;
    overflow: hidden;
}

.social-icons a {
    color: #ddd;
    font-size: 18px;
    text-decoration: none;
}

.social-icons a:hover {
    color: azure;
    text-decoration: none;
}

.map-iframe {
    width: 100%;
    height: 300px;
}

@media (max-width: 767px) {
    .map-iframe {
        height: 200px;
    }
    
    #contact-us .mb-3 {
        margin-bottom: 1.5rem;
    }
}


/* ----- footer ----- */

.footer {
    background-color: black;
    color: #ddd;
    border-top: 2px solid azure;
}

.footer-logo {
    width: 80px;
    height: auto;
}

.credits a {
    text-decoration: none;
    color: #ddd;
}

.credits a:hover {
    color: azure;
}

.info-icon {
    color: #ddd;
    font-size: 1.5rem;
    cursor: pointer;
}

.footer-popup {
    position: fixed;
    bottom: 60px; 
    right: 15px;
    background-color: #333;
    color: #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: 250px;
    z-index: 1000;
}

@media (min-width: 992px) {
    .footer-popup {
        display: none;
    }
    .company-info,
    .credits {
        display: none;
    }
    .info-icon {
        display: inline;
    }
}


/* ----- request ----- */

#quote {
    background-color: black;
    padding: 20px;
    padding-left: 4rem;
}

#quote h4 {
    color: #ddd;
}

#quote label {
    display: block;
    color: #ccc;
}

#quote .form-group {
    margin: 10px;
}

#quote input.form-control,
#quote select.form-control {
    background-color: black;
    color: #ddd;
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0%;
    width: 80%;
}

#quote input.form-control:focus,
#quote select.form-control:focus {
    outline: none;
    box-shadow: none; 
    border-bottom: 2px solid #ccc;
}

#quote input::placeholder {
    color: #666; 
}

#quote .send-button {
    background-color: #444; 
    color: #ddd;
    border: 1px, solid, #ccc;
    border-radius: 5px;
    padding: 2px 90px;
    margin-left: 20%;
}

#quote .send-button:hover {
    background-color: #666;
    color: #fff;
}

.iti {
    width: 100% !important;
}

.iti__selected-dial-code {
    color: #666 !important;
}

@media (max-width: 768px) {

    #quote .send-button {
        margin-left: 5%;
    }
}

/* ----- robot stats ----- */

.robot-stats-phrase {
    padding-left: 3em;
}

.robot-stats-phrase p {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    font-size: 18px;
}

.robot-stats .stat {
    font-size: 22px;
}

@media (max-width: 768px) {

    .robot-stats .stat {
        font-size: 1em; 
    }

    .robot-stats h2 {
        font-size: 1.5em; 
    }

    .robot-stats-phrase {
        margin-top: 15px;
        padding-left: 10px; 
    }
}

/* ----- key features ----- */

.key-features img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.key-features .container {
    margin-left: 3rem;
}

.key-features img {
    border: 2px solid grey;
}

.key-ft-img {
    width: 200px;
}

@media (max-width: 1000px) {
    .key-features img {
        width: 100px;
        height: 100px;
        object-fit: cover; 
    }
    
    .key-ft-img {
        width: 150px;
        margin-bottom: 15px;
    }

    .key-features h4 {
        font-size: 1em;
    }

    .key-features h2 {
        font-size: 1.2em;
    }

    .key-features p {
        font-size: 0.9em;
    }
}

/* ----- tech specs ----- */

.tech-specs img {
    width: 500px;
    height: 250px;
    object-fit: cover;
}

.specs-img {
    width: 600px;
}

.tech-specs .container {
    margin-left: 3rem;
}

.tech-specs h4 {
    border-bottom: 3px solid black;
    padding-bottom: 5px;
}

.left-column {
    font-weight: 500;
}

.right-column {
    color: #8f9496;
    font-weight: 500;
    font-size: 90%;
}

@media (max-width: 768px) {


    .tech-specs .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }

    .specs-img {
        margin-bottom: 15px;
    }

    .tech-specs h2 {
        font-size: 1.2em;
    }

    .tech-specs h4 {
        font-size: 1em;
    }

    .tech-specs .left-column, 
    .tech-specs .right-column {
        font-size: 0.9em;
    }

    .specs-img img {
        max-width: 80%;
        height: auto;
    }
}

/* ----- media ----- */

.media img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid grey;
}

.media .overflow-container {
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .media img {
        width: 100px;
        height: 80px;
    }

    .media h2 {
        font-size: 1.2em;
    }
}

/* ----- robots dropdown ----- */

#robots-content {
    position: absolute;
    top: 8.5%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    padding: 20px;
    border-top: solid 1px black;
    transition: height 0.3s ease, opacity 0.2s ease;
    overflow: hidden;
}

#robots-content:not(.show) {
    height: 0;
    opacity: 0;
}

#robots-content.show {
    height: auto;
    opacity: 1;
}

.collapse {
    transition: height 0.3s ease;
}

#robots-content ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

#robots-content li {
    padding: 0 70px;
    text-align: center;
}

#robots-content li a {
    text-decoration: none;
    color: black;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

#robots-content li a:hover {
    color: rgb(100, 100, 100);
    transform: scale(1.05);
}

#shadow_ {
    max-width: 120px;
    height: auto;
}

#spartan_ {
    max-width: 150px;
    height: auto;
}

#sentry_ {
    max-width: 80px;
    height: auto;
}

#robots-content li a p,
#robots-content li a h4 {
    margin: 0;
    text-decoration: none;
}

#robots-content li a p:hover,
#robots-content li a h4:hover {
    text-decoration: none;
}