/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
* {
    font-family: "Montserrat", sans-serif;
}

.social-icons i {
    min-width: 2em;
}

.header-nav li a {
    font-size: 16px;
    text-transform: none;
    font-weight: 400;
}

#masthead .header-inner {
    gap: 50px !important;
}

.header-nav {
    gap: 30px; !important
    justify-content: flex-end;
}

.absolute-footer {
    display: none;
}

.hitech-real-estate-grid {
    width: 100%;
    margin: 0 auto;
    padding: 16px 0 28px;
}

.hitech-real-estate-grid__title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 35px;
    line-height: 1.1;
    font-weight: 900;
    color: #111827;
}

.hitech-real-estate-grid__title span {
    color: var(--primary-color);
}

.hitech-real-estate-grid__content {
    width: 100%;
}

.hitech-real-estate-grid__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 20px;
}

.hitech-real-estate-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hitech-real-estate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.hitech-real-estate-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.hitech-real-estate-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.18 / 1;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}

.hitech-real-estate-card__image,
.hitech-real-estate-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hitech-real-estate-card__placeholder {
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.18), rgba(255, 255, 255, 0.75));
}

.hitech-real-estate-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 12px;
}

.hitech-real-estate-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
}

.hitech-real-estate-card__address {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.hitech-real-estate-card__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    padding-top: 4px;
    color: #111827;
    font-size: 14px;
}

.hitech-real-estate-card__spec span {
    color: #475569;
}

.hitech-real-estate-card__spec strong {
    font-weight: 800;
}

.hitech-real-estate-card__footer {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    min-height: 56px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: #f8fafc;
}

.hitech-real-estate-card__status,
.hitech-real-estate-card__price {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.hitech-real-estate-card__status {
    background: var(--fs-color-secondary);
    color: #ffffff;
    border: 0;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.hitech-real-estate-card__status:hover {
    filter: brightness(0.92);
}

.hitech-real-estate-card__status--cho-thue {
    background: #16a34a;
}

.hitech-real-estate-card__status--ban-thue {
    background: #1d4ed8;
}

.hitech-real-estate-card__price {
    color: #111827;
}

.hitech-real-estate-grid__pagination-wrap {
    margin-top: 22px;
}

.hitech-real-estate-grid__pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hitech-real-estate-grid__page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hitech-real-estate-grid__page-btn:hover:not(:disabled),
.hitech-real-estate-grid__page-btn.is-active {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.hitech-real-estate-grid__page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hitech-real-estate-grid__empty {
    padding: 28px;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    color: #475569;
}

.hitech-real-estate-single {
    padding: 16px 0 40px;
}

.hitech-real-estate-single__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.hitech-real-estate-single__gallery-main {
    overflow: hidden;
    border-radius: 20px;
    background: #e2e8f0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.hitech-real-estate-single__gallery-main img {
    display: block;
    width: 100%;
    height: auto;
}

.hitech-real-estate-single__gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.hitech-real-estate-single__gallery-thumbs img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
}

.hitech-real-estate-single__summary {
    background: #ffffff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.hitech-real-estate-single__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(132, 204, 22, 0.14);
    color: #65a30d;
    font-weight: 800;
    margin-bottom: 14px;
}

.hitech-real-estate-single__title {
    margin: 0 0 14px;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.15;
    color: #111827;
}

.hitech-real-estate-single__excerpt {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.hitech-real-estate-single__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hitech-real-estate-single__meta div {
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.hitech-real-estate-single__meta span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hitech-real-estate-single__meta strong {
    font-size: 16px;
    color: #111827;
}

.hitech-real-estate-single__content-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin-top: 28px;
}

.hitech-real-estate-single__content,
.hitech-real-estate-single__sidebar {
    background: #ffffff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.hitech-real-estate-single__content h2 {
    margin-top: 0;
    font-size: 28px;
    line-height: 1.2;
}

.hitech-real-estate-single__contact-box h3 {
    margin-top: 0;
    font-size: 20px;
}

.hitech-real-estate-single__contact-box p {
    color: #475569;
    line-height: 1.7;
}

.hitech-real-estate-single__contact-box .button.primary {
    width: 100%;
    justify-content: center;
    margin: 0;
}

@media only screen and (max-width: 1080px) {
    .hitech-real-estate-grid__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hitech-real-estate-single__hero,
    .hitech-real-estate-single__content-wrap {
        grid-template-columns: 1fr;
    }

    .hitech-overview-grid,
    .hitech-location-grid,
    .hitech-progress-grid,
    .hitech-cta-band__inner {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 549px) {
    .hitech-real-estate-grid__items {
        grid-template-columns: 1fr;
    }

    .hitech-real-estate-grid__title {
        margin-bottom: 18px;
    }

    .hitech-real-estate-card__specs,
    .hitech-real-estate-single__meta {
        grid-template-columns: 1fr;
    }

    .hitech-real-estate-card__footer {
        grid-template-columns: 1fr;
    }

    .hitech-real-estate-single__summary,
    .hitech-real-estate-single__content,
    .hitech-real-estate-single__sidebar {
        padding: 18px;
        border-radius: 18px;
    }

    .hitech-real-estate-single__gallery-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hitech-section {
        padding: 36px 0;
    }

    .hitech-bordered-box {
        padding: 18px;
    }

    .hitech-scroll-gallery__item {
        flex-basis: 92%;
    }

    .hitech-tabs--vertical .hitech-tabs__nav {
        justify-content: center;
    }
}

.hitech-projects {
    width: 100%;
    margin: 0 auto;
    padding: 12px 0 24px;
}

.hitech-projects__title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 35px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--primary-color);
}

.hitech-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 18px;
}

.hitech-project-card {
    min-width: 0;
}

.hitech-project-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hitech-project-card__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #d8e4f7 0%, #f4f7fb 100%);
    box-shadow: 0 12px 28px rgba(18, 46, 84, 0.12);
}

