/* ------------------------------------------------------------------------------

  Template Name: Provident
  Description: Provident Landing Page
  Author: Mudassar
  Version: 1.0
  
  1.  Global 
    
      1.1 General 
      1.2 Typography 
      1.3 Fields
      1.4 Buttons 
      1.5 Icons
      1.6 Loader  
      1.7 Helpers
 
  2.  Navbar 

      2.1 Navbar elements
      2.2 Navbar affix
      2.3 Sidebar Menu
      
  3.  Homepage

      3.1 Jumbotron
      3.2 Slider
      3.3 Section About
      3.4 Section Projectsv

          3.4.1 Projects Carousel

      3.5 Section Clients
      3.6 Section Partners
      3.7 Section Team
      3.8 Section Contacts
      3.9 Footer

  4.  Homepage v2

      4.1 Navbar
      4.2 Sections
      4.3 Section About
      4.4 Section Projects
      4.5 Section Partners
      4.6 Section Testimonials 
      4.7 Section Contacts

  5. Responsive styles

      5.1 Min width: 768px
      5.2 Min width 992px
      5.3 Min width 1200px 
      5.4 Min width 1550px 
      5.5 Min height 500px
      5.6 Min height 600px
      5.7 Min height 700px


      
/*-------------------------------------------------------------------------------
 1. Global
-------------------------------------------------------------------------------*/

/* 1.1 General */
/* Tajawal font is loaded from Google Fonts in the HTML */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #000;
    font-family: "Tajawal", sans-serif;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

h1,
.h1 {
    font-size: 3.428rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0.5em 0;
    font-family: "Tajawal", sans-serif;
    font-weight: 500;
}

h2,
.h2 {
    font-weight: 600;
    font-size: 2.571rem;
    line-height: 1.166;
    letter-spacing: 0;
    margin: 2.6rem 0;
    font-family: "Tajawal", sans-serif;
    letter-spacing: .065em;
    color: #07234B;
}

h3,
.h3 {
    font-size: 2.142rem;
    font-family: "Tajawal", sans-serif;
    line-height: 1.2;
    letter-spacing: -0.05em;
    color: #3E2119;
    margin: 2.6rem 0;
    font-weight: 300;
}

h4,
.h4 {
    font-weight: 600;
    font-size: 1.714rem;
    font-family: "Tajawal", sans-serif;
    line-height: 1.25;
    letter-spacing: 0.025em;
    color: #3E2119;
    margin: 2.6rem 0;
}

h5,
.h5 {
    font-weight: 600;
    font-size: 1.571rem;
    font-family: "Tajawal", sans-serif;
    line-height: 1.1;
    letter-spacing: 0;
    color: #3E2119;
    margin: 2.6rem 0;
}

h6,
.h6 {
    font-weight: 600;
    font-size: 1.285rem;
    font-family: "Tajawal", sans-serif;
    line-height: 1.3333;
    letter-spacing: 0;
    color: #3E2119;
    margin: 2.6rem 0;
}

p {
    font-size: 1rem;
    line-height: 25px;
    color: #35373C;
}

a {
    text-decoration: none;
    color: #3E2119;
}

li {
    font-weight: 400;
    letter-spacing: 0;
}

span {
    /* font-family: 'Tajawal', sans-serif; */
}

button {
    /* font-family: 'Tajawal', sans-serif; */
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl,
.container-xxxl {
    margin-left: auto;
    margin-right: auto;
    padding-left: .9375rem;
    padding-right: .9375rem;
    width: 100%;
}


@media (min-width: 768px) {

    .container,
    .container-md,
    .container-sm {
        max-width: 720px;
    }
}

@media (min-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px;
    }
}

@media (min-width: 1600px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl,
    .container-xxxl {
        max-width: 105rem;
    }

    .banner-right {
        max-width: 500px !important;
        width: 100%;
    }
}

.container-fluid {
    width: 100%;
}

strong {
    font-family: "Tajawal", sans-serif;
    font-weight: 600;
    color: #3E2119;
}

.success-message,
.error-message {
    display: none;
    margin-top: 2rem;
}

.submit-btn button {
    /* border-radius: 5px; */
    color: #fff;
    background: #1E3F71;
    padding: 15px 0;
    width: 100%;
    font-family: "Tajawal", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.3s ease;
    border: 1px solid #1E3F71;
    letter-spacing: 1px;
}

.submit-btn button:hover {
    background: #fff;
    color: #1E3F71;
}

.submit-btn button img {
    width: 12px;
    margin-bottom: -2px;
    margin-right: 10px;
}

.submit-btn button:hover img {
    filter: invert(1);
}

.section-head h2 {
    font-size: 2.3rem;
    margin: 0;
    letter-spacing: 0;
    margin-top: 0;
}

.section-head p {
    color: #363636;
    margin-top: 10px;
}

.section-head span {
    padding: 7px 24px;
    background-color: #17344426;
    color: #173444;
    border-radius: 18px;
    text-transform: uppercase;
    font-size: 13px;
}

/* ------- Page CSS ------- */
#property-types-section {
    background: #F4F8FB;
    padding-top: 50px;
    padding-bottom: 50px;
}

.property-types {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.prop-type-item>img {
    width: 100%;
    border-radius: 5px;
}

.prop-type-item p {
    font-size: 15px;
    font-weight: 600;
    color: #07234B;
}

.prop-type-item div {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.prop-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.prop-type-item {
    padding: 10px;
    border: 1px solid #E1E8ED;
    border-radius: 10px;
}

.callpad {
    width: 100% !important;
    flex-direction: column !important;
}

#callNowPopupForm {
    width: 100%;
}

/* Communities */
#communities-section {
    padding-top: 50px;
    padding-bottom: 50px;
    background: #07234B;
}

#communities-section .section-head {
    display: flex;
    justify-content: space-between;
}

#communities-section .section-head h2 {
    color: #fff;
}

.communities-carousel {
    position: relative;
    padding: 0 60px 50px;
    margin-top: 40px;
}

.swiper-button-next,
.swiper-button-prev {
    transform: translate(0, -50%);
}

.communities-carousel .swiper-slide {
    height: auto;
}

.community-grid-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.community-grid-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, rgba(2, 24, 56, 0) 0%, #000B1C 100%);
    z-index: 2;
}

.community-grid-item:hover {
    transform: translateY(-5px);
}

.community-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 25px 20px;
    /* background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
    border-radius: 7px;
}

.banner-content h3 {
    color: white;
    font-size: 20px;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: "Tajawal", sans-serif;
}

/* Swiper Navigation */
.communities-carousel .swiper-button-next,
.communities-carousel .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
}

.communities-carousel .swiper-button-next:after,
.communities-carousel .swiper-button-prev:after {
    font-size: 20px;
    color: #001a3d;
    font-weight: bold;
}

.communities-carousel .swiper-button-prev {
    left: 0;
}

.communities-carousel .swiper-button-next {
    right: 0;
}

/* Swiper Pagination */
.communities-carousel .swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination {
    margin-top: 20px;
    position: inherit !important;
}

.communities-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: white;
    opacity: 0.5;
}

.communities-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

#topBar {
    background-color: #E7E5D9;
}

#topBar .container {
    display: flex;
    align-items: center;
    position: relative;
}

.top-bar-text-1 {
    background-color: #3B1414;
    color: #fff;
    padding: 20px 20px;
    margin-right: 16px;
    font-family: "Tajawal", sans-serif;
}

.top-bar-text-2 {
    color: #000000;
}

#topBar .container::before {
    content: "";
    position: absolute;
    width: 63%;
    height: 1px;
    right: 0;
    top: 50%;
    background-color: #CBCBCB;

}

#header .register-btn {
    background: #fff;
    border: 1px solid #fff;
    border-radius: 6px;
    color: #07234B;
    font-weight: 500;
}

#header .register-btn:hover {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 6px;
    color: #fff;
}

#header {
    display: block;
    height: 90px;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid #FFFFFF1A;
    position: absolute;
    width: 100%;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Sticky header styles */
#header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1E3F71;
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: block;
}

#header.sticky.show {
    transform: translateY(0);
}

.header-menu ul {
    display: flex;
    list-style-type: none;
    gap: 40px;
}

.header-menu ul li a {
    color: #fff;
}

#header.sticky .header-menu ul li {
    color: #000;
}

#header.sticky .logo img {
    /*filter: invert(1);*/
}

/* new nav code */
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background-color: #1E3F71;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: #1E3F71;
}

/* Mobile & Tablet Styles */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: none;
    }

    .desktop-cta {
        display: none;
    }

    .header-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .header-menu.active {
        transform: translateX(0);
    }

    .header-menu ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .header-menu ul li a {
        font-size: 1.5rem;
        font-weight: 600;
    }
}

body.menu-open {
    overflow: hidden;
}

/* end */

/* Language Dropdown Styles */
.desktop-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 44px;
}

