:root {
    --brand-blue: #005aa8;
    --brand-blue-light: #75c5f0;
    --brand-panel: #d8effc;
    --brand-navy: #003b73;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.top-bar,
.top-bar .logo,
.feature .col-md-12:nth-child(2n),
.fact .fact-right,
.service .service-text,
.portfolio .portfolio-text,
.blog .blog-title,
.back-to-top,
.footer .newsletter .btn,
.footer .footer-social a,
.footer .footer-menu,
.footer .copyright {
    background: var(--brand-blue);
}

body {
    background: #ffffff;
}

.btn,
a,
.top-bar .top-bar-icon i,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.section-header p,
.about .about-text a.btn:hover,
.service .service-text .btn,
.portfolio .portfolio-text .btn,
.blog .blog-title .btn,
.footer h2,
.footer .footer-link a:hover,
.footer .footer-contact p i,
.footer .copyright p a {
    color: var(--brand-blue);
}

.section-header p {
    color: var(--brand-blue);
}

.section-header {
    margin-bottom: 34px;
}

.section-header h2 {
    font-size: 40px !important;
    line-height: 1.18;
}

.service .section-header,
.portfolio .section-header,
.blog .section-header {
    margin-bottom: 28px;
}

.footer h2,
.footer .newsletter h2,
.footer .footer-contact h2,
.footer .footer-link h2 {
    color: var(--brand-blue-light) !important;
}

.footer .copyright p,
.footer .copyright p a {
    color: #ffffff !important;
}

.btn,
.about .about-text a.btn,
.hero-section .btn,
.footer .newsletter .btn,
.back-to-top {
    border-color: var(--brand-blue);
}

.btn:hover,
.hero-section .btn:hover,
.about .about-text a.btn,
.footer .newsletter .btn:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

.nav-bar .navbar,
.fact .fact-left,
.footer {
    background: var(--brand-navy) !important;
}

.feature .col-md-12:nth-child(2n) {
    color: #ffffff;
}

.feature .feature-icon i,
.feature .feature-text h3,
.feature .feature-text p {
    color: inherit;
}

.feature .col-md-12:nth-child(odd) {
    background: var(--brand-blue-light);
}

.about,
.service,
.portfolio,
.blog {
    background: #ffffff;
}

.feature {
    background: var(--brand-blue-light);
}

.feature .col-md-12:nth-child(odd) .feature-text h3,
.feature .col-md-12:nth-child(odd) .feature-text p,
.feature .col-md-12:nth-child(odd) .feature-icon i {
    color: var(--brand-navy);
}

.top-bar .logo h1 {
    color: #ffffff;
    font-size: 36px;
    letter-spacing: 0;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
}

.top-bar .top-bar-text h3,
.top-bar .top-bar-text p {
    color: #ffffff;
    white-space: nowrap;
}

.top-bar .top-bar-item {
    min-width: 0;
}

.top-bar .top-bar-icon {
    flex: 0 0 34px;
}

.top-bar .top-bar-icon [class^="flaticon-"]::before,
.top-bar .top-bar-icon [class*=" flaticon-"]::before {
    font-size: 34px !important;
}

.top-bar .top-bar-text {
    min-width: 0;
    padding-left: 10px;
}

.top-bar .top-bar-text h3 {
    font-size: 15px;
}

.top-bar .top-bar-text p {
    font-size: 12px;
}

.top-bar .top-bar-icon i {
    color: #ffffff;
}

.feature .feature-icon i,
.fact .fact-icon i,
.top-bar .top-bar-icon i,
.footer .footer-contact p i,
.back-to-top i {
    color: #ffffff !important;
}

.top-bar .top-bar-icon [class^="flaticon-"]::before,
.top-bar .top-bar-icon [class*=" flaticon-"]::before,
.feature .feature-icon [class^="flaticon-"]::before,
.feature .feature-icon [class*=" flaticon-"]::before,
.fact .fact-icon [class^="flaticon-"]::before,
.fact .fact-icon [class*=" flaticon-"]::before {
    color: #ffffff !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
}

.feature .col-md-12:nth-child(odd) .feature-icon i {
    color: #ffffff !important;
}

.feature .feature-item,
.feature .feature-text h3,
.feature .feature-text p,
.feature .feature-icon i,
.fact .fact-text h2,
.fact .fact-text p,
.fact .fact-icon i {
    color: #ffffff !important;
}

.feature .feature-icon,
.fact .fact-icon {
    background: rgba(3, 15, 39, 0.28);
    border-radius: 50%;
}

.feature .row {
    align-items: stretch !important;
}

.feature .col-lg-4,
.feature .col-md-12 {
    min-height: 230px;
    display: flex;
}

.feature .feature-item {
    width: 100%;
    min-height: 230px;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    padding: 35px 46px !important;
}

.feature .feature-text {
    min-width: 0;
}

.feature .feature-text h3 {
    line-height: 1.15;
}

.feature .feature-text p {
    line-height: 1.45;
}

.service .service-text .btn,
.portfolio .portfolio-text .btn,
.blog .blog-title .btn {
    color: #ffffff !important;
}

.nav-bar .btn,
.hero-section .btn,
.footer .newsletter .btn {
    color: #ffffff;
    background: var(--brand-blue);
}

.nav-bar {
    padding: 0 !important;
}

.nav-bar .navbar {
    min-height: 70px;
    padding: 0 28px !important;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--brand-blue-light);
}

