  /* Brand Colors */
  :root {
    --primary: #8488D9;
    --primary-dark: #6266b7;
    --secondary: #94F285;
    --secondary-dark: #70cc62;
    --accent: #F2DF80;
    --dark: #0D0D0D;
    --light: #FFFFFF;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --danger: #F28585;
    --info: #85B1F2;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
  }

  /* General Styles */
  body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--light);
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
  }

  a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
  }

  a:hover {
    color: var(--primary-dark);
  }

  /* Button Styles */
  .btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    border-radius: 4px;
    padding: 10px 24px;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
  }

  .btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
  }

  .btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
  }

  .btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
  }

  .btn-outline-light {
    color: var(--light);
    border-color: var(--light);
  }

  .btn-outline-light:hover {
    background-color: var(--light);
    color: var(--primary);
    transform: translateY(-2px);
  }

  .btn-glow {
    box-shadow: 0 0 15px rgba(132, 136, 217, 0.5);
  }

  .btn-glow:hover {
    box-shadow: 0 0 20px rgba(132, 136, 217, 0.7);
  }

  .btn-hover-effect:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .btn-with-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn-with-icon i {
    transition: transform 0.3s ease;
  }

  .btn-with-icon:hover i {
    transform: translateX(5px);
  }

  /* Form Elements */
  .form-select, .form-control {
    height: 50px;
    font-size: 16px;
    border-radius: 4px;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
  }

  .form-select:focus, .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(132, 136, 217, 0.25);
  }

  .custom-select {
    position: relative;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238488D9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
  }

  /* Navbar Styles */
  .navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background-color: rgba(13, 13, 13, 0.9);
  }

  .navbar.scrolled {
    background-color: rgba(132, 136, 217, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }

  .navbar-brand {
    display: flex;
    align-items: center;
  }

  .logo-image {
    height: 40px;
    transition: all 0.3s ease;
  }

  .navbar.scrolled .logo-image {
    height: 35px;
  }

  .nav-link {
    color: var(--light) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    position: relative;
    transition: all 0.3s ease;
  }

  .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .nav-link:hover:after, .nav-link.active:after {
    width: 70%;
  }

  .nav-link.active {
    color: var(--secondary) !important;
  }

  /* Navbar toggler */
  .navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler-icon {
    background-image: none;
    position: relative;
    transition: all 0.3s ease;
  }

  .navbar-toggler-icon:before, 
  .navbar-toggler-icon:after,
  .navbar-toggler-icon span {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--light);
    left: 0;
    transition: all 0.3s ease;
  }

  .navbar-toggler-icon:before {
    top: 0;
  }

  .navbar-toggler-icon:after {
    bottom: 0;
  }

  .navbar-toggler-icon span {
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
  }

  .navbar-contact-icons {
    display: flex;
    gap: 15px;
  }

  .navbar-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    transition: all 0.3s ease;
  }

  .navbar-contact-icon:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
  }

  /* Hero Section Styles */
  .hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(132, 136, 217, 0.3), transparent);
    pointer-events: none;
  }

  .hero-text-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--light);
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
  }

  .hero-logo-container {
    margin-bottom: 30px;
  }

  .hero-logo {
    height: 80px;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }

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

  .hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  .animate-title {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
  }

  .animate-subtitle {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
  }

  .animate-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
  }

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

  .search-bar {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
  }

  .search-form {
    padding: 25px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .search-btn {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background-color: var(--primary);
    border-color: var(--primary);
    transition: all 0.3s ease;
  }

  .search-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  /* Glass Effect */
  .glass-effect {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  /* Section Styles */
  section {
    padding: 80px 0;
    position: relative;
  }

  .section-title {
    text-align: center;
    margin-bottom: 50px;
  }

  .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
  }

  .title-underline {
    height: 4px;
    width: 80px;
    background: var(--primary);
    margin: 0 auto 20px;
    position: relative;
  }

  .title-underline:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 40px;
    height: 10px;
    background: var(--secondary);
    transform: translateX(-50%);
    border-radius: 10px;
  }

  .section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
  }

  /* Featured Properties Styles */
  .featured-properties {
    background-color: var(--light-gray);
  }

  .property-grid {
    position: relative;
  }

  .property-item {
    transition: transform 0.3s ease;
  }

  .property-item:hover {
    transform: translateY(-10px);
  }

  .property-card {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .property-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .property-img {
    position: relative;
    overflow: hidden;
    height: 250px;
  }

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

  .property-card:hover .property-img img {
    transform: scale(1.1);
  }

  .property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 13, 13, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

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

  .btn-view {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .property-card:hover .btn-view {
    transform: translateY(0);
  }

  .btn-view:hover {
    background-color: var(--primary-dark);
    color: white;
  }

  .property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
  }

  .badge-sale {
    background-color: var(--primary);
    color: white;
  }

  .badge-rent {
    background-color: var(--secondary);
    color: var(--dark);
  }

  .property-details {
    padding: 20px;
  }

  .property-type-badge {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    margin-bottom: 10px;
    border-radius: 20px;
    background-color: var(--light-gray);
    color: var(--text-muted);
  }

  .property-details h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 700;
  }

  .property-details h3 a {
    color: var(--text-dark);
  }

  .property-details h3 a:hover {
    color: var(--primary);
  }

  .property-location {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
  }

  .property-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
  }

  .property-details p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    height: 42px;
  }

  .property-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
  }

  .property-info-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
  }

  .property-info-item i {
    margin-right: 5px;
    color: var(--primary);
  }

  /* Conditional display for property features */
  .property-info-item:empty,
  .property-info-item:blank {
    display: none;
  }

  .property-beds:empty,
  .property-baths:empty,
  .property-size:empty {
    display: none;
  }
/* Responsive styles for property slider */
@media (min-width: 576px) {
  .property-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .property-slide {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

@media (max-width: 991.98px) {
  .property-image {
    height: 160px;
  }
  
  .property-content {
    padding: 10px;
  }
  
  .property-content h3 {
    font-size: 15px;
    height: 40px;
  }
  
  .property-price {
    font-size: 16px;
  }
  
  .property-features {
    font-size: 12px;
  }
  
  .slider-prev, .slider-next {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 767.98px) {
  .property-content h3 {
    height: auto;
    max-height: 40px;
  }
}

@media (max-width: 575.98px) {
  .property-image {
    height: 160px;
  }
  
  .property-tag {
    padding: 3px 6px;
    font-size: 10px;
  }
  
  .property-price {
    font-size: 15px;
  }
  
  .property-location {
    font-size: 11px;
  }
  
  .property-content {
    padding: 8px;
  }
  
  .property-content h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .property-features {
    font-size: 11px;
  }
  
  .property-features i {
    font-size: 12px;
  }
  
  .slider-prev, .slider-next {
    width: 30px;
    height: 30px;
  }
  
  .property-slider-container {
    padding: 0 15px 20px;
  }
}

  /* Testimonials Section Styles */
  .testimonials {
    background-color: var(--light-gray);
    position: relative;
  }

  .testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.4" d="M0,192L48,181.3C96,171,192,149,288,138.7C384,128,480,128,576,149.3C672,171,768,213,864,202.7C960,192,1056,128,1152,106.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center/100%;
    opacity: 0.5;
    z-index: 0;
  }

  .testimonial-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
  }

  .testimonial-card {
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .testimonial-profile {
    padding: 30px;
    text-align: center;
    background-color: var(--primary);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.2);
  }

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

  .profile-info h4 {
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
  }

  .profile-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 14px;
  }

  .rating {
    color: var(--accent);
  }

.testimonial-content p {
  display: block;
  overflow: visible;
  height: auto;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0;
  /* Remove any properties that limit height or truncate text */
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  line-clamp: unset;
  text-overflow: unset;
  white-space: normal;
}

/* Ensure testimonial content has proper padding and scrolls if needed */
.testimonial-content {
  padding: 40px;
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-start; /* Changed from center to allow text to flow */
  background-color: white;
  overflow-y: auto; /* Allow scrolling if content is very long */
  max-height: 300px; /* Maximum height before scrolling */
}

/* Fix for specific testimonial paragraphs with IDs */
#icxt2j, #if2k5a, #ic64zj, #is65xb, .p1 {
  display: block;
  height: auto;
  overflow: visible;
  margin-bottom: 10px;
}


  .testimonial-controls {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .testimonial-indicators {
    display: flex;
    gap: 8px;
  }

  .testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(132, 136, 217, 0.3);
    border: none;
    padding: 0;
    transition: all 0.3s ease;
  }

  .testimonial-indicators button.active {
    background-color: var(--primary);
    transform: scale(1.2);
  }

  .testimonial-arrows {
    display: flex;
    gap: 15px;
  }

  .testimonial-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .testimonial-arrow:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  /* CTA Section Styles */
  .cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://portal.quranfluent.com/users/u3/3464/files/Stones/Stones%20properties%20Leeds%20-%20Hero%20Image.jpg') no-repeat fixed center center/cover;
    position: relative;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(132, 136, 217, 0.4), transparent);
    pointer-events: none;
  }

  .parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 30px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
  }

  .cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
  }

  .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .cta-buttons {
    flex-wrap: wrap;
  }



  /* Animation Classes */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }

/* FOOTER Responsive adjustments */
@media (max-width: 991.98px) {
    .certification-logos-row {
        gap: 18px;
    }
}

