/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

/* Agent Container */
.agent-container {
  width: 80%;
  margin: 20px auto;
}

/* Agent Card */
.agent-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.agent-photo img {
  width: 100%;
  height: auto;
  max-width: 200px;
}
.agent-info {
  padding: 20px;
  flex: 1;
}
.agent-info h1 {
  font-size: 20px;
  color: #333;
}
.agent-info h3 {
  font-size: 16px;
  color: #666;
}
.agent-stats {
  display: flex;
  justify-content: space-around;
  margin: 10px 0;
}
.agent-stats div {
  text-align: center;
  font-size: 14px;
}
.agent-stats span {
  font-size: 12px;
  color: #888;
}

/* Buttons */
.contact-btnOne, .contact-btn {
  padding: 10px 20px;
  font-size: 14px;
  background-color: red;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.contact-btnOne:hover, .contact-btn:hover {
  background-color: #eb3939;
}

/* About Section */
.about-section {
  margin-top: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.about-section h2 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  border-bottom: 2px solid red;
  display: inline-block;
  padding-bottom: 5px;
}
.about-section p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Property Card */
.property-card {
  background: #f7f7f7;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
  width: 30%;
  flex-shrink: 0;
}

/* Image Placeholder */
.image-placeholder {
  height: 120px;
  background: #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

/* Property Info */
.super-area, .price, .possession {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}
.price .emi {
  color: #e74c3c;
  font-weight: bold;
  font-size: 13px;
}
.property-info h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}
.property-info .rating {
  font-size: 12px;
  color: #555;
}
.property-info .price {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin: 10px 0;
}
.property-info .details {
  font-size: 12px;
  color: black;
  font-weight: bold;
}
.property-info .highlights {
  font-size: 12px;
  color: #777;
  margin: 10px 0;
}

.rent-specials {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

a {
  color: #007aff;
  text-decoration: none;
  font-size: 16px;
}

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

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

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #28a745;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
}

.card-content {
  padding: 15px;
}

.type {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

h3 {
  font-size: 18px;
  margin: 5px 0;
  color: #333;
}

.card p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.card-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  overflow-x: scroll;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.card-container::-webkit-scrollbar {
  display: none;
}

.card {
  flex: 0 0 auto;
  margin-right: 10px;
  width: 300px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  padding: 0.5rem;
  border-radius: 50%;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}


/* Media Queries */
@media (min-width: 600px) {
  .agent-card, .property-cardNew {
      flex-direction: row;
  }
  .agent-photo img {
      max-width: 150px;
  }
  .property-cardNew {
      width: auto;
      margin-left: 0;
      margin-right: 0;
  }
}
@media (min-width: 1024px) {
  .agent-container {
      width: 70%;
  }
  .contact-btnOne, .contact-btn {
      width: auto;
  }
}
