
* {
  font-family: 'Poppins', sans-serif;
}

.Top_header {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: #083359;
  color: #ffffff;
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.top-header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}
/* Contact links */
.email-link,
.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
}
.email-link:hover,
.phone-link:hover {
  text-decoration: underline;
}
/* Icons */
.material-symbols-outlined {
  font-size: 18px;
}


.Main_header {
  position: sticky;
  top: 48px;
  z-index: 1000;
  background: #2291F2;
  padding: 15px 40px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  height: 60px;
  width: auto;
}
/* Nav list */
nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
nav li {
  position: relative;
}

/* Nav links */
nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease;
}
nav a:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #777;
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Hero search container */
.hero-search {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hero-search h1 {
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

/* SEARCH */
.search-bar {
  display: flex;
  width: 700px;
  max-width: 90vw;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-bar input {
  flex: 1;
  padding: 18px 20px;
  font-size: 18px;
  border: none;
  outline: none;
}

.search-bar button {
  padding: 0 30px;
  background: #2291F2;
  color: #fff;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-bar button:hover {
  background: #083359;
}


.search-filters {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.search-filters select,
.search-filters input {
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  outline: none;
  min-width: 150px;
}

.search-filters input {
  width: 150px;
}

.search-filters select {
  background: #fff;
  cursor: pointer;
}

.filter-box {
  width: 700px;
  max-width: 90vw;
  margin: 12px auto 0;
  background: #fff;
  padding: 18px 20px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Filter focus */
.search-filters select:focus,
.search-filters input:focus {
  border-color: #2291F2;
  outline: none;
}


@media (max-width: 600px) {

  .hero-search h1 {
    font-size: 28px;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-bar button {
    width: 100%;
    padding: 15px;
  }

  .search-filters {
    flex-direction: column;
    width: 100%;
  }

  .search-filters select,
  .search-filters input {
    width: 100%;
  }

  .filter-box {
    width: 100%;
  }

}

.recently-sold {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.recently-sold h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}


.listing-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: space-between;
}

.listing-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;

  width: calc(33.333% - 13px);

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: column;

  flex: 1 1 0;
  max-width: 32%;
}

.listing-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sold badge */

.sold-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(128, 128, 128, 0.8);
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 3px;
}


.listing-details {
  padding: 15px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Info row */
.listing-info span {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
}
.listing-price span {
  color: green;
  font-weight: bold;
}
.listing-address strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.listing-address p {
  font-size: 12px;
  color: #555;
}

.listing-type {
  background: #eee;
  color: #666;
  font-size: 12px;
  text-align: center;
  padding: 5px;
  border-radius: 3px;
}

.more-listings {
  text-align: center;
  margin-top: 30px;
}

.more-listings button {
  background: #2291F2;
  color: #fff;

  padding: 10px 30px;

  border: none;
  border-radius: 5px;

  cursor: pointer;
  font-weight: bold;
}

.more-listings button:hover {
  background: #083359;
}

/* Tablet */
@media (max-width: 992px) {

  .listing-card {
    width: calc(50% - 10px);
  }

}

/* Mobile */
@media (max-width: 600px) {

  .listing-container {
    flex-direction: column;
  }

  .listing-card {
    width: 100%;
    max-width: 100%;
  }

}

.employee-slider {
  position: relative;
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}
.employee-slider h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}
/* Hide radio buttons */
.employee-slider input[type="radio"] {
  display: none;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;}
  
.slider-track {
  display: flex;
  width: 600%;
  transition: transform 0.6s ease-in-out;
}

.employee-card {
  min-width: 100%;
  display: flex;
  gap: 30px;
  align-items: center;
  background: #fff;
  padding: 40px;
  box-sizing: border-box;
}

/* Employee image */
.employee-card img {
  width: 260px;
  height: 320px;
  object-fit: contain;
  object-position: top;
  border-radius: 12px;
  background: #f4f4f4;
}

.employee-info h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.employee-info p {
  margin: 6px 0;
  color: #555;
  line-height: 1.5;
}

/* Rating stars */
.stars {
  color: #f5b301;
  font-size: 1.2rem;
  margin: 8px 0;
}

.quote {
  font-style: italic;
}
/*SLIDE */
#slide1:checked ~ .slider-wrapper .slider-track {
  transform: translateX(0%);
}
#slide2:checked ~ .slider-wrapper .slider-track {
  transform: translateX(-100%);
}
#slide3:checked ~ .slider-wrapper .slider-track {
  transform: translateX(-200%);
}
#slide4:checked ~ .slider-wrapper .slider-track {
  transform: translateX(-300%);
}
#slide5:checked ~ .slider-wrapper .slider-track {
  transform: translateX(-400%);
}
#slide6:checked ~ .slider-wrapper .slider-track {
  transform: translateX(-500%);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
  z-index: 10;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}