@media (max-width: 767.98px) {
    .certification-logos-row {
        gap: 16px;
        padding: 0 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .certification-logo {
        height: 35px;
    }
    
    .social-links {
        padding: 12px 0;
    }
    
    .footer-links-section {
        margin-bottom: 15px;
    }
    
    .footer-company-details {
        margin-bottom: 20px;
    }
    
    .footer-links-row {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
        gap: 6px;
    }
    
    .footer-policy-row {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
        gap: 6px;
    }
    
    .footer-links-row a,
    .footer-policy-row a {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .certification-logos-row {
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .certification-logo {
        height: 30px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-links-row a,
    .footer-policy-row a {
        font-size: 13px;
    }
    
    .footer-company-details p {
        font-size: 12px;
    }
    
    .footer-logo {
        height: 25px;
    }
    
    /* Scroll to top button */
    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .footer-links-row,
    .footer-policy-row {
        gap: 4px;
    }
}

/* Extra small devices (less than 400px) */
@media (max-width: 399.98px) {
    .footer-links-row a,
    .footer-policy-row a {
        font-size: 12px;
    }
    
    .footer-links-row,
    .footer-policy-row {
        gap: 3px;
    }
    
    .certification-logos-row {
        gap: 8px;
    }
    
    .certification-logo {
        height: 25px;
    }
}
  
/* About Us Page Styles */

  /* Page Banner */
  .page-banner {
    height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
  }

  .banner-content {
    color: var(--light);
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .breadcrumb {
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    margin: 0 auto;
  }

  .breadcrumb-item, .breadcrumb-item.active {
    color: var(--light);
    font-weight: 500;
  }

  .breadcrumb-item a {
    color: var(--secondary);
    text-decoration: none;
  }

  .breadcrumb-item a:hover {
    color: var(--secondary-dark);
  }

  .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
  }

  /* About Story Section */
  .about-story {
    position: relative;
    padding: 80px 0;
  }

  .about-image-container {
    position: relative;
  }

  .about-main-image {
    position: relative;
    z-index: 2;
    border: 8px solid white;
  }

  .about-image-box {
    position: absolute;
    width: 80%;
    height: 80%;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary);
    z-index: 1;
  }

  /* Values Cards */
  .value-card {
    text-align: center;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(132, 136, 217, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .value-icon i {
    font-size: 36px;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .value-card:hover .value-icon {
    background-color: var(--primary);
  }

  .value-card:hover .value-icon i {
    color: white;
    transform: scale(1.1);
  }

  .value-card h3 {
    margin-bottom: 15px;
    font-weight: 600;
  }

  .value-card p {
    color: var(--text-muted);
  }

  /* CEO Section Responsive Styles */
@media (max-width: 991.98px) {
  .ceo-message {
    padding: 30px;
  }
  
  .ceo-image-container {
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .ceo-message {
    padding: 25px;
  }
  
  .ceo-message h3 {
    font-size: 1.5rem;
    padding-bottom: 12px;
  }
  
  .ceo-message h3:after {
    width: 40px;
    height: 2.5px;
  }
  
  .ceo-message p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .ceo-signature {
    margin-top: 20px;
    padding-top: 15px;
  }
  
  .ceo-image-container {
    max-width: 300px;
  }
}

@media (max-width: 575.98px) {
  .ceo-message {
    padding: 20px;
  }
  
  .ceo-message h3 {
    font-size: 1.4rem;
    padding-bottom: 10px;
  }
  
  .ceo-message p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .ceo-signature {
    margin-top: 15px;
    padding-top: 12px;
  }
  
  .ceo-image-container {
    max-width: 250px;
  }
}

  /* Timeline Styles */
  .timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--primary);
    transform: translateX(-50%);
  }

  .timeline-item {
    position: relative;
    margin-bottom: 80px; /* Increased spacing between items */
    width: 100%;
    clear: both; /* Ensures proper clearing of floats */
  }

  .timeline-item:last-child {
    margin-bottom: 0;
  }

  .timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border: 4px solid white;
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 10;
  }

  .timeline-date {
    position: absolute;
    top: 15px;
    width: 120px;
    padding: 5px 0;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
  }

  /* Odd numbered items */
  .timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
  }

  .timeline-item:nth-child(odd) .timeline-date {
    right: calc(50% + 50px);
  }

  .timeline-item:nth-child(odd) .timeline-content {
    float: right;
  }

  /* Even numbered items */
  .timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
    text-align: left;
  }

  .timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 50px);
  }

  .timeline-item:nth-child(even) .timeline-content {
    float: left;
  }

  .timeline-content {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 450px;
    position: relative;
  }

  .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
  }

  .timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
  }

  /* Mobile view for timeline */
  @media (max-width: 991.98px) {
    .timeline::before {
      left: 40px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
      padding-left: 80px;
      padding-right: 0;
      text-align: left;
    }
    
    .timeline-dot {
      left: 40px;
    }
    
    .timeline-date,
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
      left: 0;
      right: auto;
      top: 18px;
      width: 80px;
      font-size: 0.9rem;
      text-align: center;
    }
    
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
      width: 100%;
      max-width: calc(100% - 80px);
      float: none;
    }
  }


  /* About Us Page Additional Styles */
  .animate-timeline {
      opacity: 1 !important;
      transform: translateY(0) !important;
  }

  .timeline-item {
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s ease;
  }

  .timeline-item.active .timeline-content {
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
      transform: translateY(-5px);
  }

  /* Glass card effect for About page */
  .glass-card {
      background-color: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
  }

  .glass-card:hover {
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
      transform: translateY(-5px);
  }

  /* Testimonial card specific styles */
  .testimonial-card-about {
      position: relative;
      padding: 40px;
      text-align: center;
      border-radius: 10px;
  }

  .testimonial-quote {
      margin-bottom: 20px;
      animation: float 3s infinite ease-in-out;
  }

  @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-5px); }
      100% { transform: translateY(0px); }
  }

  .testimonial-author-info {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 30px;
  }

  .testimonial-avatar {
      border: 3px solid var(--primary);
      transition: all 0.3s ease;
  }

  .testimonial-card-about:hover .testimonial-avatar {
      transform: scale(1.1);
  }

  .testimonial-controls {
      margin-top: 30px;
  }

  /* Timeline additional styles */
  .timeline-dot {
      transition: all 0.3s ease;
  }

  .timeline-item:hover .timeline-dot {
      transform: scale(1.3);
      box-shadow: 0 0 0 5px rgba(132, 136, 217, 0.3);
  }

  .timeline-date {
      transition: all 0.3s ease;
  }

  .timeline-item:hover .timeline-date {
      font-weight: 700;
      color: var(--primary-dark);
  }

  /* Stats counter animation */
  .stat-number {
      display: inline-block;
      animation: pulse 2s infinite;
  }

  @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
  }

  /* Responsive improvements */
  @media (max-width: 991.98px) {
      .timeline-item.animate-timeline {
          opacity: 1;
          transform: translateY(0);
      }
      
      .testimonial-card-about {
          padding: 30px 20px;
      }
  }

  @media (max-width: 767.98px) {
      .timeline-content h3 {
          font-size: 1.1rem;
      }
      
      .timeline-date {
          font-size: 0.9rem;
      }
  }


/* Responsive fixes for slider navigation */
@media (max-width: 767.98px) {
  .property-slider-container {
    padding: 0 40px 20px; /* Slightly smaller padding on medium screens */
  }
  
  .slider-prev, 
  .slider-next {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 575.98px) {
  .property-slider-container {
    padding: 0 35px 15px; /* Even smaller padding on small screens */
  }
  
  .slider-prev, 
  .slider-next {
    width: 30px;
    height: 30px;
  }
  
  .slider-prev {
    left: 2px; /* Closer to edge on mobile */
  }
  
  .slider-next {
    right: 2px; /* Closer to edge on mobile */
  }
}


  /* About Testimonials */
  .testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
  }

  .testimonial-card-about {
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    position: relative;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }

  .testimonial-quote {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.3;
  }

  .testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-muted);
  }

  .testimonial-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
  }

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

  .testimonial-author-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .testimonial-author-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .rating {
    color: var(--accent);
  }

  /* Stats Section */
  .about-stats {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1473&q=80') no-repeat center center/cover;
    position: relative;
  }

  .stats-container {
    padding: 50px 20px;
    border-radius: 10px;
  }

  .stat-item {
    color: white;
  }

  .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
    font-family: var(--font-secondary);
  }

  .stat-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Media Queries for About Page */
  @media (max-width: 991.98px) {
    .page-banner {
      height: 300px;
    }
    
    .banner-content h1 {
      font-size: 2.5rem;
    }
    
    .about-image-box {
      width: 70%;
      height: 70%;
      bottom: -20px;
      right: -20px;
    }
    
    .stat-number {
      font-size: 2.5rem;
    }
    
    .stat-title {
      font-size: 0.9rem;
    }
    
    .timeline::before {
      left: 40px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
      justify-content: flex-start;
      padding-left: 80px;
      width: 100%;
    }
    
    .timeline-dot {
      left: 40px;
    }
    
    .timeline-date,
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
      left: 0;
      right: auto;
      top: 18px;
      width: 80px;
      font-size: 0.9rem;
    }
    
    .timeline-content {
      width: 100%;
    }
  }

  @media (max-width: 767.98px) {
    .page-banner {
      height: 250px;
    }
    
    .banner-content h1 {
      font-size: 2rem;
    }
    
    .about-image-box {
      display: none;
    }
    
    .testimonial-card-about {
      padding: 30px 20px;
    }
    
    .testimonial-text {
      font-size: 1rem;
    }
  }

  @media (max-width: 575.98px) {
    .page-banner {
      height: 200px;
    }
    
    .banner-content h1 {
      font-size: 1.75rem;
    }
    
    .breadcrumb {
      padding: 8px 15px;
    }
    
    .stat-number {
      font-size: 2rem;
    }
    
    .stat-title {
      font-size: 0.8rem;
    }
    
    .testimonial-author-info {
      flex-direction: column;
      text-align: center;
    }
  }
  /* Fix for About Us Story section */
  .about-image-box {
    z-index: 0; /* Lower z-index so it doesn't overlap text */
    opacity: 0.5; /* Make it slightly transparent */
    width: 70%; /* Make it smaller */
    height: 70%; /* Make it smaller */
    right: -20px; /* Move it less to the right */
    bottom: -20px; /* Move it less to the bottom */
  }

  /* Hide about image container on mobile and tablet */
