/*****************/
/*    General    */
/*****************/

h1 {
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

/******************/
/* Top banner/Nav */
/******************/
#top-banner {
  background-color: #32cd32;
  padding: 10px 0;
  font-size: 1rem;
  color: #ffffff;
}

.contact-details a {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 1rem;
}

.contact-details a:hover {
  color: #000080 !important;
}

#nav-area {
  background-color: #000080 !important;
  border-bottom: 2px solid #32cd32;
}

.navbar {
  background-color: #000080 !important;
  padding: 33px 0;
  display: flex;
  align-items: flex-start;
  min-height: 115px;
  box-shadow: none !important;
  flex-direction: row;
  justify-content: space-between;
}

.navbar-nav .nav-item {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#nav-logo {
  max-height: 115px;
}

.logo {
  color: #fff !important;
  order: -2;
  display: flex;
  height: 100%;
  padding-top: 13px;
}

.navbar-collapse {
  justify-content: flex-end;
  flex-grow: 1;
}

.navbar-nav .nav-link {
  color: #ffffff;
  margin-right: 15px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.navbar-nav .nav-link:hover {
  color: #32cd32 !important;
}

.navbar-nav .dropdown-menu {
  background-color: #000080;
  border-radius: 5px;
  border: none;
}

.navbar-nav .dropdown-item {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 16px;
}

.navbar-nav .dropdown-item:hover {
  color: #32cd32 !important;
  background-color: #000080;
}

.navbar-brand {
  color: #fff !important;
  font-weight: normal !important;
}

.navbar-brand:hover {
  color: #32cd32 !important;
}

#navbar ul {
  list-style-type: none !important;
}

#navbar li {
  margin-bottom: 0 !important;
}

.navbar-toggler {
  order: -1;
}

.navbar-toggler-icon {
  order: -1;
}

/******************/
/*     Footer     */
/******************/

#footer-top-area {
  padding: 20px 0 0 0;
  border-top: 2px solid #32cd32;
}

#footer-logo {
  max-width: 225px;
  margin-bottom: 20px;
}

.footer-widget {
  margin-bottom: 20px;
}

.footer-widget h5 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-widget p,
.footer-widget ul {
  color: #ffffff;
}

.footer-widget p {
  display: flex;
  align-items: center;
  color: #ffffff !important;
  margin-bottom: 10px !important;
}

.footer-widget ul {
  padding-left: 0 !important;
  list-style: none !important;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-weight: normal !important;
}

.footer-widget a:hover {
  color: #32cd32 !important;
  text-decoration: none !important;
}

.footer-widget .fa,
.footer-widget .fas {
  margin-right: 1rem;
  flex-shrink: 0;
}

.social-links a {
  color: #ffffff;
  font-size: 18px;
  margin-right: 15px;
  transition: color 0.3s ease;
  margin-top: 10px;
}

.social-links a:hover {
  color: #32cd32;
}

#footer-area {
  padding: 10px 0 20px 0;
}

#footer-area p {
  margin: 0;
  padding: 5px 0;
}

#footer-area p a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
}

#footer-area p a:first-child {
  margin-left: 0;
}

#footer-area p a:last-child {
  margin-right: 0;
}

#footer-area .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}

#footer-area .footer-links a {
  color: #fff;
  text-decoration: none;
  padding: 0 10px;
  position: relative;
  font-weight: normal !important;
}

#footer-area .footer-links a:not(:first-child):before {
  content: "|";
  position: absolute;
  left: -15px;
  color: #fff;
}

#footer-area .footer-links span {
  margin: 0 10px;
}

#footer-area .footer-links a:hover {
  color: #000080;
}

.copyright,
.footer-links {
  color: #fff;
}

/******************/
/*     Home     */
/******************/

.home-hero {
  height: 600px;
}

#banner-area h1 {
  margin: 100px 0 20px 0;
  max-width: 55%;
  color: #fff !important;
}

#banner-area p {
  max-width: 50%;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

#banner-area .btn-wrapper {
  margin-bottom: 120px;
}

.home-hero {
  position: relative;
  &:after {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0009;
    position: absolute;
  }

  > * {
    position: relative;
    z-index: 1;
  }
}

.btn-wrappers .btn-primary {
  color: white;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
}

.btn-wrappers .btn-primary:hover {
  background-color: #228b22;
  color: white;
}

