/* Global Styles */
:root {
  --primary-color: #c4944e;
  /* --secondary-color: #395144; */
  --secondary-color: #84ac8c;
  --accent-color: #3498db;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --dark-gray: #777;
  --white: #ffffff;
  --off-white: #f0f0f0;
  --black: #000000d7;
}

/* Screen Reader Only - Hidden visually but accessible to screen readers and search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

a:focus,
a:active {
  outline: none;
  box-shadow: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif !important;
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 400;

  height: 100%;
  width: 100%;
}

button {
  cursor: pointer;
  border-radius: 30px !important;

  padding: 0.85rem 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  transition: background-color 0.3s;
}

button a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.15rem;
}
.container .text-container h1 {
  font-size: 4rem !important;
  font-weight: 600 !important;
  margin: 0.5rem 0 !important;
}

.container .text-container p {
  font-size: 1.1rem !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}

@media (max-width: 768px) {
  .container .text-container h1 {
    font-size: 2.5rem !important;
  }
}

a {
  color: white;
}
p {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 400;
}

span {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 400;
}

button:hover {
  background-color: var(--primary-color) !important;
  opacity: 0.8 !important;
  color: var(--white);
}

.container {
  max-width: 95vw;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0px;
  }
}

.doted-line {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.doted-line i {
  font-size: 10px;
  height: 10px;
  width: 40px;
  background-color: var(--primary-color);
  color: var(--primary-color) !important;
  margin: 0 2px;
}

/*------------------------------- Section Headers ------------------------------- */
.section-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: start;
  width: 100%;
}

.section-header.text-center {
  align-items: center;
  text-align: center;
}

.section-header.text-center .subtitle,
.section-header.text-center h2 {
  text-align: center;
}

.section-header.text-center .doted-line {
  justify-content: center;
  align-items: center;
}

.section-header .subtitle {
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header h2 {
  color: var(--secondary-color);
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1;
  width: 100%;
}

.section-header .doted-line {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 0;
  width: auto;
}

@media (max-width: 1024px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-header {
    align-items: center;
    text-align: center;
  }

  .section-header .subtitle,
  .section-header h2 {
    text-align: center;
    width: 100%;
    line-height: 1.2;
  }

  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 0rem;
  }

  .section-header .doted-line {
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0.75rem;
  }
}

/*------------------------------- Header Styles ------------------------------- */
header {
  position: relative;
  z-index: 1000 !important;
  width: 100%;
  height: auto;
}

.top-bar {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 10px 0;
  width: 100%;
  height: auto;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-right: 20px;
  font-size: 14px;
}

.contact-info i {
  margin-right: 5px;
}

.social-links a {
  color: var(--white);
  font-size: 1rem;
  margin-left: 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-color);
}

.main-nav {
  width: 100%;
  display: flex !important;
  background-color: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-nav .container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 1rem !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
  }

  .main-nav .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem 0 !important;
  }
}

.logo {
  text-decoration: none;
  color: var(--text-color);
  height: auto;
  width: auto;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: auto;
  height: 40px;
  object-fit: contain;

  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s;

  padding-bottom: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);

  border-bottom: 2px solid var(--primary-color);
}

.quote-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.quote-btn:hover {
  background-color: #223253;
}

.mobile-menu {
  display: none;
}

.mobile-menu-close {
  display: none;
}