@media (max-width: 991.98px) {
  .about-story .about-image-container {
    display: none;
  }
  
  .about-story .about-image-box {
    display: none;
  }
}


  /* Ensure text has proper background */
  .section-title.text-start h2,
  .section-title.text-start .title-underline,
  .col-lg-6 p, .col-lg-6 .lead, .col-lg-6 strong {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    padding: 2px 5px;
    display: inline-block;
  }

  .section-title.text-start .title-underline {
    display: block;
    padding: 0;
    margin-left: 0;
    margin-bottom: 20px;
  }


  /* Careers Page Styles */
  .careers-hero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    color: var(--light);
    text-align: center;
  }

  .careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(132, 136, 217, 0.3), transparent);
    pointer-events: none;
  }

  .careers-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .careers-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .careers-hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  .careers-description, .careers-form {
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
  }

  .careers-description:hover, .careers-form:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
  }

  .careers-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
  }

  .careers-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
  }

  .careers-list li i {
    color: var(--primary);
    margin-right: 10px;
  }

  .careers-divider {
    height: 4px;
    width: 60px;
    background: var(--primary);
    position: relative;
  }

  .careers-divider:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 30px;
    height: 10px;
    background: var(--secondary);
    transform: translateX(-50%);
    border-radius: 10px;
  }

  .input-group-text {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
  }

  .benefit-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
  }

  .benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(132, 136, 217, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .benefit-icon i {
    font-size: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .benefit-card:hover .benefit-icon {
    background-color: var(--primary);
  }

  .benefit-card:hover .benefit-icon i {
    color: white;
    transform: scale(1.1);
  }

  .testimonial-card {
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

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

  .testimonial-image {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary);
  }

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



  .testimonial-content i {
    color: rgba(132, 136, 217, 0.2);
    position: absolute;
    top: 0;
    left: 0;
  }


  .accordion-item {
    border: none;
    margin-bottom: 15px;
    overflow: hidden;
  }

  .accordion-button {
    padding: 20px;
    font-weight: 600;
    background-color: white;
    border-radius: 10px !important;
    box-shadow: none !important;
  }

  .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(132, 136, 217, 0.05);
  }

  .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
  }

  .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238488D9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  }

  .accordion-body {
    padding: 20px;
    background-color: white;
  }

  /* Contact Page Specific Styles */
  .page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/placeholder/banner.jpg') no-repeat center center/cover;
    padding: 150px 0 80px;
    color: var(--light);
    text-align: center;
    position: relative;
  }

  .page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .page-header .lead {
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  .breadcrumb {
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    margin-top: 20px;
  }

  .breadcrumb-item a {
    color: var(--light);
    text-decoration: none;
  }

  .breadcrumb-item.active {
    color: var(--secondary);
  }

  .breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
  }

  /* Contact Cards */
  .contact-info-card {
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
  }

  .contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(132, 136, 217, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .info-icon i {
    font-size: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .contact-info-card:hover .info-icon {
    background-color: var(--primary);
  }

  .contact-info-card:hover .info-icon i {
    color: white;
    transform: scale(1.1);
  }

  .info-title {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
  }

  .info-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
  }

  /* Contact Form */
  .contact-form-container {
    padding: 40px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .contact-form-container h2 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }

  .contact-form-container h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
  }

  .form-label {
    font-weight: 500;
    margin-bottom: 8px;
  }

  .form-control, .form-select {
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
    transition: all 0.3s ease;
  }

  .form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(132, 136, 217, 0.25);
  }

  .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
  }

  .form-success-message {
    padding: 15px;
    background-color: rgba(148, 242, 133, 0.2);
    border-left: 4px solid var(--secondary);
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
  }

  /* Map Container */
  .map-container {
    overflow: hidden;
    border-radius: 10px;
    height: 450px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  /* FAQ Section */
  .accordion-item {
    border: none;
    margin-bottom: 15px;
    overflow: hidden;
  }

  .accordion-button {
    padding: 20px;
    font-weight: 600;
    font-size: 18px;
    background-color: white;
    color: var(--text-dark);
    box-shadow: none;
  }

  .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(132, 136, 217, 0.05);
    box-shadow: none;
  }

  .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
  }

  .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238488D9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  }

  .accordion-body {
    padding: 20px;
    background-color: white;
  }

  /* Media Queries for Contact Page */
  @media (max-width: 991.98px) {
    .page-header {
      padding: 120px 0 60px;
    }
    
    .page-header h1 {
      font-size: 2.5rem;
    }
    
    .contact-form-container {
      padding: 30px;
    }
  }

  @media (max-width: 767.98px) {
    .page-header {
      padding: 100px 0 50px;
    }
    
    .page-header h1 {
      font-size: 2rem;
    }
    
    .contact-info-card {
      padding: 20px;
    }
    
    .map-container {
      height: 350px;
    }
    
    .accordion-button {
      font-size: 16px;
      padding: 15px;
    }
  }

  @media (max-width: 575.98px) {
    .page-header h1 {
      font-size: 1.75rem;
    }
    
    .page-header .lead {
      font-size: 1rem;
    }
    
    .contact-form-container {
      padding: 20px;
    }
    
    .info-icon {
      width: 60px;
      height: 60px;
    }
    
    .info-icon i {
      font-size: 24px;
    }
    
    .map-container {
      height: 300px;
    }
  }


  /* Insurance Page Specific Styles */

  /* Hero Section */
  .insurance-hero {
      height: 80vh;
      min-height: 600px;
      display: flex;
      align-items: center;
      padding: 120px 0 60px;
      position: relative;
      color: var(--light);
  }

  .insurance-hero h1 {
      font-weight: 700;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .insurance-hero .lead {
      font-size: 1.25rem;
      max-width: 800px;
      margin: 0 auto;
      text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  /* Features Section */
  .insurance-features-section {
      background-color: var(--light);
      position: relative;
      overflow: hidden;
  }

  .insurance-features-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f8f9fa" fill-opacity="0.4" d="M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,186.7C672,192,768,160,864,138.7C960,117,1056,107,1152,117.3C1248,128,1344,160,1392,176L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top center/100%;
      opacity: 0.5;
      z-index: 0;
  }

  .insurance-feature-card {
      height: 100%;
      padding: 30px;
      background-color: white;
      border-radius: 10px;
      transition: all 0.3s ease;
      position: relative;
      z-index: 1;
  }

  .insurance-feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .insurance-icon {
      width: 70px;
      height: 70px;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(132, 136, 217, 0.1);
      border-radius: 50%;
      transition: all 0.3s ease;
  }

  .insurance-icon i {
      font-size: 30px;
      color: var(--primary);
      transition: all 0.3s ease;
  }

  .insurance-feature-card:hover .insurance-icon {
      background-color: var(--primary);
  }

  .insurance-feature-card:hover .insurance-icon i {
      color: white;
      transform: scale(1.1);
  }

  .insurance-feature-card h3 {
      font-weight: 600;
      margin-bottom: 15px;
  }

  .insurance-feature-card p {
      color: var(--text-muted);
      margin-bottom: 0;
  }

  /* Insurance Products Section */
  .insurance-products {
      background: linear-gradient(to right, var(--primary-dark), var(--primary));
      position: relative;
      overflow: hidden;
  }

  .insurance-products::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,224L48,218.7C96,213,192,203,288,181.3C384,160,480,128,576,138.7C672,149,768,203,864,218.7C960,235,1056,213,1152,181.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center/100%;
      opacity: 0.3;
      z-index: 0;
  }

  .product-card {
      height: 100%;
      padding: 30px;
      background-color: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      color: var(--light);
      position: relative;
      z-index: 1;
  }

  .product-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
      background-color: rgba(255, 255, 255, 0.15);
  }

  .product-icon {
      width: 70px;
      height: 70px;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      transition: all 0.3s ease;
  }

  .product-icon i {
      font-size: 30px;
      color: var(--light);
      transition: all 0.3s ease;
  }

  .product-card:hover .product-icon {
      background-color: var(--secondary);
  }

  .product-card:hover .product-icon i {
      color: var(--dark);
      transform: scale(1.1);
  }

  .product-card h3 {
      font-weight: 600;
      margin-bottom: 15px;
  }

  .product-card p {
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 0;
      flex-grow: 1;
  }

  /* Insurance Form Responsive Styles */
@media (max-width: 991.98px) {
  .form-header {
    padding: 20px 25px;
  }
  
  .form-header h3 {
    font-size: 1.4rem;
  }
  
  .form-body {
    padding: 25px;
  }
  
  #insurance-quote-form .btn-glow {
    padding: 10px 25px;
  }
}

@media (max-width: 767.98px) {
  .form-header {
    padding: 15px 20px;
  }
  
  .form-header h3 {
    font-size: 1.3rem;
  }
  
  .form-body {
    padding: 20px;
  }
  
  #insurance-quote-form .form-control,
  #insurance-quote-form .form-select {
    padding: 10px 15px;
  }
  
  #insurance-quote-form textarea.form-control {
    min-height: 100px;
  }
}

@media (max-width: 575.98px) {
  .form-header {
    padding: 15px;
  }
  
  .form-header h3 {
    font-size: 1.2rem;
  }
  
  .form-body {
    padding: 15px;
  }
  
  #insurance-form .section-title h2 {
    font-size: 1.75rem;
  }
  
  #insurance-quote-form .btn-glow {
    width: 100%;
    padding: 10px 20px;
  }
}

  /* CTA Section */
  .cta-section {
      padding: 100px 0;
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat fixed center center/cover;
      position: relative;
  }

  .cta-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at center, rgba(132, 136, 217, 0.4), transparent);
      pointer-events: none;
  }

  /* Responsive Styles */
  @media (max-width: 991.98px) {
      .insurance-hero {
          min-height: 500px;
          height: auto;
          padding: 100px 0 40px;
      }
      
      .insurance-hero h1 {
          font-size: 2.5rem;
      }
      
      .insurance-feature-card, 
      .product-card {
          margin-bottom: 20px;
      }
      
      .form-header,
      .form-body {
          padding: 20px;
      }
  }

  @media (max-width: 767.98px) {
      .insurance-hero h1 {
          font-size: 2rem;
      }
      
      .insurance-hero .lead {
          font-size: 1rem;
      }
      
      .insurance-icon,
      .product-icon {
          width: 60px;
          height: 60px;
      }
      
      .insurance-icon i,
      .product-icon i {
          font-size: 24px;
      }
      
      .form-header,
      .form-body {
          padding: 15px;
      }
  }

  @media (max-width: 575.98px) {
      .insurance-hero h1 {
          font-size: 1.75rem;
      }
      
      .section-title h2 {
          font-size: 1.75rem;
      }
      
      .insurance-feature-card,
      .product-card {
          padding: 20px;
      }
      
      .insurance-feature-card h3,
      .product-card h3 {
          font-size: 1.25rem;
      }
      
      .btn {
          padding: 8px 16px;
          font-size: 14px;
      }
  }


  /* ===================================
    Landlords Page Styles
  =================================== */
