/* ================= HERO ================= */

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: inherit;
        display: block;
    }
    .hero-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
    }
    .hero-content {
        position: absolute;
        inset: 0;
        z-index: 2;
        h1 {
            position: absolute;
            top: 73px;
            left: 50%;
            transform: translateX(-50%);
            margin: 0;
            font-family: "Gilroy", sans-serif;
            font-size: 56px;
            font-weight: 300;
            line-height: 1;
            letter-spacing: 2px;
            color: #fff;
            text-transform: uppercase;
        }
        p {
            position: absolute;
            bottom: 69px;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 807px;
            padding: 0 20px;
            margin: 0;
            font-family: "Avenir", sans-serif;
            font-size: 23px;
            font-weight: 500;
            line-height: 1.7;
            color: #fff;
            text-align: center;
        }
    }
    @media (max-width: 992px) {
        .hero-content {
            h1 {
                font-size: 42px;
                margin-bottom: 100px;
            }
            p {
                font-size: 16px;
                max-width: 600px;
            }
        }
    }
    @media (max-width: 576px) {
        height: 50vh;
        .hero-content {
            h1 {
                font-size: 38px;
                margin-bottom: 40px;
                letter-spacing: 1px;
            }
            p {
                font-size: 14px;
                line-height: 1.6;
                max-width: 90%;
            }
        }
    }
}


/* ================= ABOUT HEADING ================= */

.about-heading-section {
    width: 100%;
    padding: 60px 20px;
    background: #f5f2eb;
    .about-heading-container {
        max-width: 980px;
        margin: auto;
        text-align: center;
        h2 {
            font-family: "Gilroy", sans-serif;
            font-size: 60px;
            font-weight: 300;
            color: #624a2e;
            margin-bottom: 28px;
            letter-spacing: 1px;
        }
        p {
            font-family: "Avenir", sans-serif;
            font-size: 17px;
            line-height: 1.9;
            color: #0d1a27;
            max-width: 920px;
            margin: auto;
        }
    }
}

@media(max-width:768px) {
    .about-heading-section {
        padding: 45px 20px;
        .about-heading-container {
            h2 {
                font-size: 38px;
            }
            p {
                font-size: 15px;
                line-height: 1.7;
            }
        }
    }
}


/* ================= FEATURED PROJECT ================= */

.featured-project-card {
    position: relative;
    width: 100%;
    height: 790px;
    overflow: hidden;
    cursor: pointer;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: 0.6s ease;
    }
    /* Overlay */
    .project-overlay {
        position: absolute;
        inset: 0;
        background: rgba(7, 24, 42, 0);
        transition: .5s ease;
        z-index: 1;
    }
    /* Top Content */
    .project-top {
        position: absolute;
        top: 45px;
        left: 45px;
        z-index: 3;
        h2 {
            font-family: "Gilroy", sans-serif;
            font-size: 40px;
            font-weight: 300;
            color: #0d1a27;
            margin-bottom: 6px;
            transition: .4s;
        }
        p {
            font-family: "Avenir", sans-serif;
            font-size: 26px;
            color: #0d1a27;
            transition: .4s;
        }
    }
    /* Center Button */
    .project-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        opacity: 0;
        visibility: hidden;
        transition: .5s ease;
        .view-property-btn {
            display: inline-flex;
            align-items: center;
            gap: 14px;
            text-decoration: none;
            font-family: "Avenir", sans-serif;
            font-size: 24px;
            font-weight: 300;
            color: #ffffff;
            span {
                font-size: 32px;
                color: #c7b79e;
            }
        }
    }
    /* ================= HOVER ================= */
    &:hover {
        img {
            transform: scale(1.02);
        }
        .project-overlay {
            background: rgba(7, 24, 42, 0.45);
        }
        .project-top {
            h2,
            p {
                color: #ffffff;
            }
        }
        .project-center {
            opacity: 1;
            visibility: visible;
        }
    }
}


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

@media(max-width:992px) {
    .featured-project-section {
        .featured-project-card {
            height: 520px;
            .project-top {
                h2 {
                    font-size: 30px;
                }
            }
            .project-center {
                .view-property-btn {
                    font-size: 22px;
                    span {
                        font-size: 28px;
                    }
                }
            }
        }
    }
}


/* ================= MOBILE ================= */
/* Earlier it was 360 made it to 286pc */
@media(max-width:576px) {
    .featured-project-section {
        .featured-project-card {
            height: 286px;
            .project-top {
                top: 20px;
                left: 20px;
                h2 {
                    font-size: 22px;
                }
                p {
                    font-size: 14px;
                }
            }
            .project-center {
                .view-property-btn {
                    font-size: 18px;
                    gap: 8px;
                    span {
                        font-size: 22px;
                    }
                }
            }
        }
    }
}


/* ================= CONTACT SECTION ================= */

.contact-section {
    .contact-heading {
        padding: 0 !important;
        text-align: center;
        padding-bottom: 44px !important;
    }
}