/* --- extracted style block 1 from index.php --- */
    :root {
      --primary: #c62828;
      --primary-dark: #8e0000;
      --primary-light: #ff5f52;
      --secondary: #1565c0;
      --muted: #f1f4f6;
      --card-bg: #eef0f3;
      --dark-text: #333;
      --light-text: #666;
      --white: #fff;
      --shadow: 0 4px 12px rgba(0,0,0,0.08);
      --transition: all 0.3s ease;
    }
    
    body {
      font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; 
      background:#fff;
      color: var(--dark-text);
      max-width: 2000px;
      margin: 0 auto;
      box-shadow: 0 0 20px rgba(0,0,0,0.05);
    }
    
    a{
        all: unset;
    }
    
    /* Header Styles */
    .site-header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
}

/* Post button: same height as icons */
.btn-post-property {
    background: var(--primary);
    color: white;
    border-radius: 30px;
    padding: 0.5em 1em;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(198, 40, 40, 0.3);
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}
.btn-post-property:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(198, 40, 40, 0.3);
}

.nav-icon {
    font-size: 1.2rem;
    color: #444;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}
.nav-icon:hover {
    background: rgba(0,0,0,0.05);
}

.nav-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(25%, -25%);
}
    
    /* Search Bar */
    .search-container {
      padding: 12px 20px;
      background: var(--muted);
      border-bottom: 1px solid #e5e5e5;
    }
    
    .search-bar {
      background: white;
      border-radius: 50px;
      padding: 8px 20px;
      box-shadow: var(--shadow);
      border: 1px solid #e0e0e0;
      display: flex;
      align-items: center;
    }
    
    .search-input {
      border: none;
      outline: none;
      flex: 1;
      padding: 6px 0;
    }
    
    .search-input::placeholder {
      color: #999;
    }
    
    .location-filter {
      display: flex;
      align-items: center;
      background: var(--primary-light);
      color: white;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-left: 10px;
      cursor: pointer;
      transition: var(--transition);
    }
    
    .location-filter:hover {
      background: var(--primary);
    }
    
    .location-filter i {
      margin-right: 5px;
      font-size: 0.8rem;
    }
    
    /* Category grid */
    .cat-grid {
      padding: 12px 10px;
    }
    
    .cat-card {
      display: flex;
      flex-direction: column;
      height: 100%;
      border-radius: 12px;
      overflow: hidden;
      background: var(--white);
      box-shadow: var(--shadow);
      transition: var(--transition);
      cursor: pointer;
    }
    
    .cat-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .cat-thumb {
      height: 120px;
      background-size: cover;
      background-position: center;
      overflow: hidden;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f5f5f5;
      background: #e6e6e6;
    }
    
    .cat-thumb img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       display: block;
    }
    
    .cat-thumb span {
      position: absolute;
      font-size: 14px;
    }
    
    .cat-label {
      text-align: center;
      padding: 12px 8px;
      font-weight: 700;
      font-size: 0.85rem;
      background: var(--white);
      color: var(--dark-text);
    }
    
    /* Promo Banner Carousel */
    .promo-carousel {
      position: relative;
      margin: 20px 15px;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    
    .promo-slide {
      padding: 20px;
      border-radius: 16px;
      color: white;
      min-height: 140px;
      display: flex;
      align-items: center;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      transition: opacity 0.5s ease;
    }
    
    .promo-slide.active {
      opacity: 1;
      position: relative;
    }
    
    .promo-slide-1 {
      background: linear-gradient(90deg, #6e62f1, #7ad0f0);
    }
    
    .promo-slide-2 {
      background: linear-gradient(90deg, #ff7e5f, #feb47b);
    }
    
    .promo-slide-3 {
      background: linear-gradient(90deg, #3a7bd5, #00d2ff);
    }
    
    .carousel-controls-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin: 10px 15px 0;
    }
    
    .carousel-control {
      background: var(--tph-surface, #fff);
      border: 1px solid var(--tph-border, #E9E4DC);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 5px rgba(0,0,0,0.08);
      transition: var(--transition);
      flex-shrink: 0;
    }
    
    .carousel-control:hover {
      background: var(--tph-primary, #B3282D);
      color: white;
      transform: scale(1.08);
    }
    
    .carousel-indicators {
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    
    .carousel-indicator {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--tph-border, #ddd);
      cursor: pointer;
      transition: var(--transition);
    }
    
    .carousel-indicator.active {
      background: var(--tph-primary, #B3282D);
      transform: scale(1.3);
    }
    
    /* Property experts */
    .experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.expert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark-text);
}
.expert-item:hover {
    background: var(--muted);
}

.expert-icon {
    font-size: 2rem;
    color: var(--primary);
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--muted);
    border-radius: 50%;
}

.expert-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    word-break: break-word;
}
    
    /* Property Card Horizontal Scroll with Fixed Height */
    .property-scroll-container {
      overflow-x: auto;
      overflow-y: hidden;
      white-space: nowrap;
      padding: 10px 5px;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE and Edge */
      scroll-behavior: smooth;
    }
    
    .property-scroll-container::-webkit-scrollbar {
      display: none; /* Chrome, Safari and Opera */
    }
    
    .property-card {
      display: inline-block;
      width: 300px;
      height: 380px; /* Fixed height for all property cards */
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
      background: white;
      transition: var(--transition);
      margin: 0 10px;
      white-space: normal;
      vertical-align: top;
    }
    
    .property-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    
    .property-image {
      height: 200px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    
    .property-image img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       display: block;
    }

.property-badge {
  display: flex;
  gap: 6px;
  position: absolute;
  top: 15px;
  left: 15px;
}

.property-badge span {
  background: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
    
    .property-content {
      padding: 15px;
      height: 180px; /* Fixed height for content area */
      display: flex;
      flex-direction: column;
    }
    
    .property-price {
      font-weight: 800;
      color: var(--primary);
      font-size: 1.2rem;
      margin-bottom: 5px;
    }
    
    .property-title {
      font-weight: 700;
      margin-bottom: 8px;
      font-size: 1rem;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      flex-shrink: 0;
    }
    
    .property-address {
      color: var(--light-text);
      font-size: 0.9rem;
      margin-bottom: 10px;
      flex-shrink: 0;
    }
    
     .project-description {
      color: var(--light-text);
      font-size: 0.9rem;
      margin-bottom: 10px;
      flex-shrink: 0;
    }
    
    .property-details {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid #eee;
      padding-top: 12px;
      margin-top: auto; /* Push to bottom of content area */
      color: var(--light-text);
      font-size: 0.85rem;
      flex-shrink: 0;
    }
    
    /* Section headers */
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 25px 15px 15px;
    }
    
    .section-title {
      font-weight: 800;
      color: var(--dark-text);
      margin: 0;
    }
    
    .view-all {
      color: var(--primary);
      font-weight: 700;
      font-size: 0.9rem;
    }
    
    /* Other services */
    .service-icon {
      width: 60px;
      height: 60px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      box-shadow: var(--shadow);
      margin: 0 auto;
      transition: var(--transition);
    }
    
    .service-item:hover .service-icon {
      transform: scale(1.1);
      background-color: var(--primary-light);
    }
    
    .service-item {
      text-align: center;
      padding: 15px 10px;
      border-radius: 12px;
      transition: var(--transition);
    }
    
    .service-item:hover {
      background: var(--muted);
    }
    
    /* Footer */
    .site-footer {
      background: #2c3e50;
      color: white;
      padding: 40px 20px 20px;
      margin-top: 40px;
    }
    
    .footer-title {
      font-weight: 700;
      margin-bottom: 20px;
      font-size: 1.2rem;
      color: #ecf0f1;
    }
    
    .footer-links {
      list-style: none;
      padding: 0;
    }
    
    .footer-links li {
      margin-bottom: 12px;
    }
    
    .footer-links a {
      color: #bdc3c7;
      text-decoration: none;
      transition: var(--transition);
    }
    
    .footer-links a:hover {
      color: var(--white);
      padding-left: 5px;
    }
    
    .footer-contact {
      color: #bdc3c7;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .footer-social {
      display: flex;
      gap: 15px;
      margin-top: 20px;
    }
    
    .footer-social a {
      color: white;
      background: rgba(255,255,255,0.1);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }
    
    .footer-social a:hover {
      background: var(--primary);
      transform: translateY(-3px);
    }
    
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      margin-top: 30px;
      text-align: center;
      color: #95a5a6;
      font-size: 0.9rem;
    }
    
    .footer-subscribe {
      display: flex;
      margin-top: 15px;
    }
    
    .footer-subscribe input {
      flex: 1;
      border: none;
      padding: 12px 15px;
      border-radius: 4px 0 0 4px;
      outline: none;
    }
    
    .footer-subscribe button {
      background: var(--primary);
      color: white;
      border: none;
      padding: 0 20px;
      border-radius: 0 4px 4px 0;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
    }
    
    .footer-subscribe button:hover {
      background: var(--primary-dark);
    }
    
    /* Bottom Navigation */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: white;
      box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
      z-index: 1000;
      padding: 10px 0;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .nav-item {
      text-align: center;
      color: #888;
      font-size: 0.8rem;
      transition: var(--transition);
    }
    
    .nav-item.active {
      color: var(--primary);
    }
    
    .bottom-nav-icon {
      font-size: 1.3rem;
      margin-bottom: 3px;
    }
    
    /* Testimonials */
    .testimonial-card {
      background: white;
      border-radius: 12px;
      padding: 20px;
      box-shadow: var(--shadow);
      margin: 10px 15px;
    }
    
    .testimonial-text {
      font-style: italic;
      margin-bottom: 15px;
      color: var(--light-text);
    }
    
    .testimonial-author {
      display: flex;
      align-items: center;
    }
    
    .author-image {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
      margin-right: 12px;
    }
    
    .author-details h6 {
      margin: 0;
      font-weight: 700;
      font-size: 0.9rem;
    }
    
    .author-details p {
      margin: 0;
      font-size: 0.8rem;
      color: var(--light-text);
    }
    
    .page-transition {
  position: fixed;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  transition: top 0.40s ease;
}

.page-transition.active {
  top: 0;
}
    
    /* Responsive adjustments */
    @media (max-width: 576px) {
      body {
        box-shadow: none;
      }
      
      .cat-thumb {
        height: 70px;
      }
      
      .cat-label {
        font-size: 0.8rem;
        padding: 10px 5px;
      }
      
      .property-image {
        height: 180px;
      }
      
      .brand {
        font-size: 1.4rem;
      }
      
      .btn-post-property {
        padding: 8px 15px;
        font-size: 0.8rem;
      }
      
      .btn-post-property span {
        display: ;
      }
      
      .promo-slide {
        min-height: 120px;
        padding: 15px;
      }
      
      .property-card {
        width: 280px;
        height: 370px;
      }
      
      .property-content {
        height: 170px;
      }
      
      .location-filter span {
        display: ;
      }
      
      .location-filter {
        padding: 8px 12px;
      }
      
      .location-filter i {
        margin-right: 5px;
        font-size: 1rem;
      }
      
      .lc {
          display: none;
      }
    }
    
    @media (min-width: 768px) {
      .cat-thumb {
        height: 140px;
      }
      
      .bottom-nav {
          display: none;
      }
    }
  
 