/* Show correct arrows per slide */
#slide1:checked ~ .slider-wrapper .s1 {
  display: flex;
}
#slide2:checked ~ .slider-wrapper .s2 {
  display: flex;
}
#slide3:checked ~ .slider-wrapper .s3 {
  display: flex;
}
#slide4:checked ~ .slider-wrapper .s4 {
  display: flex;
}
#slide5:checked ~ .slider-wrapper .s5 {
  display: flex;
}
#slide6:checked ~ .slider-wrapper .s6 {
  display: flex;
}

@media (max-width: 768px) {
  .employee-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .employee-card img {
    width: 200px;
    height: 200px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

}

.employee-slider {
  background: linear-gradient(
    180deg,
    #f4f9ff 0%,
    #e6f1ff 100%);
  border: 2px solid rgba(34, 145, 242, 0.35);
  border-radius: 16px;
  padding: 70px 24px;
  max-width: 1200px;
  margin: 80px auto;
}
.employee-slider h2 {
  color: #083359;
}

/* Improved employee card layout */
.employee-card {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  background: #fff;
  padding: 40px;
  box-sizing: border-box;
  overflow: hidden;
}
.employee-card img {
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}
/* Employee text container */

.employee-info {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}
/* Quote text safety */
.quote {
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

/*FOOTER*/
.site-footer {
  background: #083359;
  color: #ffffff;
  padding: 30px 40px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-social {
  max-width: none;
  margin: 0;
}

.footer-social a svg {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social a:hover svg {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-social span {
  font-weight: bold;
  color: #e60000;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #ccc;
}

/* Footer responsive */
@media (max-width: 768px) {
  .employee-card {
    padding: 30px 20px;
  }

}
/*CONTACT*/
.contact-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.contact_us {
  text-align: center;
  font-size: 20px;
  margin: 50px 0 40px;
  color: ;
}

.map-wrapper {
  width: 100%;
  height: 400px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-box {
  background: white;
  padding: 30px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  margin-top: -4px;
}

.contact-box h2 {
  color: #2291F2;
  margin-bottom: 15px;
}

.contact-box p {
  margin-bottom: 12px;
  font-size: 16px;
}

.contact-box a {
  color: #2291F2;
  text-decoration: none;
}
.contact-box a:hover {
  text-decoration: underline;
}

/*ABOUT  */
.section {
  padding: 80px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 60px;
  color: #083359;
  position: relative;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #2291F2;
  display: block;
  margin: 14px auto 0;
  border-radius: 3px;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* Agent card */
.agent-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 25px 35px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.agent-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.agent-card img {
  width: 190px;
  height: 240px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.agent-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #083359;
}

.agent-card h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2291F2;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.agent-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}
/*EXPERIENCE*/
.about-experience {
  padding: 90px 20px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f4f9ff 100%
  );
}
.about-experience .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-experience h2 {
  font-size: 2.4rem;
  color: #083359;
  margin-bottom: 25px;
}

.about-experience h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #2291F2;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

.about-experience p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 22px;
}
.experience-badge {
  margin-top: 35px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #083359;
  color: #fff;
  padding: 22px 30px;
  border-radius: 14px;
}

.experience-badge span {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge small {
  font-size: 0.95rem;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 768px) {

  .about-experience h2 {
    font-size: 2rem;
  }

  .about-experience p {
    font-size: 1rem;
  }

}

.sales-page {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Search */
.sales-search {
  text-align: center;
  margin-bottom: 40px;
}

.sales-search h1 {
  color: #083359;
  margin-bottom: 20px;
}

/* Results bar */
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 20px;
  font-size: 15px;
}

.sort-dropdown {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.sales-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.sale-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sale-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

.sale-image {
  position: relative;
  height: 200px;
}

.sale-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #2291F2;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
}

/* Info */
.sale-info {
  padding: 15px;
}

.sale-price {
  font-size: 22px;
  font-weight: 700;
  color: #083359;
  margin-bottom: 6px;
}

.sale-stats {
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
}

.sale-stats span {
  margin-right: 10px;
}

.sale-address {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.sale-type {
  background: #f1f4f8;
  font-size: 12px;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  color: #555;
}

/* Desktop */
@media (min-width: 1200px) {
  .sales-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* Tablet */
@media (min-width: 700px) and (max-width: 1199px) {
  .sales-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* Mobile */
@media (max-width: 699px) {
  .sales-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .results-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

}
/*LISTING*/
.listing-detail {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

/* Media grid */
.listing-media {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  border-radius: 14px;
  overflow: hidden;
}

.main-photo {
  position: relative;
  height: 420px;}
.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.for-sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: #000;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.thumb-grid img,
.see-all {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.see-all {
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  gap: 6px;
}

.listing-info-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.price {
  font-size: 34px;
  color: #083359;
  margin-bottom: 5px;
}

.address {
  color: #555;
  margin-bottom: 25px;
}

.quick-stats-and-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 25px;
}

/* Stats */
.quick-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.quick-stats div strong {
  font-size: 22px;
}

.quick-stats div span {
  display: block;
  font-size: 13px;
  color: #666;
}

.estimate-box {
  background: #eef5ff;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 14px;
}

.estimate-box a {
  color: #2291F2;
  font-weight: 600;
  margin-left: 8px;
  text-decoration: none;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  font-size: 14px;
} /* ← THIS WAS MISSING */

.listing-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
}

.listing-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  font-weight: 600;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.primary-btn {
  background: linear-gradient(
    135deg,
    #2291F2,
    #083359);
  color: #fff;
  border: none;
  box-shadow: 0 6px 18px rgba(34,145,242,0.35);
}

.primary-btn small {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 4px;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(34,145,242,0.45);
  background: linear-gradient(
    135deg,
    #083359,
    #2291F2
  );
}

.secondary-btn {
  background: #fff;
  color: #2291F2;
  border: 2px solid #2291F2;
  box-shadow: 0 4px 12px rgba(34,145,242,0.2);
}

.secondary-btn:hover {
  background: #2291F2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34,145,242,0.35);
}

/* Description */

.listing-description {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-top: 20px;
}


@media (max-width: 900px) {
  .listing-media,
  .listing-info-row {
    grid-template-columns: 1fr;
  }

  .main-photo {
    height: 300px;
  }

  .quick-stats-and-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .listing-actions button {
    width: 100%;
  }

}

.tour-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.tour-form input {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.tour-form button {
  margin-top: 10px;
}


/* Align quick stats horizontally above buttons */
.quick-stats-and-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-stats {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.quick-stats div strong {
  font-size: 22px;
}

.quick-stats div span {
  display: block;
  font-size: 14px;
  color: #444;
}

/* Buttons styling */
.listing-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.primary-btn {
  width: 220px;
  padding: 16px 0;
  font-size: 16px;
  text-align: center;
}

.secondary-btn {
  width: 220px;
  padding: 16px 0;
}

/* Adjust sales grid cards */
.sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.sale-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sale-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

.sale-info {
  padding: 15px;
}

.sale-price {
  font-size: 22px;
  font-weight: 700;
  color: #083359;
  margin-bottom: 6px;
}

.sale-stats span {
  margin-right: 10px;
  font-size: 14px;
  color: #444;
}

.sale-type {
  font-size: 12px;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  background: #f1f4f8;
  color: #555;
}