.home figure.figure.size-full {
  text-align: center;
}

.home figure.figure.size-full img {
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

#why-choose-us-section {
  padding: 3rem 0;
  background-color: #e2efff;
  text-align: center;
}

#why-choose-us-section h2.wp-block-heading {
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

#why-choose-us-section .row.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
}

#why-choose-us-section .col {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

#why-choose-us-section .figure.size-full img {
  max-width: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
}

#why-choose-us-section h3.wp-block-heading {
  color: #000080;
  margin-bottom: 10px;
  font-weight: 500;
  text-align: left;
  border-bottom: 2px solid #32cd32;
  padding-bottom: 10px;
  text-align: center;
}

#why-choose-us-section p {
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

#why-choose-us-section a {
  color: #32cd32;
  font-weight: bold;
}

#why-choose-us-section a:hover {
  color: #228b22;
  text-decoration: underline;
}
.home-how-help {
  display: flex;
  align-items: center;
  padding: 3rem 0;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.image-col,
.text-col {
  flex: 1;
}

.text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-how-help h2 {
  margin-bottom: 3rem;
  margin-left: 1rem;
  font-weight: bold;
}

.home-how-help li {
  margin-bottom: 3rem;
  list-style: none;
  margin-left: 1rem;
}

.how-help-list li strong {
  font-weight: bold;
}
#home-cta-banner-section {
  background-color: #000080;
  padding: 3rem 0;
  text-align: center;
}

#home-cta-banner-section h2.wp-block-heading {
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 20px;
}

#home-cta-banner-section p {
  color: white;
  font-size: 1rem;
  margin-bottom: 2rem !important;
  line-height: 1.6;
  max-width: 1320px;
  margin: 0 auto;
}

.home-guide-links {
  padding: 3rem 0;
  text-align: left;
}

.home-guide-links h2.wp-block-heading {
  margin-bottom: 2rem;
  font-weight: bold;
}

.home-guide-links .col {
  margin-bottom: 30px;
}

.home-guide-links .figure.size-full img {
  height: 250px !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-guide-links .figure.size-full img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.home-guide-links h3.wp-block-heading {
  margin-bottom: 15px;
  font-weight: bold;
}

.home-guide-links p {
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.home-guide-links a:hover {
  color: #228b22;
  text-decoration: underline;
}

/*****************/
/*    About Us   */
/*****************/

.about-intro {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.about-intro p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

#about-us-list-section {
  padding: 3rem 0;
  background-color: #e2efff;
  text-align: center;
}

#about-us-list-section h2.wp-block-heading {
  margin-bottom: 40px;
  font-weight: bold;
}

#about-us-list-section .row.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
}

#about-us-list-section .col {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  padding: 30px;
  margin: 15px;
  text-align: left;
}

#about-us-list-section h3.wp-block-heading {
  color: #000080;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid #32cd32;
  padding-bottom: 10px;
  min-height: 70px;
}

#about-us-list-section .list-unstyled {
  padding-left: 0;
  list-style: none;
}

#about-us-list-section .list-unstyled li {
  color: #666666;
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

#about-us-list-section .list-unstyled li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #32cd32;
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.2rem;
}

#about-us-list-section a {
  color: #666666 !important;
}

#about-us-list-section a:hover {
  color: #32cd32 !important;
}

.about-us-cta {
  padding: 3rem 0;
}

/************************/
/*  Ways to sell Page   */
/************************/

.estate-agent-charges table.has-fixed-layout {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 30px 0;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.estate-agent-charges table.has-fixed-layout th,
.estate-agent-charges table.has-fixed-layout td {
  padding: 15px;
  text-align: center;
  border: 1px solid #dddddd;
  font-size: 1em;
}

.estate-agent-charges table.has-fixed-layout tr:first-child td {
  background-color: #32cd32;
  color: white;
  font-weight: bold;
}

.estate-agent-charges table.has-fixed-layout tr:nth-child(even) {
  background-color: #f2f2f2;
}

.estate-agent-charges table.has-fixed-layout td {
  color: #000080; /* Dark blue text color */
}

.estate-agent-charges p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 20px;
}

.can-i-sell ul {
  list-style-type: disc;
  padding-left: 20px;
}

.can-i-sell ul li {
  margin-bottom: 10px;
}

/**********************/
/*  Quick Buyer Page   */
/**********************/

