html,
body {
  height: 100%;
}

body {
  background-color: rgb(33, 33, 88, 1);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.gallery-img {
  height: 200px; /* Fixed height */
  object-fit: cover; /* Maintain aspect ratio, crop if needed */
  width: 100%;
}

/* header Part */
.headerTopPart {
  background-color: #f1f1f1;
  padding: 10px 0;
}
.languagePart a {
  margin-right: 10px;
  color: #000;
  font-weight: bold;
}
.socialLick ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: end;
  gap: 10px;
}
.socialLick a {
  display: inline-block;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 16px;
}
.middleHeader {
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.headerLogo i {
  font-size: 24px;
  margin-right: 10px;
  cursor: pointer;
}
.headerButton a {
  background-color: #007bff;
  color: white;
  padding: 6px 12px;
  margin-left: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}
.headerNav {
  background-color: #004085;
}
.navList ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.navList ul li {
  position: relative;
}
.navList ul li a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  display: inline-block;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.navList ul li a:hover {
  background-color: #0062cc;
  border-radius: 5px;
}
.dropdownMenu {
  position: absolute;
  top: 40px;
  left: 0;
  background-color: #0069d9;
  display: none;
  flex-direction: column;
  min-width: 180px;
  border-radius: 5px;
  z-index: 100;
}
.navList ul li:hover .dropdownMenu {
  display: flex;
}
.dropdownMenu li a {
  padding: 8px 12px;
  color: #fff;
  text-align: left;
}
.dropdownMenu li a:hover {
  background-color: #004085;
}


/* header Part End */

/* Loader Wrapper */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Spinner */
#loader {
  border: 10px solid #f3f3f3;
  border-top: 10px solid #007BFF;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Language Dropdown*/

.language-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background-color: #f1f1f1;
  color: #333;
  padding: 8px 16px;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
}

.dropdown-toggle:hover {
  background-color: #ddd;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ddd;
  min-width: 160px;
  z-index: 9999;
  border-radius: 10px;
  margin-top: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 5px 0;
}

.dropdown-menu li {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.dropdown-menu li:hover {
  background-color: #f1f1f1;
}

/* custom.css */
.property-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 15px;
  border-radius: 10px;
}
.swiper {
  width: 100%;
  height: 500px;
  position: relative;
}
.swiper-slide {
  position: relative;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  padding: 20px;
  gap: 20px;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}
.property-image {
  flex: 1;
  height: 100%;
  overflow: hidden;
}
.property-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.property-info {
  flex: 1;
  color: #333;
}
.property-info h2 {
  font-size: 1.5rem;
}
.property-info p {
  margin-bottom: 10px;
  color: #555;
}

/* Custom Navbar Styling */

/* Navbar Hover Effect */
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #28a745; /* Green Underline */
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff; /* Text Color Change on Hover */
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}


/* Navbar Style End */

/* Hero Section Styling */
.hero-section {
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  position: relative;
}

.banner-slider {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.slider-item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Hidden until loaded */
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.slider-item.active {
  opacity: 1; /* Fully visible */
  visibility: visible; /* Make visible */
  /* animation: zoomEffect 15s ease-in-out infinite; */
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.hero-text h1 {
  font-size: 3rem;
  color: yellow;
}

.hero-text p {
  font-size: 1.5rem;
  color: white;
}

.hero-text a {
  padding: 10px 20px;
  font-size: 1.2rem;
}

/* my Slider Start */

.slider-arrow {
  background-color: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: monospace;
  font-size: 5em;
  font-weight: bold;
  box-shadow: 0px 10px 40px #8b8b8b;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.slider-arrow:hover {
  background-color: #64a0af;
}

.dots,
.dotsHero {
  position: absolute;
  bottom: 80px;
  left: 25%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dots .dot,
.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.dots .dot.active,
.dot.active {
  background-color: blue;
}

/* Video Section Start  */

.video-section {
  position: relative;
  background-image: url("https://azadpropertiesltd.com/assets/img/thumbnail2.jpg");
  background-size: cover;
  background-position: center;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  animation: pulse 1.5s infinite;
}

.play-button:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button::before {
  content: "";
  display: inline-block;
  margin-left: 5px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #000;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.4);
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
  z-index: 1;
}

.video-section.playing .play-button {
  display: none;
}

.video-section.playing .video-iframe {
  display: block;
}

@media (max-width: 576px) {
  .video-section {
    height: 250px;
  }
  .play-button {
    width: 60px;
    height: 60px;
  }
}

/* Video Section End */

/* Floatings Button */

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.floating-buttons a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.floating-buttons a:hover {
  transform: scale(1.1);
}

.btn-call {
  background-color: #28a745;
}

.btn-whatsapp {
  background-color: #25d366;
}

.btn-messenger {
  background-color: #0084ff;
}

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

#map {
  height: 90vh;
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Bounce Animation */
.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-8px);
  }
}

/* Floatings Button End */

/* General Popup Modal Styling */
.modal-content {
  border-radius: 10px;
  background-color: #f8f9fa;
}

/* Header Styling */
.modal-header {
  background-color: #007bff;
  color: #fff;
  border-radius: 10px 10px 0 0;
}

.modal-title {
  font-weight: bold;
}

/* Form Fields */
.form-label {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
}

.form-control,
.form-select {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Button Styling */
.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 15px;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 767px) {
  .modal-dialog {
    max-width: 90%;
  }

  .form-control,
  .form-select {
    font-size: 0.9rem;
    padding: 10px;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 12px;
  }
}

/* Textarea */
textarea.form-control {
  resize: vertical;
}

/* Shadow Effects for Form */
.shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Custom Margin for Form Elements */
.mb-3 {
  margin-bottom: 1.5rem;
}

/* Popup end */

/* Donation Start*/

.donation-card:hover {
  border-color: #198754;
  background-color: #f0fdf4;
}
.donation-card.selected {
  border-color: #198754;
  background-color: #e9fbe5;
}
.gift-icon {
  font-size: 2rem;
}

/* Donation End*/
