:root {
    --bg-color: #f4f6f0;
    --text-color: #2d3e24;
    --navbar-bg: #f4f6f0;
    --card-bg: #ffffff;
    --primary-green: #2d5a27;
    --accent-light-green: #e2ebd5;
    --search-bar-bg: #ffffff;
    --footer-bg: #1c3318;
    --footer-text: #e2ebd5;
    --divider-color: #d1dac4;
    --hero-text-color: #ffffff;
}

[data-theme="dark"] {
    --bg-color: #070c05;
    --text-color: #e2ebd5;
    --navbar-bg: #121c0f;
    --menu-toggle: #e2ebd5;
    --card-bg: #171c15;
    --primary-green: #46843b;
    --accent-light-green: #2d4c25;
    --search-bar-bg: #1d2b19;
    --footer-bg: #090e07;
    --footer-text: #b8cba4;
    --divider-color: #354e2e;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    font-style: italic;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    
}

/* NAv */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    background-color: var(--navbar-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--divider-color);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-green);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin: 0 15px;
    font-weight: 500;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
/*خفاء أيقونة */
        .menu-toggle {
           display:none;
            cursor: pointer;
        }

        .menu-toggle .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            background-color:var(--text-color);
            transition: all 0.3s ease-in-out;
        }

.search-icon-btn, .theme-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
}

.search-icon-btn:hover, .theme-btn:hover {
    background-color: var(--accent-light-green);
}

