/* DG Heaven Font Family */
@font-face {
    font-family: 'DG Heaven';
    src: url('../fonts/DG Heaven Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'DG Heaven';
    src: url('../fonts/DG Heaven Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'DG Heaven';
    src: url('../fonts/DG Heaven Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'DG Heaven';
    src: url('../fonts/DG Heaven Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

* {
    font-family: "DG Heaven";
}

.otp-input {
    text-align: center !important;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
    }

    .mobile-menu.show {
        right: 0;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mobile-menu-close {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-item {
    font-size: 14px;
    color: black;
    text-decoration: none;
    font-family: "DG Heaven";
    font-weight: 100;
    padding: 8px 0;
    text-align: center;
    transition: color 0.2s;
}

.mobile-menu-item.active {
    color: #436164;
    font-size: 16px;
    font-weight: 400;
}

.mobile-menu-item:hover {
    color: #436164;
}

.menu-item-line {
    width: 100%;
    height: 1px;
    background: #F7F8FC;
}

.mobile-menu-button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-button {
    background: #436164;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-family: "DG Heaven";
    font-weight: 300;
    cursor: pointer;
    white-space: nowrap;
}

.mobile-menu-language-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-language {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.mobile-menu-language span {
    font-size: 14px;
    color: black;
    font-family: "DG Heaven";
    font-weight: 100;
}

.language-toggle {
    width: 40px;
    height: 20px;
    background: #F7F8FC;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.language-toggle-handle {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.language-toggle.ar {
    background: #436164;
}

.language-toggle.ar .language-toggle-handle {
    transform: translateX(20px);
}

/* Hide mobile menu on desktop */
@media (min-width: 481px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Desktop Styles */

.radio-icon.selected::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #000000;
    border-radius: 50%;
}

.login-type-option:not(.active) {
    opacity: 1;
}

.login-type-option:not(.active) .radio-icon {
    opacity: 0.6;
}


.slider-mobile {
    display: none;
}

/* FAQ Default State */
.faq-item {
    background-color: #F7F8FC !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 100px !important;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.faq-item .faq-header h3 {
    color: #374151 !important;
    transition: color 1s ease-out !important;
}

.faq-item .faq-content {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    transition: max-height 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease-out, padding 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.faq-item .faq-content p {
    color: #6b7280 !important;
    transition: color 1s ease-out !important;
}

/* FAQ Expanded State */
.faq-item.expanded {
    border-radius: 50px !important;
    background-color: #A8AC90 !important;
    border: none !important;
}

.faq-item.expanded .faq-header h3 {
    color: white !important;
}

.faq-item.expanded .faq-separator {
    display: block !important;
}

.faq-item.expanded .faq-content {
    max-height: 300px !important;
    opacity: 1 !important;
    padding: 2rem !important;
}

.faq-item.expanded .faq-content p {
    color: white !important;
    font-size: 20px !important;
    font-weight: 100 !important;
    padding: 0 !important;
}

.faq-item.expanded .faq-toggle {
    top: 8rem !important;
    transition: top 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.faq-separator {
    display: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 24px;
}

/* html[lang='ar'] .faq-header-wrapper,
html[lang='ar'] .faq-subtitle-wrapper,
html[lang='ar'] .faq-description-section {
    flex-direction: row-reverse;
} */

html[lang='ar'] .faq-description-text,
html[lang='ar'] .faq-content {
    text-align: right;
}

html[lang='ar'] .faq-header {
    justify-content: right;
}

html[lang='ar'] .faq-toggle {
    left: -15px;
    right: auto;
}

/* Our Project AR Styles*/

html[lang='ar'] .our-projects-titles {
    text-align: right;
}

/* RTL Support */
html[lang='ar'] .login-types-container {
    flex-direction: row-reverse;
}

html[lang='ar'] .login-type-option {
    flex-direction: row-reverse;
}

html[lang='ar'] .input-field-container {
    flex-direction: row-reverse;
}

html[lang='ar'] .country-selector {
    flex-direction: row-reverse;
}

html[lang='ar'] .checkbox-container {
    flex-direction: row-reverse;
}

html[lang='ar'] .social-buttons-container {
    flex-direction: row-reverse;
}

html[lang='ar'] input {
    text-align: right;
}

html[lang='ar'] .input-label {
    text-align: right;
}

html[lang='ar'] .location-header {
    flex-direction: row-reverse;
}

html[lang='ar'] .skip-button {
    right: auto;
    left: 0;
}

html[lang='ar'] .search-input-wrapper {
    flex-direction: row-reverse;
}

html[lang='ar'] .otp-container {
    flex-direction: row-reverse;
}

html[lang='ar'] .logo-container {
    left: auto;
    right: 48px;
}

html[lang='ar'] .nav-item-dropdown {
    flex-direction: row-reverse;
}

html[lang='ar'] .nav-actions {
    right: auto;
    left: 48px;
    flex-direction: row-reverse;
}

html[lang='ar'] .about-text {
    text-align: right;
}

html[lang='ar'] .about-text .flex.items-start {
    flex-direction: row-reverse;
}

html[lang='ar'] .testimonial-name {
    justify-content: right;
}

html[lang='ar'] .experience-card {
    text-align: right;
}


html[lang='ar'] .services-image-container {
    width: 70% ;
}

html[lang='ar'] .services-content h2 {
    right: 11em;
    left: auto;
    text-align: right;
}

html[lang='ar'] .services-description,
html[lang='ar'] .services-search-layout {
    flex-direction: row-reverse;
}

html[lang='ar'] .services-description-text {
    text-align: right;
}



/* Hero Section Styles */
.hero-section {
    overflow: visible;
}

.floating-badge {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.circular-text-wrapper span {
    display: block;
    text-align: center;
}

/* Hero Section RTL Support */
html[lang='ar'] .stats-column {
    left: auto;
    right: 80px;
}

/* Arabic RTL support for mobile zigzag pattern */
@media (max-width: 480px) {
    html[lang='ar'] .stats-column {
        right: auto !important;
        left: auto !important;
    }

    /* Reverse zigzag pattern for Arabic - right, left, right */
    html[lang='ar'] .stat-item:nth-child(1),
    html[lang='ar'] .stat-item:nth-child(3) {
        justify-content: flex-end;
        padding-left: 40px;
        padding-right: 0;
        flex-direction: row-reverse !important;
    }

    html[lang='ar'] .stat-item:nth-child(2) {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 40px;
        flex-direction: row !important;
    }

    html[lang='ar'] .stat-item p {
        text-align: right !important;
    }

    /* Arabic RTL support for mobile testimonial card */
    html[lang='ar'] .testimonial-card p.text-lg {
        text-align: center !important;
        direction: rtl;
    }

    /* Arabic RTL support for About Us section */

    html[lang='ar'] .about-text h2 {
        text-align: right;
    }

    html[lang='ar'] .about-text .flex.items-start {
        flex-direction: row-reverse;
    }

    html[lang='ar'] .about-text .flex.items-start p {
        text-align: center;
    }

    html[lang='ar'] .villas-card {
        right: auto;
        left: 20px;
    }

    html[lang='ar'] .experience-card {
        left: auto;
        right: 20px;
    }
}

html[lang='ar'] .hero-content {
    margin-left: 600px;
    margin-right: 300px;
    text-align: right;
    direction: rtl;
}

html[lang='ar'] .hero-title span:nth-child(2) {
    margin-left: 0;
    justify-content: flex-start;
}

/* About Us Section Styles */
.about-us-section {
    background: white;
    padding: 80px 0;
}

.about-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 48px;
    font-weight: 100;
    line-height: 58px;
    color: black;
    margin-bottom: 32px;
}

.about-text .flex.items-start {
    margin-bottom: 48px;
}

.about-text .flex.items-start p {
    font-size: 18px;
    font-weight: 100;
    line-height: 28px;
    color: black;
}

/* About Us Testimonials */
.about-us-section .testimonials-slider-container {
    position: relative;
    margin-bottom: 32px;
}

.about-us-section .testimonials-slider {
    overflow: hidden;
    border-radius: 12px;
}

.about-us-section .testimonials-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.about-us-section .testimonial-slide {
    min-width: 100%;
    padding: 0 12px;
    display: flex;
    gap: 24px;
}


.about-us-section .testimonial-card h4 {
    font-size: 16px;
    font-weight: 500;
    color: black;
    margin: 0;
}

.about-us-section .testimonial-card p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    color: black;
    margin: 0;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: #f9fafb;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.testimonial-prev svg,
.testimonial-next svg {
    width: 20px;
    height: 20px;
}



/* About Image Container */
.about-image-container {
    position: relative;
    width: 100%;
}

.about-main-image {
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
}




html[lang='ar'] .hero-content button {
    flex-direction: row-reverse;
}

html[lang='ar'] .hero-image-container {
    right: auto;
    left: 80px;
}

html[lang='ar'] .floating-badge {
    left: auto;
    right: -70px;
}

html[lang='ar'] .testimonial-card {
    left: auto;
    right: 340px;
}

html[lang='ar'] .testimonial-card .flex.items-start {
    flex-direction: row-reverse;
}

/* html[lang='ar'] .faq-desktop-subtitle-wrapper {
    flex-direction: row-reverse;
} */

/* Blog Section Styles */
.recent-blog-section {
    background: white;
    padding: 80px 0;
}

.blog-slider-container {
    position: relative;
}

.blog-slider {
    overflow: hidden;
    height: 350px;
    margin-right: -10px;
}

.blog-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 24px;
}

.blog-card {
    min-width: 400px;
    flex-shrink: 0;
}

/* Projects Slider Styles */
.projects-slider-container {
    position: relative;
    width: 100%;
}

/* Hide mobile slider on desktop by default */
.mobile-projects-slider {
    display: none;
}

/* Show mobile slider on tablet and mobile */
@media (max-width: 1023px) {
    .mobile-projects-slider {
        display: block;
    }

    /* Hide grid on mobile/tablet */
    .our-projects-grid {
        display: none !important;
    }
}

.projects-slider {
    overflow: visible;
    height: auto;
    margin-right: 0;
    padding: 0 20px;
}

.projects-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 24px;
}

.projects-card {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    min-width: 280px;
}

/* Project Image Button Styles */
.project-image-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.project-image-button:hover {
    opacity: 0.9;
}

.project-image-button:focus {
    outline: 2px solid #436164;
    outline-offset: 2px;
}



/* White content box overlay positioned at bottom */
.blog-image-container .absolute.bottom-0 {
    background: white;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 30px 30px 30px 20px;
    z-index: 20;
    width: calc(70% + 15px);
    left: -20px;
    bottom: -45px;
}

html[lang='ar'] .blog-image-container .absolute.bottom-0 {
    right: -20px;
    left: auto;
    padding: 30px 20px 30px 30px;
    text-align: right;
}

html[lang='ar'] .blog-date {
    left: calc(var(--spacing) * 4);
    right: auto;
}

.blog-image-container .absolute.bottom-0 h3 {
    color: black;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.blog-image-container .absolute.bottom-0 p {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}


.blog-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 32px;
    gap: 16px;
}

.blog-progress-line {
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    position: relative;
}

.blog-progress-fill {
    height: 100%;
    background-color: #436164;
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.blog-arrows {
    display: flex;
    gap: 8px;
}

.blog-prev,
.blog-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.blog-prev {
    background-color: #436164;
    color: white;
}

.blog-prev:hover {
    opacity: 0.9;
}

.blog-next {
    background-color: #436164;
    color: white;
}

.blog-next:hover {
    opacity: 0.9;
}

.blog-prev:disabled,
.blog-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Blog Section RTL Support */
html[lang='ar'] .blog-header h2 {
    text-align: right;
}

html[lang='ar'] .blog-navigation {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

/* Tablet Styles 780px */

@media (max-width: 780px) {
    body {
        padding: 0.75rem;
    }
}

/* Mobile Styles 480px */

@media (max-width: 480px) {
    body {
        padding: 0.625rem;
    }

    /* Login Modal Mobile Styles */
    .bg-white.rounded-\[30px\] {
        border-radius: 20px;
        padding: 18px;
        gap: 14px;
    }

    /* Title and Welcome */
    .bg-white.rounded-\[30px\] h1 {
        font-size: 20px;
    }

    .bg-white.rounded-\[30px\] p {
        font-size: 20px;
    }

    /* Login Types Container */
    .login-types-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .login-type-option {
        gap: 12px;
    }

    .login-type-option span {
        font-size: 16px;
    }

    .radio-icon {
        width: 24px;
        height: 24px;
    }

    .radio-icon.selected::after {
        width: 10px;
        height: 10px;
    }

    /* Input Label */
    .input-label {
        font-size: 14px;
    }

    /* Input Field */
    .input-field-container {
        padding: 14px 24px;
    }

    .country-selector span {
        font-size: 14px;
    }

    .country-selector img:first-child {
        width: 29px;
        height: 18px;
    }

    .country-selector img:last-child {
        width: 12px;
        height: 12px;
    }

    .phone-input {
        font-size: 10px;
    }

    /* Login Button */
    .login-button {
        padding: 12px 24px;
        font-size: 14px;
        max-width: 100%;
    }

    /* Divider Text */
    .bg-white.rounded-\[30px\]>div>span {
        font-size: 14px;
    }

    /* Social Buttons */
    .social-buttons-container {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .social-buttons-container button {
        width: 100%;
        max-width: 100%;
        padding: 14px 45px;
    }

    /* Checkbox - Hide desktop, show mobile */

    .checkbox-container-mobile {
        display: flex !important;
    }

    .checkbox-container-mobile span {
        font-size: 12px;
    }

    .checkbox-wrapper {
        width: 24px;
        height: 24px;
    }

    .checkbox-icon {
        width: 24px;
        height: 24px;
    }

    /* OTP Modal Mobile Styles */
    .otp-container {
        gap: 8px;
    }

    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .verify-button {
        padding: 12px 24px;
        font-size: 14px;
        max-width: 100%;
    }

    /* Hero Section Mobile Styles */
    .hero-section {
        padding: 20px 0;
        min-height: auto;
    }

    .hero-section>div {
        display: flex;
        flex-direction: column;
        position: relative !important;
    }

    /* Mobile stats column - show with different layout */
    .stats-column {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        margin: 30px 20px;
        order: 1;
        /* Place after hero image, before content */
    }

    .stat-item {
        flex-direction: row !important;
        align-items: center !important;
        gap: 16px;
        text-align: left;
        width: 100%;
    }

    /* Zigzag pattern - left, right, left */
    .stat-item:nth-child(1),
    .stat-item:nth-child(3) {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 40px;
    }

    .stat-item:nth-child(2) {
        justify-content: flex-end;
        padding-left: 40px;
        padding-right: 0;
        flex-direction: row-reverse !important;
    }

    .stat-item>div:first-child {
        width: 130px !important;
        height: 130px !important;
        flex-shrink: 0;
    }

    .stat-item>div:first-child span {
        font-size: 38px !important;
    }

    .stat-item>div:first-child svg {
        width: 32px !important;
        height: 32px !important;
        top: 7rem;
    }

    .stat-item p {
        font-size: 20px !important;
        text-align: center !important;
        margin-top: 0 !important;
        width: auto !important;
        flex: 1;
    }

    /* Mobile testimonial card - show with vertical layout */
    .slider-desktop {
        display: none;
    }

    .slider-mobile {
        display: flex;
    }


    .testimonial-card {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: calc(100% - 0px);
        margin: 0 auto;
        padding: 24px !important;
        border-radius: 25px !important;
        order: 3;
        /* Place after hero content */
        z-index: auto !important;
    }

    .slider-mobile .testimonial-card {
        max-width: 80% !important;
    }


    .testimonial-card>div {
        border-radius: 25px !important;
        padding: 24px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
    }

    .testimonial-card .flex.items-start {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 16px !important;
    }

    /* Rating and reviews section */
    .testimonial-card .flex.flex-col.gap-4 {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        order: 1;
    }

    .testimonial-card .flex.items-center.gap-2 {
        justify-content: center !important;
        gap: 8px !important;
    }

    .testimonial-card .flex.items-center.gap-1 {
        justify-content: center !important;
        gap: 4px !important;
    }

    /* Avatar section */
    .testimonial-card .flex.items-end {
        order: 2;
        justify-content: center !important;
        align-items: center !important;
        position: relative;
        width: 200px;
        height: 120px;
    }

    .testimonial-card .flex.items-end>div:nth-child(1) {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 80px !important;
        height: 80px !important;
        border-width: 4px !important;
    }

    .testimonial-card .flex.items-end>div:nth-child(2) {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 100px !important;
        height: 100px !important;
        border-width: 4px !important;
        z-index: 2;
    }

    .testimonial-card .flex.items-end>div:nth-child(3) {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 80px !important;
        height: 80px !important;
        border-width: 4px !important;
    }

    /* Testimonial text */
    .testimonial-card p.text-lg {
        order: 3;
        text-align: center !important;
        font-size: 18px !important;
        line-height: 24px !important;
        padding-top: 0 !important;
        margin: 0 !important;
        flex: none !important;
    }

    /* Hero Image Container - Full width at top */
    .hero-image-container {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto 20px auto;
        padding: 0 10px;
        order: 0;
        /* Place first in mobile layout */
    }

    html[lang='ar'] .hero-image-container {
        left: auto;
    }

    .hero-image {
        width: 100% !important;
        height: 360px !important;
        border-radius: 20px !important;
    }

    /* Floating Badge - Positioned on image */
    .floating-badge {
        width: 100px !important;
        height: 100px !important;
        top: 200px !important;
        left: 120px !important;
        z-index: 2;
    }

    .circular-text-wrapper span {
        font-size: 10px;
    }

    /* Main Content - Below stats */
    .hero-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 20px;
        text-align: left;
        order: 2;
        /* Place after stats */
        position: relative !important;
    }

    .hero-title {
        position: absolute;
        top: -610px !important;
        background: white;
        z-index: 1;
        left: auto !important;
        border: 30px solid white;
        margin-bottom: 16px !important;
        left: -0px !important;
    }

    .hero-title span {
        font-size: 16px !important;
        line-height: 22px !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-title span img {
        width: 32px !important;
        height: 32px !important;
        margin-right: 8px;
    }

    .hero-content p {
        font-size: 18px !important;
        line-height: 22px !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
        text-align: center;
    }

    .hero-content button {
        padding: 14px 24px !important;
        font-size: 14px !important;
        justify-content: center;
        text-align: center;
        margin: 0 auto;
    }

    .hero-content button svg {
        width: 18px;
        height: 18px;
    }

    /* About Us Section Mobile Styles */
    .about-us-section {
        padding: 40px 0 !important;
    }

    .about-us-container {
        padding: 0 !important;
    }

    .about-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 20px;
    }

    .about-text h2 {
        font-size: 20px !important;
        line-height: 40px !important;
        margin-bottom: 24px !important;
        font-weight: 300;
        text-align: left;
    }

    .about-text .flex.items-start {
        margin-bottom: 32px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .about-text .flex.items-start p {
        font-size: 16px !important;
        line-height: 24px !important;
        text-align: center;
        max-width: 350px;
    }

    /* Mobile Testimonials Slider */
    .about-us-section .testimonials-slider-container {
        margin-bottom: 24px !important;
        max-width: 360px;
    }

    .about-us-section .testimonial-slide {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 0 8px;
    }

    .about-us-section .testimonial-card {
        padding: 20px !important;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 40px;
        height: 40px;
    }

    .testimonial-prev {
        left: 20px;
    }

    .testimonial-next {
        right: 20px;
    }

    .testimonial-prev svg,
    .testimonial-next svg {
        width: 16px;
        height: 16px;
    }

    /* Mobile Image Container */
    .about-image-container {
        order: -1;
        /* Place image before content on mobile */
    }

    .about-main-image {
        height: 300px !important;
    }

    /* Mobile Overlay Cards */
    .villas-card {
        top: 15px !important;
        right: 15px !important;
        border-width: 20px !important;
        width: 140px !important;
    }

    .villas-card>div {
        padding: 16px !important;
    }

    .villas-card h3 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    .villas-card p {
        font-size: 12px !important;
    }

    .experience-card {
        bottom: 15px !important;
        left: 15px !important;
        padding: 20px !important;
        border-width: 15px !important;
        max-width: 200px !important;
    }

    .experience-card p {
        font-size: 10px !important;
        line-height: 14px !important;
    }

    .experience-card span {
        font-size: 12px !important;
    }

    /* Navbar Mobile Styles */
    .navbar {
        height: 60px !important;
    }

    .logo-container {
        left: 20px;
        top: 10px !important;
    }

    html[lang='ar'] .logo-container {
        right: 20px;
        left: auto;
    }

    .logo-container img {
        width: 60px !important;
        height: 60px !important;
    }

    /* Hide desktop nav items */
    .nav-links {
        display: none !important;
    }

    /* Show only menu icon */
    .nav-actions {
        right: 20px;
        top: 12px !important;
    }

    html[lang='ar'] .nav-actions {
        left: 20px;
        right: auto;
    }

    .nav-actions button:not(.mobile-menu-toggle) {
        display: none;
    }

    .nav-actions .mobile-menu-toggle {
        display: block;
    }

    /* Mobile Menu Drawer */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: 0px 122px 34px 0px rgba(0, 0, 0, 0), 0px 78px 31px 0px rgba(0, 0, 0, 0.01), 0px 44px 26px 0px rgba(0, 0, 0, 0.05), 0px 20px 20px 0px rgba(0, 0, 0, 0.09), 0px 5px 11px 0px rgba(0, 0, 0, 0.1);
        border-radius: 15px 0 0 15px;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 16px;
        overflow-y: auto;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    .mobile-menu-close {
        width: 24px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-menu-items {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-menu-item-wrapper {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        justify-content: center;
    }

    .mobile-menu-item {
        font-size: 14px;
        color: black;
        text-decoration: none;
        font-weight: 100;
        font-family: "DG Heaven";
        width: 100%;
        text-align: left;
        padding: 0;
        transition: color 0.2s;
    }

    html[lang='ar'] .mobile-menu-item {
        text-align: right;
    }

    .mobile-menu-item.active {
        color: #436164;
        font-size: 16px;
        font-weight: 400;
    }

    .mobile-menu-item:hover {
        color: #436164;
    }

    .menu-item-line {
        height: 1px;
        background: url('https://www.figma.com/api/mcp/asset/bca9e4c9-0f06-44ed-bfb4-3597c2b54883') no-repeat center;
        background-size: contain;
    }

    .mobile-menu-button-wrapper {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        justify-content: center;
    }

    html[lang='ar'] .mobile-menu-button-wrapper {
        align-items: flex-end;
    }

    .mobile-menu-button {
        background: #436164;
        color: white;
        padding: 8px 16px;
        border-radius: 100px;
        border: none;
        font-size: 14px;
        font-family: "DG Heaven";
        font-weight: 100;
        cursor: pointer;
        white-space: nowrap;
    }

    .mobile-menu-language-wrapper {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-language {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .mobile-menu-language span {
        font-size: 14px;
        color: black;
        font-family: "DG Heaven";
        font-weight: 100;
        flex: 1;
    }

    .language-toggle {
        width: 38px;
        height: 24px;
        background: #436164;
        border-radius: 100px;
        position: relative;
        cursor: pointer;
        padding: 2px 4px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .language-toggle-handle {
        width: 16px;
        height: 16px;
        background: white;
        border-radius: 50%;
        transition: transform 0.3s;
        transform: translateX(0);
    }

    .language-toggle.ar .language-toggle-handle {
        transform: translateX(-14px);
    }

    /* Our Services Section Mobile Styles */
    .services-star-icon-desktop {
        display: none;
    }

    .services-star-icon-mobile {
        display: block;
    }

    .services-image-container {
        display: none;
    }

    .our-services-section {
        padding: 0;
    }

    .services-description {
        margin-top: 20px;
        text-align: center;
    }

    .services-heading {
        left: 0;
        top: 0;
        font-size: 20px;
        letter-spacing: 0;
        line-height: unset;
        font-weight: 300;
        display: block;
        text-align: left;
        width: 100%;
        position: relative;
        border: none;
        padding: 1rem 0;
    }

    /* Blog Section Mobile Styles */
    .recent-blog-section {
        padding: 40px 0 !important;
    }

    /* Show star icon and hide desktop title on mobile */
    .blog-title-with-star {
        display: flex;
        margin-bottom: 30px;
        justify-content: space-between;
    }

    .blog-desktop-title {
        display: none !important;
    }

    .blog-header h2 {
        font-size: 20px !important;
        line-height: 40px !important;
        margin-bottom: 0;
        font-weight: 300;
        text-align: left;
    }

    .blog-star-icon {
        width: 50px !important;
        height: 50px !important;
    }

    /* Single card view on mobile */
    .blog-card {
        min-width: 100% !important;
    }

    .projects-card {
        min-width: 100% !important;
    }

    .blog-image-container {
        height: 200px !important;
    }

    /* Hide navigation arrows but keep progress line */
    .blog-arrows {
        display: none !important;
    }

    .projects-arrows {
        display: none !important;
    }

    .blog-navigation {
        flex-direction: column !important;
        gap: 16px !important;
        align-items: center !important;
    }

    .projects-navigation {
        flex-direction: column !important;
        gap: 16px !important;
        align-items: center !important;
    }

    .blog-progress-container {
        max-width: 100% !important;
        width: 100% !important;
    }

    .projects-progress-container {
        max-width: 100% !important;
        width: 100% !important;
    }

    .blog-image-container .absolute.bottom-0 {
        padding: 10px 10px 10px 20px;
    }

    html[lang='ar'] .blog-image-container .absolute.bottom-0 {
        padding: 10px 20px 10px 10px;
    }

    .blog-header {
        margin-bottom: 0;
    }

    /* Blog Slider Mobile Styles */
    .blog-slider-container {
        width: 100%;
        overflow: hidden;
    }

    .blog-slider {
        overflow: visible;
        padding: 0 16px;
    }

    .blog-track {
        gap: 16px;
    }

    .blog-card {
        flex: 0 0 calc(100% - 16px);
        max-width: calc(100% - 16px);
        min-width: calc(100% - 16px);
    }

    .blog-card > * {
        width: 100%;
    }

    .blog-navigation {
        padding: 0 16px;
    }

    .projects-slider {
        height: auto;
        margin-right: -5px;
    }

    .services-description-text {
        text-align: center !important;
    }

    .services-content-wrapper {
        margin-top: 0;
    }

    .services-container {
        padding-inline: 2rem;
    }

    .services-layout {
        flex-direction: column;
    }

    .services-toggle-container {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        height: auto;
        padding: 1.5rem 0;
        background: none;
    }

    .services-toggle-container button {
        font-size: 14px;
        font-weight: 100;
    }

    .services-search-btn {
        font-size: 16px;
        font-weight: 300;
        padding: 10px;
        width: 60%;
    }

    .services-filters-container {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .services-filter-item {
        width: 50%;
    }

    .services-filter-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .services-search-layout {
        flex-direction: column;
        gap: 0;
    }

    html[lang='ar'] .services-heading {
        text-align: right;
        right: 0 !important;
        left: auto;
    }

    html[lang='ar'] .services-search-layout {
        flex-direction: column;
    }

    html[lang='ar'] .floating-badge {
        left: auto;
        right: auto;
    }
    .project-image-container {
        height: 200px !important;
    }
}

/* Hide mobile menu on desktop */
@media (min-width: 481px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

}

/* Hide mobile star by default */
.mobile-star {
    display: none;
}

/* About Us Section Mobile Redesign */
@media (max-width: 768px) {

    /* Projects Slider Mobile Styles */
    .projects-slider-container {
        width: 100%;
        overflow: hidden;
    }

    .projects-slider {
        overflow: visible;
        padding: 0 16px;
    }

    .projects-track {
        gap: 16px;
    }

    .projects-card {
        flex: 0 0 calc(100% - 16px);
        max-width: calc(100% - 16px);
        min-width: calc(100% - 16px);
    }

    .projects-card > * {
        width: 100%;
    }

    .projects-navigation {
        padding: 0 16px;
    }

    /* Hide image container and overlays */
    .about-image-container {
        display: none !important;
    }

    /* Single column layout with proper width */
    .about-content {
        grid-template-columns: 1fr !important;
        width: 100%;
        justify-content: center;
    }

    /* Center title */
    .about-text h2 {
        text-align: left;
    }

    /* Show mobile star and hide desktop star */
    .mobile-star {
        display: block;
        width: 50px;
        height: 50px;
    }

    .desktop-star {
        display: none;
    }


    /* Center description with icon */
    .about-text>div {
        align-items: center;
        text-align: center;
    }

    /* Title and star wrapper as flex */
    .about-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        margin-bottom: 8px;
        flex-direction: row;
    }


    /* Fix slider width for mobile */
    .testimonials-slider-container {
        width: 100%;
    }

    /* Our Projects Section Mobile Styles */
    .our-projects-section {
        padding: 40px 0 !important;
    }

    .our-projects-content {
        padding: 0 !important;
    }

    /* Show mobile star next to title */
    .mobile-star-projects {
        display: block !important;
    }

    /* Make title wrapper flex with star */
    .mobile-title-wrapper {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 0 16px;
    }

    /* Hide original projects grid */
    .our-projects-grid {
        display: none !important;
    }

    /* Show mobile vertical slider */
    .mobile-projects-slider {
        display: block !important;
        padding: 0 20px;
    }

    /* Mobile slider container */
    .mobile-slider-container {
        position: relative;
        height: 500px;
        overflow: hidden;
    }

    /* Mobile slider track - vertical layout */
    .mobile-slider-track {
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: transform 0.3s ease-in-out;
        height: auto;
    }

    /* Mobile project slides */
    .mobile-project-slide {
        width: 100%;
        flex-shrink: 0;
    }

    /* Mobile project cards */
    .mobile-project-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .mobile-project-image {
        height: 180px !important;
    }

    .mobile-project-content {
        padding: 20px !important;
    }

    .mobile-project-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }

    .mobile-project-location {
        font-size: 14px !important;
        margin-bottom: 16px !important;
    }


    /* Mobile view button */
    .mobile-view-button-container {
        margin-top: 40px !important;
    }

    .mobile-view-more-btn {
        padding: 16px 32px !important;
        font-size: 16px !important;
        max-width: 70%;
        justify-content: center;
    }

    /* Hide desktop view button on mobile */
    .our-projects-view-btn {
        display: none !important;
    }

    /* Mobile projects header adjustments */
    .our-projects-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px;
        margin-bottom: 30px !important;
    }

    .our-projects-main-title,
    .our-projects-sub-title {
        font-size: 24px !important;
        line-height: 30px !important;
    }

    /* RTL support for mobile projects */

    html[lang='ar'] .our-projects-titles {
        text-align: right;
    }

    html[lang='ar'] .our-projects-header {
        align-items: flex-end !important;
    }

    /* FAQ Section Mobile Styles */
    .faq-section {
        padding: 40px 0 !important;
    }

    /* Show mobile FAQ header and hide desktop FAQ header */
    .faq-mobile-header {
        display: block !important;
    }

    .faq-desktop-header {
        display: none !important;
    }

    /* Hide desktop star in description section */
    .desktop-star {
        display: none !important;
    }

    /* Mobile titles with star layout */
    .faq-mobile-titles-with-star {
        display: flex !important;
        align-items: center;
        gap: 12px;
        justify-content: space-between;
        margin-bottom: 20px;
        width: 150%;
        margin-right: -20px;
    }

    .faq-mobile-titles-group {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    /* Mobile building image */
    .faq-mobile-building-container {
        text-align: center;
    }

    .faq-mobile-building-icon {
        width: 60px !important;
        height: 60px !important;
        object-fit: contain;
    }

    /* Mobile title sizes */
    .faq-mobile-main-title,
    .faq-mobile-subtitle {
        font-size: 24px !important;
        line-height: 30px !important;
        margin: 0 !important;
    }

    /* FAQ header adjustments for mobile */
    .faq-header-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 20px;
    }

    .faq-title-section {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .faq-description-section {
        max-width: 100% !important;
        text-align: center;
        justify-content: center;
        gap: 0;
    }

    .faq-description-text {
        text-align: center !important;
        font-size: 14px !important;
        line-height: 20px !important;
    }

    /* FAQ items mobile layout */
    .faq-items-grid {
        columns: 1 !important;
        gap: 20px !important;
    }

    /* Expanded FAQ items - 10px border radius */
    .faq-item.expanded,
    .faq-item[data-expanded="true"] {
        border-radius: 10px !important;
    }

    /* FAQ item mobile adjustments - centered content */
    .faq-item {
        margin-bottom: 16px !important;
    }

    .faq-question {
        font-size: 16px !important;
        line-height: 22px !important;
        text-align: center !important;
    }

    .faq-content {
        text-align: center !important;
    }

    .faq-content p {
        font-size: 14px !important;
        line-height: 20px !important;
        text-align: center !important;
    }

    .faq-header {
        justify-content: center !important;
    }

    /* RTL support for mobile FAQ */

    html[lang='ar'] .faq-mobile-titles-group {
        align-items: flex-end;
    }
}

/* Footer RTL Support */
html[lang='ar'] footer {
    direction: rtl;
}

html[lang='ar'] .footer-content {
    flex-direction: column-reverse;
}

html[lang='ar'] .footer-content.md\:flex-row {
    flex-direction: row;
}

html[lang='ar'] .footer-logo-section {
    text-align: right;
}

html[lang='ar'] .footer-links-section {
    text-align: right;
}

html[lang='ar'] .footer-social-section {
    text-align: right;
}

html[lang='ar'] .footer-contact-section {
    text-align: right;
}

html[lang='ar'] .footer-contact-info .flex {
    flex-direction: row-reverse;
}

html[lang='ar'] .footer-bottom {
    flex-direction: row-reverse;
}

html[lang='ar'] .footer-bottom-icons {
    order: -1;
}

/* Footer Background Pattern */
footer {
    position: relative;
    background-color: #436164;
    background-image: url('../images/AbstractDesign.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Footer bottom border */
.footer-bottom {
    border-top: 2.5px solid #d7d7d7 !important;
}

/* Slow spinning animation for circular text */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* RTL (Arabic) Blog Slider Arrow Reversal */
[dir="rtl"] .blog-prev svg {
    transform: rotate(180deg);
}

[dir="rtl"] .blog-next svg {
    transform: rotate(180deg);
}

/* Mobile Footer Visibility - Only show mobile footer on small screens */
@media (max-width: 767px) {
    .mobile-footer {
        display: block !important;
    }

    .desktop-footer {
        display: none;
    }
}

/* Mobile Footer RTL Support */
html[lang='ar'] .mobile-footer {
    direction: rtl;
}

/* No overlay needed - pattern should be directly visible */