* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.back {
  font-size: 18px;
  margin-left: 30px;
}

body {
  font-family: sans-serif;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.5;
}
.back a,
.back i {
  text-decoration: none;
  color: #dc143c;
  display: inline-block;
  margin-bottom: 10px;
}
.back a:hover {
  color: #e03a5d;
  text-decoration: underline;
}
.back i:hover {
  color: #e03a5d;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  margin-left: 15px;
}

.image-gallery {
  flex: 2;
  min-width: 300px;
}

.main-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.thumbnails img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.thumbnails img:hover {
  border-color: #dc143c;
}

.property-info {
  flex: 1;
  min-width: 280px;
  border-radius: 10px;
  padding: 20px;
  margin-left: 15px;
}

.property-info h2 {
  margin-top: 0;
  font-size: 22px;
}

.location {
  font-size: 18px;
  margin-bottom: 10px;
}
.location i {
  color: #dc143c;
  margin-right: 8px;
}

.price {
  color: #dc143c;
  font-size: 24px;
  font-weight: bold;
  margin: 15px 0;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.details i {
  color: #dc143c;
  margin-right: 8px;
}

.contact-btn {
  background-color: #dc143c;
  color: white;
  padding: 12px 20px;
  border: none;
  width: 100%;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}
.contact-btn:hover {
  background-color: #e03a5d;
}

.main-details {
  margin: 30px 20px 20px;
}

.feature {
  display: flex;
  flex-wrap: wrap;
  gap: 400px; /* For desktop */
}

.features {
  margin-top: 35px;
  margin-left: 20px;
}
.fea {
  font-weight: bold;
  font-size: 20px;
}
.feature i {
  margin-right: 8px;
  color: #dc143c;
}

.main-details p {
  color: #666;
  font-size: 20px;
}

.ame {
  margin-bottom: 35px;
  margin-left: 5px;
}

.map {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* ===================== MEDIA QUERIES ===================== */

/* Tablets */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    padding: 0 15px;
  }

  .image-gallery,
  .property-info {
    width: 100%;
  }

  .feature {
    gap: 100px;
    flex-direction: column;
  }

  .main-details {
    margin: 20px 15px;
  }
}

