.home-page {
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.home-page a,
.home-page button,
.home-page input,
.home-page textarea {
    color: inherit;
    font: inherit;
}

.home-page button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.home-page input,
.home-page textarea {
    background: transparent;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}

.home-page textarea {
    resize: none;
}

:root {
    --clr-primary: #a12b27;
    --clr-primary-hover: #861f1c;
    --clr-primary-light: #ffebeb;
    --clr-primary-card: #f0dede;
    --clr-primary-bg: rgba(161, 43, 39, 0.15);
    --clr-overlay: rgba(20, 20, 20, 0.6);
    --clr-white: #ffffff;
    --clr-off-white: #ffefef;
    --clr-text: #000000;
    --clr-muted: #8a8a8a;

    --ff-heading: 'Headland One', serif;
    --ff-body: 'Glory', sans-serif;
    --ff-nav: 'Inria Sans', sans-serif;

    --sp-container-x: 120px;
    --navbar-h: 59px;

    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    color: var(--clr-text);
    background: var(--clr-white);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.home-hero {
    position: relative;
    height: 787px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-hero-bg,
.home-hero-overlay {
    position: absolute;
    inset: 0;
}

.home-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-overlay {
    background: var(--clr-overlay);
}

.home-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    padding-top: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-hero-tagline {
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(36px, 3.6vw, 52px);
    line-height: 1.12;
    color: var(--clr-white);
}

.home-hero-logo {
    width: 373px;
    height: 74px;
    margin-top: 72px;
    object-fit: contain;
}

.home-hero-subtitle {
    margin-top: 32px;
    font-family: var(--ff-body);
    font-weight: 400;
    font-size: clamp(18px, 1.8vw, 31px);
    line-height: 1.22;
    color: var(--clr-white);
}

.home-hero-experience {
    margin-top: 18px;
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(28px, 2.7vw, 44px);
    line-height: 1.2;
    color: var(--clr-white);
}

.home-hero-actions {
    margin-top: 44px;
    display: flex;
    gap: 47px;
}

.home-hero-btn {
    width: 143px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--clr-primary);
    color: var(--clr-off-white) !important;
    font-family: var(--ff-nav);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    transition: background var(--transition);
}

.home-hero-btn:hover,
.home-hero-btn:focus-visible {
    background: var(--clr-primary-hover);
}

.home-hero-btn i {
    width: 16px;
    height: 16px;
}

.home-clients {
    padding: 88px var(--sp-container-x) 136px;
    text-align: center;
}

.home-clients__title {
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(31px, 2.95vw, 42px);
    line-height: 1.2;
    color: var(--clr-primary);
}

.home-clients__grid {
    margin-top: 60px;
}

.home-clients__grid--row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}

.home-clients__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    min-width: 0;
    padding: 8px 10px;
}

.home-clients__logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 82px;
    object-fit: contain;
}

.home-clients__divider {
    width: 100%;
    height: 2px;
    background: rgba(161, 43, 39, 0.35);
    margin: 36px 0 34px;
}

.home-highlights {
    padding: 0 var(--sp-container-x) 122px;
}

.home-why-galacon__title {
    text-align: center;
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(36px, 3.1vw, 52px);
    color: var(--clr-primary);
}

.home-why-galacon__grid {
    margin-top: 74px;
    display: grid;
    grid-template-columns: 383px 384px 384px;
    justify-content: center;
    gap: 34px 30px;
}