/* ===== LANDLORD SERVICES SECTION SERVICES CARDS ===== */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .service-card {
    padding: 1.75rem;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
  }
  
  .service-icon i {
    font-size: 1.75rem;
  }
  
  .service-card h3 {
    font-size: 1.4rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .management-services-section::before {
    background-size: 150%;
  }
  
  .section-title h2 {
    font-size: 2.25rem;
  }
  
  /* Stack cards vertically with spacing */
  .row.justify-content-center .col-lg-5 {
    max-width: 600px;
    flex: 0 0 100%;
  }
  
  .col-lg-1.d-none.d-lg-block {
    display: none !important;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .features-list li {
    font-size: 0.925rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .management-services-section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .service-card-header {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .service-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 1rem;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.35rem;
  }
  
  .badge.bg-gold,
  .badge.bg-bronze {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
  }
  
  .features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
  }
  
  .details-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .service-card {
    padding: 1.25rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i {
    font-size: 1.4rem;
  }
  
  .service-card h3 {
    font-size: 1.25rem;
  }
  
  .features-list li {
    padding-left: 1.25rem;
    font-size: 0.85rem;
  }
  
  .features-list li::before {
    margin-right: 0.5rem;
  }
}
  
  /* Popup Styles */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 20px;
  }

  .popup-content {
    position: relative;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
    margin: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow-y: auto;
  }

  .close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
  }

  .close-popup:hover {
    color: var(--primary);
  }

  .popup-table {
    font-size: 14px;
    margin: 20px 0;
  }

  .popup-table th,
  .popup-table td {
    padding: 10px;
    text-align: left;
  }

  /* Property Badge Colors */
  .badge-rent {
    background-color: var(--secondary);
    color: var(--dark);
  }

  /* Repair Info Card */
  .repair-info,
  .repair-form {
    height: 100%;
  }

  .repair-method h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
  }

  .repair-method p {
    padding-left: 30px;
  }

  .contact-highlight {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .contact-highlight:hover {
    color: var(--primary-dark);
    text-decoration: underline;
  }

  /* Tenant Application Process */
  .process-timeline {
    position: relative;
    padding: 20px 0;
  }

  .process-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -2px;
  }

  .process-step {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
    transition: all 0.3s ease;
  }

  .process-step:last-child {
    margin-bottom: 0;
  }

  .process-number {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    z-index: 1;
    transition: all 0.3s ease;
  }

  .process-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .process-step:hover .process-number,
  .process-step-active .process-number {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(132, 136, 217, 0.7);
  }

  .process-step:hover .process-content,
  .process-step-active .process-content {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .process-content h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
  }

  /* Responsive adjustments for tenant resources */
@media (max-width: 767.98px) {
  .resource-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .resource-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .resource-content h4 {
    margin-top: 10px;
  }
}

@media (max-width: 575.98px) {
  .resources-container {
    gap: 15px;
  }
  
  .resource-item {
    padding: 12px;
  }
  
  .resource-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}


