/**
* Template Name: Imperial
* Template URL: https://bootstrapmade.com/imperial-free-onepage-bootstrap-theme/
* Updated: Mar 17 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    background: #000; /* Dark background for contrast */
    color: #ffffff; /* Neon white text */
    font-family: "Open Sans", sans-serif;
}

a {
    text-decoration: none;
    color: #ffffff; /* Neon white */
    transition: color 0.5s;
}

a:hover,
a:active,
a:focus {
    color: #e0e0e0; /* Slightly off-white for hover effect */
    outline: none;
    text-decoration: none;
}

p {
    padding: 0;
    margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
}

/* Preloader */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #000 url("../img/preloader.svg") no-repeat center center;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #ffffff; /* Neon white */
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #000; /* Dark text for contrast */
    line-height: 0;
}

.back-to-top:hover {
    background: #e0e0e0; /* Slightly off-white for hover effect */
    color: #000;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/
#hero {
    display: table;
    width: 100%;
    height: 100vh;
    background: url("../img/8machine-_-LhNDEs4MP5w-unsplash.jpg") top center;
    background-size: cover;
    background-attachment: fixed;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

#hero .hero-logo {
    margin: 20px;
}

#hero .hero-logo img {
    max-width: 100%;
}

#hero .hero-container {
    background: rgba(0, 0, 0, 0.7); /* Slightly darkened background for better contrast */
    display: table-cell;
    margin: 0;
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

#hero h1 {
    margin: 30px 0 10px 0;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    color: #ffffff; /* Neon white */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Glow effect */
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }
}

#hero h2 {
    color: #e0e0e0; /* Slightly off-white */
    margin-bottom: 50px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Glow effect */
}

#hero h2 span {
    color: #ffffff; /* Neon white */
    transition: color 0.3s;
    border-bottom: 2px solid #ffffff; /* White border for highlight */
}

@media (max-width: 768px) {
    #hero h2 {
        font-size: 24px;
        line-height: 26px;
        margin-bottom: 30px;
    }

    #hero h2 .rotating {
        display: block;
    }
}

#hero .rotating>.animated {
    display: inline-block;
}

#hero .actions a {
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 2px;
    transition: background 0.5s, color 0.5s;
    margin: 10px;
}

#hero .btn-get-started {
    background: #ffffff; /* Neon white */
    border: 2px solid #ffffff; /* White border */
    color: #000; /* Dark text for contrast */
}

#hero .btn-get-started:hover {
    background: none;
    border: 2px solid #e0e0e0; /* Slightly off-white border */
    color: #e0e0e0; /* Slightly off-white text */
}

#hero .btn-services {
    border: 2px solid #ffffff; /* White border */
    color: #ffffff; /* Neon white */
}

#hero .btn-services:hover {
    background: #ffffff; /* Neon white */
    border: 2px solid #ffffff; /* White border */
    color: #000; /* Dark text for contrast */
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #000; /* Dark background for contrast */
    transition: background 0.5s;
    z-index: 997;
    height: 70px;
}

@media (max-width: 992px) {
    #header {
        height: 60px;
    }
}

#header.fixed-top {
    background: rgba(0, 0, 0, 0.85);
}

#header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff; /* Neon white */
}

#header .logo a {
    color: #ffffff; /* Neon white */
}

#header .logo img {
    height: 50px;
}

.scrolled-offset {
    margin-top: 70px;
}

@media (max-width: 992px) {
    .scrolled-offset {
        margin-top: 60px;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #ffffff; /* Neon white */
    white-space: nowrap;
    transition: color 0.3s;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: #e0e0e0; /* Slightly off-white */
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #000; /* Dark background for contrast */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3); /* White shadow */
    transition: opacity 0.3s, top 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    text-transform: none;
    color: #ffffff; /* Neon white */
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
    color: #e0e0e0; /* Slightly off-white */
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
    color: #ffffff; /* Neon white */
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: color 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9); /* Dark background for contrast */
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #000; /* Dark background for contrast */
    overflow-y: auto;
    transition: opacity 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #ffffff; /* Neon white */
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
    color: #e0e0e0; /* Slightly off-white */
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #000; /* Dark background for contrast */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3); /* White shadow */
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
    color: #e0e0e0; /* Slightly off-white */
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url("../img/8machine-_-LhNDEs4MP5w-unsplash.jpg") no-repeat center center;
    background-size: cover;
    padding: 80px 0 120px;
}

#contact .container {
    max-width: 1140px; /* Adjust this to your desired max width */
    margin: 0 auto;
}

#contact .info {
    color: #ffffff; /* Neon white */
}

#contact .info i {
    font-size: 32px;
    color: #ffffff; /* Neon white */
    float: left;
    line-height: 0;
    margin-right: 15px;
}

#contact .info p {
    padding: 0 0 2px;
    line-height: 24px;
    margin-left: 50px;
    color: #ffffff; /* Neon white */
}

#contact .php-email-form .error-message {
    display: none;
    color: #ffffff; /* Neon white */
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

#contact .php-email-form .error-message br + br {
    margin-top: 25px;
}

#contact .php-email-form .sent-message {
    display: none;
    color: #ffffff; /* Neon white */
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

#contact .php-email-form .loading {
    display: none;
    background: #000; /* Dark background for contrast */
    text-align: center;
    padding: 15px;
}

#contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

#contact .php-email-form input,
#contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    background-color: #000; /* Dark background for contrast */
    color: #ffffff; /* Neon white */
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
    background-color: #ffffff; /* Neon white */
    color: #000; /* Dark text for contrast */
}

#contact .php-email-form button[type=submit] {
    background: #ffffff; /* Neon white */
    border: 0;
    padding: 10px 24px;
    color: #000; /* Dark text for contrast */
    transition: background 0.4s;
}

#contact .php-email-form button[type=submit]:hover {
    background: #e0e0e0; /* Slightly off-white */
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: rgba(0, 0, 0, 0.8); /* Dark background for contrast */
    color: #ffffff; /* Neon white text */
    padding: 40px 0;
    text-align: center;
}

#footer h3 {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffffff; /* Neon white text */
}

#footer p {
    margin-bottom: 20px;
    color: #e0e0e0; /* Slightly off-white text for contrast */
}

#footer .social-links {
    margin-top: 20px;
}

#footer .social-links a {
    font-size: 24px;
    color: #ffffff; /* Neon white */
    transition: color 0.3s;
    margin: 0 10px;
}

#footer .social-links a:hover {
    color: #e0e0e0; /* Slightly off-white for hover effect */
}

@media (max-width: 768px) {
    #footer h3 {
        font-size: 20px;
    }

    #footer .social-links a {
        font-size: 20px;
        margin: 0 8px;
    }
}
