@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
*{
    margin: 0;
    padding: 0;
}
 body {
      /* background: #FFFDFB; */
      background: #fff;
        font-family: "Open Sans", sans-serif;
    }

    .navbar-nav{
        margin-left: 40px;
    }
    .navbar-nav li{
        margin-right: 15px;
        margin-left: 15px;
        color: #000;
        border-radius: 8px;
        
    }
    /* .navbar-nav li a{
          padding: 5px 20px;
    } */


    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
        background: #fff;
        box-shadow: 0 0px 10px #f1f1f1;
        border-radius: 12px;
    }
    .navbar-nav .nav-link:hover{
        background: #fff;
        box-shadow: 0 0px 10px #f1f1f1;
        border-radius: 12px;
    }
    .btn-shadow{
            box-shadow: 0 0px 15px #bababa;
}

    .hero {
      padding: 200px 0;
      position: relative;
    }
    .hero h1 {
      font-size: 55px;
      font-weight: 700;
      margin-bottom: 20px;
      color: #000;
      font-family: "Open Sans", sans-serif;
    }
    .hero p {
      font-size: 27px;
      color: #555;
      margin-bottom: 30px;
      font-family: "Open Sans", sans-serif;
    }
    .hero .small{
      font-size: 15px;
    }

    .search-box {
      max-width: 560px;
      margin: 20px 0;
      box-shadow: 0 0 13px #f1f1f1;
          border-radius: 10px;
    padding: 6px;
    background: #fff;
    }
    .search-box .form-control {
      border-right: 0;
      border: none;
      box-shadow: none;
      padding: 11px 10px;
    }
    .search-box .input-group-text{
      border: none;
      border-radius: 10px 0 10px 10px;
    }
    .search-box .btn {
          border-radius: 12px !important;
    padding: 0 20px;
    border: 4px solid #fff;
    box-shadow: 0 0 21px #efefef;
    }

    .step-icon .position-absolute{
      left: 10px;
      top: 10px;
    }

    .curve-line {
    position: absolute;
    top: 40px; /* Adjusts vertical alignment of the curve */
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 0;
  }
  .step-icon {
    z-index: 1;
  }

.curved-connector {
     position: absolute;
    top: 23%;
    left: 22.5%;
    width: 55%;
    height: 211px;
    pointer-events: none;
    z-index: 1;
}


  
  
    

    /* Agent Cards */
    .agent-wrapper {
      position: relative;
      display: inline-block;
    }
    .agent-wrapper::before {
      content: "";
      position: absolute;
      top: 30%;
      left: 40%;
      width: 450px;
      height: 450px;
       border: 3px dashed #DCDCDF;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      z-index: 1;
    }
    .agent-card {
          border-radius: 15px;
    padding: 20px;
    width: 235px;
    height: 300px;
    box-shadow: 0px 10px 25px rgb(0 0 0 / 33%);
    position: absolute;
    z-index: 2;
    overflow: hidden;
    border: 4px solid #fff;
    }
    .agent-card img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      margin-bottom: 10px;
          margin-left: 20px;
    }
    .agent-red {     
            background: #f06565;
    top: -180px;
    right: 23px;
    color: #fff;
 }
    .agent-dark { 
               background: #2d3436;
    top: -289px;
    left: 22px;
    color: #fff;
     }
    .agent-yellow { 

               background: #f7c843;
    top: 0;
    left: -45px;
    color: #000;
     }
    .agent-card h5 { font-size: 18px; margin-bottom: 5px; }
    .agent-card p { margin: 0; font-size: 14px; }
    .rating { font-size: 14px; margin-top: 10px; }

    .agent-card .content {
        text-align: left;
    }
    .agent-card .rating {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }

    .how-it-works {
      padding: 60px 0;
      text-align: center;
      background: #fff;
          margin-top: 110px;
    }
    .how-it-works h2 {
      font-weight: 700;
      margin-bottom: 50px;
    }
    .step {
      position: relative;
      padding: 20px;
    }
    
 .fagent-card {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    position: relative;
        height: 385px;
 border: 4px solid #fff;
    box-shadow: 0px 10px 25px rgb(0 0 0 / 33%);
     /* slightly lifted */
  }
  .fagent-card.left1{
    transform: translateY(-12px);
  }
  .fagent-card.left3{
    transform: translateY(-12px);
  }
  .fagent-card.left2{
    transform: translateY(12px);
  }
  .fagent-card.left4{
    transform: translateY(12px);
  }
  .fagent-img {
    width: 100%;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    right: 0;
        max-height: 380px;
    object-fit: cover;
  }
  .rating {
    font-size: 14px;
    font-weight: 500;
  }

