@font-face {
  font-family: "Gallery Modern";
  src: url("../fonts/GalleryModern.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  scroll-margin: -200px;
}

body {
  font-family: sans-serif;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "DM Sans", sans-serif;
}

a{
  color: #294047;
  text-decoration: underline;
  font-family: "DM Sans", sans-serif;
}

a::active{
  color: #395B6A;
}

.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: 140px;
  background: #fffdfa 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  opacity: 0.9;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;

}

.site-header.scrolled {
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  height: 90px;
  transition: all 0.4s ease;
}

.site-header.dark {
  background: #3A5B6A 0% 0% no-repeat padding-box;
  color: white;
}

.site-header.dark a {
  color: white !important;
}

.site-header.dark .menu-toggle span{
  background-color: white !important;
}

.site-header.dark .logo img {
  filter: brightness(0) invert(1);
}

.site-header.scrolled .logo img {
  max-width: 250px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 140px;
}

.header-right {
  display: flex;
  gap: 3rem;
}

.header-right .language-switcher {
  font-family: "Gallery Modern";
  font-weight: 400;
  font-size: 24px;
  color: #2b434c;
}
.header-right .language-switcher a,
.header-right .language-switcher span {
  text-decoration: none;
  font-family: "Gallery Modern";
  font-weight: 400;
  font-size: 24px;
  color: #ABB1B4;
}

.logo img {
  width: 300px;
  height: 100%;
}

.language-switcher {
  font-size: 14px;
  margin-right: 1rem;
}