/* Mobile Devices */
@media (max-width: 600px) {
  .back {
    margin: 15px 10px;
    font-size: 16px;
  }

  .back a,
  .back i {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .container {
    flex-direction: column;
    padding: 0 15px;
  }

  .image-gallery,
  .property-info {
    width: 100%;
    padding: 0;
  }

  .main-image img {
    max-height: 200px;
    border-radius: 8px;
  }

  .thumbnails img {
    width: 75px;
    height: 55px;
  }

  .property-info h2 {
    font-size: 20px;
  }

  .location,
  .price,
  .main-details p {
    font-size: 17px;
  }

  .details {
    gap: 10px;
  }

  .fea {
    font-size: 18px;
  }

  .contact-btn {
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 5px;
  }

  .main-details {
    margin: 20px 10px;
  }

  .features {
    margin-top: 25px;
    margin-bottom: 20px;
  }

  .ame {
    margin-bottom: 30px;
  }

  .feature {
    flex-direction: column;
    gap: 0; /* FIXED: No gap in mobile */
  }

  .map {
    height: 200px;
    border-radius: 8px;
    margin: 10px 0;
  }
}

.cc {
  color: #666;
}

.main-video {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

.main-video video {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

a {
  text-decoration: none;
}

.extra-desc i {
  color: #dc143c;
  font-size: 18px;
}
.extra-desc strong {
  margin-left: 5px;
  font-size: 20px;
}

/* ========== Added Only This Block for Even Left & Right Padding in Description ========== */
.desc {
  text-align: justify;
  padding: 0 20px;
}

.container-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.text-red {
  color: #d90429;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: bold;
  font-family: serif;
  text-decoration: none;
  color: black;
}

.desktop-nav {
  display: none;
}

.desktop-nav a,
.desktop-nav button {
  margin-left: 2rem;
  font-weight: 500;
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: #d90429;
}

.desktop-nav button {
  border: 1px solid #d90429;
  padding: 0.3rem 0.75rem;
  background: none;
  color: #d90429;
  cursor: pointer;
  font-size: 0.9rem;
}

.menu-icon {
  background: none;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.mobile-nav {
  background: white;
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.mobile-nav a,
.mobile-nav button {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav button {
  background: none;
  color: #d90429;
  border: none;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .menu-icon {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}
* {
  box-sizing: border-box;
}
/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
  .back {
    font-size: 14px;
    margin: 10px;
  }

  .back a,
  .back i {
    font-size: 16px;
  }

  .thumbnails img {
    width: 60px;
    height: 45px;
  }

  .property-info h2,
  .location,
  .price,
  .main-details p,
  .fea {
    font-size: 16px;
  }

  .contact-btn {
    font-size: 14px;
    padding: 8px 14px;
  }

  .desc {
    padding: 0 12px;
    font-size: 15px;
  }

  .map {
    height: 180px;
  }

  .main-video {
    padding: 0.5rem;
  }
}

/* High-Resolution Tablets and Medium Devices */
@media (min-width: 601px) and (max-width: 768px) {
  .container {
    padding: 0 15px;
    flex-direction: column;
  }

  .property-info,
  .image-gallery {
    width: 100%;
  }

  .main-image img {
    max-height: 250px;
  }

  .feature {
    flex-direction: column;
    gap: 20px;
  }

  .main-details {
    margin: 20px 15px;
  }

  .desc {
    padding: 0 18px;
  }
}

.sec-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px 20px;
  gap: 30px;
}

.sec-footer h1 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #dc143c; /* golden accent */
}

.sec-footer p,
.sec-footer li a {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
}

.sec-footer .info-1,
.sec-footer .info-2,
.sec-footer .info-3 {
  flex: 1 1 250px;
  min-width: 230px;
}

.sec-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sec-footer ul li {
  margin-bottom: 10px;
}

.sec-footer ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.sec-footer ul li a:hover {
  color: #dc143c;
  text-decoration: underline;
}

.mediass {
  margin-top: 15px;
}

.mediass a {
  color: #fff;
  font-size: 20px;
  margin-right: 12px;
  transition: transform 0.3s, color 0.3s;
}

.mediass a:hover {
  color: #dc143c;
  transform: scale(1.2);
}

.info-3 p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.info-3 i {
  margin-right: 8px;
  color: #dc143c;
}

.copy {
  background-color: #111;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #fff;
}

.copy p {
  margin: 0;
}

.phone-icon {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s ease;
  /* New animation properties */
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.phone-circle {
  background: #dc143c;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Add wave-like shadow animation */
  animation: shadow 3s ease-in-out infinite;
  margin-bottom: 20px;
}
#developers {
  color: #d90429;
  text-decoration: none;
}
@keyframes shadow {
  0%,
  100% {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  }
}

.phone-icon:hover {
  animation-play-state: paused;
  transform: scale(1.1) translateY(-5px);
}
.phone-circle i {
  color: #fff;
  font-size: 25px;
}

.container-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.text-red {
  color: #dc143c;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: bold;
  font-family: serif;
  text-decoration: none;
  color: black;
}

.desktop-nav {
  display: none;
}

.desktop-nav a,
.desktop-nav button {
  margin-left: 2rem;
  font-weight: 500;
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: #dc143c;
}

.desktop-nav button {
  border: 1px solid #dc143c;
  padding: 0.3rem 0.75rem;
  background: none;
  color: #dc143c;
  cursor: pointer;
  font-size: 0.9rem;
}

.menu-icon {
  background: none;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.mobile-nav {
  background: white;
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.mobile-nav a,
.mobile-nav button {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav button {
  background: none;
  color: #dc143c;
  border: none;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .menu-icon {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}
.floor-plan {
  margin: 20px;
  text-align: center;
  padding: 10px;
}

.floor-plan h1 {
  font-size: 2.2rem;
  margin: 20px 0;
}

.floor-plan img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 30px auto;
  display: block;
  border-radius: 10px;
}

/* Responsive media queries */
@media (max-width: 1024px) {
  .floor-plan h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .floor-plan h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .floor-plan h1 {
    font-size: 1.6rem;
  }
}
/* Two column layout */
.two-column-container {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.two-column-container .column {
  flex: 1;
}

.two-column-container p {
  margin: 8px 0;
  padding: 5px 0;
}
/* Red icons */
.red-icon {
  color: #e74c3c; /* Red color */
  margin-right: 8px;
  width: 18px; /* Ensures consistent spacing */
  text-align: center;
}
.red {
  color: #e74c3c;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .two-column-container {
    flex-direction: column;
    gap: 0;
  }
}
