:root {
    --ink: #132033;
    --muted: #667085;
    --paper: #ffffff;
    --soft: #f4f7fb;
    --line: rgba(19, 32, 51, 0.13);
    --blue: #1b5f8f;
    --blue-dark: #0d2e45;
    --gold: #f3bc52;
    --gold-strong: #ffd16f;
    --green: #2e8a65;
    --font-display: 'Poppins', 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Raleway', Arial, sans-serif;
    --shadow: 0 24px 70px rgba(16, 32, 54, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    min-width: 320px;
    background: var(--soft);
    color: var(--ink);
    font-family: var(--font-body);
}

a,
button,
input,
textarea {
    font-family: var(--font-body);
}

.preloader {
    background: var(--soft);
    display: none !important;
}

.main_menu_bg {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 14px 44px rgba(15, 49, 72, 0.08);
    backdrop-filter: blur(14px);
}

.main_menu_bg .navbar-default {
    min-height: 76px;
    margin: 0 auto;
    border: 0;
    background: transparent;
}

.main_menu_bg .navbar-default .container-fluid {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.main_menu_bg .navbar-default .container-fluid:before,
.main_menu_bg .navbar-default .container-fluid:after {
    content: none;
}

.navbar-header {
    float: none;
    display: flex;
    align-items: center;
    margin: 0;
}

.navbar-header:before,
.navbar-header:after {
    content: none;
}

.navbar-brand {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    margin-left: 0;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 28px rgba(15, 49, 72, 0.12);
    backdrop-filter: blur(10px);
}

.navbar-brand > img {
    width: 52px;
    height: 52px;
    max-width: 52px;
    max-height: 52px;
    object-fit: contain;
    border-radius: 50%;
    opacity: 0.88;
}

.main_menu_bg .navbar-default .navbar-brand {
    margin-left: 0;
}

.main_menu_bg .navbar-collapse {
    padding: 0;
    border: 0;
    box-shadow: none;
}

.main_menu_bg .navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    float: none;
    margin: 0;
}

.main_menu_bg .navbar-nav > li {
    float: none;
}

.main_menu_bg .navbar-nav > li > a {
    padding: 11px 13px;
    border-radius: 8px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.main_menu_bg .navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--blue);
    border-bottom: 0;
    background: rgba(27, 95, 143, 0.08);
}

.main_menu_bg .navbar-nav > li > a.nav-phone {
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 22px rgba(27, 95, 143, 0.18);
}

.main_menu_bg .navbar-nav > li > a.nav-phone:hover,
.main_menu_bg .navbar-nav > li > a.nav-phone:focus {
    background: var(--blue-dark);
    color: #fff;
}

.menu-scroll {
    height: auto;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 34px rgba(15, 49, 72, 0.11);
}

.home {
    min-height: 760px;
    background-position: center;
    position: relative;
}

.home .overlay {
    min-height: 760px;
    height: auto;
    display: flex;
    align-items: center;
    background:
        linear-gradient(105deg, rgba(9, 23, 38, 0.9) 0%, rgba(12, 42, 62, 0.76) 48%, rgba(9, 23, 38, 0.34) 100%);
    padding: 118px 0 76px;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 62px;
    align-items: center;
}

.hero-container:before,
.hero-container:after {
    content: none;
}

.home .main_home {
    padding-top: 0;
}

.hero-copy {
    max-width: 720px;
}

.hero-kicker {
    display: block;
    margin: 0 0 18px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
}

.main_home h1,
.home .main_home h1 {
    max-width: 700px;
    margin: 0;
    color: #fff;
    font-family: 'Inter', var(--font-body);
    font-size: 54px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    max-width: 560px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.38;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.estimate-button,
.phone-button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 24px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
}

.estimate-button {
    min-width: 222px;
    background: var(--gold);
    color: #142033;
    box-shadow: 0 18px 36px rgba(243, 188, 82, 0.34);
}

.phone-button {
    min-width: 198px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.estimate-button:hover,
.estimate-button:focus {
    color: #142033;
    background: var(--gold-strong);
    transform: translateY(-2px);
}

.phone-button:hover,
.phone-button:focus {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-2px);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 700;
}

.trust-strip span:before {
    content: "\f00c";
    margin-right: 8px;
    color: var(--gold);
    font-family: FontAwesome;
    font-size: 11px;
}