/* Tenant Resources Accordion Responsive Styles */
@media (max-width: 991.98px) {
  .tenant-resources-accordion {
    margin-top: 20px;
  }

  .resource-panel {
    margin-bottom: 20px;
  }
  
  .resource-panel h3 {
    font-size: 1.3rem;
  }
  
  .resource-content .process-content h4 {
    font-size: 1.1rem;
  }
  
  .resource-content .process-step {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  .tenant-resources-accordion {
    margin-top: 15px;
  }
  
  .resource-panel {
    margin-bottom: 15px;
  }
  
  .resource-panel h3 {
    font-size: 1.2rem;
  }
  
  .resource-header {
    padding: 15px;
  }
  
  .resource-toggle-btn {
    padding: 8px 0;
  }
  
  .resource-content .card-body {
    padding: 15px;
  }
  
  .resource-content .table {
    font-size: 0.9rem;
  }
  
  .resource-content .process-content {
    padding: 15px;
  }
  
  .resource-content .process-number {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  
  .resource-content .process-content h4 {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .resource-panel h3 {
    font-size: 1.1rem;
  }
  
  .resource-panel h3 i {
    display: none; /* Hide icon on very small screens to save space */
  }
  
  .resource-toggle-btn {
    padding: 5px 0;
  }
  
  .resource-header {
    padding: 12px;
  }
  
  .resource-content .card-body {
    padding: 12px;
  }
  
  .resource-content .table {
    font-size: 0.85rem;
  }
  
  .resource-content .process-content {
    padding: 12px;
  }
  
  .resource-content .process-step {
    padding-left: 45px;
    margin-bottom: 25px;
  }
  
  .resource-content .process-number {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    left: 0;
  }
  
  .resource-content .process-timeline::before {
    left: 14px;
  }
  
  .resource-content .process-content h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .resource-content .process-content p,
  .resource-content .process-content li {
    font-size: 0.9rem;
  }
}



/* Tenant Hero Section Responsive Styles */
@media (max-width: 991.98px) {
  .insurance-hero {
    min-height: 500px;
    height: auto;
    padding: 100px 0 40px;
  }
  
  .insurance-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .insurance-hero h1 {
    font-size: 2rem;
  }
  
  .insurance-hero .lead {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .insurance-hero {
    min-height: 400px;
  }
  
  .insurance-hero h1 {
    font-size: 1.75rem;
  }
  
  .btn-glow, .btn-hover-effect {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}


  /* Modern Tab Buttons */
  .modern-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
  }

  .modern-tab-btn {
    background-color: white;
    color: var(--text-dark);
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .modern-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(132, 136, 217, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .modern-tab-btn:hover::before,
  .modern-tab-btn.active::before {
    opacity: 1;
  }

  .modern-tab-btn.active {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(132, 136, 217, 0.25);
  }

  .modern-tab-btn:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }

  /* Modern Info Box for Fees and Resources */
  .modern-info-box {
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    margin-bottom: 30px;
    transition: all 0.3s ease;
  }

  .modern-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
  }

  .info-box-header {
    background-color: var(--primary);
    color: white;
    padding: 20px 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .info-box-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.4rem;
  }

  .info-box-body {
    padding: 25px;
    color: var(--text-muted);
  }

  .info-box-body p {
    margin-bottom: 20px;
  }

  .info-box-body .btn {
    font-weight: 600;
    padding: 10px 25px;
  }

  /* Agency Terms Section (formerly Landlord Agreement) */
  .terms-card {
    padding: 40px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .terms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
  }

  /* Popup Styles for Terms Agreement */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
  }

  .popup-content {
    position: relative;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .popup-content h1, 
  .popup-content h2, 
  .popup-content h3, 
  .popup-content h4 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .popup-content h1:first-child {
    margin-top: 0;
  }

  .popup-content p {
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .popup-content .section {
    margin-bottom: 30px;
  }

  .popup-content .clause {
    margin-bottom: 25px;
  }

  .popup-content .sub-clause {
    padding-left: 20px;
    margin-top: 15px;
  }

  .popup-content ul, .popup-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
  }

  .popup-content li {
    margin-bottom: 8px;
  }

  .popup-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
  }

  .popup-content table, 
  .popup-content th, 
  .popup-content td {
    border: 1px solid #ddd;
  }

  .popup-content th, 
  .popup-content td {
    padding: 12px 15px;
    text-align: left;
  }

  .popup-content th {
    background-color: var(--light-gray);
    font-weight: 600;
  }

  .popup-content tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  .close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    font-weight: 700;
  }

  .close-popup:hover {
    color: var(--primary);
    transform: scale(1.1);
  }

  .page-break {
    height: 1px;
    background-color: #ddd;
    margin: 40px 0;
  }

  /* Disable text selection in popup */
  .popup-content {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  @media (max-width: 767.98px) {
    .nav-pills.modern-tab-buttons {
      gap: 15px;
    }
    
    .nav-pills.modern-tab-buttons .nav-link.modern-tab-btn {
      padding: 12px 20px;
      font-size: 14px;
    }
  }

  @media (max-width: 575.98px) {
    .nav-pills.modern-tab-buttons {
      flex-direction: column;
      width: 100%;
      gap: 10px;
    }
    
    .nav-pills.modern-tab-buttons .nav-item {
      width: 100%;
    }
    
    .nav-pills.modern-tab-buttons .nav-link.modern-tab-btn {
      width: 100%;
      justify-content: center;
    }

    .popup-content {
      padding: 30px 20px;
    }
  }


  @media (max-width: 991.98px) {
    /* Tab Styles */
    .audience-tabs .nav-pills {
      display: flex;
      width: 100%;
      border-radius: 10px;
    }
    
    .audience-tabs .nav-link {
      flex: 1;
      padding: 10px 15px;
      font-size: 0.95rem;
    }
    
    /* Modern Tab Buttons */
    .modern-tab-buttons {
      gap: 15px;
      margin-bottom: 20px;
    }
    
    .modern-tab-btn {
      padding: 12px 20px;
      font-size: 15px;
    }
    
    /* Info Boxes */
    .info-box-header {
      padding: 18px 20px;
    }
    
    .info-box-header h3 {
      font-size: 1.3rem;
    }
    
    .info-box-body {
      padding: 20px;
    }
    
    /* Process Timeline */
    .process-timeline::before {
      left: 15px;
    }
    
    .process-step {
      padding-left: 50px;
    }
    
    /* Popup */
    .popup-content {
      padding: 30px;
      max-height: 85vh;
    }
    
    /* Table Content */
    .popup-table th, 
    .popup-table td {
      padding: 12px 10px;
      font-size: 0.9rem;
    }
    
    /* Terms Card */
    .terms-card {
      padding: 30px !important;
    }
    
    /* Repair section */
    .repair-info, 
    .repair-form {
      padding: 20px !important;
    }
  }

  @media (max-width: 767.98px) {
    /* Tab navigation smaller padding */
    .audience-tabs .nav-link {
      padding: 8px 10px;
      font-size: 0.85rem;
    }
    
    .audience-tabs .nav-link i {
      margin-right: 5px;
    }
    
    /* Modern Tab Buttons */
    .modern-tab-buttons {
      gap: 10px;
    }
    
    .modern-tab-btn {
      padding: 10px 15px;
      font-size: 14px;
    }
    
    /* Process Timeline */
    .process-step {
      padding-left: 45px;
    }
    
    .process-number {
      width: 30px;
      height: 30px;
      font-size: 1rem;
    }
    
    /* Info Boxes */
    .info-box-header {
      padding: 15px 20px;
    }
    
    .info-box-header h3 {
      font-size: 1.2rem;
    }
    
    .info-box-body {
      padding: 15px 20px;
    }
    
    /* Terms Card */
    .terms-card {
      padding: 25px !important;
    }
    
    /* Popup */
    .popup-content {
      padding: 25px 20px;
      margin: 25px auto;
    }
    
    .popup-content h1, 
    .popup-content h2 {
      font-size: 1.5rem;
    }
    
    .popup-content h3, 
    .popup-content h4 {
      font-size: 1.2rem;
    }
    
    /* Table Content */
    .popup-table th, 
    .popup-table td {
      padding: 10px 8px;
      font-size: 0.85rem;
    }
    
    /* Service Cards */
    .service-card {
      padding: 20px;
    }
    
    .service-icon {
      width: 60px;
      height: 60px;
      margin-bottom: 15px;
    }
    
    .service-icon i {
      font-size: 24px;
    }
    
    /* Testimonial Layout */
    .testimonial-profile {
      padding: 20px;
    }
    
    .profile-image {
      width: 90px;
      height: 90px;
    }
    
    /* Popup Table */
    .popup-table {
      font-size: 13px;
    }
    
    .popup-table th, 
    .popup-table td {
      padding: 8px;
    }
  }

  @media (max-width: 575.98px) {
    /* Audience tabs on small screens */
    .audience-tabs .nav-link {
      padding: 6px;
      font-size: 0.8rem;
    }
    
    .audience-tabs .nav-link i {
      display: none;
    }
    
    /* Modern Tab Buttons */
    .modern-tab-buttons {
      flex-direction: column;
      width: 100%;
      gap: 8px;
    }
    
    .modern-tab-btn {
      width: 100%;
      padding: 10px;
      justify-content: center;
      font-size: 0.9rem;
    }
    
    /* Process Timeline */
    .process-content {
      padding: 15px;
    }
    
    .process-content h4 {
      font-size: 1.1rem;
    }
    
    .process-step {
      padding-left: 45px;
      margin-bottom: 30px;
    }
    
    .process-number {
      width: 30px;
      height: 30px;
      font-size: 1rem;
    }
    
    /* Service Cards */
    .service-features ul li {
      font-size: 0.9rem;
    }
    
    /* Info Boxes */
    .info-box-header {
      padding: 12px 15px;
    }
    
    .info-box-header h3 {
      font-size: 1.1rem;
    }
    
    .info-box-body {
      padding: 15px;
    }
    
    /* Terms Card */
    .terms-card {
      padding: 20px 15px !important;
    }
    
    /* Popup */
    .popup-content {
      padding: 20px 15px;
      font-size: 14px;
      margin: 15px auto;
      max-height: 85vh;
    }
    
    .popup-content h1, 
    .popup-content h2 {
      font-size: 1.3rem;
    }
    
    .popup-content h3, 
    .popup-content h4 {
      font-size: 1.1rem;
    }
    
    .close-popup {
      top: 10px;
      right: 15px;
      font-size: 24px;
    }
    
    /* Popup Table */
    .popup-content table {
      display: block;
      overflow-x: auto;
    }
    
    .popup-table th, 
    .popup-table td {
      padding: 8px 5px;
      font-size: 0.8rem;
    }
    
    /* Fix spacing for details content */
    .details-inner {
      padding: 15px;
    }
    
    /* Contact Form */
    .contact-form-card {
      padding: 20px 15px !important;
    }
    
    /* Service Cards */
    .service-card {
      padding: 20px 15px;
    }
    
    .service-icon {
      width: 50px;
      height: 50px;
    }
    
    .service-icon i {
      font-size: 20px;
    }
    
    .service-card h3 {
      font-size: 1.2rem;
    }
    
    /* Make popup content text smaller */
    .popup-content p, 
    .popup-content li {
      font-size: 14px;
    }
  }


  /* ===== Planet Page Specific Styles ===== */

  /* Planet Hero Section */
  .planet-hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1501446529957-6226bd447c46?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1770&q=80') no-repeat center center/cover;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--light);
    overflow: hidden;
  }

  .planet-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(148, 242, 133, 0.3), transparent);
    pointer-events: none;
  }

  .planet-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .planet-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .planet-hero .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  .planet-badge {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
  }

  .planet-badge i {
    margin-right: 8px;
    animation: rotate 6s linear infinite;
  }

  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }

  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  /* Initiative Cards */
  .initiative-row {
    margin-top: 40px;
  }

  .initiative-card {
    padding: 30px;
    height: 100%;
    text-align: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .initiative-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .initiative-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(148, 242, 133, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .initiative-icon i {
    font-size: 32px;
    color: var(--secondary-dark);
    transition: all 0.3s ease;
  }

  .initiative-card:hover .initiative-icon {
    background-color: var(--secondary);
  }

  .initiative-card:hover .initiative-icon i {
    color: var(--dark);
    transform: scale(1.1);
  }

  .initiative-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
  }

  .initiative-card p {
    margin-bottom: 20px;
    color: var(--text-muted);
  }

  .initiative-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
  }

  .initiative-card:hover .initiative-hover {
    bottom: 0;
    opacity: 1;
  }

  /* Progress Section */
  .progress-wrapper {
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    height: 100%;
  }

  .progress-text-container {
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    height: 100%;
  }

  .progress-container {
    margin-bottom: 20px;
  }

  .progress-container h5 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
  }

  .progress-percentage {
    font-weight: 700;
    color: var(--secondary-dark);
  }

  .progress {
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
  }

  .progress-bar {
    background-color: var(--secondary);
    position: relative;
    transition: width 1.5s ease;
  }

  .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.2) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.2) 75%,
      transparent 75%,
      transparent
    );
    background-size: 20px 20px;
    animation: progressStripes 1s linear infinite;
  }

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

  /* Stats Counter Section */
  .stats-counter {
    background-color: var(--secondary);
    position: relative;
    overflow: hidden;
  }

  .stats-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,192L48,181.3C96,171,192,149,288,138.7C384,128,480,128,576,149.3C672,171,768,213,864,202.7C960,192,1056,128,1152,106.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center center/cover;
    opacity: 0.3;
  }

  .counter-row {
    padding: 40px 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .counter-box {
    text-align: center;
    color: var(--dark);
    padding: 20px;
    transition: all 0.3s ease;
  }

  .counter-box:hover {
    transform: translateY(-5px);
  }

  .counter-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    display: inline-block;
  }

  .percent {
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
  }

  .counter-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
  }

  /* Commitment Section */
  .commitment-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .commitment-image {
    transition: transform 0.5s ease;
  }

  .commitment-image-container:hover .commitment-image {
    transform: scale(1.05);
  }

  .commitment-list {
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .commitment-list h3 {
    color: var(--dark);
    font-weight: 600;
  }

  .commitment-items {
    list-style-type: none;
    padding-left: 0;
  }

  .commitment-items li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
  }

  .commitment-items li i {
    margin-right: 10px;
    margin-top: 5px;
  }

  /* Timeline Section */
  .timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
  }

  .timeline {
    position: relative;
  }

  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--secondary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
  }

  .timeline-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    animation: fadeInUp 1s;
  }

  .timeline-container.left {
    left: 0;
  }

  .timeline-container.right {
    left: 50%;
  }

  .timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--secondary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }

  .timeline-container.right::after {
    left: -13px;
  }

  .timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .timeline-year {
    position: absolute;
    top: -30px;
    font-size: 14px;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
  }

  .timeline-container.left .timeline-year {
    right: 15px;
  }

  .timeline-container.right .timeline-year {
    left: 15px;
  }

  .timeline-content h3 {
    margin: 0 0 15px;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.3rem;
  }

  .timeline-content p {
    margin: 0;
    color: var(--text-muted);
  }

  /* CTA Eco Section */
  .cta-eco {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1586974710160-55f48f417990?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1770&q=80') no-repeat fixed center center/cover;
    position: relative;
    padding: 100px 0;
  }

  .cta-eco::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(148, 242, 133, 0.4), transparent);
    pointer-events: none;
  }

  /* Responsive Styles for Planet Page */
  @media (max-width: 991.98px) {
    .planet-hero h1 {
      font-size: 2.5rem;
    }
    
    .timeline::after {
      left: 31px;
    }
    
    .timeline-container {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
    }
    
    .timeline-container.right {
      left: 0;
    }
    
    .timeline-container.left::after, .timeline-container.right::after {
      left: 18px;
    }
    
    .timeline-container.left .timeline-year,
    .timeline-container.right .timeline-year {
      left: 15px;
    }
  }

  @media (max-width: 767.98px) {
    .planet-hero {
      min-height: 350px;
    }
    
    .planet-hero h1 {
      font-size: 2rem;
    }
    
    .planet-badge {
      font-size: 0.9rem;
      padding: 8px 16px;
    }
    
    .counter-number {
      font-size: 2.5rem;
    }
    
    .counter-text {
      font-size: 0.9rem;
    }
  }

  @media (max-width: 575.98px) {
    .planet-hero h1 {
      font-size: 1.75rem;
    }
    
    .planet-badge {
      font-size: 0.8rem;
      padding: 6px 12px;
    }
    
    .counter-number {
      font-size: 2rem;
    }
    
    .timeline-content {
      padding: 15px;
    }
    
    .timeline-year {
      font-size: 12px;
      padding: 4px 10px;
    }
  }


  /* Sales page CSS */
  /* Page Banner Styles */
  .page-banner {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/placeholder/banner.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--light);
    text-align: center;
  }

  .page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .page-banner .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  /* Process Timeline Styles */
  .process-timeline {
    position: relative;
    padding: 20px 0;
  }

  .process-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -2px;
  }

  .process-step {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
    transition: all 0.3s ease;
  }

  .process-step:last-child {
    margin-bottom: 0;
  }

  .process-number {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    z-index: 1;
    transition: all 0.3s ease;
  }

  .process-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .process-step:hover .process-number,
  .process-step-active .process-number {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(132, 136, 217, 0.7);
  }

  .process-step:hover .process-content,
  .process-step-active .process-content {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .process-content h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
  }

  /* Feature List Styles */
  .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
  }

  .feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1rem;
  }

  .feature-list li i {
    margin-top: 3px;
    flex-shrink: 0;
  }

  /* Valuation Form Styles */
  .valuation-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .form-section {
    position: relative;
  }

  .form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f8f9fa" fill-opacity="0.4" d="M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,186.7C672,192,768,160,864,138.7C960,117,1056,107,1152,117.3C1248,128,1344,160,1392,176L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top center/100%;
    opacity: 0.5;
    z-index: -1;
  }

  .btn-submit {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
  }

  .btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(132, 136, 217, 0.3);
  }

  .success-alert {
    display: none;
    margin-top: 20px;
  }

  /* Direct Purchase Card Styles */
  .direct-purchase-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .direct-purchase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .direct-purchase-card h3 {
    color: var(--primary);
    font-weight: 600;
  }

  /* FAQ Accordion Styles */
  .accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .accordion-button {
    font-weight: 600;
    font-family: var(--font-secondary);
    padding: 20px 25px;
    background-color: white;
    color: var(--text-dark);
  }

  .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: white;
    box-shadow: none;
  }

  .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(132, 136, 217, 0.25);
  }

  .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238488D9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  }

  .accordion-body {
    padding: 20px 25px;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* Contact Highlight Styles */
  .contact-highlight {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .contact-highlight:hover {
    color: var(--primary-dark);
    text-decoration: underline;
  }

  /* Responsive adjustments for the sales page */
  @media (max-width: 991.98px) {
    .page-banner {
      padding: 150px 0 80px;
    }
    
    .page-banner h1 {
      font-size: 2.5rem;
    }
    
    .process-timeline::before {
      left: 15px;
    }
    
    .process-step {
      padding-left: 50px;
    }
  }

  @media (max-width: 767.98px) {
    .page-banner {
      padding: 120px 0 60px;
    }
    
    .page-banner h1 {
      font-size: 2rem;
    }
    
    .process-step {
      padding-left: 45px;
    }
    
    .process-number {
      width: 30px;
      height: 30px;
      font-size: 1rem;
    }
  }

  @media (max-width: 575.98px) {
    .page-banner h1 {
      font-size: 1.75rem;
    }
    
    .page-banner .lead {
      font-size: 1rem;
    }
    
    .feature-list li {
      font-size: 0.9rem;
    }
  }

  /* Valuation page styles */
  /* Page Header Styles */
  .page-header {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://portal.quranfluent.com/users/u3/3464/files/Stones/Stones%20properties%20Leeds%20-%20Hero%20Image.jpg') no-repeat center center/cover;
    margin-top: 76px;
    padding: 0 20px;
  }

  .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(132, 136, 217, 0.3), transparent);
    pointer-events: none;
  }

  .page-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--light);
    position: relative;
    z-index: 2;
  }

  .page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .page-header .lead {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  /* Valuation Section Styles */
  .valuation-section {
    position: relative;
    background-color: var(--light);
  }

  /* Feature Cards */
  .feature-card {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
  }

  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(132, 136, 217, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .feature-icon i {
    font-size: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .feature-card:hover .feature-icon {
    background-color: var(--primary);
  }

  .feature-card:hover .feature-icon i {
    color: white;
    transform: scale(1.1);
  }

  .feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
  }

  .feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
  }

  /* Valuation Form Styles */
  .valuation-form-container {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
  }

  .form-header {
    padding: 25px 30px;
    background-color: var(--primary);
    color: white;
    text-align: center;
  }

  .form-header h3 {
    margin-bottom: 10px;
    font-weight: 600;
  }

  .form-header p {
    margin-bottom: 0;
    opacity: 0.9;
  }

  .form-body {
    padding: 30px;
    background-color: white;
  }

  /* Step Indicator */
  .step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
  }

  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 100%;
    height: 2px;
    background-color: #e9ecef;
    left: 50%;
    z-index: 0;
  }

  .step.active:not(:last-child)::after {
    background-color: var(--primary);
  }

  .step-number {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
  }

  .step.active .step-number {
    background-color: var(--primary);
    color: white;
  }

  .step-title {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    transition: all 0.3s ease;
  }

  .step.active .step-title {
    color: var(--primary);
    font-weight: 600;
  }

  /* Form Steps */
  .form-step {
    display: none;
  }

  .form-step.active {
    display: block;
  }

  .form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }

  /* Success Message */
  .success-message {
    text-align: center;
    padding: 30px;
  }

  .success-icon {
    font-size: 70px;
    color: #28a745;
    margin-bottom: 20px;
  }

  .success-message h3 {
    color: var(--primary);
    margin-bottom: 15px;
  }


