/* --- extracted style block 1 from Pages/Pg/pg_details.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);
      padding-bottom: 30px;
      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: 1000;
      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;
    }
    
    /* Header Action Buttons */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .header-icon-btn {
      background: transparent;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #555;
      transition: var(--transition);
      position: relative;
    }
    
    .header-icon-btn:hover {
      background: #f5f5f5;
      color: var(--primary);
    }
    
    /* Image Gallery */
    .image-gallery {
      position: relative;
      height: 300px;
      overflow: hidden;
    }
    
    .main-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .gallery-thumbnails {
      position: absolute;
      bottom: 15px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    
    .thumbnail {
      width: 50px;
      height: 50px;
      border-radius: 8px;
      border: 2px solid transparent;
      cursor: pointer;
      opacity: 0.7;
      transition: var(--transition);
    }
    
    .thumbnail.active, .thumbnail:hover {
      opacity: 1;
      border-color: var(--white);
    }
    
    .gallery-badge {
      position: absolute;
      top: 20px;
      left: 20px;
      background: var(--primary);
      color: white;
      padding: 5px 12px;
      border-radius: 30px;
      font-size: 0.75rem;
      font-weight: 700;
    }
    
    .verified-badge {
      position: absolute;
      top: 20px;
      right: 20px;
      background: var(--secondary);
      color: white;
      padding: 5px 10px;
      border-radius: 4px;
      font-size: 0.7rem;
      font-weight: 600;
    }
    
    /* Content Sections */
    .content-section {
      padding: 20px;
    }
    
    .section-title {
      font-weight: 800;
      color: var(--dark-text);
      margin-bottom: 15px;
      font-size: 1.2rem;
      position: relative;
      padding-bottom: 8px;
    }
    
    .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--primary);
    }
    
    /* Price and Basic Info */
    .price-section {
      background: var(--muted);
      padding: 20px;
      border-radius: 12px;
      margin: 20px;
    }
    
    .price {
      font-weight: 800;
      color: var(--primary);
      font-size: 1.8rem;
      margin-bottom: 5px;
    }
    
    .price-period {
      font-size: 1rem;
      color: var(--light-text);
    }
    
    .pg-title {
      font-weight: 700;
      margin-bottom: 10px;
      font-size: 1.5rem;
    }
    
    .pg-address {
      color: var(--light-text);
      font-size: 1rem;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
    }
    
    .pg-address i {
      margin-right: 8px;
    }
    
    /* Features Grid */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 15px;
      margin-top: 15px;
    }
    
    .feature-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px;
      background: var(--muted);
      border-radius: 8px;
    }
    
    .feature-icon {
      width: 30px;
      height: 30px;
      background: var(--primary-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
    }
    
    /* Description */
    .description {
      line-height: 1.6;
      color: var(--light-text);
    }
    
    /* Rules Section */
    .rules-list {
      list-style: none;
      padding: 0;
    }
    
    .rules-list li {
      margin-bottom: 10px;
      padding-left: 25px;
      position: relative;
    }
    
    .rules-list li:before {
      content: '•';
      color: var(--primary);
      font-weight: bold;
      position: absolute;
      left: 0;
    }
    
    /* Contact Section */
    .contact-section {
      background: var(--muted);
      padding: 20px;
      border-radius: 12px;
      margin: 20px;
    }
    
    .contact-person {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 20px;
    }
    
    .contact-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 1.2rem;
    }
    
    .contact-details h4 {
      margin: 0;
      font-weight: 700;
    }
    
    .contact-details p {
      margin: 5px 0 0;
      color: var(--light-text);
    }
    
    .contact-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
    }
    
    .btn-call {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px;
      border-radius: 8px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: var(--transition);
    }
    
    .btn-call:hover {
      background: var(--primary-dark);
    }
    
    .btn-message {
      background: var(--white);
      color: var(--primary);
      border: 1px solid var(--primary);
      padding: 12px;
      border-radius: 8px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: var(--transition);
    }
    
    .btn-message:hover {
      background: var(--primary-light);
      color: white;
    }
    
    /* Map Section */
    .map-container {
      height: 200px;
      border-radius: 12px;
      overflow: hidden;
      background: #eaeaea;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--light-text);
      cursor: pointer;
    }
    
    .map-container iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    
    /* Similar Listings - Horizontal Scroll */
    .similar-scroll-container {
      overflow-x: auto;
      overflow-y: hidden;
      white-space: nowrap;
      padding: 10px 5px;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-behavior: smooth;
    }
    
    .similar-scroll-container::-webkit-scrollbar {
      display: none;
    }
    
    .similar-card {
      display: inline-block;
      width: 280px;
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--shadow);
      margin: 0 10px;
      white-space: normal;
      vertical-align: top;
      transition: var(--transition);
      cursor: pointer;
    }
    
    .similar-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    
    .similar-image {
      height: 150px;
      position: relative;
    }
    
    .similar-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .similar-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      background: var(--primary);
      color: white;
      padding: 3px 8px;
      border-radius: 30px;
      font-size: 0.65rem;
      font-weight: 700;
    }
    
    .similar-verified {
      position: absolute;
      top: 10px;
      right: 10px;
      background: var(--secondary);
      color: white;
      padding: 3px 6px;
      border-radius: 4px;
      font-size: 0.6rem;
      font-weight: 600;
    }
    
    .similar-content {
      padding: 15px;
    }
    
    .similar-price {
      font-weight: 800;
      color: var(--primary);
      font-size: 1.2rem;
      margin-bottom: 5px;
    }
    
    .similar-title {
      font-weight: 700;
      margin-bottom: 5px;
      font-size: 1rem;
    }
    
    .similar-address {
      color: var(--light-text);
      font-size: 0.8rem;
      margin-bottom: 10px;
    }
    
    /* 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);
    }
    
    /* Share requirement Button */
    .share-btn {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
    }
    
    .btn-share-requirement {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 30px;
      font-weight: 700;
      box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .btn-share-requirement:hover {
      transform: translateY(5px);
    }
    
    .btn-close{
        float: right;
    }
    
    /* Contact Form */
    .contact-form {
      background: var(--muted);
      padding: 25px;
      border-radius: 12px;
      margin: 0 20px;
    }
    
    .form-title {
      font-weight: 800;
      margin-bottom: 20px;
      color: var(--dark-text);
    }
    
    .form-label {
      font-weight: 600;
      margin-bottom: 5px;
    }
    
    .form-control, .form-select {
      border-radius: 8px;
      padding: 10px 15px;
      border: 1px solid #ddd;
      transition: var(--transition);
      margin-bottom: 15px;
    }
    
    .form-control:focus, .form-select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.25rem rgba(198, 40, 40, 0.25);
    }
    
    .btn-submit {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px;
      border-radius: 30px;
      font-weight: 700;
      width: 100%;
      transition: var(--transition);
    }
    
    .btn-submit:hover {
      background: var(--primary-dark);
    }
    
    /* Location Badge for Similar Section */
    .location-badge {
      background: var(--primary-light);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 15px;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .image-gallery {
        height: 250px;
      }
      
      .content-section {
        padding: 15px;
      }
      
      .price-section, .contact-section {
        margin: 15px;
      }
      
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .contact-actions {
        grid-template-columns: 1fr;
      }
      
      .similar-card {
        width: 260px;
      }
      
      .header-icon-btn {
        width: 36px;
        height: 36px;
      }
      
      .header-actions {
        gap: 8px;
      }
    }
  
