/* Global styles and utilities */

:root {
    --primary: #FD5D14;
    --light: #F4F6F8;
    --dark: #040F28;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
    border-radius: 15px;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after {
    width: 50%;
    left: 25%;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.border-15 {
    border-radius: 15px;
}

.border-top-15 {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 15px;
    z-index: 99;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

/* Topbar */

.topbar h6,
.topbar .topbar-contact-value,
.topbar .topbar-contact-link {
    color: #212529 !important;
}

.topbar .topbar-contact-value,
.topbar .topbar-contact-link {
    font-weight: 600;
}

.topbar .topbar-contact-link {
    text-decoration: none;
}

.topbar .topbar-contact-link:hover,
.topbar .topbar-contact-link:focus {
    color: var(--primary) !important;
}

/* Navigation */

.navbar-toggler {
    border-radius: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.navbar-brand .site-logo {
    display: block;
    width: auto;
    height: 80px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-brand .site-logo {
        height: 40px;
    }

    .navbar-dark .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .navbar-nav {
        align-items: stretch;
    }

    .navbar .navbar-nav .language-switch {
        display: flex !important;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        padding: 0 0.5rem !important;
        line-height: 1;
    }
}

.navbar .navbar-nav .language-switch .language-flag {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .language-switch {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 44px;
        padding: 0.5rem 0 !important;
        line-height: 1;
    }
}

/* Hero carousel */

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 15, 40, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.hero-content {
    width: 100%;
    max-width: 1220px;
}

#header-carousel .carousel-caption .hero-content {
    position: relative !important;
    top: -95px !important;
    transform: none !important;
}

.hero-title {
    width: 100%;
    max-width: none;
    font-size: clamp(2.5rem, 5.2vw, 5.5rem);
    line-height: 1.08;
    font-weight: 700;
}

.hero-title-second-line {
    display: block;
    white-space: nowrap;
    font-size: clamp(1.1rem, 5.1vw, 4.65rem);
    line-height: 1.12;
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(2rem, 9vw, 2.75rem);
    }

    .hero-title-second-line {
        font-size: clamp(1.1rem, 5.6vw, 1.55rem);
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    #header-carousel .carousel-caption .hero-content {
        top: -68px !important;
    }
}

@media (max-width: 575.98px) {
    #header-carousel .carousel-caption .hero-content {
        top: 0 !important;
    }
}

/* About */

.about-inner {
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.about-service-list {
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 1.15rem;
    row-gap: 0;
    align-items: start;
}

.about-service-list p {
    white-space: nowrap;
}

.about-image-column {
    min-height: 400px;
}

.about-image {
    object-fit: cover;
}

.section-heading {
    max-width: 600px;
}

.section-heading-wide {
    max-width: 900px;
}

@media (max-width: 767.98px) {
    .about-inner {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .about-service-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 0.75rem;
    }

    .about-service-list p {
        white-space: normal;
    }

    .about-image-column {
        min-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .about-service-list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
}

/* Services */

.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item:hover .service-icon i {
    font-size: 60px;
}

[id^="service-"] {
    scroll-margin-top: 110px;
}

@media (max-width: 991.98px) {
    #about,
    #services,
    #contact {
        scroll-margin-top: 300px;
    }
}

/* Contact */

.contact-layout-row {
    align-items: stretch !important;
}

.contact-layout-row > [class*="col-"] {
    display: flex;
}

.contact-details-card,
.contact-form-card {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.contact-details-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-card {
    display: flex;
    flex-direction: column;
}

.contact-form-card form {
    flex: 1 1 auto;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-detail-item + .contact-detail-item {
    margin-top: 1.35rem;
}

.contact-detail-icon {
    flex: 0 0 1.65rem;
    width: 1.65rem;
    margin-top: 0.1rem;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1.25;
    text-align: center;
}

.contact-detail-copy h6 {
    color: var(--dark);
}

.contact-detail-copy p,
.contact-detail-copy a {
    overflow-wrap: anywhere;
}

.contact-form-card .form-control,
.contact-form-card .form-control.border-0,
.contact-input {
    width: 100%;
    min-height: 55px;
    padding: 0.85rem 1rem;
    color: var(--dark);
    background-color: #FFFFFF;
    border: 1px solid var(--dark) !important;
    border-radius: 10px !important;
    box-shadow: none;
}

.contact-form-card textarea.form-control,
.contact-form-card textarea.contact-input {
    min-height: 150px;
    resize: vertical;
}

.contact-form-card .form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.contact-form-card .form-control:focus {
    border-color: var(--dark) !important;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgba(4, 15, 40, 0.12);
}

@media (min-width: 992px) {
    .contact-form-card.contact-form {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .contact-layout-row > [class*="col-"] {
        display: block;
    }

    .contact-details-card,
    .contact-form-card {
        height: auto;
    }
}

/* Footer */

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary);
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}