.language-toggle:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.language-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.current-language {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Tajawal', sans-serif;
}

.dropdown-arrow {
    width: 12px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.language-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-dropdown.active .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-options li {
    margin: 0;
}

.language-options li a {
    display: block;
    padding: 10px 20px;
    color: #07234B;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    font-family: 'Tajawal', sans-serif;
}

.language-options li a:hover {
    background-color: #f5f5f5;
}

.language-options li a.active {
    background-color: #07234B;
    color: #fff;
}

/* Sticky header language dropdown adjustments */
#header.sticky .language-toggle {
    border-color: rgba(255, 255, 255, 0.3);
}

#header.sticky .language-toggle:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive styles for language dropdown */
/* @media (max-width: 991px) {
    .language-dropdown {
        display: none;
    }
} */

@media (min-width: 992px) and (max-width: 1199px) {
    .language-toggle {
        padding: 8px 12px;
        gap: 6px;
    }

    .language-icon {
        width: 18px;
        height: 18px;
    }

    .current-language {
        font-size: 13px;
    }
}

.logo img {
    max-width: 140px;
    width: 100%;
}

.call-to-action-btns {
    display: flex;
    gap: 15px;
}

.register-btn {
    font-family: 'Tajawal', sans-serif;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 30px;
    font-size: 14px;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.register-btn img {
    max-width: 15px;
    width: 100%;
}

.register-btn:hover img {
    filter: invert(1);
}

.white-bg {
    color: #1E3F71;
    border: 1px solid #1E3F71;
    transition: background-color 0.3s ease;
    background-color: #fff;
}

.white-bg:hover {
    background-color: #1E3F71;
    color: #fff;
}

.black-bg {
    background: #1E3F71;
    color: #fff;
    transition: background 0.3s ease;
    border: 1px solid #1E3F71;
}

.black-bg:hover {
    background: #fff;
    color: #1E3F71;
}

/* -------Banner------- */
#banner {
    background-image: url('../images/banner.jpg?v=4');
    height: 100vh;
    background-size: cover;
    background-position: center center;
    position: relative;
}

#banner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000080;
    z-index: 1;
}

@media (min-resolution: 192dpi) {
    #banner {
        width: 100%;
        background: url(../images/banner-retina.jpg?v=1) center center / cover no-repeat;
        background-position: center center;
    }
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

#banner .container {
    height: 100%;
    position: relative;
    z-index: 1;
}

.banner-section {
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 0;
}

.banner-left {
    max-width: 42%;
}

.banner-left nav img {
    margin-right: 5px;
}

.banner-left nav {
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    display: flex;
    margin-top: 35px;
    align-items: center;
}

.banner-left nav span {
    color: #fff;
    margin-left: 4px;
}

.banner-inner {
    height: 57rem;
    padding: 140px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.banner-left .inner-logo {
    width: 100%;
    max-width: 150px;
}

.banner-bottom-sec {
    height: 100px;
    margin-top: -100px;
    /* background-color: #1B0F00; */
    background: #173444;
}

.banner-bottom-sec .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-bottom-sec p {
    color: #fff;
}

.banner-form-wrap {
    margin-top: 5px;
}

.banner-bottom-sec .register-btn {
    border: 1px solid #fff;
    color: #000;
}

.banner-bottom-sec .register-btn:hover {
    color: #fff;
    background-color: #173444;
}

.banner-bottom-sec .register-btn .arrow-wrap {
    border-color: #000;
}

.banner-bottom-sec .register-btn:hover .arrow-wrap {
    border-color: #fff;
}

.banner-bottom-sec .register-btn .arrow-wrap img {
    filter: invert(0);
}

.banner-bottom-sec .register-btn:hover .arrow-wrap img {
    filter: invert(1);
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 80%;
    gap: 20px;
    margin-top: 40px;
}

.banner-grid-item {
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    background: #0000006B;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 7px;
}

.banner-grid-item span:nth-child(1) {
    color: #fff;
    font-size: 30px;
}

.banner-grid-item span:nth-child(2) {
    color: #fff;
    margin-top: 15px;
}

.banner-bottom-sec .banner-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.banner-left h1 {
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 0;
    margin-top: 10px;
}

.banner-left p {
    font-size: 1rem;
    color: #fff;
    margin-top: 10px;
}

.banner-left p strong {
    color: #fff;
}

.banner-left .register-btn {
    max-width: 350px;
    margin-top: 40px;
    font-weight: 600;
}

.banner-left-text {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}

.banner-left-text span {
    color: #fff;
    font-family: "Tajawal", sans-serif;
}

.banner-left-text hr {
    width: 100px;
    border: none;
    border-top: 0.5px solid #fff;
    height: 0;
}

.banner-left-bottom {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.banner-left-bottom span {
    color: #fff;
    font-family: 'Tajawal', sans-serif;
}

.banner-left-bottom span strong {
    color: #fff;
    font-weight: 600;
    font-family: "Tajawal", sans-serif;
}

.banner-right {
    max-width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
}

.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #F4FAFF;
    padding: 25px 20px;
    display: flex;
    justify-content: center;
    transition: transform 0.4s ease;
    z-index: 99;
}

.sticky-bottom-bar.hidden-bottom-bar {
    transform: translateY(100%);
}

.sticky-bottom-left p:nth-child(2) {
    color: #35373C;
}

.sticky-bottom-left p:first-child {
    color: #07234B;
    font-size: 20px;
    font-weight: 600;
}

.sticky-bottom-left p:nth-child(2) strong {
    text-transform: uppercase;
    color: #07234B;
}

.sticky-bottom-content .register-btn {
    width: 270px;
}

.sticky-bottom-content {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
}

.sticky-bottom-btn {
    background: #fff;
    color: #113c6e;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.side-contact-bar {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 999;
    padding: 5px 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.side-contact-bar.hidden-side-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(60px);
}

.side-contact-bar span {
    font-size: 13px;
    text-transform: uppercase;
    margin-top: 10px;
    color: #161616;
    text-align: center;
}

.side-contact-bar .side-btn:nth-child(2) {
    border-top: 1px solid #0000001A;
    border-bottom: 1px solid #0000001A;
}

.side-contact-bar .side-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 12px;
    padding: 15px 0;
}

.side-contact-bar .side-btn img {
    width: 28px;
    height: 28px;
}

/* Scroll Down Button */
.scroll-down-wrapper {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.scroll-down-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-down-btn:hover {
    transform: translateY(5px);
    color: #fff;
}

.scroll-down-btn svg {
    animation: bounce 2s infinite;
}

.scroll-down-btn span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.checkbox-flex {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-flex-1 {
    margin-top: 20px;
}

.checkbox-flex label {
    font-family: "Tajawal", sans-serif;
    color: #071c358f;
    line-height: 1.2;
    width: 100%;
}

.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

#register-form .checkbox-flex a {
    color: #fff;
}

.checkbox-flex a {
    text-decoration: underline;
    color: #071c358f;
}

.form-group {
    margin-bottom: 12px;
    text-align: right;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 45px;
    border: 1px solid #E2E2E2;
    border-radius: 3px;
    padding-right: 15px;
    color: #161C2D;
    font-size: 15px;
    margin-top: 4px;
}

.form-group input::placeholder,
.form-group select::placeholder {
    color: #808080;
    font-style: italic;
}

/* Visit form spacing */
#visitPop .form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Tajawal', sans-serif;
    font-size: 12px;
    color: #000;
    font-weight: 600;
}

#sliderFormID {
    margin-top: 15px;
}

.form-img {
    text-align: center;
}

.form-img img {
    width: 100%;
    max-width: 130px;
    filter: invert(1);
}

.form-group input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
}

.form-text img {
    max-width: 21px;
    width: 100%;
    margin-bottom: -3px;
    margin-left: 17px;
}

.form-text {
    color: #000000;
}

.form-text span {
    color: #1E3F71;
}

.form-text nav {
    font-size: 20px;
    line-height: 1.3;
}

.mort-check {
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 20px 0;
    font-weight: 600;
}

.arrow {
    width: 24px;
    height: 24px;
    animation: bounce 1.5s infinite ease-in-out;
}

.arrow-wrap {
    border-bottom: 2px solid #fff;
    height: 33px;
    width: 15px;
    margin-right: 7px;
    margin-top: -9px;
}

.arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(8px);
    }
}

/* About Section - New Design */
#about {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.about-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-left-content {
    flex: 0 0 38%;
    padding-right: 20px;
}

.about-left-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #07234B;
    margin-bottom: 24px;
    margin-top: 0;
    font-family: "Tajawal", sans-serif;
    letter-spacing: 0.065em;
    line-height: 1.2;
}

.about-left-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #35373C;
    margin-bottom: 40px;
}

/* Read More Styles - Mobile Only */
.about-description {
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
}

.read-more-link {
    display: inline-block;
    color: #EE7133;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #07234B;
}

.read-more-link.hidden {
    display: none;
}

