/* Owner: site/layout. Existing visual rules extracted from style.css. */
.top-bar {
    background: var(--gradient);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.top-bar .contact-item:hover {
    transform: translateY(-2px);
    color: #00a550;
}

.top-bar .social-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar .social-links a {
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: grid;
    place-content: center;
}

.top-bar .social-links a:hover {
    color: white;
    transform: scale(1.2) rotate(10deg);
    background: rgba(255, 255, 255, 0.1);
}
.main-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 10px 0;
}

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

.navbar-brand:hover {
    /* animation: pulse 0.6s ease-in-out; */
}

.navbar-nav {
    margin-left: auto;
    /*margin-right: 20px;*/
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    padding: 15px 0 !important;
    font-size: 1.1rem;
    display: inline-block;
}

.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::before {
    width: 100%;
}
.navbar-nav .nav-link .dd-arrow {
    font-size: 0.6em;
    margin-left: 5px;
    transition: transform 0.25s ease;
    vertical-align: middle;
}

li.default-dropdown:hover > .nav-link .dd-arrow {
    transform: rotate(180deg);
}

span.clk_btn {
    position: relative;
    font-size: 11px;
    right: 12px;
}

.navbar-nav li:hover .dropdown-menu {
    display: block;
    flex-wrap: wrap;
    justify-content: space-between;
}

.navbar > .container {
    position: relative;
}

.mega-menu .dropdown-menu li {
    width: 33%;
    display: inline-block;
    border-bottom: 1px solid #cdcdcd57;
    padding: 12px 10px;
    transition: 0.4s ease;
}

.navbar li.default-dropdown {
    position: relative;
}

.navbar li.default-dropdown .dropdown-menu li {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #cdcdcd66;
}
.navbar li.default-dropdown .dropdown-menu li.dropdown-section {
    border-bottom: none;
    padding-bottom: 0;
}

.navbar li.default-dropdown .dropdown-menu li.dropdown-section .dropdown-header {
    display: inline-block;
    position: relative;
    color: var(--dark-color);
    font-weight: 600;
    padding-bottom: 5px;
}

.navbar li.default-dropdown .dropdown-menu li.dropdown-section .dropdown-header::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav li .dropdown-menu li .dropdown-menu {
    left: 100%;
    top: 0;
    display: none;
}

.navbar-nav .dropdown-menu li .clk_btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px 15px;
}

.navbar-nav li .dropdown-menu li:hover .dropdown-menu {
    display: block;
}

.mega-menu .dropdown-menu li a.dropdown-item {
    padding: 0;
    color: var(--dark-color);
    font-weight: 500;
    background: transparent;
}

.mega-menu .dropdown-menu li span.page-menu-info {
    font-size: 0.9rem;
    line-height: normal;
}

.mega-menu .dropdown-menu li:hover {
    background: var(--bg-gradient);
    color: var(--primary-color);
    transform: translateX(5px);
}
.quote-btn {
    background: var(--gradient);
    color: white !important;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInScale 1.2s ease-out 0.6s both;
    cursor: pointer;
}

.quote-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 114, 190, 0.3);
    color: white !important;
}

.quote-btn:hover::before {
    left: 100%;
}
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

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

.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='rgba%280, 114, 190, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.dropdown-menu {
    border: none;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
    animation: fadeInScale 0.3s ease-out;
    min-width: 430px;
    width: 100%;
    left: 0;
    top: 55px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-gradient);
    color: var(--primary-color);
    transform: translateX(5px);
}

@keyframes pulse {
    0%,
    100% {
        box-shadow:
            0 15px 35px rgba(255, 255, 255, 0.4),
            0 0 30px rgba(0, 114, 190, 0.3);
    }

    50% {
        box-shadow:
            0 15px 35px rgba(255, 255, 255, 0.6),
            0 0 40px rgba(0, 114, 190, 0.5);
    }
}

@keyframes ring {
    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(15deg);
    }
}
.footer-tech {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding-top: 130px;
    z-index: 9;
    padding-bottom: 10px;
}

.footer-tech:before {
    position: absolute;
    content: "";
    background-image: url(../../imgs/footer-bg.png);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    z-index: -1;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 6px;
}

.footer-list a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: var(--secondary-color);
}

@media (max-width: 991.98px) {
    .footer-tech .row > div {
        margin-bottom: 40px;
    }

    .footer-tech .row > div:last-child {
        margin-bottom: 0;
    }
}

.footer-bottom a {
    color: var(--light-color);
    text-decoration: none;
    margin-left: 5px;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

footer h5 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.footer-contact i {
    background: var(--secondary-color);
    width: 35px;
    height: 35px;
    display: inline-grid;
    place-content: center;
    border-radius: 100%;
    flex-shrink: 0;
}

.footer-contact__map {
    margin-top: 16px;
    border-radius: var(--site-button-radius);
}

section {
    position: relative;
    overflow-x: clip;
    scroll-margin-top: 100px;
}
.cursor {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear;
}
.cursor-follower {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition:
        width 0.25s ease,
        height 0.25s ease,
        border-color 0.25s ease;
    mix-blend-mode: difference;
    /* techy glowing effect */
}
a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower {
    width: 55px;
    height: 55px;
    border-color: var(--secondary-color);
}
#scrollTopBtn {
    position: fixed;
    bottom: 130px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    outline: none;
    background: var(--gradient);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 114, 190, 0.3);
    transition: all 0.3s ease;
}
#scrollTopBtn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 165, 80, 0.4);
}
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