.hitech-project-card__image,
.hitech-project-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hitech-project-card__placeholder {
    background: linear-gradient(135deg, rgba(31, 63, 116, 0.18), rgba(255, 255, 255, 0.7));
}

.hitech-project-card__body {
    padding: 12px 4px 0;
    text-align: center;
}

.hitech-project-card__name {
    margin: 0;
    font-size: clamp(20px, 1.6vw, 28px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--primary-color);
}

.hitech-project-card__subtitle {
    margin: 8px 0 0;
    color: #667084;
    font-size: 15px;
    line-height: 1.5;
}

.hitech-projects--cols-2 .hitech-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hitech-projects--cols-4 .hitech-projects__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hitech-project-card__location {
    margin: 8px 0 0;
    color: var(--fs-color-secondary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.hitech-project-card__summary {
    margin: 10px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.hitech-project-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--fs-color-secondary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hitech-project-card__footer {
    margin-top: auto;
    padding: 12px 16px 16px;
    color: #1f3f74;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
}

.hitech-project-grid {
    width: 100%;
    margin: 0 auto;
}

.hitech-project-grid__content {
    width: 100%;
}

.hitech-project-grid--cols-2 .hitech-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hitech-project-grid--cols-4 .hitech-projects__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hitech-project-grid__pagination-wrap {
    margin-top: 22px;
}

.hitech-project-grid__pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hitech-project-grid__page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hitech-project-grid__page-btn:hover:not(:disabled),
.hitech-project-grid__page-btn.is-active {
    background: var(--fs-color-secondary);
    color: #ffffff;
    border-color: var(--fs-color-secondary);
}

.hitech-project-grid__page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hitech-project-grid__empty {
    padding: 28px;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    color: #475569;
}

.hitech-project-single {
    padding-bottom: 0;
}

.hitech-hero {
    position: relative;
    min-height: clamp(320px, 42vw, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: #1f2937;
}

.hitech-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.hitech-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
}

.hitech-hero__badge {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--fs-color-secondary, #d26e4b);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hitech-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.hitech-hero__subtitle {
    margin: 14px auto 0;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hitech-section {
    padding: 56px 0;
    background: #ffffff;
}

.hitech-section--alt {
    background: #f4f4f4;
}

.hitech-section--band {
    background: #e8e8e8;
}

.hitech-section__title {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--primary-color);
}

.hitech-section__divider {
    width: 90px;
    height: 4px;
    margin: 16px auto 36px;
    background: var(--primary-color);
    border-radius: 999px;
}

.hitech-section__lead {
    max-width: 860px;
    margin: -16px auto 32px;
    text-align: center;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.hitech-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: center;
}

.hitech-fact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hitech-fact-list li {
    color: #334155;
    font-size: 16px;
    line-height: 1.6;
}

.hitech-fact-list i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.hitech-fact-list strong {
    color: #111827;
}

.hitech-scroll-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}

.hitech-scroll-gallery__item {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.hitech-scroll-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.hitech-video-frame {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.hitech-video-frame iframe,
.hitech-video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hitech-cta-band {
    background: #e8e8e8;
    padding: 32px 0;
}

.hitech-cta-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 28px;
    align-items: center;
}

.hitech-cta-band__text h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--primary-color);
}

.hitech-cta-band__text p {
    margin: 0;
    color: #475569;
}

.hitech-real-estate-card__spec {
    display: flex;
    flex-direction: column;
}

.hitech-cta-band__form .hitech-lead-form {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
    background: transparent;
}

.hitech-cta-band__form .hitech-lead-form__row {
    margin: 0;
}

.hitech-cta-band__form .hitech-lead-form__row label {
    font-size: 13px;
    color: #667084;
}

.hitech-cta-band__form .hitech-lead-form__row:has(textarea) {
    grid-column: 1 / -1;
}

.hitech-cta-band__form .hitech-lead-form__submit {
    grid-column: 1 / -1;
}

.hitech-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: stretch;
}