@media (max-width: 767px) {
    .about-description.collapsed {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .about-description.expanded {
        display: block;
        max-height: 1000px;
    }

    .faq-extra {
        display: none;
    }

    .faq-extra.show {
        display: block;
    }
}

.faq-read-more-link {
    display: inline-block;
    color: #EE7133;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.faq-read-more-link:hover {
    color: #07234B;
}

.faq-read-more-link.hidden {
    display: none;
}

.about-right-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-card {
    background: #FFFFFF;
    border: 1px solid #E1E8ED;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.about-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.about-card-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
    display: flex;
    align-items: start;
    justify-content: start;
}

.about-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.about-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #07234B;
    margin: 0 0 6px 0;
    font-family: "Tajawal", sans-serif;
    line-height: 1.3;
    text-align: right;
}

.about-card p {
    font-size: 0.875rem;
    color: #35373C;
    margin: 0;
    line-height: 1.5;
    text-align: right;
}

.about-cta {
    margin-top: 0;
}

.take-quiz-btn {
    display: inline-block;
    background: #1E3F71;
    color: #fff;
    padding: 18px 48px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #1E3F71;
    font-family: "Tajawal", sans-serif;
}

.take-quiz-btn:hover {
    background: transparent;
    color: #1E3F71;
}

/* Old styles - keeping for backward compatibility */
.mob-only {
    display: none;
}

.about-content {
    display: flex;
    padding-top: 8px;
    z-index: 1;
    position: relative;
}

.about-left {
    /* width: 50%; */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.about-grid-item {
    padding: 10px;
    border: 1px solid #E1E8ED;
    border-radius: 10px;
}

.about-grid-item>img {
    width: 100%;
    border-radius: 5px;
}

.about-grid-item-inner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
}

.about-grid-item-inner div {
    display: flex;
    flex-direction: column;
}

.about-grid-item-inner div span:nth-child(1) {
    color: #07234B;
    font-weight: 600;
    font-size: 19px;
}

.about-grid-item-inner div span:nth-child(2) {
    color: #35373C;
    margin-top: 8px;
}

#about .section-head {
    position: relative;
    padding-bottom: 25px;
    max-width: 70%;
}

#about .section-head h2 {
    max-width: 100%;
}

#about .register-btn img {
    /* filter: invert(1); */
}

#about .register-btn {
    width: 327px;
}

#about .register-btn:hover img {
    filter: none;
}

.about-right-item h3 {
    margin: 0;
    letter-spacing: 0;
}

.about-right-item {
    padding: 51px 0 50px 50px;
    position: relative;
}

.about-right-item p {
    font-size: 16px;
    margin-top: 10px;

}

.about-right-item:nth-child(1)::after,
.about-right-item:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #E3E0D6;
    width: 65%;
}

.about-right-item::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    background-color: #E3E0D6;
    width: 1px;
    height: 165px;
    bottom: 19px;
}

/* Golden Visa */
#golden-visa {
    margin-top: 70px;
}

#golden-visa .container {
    display: flex;
    padding: 50px 0 50px 50px;
    background: #FBFBFB;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.golden-visa-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.golden-visa-left .section-head p {
    max-width: 600px;
    color: #5D5D5D !important;
}

.golden-visa-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    margin-top: 30px;
    margin-bottom: 34px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-item span {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* Legacy ul styles - keeping for compatibility */
.golden-visa-left ul {
    list-style-type: none;
    margin-top: 25px;
    margin-bottom: 34px;
}

.golden-visa-left ul li {
    margin-top: 5px;
}

.golden-visa-left ul li img {
    max-width: 14px;
    width: 100%;
    margin-right: 10px;
}

.golden-visa-right {
    width: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.golden-visa-right img {
    max-width: 600px;
    width: 100%;
    display: block;
}

.golden-visa-left .register-btn {
    max-width: 315px;
}

/* Developer */
#developer {
    margin-top: 70px;
}

#developer .section-head {
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
    align-items: center;
}

.develper-text-right {
    max-width: 400px;
}

#developer .section-head p {
    font-size: 20px;
}

.partners-carousel {
    overflow: hidden;
    width: 70%;
    position: relative;
    right: 50%;
    transform: translate(50%);
    margin-top: 30px;
}

.partners-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 0;
    animation: scroll 15s linear infinite;
}

.tab-logo {
    display: none;
}

.partner-logo {
    display: flex;
    transition: opacity 0.3s ease;
    align-items: center;
    flex-direction: column;
}

.partner-logo img {
    width: 100px;
}

.partner-logo:hover {
    opacity: 1;
}

form textarea {
    height: 4.5rem !important;
    border: 1px solid #E2E2E2;
    width: 100%;
    padding-right: 15px;
    padding-top: 15px;
    margin-top: 3px;
}

.booking-form-area {
    width: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Pre booking */
#pre-booking {
    position: relative;
    padding: 100px 0 100px;
}

#pre-booking .section-head {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pre-booking .section-head h2 {
    max-width: 62%;
}

#pre-booking .call-to-action-btns {
    justify-content: center;
    margin-top: 30px;
}

#pre-booking .call-to-action-btns .register-btn {
    width: 300px;
}

.pre-booking-wrap {
    display: flex;
}

.pre-booking-img {
    width: 50%;
}

.pre-booking-img img {
    width: 100%;
}

.pre-booking-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pre-booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 10%;
    margin-top: 4rem;
}

.pre-booking-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
}

.pre-booking-grid-item:nth-child(2) {
    border-top: 1px solid #BEBEBE;
    border-bottom: 1px solid #BEBEBE;
}

.pre-booking-grid-item h3 {
    color: #3B1414;
    letter-spacing: 0;
    margin: 0 0 22px;
    text-align: center;
}

.pre-booking-grid-item p {
    text-align: center;
    color: #3E2119;
}

/* Video Section */
#videoArea {
    margin-top: 100px;
}

#videoArea .container-fluid {
    padding: 0;
}

#videoArea .section-head {
    padding-left: 70px;
}

.videoImage {
    position: relative;
    background-image: url(../images/video.jpg?v=3);
    height: 600px;
    background-size: cover;
    margin-top: 40px;
}

/* .videoImage:before {
    content: "";
    background-color: #215a9236;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
} */
.videoBtn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.video-btn img {
    max-width: 100px;
    margin-top: 0 !important;
}

.videoImage img {
    width: 100%;
    margin-top: 45px;
    border-radius: 0;
}

.video-cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Brochure */
#brochure-section {
    margin-top: 70px;
}

#brochure-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 50px 50px 50px 80px;
    background: #F4F8FB;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.brochure-img {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brochure-img img {
    max-width: 420px;
    height: auto;
    width: 100%;
}

#brochure-section .brochure-right {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#brochure-section .section-head h2 {
    font-size: 2.5rem;
    color: #07234B;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

#brochure-section .section-head p {
    color: #07234B;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

#brochure-section .section-head p.guide-description {
    margin-top: 15px;
    margin-bottom: 30px;
    color: #07234B;
}

#brochure-section .section-head p strong {
    font-weight: 700;
    color: #07234B;
}

#brochure-section .call-to-action-btns {
    width: 100%;
}

#brochure-section .call-to-action-btns>div {
    width: 100%;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #07234B;
    color: #fff !important;
    padding: 18px 35px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    border: 1px solid #07234B;
    width: 100%;
}

.download-btn:hover {
    background: #fff;
    color: #07234B !important;
}

.download-btn svg {
    width: 20px;
    height: 20px;
    transition: 0.3s ease;
}

.download-btn:hover svg path {
    fill: #1E3F71;
}

/* Navigate Section */
#navigate-section {
    margin-top: 70px;
    margin-bottom: 70px;
}

#navigate-section .container {
    position: relative;
    overflow: hidden;
}

.navigate-background {
    background-image: url('../images/nevigate.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 50px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.navigate-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 20%);
    border-radius: 20px;
}

.navigate-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.navigate-subtitle {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0px;
    font-weight: 600;
    line-height: 1.6;
    font-family: "Tajawal", sans-serif;
}

.navigate-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
    margin-top: 15px;
}

.btn-navigate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    color: #07234B;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
}

.btn-navigate:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-navigate svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.btn-navigate svg path {
    transition: all 0.3s ease;
}

.btn-navigate:hover svg path {
    stroke: #ffffff;
}

#brochure-section ul {
    list-style-type: none;
    margin-top: 40px;
    margin-bottom: 50px;
}

#brochure-section ul li {
    margin-top: 14px;
    display: flex;
    align-items: center;
    color: #173444;
}

#brochure-section ul li img {
    max-width: 16px;
    width: 100%;
    margin-right: 5px;
}


/* FAQ */
#faq {
    background-color: #FDFDFD;
    padding: 50px 0;
    margin-top: 60px;
    margin-bottom: 60px;
    position: relative;
}

#faq .section-head h2 {
    text-align: center;
}