html {
    scroll-behavior: smooth;
}
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    /* techy dark background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}
.loader {
    display: flex;
    gap: 8px;
}

.loader span {
    width: 10px;
    height: 40px;
    background: linear-gradient(
        180deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: 8px;
    animation: pulses 1s infinite ease-in-out;
}

.loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader span:nth-child(3) {
    animation-delay: 0.4s;
}
.loading-text {
    margin-top: 20px;
    color: var(--accent-color);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

button#cancelPreloader {
    position: absolute;
    left: 0;
    top: 0;
    border: 0;
    background: var(--primary-color);
    color: white;
    padding: 10px 66px;
    border-radius: 0 0 50px 0;
    font-size: 1.2rem;
}

img {
    max-width: 100%;
    height: auto;
    transition: 0.4s ease;
}

.sticky {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    animation: slidetop 1s ease-in-out backwards;
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 1%) 0px 3px 8px;
}

.sticky .top-bar {
    display: none;
}

.sticky .navbar {
    padding: 5px 0;
}

.sticky .navbar-brand img {
    width: 235px;
}

.news-form button {
    /* position: absolute; */
    /* top: 0; */
    /* right: 0; */
    /* margin: 0 !IMPORTANT; */
    /* background: #000; */
    /* color: #fff; */
    /* padding: 8px 10px; */
}

.news-form form {
    position: relative;
}

.footer-contact p {
    display: flex;
}

@media only screen and (max-width: 1024px) {
    .quote-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    a.navbar-brand {
        margin: 0;
        padding: 0;
    }

    .navbar-brand img {
        width: 200px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 14px;
        margin: 0 5px;
    }
}

@media only screen and (max-width: 991px) {
    .navbar-toggler {
        order: 3;
    }

    ul.navbar-nav {
        margin: 0;
    }

    .navbar-nav .nav-link {
        width: 100%;
        margin: 0;
        padding: 8px 10px !important;
        border-bottom: 1px solid #cdcdcd73;
        font-size: 1rem;
    }

    .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar li.nav-item {
        position: relative;
    }

    span.clk_btn {
        position: absolute;
        top: 0;
        right: 0;
        padding: 12px 18px;
    }

    .dropdown-menu {
        animation: none;
    }

    .navbar-nav li .dropdown-menu li .dropdown-menu {
        background: #f8f8f8;
    }

    .navbar-nav li:hover .dropdown-menu {
        display: none;
    }

    .sticky .navbar-brand img,
    .navbar-brand img {
        width: 190px;
    }
}

@media only screen and (max-width: 767px) {

    .top-bar .social-links {
        display: none;
    }

    .top-bar {
        padding: 8px 0;
    }

    a.navbar-brand {
        padding: 0;
        margin: 0;
    }

    .navbar-brand img {
        width: 180px;
    }

    a.quote-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .dropdown-item {
        font-size: 14px;
    }

    .sticky .navbar {
        padding: 8px 0;
    }

    .top-bar .col-md-8 {
        width: auto;
    }

    .top-bar .col-md-4 {
        width: auto;
        justify-content: end !important;
    }

    .top-bar .row {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 575px) {

    .top-bar .contact-item a {
        font-size: 13px;
    }

    .top-bar .contact-item {
        gap: 3px;
    }

    .footer-tech:before {
        background-size: auto;
    }

    .footer-bottom {
        justify-content: center !important;
    }

    .top-bar .quote-btn {
        padding: 5px 15px;
        font-size: 13px;
    }

    #scrollTopBtn {
        width: 40px;
        height: 40px;
        font-size: 12px;
        right: 10px;
    }
}

@media only screen and (max-width: 480px) {
    .top-bar .contact-item .a-1 {
        display: none;
    }
}
.navbar li.default-dropdown .dropdown-menu.svc-mega {
    width: min(720px, calc(100vw - 330px));
    min-width: 480px;
    padding: 12px 14px 16px;
    border: 1px solid #e6edf5;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.navbar li.default-dropdown .dropdown-menu.svc-mega li.dropdown-section {
    flex: 0 0 calc(50% - 8px);
    width: auto;
    min-width: 0;
    padding: 6px 4px 10px;
    border-bottom: none;
}

.navbar
    li.default-dropdown
    .dropdown-menu.svc-mega
    li.dropdown-section
    + li.dropdown-section {
    border-left: 1px dashed #dbe4ee;
    padding-left: 16px;
}

.navbar li.default-dropdown .dropdown-menu.svc-mega li.dropdown-section .dropdown-header {
    display: block;
    width: 100%;
    margin-bottom: 0;
}
.navbar li.default-dropdown .dropdown-menu.svc-mega {
    display: none !important;
}

