/* --- extracted style block 1 from Pages/Service_apartment/index.php --- */
    :root {
      --primary: #c62828;
      --primary-dark: #8e0000;
      --primary-light: #ff5f52;
      --secondary: #1565c0;
      --success: #2e7d32;
      --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: 1200px;
      margin: 0 auto;
      box-shadow: 0 0 20px rgba(0,0,0,0.05);
    }
    
    a{
        all: unset;
        cursor: pointer;
    }
    
    /* Header Styles */
    .site-header {
      background: var(--white);
      border-bottom: 1px solid #eee;
      padding: 12px 20px;
      position: sticky;
      top: 0;
      z-index: 1001;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .brand {
      font-family: 'Montserrat';
      font-weight: 700;
      color: var(--primary);
      letter-spacing: 1px;
      font-size: 1.4rem;
    }
    
    .nav-icon {
      font-size: 1.2rem;
      color: #444;
      position: relative;
    }
    
    .nav-badge {
      position: absolute;
      top: -5px;
      right: 5px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      font-size: 0.6rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Header Icons */
    .header-icons {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    
    .icon-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #555;
      transition: var(--transition);
      position: relative;
    }
    
    .icon-btn:hover {
      background: #f5f5f5;
      color: var(--primary);
    }
    
    /* Post Property Button */
    .btn-post-property {
      background: var(--primary);
      color: white;
      text-decoration: none;
      border-radius: 30px;
      padding: 8px 16px;
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: var(--transition);
    }
    
    .btn-post-property:hover {
      background: var(--primary-dark);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(198, 40, 40, 0.3);
    }
    
    /* 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;
    }
    
    /* Page Header */
    .page-header {
      padding: 20px;
      background: linear-gradient(to right, rgba(198, 40, 40, 0.1), rgba(255, 255, 255, 0.7));
      border-radius: 12px;
      margin: 20px 15px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .page-title {
      font-weight: 800;
      color: var(--dark-text);
      margin: 0;
      font-size: 1.8rem;
    }
    
    .page-subtitle {
      color: var(--light-text);
      margin: 0;
      font-size: 1rem;
    }
    
    /* Filter Section */
    .filter-section {
      padding: 15px 20px;
      background: var(--muted);
      border-radius: 12px;
      margin: 0 15px 20px;
    }
    
    .filter-title {
      font-weight: 700;
      margin-bottom: 15px;
      color: var(--dark-text);
    }
    
    .filter-options {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    
    .filter-pill {
      background: white;
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 0.9rem;
      cursor: pointer;
      transition: var(--transition);
      border: 1px solid #e0e0e0;
      text-decoration: none;
      color: inherit;
      display: inline-block;
    }
    
    .filter-pill.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    
    .filter-pill:hover:not(.active) {
      background: #f9f9f9;
      text-decoration: none;
      color: inherit;
    }
    
    /* Property List */
    .property-list {
      padding: 0 15px;
    }
    
    .property-item {
      display: flex;
      flex-direction: column;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
      background: white;
      margin-bottom: 20px;
      transition: var(--transition);
      cursor: pointer;
      position: relative;
    }
    
    .property-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    
    .property-image {
      height: 200px;
      position: relative;
      background: #f5f5f5;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .property-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .no-image {
      color: #999;
      font-size: 3rem;
    }
    
    .property-badge {
      position: absolute;
      top: 15px;
      left: 15px;
      background: var(--primary);
      color: white;
      padding: 5px 12px;
      border-radius: 30px;
      font-size: 0.75rem;
      font-weight: 700;
    }
    
    .featured-badge {
      background: var(--primary);
    }
    
    .new-badge {
      background: var(--secondary);
    }
    
    .budget-badge {
      background: var(--success);
    }
    
    .availability-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      padding: 5px 12px;
      border-radius: 30px;
      font-size: 0.75rem;
      font-weight: 700;
    }
    
    .available {
      background: var(--success);
      color: white;
    }
    
    .unavailable {
      background: #9e9e9e;
      color: white;
    }
    
    .property-content {
      padding: 15px;
    }
    
    .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: 1.1rem;
    }
    
    .property-address {
      color: var(--light-text);
      font-size: 0.9rem;
      margin-bottom: 10px;
    }
    
    .property-features {
      display: flex;
      gap: 15px;
      margin-bottom: 15px;
      color: var(--light-text);
      font-size: 0.9rem;
      flex-wrap: wrap;
    }
    
    .property-feature {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .property-description {
      color: var(--light-text);
      font-size: 0.9rem;
      margin-bottom: 15px;
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .property-actions {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid #eee;
      padding-top: 15px;
    }
    
    .btn-action {
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 8px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      text-decoration: none;
    }
    
    .btn-call {
      background: var(--primary);
      color: white;
    }
    
    .btn-call:hover {
      background: var(--primary-dark);
      color: white;
      text-decoration: none;
    }
    
    .btn-whatsapp {
      background: var(--secondary);
      color: white;
    }
    
    .btn-whatsapp:hover {
      background: #128C7E;
      color: white;
      text-decoration: none;
    }
    
    .btn-enquiry {
      background: var(--muted);
      color: var(--dark-text);
    }
    
    .btn-enquiry:hover {
      background: #e5e5e5;
      color: var(--dark-text);
      text-decoration: none;
    }
    
    /* No Results */
    .no-results {
      text-align: center;
      padding: 60px 20px;
      color: var(--light-text);
    }
    
    .no-results i {
      font-size: 4rem;
      margin-bottom: 20px;
      color: #ddd;
    }
    
    /* Loading Spinner */
    .loading-spinner {
      text-align: center;
      padding: 40px;
      color: var(--light-text);
    }
    
    .spinner {
      border: 4px solid #f3f3f3;
      border-top: 4px solid var(--primary);
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 2s linear infinite;
      margin: 0 auto 20px;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    /* Pagination */
    .pagination {
      display: flex;
      justify-content: center;
      margin: 30px 0;
    }
    
    .page-link {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      margin: 0 5px;
      background: var(--muted);
      color: var(--dark-text);
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
      text-decoration: none;
    }
    
    .page-link.active {
      background: var(--primary);
      color: white;
    }
    
    .page-link:hover:not(.active) {
      background: #e5e5e5;
      text-decoration: none;
      color: var(--dark-text);
    }
    
    /* 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);
      text-decoration: none;
    }
    
    .footer-social a:hover {
      background: var(--primary);
      transform: translateY(-3px);
      text-decoration: none;
    }
    
    .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);
    }
    
    
    /* Share requirement Button */
    
    .share-btn{
      position: sticky;
      bottom: 20px;
      z-index: 1000;
      display: flex;
      align-items: center;
    }
    .btn-share-requirement {
      background: var(--secondary);
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 30px;
      font-weight: 700;
      margin: auto;
      box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
      transition: var(--transition);
    }
    
    .btn-share-requirement:hover {
      background: #0d47a1;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4);
    }
    
    /* Responsive adjustments */
    @media (max-width: 576px) {
      body {
        box-shadow: none;
      }
      
      .property-image {
        height: 180px;
      }
      
      .brand {
        font-size: 1.4rem;
      }
      
      .btn-post-property {
        padding: 8px 15px;
        font-size: 0.8rem;
      }
      
      .property-features {
        flex-wrap: wrap;
        gap: 10px;
      }
      
      .property-actions {
        flex-direction: column;
        gap: 10px;
      }
      
      .btn-action {
        justify-content: center;
      }
      
      .header-icons {
        gap: 10px;
      }
      
      .icon-btn {
        width: 35px;
        height: 35px;
      }
    }
    
    @media (min-width: 768px) {
      .property-item {
        flex-direction: row;
        height: 220px;
      }
      
      .property-image {
        width: 40%;
        height: 100%;
      }
      
      .property-content {
        width: 60%;
        display: flex;
        flex-direction: column;
      }
      
      .property-actions {
        margin-top: auto;
      }
    }
  