/* #faq::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url(../images/bg-shape.png?v=2);
    z-index: 0;
    pointer-events: none;
} */
#faq .faq-con {
    border-radius: 7px;
    position: relative;
}

.faq {
    margin: 50px 0 0;
}

.faq-item {
    /* border-bottom: 1px solid #ccc; */
    box-shadow: 0px 1px 2px 0px #00000014;
    margin-bottom: 6px;
    box-shadow: 0px 0px 2px 0px #00000029;
}

.faq-question {
    cursor: pointer;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F7F7F7;
    gap: 5px;
}

.faq .faq-item:last-child {
    border-bottom: none;
}

.faq-item.active .faq-answer {
    display: block;
    opacity: 1;
}

.faq-answer ul {
    margin: 10px 0 10px 20px;
}

.faq-question span {
    font-size: 13px;
    color: #07234B;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.faq-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 15px 20px;
    line-height: 1.5;
    font-size: 15px;
    transition: max-height 0.4s ease;
    opacity: 0;
    color: #35373C;
    background: #fff;
}

.faq-support {
    display: flex;
    gap: 10px;
}

.support-img img {
    width: 100%;
    max-width: 22px;
}

.faq-support div nav:nth-child(1) {
    color: #062A34;
    font-family: "Tajawal", sans-serif;
}

.faq-support div nav:nth-child(2) {
    color: #062A34;
    font-family: "Tajawal", sans-serif;
    margin-top: 5px;
}

/* Awards */
#section-awards {
    margin-top: 80px;
    margin-bottom: 80px;
    position: relative;
}

#section-awards .container {
    overflow: visible;
}

.awards-main-wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 40px;
}

.awards-content-left {
    width: 50%;
}

.awards-content-left h2 {
    font-size: 2.5rem;
    color: #07234B;
    margin-bottom: 30px;
    line-height: 1.2;
}

.awards-reviews {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
}

.google-section {
    border: 1.08px solid #D2D2D2;
    border-radius: 40px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 45px;
    width: fit-content;
    white-space: nowrap;
}

.google-section>img {
    max-width: 70px;
    width: 100%;
}

.google-review {
    display: flex;
    gap: 6px;
    align-items: center;
}

.google-review img {
    width: 18px;
}

.trustpilot-section {
    border: 1.08px solid #D2D2D2;
    border-radius: 40px;
    display: flex;
    padding: 8px 15px;
    align-items: center;
    gap: 12px;
    height: 45px;
    width: fit-content;
    white-space: nowrap;
}

.trustpilot-section>img {
    max-width: 70px;
    width: 100%;
}

.trustpilot-review {
    display: flex;
    gap: 6px;
    align-items: center;
}

.trustpilot-review img {
    width: 70px;
}

.awards-reviews span {
    color: #35373C;
    font-size: 14px;
    font-weight: 500;
    direction: ltr;
}

/* Responsive adjustments for smaller screens - two lines with equal width */
@media (max-width: 1370px) {
    .awards-reviews {
        flex-wrap: wrap;
        gap: 10px;
    }

    .google-section,
    .trustpilot-section {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
    }
}

/* Responsive adjustments for tablets and smaller laptops */
@media (max-width: 1200px) {
    .awards-reviews {
        gap: 10px;
    }

    .google-section,
    .trustpilot-section {
        padding: 6px 12px;
        gap: 10px;
        height: 40px;
        width: 100%;
        max-width: 100%;
    }

    .google-section>img,
    .trustpilot-section>img {
        max-width: 60px;
    }

    .google-review,
    .trustpilot-review {
        gap: 5px;
    }

    .google-review img {
        width: 16px;
    }

    .trustpilot-review img {
        width: 60px;
    }

    .awards-reviews span {
        font-size: 13px;
    }
}

/* Smaller adjustments for medium tablets */
@media (max-width: 992px) {

    .google-section,
    .trustpilot-section {
        padding: 6px 10px;
        gap: 8px;
        height: 38px;
    }

    .google-section>img,
    .trustpilot-section>img {
        max-width: 50px;
    }

    .google-review img {
        width: 14px;
    }

    .trustpilot-review img {
        width: 50px;
    }

    .awards-reviews span {
        font-size: 12px;
    }
}

.awards-description {
    margin-top: 20px;
}

.awards-description p {
    color: #4A4A4A;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.awards-video-right {
    width: 50%;
    position: relative;
}

.video-thumbnail-link {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-thumbnail-link:hover {
    transform: scale(1.02);
}

.video-thumbnail-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.youtube-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.youtube-play-icon svg {
    display: block;
    width: 80px;
    height: auto;
    shape-rendering: geometricPrecision;
}

.video-thumbnail-link:hover .youtube-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.awards-below-section {
    display: flex;
    margin-top: 50px;
    position: relative;
    /* background-image: url('../images/provident.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; */
}

.awards-below-left {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.awards-grid-item {
    border: 1px solid #E1E8ED;
    border-radius: 10px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.awards-grid-item span:nth-child(1) {
    color: #07234B;
    font-size: 1.5rem;
    font-weight: 600;
}

.awards-grid-item span:nth-child(2) {
    color: #07234B;
    margin-top: 20px;
    font-size: 15px;
}

.partners-container {
    display: flex;
}

.partners-title {
    font-size: 23px;
    font-family: "Tajawal", sans-serif;
    max-width: 64%;
    line-height: 1.5;
}

.partners .partners-scroll {
    gap: 50px;
}

.partners .partner-logo img {
    width: 220px;
}

.partners .partners-carousel {
    right: initial;
    transform: initial;
    margin-top: 0;
    width: 77%;
}

.partners .partners-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 50px;
}

.partner-logo p {
    font-size: 1rem;
    color: #07234B;
    text-align: center;
}

/* ----------------------------------------- */



/* Book Consultation */
#book-consultation {
    margin-top: 130px;
}

.book-section {
    display: flex;
}

.book-img {
    width: 45%;
}

.book-right {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
}

.book-img img {
    width: 100%;
}

.book-right .call-to-action-btns {
    margin-top: 70px;
}



/* Form Section */
#vist-area {
    margin-top: 0;
    position: relative;
    background-color: #F0F3F8;
}

#vist-area .container {
    padding: 70px 15px;
}

#vist-area .section-head {
    /* max-width: 50%; */
}

#vist-area .section-head h2 {
    font-size: 2.5rem;
}

.below-form-text {
    display: none;
}

.form-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    min-height: 43rem;  /* Changed from height to min-height */
}

.visit-content {
    width: 50%;
    padding: 40px;
    background-color: #fff;
    display: flex;
    align-items: flex-start;  /* Changed from center to flex-start */
}

.visit-content .section-head h2 {
    display: none;
}

.visit-content .section-head p {
    display: none;
}

.footer-quote {
    width: 50%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    background-image: url(../images/footer-new.jpg);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-quote img {
    width: 100%;
    margin-top: 0;
    z-index: 12;
    position: relative;
}

.footer-text {
    position: absolute;
    left: 30px;
    top: 30px;
    right: 30px;
    z-index: 111;
}

.footer-text h2 {
    color: #fff;
    text-align: right;
    font-size: 32px;
    font-family: "Tajawal", sans-serif;
    margin-top: 11px;
    margin-bottom: 13px;
}

.footer-text p {
    color: #fff;
    text-align: right;
}

/* Footer Bar */
#bottom-bar {
    background: #fff;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding: 25px 0;
    margin-bottom: 90px;
}

#bottom-bar p {
    text-align: center;
    color: #88888885;
    font-size: 12px !important;
    margin-bottom: 0;
}

#bottom-bar p strong {
    color: #88888885;
}

#bottom-bar p:nth-child(2) {
    margin-top: 10px;
    margin-bottom: 10px;
}

#bottom-bar .container {
    text-align: center;
}

#bottom-bar a {
    margin-top: 10px;
    text-align: center;
    font-size: 12px !important;
    color: #88888885;
    font-style: underline;
    text-decoration: underline;
}

/* Popup code */
#brochurePopup {
    max-width: 1000px;
}

#brochurePopup img {
    max-width: 350px;
}

.autoPopup {
    border-radius: 12px;
    padding: 0;
    background: #fff;
    max-width: 750px;
    position: relative;
}



/* New Contact Popup Design - Single Column Layout */
#contactPopup .popup-wrap {
    background: #fff;
    border-radius: 12px;
    overflow: visible;
}

#contactPopup .popup-header {
    background: #fff;
    padding: 50px 50px 30px 50px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

#contactPopup .popup-header h2 {
    color: #00263A;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    font-family: "Tajawal", sans-serif;
}

#contactPopup .popup-header p {
    color: #353535;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#contactPopup .popup-form-container {
    background: #fff;
    padding: 20px 50px 50px 50px;
    border-radius: 0 0 12px 12px;
    position: relative;
    z-index: 1;
}