.hitech-bordered-box {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    padding: 24px;
    background: #ffffff;
}

.hitech-bordered-box--image {
    padding: 0;
    overflow: hidden;
    display: flex;
}

.hitech-bordered-box--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hitech-bordered-box__text {
    color: #475569;
    line-height: 1.7;
}

.hitech-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.hitech-tabs--vertical .hitech-tabs__nav {
    justify-content: flex-start;
}

.hitech-tabs__tab {
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hitech-tabs__tab:hover {
    border-color: var(--primary-color);
}

.hitech-tabs__tab.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.hitech-tabs__panel {
    display: none;
}

.hitech-tabs__panel.is-active {
    display: block;
}

.hitech-tabs__panel h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--primary-color);
}

.hitech-tabs__panel div,
.hitech-tabs__panel p {
    color: #475569;
    line-height: 1.7;
}

.hitech-list-plain {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hitech-list-plain li {
    color: #334155;
    line-height: 1.6;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.hitech-list-plain li:last-child {
    border-bottom: none;
}

.hitech-progress-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: center;
}

.hitech-progress-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(16, 129, 64, 0.12);
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 18px;
}

.hitech-progress-grid__text .button.primary {
    margin-top: 18px;
}

.hitech-progress-grid__image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    display: block;
}

.hitech-quote-box {
    max-width: 900px;
    margin: 0 auto 32px;
    padding: 28px 32px;
    border: 2px dashed var(--primary-color);
    border-radius: 18px;
    background: #ffffff;
    color: #334155;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

.hitech-investor {
    max-width: 760px;
    margin: 0 auto 24px;
    text-align: center;
}

.hitech-investor h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--primary-color);
}

.hitech-investor__meta {
    color: #667084;
    font-weight: 700;
    margin-bottom: 10px;
}

.hitech-investor div {
    color: #475569;
    line-height: 1.7;
}

.hitech-contact-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.hitech-contact-row li {
    color: #334155;
    font-weight: 600;
}

.hitech-contact-row i {
    color: var(--primary-color);
    margin-right: 8px;
}

.hitech-contact-row a {
    color: inherit;
    text-decoration: none;
}

.hitech-content-area {
    max-width: 860px;
    color: #334155;
    line-height: 1.75;
}

.box-why-choose {
    background-color: #FFF;
    padding: 20px;
}

.cf7-custom-form {
    max-width: 100%;
}

.cf7-row {
    display: flex;
    gap: 50px;
    margin-bottom: 35px;
}

.cf7-col {
    flex: 1;
}

.cf7-col.full {
    width: 100%;
}

.cf7-custom-form label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.cf7-custom-form .required {
    color: var();
}

.cf7-custom-form input,
.cf7-custom-form textarea,
.cf7-custom-form select {

    width: 100%;
    border: none;
    border-bottom: 1px solid #bbb;
    background: transparent;

    font-size: 18px;

    outline: none;
    box-shadow: none;

    border-radius: 0;
}

