/* HOMEPAGE SLIDER */

.carousel-description-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-item-description {
    width: 60% !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Optima LT W01 Roman", sans-serif;
}

.carousel-title-main {
    color: white;
    font-size: 2.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0.2rem 0.2rem 0 rgba(0, 0, 0, 0.5);
}

.carousel-title-secondary {
    color: white;
    font-size: 5rem;
    letter-spacing: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0.2rem 0.2rem 0 rgba(0, 0, 0, 0.5);
}

.carousel-item-description .standard-button {
    font-family: "Optima LT W01 Roman", sans-serif;
    text-transform: uppercase;
}

#homepage-slider {
    height: 594px;
    width: 100%;
    overflow: hidden;
}

.slider-image {
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.register-your-interest {
    width: 280px;
    position: absolute;
    right: 2%;
    top: 7%;
    z-index: 2;
}

:lang(ur) .register-your-interest {
    left: 5%;
}

.roi-title {
    background-color: var(--main-site-color);
    padding: 1rem 0;
    color: white;
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.roi-form {
    padding: 1rem 1rem;
    background-color: floralwhite;
    border-bottom: 2px solid var(--main-site-color);
    border-left: 2px solid var(--main-site-color);
    border-right: 2px solid var(--main-site-color);
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.roi-form .roi-group {
    margin-bottom: 1.5rem;
}

.roi-form .roi-group:last-child {
    margin-bottom: 0;
}

.roi-group {
    width: 100%;
}

.roi-group input {
    border: 0;
    border-bottom: 1px solid var(--main-site-color);
    font-size: 1.5rem;
    outline: 0;
    background-color: transparent;
}
/* Chrome, Safari, Edge, Opera */
.roi-group input::-webkit-outer-spin-button,
.roi-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.roi-group input[type="number"] {
    -moz-appearance: textfield;
}

.roi-submit-btn {
    display: block;
    width: 90%;
    margin: 0 auto;
    text-transform: uppercase;
    background-color: var(--main-site-color);
    color: white;
    font-size: 1.5rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 60px;
    padding: 1rem 2rem;
    transition: all 0.3s ease 0s;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.roi-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 15px 20px rgba(233, 79, 47, 0.4);
}

/* END HOMEPAGE SLIDER */

/* REAL-ESTATE-SECTION */

/* .construction-bg {
    background-repeat: no-repeat;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.979),
            rgba(255, 255, 255, 0.904)
        ),
        url(/img/compressed/home/sections/real-estate-section-img.jpg) fixed;
} */

.real-estate-card {
    background-color: white;
    transition: all 0.3s ease 0s;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

.real-estate-card:hover {
    transform: translateY(-10px);
}

.real-estate-description {
    padding: 2.5rem;
}

:lang(ur) .real-estate-description {
    text-align: right;
}

.real-estate-description-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: black;
    transition: all 0.3s ease 0s;
}

.real-estate-description-title:hover {
    color: var(--main-site-color);
}

.real-estate-description-title:after {
    content: "";
    display: block;
    width: 20%;
    padding-top: 1rem;
    border-bottom: 0.5rem solid var(--main-site-color);
}

:lang(ur) .real-estate-description-title:after {
    margin-left: auto;
}

.real-estate-description p {
    padding-top: 2rem;
    font-size: 1.4rem;
    color: #767676;
}

.real-estate-card-bottom-button {
    display: inline-block;
    font-size: 1.4rem;
    color: var(--main-site-color);
    font-weight: 600;
    cursor: pointer;
}

:lang(en) .real-estate-card-bottom-button:last-child::after {
    font-family: FontAwesome;
    content: " \f178";
}

:lang(ur) .real-estate-card-bottom-button:last-child::before {
    font-family: FontAwesome;
    content: "\f177 ";
}

.real-estate-card-bottom-button:hover {
    border-bottom: 1px solid var(--main-site-color);
}

.real-estate-card-bottom-button i {
    position: relative;
    top: 1px;
    margin-left: 5px;
}

.real-estate-card-bottom-button:hover {
    color: var(--main-site-color);
}

/* END REAL-ESTATE-SECTION */

/* PROJECTS OVERVIEW SECTION */

.projects-overview-section {
    background: #f7b733;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #f7b733, #e2d078e0),
        url(/img/compressed/home/sections/houses_2.png) no-repeat;
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #f7b733, #e2d078e0),
        url(/img/compressed/home/sections/houses_2.png) no-repeat;
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.projects-overview-item,
.dark-grey {
    color: #3c3d41;
}

.projects-overview-icon {
    font-size: 4rem;
    display: inline-block;
}

:lang(en) .projects-overview-description {
    margin-left: 1rem;
}

:lang(ur) .projects-overview-description {
    margin-right: 1rem;
}

.projects-overview-description span {
    font-size: 2rem;
    font-weight: 700;
}

.projects-overview-section .why-suficity-section .img-container {
    padding: 0;
    overflow: hidden;
}

:lang(ur) .projects-overview-section .why-suficity-section {
    text-align: right;
}

.projects-overview-section .why-suficity-section div:nth-child(2) {
    padding: 0;
}

.projects-overview-section .why-suficity-section .text-container {
    color: #3c3d41;
    font-size: 1.8rem;
    border: 2px solid #3c3d41;
    height: 100%;
    padding: 20px;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    -ms-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

:lang(ur) .projects-overview-section .why-suficity-section .text-container {
    font-size: 2.2rem;
}

@media only screen and (max-width: 575px) {
    .projects-overview-section .why-suficity-section .text-container {
        padding: 10px;
    }
}

/* END PROJECTS OVERVIEW SECTION */

/* PAYMENT SCHEDULE SECTION */

.payment-schedule-types-buttons {
    margin-bottom: 3rem;
}

.payment-type-button {
    background-color: white;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    color: black;
    font-weight: 700;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    text-transform: capitalize;
    border-radius: 3px;
    margin-right: 2px;
}

.payment-type-button:hover,
.payment-type-button-clicked {
    background-color: var(--main-site-color);
    color: white;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.noUi-handle::before,
.noUi-handle::after {
    background-color: var(--main-site-color);
}

.noUi-handle,
.noUi-target {
    border: 1px solid var(--main-site-color);
}

#payment-schedule-button {
    min-width: 80%;
    text-align: left;
    font-size: 1.5rem;
    padding: 1rem 1rem;
    background-color: var(--main-site-color);
    border-color: var(--main-site-color);
}

#payment-values {
    flex-direction: unset !important;
}

#payment-values .payment-value-btn {
    color: black;
}

#payment-values .payment-value-btn-selected {
    color: var(--main-site-color);
}

.dropdown-item:active {
    background-color: var(--main-site-color);
}

.payment-dropdown-menu {
    font-size: 1.5rem;
}

.payment-schedule-table {
    width: 80%;
}

.payment-schedule-table td {
    font-size: 1.5rem;
    transition: all 0.1s ease 0s;
}

/*
.payment-schedule-table tr:nth-child(odd) {
    background-color: var(--main-site-color);
}

 .payment-schedule-table td:hover {
    background-color: black;
    color: white;
} */

.payment-value-btn {
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    background: transparent;
    width: 50px;
}

.payment-value-btn:hover,
.payment-value-btn-selected {
    color: var(--main-site-color);
}

.payment-schedule-table table tr td:first-child {
    width: 50%;
}

/* END PAYMENT SCHEDULE SECTION */

/* SERVICES SECTION */

.white-bg {
    background-color: white;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

.service-item {
    cursor: pointer;
}

.service-item-title * {
    margin: 0;
}

.service-item-title {
    font-family: "Optima LT W01 Roman", sans-serif;
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #393e4579;
    padding: 10px 0;
    color: white;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.service-item img {
    width: 100%;
}

/* 
.service-item-1 {
} */

.service-item-big {
    grid-column: 2/4;
    grid-row: 1/3;
}

/* SERVICES SECTION END */

/* LOCATION SECTION */

.location-section .map-img-container {
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 0;
    padding-top: 48.51%; /* (img-height / img-width * container-width) */
    /* (1401 / 2888 * 100) */
}

.location-img-container {
    margin: 0;
    padding: 0;
}

/* END LOCATION SECTION */

/* TESTIMONIAL SECTION */

.biege-bg {
    background-color: #fffefa;
}

.testimonial-section .col-center {
    margin: 0 auto;
    float: none;
}

.testimonial-section .carousel {
    margin: auto;
    padding: 0 70px;
}

.testimonial-section .carousel .item {
    color: #999;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    min-height: 290px;
}

.testimonial-section .carousel .item .img-box {
    width: 135px;
    height: 135px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 50%;
}

.testimonial-section .carousel .img-box img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.testimonial-section .carousel .testimonial {
    padding: 30px 0 10px;
}

:lang(en) .testimonial-section .carousel .overview {
    font-style: italic;
}

.testimonial-section .carousel .overview b {
    text-transform: uppercase;
    color: var(--main-site-color);
}

.carousel .carousel-control {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    top: 50%;
    background: none;
}

.carousel-control i {
    font-size: 68px;
    line-height: 42px;
    position: absolute;
    display: inline-block;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 0 3px 3px #e6e6e6, 0 0 0 #000;
}

.carousel .carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li {
    width: 20px;
    height: 3px;
    background-color: #999;
}

.carousel-indicators .active {
    background-color: var(--main-site-color);
}

/* END TESTIMONIAL SECTION */

/* CLIENT SECTION */

.client-section {
    background-color: #eee;
    /* padding-bottom: 0; */
}

.client-section div {
    text-align: center;
}

.client-section img {
    margin: auto;
}

/* END CLIENT SECTION */

/* Medium devicesservice-item-title (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
    .projects-overview-item-seperator {
        display: none;
    }
}

.projects-overview-description p {
    font-size: 1.5rem;
}

.projects-overview-section .why-suficity-section {
    margin: auto;
}

/* Extra extra small devices (phones, 430px and down) */

@media only screen and (max-width: 430px) {
    .projects-overview-section .why-suficity-section {
        max-width: 80%;
    }

    .payment-type-button {
        /* padding: 1rem 2rem; */
        padding: 0 1rem;
    }

    .payment-type-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align-last: center !important;
    }

    #payment-values {
        width: 100vw;
        position: relative;
        left: calc(-50vw + 50%);
    }

    .payment-value-btn {
        font-size: 1.2rem;
    }
}

/* Extra small devices (phones, 575px and down) */
@media only screen and (max-width: 575px) {
    /* 
    .projects-overview-section .why-suficity-section {
        max-width: 50%;
    }
    */

    .carousel-title-main {
        font-size: 1.5rem;
    }

    .carousel-item-description {
        width: 80% !important;
    }

    .carousel-title-secondary {
        font-size: 3rem;
        text-align: center;
    }

    .service-item-title h3 {
        font-size: 1.2rem;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 600px) {
    .projects-overview-section .why-suficity-section {
        max-width: 90%;
    }
}

/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
    .projects-overview-section .why-suficity-section {
        max-width: 70%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {
    .projects-overview-section .why-suficity-section {
        max-width: 60%;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px) {
    .projects-overview-section .why-suficity-section {
        max-width: 50%;
    }
}