.mfp-close {
    color: #000000 !important;
    background: #ECECEC !important;
    border-radius: 50%;
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    top: 10px !important;
    right: 10px !important;
    opacity: 1 !important;
    font-size: 28px !important;
    transition: background 0.3s ease !important;
}

.mfp-close:hover {
    background: #d4d4d4 !important;
}

.mfp-close:active {
    top: 10px !important;
}

#contactPopup .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

#contactPopup .form-group.form-half {
    margin-bottom: 0;
}

#contactPopup .form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 8px;
    font-family: "Tajawal", sans-serif;
}

#contactPopup .form-group input,
#contactPopup .form-group select,
#contactPopup .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: "Tajawal", sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    color: #1e293b;
}

#contactPopup .form-group select {
    position: relative;
    z-index: 10;
    line-height: 1.5;
    padding: 10px 16px;
    height: 48px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

#contactPopup .form-group input::placeholder,
#contactPopup .form-group textarea::placeholder {
    color: #94a3b8;
}

#contactPopup .form-group input:focus,
#contactPopup .form-group select:focus,
#contactPopup .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Fix for country code selector visibility on input focus */
.iti__flag-container {
    direction: ltr !important;
}

#contactPopup .iti__flag-container {
    z-index: 30 !important;
}

#contactPopup .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

#contactPopup .submit-btn {
    margin-top: 25px;
    margin-bottom: 20px;
}

#contactPopup .submit-btn button {
    width: 100%;
    padding: 16px;
    background: #1E3F71;
    color: #fff;
    border: 1px solid #1E3F71;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    font-family: "Tajawal", sans-serif;
}

#contactPopup .submit-btn button:hover {
    background: #fff;
    color: #1E3F71;
}

#contactPopup .form-footer-text {
    text-align: center;
    margin-top: 15px;
}

#contactPopup .form-footer-text p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

#contactPopup .form-footer-text a {
    color: #2c5f8d;
    text-decoration: underline;
}

#contactPopup .form-footer-text a:hover {
    color: #1e3a5f;
}

/* Old styles for brochure popup - keep these */
#brochurePopup .section-head h2 {
    font-size: 1.7rem;
    line-height: 1.3;
    text-align: center;
}

#brochurePopup .section-head p {
    text-align: center;
}

.autoPopup-description {
    color: white;
    padding: 30px 45px 0px;
}

.autoPopup-description h3 {
    color: white;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.autoPopup-description p {
    margin: 0;
    color: white;
    font-size: 1.3rem;
    line-height: 2rem;
    margin-top: 15px;
}

/* Brochure popup styles */
#brochurePopup .popup-wrap {
    display: flex;
    height: 40rem;
    border-radius: 20px;
}

#brochurePopup .section-img {
    background-image: url(../images/brochure-popup.jpg);
}

.section-img {
    width: 50%;
    background-image: url(../images/popup.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.popup-text {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 20px 10px;
}

.popup-text h2 {
    color: #fff;
    text-align: right;
    font-size: 2rem;
    font-family: "Tajawal", sans-serif;
    margin-top: 11px;
    margin-bottom: 13px;
    font-weight: 600;
}

.popup-text p {
    color: #fff;
    text-align: right;
}

.section-img img {
    width: 100%;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.agent-wrap {
    display: flex;
    align-items: center;
}

.mt40,
.mt40-desk-only {
    margin-top: 40px;
}

.agent-wrap .agent-photo img {
    max-width: 115px;
    border-radius: 25px;
}

.agent-wrap .agent-contact {
    flex-basis: 215px;
    padding-left: 14px;
}

.agent-wrap .agent-contact p {
    margin: 0;
    line-height: 1.6;
}

.autoPopup-description p {
    color: white;
}

.agent-wrap .agent-contact a {
    color: white;
    text-decoration: none;
}

.autoPopup-form {
    background: white;
    border-radius: 30px;
    width: 50%;
    padding: 34px;
    display: flex;
    align-items: center;
}

.autoPopup .flex-container {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px; */
}

#autoPop,
#brochureFormPopup {
    margin-top: 0;
    width: 100%;
}

.mfp-close-btn-in .mfp-close {
    color: #000;
}

.about-below-btns {
    display: none;
}

.social-media-icon {
    position: fixed;
    bottom: -50px;
    max-width: 85px;
    right: 16px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 99;
    display: none;
}

.social-media-icon ul {
    list-style: none;
}

.social-media-icon ul li {
    width: 100%;
    float: left;
    position: relative;
    margin-left: 15px;
    margin-top: 11px;
    max-width: 62px;
}

.ion-android-call:before {
    content: "";
    width: 19px;
    height: 19px;
    background-image: url(../images/call.png);
    position: absolute;
    left: 18px;
    background-size: cover;
    top: 20px;
}

.ion-social-whatsapp-outline:before {
    content: "";
    width: 19px;
    height: 19px;
    background-image: url(../images/whatsapp.png);
    position: absolute;
    left: 18px;
    background-size: cover;
    top: 20px;
}

.social-media-icon ul li a {
    display: inline-flex;
    align-items: center;
    padding: 0px 10px;
    font-size: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0px 2px 6px rgb(0, 0, 0, 0.1);
    transition: 0.8s all;
    margin: 5px 0;
    text-decoration: none;
    text-align: center;
}

.social-media-icon ul li .call-btn {
    background: #50afe4;
}

.social-media-icon ul li a .icon {
    font-size: 25px;
    width: 34px;
    height: 51px;
}

.icon {
    display: inline-block;
}

.social-media-icon ul li .whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn::before {
    content: "";
    width: 58px;
    position: absolute;
    height: 50px;
    left: 0;
    animation: pulse 1.5s infinite;
    background-color: #25d366;
    border-radius: 10px;
}

.call-btn::before {
    content: "";
    width: 58px;
    position: absolute;
    height: 50px;
    left: 0;
    animation: pulse 1.5s infinite;
    background-color: #50afe4;
    border-radius: 10px;
}

.social-media-icon ul li a span {
    display: inline-flex;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    max-width: 0;
    -webkit-transition: max-width 0.8s;
    overflow: hidden;
    font-size: 16px;
    margin-left: 5px;
}

/*.social-media-icon ul li a:hover span {*/
/*	max-width: 300px;*/
/*	transition: max-width 1.6s;*/
/*	-webkit-transition: max-width 1.6s;*/
/*}*/
.grecaptcha-badge {
    visibility: hidden;
}

@media (max-width: 1600px) {
    .form-text img {
        max-width: 17px;
    }

    .form-text nav {
        font-size: 15px;
    }

    .form-group {
        margin-bottom: 4px;
    }

    .submit-btn button {
        margin-top: 10px;
    }

    .mort-check {
        margin: 14px 0;
    }

    .form-group input,
    .form-group select {
        height: 36px;
    }
}

@media (max-width: 1440px) {
    .banner-left {
        width: 69%;
        max-width: 57%;
    }

    .banner-right {
        width: 37%;
        max-width: 40%;
        margin-top: 45px;
    }

    #brochure-section .section-head h2 {
        font-size: 2.2rem;
    }

    .awards-left-imgs img {
        max-width: 68px;
    }

    .awards-left-text p {
        font-size: 22px;
    }

    .banner-section {
        padding-bottom: 0;
    }

    .awards-left {
        width: 30%;
    }

    .awards-right {
        width: 70%;
    }

    .form-text nav {
        font-size: 15px;
    }

    .brochure-img img {
        max-width: 76%;
    }

    .banner-left h1 {
        max-width: 85%;
        font-size: 2rem;
    }

    .banner-left p {
        max-width: 74%;
    }

    .videoImage {
        height: 35rem;
    }
}

@media (max-width: 1199px) {
    .banner-left h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .banner-left {
        max-width: 100%;
    }

    .banner-left .inner-logo {
        max-width: 120px;
    }

    .banner-left p {
        max-width: 100%;
    }

    .banner-left {
        width: 50%;
    }

    .banner-right {
        width: 50%;
    }

    #header .register-btn {
        display: none;
    }

    .footer-quote img {
        max-width: 72%;
    }

    .payment-plan-grid {
        padding: 0;
    }

    .videoImage {
        height: 27rem;
    }

    .form-container {
        min-height: 37rem;  /* Changed from height to min-height */
    }

    .section-img img {
        left: 0;
    }
}