.quick-buyer-intro,
.page-intro {
  margin-top: 5rem;
}
#quick-buyer-when-section {
  padding: 3rem 0;
  background-color: #e2efff;
  text-align: left;
}

#quick-buyer-when-section p,
#quick-buyer-when-section h2 {
  max-width: 1320px;
  margin: 0 auto;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

#quick-buyer-when-section h2 {
  margin-bottom: 0.5rem;
}

#quick-buyer-when-section p {
  margin-bottom: 1rem;
}

.cash-buyer-tips .col {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  padding: 30px 30px 5px 30px;
  margin: 15px;
  text-align: left;
}

.cash-buyer-tips h3.wp-block-heading {
  color: #000080;
  text-align: left;
  min-height: 70px;
}

/***************/
/*  FAQ Page   */
/***************/

.faq-title {
  text-align: center;
}

.page-id-41 .col-sm-12 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.faq-wrapper {
  margin: 30px;
}
.faq .title-wrapper {
  padding: 15px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0 auto;
  width: 80%;
}
.faq .title-wrapper.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.title-wrapper h2 {
  margin: 0;
  font-size: 1.5rem;
}
.faq .title-wrapper i {
  margin-left: auto;
  transition: transform 0.3s;
}

.faq .text-wrapper {
  display: none;
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
}
.faq .text-wrapper.active {
  display: block;
}

/********************/
/*   Contact Page   */
/********************/

.contact-us #content-area {
  padding: 50px 0 0 0;
}

.contact-page-tel,
.contact-page-email {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #000080;
  margin-bottom: 20px;
  margin-top: 4rem;
}

.contact-page-tel a,
.contact-page-email a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.contact-page-tel .fa-phone,
.contact-page-email .fa-envelope {
  display: block;
  font-size: 40px;
  color: #228b22;
  transition: color 0.3s ease;
}

.contact-page-tel a:hover,
.contact-page-email a:hover {
  color: #000080 !important;
}

.contact-page-tel a:hover .fa-phone,
.contact-page-email a:hover .fa-envelope {
  color: #000080;
}

#default-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

#default-form .row > .col-md-6 {
  padding: 0 15px;
}

#default-form .mb-3 {
  margin-bottom: 20px;
}

#default-form .btn {
  background-color: #228b22;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.req-field {
  font-size: 12px;
  color: #777;
  margin-top: 10px;
}

#contact-msg {
  margin-top: 20px;
  font-size: 14px;
  color: #000080;
}

/********************/
/*   Guide Pages    */
/********************/

.guide-hero {
  height: 280px;
  margin-bottom: 2rem;
}

#banner-area h1 {
  margin: 112px 0 20px 0;
  max-width: 55%;
  color: #fff !important;
}

.guide-hero h1 {
  margin: 86px 0 20px 0 !important;
  max-width: 100% !important;
  color: #fff !important;
}

.guide-hero h2 {
  color: #fff;
  text-align: left;
  font-size: 1.1rem;
}

.guide-hero {
  position: relative;
  &:after {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0009;
    position: absolute;
  }

  > * {
    position: relative;
    z-index: 1;
  }
}

.page-template-guide-page .figure {
  display: block;
}

.guide-page-image figure {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.guide-page-image img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

.page-template-guide-page li {
  margin-bottom: 1.5rem;
  color: #333;
}

.page-template-guide-page p {
  max-width: 100% !important;
  font-size: 1rem !important;
}

.list-inline-item {
  margin-bottom: 0 !important;
}

.page-template-guide-page a {
  color: #228b22;
  font-weight: bold;
  text-decoration: none;
}

.page-template-guide-page a:hover {
  text-decoration: underline;
}

.page-template-guide-page h3 {
  font-size: 1.6rem;
  color: #000080;
  display: inline-block;
  border-bottom: 2px solid #228b22;
  padding-bottom: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-template-guide-page h3:first-child {
  margin-top: 0;
}

.page-template-guide-page h4 {
  color: #333;
}

.is-vertically-aligned-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/****************/
/*   tag line   */
/****************/

#mpse-tagline-section {
  background-color: #32cd32; /* Lime green background for visibility */
  padding: 20px 0; /* Adds some vertical padding */
  width: 100%; /* Ensure it stretches across the screen */
  margin-top: 30px;
}

#mpse-tagline-section p {
  color: white; /* White text for contrast */
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin: 0; /* Remove default margins */
  letter-spacing: 1px;
}

