@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #1a3f35;
    --secondary-color: #278e87;
    --ternary-color: #036a9f;
    --ternary1-color: #036a9f;
    --secondary-form-bg-color: rgba(39, 142, 135, 0.5);
    /*--ternary1-color: #856d47;*/
    /*#b01e33*/
    --text-color: #333;
    --text-white-color: #fff;
    --light-text-color: #888;
    --white-color: #fff;
    --light-bg-color: #f0f0f0;
    --border-color: #ddd;
  
    /* Font families */
    --primary-font: "Tajawal", sans-serif;
    --secondary-font: "Philosopher", sans-serif;
    --heading-font: "Montserrat", sans-serif;
  
    /* Font sizes */
    --base-font-size: 15px;
    --small-font-size: 14px;
    --large-font-size: 24px;
  
    /* Spacing */
    --section-padding: 4rem 0;
    --container-padding: 20px;
  
    /* Border radius */
    --border-radius: 5px;
  
    /* Transitions */
    --transition-speed: 0.3s;
  
    /* Box shadow */
    --box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  
    /* Z-index */
    --header-z-index: 1000;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: var(--secondary-font);
}

.header {
    background-color: var(--secondary-color);
    color: white;
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    line-height: 0;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    margin: 0 auto;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
}

.close > span:first-child {
    transform: translate(0px, 7px) rotate(45deg);
}

.close > span:last-child {
    transform: translate(-1px, 0px) rotate(-45deg);
}

.close > span:nth-child(2) {
    display: none;
}

.hero {
    position: relative;
    line-height: 0;
}

.hero img {
    width: 100%;
    height: calc(95vh - 88px);
}

.overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
}

.container {
    width: 85%;
    margin: 0 auto;
}

#map {
    height: 400px;
    width: 640px;
}

@media (max-width: 768px) {
    #map {
        height: 400px;
        width: 100%;
    }
    .modal-content {
        width: 90% !important;
    }
}

/* ========================================================================== */
input[type="email"],
input[type="tel"],
input[type="text"],
textarea {
    font: 15px/24px Raleway, sans-serif;
    color: var(--white-color);
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    letter-spacing: 1px;
}

input:focus-visible, textarea:focus-visible {
    outline-offset: none;
    outline: none;
}

.modal-form {
    position: relative;
}

.enquire-form .checkbox-container label {
    color: var(--light-bg-color);
}

.enquire-form .form-control {
    border: 1px solid var(--white-color);
    padding: 7px 14px;
    width: 100%;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    background: 0 0;
}
.enquire-form .form-control ~ .focus-border:after,
.enquire-form .form-control ~ .focus-border:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--ternary1-color);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
.enquire-form .form-control ~ .focus-border:after {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
}
.enquire-form .form-control ~ .focus-border i:after,
.enquire-form .form-control ~ .focus-border i:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background-color: var(--ternary1-color);
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}
.enquire-form .form-control ~ .focus-border i:after {
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
}
.enquire-form .form-control:focus ~ .focus-border:after,
.enquire-form .form-control:focus ~ .focus-border:before,
.enquire-form .has-content.form-control ~ .focus-border:after,
.enquire-form .has-content.form-control ~ .focus-border:before {
    width: 100%;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
.enquire-form .form-control:focus ~ .focus-border i:after,
.enquire-form .form-control:focus ~ .focus-border i:before,
.enquire-form .has-content.form-control ~ .focus-border i:after,
.enquire-form .has-content.form-control ~ .focus-border i:before {
    height: 100%;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}
.enquire-form .form-control ~ label {
    position: absolute;
    left: 14px;
    width: 100%;
    top: 10px;
    color: var(--white-color) !important;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: 0;
    letter-spacing: 0.5px;
}
.enquire-form .form-control:focus ~ label,
.enquire-form .has-content.form-control ~ label {
    top: -18px;
    left: 0;
    font-size: 12px;
    color: var(--white-color) !important;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.input-effect {
    position: relative;
    margin-bottom: 1.25rem;
}
.form-group {
    text-align: center;
}
/* ========================================================================== */

.hero-form {
    position: absolute;
    width: 400px;
    top: 50px;
    right: 50px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 20px;
    border-radius: 5px;
}


.enquire-form h3 {
    margin-bottom: 1rem;
}

.enquire-form input,
.enquire-form textarea {
    width: 100%;
    /* margin-bottom: 10px; */
    padding: 5px;
}

.enquire-form button {
    background-color: var(--ternary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding-top: 6rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -3px 0px 10px 0px #000000a6;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links a{ 
        border-bottom: 0.5px solid #ccc;
    }

    .nav-links a:hover{ 
        background-color: var(--light-text-color);
    }

    .hamburger {
        display: flex;
        z-index: 0;
    }

    .hero-form {
        position: static;
        width: calc(100vw - 10px);
        margin: 5px;
    }
}

h2 {
    margin-bottom: 1rem;
}

.flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--light-bg-color);
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    grid-gap: 1rem;
}