/* Responsive */
@media (max-width: 991px) {
    p {
        font-size: 14px;
    }

    #header .container {
        justify-content: space-between;
    }

    .banner-right {
        display: none;
    }

    .register-btn {
        font-size: 12px;
    }

    .header-menu ul li a {
        color: #1E3F71;
    }

    .register-btn img {
        max-width: 13px;
    }

    .logo img {
        max-width: 115px;
    }

    .banner-inner {
        justify-content: center;
    }

    .banner-left p {
        text-align: center;
        width: 100%;
    }

    .banner-left .inner-logo {
        max-width: 145px;
    }

    .sticky-bottom-left,
    .sticky-bottom-left-btn {
        display: none !important;
    }

    .sticky-bottom-content {
        justify-content: center;
    }

    .sticky-bottom-content .register-btn {
        width: 170px;
    }

    .brochure-img {
        width: 45%;
    }

    .brochure-img img {
        max-width: 100%;
    }

    #brochure-section .section-head h2 {
        text-align: center;
        font-size: 2rem;
    }

    #brochure-section .container {
        gap: 40px;
        padding: 50px 40px 50px 50px;
    }

    .sticky-socials {
        display: flex !important;
        width: 100%;
        gap: 10px;
    }

    .sticky-socials div:first-child {
        width: 50%;
    }

    .sticky-socials div:nth-child(2) {
        width: 50%;
        display: flex;
    }

    .sticky-socials div:nth-child(2) a {
        display: flex;
        background: #26D366;
        width: 100%;
        padding: 12px 20px;
        justify-content: center;
        gap: 6px;
        border-radius: 8px;
    }

    .sticky-socials div:nth-child(1) a {
        display: flex;
        background: #50AFE4;
        width: 100%;
        padding: 12px 20px;
        justify-content: center;
        gap: 6px;
        border-radius: 8px;
    }

    .sticky-socials a img {
        max-width: 23px;
        width: 100%;
    }

    .sticky-socials a p {
        color: #fff;
    }

    #brochure-section .call-to-action-btns {
        justify-content: flex-start !important;
    }

    .banner-left>div {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-right-item::before {
        display: none;
    }

    .videoImage {
        height: 27rem;
    }

    .banner-left {
        justify-content: center;
        width: 100%;
    }

    .banner-left-bottom {
        display: none;
    }

    #topBar .container::before {
        text-align: center;
    }

    .about-right-item {
        text-align: center;
    }

    .about-right-item:nth-child(1)::after,
    .about-right-item:nth-child(2)::after {
        left: 50%;
        transform: translate(-50%);
    }

    .amenity-grid-item p {
        font-size: 12px;
    }

    .amenity-grid {
        padding: 10px;
    }

    .about-feat .feat-item:nth-child(2) {
        border-left: none;
        border-right: none;
        border-top: 1px solid #0000001A;
        border-bottom: 1px solid #0000001A;
    }

    .about-feat {
        padding: 0;
    }

    .feat-item {
        padding: 20px;
    }

    .about-feat {
        flex-direction: column;
    }

    .slider-top-sec {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
    }

    .thumbnails {
        max-width: 61%;
    }

    .thumbnail {
        height: 47px;
    }

    .payment-plans-texts div span:nth-child(1) {
        font-size: 55px;
    }

    .call-to-action-btns {
        justify-content: center;
    }

    .slider-wrap .tabs {
        padding-top: 0rem;
    }

    .slider-wrap {
        flex-direction: column;
        align-items: center;
    }

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

    .about-right {
        width: 100%;
        padding-left: 0;
    }

    .about-left {
        width: 100%;
    }

    .section-head {
        text-align: center;
    }

    .section-head h2 {
        font-size: 2rem;
        text-align: center;
    }

    .section-head p {
        text-align: center;
    }

    .content {
        padding: 60px 0;
    }

    .location-btn .btn-content {
        gap: 6px;
        flex-direction: column;
        align-items: center;
    }

    .location-btn .btn-content {
        text-align: center;
    }

    #location-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    #map {
        height: 450px;
    }

    .sidebar {
        width: calc(100% - 30px);
        right: 0;
        top: initial;
        transform: translate(0, 0);
        bottom: -356px;
        left: 15px;
    }

    .footer-quote img {
        margin-top: 0;
    }

    .payment-plan-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }

    #location-map {
        height: 65rem;
    }

    .video-btn img {
        max-width: 60px;
    }

    .map {
        height: 68vh;
        background-repeat: no-repeat;
    }

    .locations-grid {
        grid-template-columns: 1fr 1fr;
        padding: 40px 0 0;
    }

    .location-btn {
        margin-bottom: 0;
    }

    .location-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    .location-box:nth-child(5) {
        grid-column: 1 / -1;
        /* Span both columns */
        justify-self: center;
        /* Center the box horizontally */
    }

    .location-box {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 14px;
    }

    .location-box h3 {
        margin: 0;
        font-size: 16px;
    }

    .location-box p {
        margin: 0;
        font-size: 16px;
    }

    .location-card {
        min-width: 254px;
        max-width: 260px;
    }

    #visitPop {
        /* margin-top: 33px; */
    }

    .visit-content .section-head p {
        display: block !important;
    }

    .location-card h4 {
        font-size: 12px;
    }

    .header-menu {
        /* display: none; */
    }

    .awards-section-wrap {
        flex-direction: column;
    }

    #developer .section-head {
        flex-direction: column;
        gap: 0;
    }

    #brochure-section .section-head p {
        text-align: center;
        font-size: 1rem;
    }

    .awards-left {
        width: 100%;
        justify-content: center;
    }

    .awards-right {
        width: 100%;
        flex-direction: column;
        margin-top: 27px;
    }

    .awards-reviews {
        flex-wrap: wrap;
        gap: 10px;
    }

    .trustpilot-section {
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .google-section {
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .develper-text-right {
        max-width: 100%;
    }

    #about .section-head {
        max-width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .about-left-content {
        flex: 1;
        padding-right: 0;
    }

    .about-left-content h2 {
        font-size: 2rem;
    }

    .about-right-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    #communities-section .section-head h2 {
        text-align: left;
    }

    #communities-section .section-head .register-btn {
        display: none;
    }

    #golden-visa .section-head h2 {
        text-align: center;
    }

    .location-card h3 {
        font-size: 1rem;
    }

    .video-cta {
        justify-content: center;
    }

    .map {
        background-position: 45%;
    }

    .book-section {
        flex-direction: column;
    }

    .book-img {
        width: 100%;
    }

    .book-right {
        width: 100%;
        padding-left: 0;
        margin-top: 30px;
    }

    .book-right .call-to-action-btns {
        margin-top: 30px;
        justify-content: center;
    }

    #faq {
        background-color: #fff;
        padding: 0;
        margin-top: 55px;
    }

    #faq .section-head h2 {
        color: #000;
    }

    #faq .section-head>div span {
        color: #000;
    }

    #faq .section-head>div img {
        filter: invert(0);
    }

    .faq-top {
        justify-content: center;
    }

    .faq-support,
    .faq-top .call-to-action-btns {
        display: none;
    }

    .faq {
        background-color: #FAFAFA;
        margin-top: 30px;
        padding-top: 30px;
        padding-left: 20px;
    }

    .faq-item.active .faq-answer {
        color: #000;
    }

    .faq-question span {
        color: #000;
    }

    .form-container {
        display: block;  /* Changed from flex-direction to display: block */
    }

    .footer-quote .show-info {
        text-align: center;
    }

    .footer-quote {
        width: 100%;
        align-items: flex-end;
        justify-content: center;
    }

    #vist-area .section-head h2 {
        margin-top: 0;
    }

    .visit-content {
        width: 100%;
        padding: 0;
    }

    .visit-content .section-head h2 {
        display: block;
        font-size: 22px;
        margin-top: 0;           /* Added */
        margin-bottom: 20px;     /* Changed from 30px */
    }

    .footer-quote {
        display: none;
    }

    #vist-area .container {
        /* background-color: #fff; */
        padding: 20px 15px 20px;  /* Changed from 45px */
    }

    #vist-area .section-head {
        max-width: 100%;
    }

    #vist-area .container>.section-head {
        display: none;
    }

    #vist-area {
        margin-top: 77px;
        margin-bottom: 0;  /* Added */
    }

    .visit-content .booking-form-area {
        padding: 20px;           /* Changed from 40px */
        border-radius: 10px;
        margin-bottom: 0;        /* Added */
    }

    .below-form-text {
        display: block;
        text-align: center;
        margin-top: 10px;
    }

    .golden-visa-right {
        display: none;
    }

    #golden-visa .container {
        display: block;
        border-radius: 0px;
    }

    .golden-visa-left {
        padding: 32px 25px;
        display: block !important;
        width: 100% !important;
    }

    #developer .section-head p {
        font-size: 16px;
    }

    .quiz-card h3 {
        font-size: 1rem !important;
    }

    .quiz-card p {
        display: none;
    }

    .quiz-btn {
        padding: 11px 32px !important;
        text-decoration: none;
        font-size: 0.575rem !important;
        font-weight: 500 !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        border: 2px solid #EE7133;
        margin-top: 5px !important;
    }

    .awards-video-right,
    .awards-content-left {
        width: 100%;
    }

    .awards-main-wrap {
        display: block;
    }

    .quiz-card p {
        display: none;
    }

    .section-img {
        display: none;
    }

    .autoPopup-form {
        width: 100%;
    }

    .prop-type-grid {
        grid-template-columns: 1fr 1fr;
    }

    #brochure-section .container {
        flex-direction: column;
    }

    #brochure-section .brochure-right {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .desk-only {
        display: block;
    }

    .mob-only {
        display: none;
    }

    .quiz-card h3 {
        font-size: 1rem;
    }

}