/* responsive.css for Why Choose Us */

/* Hide image on screens below lg (tablet & mobile) */
@media (max-width: 991.98px) {
  /* Hide the image column (original markup uses .col-lg-6 first child) */
  #io7aj4 .col-lg-6:first-child,
  #io7aj4 .d-none.d-lg-flex,
  #io7aj4 .image-container {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }

  /* Increase vertical spacing on smaller screens */
  #io7aj4 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Make headings a little smaller on small phones */
  @media (max-width: 575.98px) {
    #io7aj4 h2.h1,
    #io7aj4 .section-title h2 {
      font-size: 1.6rem;
      line-height: 1.2;
    }
  }

  /* Improve card layout spacing on small screens */
  #io7aj4 .choose-us-card,
  #io7aj4 .choose-card {
    padding: 14px;
  }

  /* Ensure right column spans full width cleanly */
  #io7aj4 .col-lg-6:last-child {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Desktop tweaks (lg and up) */
@media (min-width: 992px) {
  #io7aj4 {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  /* Give the content column breathing room so text never hugs the viewport */
  #io7aj4 .col-lg-6:last-child {
    padding-left: 3rem;
    padding-right: 1rem;
  }

  #io7aj4 .lead {
    font-size: 1.05rem;
  }

  /* Ensure the left image column centres its content */
  #io7aj4 .col-lg-6:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 30px;
  }
}

  /* FAQ Section Styles */
  .accordion-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }

  .accordion-button {
    font-weight: 600;
    padding: 20px 25px;
    background-color: white;
    color: var(--text-dark);
  }

  .accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: white;
    box-shadow: none;
  }

  .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(132, 136, 217, 0.25);
  }

  .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }

  .accordion-body {
    padding: 20px 25px;
    background-color: white;
    color: var(--text-muted);
  }


  /* Properties Page Specific Styles */
  .page-header {
    padding: 120px 0 60px;
    position: relative;
    margin-bottom: 30px;
  }

  .page-header-content {
    color: var(--light);
    position: relative;
    z-index: 2;
  }

  .page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
  }

  .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
  }

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

  .breadcrumb-item.active {
    color: var(--secondary);
  }

  .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
  }

  .breadcrumb-item a:hover {
    color: var(--secondary);
    text-decoration: none;
  }

  /* Property Category Tabs */
  .property-tabs .nav-pills {
    background-color: var(--light-gray);
    border-radius: 50px;
    padding: 5px;
    display: inline-flex;
  }

  .property-tabs .nav-link {
    color: var(--text-dark);
    border-radius: 50px;
    padding: 10px 25px;
    margin: 0 5px;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .property-tabs .nav-link:hover {
    color: var(--primary);
  }

  .property-tabs .nav-link.active {
    background-color: var(--primary);
    color: white;
  }


/* Responsive Property Badge Styles */
@media (max-width: 767.98px) {
  .property-badge {
    padding: 7px 14px;
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .property-badge {
    padding: 6px 12px;
    font-size: 12px;
  }
}



  /* Property Details Page Specific Styles */

  /* General page setup */
  .property-detail-section {
      padding-top: 120px;
      padding-bottom: 80px;
  }

  /* Breadcrumb navigation */
  .property-breadcrumb {
      margin-bottom: 30px;
  }

  .breadcrumb {
      background-color: transparent;
      padding: 10px 0;
  }

  .breadcrumb-item a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.3s ease;
  }

  .breadcrumb-item a:hover {
      color: var(--primary-dark);
  }

  .breadcrumb-item.active {
      color: var(--text-muted);
  }

  .breadcrumb-item + .breadcrumb-item::before {
      content: "›";
      color: var(--text-muted);
  }

  /* Property Gallery */
  .property-gallery {
      margin-bottom: 30px;
  }

  .property-main-image {
      position: relative;
      height: 500px;
      overflow: hidden;
      border-radius: 10px;
      margin-bottom: 15px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

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

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

  .gallery-controls {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
  }

  .property-main-image:hover .gallery-controls {
      opacity: 1;
      pointer-events: all;
  }

  .gallery-control {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.8);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      color: var(--primary);
      font-size: 18px;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .gallery-control:hover {
      background-color: var(--primary);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .property-thumbnails {
      margin-bottom: 30px;
      overflow-x: auto;
      scrollbar-width: thin;
      scrollbar-color: var(--primary) rgba(0, 0, 0, 0.1);
  }

  .property-thumbnails::-webkit-scrollbar {
      height: 6px;
  }

  .property-thumbnails::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.1);
      border-radius: 10px;
  }

  .property-thumbnails::-webkit-scrollbar-thumb {
      background-color: var(--primary);
      border-radius: 10px;
  }

  .thumbnail-slider {
      display: flex;
      gap: 10px;
      padding-bottom: 5px;
  }

  .property-thumbnail {
      flex: 0 0 120px;
      height: 80px;
      border-radius: 6px;
      overflow: hidden;
      cursor: pointer;
      border: 2px solid transparent;
      transition: all 0.3s ease;
      position: relative;
  }

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

  .property-thumbnail.active {
      border-color: var(--primary);
      transform: translateY(-3px);
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }

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

  /* Property Header */
  .property-header {
      margin-bottom: 30px;
  }

  .property-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--text-dark);
  }

  .property-location {
      color: var(--text-muted);
      font-size: 1.1rem;
      margin-bottom: 20px;
  }

  .property-location i {
      color: var(--primary);
      margin-right: 5px;
  }

  .property-price {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary);
      padding: 10px 20px;
      background-color: rgba(132, 136, 217, 0.1);
      border-radius: 8px;
      display: inline-block;
      margin-bottom: 20px;
  }

  /* Property Quick Actions */
  .property-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 30px;
  }

  .property-action-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 15px;
      background-color: rgba(0, 0, 0, 0.05);
      border-radius: 6px;
      color: var(--text-dark);
      text-decoration: none;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
  }

  .property-action-btn i {
      color: var(--primary);
      font-size: 16px;
      transition: color 0.3s ease;
  }

  .property-action-btn:hover {
      background-color: var(--primary);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .property-action-btn:hover i {
      color: white;
  }

  /* Property Key Features */
  .property-key-features {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 40px;
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.02);
      border-radius: 10px;
      border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .feature-icon-item {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1 0 calc(20% - 15px);
      min-width: 150px;
  }

  .feature-icon-item i {
      font-size: 24px;
      color: var(--primary);
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(132, 136, 217, 0.1);
      border-radius: 50%;
      transition: all 0.3s ease;
  }

  .feature-icon-item:hover i {
      background-color: var(--primary);
      color: white;
      transform: scale(1.1);
  }

  .feature-text {
      display: flex;
      flex-direction: column;
  }

  .feature-value {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-dark);
  }

  .feature-label {
      font-size: 0.9rem;
      color: var(--text-muted);
  }

  /* Property Tabs */
  .property-tabs {
      margin-bottom: 40px;
  }

  .nav-tabs {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
  }

  .nav-tabs .nav-link {
      border: none;
      color: var(--text-muted);
      font-weight: 500;
      padding: 10px 20px;
      transition: all 0.3s ease;
      position: relative;
  }

  .nav-tabs .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background-color: var(--primary);
      transition: width 0.3s ease;
  }

  .nav-tabs .nav-link:hover {
      color: var(--primary);
      border-color: transparent;
  }

  .nav-tabs .nav-link.active {
      color: var(--primary);
      background-color: transparent;
      border-color: transparent;
  }

  .nav-tabs .nav-link.active::after {
      width: 100%;
  }

  .tab-content {
      padding: 20px 0;
  }

  /* Property Description Tab */
  .property-description {
      font-size: 1rem;
      line-height: 1.8;
      color: var(--text-dark);
  }

  .property-description p {
      margin-bottom: 15px;
  }

  /* Property Details Tab */
  .property-details-info {
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.02);
      border-radius: 10px;
  }

  .property-info-list {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  .property-info-list li {
      padding: 10px 0;
      border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
      font-size: 0.95rem;
  }

  .property-info-list li:last-child {
      border-bottom: none;
  }

  .property-info-list li strong {
      color: var(--text-dark);
      margin-right: 5px;
  }

  /* Property Features Tab */
  .property-features-list {
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.02);
      border-radius: 10px;
  }

  .features-list {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  .features-list li {
      display: flex;
      align-items: center;
      padding: 8px 0;
      font-size: 0.95rem;
  }

  .features-list li i {
      color: var(--secondary);
      margin-right: 10px;
      font-size: 14px;
  }

  /* Property Map Tab */
  .property-map {
      margin-bottom: 20px;
  }

  .map-container {
      height: 400px;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* Sidebar Styles */
  .sidebar-card {
      background-color: white;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      padding: 25px;
      margin-bottom: 30px;
      border: 1px solid rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
  }

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

  .sidebar-card-title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      position: relative;
  }

  .sidebar-card-title::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 50px;
      height: 3px;
      background-color: var(--primary);
  }

  /* Agent Card */
  .agent-card {
      text-align: center;
  }

  .agent-profile {
      margin-bottom: 20px;
  }

  .agent-image {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto 15px;
      border: 3px solid rgba(132, 136, 217, 0.3);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

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

  .agent-name {
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 5px;
      color: var(--text-dark);
  }

  .agent-title {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 15px;
  }

  .agent-contact {
      display: flex;
      flex-direction: column;
      gap: 10px;
  }

  .btn-agent {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px;
  }

  /* Inquiry Form */
  .inquiry-card {
      background-color: var(--light-gray);
  }
/* Responsive property tab buttons */
@media (max-width: 767.98px) {
  .property-detail-tabs .nav-link {
    padding: 8px 12px;
    font-size: 14px;
    margin-right: 3px;
  }
}

@media (max-width: 575.98px) {
  .property-detail-tabs .nav-link {
    padding: 6px 10px;
    font-size: 13px;
    margin-right: 2px;
  }
  
  .property-thumbnail {
    flex: 0 0 100px;
    height: 70px;
  }
  
  .map-container {
    height: 300px;
  }
}


/* Responsive styles for floating contact button */
@media (max-width: 991.98px) {
  .floating-contact-btn {
    bottom: 15px;
    right: 15px;
  }
  
  .floating-contact-btn .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .floating-contact-btn .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  
  .floating-contact-btn .btn i {
    margin-right: 8px;
  }
}

@media (max-width: 575.98px) {
  .floating-contact-btn {
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
  }
  
  .floating-contact-btn .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .floating-contact-btn .btn i {
    margin-right: 5px;
  }
}


  /* Handle empty dynamic content */
  .feature-icon-item:empty,
  .feature-icon-item .feature-value:empty,
  .property-info-list li:empty,
  .features-list li:empty,
  .agent-card:empty,
  .similar-property-item:empty {
      display: none;
  }

  /* Additional utility classes for empty content */
  .empty-hide {
      display: none !important;
  }

  /* Print styles */
  @media print {
      .navbar, 
      #Global-Header, 
      #Global-footer,
      .property-actions,
      .property-tabs .nav-tabs,
      .property-tabs .tab-content > div:not(.show),
      .sidebar-card.inquiry-card {
          display: none !important;
      }

      .property-tabs .tab-content > .tab-pane {
          display: block !important;
          opacity: 1 !important;
      }

      .property-detail-section {
          padding-top: 20px;
      }

      .property-main-image {
          height: 300px;
      }

      .property-thumbnails,
      .gallery-controls {
          display: none;
      }
  }

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

      .property-title {
          font-size: 2rem;
      }

      .property-price {
          font-size: 1.5rem;
      }

      .feature-icon-item {
          flex: 1 0 calc(33.333% - 15px);
      }
  }

  @media (max-width: 767.98px) {
      .property-main-image {
          height: 300px;
      }

      .property-title {
          font-size: 1.75rem;
      }

      .property-actions {
          justify-content: center;
      }

      .feature-icon-item {
          flex: 1 0 calc(50% - 15px);
      }

      .sidebar-card {
          padding: 20px;
      }
  }

  @media (max-width: 575.98px) {
      .property-detail-section {
          padding-top: 100px;
      }

      .property-main-image {
          height: 250px;
      }

      .property-title {
          font-size: 1.5rem;
      }

      .property-price {
          font-size: 1.25rem;
          padding: 8px 15px;
      }

      .property-action-btn {
          padding: 8px 12px;
          font-size: 0.9rem;
      }

      .feature-icon-item {
          flex: 1 0 100%;
      }

      .property-thumbnail {
          flex: 0 0 100px;
          height: 70px;
      }

      .similar-property-image {
          flex: 0 0 80px;
      }
  }



  /* CSS TO FIT ON MENU ON ONE LINE */
  /* Navigation single line optimization */
  @media (min-width: 992px) {
    /* Smaller logo on larger screens */
    .navbar-brand .logo-image {
      height: 34px;
      max-width: 170px;
    }
    
    /* Adjust navbar layout - more balanced spacing */
    .navbar > .container {
      display: flex;
      justify-content: space-between;
      padding-left: 10px;
      padding-right: 10px;
      max-width: 100%;
    }
    
    /* Left side group (logo + menu) */
    .navbar-brand, #navbarNav {
      display: flex;
      align-items: center;
    }
    
    /* Adjust the navbar collapse */
    .navbar-collapse {
      flex-grow: 1;
      margin-left: 15px;
      display: flex !important;
      justify-content: center;
    }
    
    /* Nav items with better spacing */
    .navbar .nav-link {
      padding: 8px 12px !important;
      font-size: 15px;
      white-space: nowrap;
    }
    
    /* Contact icons */
    .navbar-contact-icons.d-none.d-lg-flex {
      margin-left: 15px;
      gap: 10px;
    }
    
    .navbar-contact-icon {
      width: 34px;
      height: 34px;
    }
    
    /* Center the nav items relative to available space */
    #navbarNav .navbar-nav {
      width: 100%;
      display: flex;
      justify-content: space-between;
    }
    
    /* Extra large screens - more comfortable spacing */
    @media (min-width: 1200px) {
      .navbar .nav-link {
        padding: 8px 14px !important;
        font-size: 16px;
      }
      
      .navbar-collapse {
        margin-left: 25px;
      }
      
      .navbar-contact-icons.d-none.d-lg-flex {
        margin-left: 25px;
      }
    }
    
    /* Very large screens - even more space */
    @media (min-width: 1400px) {
      .navbar .nav-link {
        padding: 8px 16px !important;
      }
      
      .navbar-brand .logo-image {
        height: 38px;
        max-width: 190px;
      }
    }
  }

  /* Special handling for medium-large screens where space is tightest */
  @media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-brand {
      margin-right: 0;
    }
    
    .navbar-brand .logo-image {
      height: 30px;
      max-width: 150px;
    }
    
    .navbar .nav-link {
      padding: 8px 8px !important;
      font-size: 14px;
    }
    
    .navbar-collapse {
      margin-left: 10px;
    }
    
    .navbar-contact-icons.d-none.d-lg-flex {
      margin-left: 10px;
      gap: 8px;
    }
    
    .navbar-contact-icon {
      width: 32px;
      height: 32px;
    }
  }

  /* Override Bootstrap's navbar-expand-lg default margin for nav */
  @media (min-width: 992px) {
    /* Reset Bootstrap's ms-auto on navbar-nav */
    #navbarNav .navbar-nav.ms-auto {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }
  }



  /* Mobile Navigation Underline Fix */
  @media (max-width: 991.98px) {
    .nav-link:after {
      width: 0;
      height: 2px;
      bottom: 0;
      left: 0;
      transform: none;
      transition: width 0.3s ease;
    }
    
    .nav-link:hover:after, 
    .nav-link.active:after {
      width: 40px;
      transform: none;
      left: 0;
    }
    
    .navbar-nav .nav-item {
      position: relative;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 0;
    }
    
    .navbar-nav .nav-item:last-child {
      border-bottom: none;
    }
    
    .nav-link {
      padding: 12px 15px !important;
    }
    
    /* Ensure the active indicator is properly aligned with text */
    .nav-link.active {
      position: relative;
      padding-left: 15px !important;
    }
    
    .nav-link.active:after {
      position: absolute;
      left: 15px;
      bottom: 6px;
      background-color: var(--secondary);
    }
  }

  /* Additional fix for very small screens */
  @media (max-width: 575.98px) {
    .nav-link {
      padding: 10px 15px !important;
    }
    
    .nav-link.active:after {
      bottom: 5px;
    }
  }

  /* Page Banner (Hero) Consistent Styling */
  .page-banner {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 150px 0 80px;
    text-align: center;
    color: var(--light);
    position: relative;
    margin-top: 76px; /* Account for fixed navbar */
  }

  .page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(132, 136, 217, 0.3), transparent);
    pointer-events: none;
  }

  .page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .page-banner p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  /* Responsive adjustments for the page banner */
  @media (max-width: 991.98px) {
    .page-banner {
      padding: 120px 0 60px;
    }
    
    .page-banner h1 {
      font-size: 2.5rem;
    }
  }

  @media (max-width: 767.98px) {
    .page-banner {
      padding: 100px 0 50px;
    }
    
    .page-banner h1 {
      font-size: 2rem;
    }
  }

  @media (max-width: 575.98px) {
    .page-banner {
      padding: 90px 0 40px;
    }
    
    .page-banner h1 {
      font-size: 1.75rem;
    }
    
    .page-banner p {
      font-size: 1rem;
    }
  }


  /* ==== HOMEPAGE FIXES ==== */

  /* Hero Section Background Fix */
  .hero {
  color: var(--light);
  }

  /* Hero text and animations fixes */
  .hero-text-container, 
  .hero h1, 
  .hero p {
    color: var(--light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .animate-title {
    animation: fadeInUp 1s ease forwards 0.5s !important;
    opacity: 0;
  }

  .animate-subtitle {
    animation: fadeInUp 1s ease forwards 0.8s !important;
    opacity: 0;
  }

  .animate-buttons {
    animation: fadeInUp 1s ease forwards 1.1s !important;
    opacity: 0;
  }

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

  /* Search form fixes */
  .search-form {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  }

  /* Property card fixes */
  .property-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

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

  .property-img {
    position: relative;
    overflow: hidden;
    height: 250px;
  }

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

  .property-card:hover .property-img img {
    transform: scale(1.1);
  }

  .property-overlay {
    opacity: 0;
  }

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

  .btn-view {
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .property-card:hover .btn-view {
    transform: translateY(0);
  }

  /* Service cards fixes */
  .service-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
  }

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

  .service-icon {
    transition: all 0.3s ease;
  }

  .service-card:hover .service-icon {
    background-color: var(--primary);
  }

  .service-card:hover .service-icon i {
    color: white;
    transform: scale(1.1);
  }

  


  /* Testimonial section fixes */
  .testimonial-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  }

  .testimonial-profile {
    background-color: var(--primary);
  }

  .profile-info h4 {
    color: white;
  }

  .profile-info p {
    color: rgba(255, 255, 255, 0.8);
  }

  .testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .testimonial-indicators {
    display: flex;
    gap: 8px;
  }

  .testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(132, 136, 217, 0.3);
    border: none;
    padding: 0;
    transition: all 0.3s ease;
  }

  .testimonial-indicators button.active {
    background-color: var(--primary);
    transform: scale(1.2);
  }

  .testimonial-arrows {
    display: flex;
    gap: 15px;
  }

  /* Button style fixes */
  .btn-glow {
    box-shadow: 0 0 15px rgba(132, 136, 217, 0.5);
  }

  .btn-glow:hover {
    box-shadow: 0 0 20px rgba(132, 136, 217, 0.7);
  }

  .btn-outline-light {
    color: var(--light);
    border-color: var(--light);
  }

  .btn-outline-light:hover {
    background-color: var(--light);
    color: var(--primary);
  }

  .btn-with-icon i {
    transition: transform 0.3s ease;
  }

  .btn-with-icon:hover i {
    transform: translateX(5px);
  }

  /* Section titles fix */
  .title-underline {
    height: 4px;
    width: 80px;
    background: var(--primary);
    margin: 0 auto 20px;
    position: relative;
  }

  .title-underline:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 40px;
    height: 10px;
    background: var(--secondary);
    transform: translateX(-50%);
    border-radius: 10px;
  }

  /* Glass card effect enhancement */
  .glass-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .glass-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
  }

  /* Fix for hero logo animation */
  .hero-logo {
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }

  /* Responsive styles for FORM confirmation page */