.hero-services {
    width: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.services-eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.top-left {
    position: static;
    margin: 0;
}

.text1 {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
}

.text1 h3 {
    min-height: 58px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 13px 15px 13px 46px;
    position: relative;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.text1 h3:before {
    content: "\f00c";
    width: 22px;
    height: 22px;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-family: FontAwesome;
    font-size: 10px;
    line-height: 22px;
    text-align: center;
}

.testimonial {
    background: linear-gradient(180deg, var(--soft) 0%, #ffffff 100%);
}

.contact_contant.sections {
    padding-top: 86px;
    padding-bottom: 96px;
}

.contact-section {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 42px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.contact-description {
    max-width: 560px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.form-group-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.form-group:last-child {
    grid-column: 1 / -1;
}

.form-label {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.form-input,
.form-textarea {
    height: 48px;
    padding: 12px 14px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    color: var(--ink);
    background: #fbfcfe;
    font-size: 15px;
    line-height: 1.4;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #98a2b3;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
    border-color: var(--blue);
    outline: 3px solid rgba(27, 95, 143, 0.18);
    outline-offset: 0;
    background: #fff;
}

.form-textarea {
    min-height: 132px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 22px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    transition: 0.2s ease-in-out;
}

.form-submit:hover,
.form-submit:focus {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.footer {
    background: var(--blue-dark);
}

.footer .main_footer {
    padding: 26px 0;
}

.copyright_text p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
}

.footer .flowus a i {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #fff;
    line-height: 24px;
}

.footer .flowus a i:hover {
    color: var(--blue-dark);
    background: var(--gold);
    border-color: var(--gold);
}

.scrollup {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 1;
    background: var(--blue);
    box-shadow: 0 14px 30px rgba(15, 49, 72, 0.22);
}

.scrollup:hover {
    background: var(--gold);
}

@media (min-width: 769px) {
    .main_menu_bg .navbar-collapse.collapse {
        display: flex !important;
        align-items: center;
        height: auto !important;
    }
}

@media (max-width: 1199px) {
    .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 400px);
        gap: 42px;
    }

    .main_home h1,
    .home .main_home h1 {
        font-size: 50px;
    }
}

@media (max-width: 991px) {
    .home,
    .home .overlay {
        min-height: auto;
    }

    .home .overlay {
        padding: 124px 0 58px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .main_home h1,
    .home .main_home h1 {
        max-width: 760px;
        font-size: 42px;
    }

    .hero-subtitle {
        max-width: 720px;
    }

    .hero-services {
        max-width: 760px;
    }

    .text1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 78px;
    }

    .main_menu_bg .navbar-default .container-fluid .navbar-header {
        margin-right: 0;
        margin-left: 0;
    }

    .main_menu_bg .navbar-default,
    .main_menu_bg .navbar-default .container-fluid {
        min-height: 72px;
    }

    .main_menu_bg .navbar-default .container-fluid {
        display: block;
        padding-right: 15px;
        padding-left: 15px;
    }

    .navbar-header {
        width: 100%;
        min-height: 72px;
        justify-content: space-between;
    }

    .navbar-brand {
        order: 1;
    }

    .navbar-toggle {
        order: 2;
        float: none;
        margin: 0;
        border-radius: 8px;
        border-color: rgba(19, 32, 51, 0.16);
        background: rgba(255, 255, 255, 0.74);
    }

    .navbar-brand {
        width: 58px;
        height: 72px;
        padding: 6px;
    }

    .navbar-brand > img {
        width: 46px;
        height: 46px;
        max-width: 46px;
        max-height: 46px;
    }

    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--line);
        text-align: left;
    }

    .main_menu_bg .navbar-nav {
        display: block;
        padding: 10px 0 14px;
    }

    .main_menu_bg .navbar-nav > li > a {
        display: block;
        margin: 4px 0;
        padding: 13px 16px;
    }

    .home .overlay {
        padding: 110px 0 52px;
    }

    .main_home h1,
    .home .main_home h1 {
        font-size: 35px;
        line-height: 1.14;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions {
        gap: 10px;
    }

    .estimate-button,
    .phone-button {
        width: 100%;
        min-width: 0;
    }

    .hero-services {
        padding: 18px;
    }

    .text1 {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 30px 22px;
    }

    .form-group-container {
        grid-template-columns: 1fr;
    }

    .footer .flowus,
    .copyright_text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home .overlay {
        padding: 104px 0 44px;
    }

    .main_home h1,
    .home .main_home h1 {
        font-size: 29px;
    }

    .hero-kicker {
        font-size: 11px;
    }

    .trust-strip {
        gap: 8px;
    }

    .trust-strip span {
        width: 100%;
        justify-content: center;
    }

    .text1 h3 {
        min-height: 54px;
        padding-right: 12px;
        font-size: 13px;
    }

    .contact_contant.sections {
        padding-top: 54px;
        padding-bottom: 64px;
    }

    .contact-title {
        font-size: 28px;
    }
}

@media (max-width: 360px) {
    .main_home h1,
    .home .main_home h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .contact-section {
        padding: 26px 18px;
    }
}