.language-switcher a.active {
  color: #2B434C;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 35px;
  background: #003a44;
  display: block;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 25%;
  height: 100%;
  background: #294047;
  color: white;
  padding: 0 4rem;
  transition: transform 0.4s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.offcanvas-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.offcanvas-close {
  font-size: 3rem;
  position: absolute;
  top: -5px;
  right: 10px;
  cursor: pointer;
}

.offcanvas-nav ul {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  justify-content: end;
  gap: 1.2rem;
  flex-direction: column;
  flex-direction: column;
  display: flex;
  align-items: flex-end;
}

.offcanvas-nav a {
  text-align: right;
  font: normal normal normal 1.7rem Gallery Modern;
  letter-spacing: 0px;
  color: #FFFFFF;
  text-transform: uppercase;
  opacity: 1;
  text-decoration: none;
}

.offcanvas-nav a:hover {
  text-decoration: underline;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.social-icons {
  display: flex;
  justify-content: end;
  gap: 1.5rem;
}

.social-icons a {
  color: white;
  font-size: 2rem;
}

.hero-section .swiper {
  width: 100%;
  height: 100vh;
}

.hero-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-swiper-nav {
  position: absolute;
  bottom: 120px;
  right: 140px;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  opacity: 0.8;
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  z-index: 10;
  height: 60px;
}

.custom-swiper-nav button {
  all: unset;
  font-size: 20px;
  font-weight: 500;
  color: #3A5B6A;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.custom-swiper-nav button:hover {
  transform: scale(1.2);
}

.about-section {
  padding: 5rem 2rem;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text{
  text-align: center;
}

.about-subtitle {
  color: #6a9ab6;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-title {
  font-size: 2rem;
  font-family: 'Gallery Modern';
  margin: 1rem 0;
  color: #333;
  text-transform: uppercase;
}

.about-content {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  font-family: "DM Sans", sans-serif;

}

.about-button,
.founder-button,
.view-all-button,
.agent-button , 
.blog-card .blog-read-more{
  display: inline-block;
  width: 200px;
  height: 50px;
  border: 1px solid #395B6A;
  text-transform: uppercase;
  font: normal normal normal 20px/22px Gallery Modern;
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  color: #294047;
  transition: all 0.3s ease;
  place-content: center;
  padding: 0 1rem;
  text-align: center;
}

.about-button:hover,
.founder-button:hover,
.view-all-button:hover,
.agent-button:hover,
.blog-card .blog-read-more:hover {
  background-color: #466472;
  color: #fff;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.founders-section {
  padding: 5rem 2rem;
  background: rgb(108, 135, 147, 0.13)  0% 0% no-repeat padding-box;
}

.founder-block {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.founder-block.founder-right {
  direction: rtl;
}

.founder-block.founder-right .founder-info {
  direction: ltr;
}

.founder-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  max-width: 488px;
}

.founder-label {
  display: flex;
  text-align: right;
  font: normal normal normal 30px/30px Gallery Modern;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
}

.founder-name {
  font-family: 'Gallery Modern';
  font-size: 2rem;
  margin: 0.5rem 0;
  color: #294047;
  /* border-bottom: 1px solid #294047; */
  display: inline-block;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
  color: #969696;
  position: relative;
}

.founder-name::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 2px;
  background-color: #6C8793;
}

.founder-name span{
  color: #3A5B6A;
}

.founder-highlight {
  font-size: 1rem;
  font-weight: 500;
  color: #294047;
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

.founder-read-more {
  display: inline-block;
  margin-top: 1.5rem;
  width: 200px;
  height: 50px;
  border: 1px solid #395B6A;
  text-transform: uppercase;
  font: normal normal normal 20px/22px Gallery Modern;
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  color: #294047;
  transition: all 0.3s ease;
  place-content: center;
  text-align: center;
}

.founder-read-more:hover {
  background: #466472;
  color: #fff;
}

.site-footer {
  background-color: #fff;
  color: #000;
  text-align: center;
  padding: 3rem 0 0 0;
  border-top: 1px solid #395B6A;
  font-size: 0.9rem;
}

.footer-logo img {
  max-width: 300px;
  margin: 0 auto 2rem;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
}

.footer-menu li {
  padding: 0 1rem;
  position: relative;
}

.footer-menu li a {
  color: #000;
  text-decoration: none;
  
}

.footer-menu li:not(:first-child)::before {
  content: "|";
  position: absolute;
  left: -1rem;
  color: #999;
  font-weight: 300;
}


.footer-menu li:last-child::after {
  content: "";
  margin: 0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-social a {
  color: #000;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #6a9ab6;
}

.footer-copy {
  margin-bottom: 1rem;
  color: #333;
  font: normal normal normal 16px/21px DM Sans;
}

.footer-credits {
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
}

.footer-credits strong {
  font-weight: 600;
}

.footer-legal {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

.footer-legal a {
  color: #003a44;
  text-decoration: underline;
}

.listings-section {
  padding: 4rem 0;
}

.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.listings-header .section-title {
  font: normal normal normal 48px/50px Gallery Modern;
  position: relative;
  text-transform: uppercase;
}

.listings-header .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 2px;
  background-color: #6C8793;
}

.listings-section .swiper-wrapper{
  height: auto;
  justify-content: space-between;
}

.listings-section .swiper-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.listings-section .card-content{
  display: flex;
    flex-direction: column;
    gap: 1rem;
}

.listing-card {
  background-color: #3A5B6A;
  color: #fff;
  padding: 1rem;
  text-align: left;
  max-width: 21%;
  height: fit-content !important;
}

.listing-card img {
  width: 100%;
  height: auto;
}

.listing-title {
  font-family: 'Gallery Modern';
  text-transform: uppercase;
  font-size: 1.9rem;
  margin: 0;
}

.listing-subtitle {
  font-size: 0.9rem;
  margin: 0;
}

.listing-button{
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #000000;
  color: #294047;
  font-family: 'Gallery Modern';
  text-transform: uppercase;
  width: 200px;
  height: 50px;
  display: inline-block;
  font-size: 1rem;
  text-align: center;
  place-content: center;
  text-decoration: none;
  transition: all 0.3s ease;

}

.listings-section .listings-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listings-section .swiper-button-prev,
.listings-section .swiper-button-next {
  width: 60px;
  height: 60px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  margin-top: 5px;
}

.listings-section .swiper-button-prev::after,
.listings-section .swiper-button-next::after {
  font-size: 24px;
  color: #1c3844;
}

.portfolio-section {
  position: relative;
  width: 100%;
/*   height: calc(100vh); */
}

.portfolio-header-absolute {
  position: absolute;
  top: 50px;
  left: 100px;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  z-index: 2;
}

.portfolio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}

.portfolio-header .section-title {
  font-weight: 400;
  text-transform: uppercase;
  font: normal normal normal 48px/50px Gallery Modern;
  color: #3A5B6A;
  letter-spacing: 1px;
  margin: 0;
}

.portfolio-controls {
  display: flex;
  gap: 1rem;
  justify-content: end;
  width: 100%;
}

.portfolio-section .swiper-button-prev,
.portfolio-section .swiper-button-next {
  width: 60px;
  height: 60px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  margin-top: 5px;
}

.portfolio-section .swiper-button-prev::after,
.portfolio-section .swiper-button-next::after {
  font-size: 24px;
  color: #1c3844;
}

.portfolio-section img{
  	width: 100%;
	height: 90vh;
  	object-fit: cover;
}

.agents-section{
  margin: 2rem 0;
}

.agents-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  flex-direction: column;
}

.agents-header .section-title {
  font: normal normal normal 48px/50px Gallery Modern;
  text-transform: uppercase;
  margin-bottom: 0;
}

.agents-header .section-title::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 2px;
  background-color: #6C8793;
}

.agents-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.agents-section .swiper-wrapper{
  height: auto;
  justify-content: space-between;
}

.agents-controls button {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #1c3844;
}

.agent-mobile {
  display: none !important;
}

.agent-desktop{
  display: flex !important;
}
.agent-card {
  background: white;
  padding: 1rem;
  text-align: left;
  padding: 0;
  gap: 0.5rem;
}

.agent-card .agent-name{
  font: normal normal normal 30px/33px Gallery Modern;
  color: #3A5B6A;
  margin: 0.5rem 0;
}

.agent-photo {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 1rem 0;
}

.agent-card .agent-read-more{
  font-weight: 500;
  color: #466472;
  text-decoration: none;
}


.contact-section {
  background-color: #3A5B6A;
  color: #fff;
  padding: 4rem 0;
}

.contact-section .section-title {
  font: normal normal normal 40px/1.2 'Gallery Modern';
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  position: relative;

}

.contact-section .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 2px;
  background-color: #6C8793;
}

