html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
:root {
    --green: #A3CD46;
    --teal-gray: #465e5e;
    --yellow: #FFCC29;
    --teal: #48887B;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}
body {
    background-color: #fafafa;
    color: #322f2f;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    overflow-x: hidden;
    overflow-y: auto;
}
body::-webkit-scrollbar {
    width: 1rem;
    background-color: rgba(255, 255, 255, 0);
}
body::-webkit-scrollbar-track {
    border: solid 0.375rem transparent;
}
body::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 10px 10px var(--teal);
    border-radius: 1rem;
    border: solid 0.375rem transparent;
}
body * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.header {
    width: 100%;
    height: 6rem;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    box-shadow: 0 0 1rem 0 rgba(0,0,0,0.5);
    z-index: 10;
}
.chapterAnchor {
    position: absolute;
    top: -6rem;
    left: 0;
    width: 0;
    height: 0;
}
.header .logo a img {
    height: 4rem;
    width: auto;
}
.header .menu a {
    margin-left: 2rem;
    color: var(--teal);
    text-decoration: none;
    transition: all 0.3s;
}
.header .menu a:hover {
    color: var(--teal-gray);
}

.hero {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 4rem;
    position: relative;
}
.heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.heroText {
    margin-top: 20vh;
    width: 40vw;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: rgba(0, 141, 213, 0.2);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 141, 213, 0.2);
    padding: 4rem;
    color: white;
}
.heroText h1 {
    font-size: 3.25rem;
    margin-bottom: 2rem;
    font-weight: 700;
}
.heroText h3 {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 500;
    margin-bottom: 2rem;
}
.heroText .button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    height: 3rem;
    width: fit-content;
    background-color: var(--teal);
    color: white;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}
.heroText .button:hover {
    background-color: #376a60;
}

.whyToChoose {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 8rem;
    width: 100%;
}
.whyToChoose h2 {
    font-size: 2rem;
    margin-bottom: 4rem;
    color: var(--teal-gray);
}
.wtcContainer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.wtcItem {
    width: calc(25% - 2rem);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wtcIcon {
    width: 8rem;
    height: 8rem;
    margin-bottom: 1rem;
}
.wtcIcon img {
    width: 100%;
    height: 100%;
}
.wtcText {
    font-size: 1rem;
    color: #777;
    line-height: 1.25;
    text-align: center;
    padding: 2rem;
}



.tempLogo {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tempLogo img {
    width: 15vw;
    height: auto;
    margin-bottom: 2rem;
}
.tempLogo p {
    color: #999;
}
/* --- New sections styling for merged layout --- */

/* General text sections */
.textSection {
    padding: 6rem 8rem;
    line-height: 1.25;
}
#welcome, #location {
    background-color: #f0f0f0;
}

.textSection h2,
.twoColumns h2,
.welcomeText h2 {
    font-size: 2rem;
    color: var(--teal, #48887B); /* Fallback to green if variable undefined */
    margin-bottom: 20px;
    font-weight: 700;
}

.textSection h3 {
    font-size: 1.2rem;
    color: var(--teal-gray, #465e5e);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.textSection p {
    margin-bottom: 1rem;
}
.trueTwoCols {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    align-items: stretch;
    height: fit-content;
}
#welcome {
    background-image: url("/media/welcome.jpg");
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
}
.welcomeText {
    width: 50%;
    height: fit-content;
    padding: 6rem 6rem 6rem 8rem;
    line-height: 1.25;
    background-color: #fff;
}
.welcomeText p {
    margin-bottom: 1rem;
}
.welcomePic {
    width: 50%;

    min-height: 200px;
    height: 100%;
    object-fit: cover;
}
/* Two-column layout for location */
.twoColumns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 6rem 8rem;
    align-items: center;
}

.twoColumns img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.location {
    background-image: url("/media/map.jpg");
    background-size: cover;
    background-position: right center;
}
.cutOut {
    padding: 2rem 4rem 1rem 4rem;
    position: relative;
    left: -4rem;
    background-color: #fff;
    border-radius: 0.5rem;
}
.cutOut p {
    margin-bottom: 1rem;
}
/* Why Barakhty section inherits .wtcContainer and .wtcItem from existing styles */
#whyBarakhty {
    padding: 6rem 8rem;
}
.whyBarakhtyContainer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.whyBarakhtyItem {
    width: calc(50% - 1rem);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.whyBarakhtyItem .wtcText {
    text-align: left;
    padding: 0;
}


#whyBarakhty h2 {
    font-size: 2rem;
    color: var(--teal, #48887B);
    margin-bottom: 20px;
    font-weight: 700;
}
.whyBarakhtyContainer h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--teal-gray, #465e5e);
}