.home-why-card {
    min-height: 234px;
    border-radius: 15px;
    background: var(--clr-primary-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 18px 18px;
}

.home-why-card__icon {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.home-why-card__title {
    margin-top: 10px;
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(24px, 1.8vw, 31px);
    line-height: 1.2;
    color: var(--clr-primary);
}

.home-why-card__desc {
    margin-top: 8px;
    font-family: var(--ff-body);
    font-weight: 500;
    font-size: clamp(16px, 1.24vw, 22px);
    line-height: 1.35;
    color: var(--clr-primary);
}

/* =========================================================
   HOME EXPERTISE SECTION
========================================================= */

.home-expertise {

    padding: 100px var(--sp-container-x) 150px 110px;

    background: var(--clr-primary-bg);

    overflow: visible;
}


/* =========================================================
   HEADER
========================================================= */

.home-expertise__header {

    text-align: center;
}

.home-expertise__title {

    font-family: var(--ff-heading);

    font-weight: 900;

    font-size: clamp(36px, 3vw, 52px);

    color: var(--clr-primary);
}

.home-expertise__subtitle {

    margin: 18px auto 70px;

    max-width: 980px;

    font-family: var(--ff-body);

    font-size: clamp(17px, 1.3vw, 24px);

    line-height: 1.5;

    color: var(--clr-text);
}


/* =========================================================
   TIMELINE LAYOUT
========================================================= */

.home-expertise__timeline {

    max-width: 1500px;

    margin: auto;

    display: flex;

    align-items: flex-start;

    justify-content: center;

    gap: 0;

    overflow: visible;
}


/* =========================================================
   SVG CARD
========================================================= */

.expertise-svg-card {

    position: relative;

    width: 225px;

    flex-shrink: 0;

    overflow: visible;

    display: flex;

    justify-content: center;

    align-items: center;
}


/* =========================================================
   PERFECT STAGGER ALIGNMENT
========================================================= */

.expertise-svg-card--bottom {

    position: relative;
}

/* CARD 02 */
.home-expertise__timeline .expertise-svg-card--bottom:nth-child(2) {

    transform: translateY(195px);
}

/* CARD 04 */
.home-expertise__timeline .expertise-svg-card--bottom:nth-child(4) {

    transform: translateY(131px);
}

/* CARD 06 */
.home-expertise__timeline .expertise-svg-card--bottom:nth-child(6) {

    transform: translateY(180px);
}


/* =========================================================
   SVG WRAPPER
========================================================= */

.expertise-svg-shape {

    position: relative;

    width: 100%;

    overflow: visible;

    z-index: 1;
}


/* =========================================================
   SVG
========================================================= */

.expertise-svg-shape svg {

    width: 100%;

    height: auto;

    display: block;

    overflow: visible;
}


/* =========================================================
   CONTENT
========================================================= */

.expertise-svg-content {

    position: absolute;

    z-index: 5;

    width: 72%;

    left: 50%;

    transform: translateX(-50%);

    text-align: center;

    color: var(--clr-primary);
}


/* =========================================================
   CONTENT POSITION
========================================================= */

.expertise-svg-card--top .expertise-svg-content {

    top: 95px;
}

.expertise-svg-card--bottom .expertise-svg-content {

    top: 90px;
}

/* =========================================================
   CARD 06 CONTENT FIX
========================================================= */

.home-expertise__timeline .expertise-svg-card--bottom:nth-child(6) .expertise-svg-content {
    top: 82px;
}


/* =========================================================
   TITLE
========================================================= */

.expertise-svg-content h3 {

    font-family: var(--ff-nav);

    font-size: 20px;

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 14px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.expertise-svg-content p {

    font-family: var(--ff-nav);

    font-size: 14px;

    line-height: 1.45;
}


/* =========================================================
   SEAMLESS CONNECTOR OVERLAP
========================================================= */

.expertise-svg-card:not(:first-child) {

    margin-left: -8px;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1350px) {

    .home-expertise__timeline {

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        justify-items: center;

        gap: 70px 30px;
    }

    .expertise-svg-card {

        margin-left: 0 !important;

        transform: none !important;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .home-expertise__timeline {

        grid-template-columns: repeat(2, 1fr);

        gap: 60px 20px;
    }

    .expertise-svg-card {

        width: 220px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .home-expertise {

        padding: 70px 20px 80px;
    }

    .home-expertise__timeline {

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 0;
    }

    .expertise-svg-card {

        width: 196px;

        margin: 0 !important;

        transform: none !important;

        overflow: visible;
    }

    /* =====================================================
   MOBILE ZIG ZAG POSITIONING
===================================================== */
    .expertise-svg-card--top {

        align-self: flex-start;

        transform: translateY(20px) !important;
    }

    .expertise-svg-card--bottom {

        align-self: flex-end;

        transform: translateY(-70px) !important;
    }

    /* PREVENT STACK COLLAPSE */
    .home-expertise__timeline {

        padding-bottom: 10px;
    }

    /* =====================================================
       REDUCE GAP BETWEEN PAIRS
    ===================================================== */
    .expertise-svg-card:nth-child(2),
    .expertise-svg-card:nth-child(4) {

        margin-bottom: -90px !important;
    }

    /* =====================================================
       SVG
    ===================================================== */
    .expertise-svg-shape svg {

        width: 100%;

        height: auto;
    }

    /* =====================================================
       CONTENT
    ===================================================== */
    .expertise-svg-content {

        width: 72%;
    }

    .expertise-svg-card--top .expertise-svg-content {

        top: 94px;
    }

    .expertise-svg-card--bottom .expertise-svg-content {

        top: 88px;
    }

    .home-expertise__timeline .expertise-svg-card--bottom:nth-child(2) .expertise-svg-content {
        top: 80px;
    }

    .home-expertise__timeline .expertise-svg-card--bottom:nth-child(4) .expertise-svg-content {
        top: 62px;
    }

    .home-expertise__timeline .expertise-svg-card--bottom:nth-child(6) .expertise-svg-content {
        top: 54px;
    }

    .expertise-svg-content h3 {

        font-size: 18px;
    }

    .expertise-svg-content p {

        font-size: 13px;

        line-height: 1.45;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .expertise-svg-card {

        width: 182px;
    }

    .expertise-svg-card--top {
        transform: translateY(16px) !important;
    }

    .expertise-svg-card--bottom {
        transform: translateY(-56px) !important;
    }

    .expertise-svg-card:nth-child(2),
    .expertise-svg-card:nth-child(4) {
        margin-bottom: -72px !important;
    }

    .expertise-svg-card--bottom .expertise-svg-content {
        top: 84px;
    }

    .home-expertise__timeline .expertise-svg-card--bottom:nth-child(2) .expertise-svg-content {
        top: 76px;
    }

    .home-expertise__timeline .expertise-svg-card--bottom:nth-child(4) .expertise-svg-content {
        top: 56px;
    }

    .home-expertise__timeline .expertise-svg-card--bottom:nth-child(6) .expertise-svg-content {
        top: 48px;
    }

    .expertise-svg-content h3 {

        font-size: 17px;
    }

    .expertise-svg-content p {

        font-size: 12px;
    }
}

.home-projects {
    padding: 86px var(--sp-container-x) 118px;
}

.home-projects__title {
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(36px, 3.1vw, 52px);
    color: var(--clr-primary);
    margin-bottom: 60px;
}

.home-projects__layout {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 454.81px minmax(0, 1fr);
    column-gap: 82px;
    align-items: start;
}

.home-projects__img-wrap {
    width: 454.81px;
    height: 468.21px;
    overflow: hidden;
}

.home-projects__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-projects__desc {
    font-family: var(--ff-body);
    font-weight: 500;
    font-size: clamp(19px, 1.35vw, 25px);
    line-height: 1.5;
    color: var(--clr-text);
    margin-bottom: 34px;
}

.home-btn-view-all {
    width: 315px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--clr-primary);
    color: var(--clr-off-white);
    font-family: var(--ff-nav);
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    transition: background var(--transition);
}

.home-btn-view-all:hover,
.home-btn-view-all:focus-visible {
    background: var(--clr-primary-hover);
}

.home-btn-view-all i {
    width: 16px;
    height: 16px;
}

.contact-info {
    padding: 80px var(--sp-container-x) 90px;
}

.contact-info__title {
    text-align: center;
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(36px, 3.1vw, 52px);
    color: var(--clr-primary);
}

.contact-info__sub {
    margin: 12px auto 48px;
    max-width: 769px;
    text-align: center;
    font-family: var(--ff-body);
    font-weight: 500;
    font-size: clamp(20px, 1.75vw, 25px);
    line-height: 1.45;
}

.contact-info__grid {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 66px;
    row-gap: 34px;
}

.contact-block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-block__icon-wrap {
    width: 61.2257px;
    height: 61.2257px;
    background: var(--clr-primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-block__icon-wrap i {
    width: 45.9193px;
    height: 45.9193px;
    object-fit: contain;
}

.contact-block__heading {
    margin-top: 2px;
    margin-bottom: 8px;
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(29px, 2vw, 33px);
    line-height: 1.15;
    color: var(--clr-primary);
}

.contact-block__text {
    font-family: var(--ff-body);
    font-size: clamp(18px, 1.25vw, 22px);
    line-height: 1.45;
}

.contact-block__address {
    font-style: normal;
}

.home-contact-form {
    position: relative;
    padding: 0 var(--sp-container-x) 38px;
}

.home-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 366.767px;
    background: var(--clr-primary);
    z-index: 0;
}

.home-contact-form__header,
.home-contact-form__wrap {
    position: relative;
    z-index: 1;
}

.home-contact-form__header {
    padding-top: 72px;
    text-align: center;
}

.home-contact-form__title {
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: clamp(36px, 3.1vw, 52px);
    color: var(--clr-white);
}

.home-contact-form__sub {
    margin-top: 12px;
    font-family: var(--ff-body);
    font-size: clamp(21px, 1.7vw, 30px);
    color: var(--clr-white);
}

.home-contact-form__wrap {
    width: 732.483px;
    max-width: 100%;
    margin: 86px auto 0;
    padding: 56px 37.692px 57px;
    background: var(--clr-primary-light);
}

.home-contact-form__field {
    margin-bottom: 45px;
}

.home-contact-form__label {
    display: block;
    margin-bottom: 12px;
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 17px;
    color: var(--clr-primary);
}

.home-contact-form__input,
.home-contact-form__textarea {
    width: 100%;
    border: 0.916px solid var(--clr-primary);
    color: var(--clr-text);
    background: transparent;
    padding: 8px 12px;
    font-size: 16px;
}

.home-contact-form__input {
    height: 43.6438px;
}

.home-contact-form__textarea {
    height: 127.269px;
    resize: vertical;
}

.home-contact-form__form {
    display: flex;
    flex-direction: column;
}

.home-contact-form__btn {
    margin-left: auto;
    width: 86.9823px;
    height: 34.7929px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-primary);
    color: var(--clr-white);
    font-family: var(--ff-heading);
    font-weight: 900;
    font-size: 19px;
    line-height: 1;
    transition: background var(--transition);
}

.home-contact-form__btn:hover,
.home-contact-form__btn:focus-visible {
    background: var(--clr-primary-hover);
}

@media (max-width: 1024px) {
    :root {
        --sp-container-x: 40px;
    }

    .home-hero {
        height: 640px;
        padding-top: 64px;
    }

    .home-hero-logo {
        margin-top: 40px;
    }

    .home-hero-subtitle {
        margin-top: 22px;
    }

    .home-hero-experience {
        margin-top: 12px;
    }

    .home-hero-actions {
        margin-top: 28px;
        gap: 16px;
    }

    .home-clients {
        padding: 70px 40px 90px;
    }

    .home-clients__grid--row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px;
    }

    .home-clients__logo {
        min-height: 96px;
    }

    .home-clients__logo img {
        max-height: 68px;
    }

    .home-highlights {
        padding: 0 40px 74px;
    }

    .home-why-galacon__grid {
        margin-top: 42px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .home-expertise {
        padding: 66px 40px 74px;
    }

    .home-expertise__subtitle {
        margin-bottom: 40px;
    }

    .home-expertise__timeline {
        justify-content: flex-start;
        padding: 60px 20px 40px;
    }

    .home-projects {
        padding: 70px 40px 90px;
    }

    .home-projects__layout {
        margin-top: 34px;
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .home-projects__img-wrap {
        width: 100%;
        max-width: 600px;
        height: auto;
        aspect-ratio: 454.81 / 468.21;
    }

    .home-btn-view-all {
        width: 260px;
        height: 56px;
        font-size: 24px;
    }

    .contact-info {
        padding: 66px 40px 80px;
    }

    .contact-info__grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .home-contact-form {
        padding: 0 40px 34px;
    }

    .home-contact-form::before {
        height: 320px;
    }

    .home-contact-form__header {
        padding-top: 58px;
    }

    .home-contact-form__wrap {
        margin-top: 50px;
        padding: 38px 28px 42px;
    }

    .home-contact-form__field {
        margin-bottom: 24px;
    }

}

@media (max-width: 768px) {
    :root {
        --sp-container-x: 20px;
    }

    .home-hero {
        height: 500px;
    }

    .home-hero-content {
        padding: 0 20px;
    }

    .home-hero-tagline {
        font-size: 28px;
    }

    .home-hero-logo {
        width: 220px;
        height: auto;
        margin-top: 24px;
    }

    .home-hero-subtitle {
        margin-top: 14px;
        font-size: 16px;
    }

    .home-hero-experience {
        margin-top: 8px;
        font-size: 26px;
    }

    .home-page .home-hero-actions {
        margin-top: 20px;
        width: 100%;
        max-width: 320px;
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .home-page .home-hero-btn {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        padding: 0 8px;
        font-size: 14px;
        white-space: nowrap;
    }

    .home-clients {
        padding: 52px 20px 66px;
    }

    .home-clients__title {
        font-size: 30px;
    }

    .home-clients__grid {
        margin-top: 34px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        align-items: center;
    }

    .home-clients__grid--row {
        display: contents;
    }

    .home-clients__logo {
        width: 100%;
        min-width: 0;
        min-height: 74px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-clients__logo img {
        width: auto;
        height: auto;
        max-width: 88%;
        max-height: 56px;
        object-fit: contain;
    }

    .home-clients__divider {
        display: none;
    }

    .home-highlights {
        padding: 0 20px 56px;
    }

    .home-why-galacon__title {
        font-size: 36px;
    }

    .home-why-galacon__grid {
        margin-top: 30px;
        grid-template-columns: 1fr;
    }

    .home-why-card {
        min-height: 190px;
    }

    .home-why-card__icon {
        width: 62px;
        height: 62px;
    }

    .home-why-card__title {
        font-size: 26px;
    }

    .home-why-card__desc {
        font-size: 18px;
    }

    .home-expertise {
        padding: 52px 14px 62px;
    }

    .home-expertise__title {
        font-size: 40px;
    }

    .home-expertise__subtitle {
        margin-top: 12px;
        margin-bottom: 30px;
        font-size: 20px;
    }

    .home-expertise__timeline {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 34px 6px 10px;
        align-items: center;
    }

    .home-expertise-card {
        width: 100%;
        max-width: 340px;
        border-right: 2px solid var(--clr-primary) !important;
        border-radius: 6px !important;
    }

    .home-expertise-card--odd,
    .home-expertise-card--even {
        align-self: center;
        margin: 0;
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .home-expertise-card--odd .home-expertise-card__circle-wrap,
    .home-expertise-card--even .home-expertise-card__circle-wrap {
        top: -37px;
        bottom: auto;
    }

    /* Hide horizontal extensions */
    .home-expertise-card__ext-top,
    .home-expertise-card__ext-bottom {
        display: none;
    }

    /* Draw vertical arrows instead */
    .home-expertise-card:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -60px;
        /* span the gap */
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 60px;
        background: var(--clr-primary);
    }

    .home-expertise-card:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -60px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid var(--clr-primary);
        z-index: 1;
    }

    .home-expertise-card__num {
        width: 74px;
        height: 74px;
        font-size: 29px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .home-expertise-card__num::before {
        inset: 5px;
    }

    .home-expertise-card__title {
        font-size: 24px;
    }

    .home-expertise-card__desc {
        font-size: 18px;
        max-width: 100%;
    }

    .home-projects {
        padding: 52px 20px 68px;
    }

    .home-projects__title {
        font-size: 40px;
    }

    .home-projects__desc {
        font-size: 19px;
        margin-bottom: 20px;
    }

    .home-btn-view-all {
        width: 100%;
        max-width: 290px;
        font-size: 24px;
    }

    .contact-info {
        padding: 52px 20px 60px;
    }

    .contact-info__title {
        font-size: 40px;
    }

    .contact-info__sub {
        margin-bottom: 34px;
        font-size: 20px;
    }

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

    .contact-block__text {
        font-size: 18px;
    }

    .home-contact-form {
        padding: 0 20px 24px;
    }

    .home-contact-form::before {
        height: 280px;
    }

    .home-contact-form__header {
        padding-top: 44px;
    }

    .home-contact-form__title {
        font-size: 38px;
    }

    .home-contact-form__sub {
        font-size: 20px;
    }

    .home-contact-form__wrap {
        margin-top: 34px;
        padding: 26px 18px 28px;
    }

    .home-contact-form__field {
        margin-bottom: 18px;
    }

    .home-contact-form__btn {
        width: 100%;
        max-width: 120px;
    }

}


.home-page .home-btn-view-all {
    color: #ffefee !important;
}

/* Contact section copied from contact.html */
.home-contact-section {
    padding: 100px 0;
    background-color: #fff;
}

.home-contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.home-contact-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
}

.home-contact-header p {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.6;
    font-weight: 600;
}

.home-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-contact-visual {
    display: flex;
    justify-content: center;
}

.home-contact-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.home-contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.home-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.home-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.home-contact-icon {
    min-width: 55px;
    height: 55px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.home-contact-content h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 900;
}

.home-contact-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .home-contact-layout {
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .home-contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .home-contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-contact-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-contact-header h2 {
        font-size: 2.8rem;
    }
}


html, body {
    overflow-x: hidden;
}

.home-page {
    overflow-x: hidden;
}

/* Homepage contact block overrides for copied contact.html structure */

.home-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.home-section {
    padding: 80px 0;
}

.home-text-center {
    text-align: center;
}

.home-text-right {
    text-align: right;
}

.home-dark-bg {
    background-color: var(--clr-primary, #a12b27);
    color: #fff;
}

.home-dark-bg h2,
.home-dark-bg p,
.home-section-title h2,
.home-section-title p {
    color: #fff;
}

.home-btn {
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    border-radius: 4px;
    padding: 10px 24px;
    display: inline-block;
    border: 2px solid transparent;
}

.home-btn-primary {
    background-color: var(--clr-primary, #a12b27);
    color: #fff;
    border-color: var(--clr-primary, #a12b27);
}

.home-message-section {
    background: linear-gradient(to bottom, var(--clr-primary, #a12b27) 75%, transparent 75%);
    padding: 60px 0 100px;
    position: relative;
}

/* Reset legacy home-contact-form layout from older structure */
.home-message-section .home-contact-form {
    background: var(--clr-primary-light, #f8ebeb);
    color: #222;
    text-align: left;
    max-width: 820px;
    margin: 36px auto 0 !important;
    padding: 30px 28px;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    position: relative;
}

.home-message-section .home-contact-form::before {
    content: none !important;
}

.home-form-group {
    margin-bottom: 18px;
}

.home-form-group label {
    color: var(--clr-primary, #a12b27);
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.home-form-group input,
.home-form-group textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    padding: 12px;
    font: inherit;
    background: #fff;
    color: #222;
}

.home-form-group textarea {
    resize: vertical;
}

.home-submit-btn {
    width: 100%;
    max-width: 200px;
    padding: 12px;
}

/* Exact contact-form style mapping from contact.css (renamed selectors for index) */
:root {
    --primary-color: #a22c28;
    --primary-light: #f8ebeb;
    --text-color: #333;
    --font-body: "Glory";
    --white: #fff;
}

html,
body {
    overflow-x: hidden;
}

.home-message-section {
    background: linear-gradient(to bottom, var(--primary-color) 75%, transparent 75%);
    padding: 60px 0 100px;
    position: relative;
}

.home-contact-form {
    background: var(--primary-light);
    z-index: 20;
    text-align: left;
    max-width: 800px;
    color: var(--text-color);
    border-radius: 8px;
    margin: 40px auto -150px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 40px #0000001a;
}

.home-form-group {
    margin-bottom: 20px;
}

.home-form-group label {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
    display: block;
}

.home-form-group input,
.home-form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px;
}

.home-form-group textarea {
    resize: vertical;
}

.home-submit-btn {
    width: 100%;
    max-width: 200px;
    padding: 12px;
}

/* Additional exact base bits from contact.css for form header/button */
.home-dark-bg h2,
.home-dark-bg p {
    color: var(--white);
}

.home-section-title h2 {
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.home-btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.home-btn-primary:hover {
    background-color: #8c2622;
}

/* Final exact parity with contact.html button stack: .btn .btn-primary .submit-btn */
.home-message-section .home-btn {
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 4px;
    padding: 10px 24px;
    transition: background .3s, color .3s;
    display: inline-block;
}

.home-message-section .home-btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.home-message-section .home-btn-primary:hover {
    background-color: #8c2622;
}

.home-message-section .home-submit-btn {
    width: 100%;
    max-width: 200px;
    padding: 12px;
}
