:root {
  --accent: #008538;
  --ink: white;
  --txt: #e6e6e6;
  --grey: #e5e5e5;
}

* {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.navTop {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navBottom {
  background-color: var(--accent);
  width: 100%;
  height: 10px;
}

.navBottom2 {
  background-color: black;
  width: 100%;
  height: 30px;
}

.logo {
  height: 100%;
  width: auto;
  margin-left: 4%;
}

.navTop ul {
  display: flex;
  list-style: none;
  gap: 10px;
  margin-right: 1%;
}

.navTop a {
  width: 50px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  background: #0a7a3d;
  color: white;
}

.navTop a.active {
  background: transparent;
  border: 2px solid #0a7a3d;
  color: #b99552;
  font-weight: bold;
}

.hero {
  height: 70vh;
  width: auto;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.think {
  display: flex;
  height: 50vh;
  width: 100%;
}

.logoThink {
  height: 100%;
}

.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.profileBack {
  position: absolute;
  background-color: var(--accent);
  height: 20%;
  width: 38%;
  z-index: -1;
  border-radius: 70px;
}

.profileImg {
  height: 60%;
  width: 15%;
  margin: 0 0 93px 0;
  border-radius: 500px 500px 0 0;
}

.profileImg img {
  height: 100%;
  width: 100%;
}

.profileDisc {
  color: var(--ink);
  margin: 0 0px 50px 0;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 80vh;
  width: 100%;
}

.about h1 {
  font-size: 90px;
  color: var(--accent);
}

.about h2 {
  width: 65%;
  text-align: right;
  font-size: 46px;
  padding-bottom: 20px;
}

.aboutImgP {
  display: flex;
  width: 95%;
  gap: 70px;
}

.aboutImgP img {
  height: 100%;
  width: 30%;
}

.aboutImgP p {
  display: flex;
  font-size: 30px;
  width: 50%;
  text-align: justify;
  text-align-last: center;
}

.meetTeam {
  display: flex;
  height: 700px;
  width: 100%;
  background-image: url(./images/bg/meet_teampng.png);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.agentInfo {
  height: 100%;
  width: 60%;
  color: var(--ink);
  font-size: 30px;
  padding-left: 150px;
}

.agentHeading {
  margin: 3% 0 10% 0;
}

.agentAreas {
  margin-top: 5%;
}

.agentImg {
  height: 100%;
  width: 40%;
  object-fit: cover;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.agenDetails {
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.container4 {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 5px 20px;
  color: var(--accent);
  font-size: 30px;
}

.featureProperty {
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 80%;
  align-items: center;
}

.propertyVideo {
  position: relative;
  width: 80%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  padding: 20px;
}

.propertyVideo iframe {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.contactUs {
  height: 100vh;
  width: 100%;
}

.contactheader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--ink);
  width: 100%;
  height: 20%;
  background-color: var(--accent);
}

.contactheader h1 {
  font-size: 50px;
}

.contactheader p {
  font-size: 30px;
}

.contactInfo {
  display: flex;
  height: 80%;
  width: 100%;
}

.contactForm {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 10px;
  margin-top: 20px;
  height: 100%;
  width: 60%;
}

.contactForm h3 {
  width: 60%;
}

.contactForm input {
  width: 60%;
  height: 4%;
  border: 1px solid var(--accent);
  background-color: var(--txt);
}

.txtMessage {
  height: 45% !important;
}

.btnSubmit {
  background-color: var(--accent);
  padding: 10px;
  margin-top: 10px;
  width: 10%;
  color: var(--ink);
  border-radius: 999px;
  border: none;
}

.location {
  width: 40%;
  height: 100%;
  margin-top: 20px;
}

.locationText {
  border: 2px solid var(--accent);
  width: 70%;
  margin: 30px 0 0 10px;
  padding: 30px 30px 30px 10px;
  background-color: var(--txt);
}

.locationText h3 {
  padding-left: 10px;
  color: var(--accent);
  font-size: 30px;
}

.locationText p {
  padding-left: 10px;
  font-size: 15px;
  font-weight: bold;
}

.map {
  width: 75.5%;
  height: 40%;
  margin: 10px 0 0 10px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  overflow: hidden;
}
.map iframe {
  height: 100%;
  width: 100%;
}

.footerTop {
  height: 20%;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: var(--txt);
}

.footerTop img {
  height: 100%;
  width: 200px;
  object-fit: contain;
  padding-left: 10%;
}

.footerTop h1 {
  color: var(--accent);
  text-align: right;
  padding-right: 10%;
  font-size: 60px;
  width: 100%;
}

.footerBottom {
  display: flex;
  width: 100%;
}

.bottomRight {
  height: 100%;
  width: 60%;
  background-color: var(--accent);
  color: var(--ink);
  padding-bottom: 50px;
}

.bottomRight h2 {
  padding: 30px 0 0 230px;
}

.bottomRight hr {
  width: 38%;
}

.bottomRight li {
  list-style: none;
  padding: 30px 0 0 230px;
}

.bottomRight a {
  text-decoration: none;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
}

.bottomLeft {
  height: 100%;
  width: 40%;
  padding-left: 220px;
}

.bottomLeft h2 {
  color: var(--accent);
  padding: 30px 0 0 0px;
}

.bottomLeft hr {
  width: 99%;
  height: 1px;
  background-color: var(--accent);
}

.bottomLeft img {
  width: 80px;
}

/*Agents*/

.featuredAg {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("./images/bg/about.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 85%;
  gap: 10px;
  padding: 10px;
}

.fmedia {
  position: relative;
  display: flex;
  width: 450px;
  padding-bottom: 20px;
  align-items: center;
}

.fmedia img {
  z-index: 2;
  height: 150px;
  width: 150px;
  border-radius: 500px;
  border: 1.5px solid var(--accent);
  object-fit: contain;
  border: 3px solid var(--accent);
  background-color: white;
}

.fagentDetails {
  position: relative;
  z-index: 1;
  height: 100px;
  width: 100%;
  margin-left: -20px;
  padding-left: 25px;
  border-radius: 0 100px 100px 0;
  background-color: var(--accent);
  color: var(--ink);
}

.search {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 40px;
  padding: 20px 0px 30px 0px;
}

.searchBar {
  display: flex;
  background-color: var(--grey);
  border: 1px solid var(--accent);
  width: max-content;
  border-radius: 10px;
  width: 25%;
}

.sIcon {
  height: 40px;
}

.txtSearch {
  border: none;
  background-color: var(--grey);
  width: 100%;
  border-radius: 10px;
}

.txtSearch:focus {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.agentspage {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--grey);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 85%;
  gap: 10px;
  background-color: var(--grey);
  padding: 10px;
  justify-items: center;
}

.media {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 350px;
  padding: 10px;
  border: 2px solid var(--accent);
  background-image:
    linear-gradient(rgba(221, 219, 219, 0.6), rgba(221, 219, 219, 0.6)),
    url("./images/bg/about.png");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
}

.media img {
  height: 250px;
  width: 250px;
  border-radius: 500px;
  border: 2px solid var(--accent);
  object-fit: cover;
  background-color: white;
}

.media h1 {
  color: var(--accent);
}

.pTitle {
  padding-bottom: 25px;
}

.media a {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 5px;
  right: 20px;
  text-decoration: none;
  color: var(--accent);
}

.media a p {
  color: black;
  font-weight: 500;
  padding-right: 3px;
}

.media a img {
  height: 20px;
  width: 20px;
  border: none;
  background-color: rgba(0, 0, 255, 0);
}

.featuredLs {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("./images/bg/about.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
}

.featuredLs h1 {
  font-size: 120px;
  font-weight: 900;
  color: var(--accent);
}

.liGrid {
  border: 2px solid var(--accent);
  border-radius: 30px 30px 0 0;
  display: flex;
  height: 500px;
  width: 72%;
}

.liTRight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  border-radius: 25px 30px 0 0;
  width: 60%;
  height: 100%;
}

.liTLeft {
  border-radius: 0px 30px 0 0;
  width: 40%;
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agentIC {
  height: 100%;
  width: 100%;
  display: flex;
}

.agentInfo {
  padding: 20px 0 0px 20px;
  width: 50%;
  height: 100%;
}

.agentInfo h3 {
  font-size: 25px;
  color: var(--accent);
}

.agentInfo a {
  border: 2px solid var(--accent);
  width: 90%;
  display: flex;
  align-items: center;
  font-size: 18px;
  text-decoration: none;
  color: var(--accent);
  margin-bottom: 5px;
  border-radius: 10px;
}

.agentInfo img {
  height: 40px;
}

.agentImage {
  width: 35%;
  height: 75%;
  border: 2px solid var(--accent);
  border-radius: 999px;
  margin: 20px 0 0 20px;
  object-fit: cover;
}

.agentSubmitInfo {
  display: flex;
  flex-direction: column;
  align-items: end;
  height: 100%;
  width: 100%;
  margin-right: 20px;
}

.txtAgent {
  border: 1px solid var(--accent);
  background-color: var(--grey);
  width: 95%;
  padding: 10px 0 10px 5px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 20px;
}
.agentSubmit {
  background-color: var(--accent);
  color: white;
  padding: 5px;
  border-radius: 10px;
  border: none;
  font-size: 20px;
}

.agentSubmit,
.txtAgent:hover {
  cursor: pointer;
}

.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  gap: 2px;
  height: 80%;
  width: 90%;
  margin-top: -70px;
  overflow: hidden;
  border-radius: 18px;
}

.property-gallery img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  cursor: pointer;

  transition: 0.2s;
}

.gallery_main {
  grid-area: 1 / 1 / 3 / 2;
}
.gallery_second {
  grid-area: 1 / 2 / 2 / 3;
}
.gallery_third {
  grid-area: 2 / 2 / 3 / 3;
}

.property-gallery img:hover {
  opacity: 0.85;
}

.image-modal {
  display: none;

  position: fixed;
  z-index: 1000;

  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.9);

  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;

  object-fit: contain;

  border-radius: 10px;
}

.close-button {
  position: absolute;

  top: 20px;
  right: 35px;

  color: white;

  font-size: 45px;
  cursor: pointer;
}

.accordion {
  width: 70%;
  margin: 60px auto;

  display: flex;
  flex-direction: column;
  gap: 30px;
}

.accordion li {
  list-style: none;
  width: 100%;

  border: 2px solid green;
  border-radius: 30px;

  overflow: hidden;

  box-shadow:
    6px 6px 10px -1px rgba(0, 0, 0, 0.15),
    -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
}

.propCont {
  width: 100%;
  height: 400px;

  display: flex;

  cursor: pointer;

  background-color: white;
}

.liLeft {
  width: 50%;
  height: 100%;
}

.liLeft img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.liRight {
  width: 50%;
  height: 100%;

  display: grid;

  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);

  gap: 8px;

  padding: 20px;

  background-color: white;
}

.div1 {
  grid-column: 1;
  grid-row: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: green;
}

.div1 h1 {
  font-size: 40px;
  font-weight: 900;
}

.div1 h2 {
  font-size: 18px;
}

.div2 {
  grid-column: 1;
  grid-row: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.greenText {
  color: green;
}

.div3 {
  grid-column: 1 / 3;
  grid-row: 3;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.div3 h1 {
  color: green;

  font-size: 40px;
  font-weight: 900;
}

.div3 h2 {
  margin-bottom: 10px;
}

.liPropDetails {
  display: flex;
  align-items: center;

  gap: 20px;
}

.propertyDetail {
  display: flex;
  align-items: center;

  gap: 5px;
}

.propertyDetail img {
  width: 28px;
  height: 28px;

  object-fit: contain;
}

.propertyDetail p {
  font-weight: 600;
}

.div4 {
  grid-column: 1 / 3;
  grid-row: 4;

  display: flex;
  align-items: center;

  font-size: 14px;
  line-height: 20px;
}

.div5 {
  grid-column: 2;
  grid-row: 1 / 3;

  display: flex;
  align-items: center;
  justify-content: center;
}

.div5 img {
  width: 190px;
  height: 190px;

  border-radius: 50%;

  object-fit: cover;
}

.content {
  max-height: 0;

  overflow: hidden;

  background-color: white;

  transition: max-height 0.5s ease;
}

.contentInner {
  padding: 25px;
}

.contentInner h2 {
  margin-bottom: 15px;

  color: green;
}

.contentInner p {
  margin-bottom: 10px;

  color: #555;

  line-height: 26px;
}

.accordion li.open .propCont {
  border-bottom: 1px solid #ddd;
}

.expImages img {
  width: 50px;
  height: 50px;
  padding-right: 5px;
}

.content button {
  border: none;
  background-color: white;
  color: var(--accent);
  font-weight: 700;
}

.content button:hover {
  cursor: pointer;
  text-decoration: underline;
}

.galleryModal {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 87, 26, 0.623);

  display: none;

  align-items: center;
  justify-content: center;

  z-index: 1000;
}

.galleryImage {
  max-width: 80%;
  max-height: 80%;

  object-fit: contain;
}

.galleryPrevious,
.galleryNext {
  position: absolute;
  top: 50%;
  font-size: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.galleryPrevious {
  left: 30px;
}

.galleryNext {
  right: 30px;
}

.galleryClose {
  position: absolute;
  background-color: transparent;
  top: 20px;
  right: 30px;
  border: none;
  font-size: 40px;
  cursor: pointer;
}

#galleryCounter {
  position: absolute;
  bottom: 30px;
  color: white;
  font-size: 18px;
}

@media (max-width: 900px) {
  .accordion {
    width: 90%;
  }

  .propCont {
    height: auto;

    flex-direction: column;
  }

  .liLeft {
    width: 100%;
    height: 300px;
  }

  .liRight {
    width: 100%;
    height: auto;

    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .div1,
  .div2,
  .div3,
  .div4,
  .div5 {
    grid-column: 1;
    grid-row: auto;
  }

  .div5 {
    padding: 20px 0;
  }

  .liPropDetails {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  body {
    width: 100%;
    overflow-x: hidden;
  }

  .navTop {
    height: auto;
    min-height: 70px;
    padding: 10px 15px;
    flex-direction: column;
    gap: 10px;
  }

  .logo {
    height: 60px;
    width: auto;
    margin-left: 0;
  }

  .navTop ul {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-right: 0;
  }

  .navTop a {
    display: block;
    width: auto;
    padding: 7px 13px;
    font-size: 12px;
    text-align: center;
  }

  .navTop a.active {
    border-width: 1px;
  }

  .navBottom {
    height: 6px;
  }

  .navBottom2 {
    height: 15px;
  }

  .hero {
    width: 100%;
    height: 45vh;
  }

  .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .think {
    height: auto;
    min-height: 450px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
  }

  .logoThink {
    width: 80%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
  }

  .profile {
    position: relative;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 30px 15px;
  }

  .profileBack {
    width: 90%;
    height: 70%;
    border-radius: 40px;
    bottom: 0;
  }

  .profileImg {
    width: 150px;
    height: 190px;
    margin: 0 0 0px 0;
    border-radius: 500px 500px 0 0;
  }

  .profileImg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .profileDisc {
    width: 90%;
    margin: 0;
    text-align: center;
    font-size: 16px;
    z-index: 1;
  }

  .about {
    height: auto;
    padding: 40px 15px;
  }

  .about h1 {
    font-size: 45px;
    text-align: center;
  }

  .about h2 {
    width: 100%;
    padding-bottom: 20px;
    font-size: 25px;
    text-align: center;
  }

  .aboutImgP {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .aboutImgP img {
    width: 85%;
    height: 50px;
    height: auto;
    object-fit: contain;
  }

  .aboutImgP p {
    display: block;
    width: 100%;
    padding: 0 10px;
    font-size: 16px;
    line-height: 27px;
    text-align: justify;
    text-align-last: left;
  }

  .meetTeam {
    height: 900px;
    min-height: 650px;
    flex-direction: column;
    background-size: cover;
  }

  .meetTeam .agentInfo {
    order: 2;
    width: 100%;
    height: auto;
    padding: 25px;
    font-size: 17px;
    text-align: center;
  }

  .agentHeading {
    margin: 10px 0 20px 0;
  }

  .agentAreas {
    margin-top: 15px;
  }

  .meetTeam .agentImg {
    order: 1;
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: bottom;
  }

  .container4 {
    width: 100%;
    height: auto;
    min-height: 500px;
    padding: 40px 15px;
    font-size: 20px;
    text-align: center;
  }

  .featureProperty {
    width: 100%;
    height: auto;
  }

  .propertyVideo {
    width: 100%;
    height: 300px;
    padding: 10px 0;
  }

  .propertyVideo iframe {
    width: 100%;
    height: 100%;
  }

  .contactUs {
    height: auto;
  }

  .contactheader {
    height: auto;
    padding: 30px 15px;
    text-align: center;
  }

  .contactheader h1 {
    font-size: 35px;
  }

  .contactheader p {
    font-size: 16px;
  }

  .contactInfo {
    height: auto;
    flex-direction: column;
  }

  .contactForm {
    width: 100%;
    height: auto;
    margin-top: 0;
    padding: 30px 20px;
    align-items: stretch;
  }

  .contactForm h3 {
    width: 100%;
    margin-bottom: 10px;
  }

  .contactForm input {
    width: 100%;
    height: 45px;
    padding: 10px;
    margin-bottom: 10px;
  }

  .txtMessage {
    height: 180px !important;
  }

  .btnSubmit {
    width: 120px;
    align-self: flex-end;
  }

  .location {
    width: 100%;
    height: auto;
    margin-top: 0;
    padding: 0 20px 30px;
  }

  .locationText {
    width: 100%;
    margin: 0 0 15px 0;
    padding: 20px;
  }

  .locationText h3 {
    padding-left: 0;
    font-size: 25px;
  }

  .locationText p {
    padding-left: 0;
  }

  .map {
    width: 100%;
    height: 300px;
    margin: 0;
  }

  .footerTop {
    height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
  }

  .footerTop img {
    width: 150px;
    height: 100px;
    padding-left: 0;
  }

  .footerTop h1 {
    width: 100%;
    padding-right: 0;
    font-size: 30px;
    text-align: center;
  }

  .footerBottom {
    flex-direction: column;
  }

  .bottomRight {
    width: 100%;
    padding: 30px 25px;
    order: 1;
  }

  .bottomRight h2 {
    padding: 0;
  }

  .bottomRight hr {
    width: 100%;
    margin: 10px 0;
  }

  .bottomRight li {
    padding: 12px 0;
  }

  .bottomRight a {
    font-size: 16px;
  }

  .bottomLeft {
    width: 100%;
    padding: 30px 25px;
    order: 2;
  }

  .bottomLeft h2 {
    padding: 0;
  }

  .bottomLeft hr {
    width: 100%;
    margin: 10px 0;
  }

  .bottomLeft img {
    width: 55px;
  }

  .featuredAg {
    width: 100%;
    padding: 30px 10px;
    background-size: cover;
  }

  .fgrid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 15px;
    padding: 10px;
  }

  .fmedia {
    width: 100%;
    padding-bottom: 10px;
  }

  .fmedia img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }

  .fagentDetails {
    height: 75px;
    margin-left: -15px;
    padding: 10px 15px 10px 25px;
    border-radius: 0 50px 50px 0;
    font-size: 12px;
  }

  .search {
    gap: 20px;
    padding: 25px 15px;
  }

  .searchBar {
    width: 100%;
    max-width: 450px;
  }

  .sIcon {
    height: 40px;
  }

  .txtSearch {
    min-width: 0;
    padding: 0 10px;
  }

  .agentspage {
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 15px;
    gap: 20px;
  }

  .media {
    width: 100%;
    max-width: 400px;
    padding: 20px;
  }

  .media img {
    width: 180px;
    height: 180px;
  }

  .media h1 {
    font-size: 25px;
    text-align: center;
  }

  .pTitle {
    padding-bottom: 35px;
    text-align: center;
  }

  .featuredLs {
    padding: 30px 10px;
    background-size: cover;
  }

  .featuredLs > h1 {
    font-size: 45px;
    text-align: center;
  }

  .liGrid {
    width: 95%;
    height: auto;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
  }

  .liTRight {
    width: 100%;
    height: 400px;
    border-radius: 18px 18px 0 0;
  }

  .liTLeft {
    width: 100%;
    height: auto;
    padding: 20px 10px;
  }

  .agentIC {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
  }

  .agentIC .agentInfo {
    width: 100%;
    height: auto;
    padding: 15px;
    text-align: center;
  }

  .agentIC .agentInfo h3 {
    font-size: 21px;
  }

  .agentIC .agentInfo a {
    width: 100%;
    font-size: 14px;
    justify-content: center;
  }

  .agentIC .agentInfo img {
    width: 30px;
    height: 30px;
  }

  .agentImage {
    width: 150px;
    height: 150px;
    margin: 15px 0;
  }

  .agentSubmitInfo {
    width: 100%;
    height: auto;
    margin-right: 0;
    align-items: stretch;
    padding: 10px;
  }

  .txtAgent {
    width: 100%;
    font-size: 16px;
  }

  .agentSubmit {
    align-self: flex-end;
    font-size: 16px;
    padding: 8px 15px;
  }

  .property-gallery {
    width: 95%;
    height: 350px;
    margin-top: 0;

    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr;
  }

  .gallery_main {
    grid-area: 1 / 1 / 2 / 3;
  }

  .gallery_second {
    grid-area: 2 / 1 / 3 / 2;
  }

  .gallery_third {
    grid-area: 2 / 2 / 3 / 3;
  }

  .property-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .image-modal img {
    max-width: 95%;
    max-height: 80%;
  }

  .close-button {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }

  .accordion {
    width: 95%;
    margin: 30px auto;
    gap: 20px;
  }

  .accordion li {
    border-radius: 20px;
  }

  .propCont {
    width: 100%;
    height: auto;
    flex-direction: column;
  }

  .liLeft {
    width: 100%;
    height: 250px;
  }

  .liLeft img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .liRight {
    width: 100%;
    height: auto;

    display: grid;

    grid-template-columns: 1fr;
    grid-template-rows: auto;

    gap: 15px;

    padding: 20px;
  }

  .div1,
  .div2,
  .div3,
  .div4,
  .div5 {
    grid-column: 1;
    grid-row: auto;
  }

  .div1 h1 {
    font-size: 30px;
  }

  .div1 h2 {
    font-size: 16px;
  }

  .div3 h1 {
    font-size: 30px;
  }

  .div3 h2 {
    font-size: 18px;
  }

  .div5 {
    order: -1;
    padding: 10px 0;
  }

  .div5 img {
    width: 130px;
    height: 130px;
  }

  .liPropDetails {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .propertyDetail {
    gap: 5px;
  }

  .propertyDetail img {
    width: 22px;
    height: 22px;
  }

  .propertyDetail p {
    font-size: 13px;
  }

  .div4 {
    font-size: 13px;
    line-height: 20px;
  }

  .contentInner {
    padding: 20px;
  }

  .contentInner h2 {
    font-size: 22px;
  }

  .contentInner p {
    font-size: 14px;
    line-height: 23px;
  }

  .expImages {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .expImages img {
    width: 65px;
    height: 65px;
    padding-right: 0;
    object-fit: cover;
    cursor: pointer;
  }

  .galleryImage {
    max-width: 90%;
    max-height: 75%;
  }

  .galleryPrevious,
  .galleryNext {
    top: 50%;
    font-size: 35px;
    z-index: 1001;
  }

  .galleryPrevious {
    left: 10px;
  }

  .galleryNext {
    right: 10px;
  }

  .galleryClose {
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: white;
  }

  #galleryCounter {
    bottom: 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .navTop a {
    padding: 6px 10px;
    font-size: 11px;
  }

  .hero {
    height: 35vh;
  }

  .about h1 {
    font-size: 38px;
  }

  .about h2 {
    font-size: 21px;
  }

  .aboutImgP p {
    font-size: 15px;
  }

  .meetTeam .agentImg {
    height: 330px;
  }

  .contactheader h1 {
    font-size: 30px;
  }

  .footerTop h1 {
    font-size: 25px;
  }

  .featuredLs > h1 {
    font-size: 37px;
  }

  .property-gallery {
    height: 300px;
  }

  .liLeft {
    height: 220px;
  }

  .liRight {
    padding: 15px;
  }

  .div1 h1,
  .div3 h1 {
    font-size: 26px;
  }

  .div5 img {
    width: 110px;
    height: 110px;
  }
}