#whyBarakhty .wtcText strong {
    color: var(--teal-gray, #465e5e);
}

/* Buttons reuse your existing .button class — just add spacing for new sections */
.textSection .button,
#whyBarakhty .button {
    display: inline-block;
    margin-top: 20px;
}

/* === Layout Modernization Additions === */
h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #A3CD46;
    margin-top: 10px;
    border-radius: 2px;
}

p {
    color: #6b6b6b;
    font-size: 1rem;
    line-height: 1.25;
}

/* Buttons */
.button {
    padding: 14px 28px;
    border-radius: 1rem;
    font-weight: 600;
    background-color: #48887B;
    color: #fff;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.button:hover {
    background-color: #376a60;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Two-column layout */

.twoColumns img {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Alternate section background */
.alt-bg {
    background-color: #f8fdf3;
}
.houses {
    padding-bottom: 2rem;
    background-color: #eee;
}
.cottages {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 40rem;
    background: linear-gradient(180deg,rgba(238, 238, 238, 1) 20%, rgba(72, 136, 123, 0.2) 100%);
}
.house {
    width: calc(50% - 3rem);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.house .houseImg {
    position: absolute;
    top: 1rem;
    left: 1rem;
    height: calc(100% - 2rem);
    width: calc(100% - 2rem);
    z-index: 1;
    overflow: hidden;
    border-radius: 1rem;
}
.house .houseImg img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.2s ease;

}
.house:hover .houseImg img {
    height: calc(100% + 2rem);
    width: calc(100% + 2rem);
    top: -1rem;
    left: -1rem;
}
.houseDescription {
    position: absolute;
    top: 4rem;
    right: 4rem;
    width: 40%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    color: white;
}
.houseDescription h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--teal-gray);
}
.houseDescription p {
    font-size: 1rem;
    line-height: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
}
.houseDescription a {
    color: var(--teal);
    transition: color 0.2s ease;
}
.houseDescription a:hover {
    color: var(--teal-gray);
}
.cottageBenefits {
    display: flex;
    background-color: rgba(72, 136, 123, 0.2);
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 1rem 3rem 4rem 3rem;
}
.cotBenefit {
    width: calc(100% / 6 - 2rem);
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    margin: 0 1rem;
    height: 25rem;
    transition: all 0.5s ease;
    transform-origin: center;
    overflow: hidden;
}
.cotBenefit:hover {
    transform: scale(1.05);
}
.cotBenefitIcon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    height: 4rem;
    width: 4rem;
    color: var(--teal);
    transition: color 0.2s ease;
    z-index: 5;
}
.cotBenefitIcon svg {
    height: 4rem;
    width: auto;
}
.cotBenefit img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
    object-fit: cover;
}
.cotBenefit:hover img {
    opacity: 1;
}
.cotBenefit:hover .cotBenefitIcon {
    color: #fff;
}
.cotBenefit .shade {
    opacity: 0;
    background-color: var(--teal-gray, #465e5e);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease;
    z-index: 2;
}
.cotBenefit:hover .shade {
    opacity: 0.7;
}
.cotBenefitDescription {
    z-index: 3;
}
.cotBenefit h3 {
    font-size: 1.25rem;
    line-height: 1.25;
    color: #465e5e;
}
.cotBenefit:hover h3 {
    color: #fff;
    transition: color 0.2s ease;
}
.cotBenefit p {
    font-size: 0.875rem;
    line-height: 1.25;
    margin-top: 1rem;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    color: #fff;
}
.cotBenefit:hover p {
    opacity: 1;
    max-height: 100%;
    transition: all 0.5s ease;
}
.constructionColumns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.constrElement {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: calc(25% - 1.5rem);
}
.constrElement img {
    height: 15rem;
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    margin-bottom: 1rem;
}
.constrElement p {
    font-size: 1.125rem;
}
.constrElement p strong {
    color: var(--teal-gray);
    font-weight: 700;
}
.howToBuy {
    background-color: #f3f3f3;
}
.twoCols {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
.buyingProcess {
    width: calc(50% - 1rem);
    margin-right: 2rem;
}
.pricing {
    width: calc(50% - 1rem);
}
.steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2rem;
}
.step {
    width: 100%;
    padding: 1rem 1rem 1rem 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.step .number {
    height: 4rem;
    width: 4rem;
    border-radius: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid var(--teal);
    color: var(--teal);
    margin-right: 1rem;
    background-color: #fff;
    flex-shrink: 0;
}
.step .number:after {
    content: "";
    display: block;
    width: 2px;
    height: 1rem;
    background-color: var(--teal);
    border-radius: 2px;
    position: absolute;
    bottom: -1.625rem;
    left: calc(2rem - 2px);
}
.step:last-of-type .number:after {
    display: none;
}
.step p {
    margin-bottom: 0;
}
.inlay {
    width: 100%;
    background-color: #fff;
    border-radius: 1rem;
    border: 2px solid var(--teal);
    padding: 1rem 2rem 0 2rem;
    margin-top: 2rem;
}
.pricing strong {
    font-size: 1.5rem;
    color: var(--teal);
}
.pricing a {
    color: var(--teal);
    transition: color 0.2s ease;
}
.pricing a:hover {
    color: var(--teal-gray);
}

.civilGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    width: 100%;
    min-height: 50rem;
    grid-gap: 2rem;
}
.gridItem {
    border-radius: 1rem;
}
.gridItem .shade {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    background-color: var(--teal-gray, #465e5e);
    opacity: 0;
    border-radius: 1rem;
    transition: opacity 0.2s ease;
}
.gridItem:hover .shade {
    opacity: 0.7;
}

.gridItem img {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
}
.gridItem .civilDescription {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
    width: 100%;
    z-index: 3;
    opacity: 0;
}
.gridItem:hover .civilDescription {
    opacity: 1;
    transition: opacity 0.2s ease;
    transition-delay: 0.2s;
}
.gridItem .civilDescription h4 {
    color: #fff;
    margin-bottom: 1rem;
}
.gridItem .civilDescription h4::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #A3CD46;
    margin-top: 0.25rem;
    border-radius: 2px;
}
.gridItem .civilDescription p {
    color: #fff;
    margin-bottom: 0;
    font-size: 0.875rem;
}
.gridItem.item1 {
    grid-column: 1/4;
    grid-row: 1/2;
}

.gridItem.item2 {
    grid-column: 1/2;
    grid-row: 2/5;
}

.gridItem.item3 {
    grid-column: 1/5;
    grid-row: 5/5;
}

.gridItem.item4 {
    grid-column: 2/4;
    grid-row: 2/5;
}

.gridItem.item5 {
    grid-column: 4/6;
    grid-row: 1/3;
}

.gridItem.item6 {
    grid-column: 4/5;
    grid-row: 3/5;
}

.gridItem.item7 {
    grid-column: 5/6;
    grid-row: 3/6;
}

.gridItem.item8 {
    grid-column: 6/7;
    grid-row: 1/4;
}
.gridItem.item9 {
    grid-column: 7/8;
    grid-row: 1/4;
}
.gridItem.item10 {
    grid-column: 6/8;
    grid-row: 4/6;
}
footer {
    padding: 4rem 8rem 0 8rem;
    color: white;
}
.footerItself {
    background-color: var(--teal-gray, #465e5e);
    border-radius: 1rem 1rem 0 0;
    min-height: 20rem;
    padding: 1rem 2rem 0 2rem;
}
.footerCols {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}
.footerLogo {
    height: 4rem;
    width: auto;
    margin-bottom: 1rem;
}
.footerCol p {
    color: #fff;
    margin-bottom: 1rem;
}
.telephones, .footerMenu {
    display: flex;
    flex-direction: column;
}
.telephones {
    margin-top: 5rem;
}
.footerMenu {
    margin-top: 5rem;
}
.telephones a {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
    text-decoration: none;
}
.telephones a:hover,
.footerMenu a:hover {
    color: #bde1d9;
}
.footerMenu a {
    color: #fff;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
    text-decoration: none;
}
.formContainer {
    margin-bottom: 1rem;
}
.formContainer h4 {
    margin: 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}
.formContainer p {
    font-size: 0.875rem;
}
.contactForm {
    display: flex;
    flex-direction: column;
    margin: auto;
}
.contactForm label {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}
.contactForm input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: "Montserrat", sans-serif;
}

.contactForm input:focus {
    border-color: #A3CD46;
    outline: none;
}
.contactForm button {
    outline: none !important;
    border: none !important;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
}
.contactForm button:hover {
    background-color: #449a89 !important;
}
.subFooter {
    border-top: 1px solid #fff;
    width: 100%;
    padding: 1rem 0;
    color: #fff;
    font-size: 0.75rem;
    margin-top: 1rem;
}
#thankYouMessage {
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20rem;
    height: 10rem;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #465e5e;
    color: #fff;
    margin-top: 1rem;
}
#thankYouMessage p {
    color: #fff;
    margin-top: 1rem;
}