.mobile-menu-open {
  display: none;
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .main-nav {
    padding: 10px 0;

    position: relative;

    background-color: #fff;
  }

  .main-nav .container {
    width: 100%;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
  }

  .main-nav .container .logo {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
  }

  .main-nav .container .logo img {
    height: 40px;
    width: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    justify-content: start;
    align-items: center;

    padding-top: 10rem;

    gap: 0.75rem;

    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 104vh;
    background-color: var(--white);
    z-index: 1000000 !important;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;

    padding-bottom: 0rem;
  }

  .quote-btn {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu i {
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    padding-right: 0.5rem;
  }

  .mobile-menu-close {
    display: block;
  }

  .mobile-menu-close i {
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;

    position: absolute;
    top: 30px;
    right: 30px;
  }
}

/*------------------------------- Hero Section ------------------------------- */
.hero {
  background: url("https://newvashaepz.com/wp-content/uploads/2025/09/Landing-Page-option-1-scaled.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: var(--white);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #395144cc, #39514400);
  opacity: 100%;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
  margin-bottom: 50px;

  position: relative;
  z-index: 2;
}

.hero-content p {
  font-size: 1.2rem !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 0px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  padding-top: 1rem;
  line-height: 1.4 !important;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
  overflow: visible !important;
}

.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 18px;
  background: #ffffff00;
  display: flex;
  justify-content: start;
  align-items: center;
  overflow: visible !important;
}

.hero-swiper .swiper-slide h2 {
  font-size: 42px;
  font-weight: 600;
  text-align: start;
  color: var(--white);
  padding-bottom: 1rem;

  line-height: 1.4 !important;
}

.hero-swiper .swiper-slide-active h2 {
  animation: zoomIn 0.5s ease-in-out !important;
}

@keyframes zoomIn {
  from {
    transform: scale(1.4);
  }
  to {
    transform: scale(1);
  }
}

.hero-form {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-form input,
.hero-form select {
  padding: 15px;
  padding-left: 20px;
  border: none;
  border-radius: 30px;
  flex: 1;

  border: 1px solid var(--secondary-color);
}

.hero-form select {
  cursor: pointer;
}

.hero-form input::placeholder,
.hero-form select::placeholder {
  color: var(--dark-gray);
}

.hero-form input:focus,
.hero-form select:focus {
  outline: 1px solid var(--secondary-color);
}

.hero-form button {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-form button:hover {
  background-color: #223253;
}

.stats-container {
  display: flex;
  gap: 10px;
  margin-top: 50px;
  width: 100%;
  max-width: 700px;

  position: relative;
  z-index: 2;
}

.stat-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-align: center;
  flex: 1;
}

.stat-box h3 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
  text-align: start;
}

.stat-box p {
  font-size: 18px;
  font-weight: 400;
  text-align: start;
}

/* Odometer specific styles */
.odometer {
  font-family: "Poppins", sans-serif !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .hero-form {
    flex-direction: column;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero {
    padding-bottom: 50px;
    margin-bottom: 180px;
  }

  .home .hero {
    padding-bottom: 50px;
    margin-bottom: 0px;
  }
}

@media (max-width: 768px) {
  .hero {
    background: url("https://newvashaepz.com/wp-content/uploads/2025/08/DJI_20250528145011_0377_D-1-scaled.webp");
    background-size: cover;
    background-position: center;
    padding: 3rem 0 4rem 0;
    color: var(--white);
    position: relative;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #395144;
    opacity: 0.7 !important;
    opacity: 100%;
    z-index: 1;
  }

  .hero-form {
    display: none;
  }

  .properties-page .text-container {
    width: 100%;
    text-align: center;
    padding-bottom: 4rem;
  }

  .hero-content h1 {
    font-size: 1.4rem !important;
    padding-top: 1rem;
  }

  .hero-content h2 {
    font-size: 2rem !important;
    width: 80%;
  }

  .stats-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 50px;
    width: 100%;
    position: relative;
    z-index: 2;

    margin: 0 auto;
  }

  .stat-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 150px;

    background-color: #395144cc;
    border-radius: 10px;
    padding: 1rem;
  }

  .stat-box h3 {
    font-size: 2.5rem !important;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
  }

  .stat-box p {
    font-size: 1.1rem !important;
    text-align: center;
    color: var(--white) !important;
    width: 80%;
  }
}