/***************/
/*   Policies  */
/***************/

.privacy-policy h2,
.terms-and-conditions h2 {
  margin-top: 3rem;
  font-size: 2rem;
}

.privacy-policy h3,
.terms-and-conditions h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

/********************/
/*   Media queries  */
/********************/

@media (max-width: 1350px) {
  .guide-hero h1 {
    font-size: 2.8rem;
    
  }
  .guide-hero {
    height: 220px;
  }

  .nav-link {
    font-size: 1rem !important;
  }
}

@media (max-width: 1024px) {
  #banner-area h1 {
    max-width: 100%;
  }

  #banner-area p {
    max-width: 80%;
  }

  #about-us-list-section .row.container {
    gap: 0;
  }

  

  .guide-hero {
    height: 35vh;
    background-size: cover;
    background-position: center;
  }

  
  .guide-hero h2 {
    text-align: center;
    font-size: 0.9rem;
  }

  .guide-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .guide-hero .container {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }
  
  #banner-area p {
    max-width: 100%;
  }

  .logo {
    padding-top: 2px;
  }

  .navbar-nav .dropdown-menu {
    background-color: #32cd32;
  }
  #info-area {
    display: none;
  }

  .faq p {
    margin-bottom: 0;
  }

  .guide-hero h1 {
    font-size: 1.8rem;
    
  }
  .faq .title-wrapper,
  .faq .text-wrapper {
    width: 100%;
  }

  .contact-page-tel,
  .contact-page-email {
    display: block;
    width: 100%;
  }

  #default-form {
    margin-top: 20px;
  }

  
  .home-guide-links .row {
    flex-direction: column;
  }

  .home-guide-links .col {
    width: 100%;
    text-align: center;
  }

  .home-guide-links h2.wp-block-heading {
    text-align: center;
  }

  #footer-top-area .row {
    flex-direction: column;
    text-align: center;
  }

  #footer-top-area .footer-widget {
    margin-bottom: 30px;
  }

  #footer-top-area .footer-widget a {
    justify-content: center;
  }

  #footer-top-area .social-links {
    justify-content: center;
  }

  #footer-top-area .col-md-4.offset-md-2 {
    margin-left: 0;
  }

  .footer-widget p {
    display: block;
    text-align: center;
  }

  .contact-us h2 {
    text-align: center;
  }

  #why-choose-us-section .row.container {
    gap: 13px;
  }

  #why-choose-us-section .col {
    padding: 30px 10px 10px 10px;
  }

  .home-how-help {
    flex-direction: column;
    padding: 1rem 0;
  }
  .footer-widget.float-end {
    float: none !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .why-mpse .row,
  .quick-house-buyers .row,
  .ways-to-sell .row {
    flex-direction: column;
    padding: 1rem 0;
  }

  .about-intro,
  .page-intro {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .mt-5 {
    margin-top: 0 !important;
  }

  .mb-5 {
    margin-bottom: 0 !important;
  }

  #about-us-list-section .col {
    margin: 0;
  }

  .cash-buyer-tips .row {
    max-width: 95%;
  }

  .cash-buyer-tips .col {
    padding: 20px 20px 5px 20px;
  }

  .quick-buyer-intro {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }


}

@media all and (max-width: 480px) {
  #banner-area h1 {
    max-width: 100%;
    font-size: 2.5rem;
    margin: 43px 0 20px 0;
    text-align: center;
  }

  #banner-area p {
    max-width: 100%;
    text-align: center;
  }

  .btn-wrappers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .btn-wrapper {
    text-align: center;
  }

  .home-how-help {
    flex-direction: column;
    padding: 1rem 0;
  }

  .home-how-help h2,
  .home-how-help li {
    margin-left: 0;
    text-align: center;
  }

  .image-col {
    margin-bottom: 2rem;
  }

  .home-guide-links {
    padding: 3rem 0 0 0;
  }

  .home-guide-links .col {
    margin-bottom: 0;
  }

  .home-guide-links .row {
    flex-direction: column;
  }

  .home-guide-links .col {
    width: 100%;
    text-align: center;
  }

  .home-guide-links h2.wp-block-heading {
    text-align: center;
  }

  br {
    display: none;
  }

  .logo {
    padding-top: 2px;
  }

  .row {
    flex-direction: column;
    padding: 1rem 0;
  }

   
}