@media (max-width: 767px) {
    .header h1 {
        font-size: 2rem;
    }

    #banner {
        background-image: url(../images/banner-mob.jpg);
        min-height: 60rem;
    }

    #banner::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: none;
        z-index: 1;
    }

    .quiz-card p {
        display: none;
    }

    #header .register-btn {
        display: none;
    }

    .attention {
        display: none !important;
    }

    .banner-left .register-btn {
        background: white;
        color: #07234B;
        font-size: 16px;
        border: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .golden-visa-left .section-head p {
        display: none;
    }

    .about-left-content {
        flex: 1;
        padding-right: 0;
        text-align: center;
    }

    .about-left-content h2 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .about-left-content p {
        font-size: 0.875rem;
        margin-bottom: 0px;
    }

    .about-cta {
        margin-top: 30px;
    }

    .about-right-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 20px 16px;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }

    .about-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .about-card h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .about-card p {
        font-size: 0.813rem;
    }

    #about {
        padding: 50px 0;
    }

    .take-quiz-btn {
        padding: 16px 40px;
        font-size: 0.813rem;
        width: 100%;
        max-width: 320px;
    }

    .banner-mob-btn {
        width: 262px;
    }

    #communities-section .section-head h2 {
        text-align: center;
    }

    .golden-visa-left .register-btn {
        width: 100%;
    }

    .partners-scroll {
        gap: 30px;
    }

    .golden-visa-left .golden-visa-btn {
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .golden-visa-right img {
        max-width: 280px;
        margin-top: 30px;
    }

    .sticky-bottom-bar {
        padding: 14px 20px;
    }

    #golden-visa .container {
        flex-direction: column;
        padding: 0;
    }

    .golden-visa-benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .banner-grid-item {
        padding: 15px 20px;
    }

    .banner-grid-item span:nth-child(1) {
        font-size: 20px;
    }

    .banner-grid-item span:nth-child(2) {
        font-size: 15px;
    }

    .golden-visa-left {
        width: 100%;
    }

    /* Mobile styles for new contact popup */
    #contactPopup .popup-header {
        padding: 50px 25px 10px 25px;
    }

    #contactPopup .popup-header h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        text-align: left;
    }

    #contactPopup .popup-header p {
        font-size: 0.9rem;
        display: none;
    }

    #contactPopup .popup-form-container {
        padding: 10px 25px 35px 25px;
    }

    #contactPopup .form-group textarea {
        min-height: 75px;
    }

    #contactPopup .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #contactPopup .form-group.form-half {
        margin-bottom: 20px;
    }

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

    #contactPopup .form-group label {
        font-size: 0.9rem;
    }

    #contactPopup .form-group input,
    #contactPopup .form-group select,
    #contactPopup .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    #contactPopup .submit-btn {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    #contactPopup .submit-btn button {
        padding: 14px;
        font-size: 0.95rem;
    }

    #contactPopup .form-footer-text p {
        font-size: 0.75rem;
    }

    #brochurePopup .autoPopup-form {
        display: block;
    }

    #brochurePopup .form-group {
        margin-bottom: 12px;
    }

    /* Old brochure popup mobile styles */
    #brochurePopup .popup-wrap {
        min-height: 45rem;
    }

    .section-img {
        display: none;
    }

    .autoPopup-form {
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .autoPopup-form h2 {
        font-size: 20px;
        margin-top: 0;
    }

    .side-contact-bar {
        display: none;
    }

    .property-types {
        flex-direction: column;
    }

    .communities-carousel .swiper-button-next,
    .communities-carousel .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .prop-type-grid {
        grid-template-columns: 1fr;
    }

    .golden-visa-right {
        width: 100%;
        display: none;
    }

    #bottom-bar p:nth-child(2) {
        line-height: 1.4;
        text-align: center;
    }

    .communities-mob-btn {
        width: 262px;
        position: relative;
        right: 50%;
        transform: translate(50%);
        margin-top: 33px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 265px;
    }

    .locations-grid {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .banner-left .inner-logo {
        margin-bottom: 22px;
    }

    .mob-only {
        display: block;
    }

    .desk-only {
        display: none;
    }

    .banner-bottom-sec p {
        display: none;
    }

    .awards-main-wrap {
        flex-direction: column;
        gap: 30px;
    }

    .awards-content-left {
        width: 100%;
    }

    .awards-content-left h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .awards-description p {
        text-align: center;
    }

    #section-awards {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .partners-title {
        font-size: 28px;
        max-width: 100%;
        text-align: center;
    }

    .google-section>img,
    .trustpilot-section>img {
        max-width: 65px;
    }

    .google-section,
    .trustpilot-section {
        gap: 20px;
    }

    .awards-video-right {
        width: 100%;
    }

    .awards-grid-item span:nth-child(1),
    .awards-grid-item span:nth-child(2) {
        text-align: center;
    }

    .awards-below-section {
        flex-direction: column;
        margin-top: 30px;
    }

    .awards-below-left {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .awards-grid-item span:nth-child(1) {
        font-size: 16px;
    }

    .awards-grid-item span:nth-child(2) {
        font-size: 13px;
    }

    .partners .partners-container {
        flex-direction: column;
    }

    .partners .partners-carousel {
        width: 100%;
    }

    .partners .partner-logo img {
        width: 178px;
    }

    .partners .partners-scroll {
        gap: 20px;
    }

    #vist-area .container {
        padding: 40px 15px;
    }

    .visit-content {
        background-color: transparent;
    }

    .read-more-content {
        display: block;
    }

    .read-more-btn {
        display: none;
    }

    .read-more-content {
        display: none;
    }

    .read-more-btn {
        display: inline-block;
        background: none;
        border: none;
        color: #EE7133;
        cursor: pointer;
        margin-top: 7px;
        font-size: 16px;
        padding: 0;
        text-decoration: underline;
    }

    .awards-below-right p:last-child {
        /* margin-bottom: 0; */
    }

    .read-more-btn:hover {
        color: #EE7133;
    }

    .banner-bottom-sec .container {
        justify-content: center;
    }

    #about .section-head::after {
        right: 0;
    }

    .banner-left h1 {
        font-size: 1.8rem;
    }

    #about .section-head h2 {
        max-width: 100%;
    }

    #header .call-to-action-btns {
        display: none;
    }

    #header {
        height: 80px;
    }

    #videoArea,
    #location,
    #book-consultation,
    #faq,
    #vist-area,
    #bottom-bar {
        margin-top: 70px;
    }

    .pre-booking-wrap {
        flex-direction: column;
    }

    .about-right {
        padding-top: 15px;
    }

    .pre-booking-img {
        width: 100%;
    }

    .pre-booking-right {
        width: 100%;
        margin-top: 50px;
    }

    #brochure-section .section-head h2 {
        font-size: 1.6rem;
        text-align: center;
        color: white;
    }

    #brochure-section .section-head p {
        text-align: center;
        font-size: 1rem;
        color: white;
    }

    #brochure-section .section-head p strong {
        text-align: center;
        color: white;
    }

    #brochure-section .section-head p.guide-description {
        color: #ffffff;
    }

    #brochure-section {
        margin-top: 50px;
    }

    .top-bar-text-1 {
        padding: 15px 13px;
        font-size: 14px;
        text-align: center;
        margin-right: 10px;
        width: 179px;
    }

    #topBar {
        display: none;
    }

    .faq {
        padding-top: 0;
        padding-left: 0;
    }

    .awards-left {
        display: none;
    }

    .awards-section-wrap {
        border-radius: 15px;
        padding: 25px 17px;
    }

    .trustpilot-review img {
        width: 20px;
    }

    .awards-right {
        margin-top: 27px;
    }

    .thumbnail {
        height: 28px;
    }

    .paymentplan-grid-item-wrap {
        flex-direction: column;
        gap: 20px;
        padding: 35px 0;
    }

    .paymentplan-grid-item-wrap>div:nth-child(1) {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .payment-plans-texts {
        flex-direction: column;
    }

    .pre-booking-grid .call-to-action-btns div {
        display: flex;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .pre-booking-grid {
        padding: 0;
        margin-top: 1rem;
    }

    .slider-head-sec .call-to-action-btns {
        display: none;
    }

    .slider-btns-sec {
        display: none !important;
    }

    .about-right .about-right-item:nth-child(1) {
        padding-top: 0;
    }

    .about-above-btns {
        display: none;
    }

    .about-right-item:nth-child(1)::after,
    .about-right-item:nth-child(2)::after {
        width: 100%;
    }

    .call-to-action-btns {
        flex-direction: column;
    }

    .amenity-grid {
        padding: 40px 20px;
        grid-template-columns: 1fr 1fr;
    }

    .amenity-grid-item:nth-child(3):before,
    .amenity-grid-item:nth-child(7):before {
        display: none;
    }

    .about-below-btns {
        display: flex;
        align-items: center;
        margin-top: 40px;
    }

    .video-btn img {
        max-width: 40px;
    }

    .about-right-item {
        text-align: left;
        padding: 50px 0 50px 0;
    }

    .call-to-action-btns .black-bg {
        max-width: 270px;
    }

    .brochure-img {
        width: 100%;
        justify-content: center;
    }

    #brochure-section .container {
        flex-direction: column;
        padding: 40px 25px;
        gap: 30px;
        background: #07234B;
        border-radius: 0px;
    }

    #brochure-section .brochure-right .section-head {
        text-align: center !important;
        color: white;
    }

    .brochure-img img {
        max-width: 80%;
    }

    #brochure-section .brochure-right {
        width: 100%;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
        font-size: 0.85rem;
        background: white;
        color: #07234B !important;
    }

    .arrow-wrap {
        width: 15px;
        margin-top: -11px;
    }

    #videoArea .section-head {
        padding-left: 0;
    }

    .register-btn img {
        max-width: 15px;
    }

    .videoImage {
        height: 14rem;
    }

    .banner-bottom-sec .black-bg {
        border: none;
        font-size: 14px;
    }

    .banner-bottom-sec {
        margin-top: -200px;
        background-color: #3b141400;
    }

    .section-head {
        text-align: left;
    }

    #vist-area .section-head h2 {
        font-size: 1.7rem;
        text-align: center;
        margin-top: 35px;
    }

    .floor-section {
        grid-template-columns: 1fr;
    }

    .floor-detail {
        align-items: center;
        justify-content: center;
    }

    .footer-quote img {
        max-width: 100%;
    }

    .tab {
        padding: 13px 25px;
    }

    .floor-detail {
        flex-direction: column;
    }

    #location-map {
        padding: 70px 0;
    }

    #location-buttons {
        grid-template-columns: 1fr;
    }

    .sidebar p,
    .sidebar nav {
        text-align: center;
    }

    .sidebar {
        bottom: -515px;
    }

    #map {
        height: 350px;
    }

    .location-card {
        min-width: 180px;
        max-width: 180px;
        width: 180px;
        border-radius: 7px;
    }

    .location-card img {
        height: 108px;
    }

    .amenity-grid-item p {
        font-size: 15px;
    }

    .location-card .card-content {
        padding: 5px 10px;
    }

    .location-btn .btn-content {
        gap: 20px;
        flex-direction: row;
        text-align: left;
    }

    .floor-btn {
        display: flex;
        justify-content: center;
    }

    .section-head h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .map {
        height: 30vh;
        background-size: cover;
    }

    #bottom-bar {
        height: auto;
        padding: 20px 0;
    }

    .location-card p {
        display: none;
    }

    #location-map {
        height: 70rem;
    }

    .location-card h3 {
        font-size: 11px;
    }

    .location-card h4 {
        font-size: 7px;
        margin-top: 3px;
    }

    .slider-btns-mob {
        margin-right: 0;
        display: flex !important;
    }

    .swiper {
        padding-right: 8%;
    }

    .slider-wrap .tabs {
        flex-direction: row;
        margin-top: 10px;
    }

    .slider-section {
        width: 100%;
    }

    .nav-button img {
        width: 30px;
    }

    .location-box {
        width: 100%;
        ;
    }

    .mfp-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .location-box p {
        font-size: 15px;
    }

    .location-box h3 {
        font-size: 15px;
    }

    .faq-top {
        justify-content: center;
    }

    .visit-content .section-head p {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    .visit-content .booking-form-area {
        padding: 0;
    }

    #faq {
        margin-top: 37px !important;
    }

    #vist-area {
        margin-bottom: 0;
    }

    #vist-area .section-head h2 {
        margin-top: 0;
    }

    #bottom-bar {
        margin-top: 0 !important;
    }

    #visitPop .form-group input,
    #visitPop .form-group select {
        background-color: #FAFAFA;
        border: none;
        border-bottom: 1px solid #57575773;
        border-radius: 0;
    }

    #slider-section .flex-btns .btn {
        width: 298px !important;
    }

    .see-more-sec hr {
        width: 46px;
    }
}

