* {
    margin: 0px;
    padding: 0px;
    font-family: 'Poppins';
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #06306a;
    --secondary-color: #104e99;
    --grey-color: #f2efeb;
    --white-color: #fff;
    --black-color: #000;
}

body {
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
}

header {
    background-color: var(--white-color);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    border-bottom: 1px solid #ddd;
    color: var(--white-color);
}

.top-bar a {
    color: var(--white-color);
    text-decoration: none;
}


.social-media a {
    color: var(--white-color);
    margin-left: 1rem;
    text-decoration: none;
}

.logo-section img {
    height: 50px;
}

.phone-mobile a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-color);
}

header .logo {
    height: 120px;
    width: auto;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary-color);
    white-space: nowrap;
    text-align: center;
}

.nav-desktop ul li {
    margin-left: 2rem;
}

.nav-desktop .nav-link {
    color: var(--black-color);
    font-weight: 500;
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-desktop ul li a:hover {
    color: var(--primary-color);
}

.nav-desktop ul li a.active {
    color: var(--primary-color);
}


/* Mobile Menu Toggle */
.mobile-menu-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1050 !important;
    transition: all 0.3s ease;
    display: none;
}

.mobile-menu-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.mobile-menu-toggle.active {
    background-color: #d9534f;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--white-color);
    border-left: 1px solid #ddd;
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

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

.mobile-menu .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--black-color);
}

.mobile-menu .menu-item {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--black-color);
}

h1 {
    font-size: 4rem !important;
}

h2 {
    font-size: 2.5rem !important;
}

.lh-1 {
    line-height: 1 !important;
}

.text-x {
    line-height: 1.5 !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
    transition: all 0.3s ease;
    transform: scale(1.1) rotate(1deg);
}

.overlay-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
    transition: all 0.3s ease;
    transform: scale(1.1) rotate(1deg);
}

.overlay:hover {
    background-color: transparent;
    transform: scale(1.1) rotate(1deg);
}

.location-item {
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: scale(1.05);
}

.hover-image img {
    transition: all 0.8s ease-out;
}

.hover-image:hover img {
    transform: scale(1.1) rotate(1deg);
}