.card-custom,.card-custom2{
  border: none;
}
    
.card-custom .card-body {
  display: flex;
  flex-direction: column;
    justify-content: space-between;
  border: 5px solid #FC6C6C;
  border-radius: 12px;
  position: relative;
  left: -20px;
  background: #fff;
  padding: 0;
}
.card-custom .bfooter{
  background: #FC6C6C;
  padding: 20px 10px;
}
.card-custom .blogbtn{
      background: #fff;
      width: 43px;
      text-align: center;
      padding-top: 8px;
      border-radius: 23px;
}

.card-custom2 .card-body {
  display: flex;
  flex-direction: column;
    justify-content: space-between;
  border: 5px solid #343C44;
  border-radius: 12px;
  position: relative;
  top: -20px;
  background: #fff;
  padding: 0;
}
.card-custom2 .card-footer{
  position: relative;
    top: -78px;
    border-radius: 0px 0px 15px 15px;
}
.card-custom2 .bfooter{
  background: #343C44;
  padding: 20px 10px;
}
.card-custom2 .blogbtn{
      background: #fff;
      width: 43px;
      text-align: center;
      padding-top: 8px;
      border-radius: 23px;
}


     .local-agent-section {
       background: linear-gradient(#ffffff, #009961, #fff);
    color: #fff;
    padding: 130px 0;
    text-align: center;
    }

    .local-agent-section .local-agent-text {
      text-align: center;
    }
    .local-agent-section .local-agent-text h2 {
      font-size: 3rem;
      font-weight: 700;
      color: #fff;
    }

    .local-agent-section h2 .highlight {
      color: #ffcc33; /* Yellow/Orange for "Local Agent" */
    }

    .local-agent-section .local-agent-text p {
      color: #f1f1f1;
      font-size: 1rem;
      margin-top: 15px;
      margin-bottom: 30px;
      padding: 0 80px;
      
    
    }

    .join-btn {
           border: 2px solid #fff;
    background: #008853;
    color: #fff;
    padding: 10px 50px;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 1px 10px #a7a7a7;
    }

    .join-btn:hover {
      background: #fff;
      color: #009961;
    }




    @media (min-width: 768px) {
      .local-agent-section .row {
        text-align: left;
        align-items: center;
      }
    }



    .popular-locations{
        padding-top: 50px;
    padding-bottom: 110px;
    }

    .popular-locations .station1{
      background-color: #008853;
      color: #fff;
    }
    .popular-locations p{
      /* color: #fff !important; */
      margin-bottom: 0;
      font-size: 13px;
    }
    .popular-locations .station2{
      background-color: #f7c843;
      color: #000;
    }

    .popular-locations .station3{
      background-color: #343C44;
      color: #000;
    }
    .popular-locations .station4{
      background-color: #FC6C6C;
      color: #000;
    }

    .cmargintop{
      margin-top: 100px;
    }
    .start-15{
      left: 15% !important;
    }
    .end-15{
      right: 15% !important;
    }
    .top-minus-55{
      top: -55% !important;
    }

    .footer {
      background-color: #2c3e50;
      color: #ecf0f1;
      padding: 60px 0 20px;
    }
    .footer a {
      color: #ecf0f1;
      text-decoration: none;
          font-size: 15px;
    }
    .footer a:hover {
      text-decoration: underline;
    }
    .footer ul li a{
      line-height: 27px;
    }
    .footer h6{
      font-size: 18px;
    }
    .footer p{
      font-size: 14px;
    }

    .footer input[type="email"] {
      border-radius: 5px;
      padding: 8px;
      border: none;
      width: 100%;
      margin-bottom: 10px;
    }
    .subscribe-btn {
      background-color: #0b9e79;
      color: white;
      border: none;
      width: 100%;
      padding: 8px;
      border-radius: 5px;
    }
    .footer-bottom {
      border-top:1px solid rgb(255 255 255 / 30%);
      padding-top: 20px;
      font-size: 14px;
      margin-top: 40px;
    }
    .social-icons a {
      margin-right: 15px;
      color: #ecf0f1;
    }

    @media (max-width: 767px) {
      .hero {
        padding: 100px 0 150px;
      }
      .hero h1 {
        font-size: 32px;
      }
      .hero p {
        font-size: 18px;
      }
      .search-box {
        max-width: 100%;
        margin: 20px 10px;
      }
      .local-agent-section .local-agent-text p {
        padding: 0 20px;
      }

      .agent-wrapper {
          position: relative;
          display: inline-block;
          margin-top: 290px;
      }
      
      .agent-card {
          border-radius: 15px;
          padding: 20px;
          width: 190px;
          height: 220px;
          box-shadow: 0px 10px 25px rgb(0 0 0 / 33%);
          position: absolute;
          z-index: 2;
          overflow: hidden;
          border: 4px solid #fff;
      }

      .agent-wrapper::before {
          content: "";
          position: absolute;
          top: 30%;
          left: 40%;
                  width: 340px;
        height: 345px;
          border: 3px dashed #DCDCDF;
          border-radius: 50%;
          transform: translate(-50%, -50%);
          z-index: 1;
      }
      .agent-red {
          background: #f06565;
          top: -180px;
          right: 9px;
          color: #fff;
      }
      .agent-dark {
          background: #2d3436;
          top: -249px;
          left: 8px;
          color: #fff;
      }
      .agent-yellow {
          background: #f7c843;
          top: -4px;
          left: -21px;
          color: #000;
      }
      .agent-card h5 {
          font-size: 15px;
          margin-bottom: 5px;
      }
      .agent-card p {
          margin: 0;
          font-size: 10px !important;
      }
      .curved-connector{
        display: none;
      }
      .how-it-works .mb-5{
        margin-bottom: 5px !important;
      }
      .location-card svg{
        display: none;
      }
      .location-card .mb-5{
        margin-bottom: 15px !important;
      }
      .popular-locations {
          padding-top: 50px;
          padding-bottom: 75px;
      }
      
      .popular-locations .mb-5{
        margin-bottom: 5px !important;
      }
      .popular-locations .mb-4{
        margin-bottom: 5px !important;
      }
      .popular-locations .m-4{
        margin: 0.5rem!important;
      }
      .popular-locations{
        background-image: none !important;
      }
      .popular-locations h2{
        margin-bottom: 40px !important;
      }
      .cmargintop{
        margin-top: 0 !important;
      }
      .fagent-card {
          border-radius: 20px;
          border: none;
          overflow: hidden;
          position: relative;
          height: 285px;
          border: 4px solid #fff;
          box-shadow: 0px 10px 25px rgb(0 0 0 / 33%);
      }
      .buyerseller{
        margin-top: 35px;
      }
      .foragent{
        margin-top: 30px;
      }
      .stayupdated{
        margin-top: 30px;
      }
      .policysection{
        margin-top: 20px;
        text-align: center !important;
      }
      .policysection span{
        display: block;
        margin-top: 10px;
      }

    }