.navbar li.default-dropdown .clk_btn.navactives ~ .dropdown-menu.svc-mega {
    display: flex !important;
}

.navbar li.default-dropdown .dropdown-menu li.svc-mega-tile {
    flex: 0 0 100%;
    width: auto;
    padding: 0;
    border-bottom: 1px solid #cdcdcd66;
    position: relative;
    background: transparent;
}

.navbar li.default-dropdown .dropdown-menu li.svc-mega-tile:last-child {
    border-bottom: none;
}
@media (min-width: 992px) {
    .navbar li.default-dropdown:hover .dropdown-menu.svc-mega {
        display: flex !important;
    }
    .navbar-nav li > span.clk_btn {
        display: none;
    }

    .navbar li.default-dropdown .dropdown-menu li.svc-mega-tile:hover {
        z-index: 1060;
    }

    .navbar
        li.default-dropdown
        .dropdown-menu
        li.svc-mega-tile
        > .dropdown-menu {
        display: none;
        left: 100%;
        right: auto;
        top: 0;
        z-index: 1060;
    }

    .navbar
        li.default-dropdown
        .dropdown-menu
        li.svc-mega-tile:hover
        > .dropdown-menu {
        display: block;
    }
    .navbar
        li.default-dropdown
        .dropdown-menu.svc-mega
        li.dropdown-section
        + li.dropdown-section
        li.svc-mega-tile
        > .dropdown-menu {
        left: auto;
        right: 100%;
    }
}

.navbar li.default-dropdown .dropdown-menu li.svc-mega-tile > a.dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 100%;
    min-height: 48px;
    padding: 9px 10px;
    border-radius: 8px;
    white-space: normal;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--dark-color);
    text-align: left;
    background: transparent;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.navbar
    li.default-dropdown
    .dropdown-menu
    li.svc-mega-tile
    > a.dropdown-item:hover,
.navbar
    li.default-dropdown
    .dropdown-menu
    li.svc-mega-tile
    > a.dropdown-item:focus {
    background: #eef6ff;
    color: var(--primary-color);
}

.svc-mega-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}

.svc-mega-icon-fb {
    width: 30px;
    flex: 0 0 30px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.svc-mega-name {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .navbar li.default-dropdown .dropdown-menu.svc-mega {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-shadow: none;
        flex-direction: column !important;
    }

    .navbar li.default-dropdown .dropdown-menu.svc-mega li.dropdown-section {
        flex: 0 0 auto;
        width: 100%;
    }

    .navbar
        li.default-dropdown
        .dropdown-menu.svc-mega
        li.dropdown-section
        + li.dropdown-section {
        border-left: none;
        padding-left: 4px;
        border-top: 1px dashed #dbe4ee;
        margin-top: 8px;
        padding-top: 14px;
    }

    .navbar li.default-dropdown .dropdown-menu li.svc-mega-tile {
        flex: 0 0 100%;
    }
}

@media (max-width: 575.98px) {
    .navbar li.default-dropdown .dropdown-menu li.svc-mega-tile {
        flex: 0 0 100%;
    }
}

/* Extracted from web/layout/navbar.blade.php. */
.top-bar .quote-btn {
         background: white;
         color: var(--primary-color) !important;
         padding: 7px 18px;
     }
.footer-img {
    max-width: 265px;
    height: auto;
}

/* Shared public header layout. */
.myHeader {
    border-bottom: 1px solid rgba(8, 43, 98, 0.12);
}
.navbar-brand img {
    width: 236px;
    height: auto;
}
.myHeader .header-quote-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-left: 18px;
    padding: 15px 26px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(115deg, #0879e8, #06469f);
    box-shadow: 0 8px 20px rgba(8, 82, 190, 0.17);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.myHeader .header-quote-btn:hover,
.myHeader .header-quote-btn:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 82, 190, 0.25);
}

.myHeader .header-quote-btn:focus-visible {
    outline: 3px solid #7bb9ff;
    outline-offset: 3px;
}

@media (max-width: 1399.98px) {
    .myHeader .navbar-brand img {
        width: 220px;
    }

    .myHeader .navbar-nav .nav-link {
        margin-right: 5px;
        margin-left: 5px;
        font-size: 0.98rem;
    }

    .myHeader .header-quote-btn {
        margin-left: 12px;
        padding: 13px 18px;
    }
}

@media (max-width: 1199.98px) {
    .myHeader .navbar-nav .nav-link {
        margin-right: 6px;
        margin-left: 6px;
        font-size: 1rem;
    }

    .myHeader .header-quote-btn {
        margin-left: 12px;
        padding: 13px 18px;
    }
}

@media (max-width: 991.98px) {
    .myHeader .header-quote-btn {
        margin-left: auto;
        padding: 12px 16px;
        font-size: 0.92rem;
    }
}

@media (max-width: 767.98px) {
    .myHeader .header-quote-btn {
        min-height: 42px;
        gap: 8px;
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}

@media (max-width: 575.98px) {
    .myHeader .navbar-brand img {
        width: 125px;
    }

    .myHeader .header-quote-btn {
        gap: 5px;
        margin-left: auto;
        padding: 8px;
        font-size: 0.7rem;
    }
}