#thankYouMessage.hidden,
#thankYouMessage.hidden {
    display: none;
}

/* ========== MEDIA QUERIES START HERE ========== */
@media (max-width: 1460px) {
    html, body {
        font-size: 14px;
    }
}
/* For tablets and smaller desktops (up to 1200px) */
@media (max-width: 1200px) {
    html, body {
        font-size: 16px;
    }
    .header, .hero, .whyToChoose, .textSection, .twoColumns, #whyBarakhty, footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .welcomeText {
        padding: 4rem 2rem;
        width: 60%;
    }

    .wtcItem {
        width: calc(50% - 2rem);
    }

    .cottages {
        flex-direction: column;
        height: auto;
        align-items: center;
    }

    .house {
        width: 90%;
        margin-bottom: 2rem;
        height: 35rem;
    }

    .cottageBenefits {
        flex-wrap: wrap;
        justify-content: center;
        padding: 2rem 1rem;
    }

    .cotBenefit {
        width: calc(33.333% - 2rem);
        margin-bottom: 2rem;
    }

    .constructionColumns, .twoCols, .footerCols {
        flex-direction: column;
    }

    .constrElement, .buyingProcess, .pricing, .footerCol {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .civilGrid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        min-height: auto;
    }

    .gridItem.item1, .gridItem.item2, .gridItem.item3, .gridItem.item4, .gridItem.item5, .gridItem.item6, .gridItem.item7, .gridItem.item8, .gridItem.item9, .gridItem.item10 {
        grid-column: auto / span 2;
        grid-row: auto;
        aspect-ratio: 16/9;
    }

    .telephones, .footerMenu {
        margin-top: 1rem;
    }
    .formContainer {
        width: 50%;
    }
}