.cf7-custom-form textarea {
    min-height: 160px;
    resize: none;
}

.cf7-custom-form input:focus,
.cf7-custom-form textarea:focus,
.cf7-custom-form select:focus {
    border-bottom: 2px solid var(--primary-color);
}

.cf7-submit {
    margin-top: 40px;
}

.cf7-submit input {

    width: 100%;
    color: #fff;

    border: none;
    border-radius: 12px;

    padding: 6px;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
    transition: .3s;
}

.section-pre-footer {
    background: linear-gradient(180deg, var(--primary-color) 0%, rgb(254, 242, 223) 100%);
}

.cf7-submit input:hover {
    background: #c90713;
}

.cf7-submit input {
    margin-bottom: 0 !important;
}

@media(max-width:768px) {

    .cf7-row {
        display: block;
    }

}

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

    .hitech-projects__grid,
    .hitech-projects--cols-4 .hitech-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .hitech-projects__grid,
    .hitech-projects--cols-2 .hitech-projects__grid,
    .hitech-projects--cols-4 .hitech-projects__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hitech-projects__title {
        margin-bottom: 18px;
    }
}

.hitech-lead-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hitech-lead-modal.is-active {
    display: flex;
}

body.hitech-lead-modal-open {
    overflow: hidden;
}

.hitech-lead-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.hitech-lead-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.hitech-lead-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #111827;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    margin: 0;
}

.hitech-lead-modal__title {
    margin: 0 0 18px;
    padding-right: 28px;
    font-size: 22px;
    line-height: 1.3;
    color: #111827;
}

.hitech-lead-form__row {
    margin-bottom: 16px;
}

.hitech-lead-form__row label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.hitech-lead-form__row .required {
    color: var();
}

.hitech-lead-form__row input,
.hitech-lead-form__row textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    color: #111827;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.hitech-lead-form__row textarea {
    resize: vertical;
    min-height: 80px;
}

.hitech-lead-form__row input:focus,
.hitech-lead-form__row textarea:focus {
    border-color: var(--fs-color-secondary);
}

.hitech-lead-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.hitech-lead-form__feedback {
    min-height: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.hitech-lead-form__feedback.is-success {
    color: #16a34a;
}

.hitech-lead-form__feedback.is-error {
    color: var();
}

.hitech-lead-form__submit {
    width: 100%;
    justify-content: center;
    border: 0;
    cursor: pointer;
}

.hitech-lead-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hitech-real-estate-single__lead-form {
    margin-top: 24px;
}




.cf7-dark-form input[type="text"],
.cf7-dark-form input[type="tel"],
.cf7-dark-form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    height: 45px;
    margin-bottom: 5px;
}

.cf7-dark-form textarea {
    min-height: 90px;
    resize: none;
}

.cf7-dark-form ::placeholder {
    color: #cfcfcf;
    opacity: 1;
}

.cf7-field {
    margin-bottom: 16px;
}

.cf7-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
}

.cf7-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ffffff;
}

.cf7-submit {
    text-align: center;
    margin-top: 18px;
}

.hitech-archive {
    padding-bottom: 48px;
}

.hitech-archive__header {
    margin: 0 0 28px;
    text-align: center;
}

.hitech-archive__title {
    margin: 0;
    font-size: 35px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--primary-color);
}

.hitech-archive__description {
    margin: 10px auto 0;
    max-width: 720px;
    color: #667084;
    font-size: 15px;
    line-height: 1.6;
}

.hitech-project-grid__page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

a.hitech-project-grid__page-btn:hover {
    color: #ffffff;
}

/* Sửa lỗi giao diện bóp nghẹt trên trang Archive BĐS */
.post-type-archive-bat_dong_san #content,
.tax-bat_dong_san_category #content {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

/* Ẩn hoàn toàn khung Sidebar cũ của theme */
.tax-bat_dong_san_category .widget-area,
.tax-bat_dong_san_category #secondary {
    display: none !important;
}

/* Đưa khung chứa nội dung về 100% chiều rộng */
.tax-bat_dong_san_category #primary {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .hitech-lead-modal__dialog {
        padding: 26px 20px 22px;
    }

    .hitech-archive__title {
        font-size: 26px;
    }

}