.welcome-area {
    padding: 80px 0;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgb(52, 56, 61);
    font-size: 14px;
    line-height: 25px;
}


.welcome-content p {
    margin-bottom: 20px;
}

.welcome-image {
    padding-left: 30px;
}

.welcome-image img {
    width: 100%;
    height: auto;
}

.welcome-content a {
    color: #000; /* Make links black */
    text-decoration: none;
}

.welcome-content a:hover {
    text-decoration: underline;
}

.welcome-content .btn {
    border-radius: 0%;
    color: #000;
    border-color: #000;
}

.welcome-content .btn:hover {
    background-color: #000;
    color: #fff;
}


/* Testimonials */
.section-title.testi {
  text-align: center;
  font-family: 'Georgia', serif;
}

.top-text {
  display: inline-block;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 2px;
  position: relative;
  /* padding-bottom: 20px; */
}

.top-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 26% ;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background-color: #ccc;
  /* top: 120%; */
}

.bottom-text {
  display: block;
  /* margin-top: 20px; */
  font-size: 20px;
  color: #999;
  letter-spacing: 1px;
  margin-left: 235px;
}
@media (max-width: 991px) {
  .top-text {
    font-size: 32px;
  }

  .top-text::after {
    width: 120px;
    left: 50%;
  }

  .bottom-text {
    font-size: 16px;
    margin-left: 0;
    margin-top: 10px;
  }
}

.testimonials {
    padding: 80px 0;
}

.testimonial-card {
    padding: 30px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rating {
    color: gold;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h3 {
    font-size: 1.1rem;
    margin: 0;
}

 .btn-testimonial{
    border-radius: 0%;
    color: #000;
    border-color: #000;
}

.btn-testimonial:hover{
       background-color: #000;
    color: #fff;
}
.welcome-content .btn:hover {
    background-color: #000;
    color: #fff;
}

.cta-card {
    display: flex;
    height: 150px;
    background-color: var(--light-gray);
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none; /* Remove underline */
    color: var(--primary-color); /* Inherit text color */
    border: 1px solid #ccc; /* Add border */
    transition: all 0.3s ease;
}

.cta-card h3 {
    font-size: 1.8rem;
    margin: 0;
    transition: all 0.3s ease;
}

.cta-card h3 span {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
}

.cta-card:hover {
    background-color: black;
    color: white;
}

.cta-card:hover h3 {
    color: var(--secondary-color);
}


/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://chapmanhallrealtors.com/wp-content/themes/agentpro-radiance/assets/images/blog-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.blog-card {
    background-color: var(--secondary-color);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.read-more {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.blog-card:hover .read-more::after {
    background-color: var(--accent-color);
}

.intro-text-wrap {
    text-align: left;
    margin-bottom: 30px;
}

.intro-small {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #34383d;
    display: inline-block;
    margin-bottom: 8px;
}

.intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 55px;
    font-weight: 400;
    color: #161616;
    line-height: 60px;
    margin: 0;
}

.intro-subtitle {
    display: block;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 25px;
    color: #a1a1a1;
    margin-top: 5px;
margin-left: 50%;
}

/* .moveie {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.movei::before {
    content: '';
    width: 210px;
    height: 1px;
    background-color: #ccc;
    position: absolute;
    top: 20%;
    transform: translateY(-50%);
    left: 35%;
} */
@media (max-width: 991px) {
  .intro-title {
    font-size: 36px;
    line-height: 44px;
  }

  .intro-subtitle {
    font-size: 18px;
    line-height: 22px;
    margin-left: 0; /* remove the shift */
  }

  .intro-small {
    font-size: 12px;
  }
}