.contact-section .section-subtitle {
  color: #d6d6d6;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #fff;
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #333;
  border-radius: 4px;
  width: 100%;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zM2 5L0 3h4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.65rem auto;
}

.contact-form select::-ms-expand {
  display: none;
}


.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}

.form-row input,
.form-row select {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  font: normal normal normal 16px/19px DM Sans;
  color: #333;
}

textarea {
  padding: 1rem;
  width: 80%;
  border: none;
  resize: vertical;
  font: normal normal normal 16px/19px DM Sans;
  outline: none;
}

.form-button button {
  all: unset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  display: inline-block;
  width: 200px;
  height: 50px;
  background-color: #6C8793;
  border: 1px solid #395B6A;
  text-transform: uppercase;
  font: normal normal normal 20px/22px Gallery Modern;
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  place-content: center;
  padding: 0 1rem;
  text-align: center;
}

.form-button button:hover {
  background-color: #6C8793;
  color: #fff;
  cursor: pointer;
}

.form-button .loader {
  border: 2px solid #fff;
  border-top: 2px solid #3A5B6A;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-response {
  margin-top: 1rem;
  font-size: 14px;
}

.form-response .success {
  color: green;
}

.form-response .error {
  color: red;
}

.blog-section {
  background-color: #fff;
}

.blog-section .listing-card {
  background-color: transparent;
  color: #707070;
  border: 1px solid #ddd;
}

.blog-section .listing-title {
  color: #1c3844;
}

.blog-section .listing-subtitle {
  color: #555;
}

.blog-section .listing-button {
  background-color: transparent;
  border: 1px solid #1c3844;
  color: #1c3844;
}

.blog-section .listing-button:hover {
  background-color: #1c3844;
  color: #fff;
}

.blog-section .listing-subtitle {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* número de linhas visíveis */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-section .listing-card img {
  max-height: 200px;
}

.youtube-section {
  background: rgb(58, 91, 106, 0.15) 0% 0% no-repeat;
  padding: 4rem 0;
}

.youtube-section .section-title {
  font: normal normal normal 48px/50px Gallery Modern;
  position: relative;
  text-transform: uppercase;
}

.youtube-section .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 2px;
  background-color: #6C8793;
}