/* Quiz Card Styles */
.quiz-card {
    background: #f4f8fb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    border: 1px solid #E1E8ED;
    border-radius: 10px;
    gap: 15px;
}

.quiz-card h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #07234B;
    margin: 0;
    font-family: "Tajawal", sans-serif;
    line-height: 1.3;
}

.quiz-card p {
    font-size: 1rem;
    color: #35373C;
    margin: 0;
    line-height: 1.5;
}

.quiz-btn {
    background: #EE7133;
    color: #fff;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #EE7133;
    margin-top: 10px;
}

.quiz-btn:hover {
    background: transparent;
    color: #EE7133;
}

.quiz-btn img {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.quiz-btn:hover img {
    filter: brightness(0) invert(0.5) sepia(1) saturate(5) hue-rotate(350deg);
}

@media (max-width: 767px) {
    .quiz-card {
        padding: 30px 20px;
    }

    .quiz-card h3 {
        font-size: 1.25rem;
    }

    .quiz-card p {
        font-size: 0.813rem;
    }

    .quiz-btn {
        padding: 14px 24px;
        font-size: 0.813rem;
        width: 100%;
    }

    .scroll-down-wrapper {
        bottom: 20px;
    }

    .scroll-down-btn span {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
}

/* Animated border effect for sticky bottom quiz button - Refactored for smooth speed */
.sticky-bottom-left-btn .register-btn.black-bg {
    position: relative;
    background: #07234B !important;
    color: #fff !important;
    border: 1px solid #07234B !important;
    transition: 500ms ease;
    overflow: hidden;
    /* Contains the spans */
}

/* Ensure btn-inner text is white and z-indexed above borders */
.sticky-bottom-left-btn .register-btn.black-bg .btn-inner {
    position: relative;
    z-index: 2;
    color: #fff !important;
}

/* Common styles for all border spans */
.sticky-bottom-left-btn .register-btn.black-bg .border-animation {
    position: absolute;
    background: #fff;
    box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;
    z-index: 1;
}

/* Top Border */
.sticky-bottom-left-btn .register-btn.black-bg .border-top {
    height: 2px;
    width: 0;
    top: 0;
    left: 0;
    animation: drawTopLine 6s linear infinite;
}

/* Right Border */
.sticky-bottom-left-btn .register-btn.black-bg .border-right {
    width: 2px;
    height: 0;
    top: 0;
    right: 0;
    animation: drawRightLine 6s linear infinite;
}

/* Bottom Border */
.sticky-bottom-left-btn .register-btn.black-bg .border-bottom {
    height: 2px;
    width: 0;
    bottom: 0;
    right: 0;
    animation: drawBottomLine 6s linear infinite;
}

/* Left Border */
.sticky-bottom-left-btn .register-btn.black-bg .border-left {
    width: 2px;
    height: 0;
    bottom: 0;
    left: 0;
    animation: drawLeftLine 6s linear infinite;
}

/* 
   Keyframe Timing Calculation:
   Assume Button Dimensions: ~270px Width, ~62px Height.
   Total Perimeter: (270 * 2) + (62 * 2) = 540 + 124 = 664px.
   
   % Width: 270 / 664 ≈ 40.6% -> Round to 41%
   % Height: 62 / 664 ≈ 9.3% -> Round to 9%
   
   Sequence:
   Top (0-41%) -> Right (41-50%) -> Bottom (50-91%) -> Left (91-100%)
*/

@keyframes drawTopLine {
    0% {
        width: 0;
        left: 0;
        opacity: 0;
    }

    1% {
        opacity: 1;
    }

    41% {
        width: 100%;
        left: 0;
        opacity: 1;
    }

    41.01%,
    100% {
        width: 100%;
        left: 0;
        opacity: 0;
    }
}

@keyframes drawRightLine {

    0%,
    41% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    41.01% {
        opacity: 1;
    }

    50% {
        height: 100%;
        top: 0;
        opacity: 1;
    }

    50.01%,
    100% {
        height: 100%;
        top: 0;
        opacity: 0;
    }
}

@keyframes drawBottomLine {

    0%,
    50% {
        width: 0;
        right: 0;
        opacity: 0;
    }

    50.01% {
        opacity: 1;
    }

    91% {
        width: 100%;
        right: 0;
        opacity: 1;
    }

    91.01%,
    100% {
        width: 100%;
        right: 0;
        opacity: 0;
    }
}

@keyframes drawLeftLine {

    0%,
    91% {
        height: 0;
        bottom: 0;
        opacity: 0;
    }

    91.01% {
        opacity: 1;
    }

    100% {
        height: 100%;
        bottom: 0;
        opacity: 1;
    }
}