/*------------------------------- About Section ------------------------------- */
.about {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.about .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about .grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.about .about-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.features-list {
  list-style: none;
  margin: 20px 0;
}

.features-list li {
  margin-bottom: 5px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1rem;
}

.features-list li:before {
  content: "✓";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

.learn-more {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.learn-more a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 1.25rem;
}

.learn-more:hover {
  background-color: #1a252f;
}

.about-video {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.about-video img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--secondary-color);
  color: var(--white);
  width: 80px !important;
  height: 80px !important;
  border-radius: 100px !important;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;

  display: flex;
  justify-content: center;
  align-items: center;
}

.play-btn i {
  font-size: 32px;
  color: var(--white);
  padding: 0 !important;
  margin: 0 !important;
  padding-left: 0.25rem;
}

.play-btn:hover {
  background-color: #223253;
}

@media (max-width: 1024px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 2rem 0 1rem 0;
  }

  .about .container {
    gap: 0;
  }

  .about .grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  .about-content {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .about-video {
    width: 100%;
  }

  .about-video img {
    width: 100%;
    height: 300px;
  }
}

/*------------------------------- Services Section ------------------------------- */
.services {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--light-gray);
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;

  position: relative;
  overflow: hidden;

  height: 27rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card.commercial {
  background: url("https://newvashaepz.com/wp-content/uploads/2025/09/DJI_20241210080938_0433_D-scaled.jpg");
  background-size: cover;
  background-position: center;
}

.service-card.residential {
  background: url("https://newvashaepz.com/wp-content/uploads/2025/09/newvasha-estate-option-1-scaled.jpg");
  background-size: cover;
  background-position: center;
}

.service-card.industrial {
  background: url("https://newvasha.com/wp-content/uploads/2025/09/DJI_20250826170901_0304_D-1-scaled.webp");
  background-size: cover;
  background-position: center;
}

.service-card i {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 20px;

  position: relative;
  z-index: 2;
}

.service-card h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-card p {
  color: var(--white);
  position: relative;
  z-index: 2;
  font-size: 1.1rem;

  display: block;
  height: auto;
  width: 90%;
}

.service-link a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
}

.service-link {
  display: inline-block;
  margin-top: 20px;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;

  position: relative;
  z-index: 2;
}