.youtube-main {
  margin-bottom: 3rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-more-section {
  background-color: #f6f6f6;
  padding: 4rem 0;
}

.youtube-more {
  position: relative;
  background-color: #f6f6f6;
  padding: 2rem 0;
}

.youtube-more .subtitle {
  font: normal normal normal 40px/44px Gallery Modern;
  letter-spacing: 0px;
  color: #3A5B6A;
  text-transform: uppercase;
}

.youtubeSwiper .swiper-wrapper{
  height: auto;
  justify-content: space-between;
}

.youtube-more .swiper-slide {
  height: auto;
}

.youtube-more .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.youtubeSwiper img {
  width: 100%;
  height: auto;
  display: block;
}

.youtube-more .section-header{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.youtube-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.youtube-more .swiper-button-prev,
.youtube-more .swiper-button-next {
  width: 60px;
  height: 60px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.youtube-more .swiper-button-prev::after,
.youtube-more .swiper-button-next::after {
  font-size: 24px;
  color: #1c3844;
}

.main-video-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.main-video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6rem;
  color: white;
  padding: 1rem;
  border-radius: 50%;
}

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: -10px;
  font-size: 2rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}

.reviews-section {
  padding: 4rem 0;
}

.reviews-section .section-header{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.review-card {
  border: 1px solid #ccc;
  padding: 1.5rem;
  background-color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 28%;
  height: 350px !important;
}

.reviews-section .section-title {
  font: normal normal normal 48px/50px Gallery Modern;
  position: relative;
  text-transform: uppercase;
}

.reviews-section .section-title::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 2px;
  background-color: #6C8793;
}

.reviews-intro{
  font: normal normal 300 24px/60px DM Sans;
  margin-top: 0;
}

.client-name {
  font: normal normal normal 40px/21px Gallery Modern;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.client-project {
  margin-bottom: 0.5rem;
  font: normal normal 300 20px/28px DM Sans;

}

.client-rating i {
  color: #555;
  margin-right: 4px;
}

.client-message {
  font: normal normal normal 20px/26px DM Sans;
  color: #000000;

}

.review-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-controls .swiper-button-prev,
.review-controls .swiper-button-next {
  width: 60px;
  height: 60px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.review-controls .swiper-button-prev::after,
.review-controls .swiper-button-next::after {
  font-size: 24px;
  color: #1c3844;
}

.reviewsSwiper .swiper-wrapper{
  height: auto;
}

.agent-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 1rem;
}

.agent-modal.open {
  display: block;
}

.agent-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.agent-modal-content {
  position: relative;
  max-width: 800px;
  margin: 8vh auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.agent-modal-body {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.agent-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.agent-modal-body .agent-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.agent-modal-body .agent-image img {
  max-width: 180px;
  height: auto;
  border-radius: 4px;
}

.agent-modal h3{
  font: normal normal normal 24px/28px Gallery Modern;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.single-post .post-hero {
  margin-bottom: 2rem;
}

.post-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-header {
  margin-top: 4rem;
}

.post-category a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #3a5b6a;
  text-transform: uppercase;
  text-decoration: none;
}

.post-title {
  font-family: 'Gallery Modern';
  font-size: 3rem;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1rem;
}

.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
  margin-bottom: 4rem;
}

.post-content h2, .post-content h3 {
  font-family: 'Gallery Modern';
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-page .section-title {
  font-family: 'Gallery Modern';
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.blog-category {
  font-family: 'reality design';
  font-size: 1rem;
  color: #3A5B6A;
  text-transform: uppercase;
}

.blog-grid {
  display: flex; 
  flex-direction: column;
  gap: 2rem;
}

.blog-card {
  border: 1px solid #ddd;
  background: #fff;
  display: flex;
  justify-content: space-between;
  height: 400px;
  gap: 3rem;
}

.blog-card .blog-content{
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card .blog-title{
  font: normal normal normal 36px/26px Gallery Modern;
}

.blog-card .blog-subtitle{
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 1rem;
}

.blog-card .blog-image img {
  width: auto;
  height: 100%;
  max-width: 400px;
  object-fit: cover;
}

.blog-title {
  font-family: 'Gallery Modern';
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0.75rem 0;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: #444;
}

.blog-read-more {
  margin-top: 0.5rem;
  display: inline-block;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #294047;
  text-decoration: underline;
}

.blog-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.blog-hero {
  display: flex;
}
.blog-hero-thumb {
  width: 100%;
}

.blog-hero-thumb img,
.post-thumb img{
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.blog-list{
  padding-top: 4rem;
}

.blog-header{
  padding-top: 4rem;
}

.blog-header h1{
  font: normal normal normal 48px/50px Gallery Modern;
}

.blog-header img{
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 150px;
}

.footer-credits a{
  color: #fff;
  text-decoration: none;
}

.listing-card,
.review-card,
.blog-card,
.reviews-card {
  max-width: 100%;
  box-sizing: border-box;
}

.text-page.container{
  margin-top: 15rem;
  margin-bottom: 4rem;
}

@media screen and (max-width: 1024px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 60px;
  }

  .site-header .language-switcher {
    display: none;
  }

  .offcanvas-menu .language-switcher {
    display: flex;
    color: #fff;
    justify-content: flex-end;
    font-size: 1.5rem;
    font-family: Gallery Modern;
  }
  .offcanvas-menu .language-switcher a, 
  .offcanvas-menu .language-switcher span {
    font-family: "Gallery Modern";
    font-weight: 400;
    font-size: 24px;
    color: #fff;
  }

  .offcanvas-menu .language-switcher span{
    margin: 0 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .offcanvas-menu {
    width: 50%;
    padding-top: 5rem;
  }

  .offcanvas-nav ul li {
    margin: 1.5rem 0;
  }

  .offcanvas-nav a {
    font-size: 2rem;
  }

  .social-icons {
    margin-top: 3rem;
    gap: 2rem;
  }

  .about-grid,
  .founder-block {
    grid-template-columns: 1fr;
  }

  .founder-block.founder-right {
    direction: ltr;
  }

  .portfolio-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .portfolio-controls {
    justify-content: flex-start;
  }

  .listings-header,
  .reviews-section .section-header,
  .agents-header {
    gap: 1rem;
  }

  .listing-card,
  .review-card,
  .blog-card,
  .reviews-card {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box;
  }

  .agent-card {
    flex-direction: column;
  }

  .form-row {
    flex-direction: row;
    justify-content: center;
  }

  textarea {
    width: 100%;
  }
  .blog-card {
    flex-direction: column;
    height: auto;
    gap: 0;
  }
  
  a.blog-image{
    padding: 2rem;
  }

  .blog-card .blog-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }

  .blog-card .blog-content {
    padding: 1rem 1.5rem;
  }

  .blog-card .blog-title {
    font-size: 2.2rem;
    line-height: 2.5rem;
  }

  .blog-card .blog-subtitle{
    font-size: 1.2rem;
  }

  .blog-excerpt{
    font-size: 1rem;
  }

}

@media screen and (max-width: 768px) {
  .site-header {
    height: 110px;
  }
  .menu-toggle span {
    height: 5px;
    width: 45px;
  }
  .header-inner {
    padding: 0 1.8rem;
  }

  .logo img {
    max-width: 240px;
    height: auto;
  }

  .hero-section .swiper {
    height: calc(90vh - 80px);
  }

  .main-video-wrapper{
    width: 100%;
    height: 400px;
  }

  .main-video-thumb img {
    object-fit: cover;
    height: 100%;
  }

  .video-modal-close {
    top: -50px;
  }

  .youtube-more {
    padding: 2rem 1rem;
}

  .play-icon {
    font-size: 3rem;
  }

  .form-button button,
  .listing-button {
    width: 200px;
  }
  
  .offcanvas-menu {
    padding: 3rem 1.5rem;
    gap: 2.5rem;
    justify-content: flex-start;
  }
  .offcanvas-menu ul {
    padding-top: 2rem;
  }
  .custom-swiper-nav {
    bottom: 40px;
    right: 40px;
  }
  .founder-photo img {
    max-width: 154px;
  }
  .about-section,
  .founders-section,
  .reviews-section {
    padding: 2rem 0;
  }
.agents-section{
  padding: 2rem 1rem;
}


  .portfolio-section {
    padding: 2rem 0;
    height: 600px;
  }
  .founder-block{
    gap: 1rem;
  }
  .listings-section{
    padding: 2rem 0.5rem;
  }
  .section-title{
    font-size: 2rem !important;
  }
  .founder-block{
    margin-bottom: 1rem;
  }

  .about-button, .founder-button, .view-all-button, .agent-button {
    display: none;
  }

  .portfolio-section img{
    width: auto;
    height: 100%;
  }
  .portfolio-header-absolute {
    top: 80px;
    left: 20px;
    background: rgba(255, 255, 255, 0.8);
    max-width: 300px;
    padding: 1rem;
  }
  .agents-section {
    margin-top: 0;
    margin-bottom: 2.5rem;
  }

  .portfolio-header .section-title{
    width: 50%;
  }
  .offcanvas-close {
    font-size: 4rem;
    right: 1.5rem;
    top: 5px;
  }
  .offcanvas-nav ul li {
    margin: 0.5rem 0;
}
  .social-icons {
    margin-top: 0;
  }

  .offcanvas-nav a {
    font-size: 1.5rem;
  }

  .agents-controls {
    position: absolute;
    right: 0;
  }

  .agent-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .agent-image {
    flex: 0 0 100px;
  }

  .agent-image img {
    width: 100px;
    height: auto;
    border-radius: 4px;
  }

  .agent-content {
    flex: 1;
  }

  .agent-button {
    display: inline-block;
    margin: 0.5rem 0;
  }

  .agent-info-mobile{
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .agent-desc-mobile{
    display: flex;
    flex-direction: column;
  }

  .agent-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .agent-read-more {
    display: inline-block;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }

  .agents-header .section-title{
    margin-top: 0;
  }

  .agent-desktop {
    display: none !important;
  }

  .agent-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .agent-mobile .agent-image {
    flex: 0 0 100px;
  }

  .agent-mobile .agent-image img {
    width: 100px;
    height: auto;
    border-radius: 4px;
  }

  .agent-mobile .agent-content {
    flex: 1;
  }

  .agent-mobile .agent-button {
    margin: 0.5rem 0;
    max-width: 100px;
  }

  .agent-mobile .agent-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .agent-mobile .agent-read-more {
    display: inline-block;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }
  .contact-section{
    padding: 2rem 1rem;
  }
  .blog-section .listing-button{
    display: none;
  }
  .youtube-section{
    padding: 2rem 0;
  }

  .footer-nav{
    display: none;
  }
  .youtube-section .section-title{
    margin: 2rem 1rem;
  }
  .blog-page .section-title {
    font-size: 2.25rem;
    line-height: 2.75rem;
  }

  .blog-card .blog-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .blog-card .blog-subtitle {
    font-size: 0.95rem;
  }

  .blog-excerpt {
    font-size: 0.9rem;
  }

  .blog-read-more {
    font-size: 0.85rem;
  }
  .blog-section .listing-card{
    max-width: 100%;
  }

  .youtube-more .swiper-slide {
    max-height: 200px;
    width: 100% !important;
  }
}

@media screen and (max-width: 480px) {


  .social-icons a {
    font-size: 1.5rem;
  }

  .menu-toggle span {
    height: 3px;
    width: 35px;
  }

  .section-title {
    font-size: 1.75rem !important;
    line-height: 2rem !important;
  }

  .subtitle {
    font-size: 1.5rem !important;
  }

  .listing-title,
  .agent-card .agent-name,
  .client-name {
    font-size: 1.25rem !important;
  }

  .reviews-intro {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .swiper-button-prev,
  .swiper-button-next,
  .review-controls .swiper-button-prev,
  .review-controls .swiper-button-next {
    width: 40px;
    height: 40px;
  }
  .blog-card .blog-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .blog-card .blog-content {
    padding: 2rem;
  }

  .blog-page .section-title {
    font-size: 1.75rem;
  }

  .youtube-section .container{
    padding: 0;
  }
  .founder-read-more{
    margin-top: 0;
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 2000px) {
  .portfolio-section {
    max-width: 1600px;
    justify-self: center;
  }
  .hero-section .swiper {
    height: 90vh;
  }
}