@media (max-width: 991.98px) {
  .confirmation-section {
    padding: 120px 0 50px;
  }
  
  .confirmation-card {
    padding: 30px;
  }
  
  .confirmation-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
  }
  
  .confirmation-icon i {
    font-size: 45px;
  }
  
  .confirmation-card h1 {
    font-size: 2.25rem;
  }
  
  .confirmation-actions {
    gap: 12px;
  }
  
  .confirmation-actions .btn {
    min-width: 160px;
  }
  
  .follow-card {
    padding: 30px;
  }
  
  .social-link-large {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
}

@media (max-width: 767.98px) {
  .confirmation-section {
    padding: 100px 0 40px;
  }
  
  .confirmation-card {
    padding: 25px;
  }
  
  .confirmation-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .confirmation-icon i {
    font-size: 40px;
  }
  
  .confirmation-card h1 {
    font-size: 2rem;
  }
  
  .confirmation-card .lead {
    font-size: 1.1rem;
  }
  
  .confirmation-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .confirmation-actions .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .next-step-card {
    padding: 25px 20px;
  }
  
  .follow-card {
    padding: 25px;
  }
  
  .social-links-large {
    gap: 15px;
  }
  
  .social-link-large {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 575.98px) {
  .confirmation-section {
    padding: 90px 0 30px;
  }
  
  .confirmation-card {
    padding: 20px 15px;
  }
  
  .confirmation-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }
  
  .confirmation-icon i {
    font-size: 35px;
  }
  
  .confirmation-card h1 {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }
  
  .confirmation-card .lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .confirmation-details {
    font-size: 0.95rem;
  }
  
  .next-step-card {
    padding: 20px 15px;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
  }
  
  .step-icon i {
    font-size: 25px;
  }
  
  .next-step-card h3 {
    font-size: 1.25rem;
  }
  
  .follow-card {
    padding: 20px 15px;
  }
  
  .follow-card h2 {
    font-size: 1.5rem;
  }
  
  .social-links-large {
    gap: 12px;
  }
  
  .social-link-large {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {
    .btn-with-icon i {
        margin-right: 10px; /* Slightly less on mobile */
    }
}

@media (max-width: 575.98px) {
    .btn-with-icon i {
        margin-right: 8px; /* Even less on very small screens */
    }
}

/* Privacy page */
/* Ensure container padding fits small screens */
@media (max-width: 480px) {
  #privacy-page.privacy-page {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .privacy-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .privacy-list li {
    gap: 10px;
    padding: 10px;
  }

  .contact-block {
    font-size: 0.93rem;
  }

  .btn-return {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

/* Improve focus visibility for keyboard users */
.privacy-card :focus {
  outline: 3px solid rgba(132,136,217,0.18);
  outline-offset: 3px;
}

/* Reduce motion for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .privacy-list li,
  .privacy-card,
  .privacy-contact {
    transition: none !important;
    animation: none !important;
  }
}

/* Print friendly */
@media print {
  .privacy-hero,
  .btn-return,
  .privacy-contact {
    display: none;
  }
  .privacy-card {
    box-shadow: none;
    border: none;
  }
  .policy-body p {
    color: #000;
  }
}


/* terms of service */

/* Small screens adjustments */
@media (max-width: 991.98px) {
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .terms-aside {
    order: 2;
  }

  .terms-main {
    order: 1;
  }
}

/* Very small screens / phones */
@media (max-width: 575.98px) {
  #terms-page.terms-page {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .terms-hero {
    padding: 22px 0;
  }

  .terms-title {
    font-size: 1.6rem;
  }

  .terms-subtitle {
    font-size: 0.95rem;
  }

  .terms-card {
    padding: 16px;
  }

  .terms-section {
    padding: 10px;
  }

  .terms-section-title {
    font-size: 1rem;
  }

  .terms-body p,
  .terms-list {
    font-size: 0.95rem;
  }

  .terms-aside {
    padding: 12px;
  }

  .contact-block {
    font-size: 0.92rem;
  }

  .btn-return {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

/* Extra small accessibility tweak for very tight devices */
@media (max-width: 420px) {
  .terms-list {
    margin-left: 16px;
  }
}

/* Ensure focus ring remains visible on small devices */
.terms-card :focus {
  outline: 3px solid rgba(132,136,217,0.18);
  outline-offset: 3px;
}


/* Mobile logo size and spacing adjustments */
@media (max-width: 991.98px) {
  /* Reduce logo size */
  .navbar-brand .logo-image {
    height: 28px;
    max-width: 140px;
  }
  
  /* Adjust brand position */
  .navbar-brand.order-1.order-lg-0 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 5px;
    padding-right: 0;
  }
  
  /* Make hamburger menu more compact */
  .navbar-toggler.order-0 {
    margin-right: 8px;
    padding-left: 0;
  }
  
  /* Adjust contact icons */
  .navbar-contact-icons.d-flex.d-lg-none.order-2 {
    margin-left: auto;
    padding-right: 5px;
  }
  
  /* Reduce space between elements */
  #i3ge8.navbar-contact-icons {
    gap: 8px;
  }
}

/* Extra small devices */
@media (max-width: 575.98px) {
  .navbar-brand .logo-image {
    height: 24px;
    max-width: 120px;
  }
  
  .navbar-contact-icon {
    width: 30px;
    height: 30px;
  }
  
  /* Further reduce spacing */
  .navbar > .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .navbar-toggler {
    padding: 0;
    margin-right: 5px;
  }
}

/* TESTOMONIALS FINAL FIX */
/* Responsive adjustments for testimonials */
@media (max-width: 991.98px) {
  .testimonial-content {
    padding: 25px;
    min-height: 200px;
  }
  
  .testimonial-profile {
    padding: 25px 15px;
  }
  
  .profile-image {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }
}

@media (max-width: 767.98px) {
  .testimonial-content {
    padding: 20px;
    min-height: 180px;
  }
  
  .testimonial-profile {
    padding: 20px 15px;
  }
  
  .profile-image {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }
  
  .profile-info h4 {
    font-size: 1.1rem;
  }
  
  .profile-info p {
    font-size: 0.9rem;
  }
  
  .quote-mark {
    font-size: 24px;
  }
  
  .testimonial-content p {
    font-size: 0.95rem;
  }
}




/* =========================
   RESPONSIVE STYLES FOR VIDEO HOLDER
   ========================= */

@media (max-width: 1199.98px) {
  .video-frame.sleek-frame { 
    width: 88%; 
    padding: 6px;
    --frame-radius: 14px; 
  }
  .video-play-overlay .play-icon { width: 68px; height: 68px; }
  .video-frame.sleek-frame .video-favicon { top: 10px; right: 10px; width: 24px; height: 24px; }
}

@media (max-width: 767.98px) {
  .video-frame.sleek-frame { 
    width: 100%; 
    padding: 5px;
    --frame-radius: 12px; 
  }
  .video-play-overlay .play-icon { width: 56px; height: 56px; }
  .video-frame.sleek-frame .video-favicon { top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 5px; }
}