.service-link:hover {
  background-color: #223253;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services {
    padding: 2rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/*------------------------------- Commission Section ------------------------------- */
.commission {
  background-image: var(--commission-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  height: 400px;
  color: var(--white);
  text-align: center;
  position: relative;
}

.commission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  opacity: 0.35;
  z-index: 1;
}

.commission .container {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.commission .section-header {
  width: 70%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.commission .section-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: start;
  color: var(--primary-color) !important;
}

.commission .section-header h3 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: start;
  max-width: 800px;
}

.commission-cta {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.join-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.join-btn:hover {
  background-color: #223253;
}

.join-btn i {
  font-size: 18px;
  margin-left: 10px;
}

.join-btn a {
  text-decoration: none;
  color: var(--white);
}


@media (max-width: 1024px) {
  .commission {
    background-attachment: scroll;
    height: auto !important;
    padding: 4rem 0;
  }

  .commission .container {
    flex-direction: column;
    gap: 2rem;
  }

  .commission .section-header {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .commission .section-header h2 {
    text-align: center;
  }

  .commission .section-header h3 {
    text-align: center;
  }

  .commission-cta {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .commission {
    background-attachment: scroll;
  }

  .commission .section-header h2 {
    font-size: 20px;
  }

  .commission .section-header h3 {
    font-size: 28px;
  }

  .join-btn {
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
  }
}

/*------------------------------- Why Choose Us Section ------------------------------- */
.why-choose {
  padding: 4rem 0;
  background-color: var(--off-white);

  height: auto;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.why-choose .container {
  height: 100%;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.why-choose .section-header {
  width: 100%;
  height: 100%;
}

.why-choose-grid {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: stretch;

  height: auto;
  width: 100%;
}

.why-choose-content {
  height: 100%;
  width: 60%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;

  gap: 1.5rem;

  box-sizing: border-box;
}

.testimonial {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 10px;

  height: 320px;
}

@media (max-width: 768px) {
  .testimonial {
    height: 430px !important;
  }
}

@media (min-width: 1440px) {
  .testimonial {
    height: 280px;
  }
}

.testimonial blockquote {
  font-size: 18px;
  height: auto;
  font-style: italic;
}

.testimonial-author {
  color: var(--black) !important;
  font-weight: 500;

  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: start;

  gap: 1rem;

  padding-top: 1rem;
}

.testimonial-author-info-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--black) !important;
}

.testimonial-author img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  object-position: center;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-item {
  padding: 20px;
  background-color: var(--light-gray);
  border-radius: 10px;
  width: 100%;

  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0rem;
}

.feature-item i {
  font-size: 1.25rem;
  color: var(--white);

  background-color: var(--primary-color);
  padding: 0.5rem;
  border-radius: 50%;

  box-sizing: border-box;

  height: 2.8rem;
  width: 2.8rem;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 0.5rem;
}

.feature-item h4 {
  color: var(--black) !important;
  font-size: 1.25rem;
  font-weight: 500;
}

.feature-item p {
  font-size: 1rem !important;
  line-height: 1.4;
  font-weight: 400;
}

.why-choose-video {
  height: auto;
  width: 40%;

  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-choose-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-wrapper {
  width: 100%;
  height: auto;

  display: flex;
  align-items: stretch;
}

.testimonial-wrapper .swiper-slide {
  min-height: 100%;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.swiper-pagination {
  cursor: pointer;
  bottom: 1rem !important;
}

.swiper-pagination-bullet {
  width: 11px !important;
  height: 11px !important;
  background: #ddd;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

@media (max-width: 1024px) {
  .why-choose-grid {
    flex-direction: column;
    gap: 40px;
  }

  .why-choose-content {
    width: 100%;
    padding-right: 0;
    margin-top: 0.75rem;
  }

  .why-choose-video {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-choose {
    padding: 2rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 20px;
  }

  .testimonial blockquote {
    font-size: 16px;
  }

  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .testimonial-author img {
    width: 60px;
    height: 60px;
  }
}

/*------------------------------- Portfolio Section ------------------------------- */
.portfolio {
  padding: 4rem 0 6rem 0;
  background-color: var(--light-gray);
}

.portfolio .container {
  width: 100%;
  height: 100%;

  position: relative;
}

.portfolio .section-header {
  width: 100%;
  height: 100%;
  margin: 0 auto 60px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.portfolio .section-header .header-content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;

  width: 60%;
  height: 100%;
}

.portfolio .section-header .button-container {
  width: 40%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  gap: 1rem;
}

.portfolio .section-header .button-container p {
  font-size: 1.25rem;
  margin: 0;
  text-align: start !important;
  width: 100%;
  height: 100%;
}

.portfolio .section-header .button-container .portfolio-btn {
  width: auto;
  height: auto;
}

.portfolio .section-header .button-container .portfolio-btn a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.15rem;
}

.portfolio .section-header .header-content p {
  font-size: 1.25rem;
  margin: 0;
  text-align: start !important;
  width: 100%;
  height: 100%;
}


.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0rem;

  z-index: 100;
  position: relative;
}

.portfolio-item {
  height: auto !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.75rem;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;

  padding-bottom: 4.5rem;
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: bottom;
}

.portfolio-content {
  padding: 1rem 1.5rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.75rem;

  height: auto !important;
}

.portfolio-content h4 {
  font-size: 24px;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 0px;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.portfolio-content p {
  font-size: 1rem !important;
  color: var(--text-color);
  padding: 0;
  margin: 0;
  min-height: calc(
    16px * 4 * 1.2
  ) !important; /* 4 lines minimum with 1.5 line height */
  width: 100%;
  line-height: 1.5;
  /* overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical; */
}

.portfolio-grid-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: stretch;
  height: 100%;
}

.portfolio-features .feature {
  margin-bottom: 1rem;
}

.portfolio-features h5 {
  color: var(--black) !important;
  margin-bottom: 0px;
  font-size: 18px;
  font-weight: 600;
}

.portfolio-offer {
  padding: 15px;
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  border-radius: 5px;
  border: none;
  cursor: pointer;

  width: 90%;
  text-align: center;
  transition: background-color 0.3s;

  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: auto !important;
  margin: 0 auto !important;

  position: absolute;
  bottom: 1.5rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  z-index: 10;
}

.portfolio-offer span {
  font-size: 1rem;
  font-weight: 500;
}

.portfolio-offer:hover {
  background-color: #223253;
}

.portfolio-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0rem;

  margin-top: 0rem !important;
  bottom: -1rem !important;
  height: 0px !important;
}

@media (max-width: 768px) {
  .portfolio-pagination {
    bottom: 0rem !important;
    height: 0px !important;
  }
}

.portfolio-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  opacity: 1;

  margin-top: 4rem !important;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio .section-header {
    margin-bottom: 40px;
    flex-direction: column;
    gap: 2rem;
  }

  .portfolio .section-header .header-content {
    width: 100%;
    text-align: center;
  }

  .portfolio .section-header .header-content p {
    text-align: center !important;
  }

  .portfolio .section-header .button-container {
    width: 100%;
    align-items: center;
  }

  .portfolio .section-header .button-container p {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .portfolio {
    padding: 2rem 0 4rem 0;
  }

  .portfolio .section-header .header-content p {
    font-size: 1rem;
  }

  .portfolio .section-header .button-container p {
    font-size: 1rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item img {
    height: 200px;
  }

  .portfolio-content {
    padding: 20px;
  }

  .portfolio-content h4 {
    font-size: 20px;
  }
}

/* ------------------------------- Blog Section ------------------------------- */

.blog {
  padding: 4rem 0;
  background-color: var(--white);
}

.blog .section-header {
  max-width: 100%;
  margin: 0 auto 60px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  height: 100%;
  gap: 1rem;
}

.blog .section-header .header-content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;

  width: 60%;
  height: 100%;
}

.blog .section-header .button-container {
  width: 40%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-end;

  gap: 1rem;
}

.blog .section-header .button-container p {
  font-size: 1.25rem;
  margin: 0;
  text-align: start !important;
  width: auto;
  height: 100%;
}

.blog .section-header .button-container .blog-btn {
  width: auto;
  height: 100%;
}

.blog .section-header .button-container .blog-btn a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.15rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-item {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-item .separator {
  width: 100%;
  height: 1px;
  background-color: var(--light-gray);
  margin: 0.5rem 0;
}

.blog-item-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-item img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.blog-item-content {
  padding: 1rem;
}

.blog-item-content h4 {
  font-size: 1.25rem;
  color: var(--secondary-color);

  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  min-height: calc(1.25rem * 2 * 1.2);
  margin-bottom: 0.5rem;
}

.blog-item-content h4 a {
  text-decoration: none;
  color: var(--black);
  transition: color 0.3s;
  font-weight: 600;
}

.blog-item-content h4 a:hover {
  color: var(--secondary-color);
}

.blog-item-content p {
  font-size: 16px !important;
  color: var(--text-color);

  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-item-info {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: start;
  gap: 1rem;
  padding: 0.5rem 1rem 1rem 1rem;
}

.blog-item-info i {
  font-size: 1rem;
  font-weight: 400;
}

.blog-item-info span {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .blog .section-header {
    flex-direction: column;
    gap: 2rem;
  }

  .blog .section-header .header-content {
    width: 100%;
    text-align: center;
  }

  .blog .section-header .button-container {
    width: 100%;
    align-items: center;
  }

  .blog .section-header .button-container p {
    text-align: center !important;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog {
    padding: 2rem 0;
  }

  .blog .section-header {
    margin-bottom: 40px;
  }

  .blog .section-header .button-container p {
    font-size: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-item-img {
    height: 200px;
  }

  .blog-item-content {
    padding: 0.75rem;
  }

  .blog-item-content h4 {
    font-size: 1.1rem;
    line-height: 1.2;
    min-height: auto !important;
    margin-bottom: 0.25rem;
  }

  .blog-item-content p {
    font-size: 14px !important;
  }

  .blog-item-info {
    padding: 0.5rem 0.75rem 0.75rem 0.75rem;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .blog-item-info span {
    font-size: 14px;
  }
}

/*------------------------------- Footer ------------------------------- */
.footer {
  background-color: #000 !important;
  color: var(--white);
  padding: 4rem 0 2rem;

  width: 100%;
  height: auto;
}

.footer .container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2rem;

  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;

  width: 90% !important;
  max-width: 1500px !important;
  height: 100%;
}

.footer-col {
  width: 90%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;
}

.footer-col.logo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  width: 100%;
  height: auto;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-col h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;
}

.footer-col ul li {
  margin-bottom: 0px !important;
  line-height: 1;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;

  font-size: 1rem;
  line-height: 1.1;
}

.footer-col a:hover {
  color: var(--secondary-color);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;
}

.footer-col p {
  margin-bottom: 0px !important;
  font-size: 1rem !important;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: row;
  justify-content: start;
  align-items: start;
  gap: 1rem;
}

.footer-social a {
  margin-right: 15px !important;
  margin: 0% !important;
}

.footer-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 30px !important;
}

.footer-form button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 30px !important;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-form button:hover {
  background-color: #b8870ba6;
}

.footer-bottom {
  width: 100% !important;
  height: 100% !important;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center !important;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 1rem !important;
  padding-top: 0.5rem;
  color: var(--white);
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem;
    width: 100% !important;
    max-width: 100%;
    height: 100%;
    margin-bottom: 0px !important;
  }

  .footer-col.logo {
    width: 90vw;
  }

  .footer-col.logo a {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-logo img {
    width: 100%;
  }

  .footer {
    padding: 40px 0 30px 0px !important;
  }

  .footer-col {
    text-align: center !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start !important;
    gap: 0rem;
    max-width: 100%;
  }

  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .footer-social {
    justify-content: center !important;
    align-items: center !important;
  }

  .footer-contact-info {
    width: 100%;
    text-align: center !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding-bottom: 2rem;
  }

  .footer-col p {
    text-align: start !important;
    font-size: 1rem !important;
  }

  .footer-col h3 {
    text-align: start !important;
    padding-bottom: 0.25rem !important;
  }
}

/* ------------------------------- Video Popup ------------------------------- */
.video-popup {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);

  z-index: 10000;
}

.video-popup-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
}

.video-popup-content {
  background-color: var(--white);
  width: 100%;
  height: 100%;
  width: 1000px;
  max-width: 90%;
  height: 600px;
  max-height: 90svh;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.video-popup-close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  cursor: pointer;
}

.video-popup-close i {
  font-size: 2rem;
  color: var(--black);
  cursor: pointer;
}

.video-popup .video-popup-video {
  width: 100%;
  height: 100%;
}

.video-popup-video iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .video-popup {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000ee;

    z-index: 10000;
  }

  .video-popup-content {
    background-color: var(--white);
    width: 100%;
    height: 95%;
    width: 1000px;
    max-width: 95%;
    height: 400px;
    max-height: 100svh;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }

  .video-popup-close {
    top: 1rem;
    right: 1rem;
  }

  .video-popup-close i {
    font-size: 1.25rem;
    color: #000000;

    background-color: var(--white);
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    z-index: 1000000;

    height: 35px;
    width: 35px;

    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Property Popup Modal */
#propertyPopupModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.property-popup-modal-container {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.property-popup-modal-container .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 10;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 100% !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .property-popup-modal-container {
    position: relative;
    width: 90vw;
    max-width: 100%;
    height: 700px !important;
    max-height: 800px !important;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .property-popup-modal-container iframe {
    height: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 468px) {
  .property-popup-modal-container {
    height: 70vh !important;
    max-height: 70vh !important;
  }

  .property-popup-modal-container .close-btn {
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem !important;
    height: 2rem !important;
    font-size: 1rem !important;
  }
}

/* --- Safari fallback --- */
/* Safari doesn't support background-attachment: fixed properly,
   so we detect that and override it. */
@supports (-webkit-touch-callout: none) {
  .commission {
    background-attachment: scroll !important; /* disables parallax only for Safari */
    background-position: center center !important;
    background-size: cover !important;
  }

}

/* Swiper navigation custom style */
.swiper-button-next,
.swiper-button-prev {
  color: #222 !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 50%;
  width: 3rem !important;
  height: 3rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