.contact-btn {
    background-color: var(--primary-green);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Hero */
.hero {
    position: relative;
    height: 90vh;
    min-height: 550px;
    background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 7%;
    color: var(--hero-text-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content .tag {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.explore-btn {
    background-color: var(--primary-green);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 500;
}


/* WELCOME */
.welcome-section {
    padding: 120px 7% 60px 7%;
    display: flex;
    align-items: center;
    gap: 50px;
}

.welcome-images {
    flex: 1;
    position: relative;
}

.mock-img-placeholder {
    width: 100%;
    max-width: 400px;
    height: 280px;
    background-image: url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&q=80&w=600');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.badge-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--primary-green);
    color: white;
    padding: 12px;
    border-radius: 50%;
    text-align: center;
    font-size: 11px;
    z-index: 2;
}

.badge-leaf {
    position: absolute;
    bottom: -15px;
    right: 40px;
    background-color: var(--accent-light-green);
    color: var(--primary-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-text {
    flex: 1;
}

.welcome-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.welcome-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 20px;
}

.btn-secondary {
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 20px;
}
.btn-secondary:hover{
    background-color: var(--primary-green);
    color:white;
    box-shadow: 3px 3px 3px var(--primary-green);

}

/* featured*/
.featured-section {
    padding: 60px 7%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(15, 13, 13, 0.02);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
}

.mock-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.house-1 { background-image: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&q=80&w=500'); }
.house-2 { background-image: url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&q=80&w=500'); }
.house-3 { background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?auto=format&fit=crop&q=80&w=500'); }
.house-4 { background-image: url('https://i.pinimg.com/originals/cf/e0/8c/cfe08cdf45749cca5ff6ebb611673ad3.jpg'); }


.heart-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    /* background-color: rgba(255,255,255,0.8); */
    border: none;
    width: 15%;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
}
 .card-img-wrapper i{
    position: absolute;
    top: 11px;
    right: 28px;
}
.card-body {
    padding: 20px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-green);
    margin: 10px 0;
}

.card-specs {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-top: 1px solid var(--divider-color);
    padding-top: 15px;
}

/* STATs bar */
.stats-bar {
    background-color: var(--primary-green);
    color: white;
    padding: 40px 7%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));    /* بتخليهم يجوا جمب بعض*/
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* FOOTER */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 7% 20px 7%;
    
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.social-links a{
    
    color:var(--hero-text-color);
}
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--footer-text);
    text-decoration: none;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    background-color: rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 25px;
}

.newsletter-form input {
    background: none;
    border: none;
    padding: 10px;
    color: white;
    flex: 1;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-green);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 13px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    /* الحفاظ على توزيع العناصر اللوجو والزرار والأيقونة في سطر واحد */
    .navbar {
        display: flex; 
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
    }

    /* إظهار الأيقونة على الهواتف */
    .menu-toggle {
        display: block;
        order: 1; /* لترتيب العناصر بشكل متناسق */
    }
    
    .logo {
        order: 2;
    }

    .nav-actions {
        order: 3;
    }

    /* تحويل القائمة المنسدلة لتصبح مخفية فوق أو تحت الهيدر */
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%; /* تفتح مباشرة أسفل الهيدر */
        left: 0;
        width: 100%;
        background-color: var(--navbar-bg);
        border-bottom: 1px solid var(--divider-color);
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        z-index: 999;
    }

    /* جعل الروابط تظهر عمودية تحت بعضها */
    .nav-links a {
        display: block;
        margin: 15px 0;
        font-size: 18px;
    }
    
    /* الكلاس السحري الذي سيتم تفعيله عبر الجافاسكريبت لإظهار القائمة */
    .nav-links.active {
        display: block;
    }

    /* تعديل الأقسام الأخرى للموبايل */
    .welcome-section {
        display: block;
        width: 100%;
        padding: 60px 7%;
    }

    
    /* تحويل البطاقات لتصبح تحت بعضها وتأخذ كامل عرض الشاشة */
    .card {
        display: block;
        width: 100%; /* تأخذ كامل العرض المتوفر على الهاتف */
        margin-left: 0;
        margin-bottom: 20px; /* مسافة بين البطاقة والأخرى */
    }
}


/* concat */



.logo{
    font-size:30px;
    font-weight:700;
    color:#2E7D32;
}


.btn{
    text-decoration:none;
   background-color: var(--primary-green);
   color: #ffffff !important;
    padding:12px 28px;
    border-radius:30px;
}
.banner{
    height:350px;
    background:url("/image/pngtree-luxury-minimalist-house-in-nature-image_17131592.jpg") center/cover;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.banner-content{
    position:relative;
    color:#fff;
    text-align:left;
}

.banner-content h1{
    font-size:55px;
    margin-bottom:10px;
}

.banner-content p{
    font-size:18px;
}


/* about */

/* ABOUT PAGE STYLES */

.about-details {
    width: 85%;
    margin: 70px auto;
}
.bane{
    height:650px;
    background:url("https://i.pinimg.com/736x/b6/ba/d8/b6bad82113e11949ca2d39c2bb9a795c.jpg") center/cover;
    position:relative;
    background-attachment: fixed;
    display:flex;
    justify-content:center;
    align-items:center;
}
.about-text-content {
    /* text-align: left; */
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.about-text-content .sub-title {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 10px;
}

.about-text-content h2 {
    font-size: 38px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-text-content p {
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 15px;
}

/* بطاقات القيم المميزة */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--divider-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
}

.value-card i {
    font-size: 35px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.value-card p {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.6;
}

/* استعلامات الوسائط للهواتف */
@media (max-width: 768px) {
    .about-text-content h2 {
        font-size: 28px;
    }
    
    .about-details {
        width: 90%;
        margin: 40px auto;
    }
}






/*Contact*/
.contact{
    width:85%;
    margin:80px auto;
    display:flex;
    gap:40px;
}

.left{
    width:35%;
    background:var(--primary-green);
    color:#fff;
    padding:40px;
    border-radius:12px;
}

.left h2{
    margin-bottom:20px;
}

.left p{
    line-height:1.8;
    margin-bottom:35px;
}

.info{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.info i{
    font-size:22px;
}

.social{
    margin-top:35px;
}

.social a{
    width:42px;
    height:42px;
    background:#fff;
    color:#2E7D32;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    margin-right:10px;
    text-decoration:none;
}

/*Right*/

.right{
    width:65%;
    background:#fff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.right h2{
    margin-bottom:25px;
}

.row{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

.row input{
    width:50%;
}

input,
textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    font-size:15px;
}

textarea{
    height:180px;
    resize:none;
    margin-bottom:20px;
}

button{
    background:#2E7D32;
    color:#fff;
    border:none;
    padding:15px 35px;
    border-radius:30px;
    cursor:pointer;
    font-size:16px;
}

/*Responsive part*/

@media(max-width:992px){

.contact{
    flex-direction:column;
}

.left,
.right{
    width:100%;
}


}

@media(max-width:768px){
.row{
    flex-direction:column;
}

.row input{
    width:100%;
}

.banner-content h1{
    font-size:40px;
}

}
















/* about */

/* تكبير العرض ليشمل 4 كروت بشكل ممتاز */
.page-wrapper {
  width: 100%;
  max-width: 1100px;
}

.card-container {
  background-color: #f7f9f5;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
/* Search Box Styling */
.search-box {
  display: flex;
  align-items: center;
  background-color: #f0f2ee;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  padding: 3px 10px;
  gap: 4px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.8rem;
  padding: 4px;
  width: 140px;
  color: #333;
}

.search-box .icon-btn {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
}

.btn-contact {
  background-color: #23401b;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 8px 16px;
  font-size: 0.8rem;
  cursor: pointer;
}

/* SECTION 2: ABOUT OVERVIEW */
.about-overview {
    width: 85%;
    max-width: 1200px;
    margin: 60px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-overview-text {
    flex: 1;
}

.about-overview-text h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-overview-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 30px;
}

.btn-learn-more {
    display: inline-block;
    background-color: var(--primary-green);
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-learn-more:hover {
    opacity: 0.9;
}

.about-overview-img {
    flex: 1;
}

.about-overview-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

/* الاستجابة للهواتف (Responsive) */
@media (max-width: 768px) {
    .about-overview {
        flex-direction: column;
        gap: 30px;
        margin: 40px auto;
    }

    .about-overview-text h2 {
        font-size: 28px;
    }

    .about-overview-img img {
        height: 260px;
    }
}

/* Banner */
.banner {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?w=600') center/cover;
  border-radius: 16px 16px 0 0;
  margin-top: 15px;
  padding: 30px 24px;
  color: white;
}

.banner h1 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.banner p {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Main Content */
.main-content {
  background: #ffffff;
  border-radius: 0 0 16px 16px;
  padding: 20px;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.content-header h2 {
  font-size: 1rem;
  color: #333;
}

.content-header .view-all {
  font-size: 0.8rem;
  color: #666;
  text-decoration: none;
}

/* 🟢 جعل الكروت 4 بجانب بعضها */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.property-card {
  border: 1px solid #eaeaea;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.card-img {
  position: relative;
  height: 125px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heart-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ffffff;
  border: none;
  color: #e63946;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.card-info {
  padding: 10px;
}

.card-info h3 {
  font-size: 0.8rem;
  color: #222;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-info .location {
  font-size: 0.65rem;
  color: #888;
  margin-bottom: 6px;
}

.card-info .price {
  font-size: 0.85rem;
  font-weight: bold;
  color: #23401b;
  margin-bottom: 8px;
}

.card-info .features {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: #666;
  border-top: 1px solid #f0f0f0;
  padding-top: 6px;
}

/* SECTION: MEET OUR TEAM */
.team-section {
    width: 85%;
    max-width: 1200px;
    margin: 60px auto;
}

.team-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* التعديل هنا: 3 أعمدة متساوية المساحة */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.team-card {
    text-align: center;
    border: 1px solid black;
    padding: 15px;
}

/* صندوق الصورة بظلال الحواف والانحناء المظبوط */
.team-img-box {
    width: 160PX;
    height: 170px;
    margin: 0 auto 15px auto;
    background-color: #e2dfd8;
    border-radius: 50px;
    overflow: hidden;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
   
}

.team-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.team-card p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.75;
    margin: 0;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



/* Footer Button */
.footer-action {
  text-align: center;
  margin-top: 20px;
}

.btn-clear-all {
  background-color: #23401b;
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
}




/* detalies */



.container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--card-bg);
  border-radius: 24px;
  padding: 24px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}








.btn-primary {
  background-color: var(--primary-green);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb span {
  font-weight: 600;
  color: var(--text-dark);
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}

.main-image {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-section i{
    position: absolute;
    top: 11px;
    right: 28px;
}

.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.thumbnail-list {
  display: flex;
  gap: 8px;
}

.thumbnail-list img {
  width: 23%;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.7;
  cursor: pointer;
}

.thumbnail-list img.active {
  opacity: 1;
  border: 2px solid var(--primary-green);
}

/* Info Section */
.title-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-header h1 {
  font-size: 24px;
  font-weight: 700;
}

.heart-icon {
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 20px;
  cursor: pointer;
}

.location {
  font-size: 13px;
  color: var(--text-muted);
  margin: 6px 0;
}

.price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.specs {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-block {
  margin-bottom: 20px;
}

.section-block h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.description {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  font-size: 12px;
  color: var(--text-dark);
  font-weight: 500;
}

.features-list i {
  color: var(--primary-green);
  margin-right: 6px;
}

/* Details & Agent Grid */
.details-agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.property-details h3, .agent-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--text-muted);
}

.details-table td {
  padding: 6px 0;
  color: var(--text-muted);
}

.details-table td:first-child {
  width: 40%;
  color: var(--text-dark);
}

.agent-card {
  background-color: #ebe8df;
  padding: 20px;
  border-radius: 16px;
}

.agent-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.agent-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-meta h4,h3 {
  font-size: 14px;
  color: var(--primary-green);
}

.agent-meta p {
  font-size: 12px;
  color: var(--primary-green);
}

.agent-contact {
  font-size: 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
   color: var(--primary-green);
}

.agent-contact i {
  color: var(--primary-green);
  margin-right: 6px;
}

.btn-agent {
  width: 100%;
  background-color: var(--primary-green);
  color:var(--text-color);
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

/* Similar Properties Section */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.view-all {
  font-size: 12px;
  color: var(--text-color);
  text-decoration: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.property-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  background-color:var(--accent-light-green);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-card h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-green);
}



















.properties {
    width: 90%;
    margin: auto;
    padding: 50px 0;
}

.properties h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #1f8f4a;
}

.filter-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.filter-box select {
    width: 220px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.filter-box button {
    padding: 12px 35px;
    border: none;
    border-radius: 8px;
    background: #1f8f4a;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.filter-box button:hover {
    background: #146b35;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
    transition: .3s;
}

.card:hover {
    transform: translateY(-10px);
}

.image-box {
    height: 230px;
    position: relative;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: white;
    font-size: 28px;
    color: #777;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.favorite:hover {
    transform: scale(1.15);
}

.favorite.active {
    color: red;
}

.content {
    padding: 20px;
}

.content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #146b35;
}

.content p {
    color: #666;
    margin-bottom: 10px;
}

.content h4 {
    color: #1f8f4a;
    font-size: 20px;
    margin-bottom: 15px;
}

.details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #555;
    font-size: 14px;
}

.btn {
    display: block;
    text-align: center;
    text-decoration: none;
    background: #1f8f4a;
    color: white;
    padding: 12px;
    border-radius: 8px;
}

.btn:hover {
    background: #146b35;
}

/* تنسيقات الـ Pagination الأزرار الجديدة */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination button {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    color: #333;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination button:hover:not(:disabled) {
    background: #e2e2e2;
}

.pagination button.active {
    background: #146b35;
    color: white;
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.banner {
    height: 350px;
    background-image: linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("0cc50c1db7290443b6b3c3d59dc73718.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.banner-content {
    text-align: center;
    color: white;
}

.banner-content h1 {
    font-size: 45px;
    margin-bottom: 15px;
    color: #f4f4f4;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

.banner-content button {
    padding: 13px 35px;
    background: #1f8f4a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.banner-content button:hover {
    background: #146b35;
}

@media(max-width:1000px){
    .cards{
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:700px){
    .properties{
        width: 95%;
    }
    .filter-box{
        flex-direction: column;
    }
    .filter-box select{
        width: 100%;
    }
    .cards{
        grid-template-columns: 1fr;
    }
    .details{
        flex-direction: column;
        gap: 10px;
    }
}