.icon {
    width: 32px;
    height: 32px;
}

.content {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 24px;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.value {
    font-size: 16px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .flex-container {
        grid-gap: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .info-item {
        grid-gap: 0.5rem;
    }
}

h1,
h2 {
    text-align: center;
    margin-bottom: 20px;
}

.overview {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.overview p {
    text-align: justify;
}

.tagline {
    /*font-style: italic;*/
    text-align: center;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

th {
    background-color: var(--secondary-color);
    color: white;
}

.check-price {
    background-color: var(--ternary-color);
    color: white;
    padding: .5rem .5rem;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

button:hover {
    color: var(--white-color);
    background-color: #303030;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--text-color);
        padding: 1rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    nav ul.show {
        display: flex;
        transform: translateY(0);
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .section {
        padding: 2rem 0 !important;
    }
}

.section {
    padding: 4rem 0;
}
.section p {
    line-height: 1.5;
    font-size: 1.25rem;
}

.section.small {
    padding: 2rem 0;
}

h2 {
    color: var(--primary-color);
}

/* .tabs {
    display: grid;
    grid-template-columns: 10rem 10rem;
    align-items: center;
    width: 100%;
    justify-content:center
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: var(--light-bg-color);
    border: none;
    outline: none;
}
.tab.active {
    background-color: var(--white-color);
    border-bottom: 2px solid var(--primary-color);
}
.tab-content {
    display: none;
    margin-top: 2rem;
} */
.tab-content.active {
    display: block;
}
.floor-carousel .item {
    position: relative;
    padding: 10px;
    margin: 1rem;
    border: 1px solid #eae5e5c7;
    cursor: pointer;
}
.floor-carousel .item:hover > .details{
    display: grid;
}
.floor-carousel .details {
    position: absolute;
    top: 39%;
    left: 39%;
    display: none;
    background: #ffffff6e;
    padding: 0.5rem;
}

.floor-carousel .owl-nav {
    display: none;
}

.floor-carousel img {
    width: 100%;
    height: 240px;
    filter: blur(5px);
}

.carousel-container {
    /* max-width: 1200px; */
    margin: 20px auto;
    padding: 0 15px;
}
.amenity-card {
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
    line-height: 0;
    position: relative;
}
.amenity-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.amenity-title {
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.amenities-carousel {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.5rem;
}

.owl-carousel {
    display: grid !important;
}

.location-advantage {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 2rem;
}

.location-details {
    flex: 1 1 50%;
    min-width: 300px;
}

.location-details .owl-dots {
    display: none;
}

.location-details .owl-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: calc(100% + 2rem);
    top: -1rem;
    left: -1rem;
    z-index: -1;
}

.location-details .owl-nav span {
    font-size: 1.5rem;
}

.location-carousel {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) { 
    .location-advantage {
        grid-template-columns: 1fr;
    }
    .amenities-carousel {
        grid-template-columns: 1fr;
    }
    .owl-carousel {
        display: inherit !important;
    }
    .floor-carousel  .owl-nav, .amenities-carousel  .owl-nav {
        display: none !important;
    }
    .location-map {
        padding: 0 !important;
    }
    .floor-carousel img {
        height: 200px;
    }
    .section-title{
        font-size: 2rem !important;
    }
    .overview{
        padding: 0;
    }
    .section p  {
        font-size: 1rem;
    }
    .floor-carousel .details {
        left: 20% !important;
    }
}

.location-map {
    flex: 1;
    padding: 0 4rem;
}

.location-map img {
    width: 100%;
    height: auto;
}

.location-details {
    flex: 1;
}

.form-container {
    background-color: #e8e5e1;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    /* max-width: 400px; */
}

h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
}

input,
select {
    width: 100%;
    padding: 10px;
    /* margin-bottom: 15px; */
    color: #000;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-container input, .form-container select {
    color: #000 !important;
    margin-bottom: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-container input {
    width: auto;
    margin-right: 10px;
    margin-bottom: 0 !important;
}

.checkbox-container label {
    font-size: 12px;
    color: #666;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--ternary1-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: var(--text-color);
}

.bg-white{
    background-color: var(--white-color);
}

.bg-grey{
    background-color: var(--light-bg-color);
}


.theme-btn.enquire-now-sticky-btn {
    position: fixed;
    top: calc(50% - 20px);
    right: -44px;
    z-index: 9999;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}
.contact-now-sticky-btn{
    position: fixed;
    bottom: 1rem;
    right: 3px;
    z-index: 1;
    border-radius: 10px;
}
.theme-btn {
    /* position: relative; */
    background-color: var(--ternary-color);
    font-family: "Montserrat", sans-serif;
    border: 1px solid var(--ternary-color);
    color: var(--white-color);
    display: inline-block;
    padding: 8px 18px;
    font-size: 14px;
    text-align: center;
    line-height: 24px;
    font-weight: 600;
    cursor: pointer;
    z-index: 9999;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    text-transform: capitalize;
}

.theme-btn:hover {
    color: var(--white-color);
    background-color: #303030;
    border: 1px solid #ffffff30;
}

.enquirylabel {
    text-decoration: none;
}

.tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
}

.tab-link {
    flex: 1;
    text-align: center;
    padding: 10px;
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
    color: #000;
}

.tab-link.active {
    color: var(--ternary-color);
    border-bottom: 2px solid var(--ternary-color);
}

/* Tab Content Styling */
.tab-content {
    padding: 0 20px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

span {
    font-size: 16px;
}

/* ================ Modal ================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
}

/* Modal content box */
.modal-content {
    background-color: var(--secondary-color);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--secondary-color);
    width: 30%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.modal-content h2 {
    color: var(--text-white-color);
}

/* Close button */
.close {
    color: var(--white-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--ternary-color);
    text-decoration: none;
    cursor: pointer;
}

.modal-form button {
    background-color: var(--ternary-color);
}

/* =================== footer section =========================== */

.footer {
    padding: 1.5rem 0;
    background-color: var(--secondary-color);
}

p.disclaimer {
    color: var(--light-bg-color);
    padding: 1rem 0;
    font-size: 0.75rem;
    max-width: 80%;
    margin: 0 auto;
}

.rera-info,  .rera-info span {
    font-size: 0.75rem;
    color: var(--light-bg-color);
}

/* ================ highlights option 2 ======================= */

.property-table {
    width: 100%;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    background-color: #f5f2e9;
    padding: 20px;
}

.property-row {
    display: flex;
    justify-content: space-between;
}

.property-cell {
    flex: 1;
    padding: 10px;
    text-align: center;
}

strong {
    font-size: 14px;
    font-weight: 800;
}

.property-cell {
    font-size: 16px;
    color: #333;
}

/* ================================= */

.banner-section {
    display: grid;
    grid-template-columns: 75% auto;
    align-items: center;
    /* justify-content: space-between; */
}

.form-section {
    background-image: url(https://d1t2fddy6amcvs.cloudfront.net/projectgallery/c1cd6c3d-bb5c-4177-a387-1f611d9db5cc.webp), linear-gradient(rgba(3, 106, 159, 0.7), rgba(3, 106, 159, .7));
    padding: 1rem;
    height: 100%;
    align-items: center;
    display: flex;
    background-position-x: left;
    background-blend-mode: overlay;
    /* box-shadow: inset 4px -1px 3px 3px #ffffff4a; */
}

.form-section .enquire-form {
    /*background-color: rgba(0, 0, 0, 0.5);*/
    background-color: var(--secondary-form-bg-color) !important;
    color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px #FFFFFF;
}

@media (max-width: 768px) {
    .banner-section { 
        grid-template-columns: 1fr;
    }

    .form-section .enquire-form {
        width: 100%;
    }
    .modal-content {
        margin: 20vh auto !important;
    }
    p.disclaimer{
        max-width: 100%;
    }
    
    .logo img{
        width: 30%;
        height: inherit !important;
    }

}
.section-title {
    font-size: 3rem;
}
.logo img {
    /*height: 60px;*/
    height: 60px;
}

.agent-rera-info, .agent-rera-info span {
    font-size: 0.75rem;
    color: var(--light-bg-color);
    margin-top: 0.5rem;
}
.copyright {
    font-size: 0.75rem;
    color: var(--light-bg-color);
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns:  1fr 1fr;
    grid-gap: 1rem;
    justify-colums: space-between;
}
.copyright > span {
    font-size: 0.75rem !important;
}
.copyright-text {
    font-size: 0.75rem;
    color: var(--light-bg-color);
    margin-top: 0.5rem;
    text-align: right;
}
.detailss {
    position: absolute;
    width: 50%;
    height: 2rem;
    line-height: 2;
    bottom: 0.2rem;
    display: inline-block;
    padding: 0 1rem;
    right: 0;
    background: var(--secondary-color);
    color: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}