/* For mobile devices (up to 768px) */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        height: 5rem;
        flex-direction: column;
        justify-content: center;
    }
    .header .logo {
        margin: 1rem;
    }
    .header .menu {
        display: none; /* Simple hiding for now, a burger menu would be better */
    }

    .hero {
        padding: 0 1rem;
        aspect-ratio: 9/16;
        justify-content: center;
    }

    .heroText {
        width: 90%;
        padding: 2rem;
        margin-top: 0;
    }

    .heroText h1 {
        font-size: 2.5rem;
    }
    .heroText h3 {
        font-size: 1.2rem;
    }

    .whyToChoose, .textSection, .twoColumns, #whyBarakhty, footer {
        padding: 4rem 1rem;
    }

    .wtcItem, .whyBarakhtyItem {
        width: calc(50% - 1rem);
    }

    .trueTwoCols {
        flex-direction: column;
    }

    #welcome {
        background-image: none;
    }

    .welcomeText, .welcomePic {
        width: 100%;
    }
    .welcomePic {
        height: 200px;
        background-image: url("/media/welcome.jpg");
        background-size: cover;
        background-position: center;
    }

    .twoColumns {
        grid-template-columns: 1fr;
    }

    .cutOut {
        left: 0;
        padding: 2rem;
    }

    .house {
        height: 30rem;
    }

    .houseDescription {
        width: 80%;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        top: 2rem;
        padding: 1.5rem;
    }

    .cotBenefit {
        width: calc(100% - 1rem);
    }
    .cotBenefit img {
        opacity: 1;
    }
    .cotBenefit .cotBenefitIcon {
        color: #fff;
    }
    .cotBenefit .shade {
        opacity: 0.7;
    }
    .cotBenefit h3 {
        color: #fff;
        transition: color 0.2s ease;
    }
    .cotBenefit p {
        opacity: 1;
        max-height: 100%;
        transition: 0.5s;
    }


    .civilGrid {
        grid-template-columns: 1fr;
    }
    .gridItem .shade {
        opacity: 0.7;
    }
    .gridItem .civilDescription {
        opacity: 1;
        transition: opacity 0.2s ease;
        transition-delay: 0.2s;
    }
    .gridItem.item1, .gridItem.item2, .gridItem.item3, .gridItem.item4, .gridItem.item5, .gridItem.item6, .gridItem.item7, .gridItem.item8, .gridItem.item9, .gridItem.item10 {
        grid-column: auto;
    }

    footer {
        padding: 2rem 1rem 0 1rem;
    }
    .formContainer {
        width: 100%;
    }
}

/* For very small mobile devices (up to 480px) */
@media (max-width: 480px) {
    h2 {
        font-size: 1.8rem !important;
    }

    .wtcItem, .whyBarakhtyItem, .cotBenefit {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .heroText h1 {
        font-size: 2rem;
    }
    .heroText h3 {
        font-size: 1rem;
    }
    .telephones a {
        font-size: 1.25rem;
    }
}