.scrolling-effect.effectFade {
    opacity: 1;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scrolling-effect.effectFade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-image-section-div {
    max-height: 700px;
}

.hero-image-section-div img {
    width: 100%;
    animation-name: zoomEffect;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    z-index: -1;
    object-fit: cover;
    overflow: hidden;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}


.bg-home-section-two {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8aW50ZXJpb3IlMjBkZXNpZ258ZW58MHx8MHx8fDA%3D");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.bg-home-section-three {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://media.admiddleeast.com/photos/66decb01101edb7a36d3ae17/16:9/w_2560%2Cc_limit/AE_DXB_KuralVista_Ext_003_001_CG_HR.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    padding: 100px 0 !important;
}

.bg-about-us {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../assets/img/company-profile/about-hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    padding: 100px 0 !important;
}


footer {
    background: linear-gradient(to bottom, rgba(4, 6, 161, 0.95), rgba(4, 26, 113, 0.9)), url(../assets/img/footer/dubai-bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    color: var(--white-color);
    padding: 5rem 0 0.5rem 0;
    margin-top: -8px;
    z-index: 99;
}


footer img {
    height: 100px !important;
    width: auto;
    margin-bottom: 2rem;
}

footer h5 {
    margin-bottom: 1rem;
}


footer ul li a {
    color: var(--white-color);
    text-decoration: none;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

footer ul li:hover {
    opacity: 1;
}

footer ul li a:hover {
    opacity: 1;
}

footer .d-flex {
    margin-bottom: 1rem;
}

footer .d-flex span {
    font-weight: 500;
    margin-right: 0.5rem;
}

footer p {
    opacity: 0.5;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    animation: backToTop 1s ease-in-out infinite;
    overflow: hidden;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.back-to-top i {
    margin: 0 auto;
}

.back-to-top-loader {
    position: absolute;
    /* Light grey base */
    /* Blue loading segment */
    background-color: rgb(180, 231, 255);
    width: 50px;
    height: 0;
    z-index: -1;
    bottom: 0;
    transition: all 0.3s ease;

}

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

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

@keyframes backToTop {
    0% {
        transform: translateY(0);
    }

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

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

.process-item {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.process-item a {
    text-decoration: none;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}







.process-item a:hover {
    color: var(--primary-color) !important;
    transform: scale(1.05);
}

.title a {
    font-weight: 500 !important;
}

.property-item .fa-circle-dot {
    transition: all 0.3s ease;
    font-size: 0.8rem;
    opacity: 0.3 !important;
    transform: scale(.5);
}

.property-item:hover .fa-circle-dot {
    opacity: 1 !important;
    transform: scale(1);
}

.process-item.active .fa-circle-dot {
    transform: scale(1) !important;
    opacity: 1 !important;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    width: 100%;
    height: 100%;
    animation: slideIn 0.5s ease-in-out;

}

@keyframes slideIn {
    from {
        transform: translateX(30%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.tab-content img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 40px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tab-content img:hover {
    transform: scale(1.05);
}

.developers {
    width: 100%;
}

.developer-div {
    display: flex;
    flex-wrap: nowrap;
    animation: developer-marquee 20s linear infinite;
}

.developer-div::-webkit-scrollbar {
    display: none;
}

@keyframes developer-marquee {
    0% {
        transform: translateX(0);
    }

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

.developers .item {
    width: 200px;
    /* Image width */
    height: 150px;
    /* Image height */
    margin: 0 30px;
    flex-shrink: 0;
    padding: 10px 20px;
}

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

.developers::-webkit-scrollbar {
    display: none;
}

.testimonials .testimonial-item {
    animation-delay: 10s;
    animation: testimonial-marquee 20s linear infinite;
}

@keyframes testimonial-marquee {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(0);
    }

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

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

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

    70% {
        transform: translateX(-200%);
    }

    75% {
        transform: translateX(-300%);
    }
    95% {
        transform: translateX(-300%);
    }
    
    96% {
        transform: translateX(0);
    }
    
    100% {
        transform: translateX(0);
    }

}

.testimonials::-webkit-scrollbar {
    display: none;
}



.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    opacity: 1;
}


.loader .loader-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.loader .loader-inner img {
    width: 150px;
    height: 100px;
    object-fit: cover;
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(6, 48, 106, 0.1) !important;
}

.news-card-img {
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

@keyframes reveal {
    from {
        opacity: 0;
        filter: blur(22px);
        transform: translateY(200px);
    }

    to {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
}


.animate-text {
    opacity: 0;
    animation: reveal 1s forwards;
    animation-delay: 1s;
}


.reveal-text {
    /* Define the animation */
    animation: reveal linear forwards;
    /* Link the animation to the element's visibility in the viewport */
    animation-timeline: view();
    /* Adjust range: animation starts when top of element hits bottom of viewport */
    animation-range: entry 5% cover 30%;
}

@keyframes reveal-button {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal-button {
    animation: reveal-button linear forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
    /* Add these lines */
    opacity: 0;
}

.property {
    transition: all 0.3s ease;
}

.property .img-section {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.property .img-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.property:hover .img-section img {
    animation: zoom-in 10s linear forwards;

}

@keyframes zoom-in {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.5);
    }
}

.property:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Recent News Sidebar & Items */
.recent-item {
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 8px;
}

.recent-item:hover {
    background-color: var(--grey-color);
    transform: translateX(5px);
}

.recent-item img {
    transition: transform 0.3s ease;
}

.recent-item:hover img {
    transform: scale(1.08);
}

.hover-primary-text {
    transition: color 0.3s ease;
}

.hover-primary-text:hover h6 {
    color: var(--secondary-color) !important;
}

.news-detail-image {
    transition: transform 0.5s ease;
}

.news-detail-image:hover {
    transform: scale(1.02);
}

/* Comments Section Styling */
.comments-section {
    border-top: 1px solid #eaeaea;
    margin-top: 50px;
    padding-top: 40px;
}

.comment-card {
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    background-color: #ffffff;
    border-color: #e0e0e0;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(6, 48, 106, 0.15);
    flex-shrink: 0;
}

.comment-form-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media screen and (max-width: 768px) {
    .hero-image-section-div {
        min-height:80vh !important;
        max-height: 80vh !important;
    }

    .hero-image-section-div div{
        width:100% !important;
    }

    .hero-image-section-div h1{
        font-size: 3rem !important;
    }


    .hero-image-section-div img {
        width: 100% !important;
        height:100vh !important; 
    }
}

/* Dropdown Menu Styles */
.nav-desktop ul li.dropdown-item-parent {
    position: relative;
}

.nav-desktop ul li.dropdown-item-parent:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1010;
    margin-top: 5px;
}

.dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.dropdown-menu-custom li {
    margin-left: 0 !important;
    padding: 0 !important;
    display: block;
    width: 100%;
}

.dropdown-menu-custom li a {
    display: block;
    padding: 10px 20px !important;
    color: var(--black-color) !important;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    text-align: left;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown-menu-custom li a:hover {
    background-color: var(--grey-color) !important;
    color: var(--primary-color) !important;
}

/* Mobile Dropdown Menu Styles */
.mobile-menu .dropdown-item-parent {
    border-bottom: 1px solid #eee;
}

.mobile-menu .dropdown-toggle-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--black-color);
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
}

.mobile-menu .dropdown-menu-mobile {
    padding-left: 1.5rem;
    display: none;
    list-style: none;
    margin: 0;
}

.mobile-menu .dropdown-menu-mobile.show {
    display: block;
}

.mobile-menu .dropdown-link-custom {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f9f9f9;
}

/* Premium News Card Interactions */
.read-more-link i {
    transition: transform 0.2s ease-in-out;
}
.read-more-link:hover i {
    transform: translateX(5px);
}