:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: #6c5ce7;
    --gray-color: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--secondary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    /* position: absolute; */
    width: 100%;
    z-index: 10;
    background: #f8f8f8;
    box-shadow: 1px 3px 10px #f4f4f4;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #283e4b;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a.active {
    background-color: #283e4b;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.lets-talk {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.hero {
    height: auto;
    background: url(../images/hero-bg.avif);
    /* background-size: 30px; */
    /* background-repeat: repeat; */
    background-position: left center;
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: center;
    color: var(--secondary-color);
    width: 100%;
    /* margin-bottom: 5rem; */
    /* border-radius: 32px; */
    padding: 32px;
    overflow: hidden;
    position: relative;
    min-height: 50vh;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 600px;
    padding: 0rem 1rem;
    text-align: right;
    position: relative;
    z-index: 1;
    padding-top: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.search-bar {
    background-color: var(--secondary-color);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    text-align: left;
}

.search-input label {
    display: block;
    color: var(--gray-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.search-input input,
.search-input select {
    width: 100%;
    padding: 0.5rem;
    border: none;
    font-size: 1rem;
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-end;
}

.properties {
    padding: 5rem 5%;
    text-align: center;
}

.properties h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.properties > p {
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.property-card {
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    transition: transform 0.3s ease;
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card.featured {
    background-color: #f8f9fe;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.property-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.property-content p {
    color: var(--gray-color);
    line-height: 1.6;
}

.view-more {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.property-card:not(.featured):hover {
    transform: translateY(-5px);
}

.lets-talk:hover, 
.search-btn:hover,
.view-more:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.nav-links a:not(.active):hover {
    color: var(--accent-color);
    transition: color 0.2s ease;
}

.search-input input:focus,
.search-input select:focus {
    outline: 2px solid var(--accent-color);
    border-radius: 4px;
} 

nav.navbar .logo img {
    height: 64px;
}

* {
    direction: rtl;
}

section.hero:before {
    content: "";
    background: linear-gradient(to left, #283e4b 40%, transparent);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0pc;
    top: 0px;
    z-index: 1;
}

 h1 , p , h2 , h3 , h4 , h5 , h6 , span , a , button , input , select , option , label , div , li  {
    font-family: 'Tajawal', sans-serif;
}

.primary-button {
    padding: 10px 30px;
    font-size: clamp(16px, 2vw, 18px);
    background: linear-gradient(45deg, #81706b, #a19a98);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgb(139 125 122 / 37%), 0 0 20px rgb(159 157 156 / 32%);
    display: inline-block;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgb(40 62 75 / 25%), 0 0 80px rgb(40 62 75 / 44%);
}

/* Listing Cards Hover Effect */
.listing-card {
    transition: all 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-5px);
}

/* Custom Select Styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.5rem center;
    background-size: 1.5em 1.5em;
    padding-left: 2.5rem;
}

/* Filter Section Responsive Padding */
@media (max-width: 768px) {
    .filters-container {
        padding: 1rem;
    }
    
    .listing-grid {
        padding: 1rem;
    }
}

/* Property Features Icons */
.property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Status Badge Styles */
.status-badge {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Why Choose Us Section Styles */
.why-choose-us {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.feature-card {
    position: relative;
    background: white;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid #eeeeee82;
}

.card-inner {
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
    /* background: white; */
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-inner {
    transform: translateY(-5px);
}

.card-decoration {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(40, 62, 75, 0.03) 40%,
        rgba(40, 62, 75, 0.03) 60%,
        transparent 60%
    );
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.feature-card:hover .card-decoration {
    transform: rotate(45deg) translate(50%, 50%);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #283e4b 0%, #4a6572 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper::before {
    transform: translateX(100%);
}

/* Stats Section Styles */
.stats-wrapper {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.stat-card {
    position: relative;
    padding: 2rem;
    text-align: center;
    border-radius: 20px;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #283e4b, #4a6572);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #283e4b 0%, #4a6572 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-label {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.2);
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

.feature-card:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    /* top: 0px; */
    background: url(../images/shape.png);
    /* background: red; */
    z-index: 2;
    background-repeat: no-repeat;
    filter: grayscale(1) brightness(2);
    background-position: bottom left;
    background-size: 86px;
    opacity: .4;
    left: 0px;
    bottom: -10px;
}
.feature-title {
    color: #605553;
}
body .text-secondary{
    color: #605553 !important;
}

.gradient-line {
    background: linear-gradient(to right, #ddd , #aaa);
}
/* Properties Showcase Styles */
.properties-showcase {
    background-color: #f8f9fc;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.showcase-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-5px);
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-card.featured {
    background: #f8f9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.featured-content {
    text-align: center;
}

.featured-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    line-height: 40px;
    color: #605553;
    margin-bottom: 1rem;
}

.featured-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #605553;
    margin-bottom: 1rem;
}

.featured-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    body section.relative.hero.first-section {
        align-items: end;
    }
body .section-header {
    margin-bottom: 2rem;
}

body .feature-item {
    padding: 1rem .75rem;
    /* font-size: 1rem; */
    text-align: right;
}

body .project-details .feature-item i {
    font-size: 1.25rem;
}

body .project-details .feature-item h3 {
    font-size: 14px;
}

body .project-details .feature-icon {
    width: 42px !important;!i;!;
    height: 42px !important;!i;!;
}
    body .property-details .features-grid .feature-item {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 11px;
        font-weight: bold;
        justify-content: start;
        padding: .5rem;
        text-align: center;
    }

    body .amenity-item {
        font-size: 13px;
    }

.property-details .text-3xl {
    font-size: 18px;
}

    
    body .property-details .features-grid .feature-item i {
        top: 0px;
        margin-bottom: 0px;
    }
    body {
        font-size: 14px;
    }
    
body .thumbnail {
    min-width: 68px;
}

body .view-all-photos {
    padding: .5rem 1rem;
    font-size: 14px;
}


body section.hero:before {
    background: linear-gradient(to top, #283e4b 40%, transparent);
}

body .hero h1 {
    font-size: 1.5rem;
}

body .hero-content {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline: 0px;
}
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-card {
        aspect-ratio: 16/9;
    }
}

/* Property Details Page Styles */
.property-hero {
    background: #f8f9fc;
    padding: 2rem 0;
}

.property-gallery {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-image {
    width: 100%;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    position: relative;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    transition: all 0.3s ease;
}
.thumbnail-grid:before {
    z-index: 20;
    content: "";
    left: 0px;
    top: 0px;
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #f8f9fc, transparent);
    width: 20%;
    display: none;
}

.thumbnail:hover {
    transform: translateY(-3px);
}

.thumbnail.active {
    box-shadow: 0 0 0 3px #605553;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-all-photos {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-all-photos:hover {
    background: white;
    transform: translateY(-3px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fc;
    border-radius: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #605553;
}

.feature-item i {
    font-size: 1.5rem;
    color: #81706b;
}

/* Section Styles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #605553;
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, #81706b, #a19a98);
    border-radius: 2px;
}

.content-wrapper {
    background: #f8f9fc;
    padding: 2rem;
    border-radius: 16px;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.amenity-item i {
    font-size: 1.25rem;
    color: #81706b;
}

/* Contact Card */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #81706b;
    box-shadow: 0 0 0 3px rgba(129, 112, 107, 0.1);
}

.secondary-button {
    padding: 0.75rem 1rem;
    border: 2px solid #81706b;
    border-radius: 8px;
    color: #81706b;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secondary-button:hover {
    background: #81706b;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .property-gallery {
        padding: 0 1rem;
    }
    
    .main-image {
        height: 300px;
        border-radius: 16px;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer Styles */
.footer-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    position: relative;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #283e4b;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to left, #81706b, #a19a98);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #64748b;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
}

.footer-links a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #283e4b;
    transform: translateX(-5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}
.footer-col .social-links {
    justify-content: stretch;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.contact-info i {
    width: 35px;
    height: 35px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #283e4b;
    transition: all 0.3s ease;
}

.contact-info li:hover i {
    background: #283e4b;
    color: white;
    transform: scale(1.1);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #283e4b;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #283e4b;
    color: white;
    transform: translateY(-3px);
}

.newsletter-form {
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 1rem;
    padding-left: 3rem;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.newsletter-button {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #283e4b;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 2px rgba(40, 62, 75, 0.1);
}

.newsletter-button:hover {
    color: #81706b;
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #283e4b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #283e4b;
    color: white;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-col {
        text-align: right;
    }
    
    .footer-title::after {
        /* right: 50%; */
        /* transform: translateX(50%); */
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Gallery Styles */
.pswp {
    --pswp-bg: #000c;
    --pswp-placeholder-bg: #222;
    --pswp-root-z-index: 9999;
    
    --pswp-preloader-color: rgba(255, 255, 255, 0.8);
    --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.4);
    
    --pswp-icon-color: #fff;
    --pswp-icon-color-secondary: #4f4f4f;
    --pswp-icon-stroke-color: #4f4f4f;
    --pswp-icon-stroke-width: 2px;
}

.pswp__counter {
    direction: ltr;
}

.thumbnail {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    cursor: pointer;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-image {
    position: relative;
    cursor: zoom-in;
}

.main-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image:hover::after {
    opacity: 1;
}

.view-all-photos {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-all-photos:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom PhotoSwipe UI */
.pswp__button--arrow--prev,
.pswp__button--arrow--next {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.pswp__button--arrow--prev:hover,
.pswp__button--arrow--next:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.pswp__top-bar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent) !important;
}

.pswp__caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent) !important;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pswp__button--arrow--prev,
    .pswp__button--arrow--next {
        width: 32px;
        height: 32px;
    }
    
    .view-all-photos {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Distances Section Styles */
.distances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.distance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.distance-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.distance-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #283e4b;
    flex-shrink: 0;
}

.distance-info h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #283e4b;
}

.distance-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.distance-value {
    color: #283e4b;
    font-weight: 500;
}

.distance-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.distance-time::before {
    content: '•';
    color: #cbd5e1;
}

/* Guarantees Section Styles */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guarantee-card {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #283e4b, #4a6572);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.guarantee-card:hover::before {
    transform: scaleX(1);
}

.guarantee-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #f8fafc, #f1f5f9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #283e4b;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.guarantee-card:hover .guarantee-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(45deg, #283e4b, #4a6572);
    color: white;
}

.guarantee-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #283e4b;
    margin-bottom: 1rem;
}

.guarantee-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guarantee-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #283e4b;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .distances-grid,
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .distance-item {
        padding: 1rem;
    }
    
    .guarantee-card {
        padding: 1.5rem;
    }
}

/* Alternative Guarantees Grid Style */
.guarantees-grid-alt {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
    /* overflow: hidden; */
    flex-wrap: wrap;
    justify-content: start;
}

.guarantee-card-alt {
    /* background: #1a1d21; */
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* aspect-ratio: 1; */
    border: 1px solid #eee;
    /* width: 120px; */
    flex-grow: 1;
    /* height: 200px; */
}

.guarantee-card-alt:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.guarantee-number {
    font-size: 2.5rem;
    font-weight: 700;
    /* margin-bottom: 0.5rem; */
    background: linear-gradient(11deg, #857571 0%, #c8c9cb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* height: 100%; */
    /* min-height: 40px; */
    /* margin-top: .5rem; */
    display: block;
    line-height: normal;
}

.guarantee-label {
    font-size: 0.875rem;
    color: #080f14;
    line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .guarantees-grid-alt {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .guarantees-grid-alt {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .guarantees-grid-alt {
        grid-template-columns: 1fr 1fr;
    }
}

/* Features Grid Alternative Style */
.features-grid-alt {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
}

.feature-card-alt {
    background: #1a1d21;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.feature-icon-alt {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-label {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .features-grid-alt {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid-alt {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Call to Action Section Styles */
.cta-section {
    background: linear-gradient(90deg, #283f4b, #345a6d);
    margin-bottom: 0px !important;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button.primary {
    background: white;
    color: #1a1d21;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin-inline: auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgb(255 255 255 / 22%);
    backdrop-filter: blur(10px);
    padding-right: 0px;
}

.overview-grid .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #857571 0%, #dadee3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Work Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Marquee Gallery Styles */
.marquee-gallery {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    animation: scroll 20s linear infinite;
    min-width: 100%;
}

.marquee-track.reverse .marquee-content {
    animation-direction: reverse;
}

.marquee-item {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.marquee-item:hover img {
    transform: scale(1.1);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

/* View Projects Button */
.view-projects-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #283f4b, #345a6d);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.view-projects-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Optional: Pause animation on hover */
.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .marquee-item {
        width: 150px;
        height: 150px;
    }
    
    .marquee-track {
        gap: 1rem;
    }
    
    .marquee-content {
        gap: 1rem;
    }
}

/* Enhanced Services Section Styles */
.services-section {
    background: linear-gradient(to bottom, #f8fafc, #fff);
    position: relative;
    overflow: hidden;
}

.reveal-animation {
    opacity: 0;
    transform: translateY(20px);
    animation: revealContent 0.8s ease forwards;
}

@keyframes revealContent {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-badge {
    display: inline-flex;
    padding: 0.75rem 2rem;
    background: linear-gradient(45deg, #283f4b0d, #345a6d1c);
    color: #283f4b;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    align-items: center;
    gap: 0.5rem;
}

.service-badge::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(45deg, #283f4b40, #345a6d40);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 1px 2px 10px #f5f5f5;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.service-card-inner {
    padding: 1.5rem 2.5rem;
    height: 100%;
    position: relative;
    z-index: 2;
    background: white;
    padding-bottom: 1rem;
}

.service-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 2rem;
}

.service-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #283f4b;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.service-icon-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    stroke: #283f4b20;
    stroke-dasharray: 630;
    stroke-dashoffset: 630;
    transition: stroke-dashoffset 0.5s ease;
}

.service-card:hover .service-icon-bg {
    stroke-dashoffset: 0;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #283f4b, #345a6d);
    color: white;
    transform: rotate(-10deg);
}

.service-content {
    position: relative;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2f4f5e;
    margin-bottom: 1rem;
}

.service-content p {
    color: #5a4a44;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: bold;
}

.service-features li {
    color: #475569;
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #283f4b, #345a6d);
}

.service-hover-content {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0px;
    background: linear-gradient(to top, white 60%, transparent);
    /* transform: translateY(100%); */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card:hover .service-hover-content {
    transform: translateY(0);
}

.service-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #283f4b15, #345a6d15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #283f4b;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    /* justify-content: space-between; */
}

.service-link-arrow {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #345a6d;
}

.service-link:hover .service-link-arrow {
    transform: translateX(-5px);
    background: #283f4b;
    color: white;
}

.service-card-decoration {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #283f4b05, #345a6d05);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-decoration {
    opacity: 1;
}

/* Enhanced Decorative Elements */
.service-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#283f4b10 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card-inner {
        padding: 2rem;
    }
}

/* Overview Section Styles */
.overview-section {
    background: linear-gradient(to bottom, #fff, #f8fafc);
    position: relative;
    overflow: hidden;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content {
    position: relative;
    z-index: 2;
}

.overview-badge {
    display: inline-flex;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #283f4b0d, #345a6d1c);
    color: #283f4b;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.overview-description {
    color: #5a4a44;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #283f4b, #345a6d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22333c;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.overview-grid .stat-label {
    color: #64748b;
    font-size: 0.875rem;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #2f4f5e;
    font-weight: 500;
}

.feature-check {
    width: 28px;
    height: 28px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #283f4b;
    font-size: 0.875rem;
}

.overview-image-wrapper {
    position: relative;
}

.overview-image {
    position: relative;
    z-index: 2;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: linear-gradient(135deg, #283f4b, #345a6d);
    color: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.experience-badge .text {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

.image-pattern {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#283f4b10 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 20px;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-badge {
        bottom: -1rem;
        right: auto;
        padding: 1rem;
        left: 50%;
        transform: translateX(-50%);
        /* min-width: 93px; */
    }
}

@media (max-width: 640px) {
    .overview-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        justify-content: center;
        padding: .5rem;
    }

    .overview-features {
        grid-template-columns: 1fr;
    }
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Menu Toggle Button */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #283f4b;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-icon span:first-child {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span:last-child {
    bottom: 0;
}

/* Menu Open Animation */
.menu-open .menu-icon span:first-child {
    transform: translateY(9px) rotate(45deg);
}

.menu-open .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-icon span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    visibility: hidden;
    z-index: 1000;
    transition: visibility 0.3s ease;
}

.nav-menu.active {
    visibility: visible;
    pointer-events: auto;
}

.nav-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu.active .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: white;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

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

/* Menu Toggle Button Styles */
.menu-toggle {
    z-index: 1002;
    position: relative;
}

.menu-open .menu-icon span:first-child {
    transform: translateY(9px) rotate(45deg);
}

.menu-open .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-icon span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom scrollbar styling */
.menu-content::-webkit-scrollbar {
    width: 5px;
}

.menu-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.menu-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.menu-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.menu-header {
    margin-bottom: 2rem;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
}

.menu-links {
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #283f4b;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    /* padding-right: 0px; */
}

.nav-link .link-icon {
    opacity: 0.7;
    display: none;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #283f4b08, #345a6d08);
    color: #345a6d;
}

.nav-link:hover .link-icon,
.nav-link.active .link-icon {
    opacity: 1;
}

.menu-footer {
    margin-top: 2rem;
    flex-shrink: 0;
    text-align: center;
}

/* Contact Button */
.contact-button {
    background: linear-gradient(135deg, #283f4b, #345a6d);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 63, 75, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #283f4b;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #283f4b;
    color: white;
    transform: translateY(-2px);
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-links .nav-link {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
    font-size: 18px;
    margin-bottom: .5rem;
    padding-right: 0px;
}

.menu-links .nav-link:nth-child(1) { animation-delay: 0.1s; }
.menu-links .nav-link:nth-child(2) { animation-delay: 0.2s; }
.menu-links .nav-link:nth-child(3) { animation-delay: 0.3s; }
.menu-links .nav-link:nth-child(4) { animation-delay: 0.4s; }
.menu-header img {
    /* margin-right: 1rem; */
}


body .first-section{
    margin-top: 100px;
}

.menu-header .close-menu {
    font-size: 24px;
    display: flex;
    align-items: center;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 9999;
    transition: width 0.2s ease;
}

/* Fixed Contact Button */
.fixed-contact {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
}

.contact-trigger {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-trigger:hover {
    transform: scale(1.1);
}

.contact-options {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.fixed-contact:hover .contact-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.contact-option:hover {
    background: var(--primary-color);
    color: white;
}

.contact-option i {
    margin-left: 0.75rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}



/* Project Details Page Styles */
.project-details {
    padding-top: 2rem;
    background-color: #f8fafc;
}

.project-header {
    background: linear-gradient(135deg, #394d59, #2b3d48);
    padding: 4rem 0 2rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/pattern.png');
    opacity: 0.05;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.project-header-content {
    position: relative;
    z-index: 2;
}

.header-main-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.project-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.project-location i {
    color: #827066;
}

.status-badge {
    background: rgb(130 112 102);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(4px);
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:first-child {
    border-right: none;
}

.info-item i {
    font-size: 1.5rem;
    color: #d6bfb2;
}
.feature-item:hover .feature-icon i {
    color: #fff;
}

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

.info-label {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.info-value {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.main-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 40vh;
    margin-bottom: 1.5rem;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.main-image:hover .image-overlay {
    opacity: 1;
}

.main-image:hover img {
    transform: scale(1.05);
}

.view-all-photos {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.view-all-photos:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.thumbnail-grid {
    display: flex;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-y: scroll;
    position: relative;
    margin-top: 1rem;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    position: relative;
    aspect-ratio: 1;
    min-width: 160px;
}

.thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #827066;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail.active {
    opacity: 1;
}

.thumbnail.active::after {
    opacity: 1;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: #827066;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light {
    color: white;
}

.section-header.light .section-title {
    color: white;
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #827066;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item:hover .feature-icon {
    background: #827066;
    color: white;
    /* transform: rotate(10deg); */
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin: 0;
    position: relative;
    z-index: 1;
}

.feature-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #827066, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-decoration {
    transform: scaleX(1);
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 280px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-type {
    color: #827066;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.property-info {
    padding: 2rem;
}

.property-info h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.property-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.property-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.property-specs i {
    color: #827066;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.price-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.price {
    font-size: 1.6rem;
    color: #1a1a1a;
    font-weight: 700;
}

/* Contact Form */
.project-contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-pattern {
    position: absolute;
    inset: 0;
    background: url('assets/pattern.png');
    opacity: 0.05;
    animation: patternMove 20s linear infinite;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.primary-button {
    background: #827066 !important;!i;!;!ه;!;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: fit-content;
}

.primary-button:hover {
    background: #c4a032;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .header-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    body .gallery-wrapper{
        padding:1rem;
    }
    .main-image {
        height: 200px;
    }
    
    .quick-info {
        grid-template-columns: 1fr 1fr;
        gap: .5rem;
        padding: 1rem;
        /* align-items: start; */
    }
    
    .info-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border: 0px;
        padding: .5rem;
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .project-title {
        font-size: 2rem;
    }
    
    body .section-title {
        font-size: 1.5rem;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Menu Toggle Button */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #283f4b;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-icon span:first-child {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span:last-child {
    bottom: 0;
}

/* Menu Open Animation */
.menu-open .menu-icon span:first-child {
    transform: translateY(9px) rotate(45deg);
}

.menu-open .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-icon span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    visibility: hidden;
    z-index: 1000;
    transition: visibility 0.3s ease;
}

.nav-menu.active {
    visibility: visible;
    pointer-events: auto;
}

.nav-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu.active .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: white;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

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

/* Menu Toggle Button Styles */
.menu-toggle {
    z-index: 1002;
    position: relative;
}

.menu-open .menu-icon span:first-child {
    transform: translateY(9px) rotate(45deg);
}

.menu-open .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-icon span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom scrollbar styling */
.menu-content::-webkit-scrollbar {
    width: 5px;
}

.menu-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.menu-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.menu-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.menu-header {
    margin-bottom: 2rem;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
}

.menu-links {
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #283f4b;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    /* padding-right: 0px; */
}

.nav-link .link-icon {
    opacity: 0.7;
    display: none;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #283f4b08, #345a6d08);
    color: #345a6d;
}

.nav-link:hover .link-icon,
.nav-link.active .link-icon {
    opacity: 1;
}

.menu-footer {
    margin-top: 2rem;
    flex-shrink: 0;
    text-align: center;
}

/* Contact Button */
.contact-button {
    background: linear-gradient(135deg, #283f4b, #345a6d);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 63, 75, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #283f4b;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #283f4b;
    color: white;
    transform: translateY(-2px);
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-links .nav-link {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
    font-size: 18px;
    margin-bottom: .5rem;
    padding-right: 0px;
}

.menu-links .nav-link:nth-child(1) { animation-delay: 0.1s; }
.menu-links .nav-link:nth-child(2) { animation-delay: 0.2s; }
.menu-links .nav-link:nth-child(3) { animation-delay: 0.3s; }
.menu-links .nav-link:nth-child(4) { animation-delay: 0.4s; }
.menu-header img {
    /* margin-right: 1rem; */
}


body .first-section{
    margin-top: 100px;
}

.menu-header .close-menu {
    font-size: 24px;
    display: flex;
    align-items: center;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 9999;
    transition: width 0.2s ease;
}

/* Fixed Contact Button */
.fixed-contact {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
}

.contact-trigger {
    background: #213c4d;
    color: white;
    padding: .5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: .5rem;
    font-size: 16px;
}

.contact-trigger:hover {
    transform: scale(1.1);
}

button.contact-trigger i {
    position: relative;
    top: 2px;
}

.contact-options {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: fit-content;
    visibility: hidden;
}

.fixed-contact:hover .contact-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    transition: all 0.2s ease;
    min-width: 120px;
}

.contact-option:hover {
    background: var(--primary-color);
    color: white;
}

.contact-option i {
    margin-left: 0.75rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Project Details Page */
.project-details {
    padding-top: 2rem;
}

.project-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.project-header-content {
    text-align: right;
}

.project-title {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: #333;
    font-weight: bold;
}

.project-location {
    color: #eee;
    font-size: 1.1rem;
}

.project-location i {
    margin-left: 0.5rem;
    color: #83847f;
}

.project-gallery {
    margin-bottom: 4rem;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    /* height: 500px; */
    object-fit: fill;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.feature-item i {
    font-size: 2.5rem;
    color: #826f66;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.property-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    position: relative;
    height: 200px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: #333;
}

.property-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
}

.property-specs span {
    display: flex;
    align-items: center;
}

.property-specs i {
    margin-left: 0.5rem;
    color: #007bff;
}

.property-price {
    font-size: 1.4rem;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 1rem;
}

.project-contact {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 4rem;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-form .form-control {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact-form textarea.form-control {
    resize: vertical;
}

.section-title {
    text-align: right;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
    }
    
    .main-image img {
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 2fr));
        margin-top: 0px !important;!i;!;
        padding-top: 0px !important;!i;!;
        gap: .75rem;
        margin: 0px;
        padding: 0px;
        padding-bottom: 2rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
}

.property-details .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    background: transparent;
    padding: 0px;
}

.property-details .features-grid .feature-item {padding: .75rem 1rem;gap: 1rem;align-items: center;}



.property-details .features-grid .feature-item i {
    font-size: 1.2rem;
    position: relative;
    top: 2px;
    margin-bottom: 0px;
}
.thumbnail-grid:before {
    z-index: 20;
    content: "";
    left: 0px;
    top: 0px;
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #f8f9fc, transparent);
    width: 20%;
    display: none;
}


.section-title.main-title {
    text-align: center;
}

.section-title.main-title:before {
    display: none;
}
select {
    padding-right: 2rem !important;
}
.project-details .feature-icon {
    margin: 0px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem !important;
}

.project-details .feature-item i {
    font-size: 1.5rem;
    margin-bottom: 0px;
}


.listing-card.booked , .contact-card.booked {
    position: relative;
}

.listing-card.booked:after , .contact-card.booked:after {
    content: "";
    background: #ffffff85;
    width: 100%;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    backdrop-filter: blur(1px);
    z-index: 100;
}

.listing-card.booked:before , .contact-card.booked:before {
    text-align: center;
    content: "مباع";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 101;
    border: 3px solid #2a495d;
    padding: 12px 16px;
    font-weight: bold;
    width: 80%;
    transform: translate(-50%,-50%) rotate(-45deg);
    font-size: 24px;
    background: #eeeeee69;
    backdrop-filter: blur(5px);
    border-radius: 5px;
}

.listing-card.booked.not_sold:before , .contact-card.booked.not_sold:before {
    content: "محجوز" !important;
}