
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
 
  body {
    font-family: 'Poppins', sans-serif;
    color: #1f2a3d;
    background: radial-gradient(circle at 15% 20%, rgba(31, 131, 230, 0.08), transparent 35%), radial-gradient(circle at 85% 10%, rgba(17, 94, 166, 0.08), transparent 32%), #f7f9fc;
    line-height: 1.6;
  }
 
  a {
    text-decoration: none;
    color: inherit;
  }
  
  .properties,
  .services, 
  .agents {
    padding: 2rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
  }

  .services {
    background: #ffffff;
    margin: 2rem;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(15, 110, 199, 0.08);
  }

  .services-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 1.5rem;
  }

  .services-header .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #0f6ec7;
    margin-bottom: 0.35rem;
  }

  .services-header .lede {
    color: #4a5568;
    font-size: 1.05rem;
  }
  
  .property-cards,
  .service-cards,
  .agent-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .property-card,
  .service-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 0.75rem;
    flex-basis: calc(33% - 1rem);
    box-shadow: 0 10px 30px rgba(15, 110, 199, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #0f6ec7, #50b8ff) 1;
  }

  .agent-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 110, 199, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
  }
  
  .property-card:hover,
  .service-card:hover,
  .agent-card:hover {
    box-shadow: 0 16px 40px rgba(15, 110, 199, 0.16);
    transform: translateY(-2px);
  }
  
  .property-card img,
  .service-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;
  }

  .agent-card img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    display: block;
  }

  .agent-card .placeholder {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    background-color: #ccc;
  }
  
  .property-card h3,
  .agent-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333333;
  }

  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2a3d;
  }

  .service-card p {
    font-size: 1rem;
    color: #4a5568;
  }

  .service-card__icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 25% 25%, #ffffff, #e6f2ff 60%, #cfe6ff);
    border-radius: 50%;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: 0 12px 30px rgba(15, 110, 199, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .service-card__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.65), transparent 55%);
    mix-blend-mode: screen;
  }

  .service-card__icon img {
    width: 60px;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .service-card__points {
    list-style: none;
    padding-left: 0;
    margin: 0.75rem 0 1rem;
    color: #4a5568;
  }

  .service-card__points li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.35rem;
  }

  .service-card__points li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0f6ec7;
    font-weight: 700;
  }

  .service-card__cta {
    display: inline-block;
    padding: 0.65rem 1rem;
    background: #0f6ec7;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }

  .service-card__cta:hover {
    background: #0c5ea9;
    box-shadow: 0 10px 26px rgba(12, 94, 169, 0.22);
    transform: translateY(-1px);
  }
  
  .property-card p,
  .agent-card p {
    font-size: 1rem;
  }

  .valuation-form-section {
    padding: 2rem;
    text-align: center;
    background: #ffffff;
    margin: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 110, 199, 0.08);
  }

  .valuation-form-section h2 {
    color: #1F83E6;
  }
  
  .valuation-form {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    width: 100%;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .form-group label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .form-group input {
    font-size: 1rem;
    padding: 0.5rem;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  button[type="submit"] {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: #1F83E6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Poppins', sans-serif;
  }
  
  button[type="submit"]:hover {
    background-color: #77b3f0;
    font-family: 'Poppins', sans-serif;
  }

  .valuation-card {
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 1rem;
    margin: 3rem;
    flex-basis: calc(33% - 1rem);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    background-color: #ffffff;
  }
  
  @media screen and (max-width: 768px) {
    .property-card,
    .service-card, 
    .agent-card, 
    .valuation-card {
      background-color: #ffffff;
      border-radius: 5px;
      padding: 1rem;
      margin: 0.5rem;
      flex-basis: calc(50% - 1rem);
    }
  }
  
  @media screen and (max-width: 480px) {
    .property-card,
    .service-card,
    .valuation-card {
      flex-basis: 100%;
    }
  }

header {
    background-color: #ffffff;
    padding: 1rem 2rem;
    box-shadow: 0 8px 24px rgba(15, 110, 199, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    display: flex;
}
  
.nav-links li {
    margin-left: 2rem;
}
  
.nav-links a {
    color: #1f2a3d;
    transition: color 0.3s;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: #1F83E6;
}

.nav-links a.active {
    color: #ff8f3f;
    font-weight: 700;
    border-bottom: 2px solid #ff8f3f;
    padding-bottom: 0.25rem;
}

.nav-links a.nav-cta {
    color: #ffffff;
}

.nav-cta {
    padding: 0.55rem 1rem;
    background: linear-gradient(135deg, #1f83e6, #50b8ff);
    color: #ffffff;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(31, 131, 230, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(31, 131, 230, 0.3);
}

.nav-cta:visited {
    color: #ffffff;
}

.nav-cta.active {
    background: linear-gradient(135deg, #ff9a3f, #ffc15a);
    box-shadow: 0 14px 34px rgba(255, 143, 63, 0.4);
    transform: translateY(-1px);
    color: #1f2a3d;
}

@media screen and (max-width: 768px) {

    nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        list-style: none;
        display: flex;
        flex-direction: column; /* Change to a column layout for mobile */
        align-items: flex-start; /* Left-align the links for mobile */
        margin-top: 20px;
    }

    .nav-links a {
        text-decoration: underline;
        text-decoration-color: #1F83E6;
        font-size: 18pt;
    }

    .nav-links li {
        margin-left: 0; /* Remove the margin for mobile */
        margin-bottom: 1rem; /* Add bottom margin for spacing between links */
    }

    .nav-cta {
        display: inline-block;
        padding: 0.75rem 1.1rem;
        text-align: center;
        width: 100%;
    }
}

.hero {
    position: relative;
    background-image: url('images/hero_small.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 3rem 2rem;
    overflow: hidden;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 25%, rgba(120, 205, 255, 0.18), transparent 34%),
      radial-gradient(circle at 80% 20%, rgba(36, 115, 255, 0.14), transparent 30%),
      radial-gradient(ellipse at 40% 80%, rgba(0, 60, 120, 0.12), transparent 45%),
      linear-gradient(135deg, rgba(0, 40, 90, 0.12), rgba(0, 0, 0, 0.06));
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    mix-blend-mode: screen;
    opacity: 0.14;
  }
  
  .hero .text-container {
    position: relative;
    padding: 2rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(1px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    max-width: 720px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
  }
  
  .hero p {
    font-size: 1.15rem;
    font-weight: 300;
    color: #e9f2ff;
  }

  .hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
  }

  .hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    color: #cfe6ff;
    margin-bottom: 0.6rem;
    font-weight: 700;
  }

  .hero-lede {
    margin-bottom: 1.25rem;
    max-width: 640px;
  }

  .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #d6e6ff;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .btn-primary,
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 10px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  }

  .btn-primary {
    background: linear-gradient(135deg, #1f83e6, #50b8ff);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(31, 131, 230, 0.25);
  }

  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(31, 131, 230, 0.3);
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    color: #e9f2ff;
    border-color: rgba(255, 255, 255, 0.25);
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
  }

  .hero-microcopy {
    font-size: 0.95rem;
    color: #d6e6ff;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    align-content: start;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.1);
    padding: 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  }

  .stat-card {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.1rem;
    letter-spacing: -0.4px;
  }

  .stat-label {
    color: #d6e6ff;
    font-size: 0.95rem;
  }

  @media screen and (max-width: 900px) {
    .hero-inner {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .hero {
      padding: 2.5rem 1.25rem;
      min-height: 70vh;
    }

    .hero-stats {
      display: none;
    }
  }

  @media screen and (max-width: 640px) {
    .hero h1 {
      font-size: 2.2rem;
    }

    .hero p {
      font-size: 1rem;
    }

    .hero .text-container {
      padding: 1.5rem;
    }

    .hero-ctas {
      flex-direction: column;
      align-items: stretch;
    }
  }

  @media screen and (max-width: 768px) {
    
    .hero .text-container {
      padding: 5px;
      color: white;
    }

    .hero h1 {
        font-size: 18pt;
        font-weight: 400;
      }
      
      .hero p {
        font-size: 12pt;
        font-weight: 200;
      }

    .hero {
        height: 30vh;
      }
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem;
    text-align: center;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .footer-link {
    margin: 0 1rem;
  }
  
  .footer-link h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .footer-link ul {
    list-style: none;
  }
  
  .footer-link a {
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .footer-link a:hover {
    color: #1F83E6;
  }

  .footer-link.about-us, 
  .footer-link.contact {
  padding: 0 20px;
}

p.copyright {
    padding-bottom: 20px;
    text-align: center;
  }

  @media screen and (max-width: 768px) {
    .footer-links {
      flex-direction: column;
    }
  
    .footer-link {
      margin: 1rem 0;
    }
  }
.logo-container {
    width: 116px; /* Set the width of the container */
    height: 48px; /* Set the height of the container */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

/* CSS for the logo image */
.logo-image {
    max-width: 100%; /* Ensure the image fits within the container */
    max-height: 100%; /* Ensure the image fits within the container */
    user-select: none; /* Make the image non-selectable */
}
.idx-hero {
    background: linear-gradient(135deg, #0f6ec7, #1f83e6);
    color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin: 2rem;
    box-shadow: 0 18px 40px rgba(15, 110, 199, 0.28);
}

.idx-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.idx-hero p {
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.idx-search {
    margin: 0 auto 2rem;
    max-width: 720px;
}

.idx-search form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 1rem;
    border-radius: 10px;
}

.idx-search input,
.idx-search select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
}

.idx-search button {
    padding: 0.85rem;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    color: #0f6ec7;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.idx-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.idx-results {
    margin: 2rem;
}

.idx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.idx-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.idx-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.idx-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.idx-card .idx-card-body {
    padding: 1rem;
}

.idx-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.idx-card .price {
    font-weight: 700;
    color: #0f6ec7;
    margin-bottom: 0.4rem;
}

.idx-card .meta {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.25rem;
}

.idx-card .address {
    font-size: 0.95rem;
    color: #333333;
}

.idx-alert {
    margin: 1rem 2rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: #fff5e5;
    color: #8a4b0e;
    border: 1px solid #f3d2a2;
}

.idx-empty {
    text-align: center;
    padding: 2rem;
    color: #666;
}

@media screen and (max-width: 640px) {
    .idx-hero {
        margin: 1rem;
        border-radius: 10px;
    }

    .idx-results {
        margin: 1rem 1rem 2rem;
    }
}