.hero-section {
    position: relative;
    height: 600px;
    min-height: 600px;
    overflow: hidden;
    background: var(--brand-navy);
}

.hero-section img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 15, 39, 0.42);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.hero-content p {
    color: var(--brand-blue-light);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 58px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 32px;
}

.hero-content .btn {
    padding: 15px 34px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.about-img img {
    object-fit: cover;
    width: 100%;
    min-height: 360px;
}

.service .service-img img,
.portfolio .portfolio-img img,
.blog .blog-img img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.service .service-overlay {
    background: rgba(0, 90, 168, 0.82);
}

.service .service-text h3,
.portfolio .portfolio-text h3,
.blog .blog-title h3 {
    color: #ffffff;
    min-height: 48px;
    font-size: 17px !important;
    line-height: 1.2;
}

.service .service-text,
.portfolio .portfolio-text,
.blog .blog-title {
    background: var(--brand-blue) !important;
}

.service .service-text h3,
.portfolio .portfolio-text h3,
.blog .blog-title h3 {
    background: var(--brand-blue) !important;
    color: #ffffff !important;
}

.service .service-item a.btn,
.portfolio .portfolio-warp a.btn,
.blog .blog-title a.btn {
    background: var(--brand-blue) !important;
    color: #ffffff !important;
    border-color: var(--brand-blue) !important;
    box-shadow: none !important;
}

.service .service-item a.btn:hover,
.portfolio .portfolio-warp a.btn:hover,
.blog .blog-title a.btn:hover {
    background: var(--brand-navy) !important;
    color: #ffffff !important;
    border-color: var(--brand-navy) !important;
}

.catalog-card .blog-title .btn {
    color: #ffffff;
}

.footer .btn-mail {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 220px;
}

@media (max-width: 767.98px) {
    .top-bar .logo h1 {
        font-size: 30px;
    }

    .carousel .carousel-item img,
    .carousel .carousel-item.active img {
        height: 100% !important;
        object-fit: cover;
    }

    .carousel,
    .carousel .carousel-inner,
    .carousel .carousel-item {
        height: 520px !important;
        max-height: 520px !important;
    }

    .carousel .carousel-caption {
        left: 15px;
        right: 15px;
        padding: 20px;
    }

    .carousel .carousel-caption .animated {
        animation: none !important;
    }

    .carousel .carousel-caption h1 {
        font-size: 28px;
    }

    .carousel .carousel-caption p {
        font-size: 16px;
    }

    .fact .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}
