@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* Wrapper for positioning the toggle button */
.toggle-wrapper {
  position: fixed;
  top: 90px;
  right: 2rem;
  z-index: 900;
}

/* Hide default checkbox */
.toggle-checkbox {
  display: none;
}

/* Toggle button (circular) */
.toggle-label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 63.25px;
  height: 63.25px;
  background-color: white; /* Sun color */
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  font-size: 24px;
}
.toggle-label:hover {
  transform: scale(1.08);
  background-color: rgb(224, 224, 224);
}

/* Sun icon (default) */
.toggle-label i {
  color: black;
  transition: transform 0.3s ease;
}

/* Dark mode: change button color */
.toggle-checkbox:checked + .toggle-label {
  background-color: #000000; /* Dark mode color */
}
.toggle-checkbox:checked + .toggle-label i {
  color: white;
}

/* Change sun to moon */
.toggle-checkbox:checked + .toggle-label .fa-sun {
  display: none;
}

.toggle-checkbox:not(:checked) + .toggle-label .fa-moon {
  display: none;
}
/* === GLOBAL 2px SCROLLBAR === */

/* Firefox */
html,
body {
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #888;
}

/* WebKit (Chrome, Safari, Edge, Brave) */
::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* Dark mode overlay */
body.dark-mode::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.397); /* Shadow effect */
  pointer-events: none;
  z-index: 9999;
}
/* Header and Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 4.5rem;
  background-color: #10042a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.234);
  position: sticky;
  top: 0px;
  z-index: 1000;
  box-sizing: border-box;
  padding: 0px;
  box-shadow: rgba(0, 0, 0, 0.278) 0px 7px 29px 0px;
}
.hamburger-menu {
  display: none;
}

.logo {
  user-select: none;
  position: relative; /* absolute yerine relative */
  margin-left: 3rem;
  display: flex;
  align-items: center;
  justify-content: start;
}

.logo img {
  width: 130px;
  height: auto;
  position: relative; /* absolute yerine relative */
  display: block; /* float sorunlarını önlemek için */
  object-fit: contain; /* görüntü oranını korumak için */
}
header .mobile-logo {
  display: none;
}
.mobile-auth-container {
  width: 100%;
  padding: 16px 26px;
  display: flex;
  justify-content: start;
  align-items: center;
  border-top: 1px solid rgba(128, 128, 128, 0.275);
}
.mobile-auth {
  font-size: 0.9rem;
  text-decoration: none;
  color: black;
  font-weight: 500;
}
/* Links and Buttons Container */
.nav-container {
  margin-left: 2rem;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  user-select: none;
  z-index: 1000;
}

/* Navigation Links */
.custom-dropdown .nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-size: 1rem;
  padding: 10px 0;
  color: white;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  user-select: none;
}

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

.content-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.pages-dropdown .content {
  margin-left: 0 !important;
  margin-right: 50px;
  width: 950px !important;
}
.pages-dropdown .content-links {
  display: flex;
  flex-direction: row;
  gap: 50px;
  padding: 10px 50px;
}
.pages-dropdown h4 {
  margin-bottom: auto;
  display: flex;
  align-items: center;
  font-size: 1rem !important;
  font-weight: 900;
  width: auto !important;
  padding: 6px 10px;
  border-radius: 40px;
  color: #030622;
  background-color: yellow;
  margin-bottom: 10px;
  margin-top: 0;
}

.pages-dropdown .group {
  width: 25% !important;
}

.content-links a:hover {
  color: rgb(208, 208, 208) !important;
}
.custom-dropdown .fa-arrow-right {
  transition: all 0.2s ease-in;
  visibility: hidden;
  opacity: 0;
}
.content-links a.active .fa-arrow-right {
  color: #cbce07 !important;
}
.content-links a:hover .fa-arrow-right {
  color: rgb(208, 208, 208);
  visibility: visible;
  margin-right: 1rem;
  opacity: 1;
}

.custom-dropdown .content a {
  font-size: 0.9rem;
  display: block;
  color: white;
  margin: 0;
  text-decoration: none;
  font-optical-sizing: auto;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
  font-style: normal;
}
.custom-dropdown .content a:active {
  border: none !important;
}

/* Login/Signup Section */
.loginsign {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 39%;
  gap: 10px;
  padding-right: 10px;
}

.loginsign button {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  font-style: normal;
  transition: all 0.1s ease-in-out;
}
.loginsign button path {
  transition: all 0.1s ease-in-out;
}

.loginsign .login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #65452000;
  text-decoration: none;
  color: white;
  box-shadow: none;
}

.property-submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 13px 20px;
  font-weight: bolder;
  color: white;
  background-color: #ccc001;
  border-radius: 30px;
  text-decoration: none;
  margin: 0px 15px 0px 0px !important;
}

/* Button Hover Effects */
.property-submit-btn:hover {
  background-color: rgb(219, 219, 11);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.loginsign .login-btn:hover,
.loginsign .login-btn:hover path {
  color: rgb(173, 173, 173);
  cursor: pointer;
  stroke: rgb(173, 173, 173);
}

/* Login & Signup Modal Styles */
.modal {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.show,
.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal.show .modal-backdrop,
.modal.active .modal-backdrop {
  opacity: 1;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(74, 58, 255, 0.1);
  z-index: 1002;
  width: 90%;
  max-width: 400px;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 680px;
  overflow: scroll;
}

.modal.show .modal-content,
.modal.active .modal-content {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Staggered animation for form elements */
.modal-content .login-modal-header,
.modal-content .login-modal-form-container,
.modal-content .login-register-link,
.modal-content .login-divider,
.modal-content .login-social-buttons {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .login-modal-header,
.modal.active .login-modal-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.modal.show .login-modal-form-container,
.modal.active .login-modal-form-container {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.modal.show .login-register-link,
.modal.active .login-register-link {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.modal.show .login-divider,
.modal.active .login-divider {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.modal.show .login-social-buttons,
.modal.active .login-social-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  transition: all 0.2s ease;
  z-index: 10;
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .close-button,
.modal.active .close-button {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  transition-delay: 0.2s;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg) scale(1.1) !important;
}

.close-button i {
  font-size: 14px;
}

.modal .card-body {
  padding: 0;
  position: relative;
}

/* Modal Header */
.modal-header {
  text-align: center;
  padding: 25px 30px 15px;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(74, 58, 255, 0.05) 0%,
    rgba(106, 90, 255, 0.1) 100%
  );
  border-bottom: 1px solid rgba(74, 58, 255, 0.1);
  margin-bottom: 15px;
}

.modal-logo {
  height: 40px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.modal-header h4 {
  margin: 0 0 8px;
  color: #333;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.modal-header p {
  color: #666;
  margin: 0 0 5px;
  font-size: 14px;
}

/* Login Modal Specific Styles */
#signInModal .login-modal-content {
  top: 50%;
}
.login-modal-content {
  max-width: 900px;
  padding: 0;
  background-color: #fff;
}

.login-modal-container {
  display: flex;
  width: 100%;
  height: stretch;
}
.signup-container {
  height: auto;
}
.login-modal-left {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.login-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.login-modal-right {
  height: 100%;
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.login-modal-header {
  margin-bottom: 30px;
  text-align: left;
}

.login-modal-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.login-modal-form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mobile-contact {
  padding-top: 10px;
  margin: 0 auto;
  width: 90%;
  border-bottom: 1px solid rgba(128, 128, 128, 0.275);
}
.phone-number-container,
.email-container {
  justify-content: start;
  align-items: center;
  margin-bottom: 20px;
}
.phone-number-container .phone-number {
  text-decoration: none;
  color: black;
}
.email-container .email {
  text-decoration: none;
  color: black;
}
.mobile-contact svg {
  margin-right: 10px;
  padding: 10px;
  background-color: #21055d;
  border-radius: 10px;
  fill: white;
}
.mobile-social-links {
  padding: 20px 0;
  width: 90%;
  margin: 0 auto;
  gap: 20px;
  display: flex;
  justify-content: start;
  align-items: center;
}
.mobile-social-links a {
  display: flex;
  text-align: center;
  padding: 10px;
  background-color: #9f9f9f45;
  border-radius: 10px;
}

/* Responsive styles for login modal */
@media (max-width: 992px) {
  .login-modal-content {
    max-width: 700px;
  }

  .login-modal-right {
    padding: 30px;
  }

  .login-modal-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .login-modal-container {
    flex-direction: column;
  }

  .login-modal-left {
    display: none;
  }

  .login-modal-right {
    padding: 25px;
  }

  .login-modal-header h2 {
    font-size: 24px;
  }

  .login-social-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .login-modal-content {
    width: 95%;
    max-width: 350px;
  }

  .login-modal-right {
    padding: 20px 15px;
  }

  .login-modal-header {
    margin-bottom: 20px;
  }

  .login-modal-header h2 {
    font-size: 22px;
  }

  .login-form-control {
    font-size: 13px;
  }
}

/* Form Styles */
.modal form {
  padding: 0 30px 20px;
}

.modal .form-group {
  margin-bottom: 20px;
  position: relative;
}

.input-icon-wrapper {
  position: relative;
  transition: all 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Login Form Styles */

.login-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

.login-input-wrapper {
  position: relative;
}

.login-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 16px;
}

.login-form-control {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.login-form-control:focus {
  border-color: #f7b900;
  outline: none;
}

.login-password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
}

.login-password-toggle:hover {
  color: #666;
}

.login-forgot-password {
  text-align: right;
  margin-bottom: 25px;
  margin-right: 9px;
}

.login-forgot-password a {
  color: #6f6f6f;
  font-size: 14px;
  text-decoration: none;
}

.login-forgot-password a:hover {
  text-decoration: underline;
}

.login-submit-btn {
  width: 100%;
  padding: 14px;
  background-color: rgb(3, 3, 79);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-submit-btn:hover {
  background-color: navy;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.login-submit-btn:active {
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.3);
}

.login-register-link {
  text-align: center;
}

.login-register-link p {
  font-size: 14px;
  color: #666;
}

.login-register-link a {
  color: #1e11af;
  text-decoration: none;
  font-weight: 500;
}

.login-register-link a:hover {
  text-decoration: underline;
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
}

.login-divider span {
  padding: 0 10px;
  font-size: 14px;
  color: #666;
}

.login-social-buttons {
  display: flex;
  gap: 15px;
}

.login-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 30px;
  border: 1px solid #e0e0e0;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.login-social-btn i {
  margin-right: 8px;
}

.login-social-btn.google-btn:hover {
  background-color: #f2f2f2;
  border-color: #ddd;
}

.login-social-btn.facebook-btn:hover {
  background-color: #f0f2f7;
  border-color: #ddd;
}

.login-social-btn.google-btn i {
  color: #ea4335;
}

.login-social-btn.facebook-btn i {
  color: #1877f2;
}

.input-icon-wrapper.focused {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(74, 58, 255, 0.15);
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  transition: color 0.3s ease;
  font-size: 16px;
}

.input-icon-wrapper.focused .input-icon,
.input-icon-wrapper.has-value .input-icon {
  color: #4a3aff;
}

.modal input.form-control {
  width: 100%;
  padding: 14px 12px 14px 40px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
  height: 50px;
}

.modal input.form-control:focus {
  border-color: #4a3aff;
  box-shadow: 0 0 0 3px rgba(74, 58, 255, 0.2);
  background-color: #fff;
  outline: none;
}

.floating-label {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.input-icon-wrapper.focused .floating-label,
.input-icon-wrapper.has-value .floating-label {
  top: 0;
  left: 12px;
  font-size: 12px;
  background-color: #fff;
  padding: 0 5px;
  color: #4a3aff;
}

/* Password Field */
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 5px;
}

.password-toggle:hover {
  color: #4a3aff;
}

.password-toggle.pulse {
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.2);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}

/* Password Strength Meter */
.password-strength {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.strength-meter {
  display: flex;
  gap: 5px;
  height: 4px;
}

.strength-segment {
  flex: 1;
  background-color: #e0e0e0;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.strength-segment.active {
  background-color: #e0e0e0;
}

.strength-segment:nth-child(1).active {
  background-color: #ff4d4d; /* Red - Very Weak */
}

.strength-segment:nth-child(2).active {
  background-color: #ffa64d; /* Orange - Weak */
}

.strength-segment:nth-child(3).active {
  background-color: #ffff4d; /* Yellow - Medium */
}

.strength-segment:nth-child(4).active {
  background-color: #4dff4d; /* Green - Strong */
}

.strength-text {
  font-size: 12px;
  color: #999;
}

.strength-text.weak {
  color: #ff4d4d;
}

.strength-text.medium {
  color: #ffa64d;
}

.strength-text.strong {
  color: #4dff4d;
}

.strength-text.very-strong {
  color: #4dff4d;
}

/* Validation Feedback */
.validation-feedback {
  font-size: 12px;
  margin-top: 5px;
  min-height: 18px;
  transition: all 0.3s ease;
}

.validation-feedback.error {
  color: #ff4d4d;
}

.form-control.is-invalid {
  border-color: #ff4d4d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23dc3545' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
  border-color: #4dff4d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2328a745' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Checkbox Styles */
.form-check {
  margin: 15px 0;
  display: flex;
  align-items: center;
}

.form-check-input {
  background-color: rgba(213, 210, 210, 0.655);
  margin-bottom: auto;
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-check-label {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.form-check-label a {
  color: #1e11af;
  text-decoration: none;
  transition: all 0.2s ease;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.terms-check {
  margin-bottom: 20px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: navy;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(74, 58, 255, 0.2);
}

.submit-btn:hover {
  background: navy;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(74, 58, 255, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(74, 58, 255, 0.3);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.btn-text {
  transition: all 0.3s ease;
}

.btn-text.invisible {
  opacity: 0;
}

.spinner-border {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

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

/* Divider */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #999;
  font-size: 14px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider::before {
  margin-right: 10px;
}

.divider::after {
  margin-left: 10px;
}

/* Social Login */
.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 0 30px;
}

.social-btn {
  flex: 1;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  gap: 10px;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}

.social-btn.google-btn {
  color: #db4437;
  background-color: rgba(219, 68, 55, 0.05);
}

.social-btn.facebook-btn {
  color: #4267b2;
  background-color: rgba(66, 103, 178, 0.05);
}

.social-btn i {
  font-size: 18px;
}

/* Modal Footer */
.modal-footer {
  text-align: center;
  padding: 15px 30px 25px;
  color: #666;
  font-size: 14px;
}

.modal-footer a {
  color: #4a3aff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.modal-footer a:hover {
  text-decoration: underline;
}

/* Animation Classes */
.shake {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-3px);
  }
  40%,
  60% {
    transform: translateX(3px);
  }
}

/* Alert Styles */
.alert {
  padding: 10px 15px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 14px;
  animation: fadeIn 0.3s ease;
}

.alert-success {
  background-color: rgba(77, 255, 77, 0.2);
  color: #28a745;
  border: 1px solid rgba(77, 255, 77, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .modal-content {
    width: 95%;
    max-width: none;
  }

  .modal form,
  .modal-header,
  .modal-footer,
  .social-login {
    padding-left: 20px;
    padding-right: 20px;
  }

  .modal-header h4 {
    font-size: 20px;
  }

  .modal input.form-control {
    height: 46px;
    font-size: 14px;
  }

  .submit-btn {
    height: 46px;
  }

  .social-btn {
    height: 42px;
  }
}

@media (max-height: 700px) {
  .modal-content {
    max-height: 95vh;
  }

  .modal-header {
    padding: 15px 20px 10px;
  }

  .modal-logo {
    height: 30px;
    margin-bottom: 10px;
  }

  .modal .form-group {
    margin-bottom: 15px;
  }
}

/* Footer Styles */
.footer-area {
  color: #fff;
  flex-shrink: 0;
}

/* Contact Info Section */
footer .contact-info {
  background-color: #060323;
  padding: 30px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.358);
}

footer .contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer .icon-circle {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

footer .icon-circle i {
  font-size: 24px;
  color: #030622;
}

.contact-item p {
  margin-bottom: 0;
  color: #ccc;
}

/* Footer Links Section */
.footer-links {
  background-color: #060323;
  padding: 40px 0;
}

.footer-links h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 18px;
}

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

.footer-links ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #fff;
  text-decoration: none;
}

/* Subscribe Form */
.subscribe-form input {
  background-color: #ffffff;
  border: none;
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px !important;
}

.subscribe-form input::placeholder {
  color: #aaa;
}

.subscribe-form form {
  display: flex;
  flex-direction: column;
}
.subscribe-form button {
  padding: 5px 0;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}

.subscribe-form .text-muted {
  color: #aaa !important;
  font-size: 12px;
  margin-top: 8px;
}

/* Copyright Section */
.copyright {
  background-color: #060323;
  border-top: 1px solid rgba(128, 128, 128, 0.358);
  font-size: 14px;
}

.copyright p {
  color: #aaa;
}

.copyright a {
  color: #007bff;
  text-decoration: none;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-icon {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #007bff;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .social-links {
    justify-content: center;
    margin-top: 15px;
  }

  .copyright .text-md-end {
    text-align: center !important;
  }

  .copyright .col-md-8 {
    text-align: center;
  }

  .contact-item {
    margin-bottom: 20px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .custom-dropdown:hover .content {
    display: block;
  }
}
/* Responsive Design */
@media screen and (min-width: 1200px) {
  .content-links a.active,
  .custom-dropdown .nav-link.active,
  .custom-dropdown .nav-link.active + i {
    color: #fff23a !important;
  }
  .content-links a:hover .fa-arrow-right {
    color: rgb(255, 255, 255);
  }
  header .links {
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-left: auto;
    gap: 40px;
  }

  .mobile-auth-container,
  .mobile-submit-property,
  .mobile-social-links,
  .mobile-pages-links {
    display: none !important;
  }
  .nav-container {
    margin-left: 0rem;
  }
  .custom-dropdown {
    height: 100%;
    width: clamp(50px, 110px, 200px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 4px;
  }

  .custom-dropdown:hover {
    border-bottom: 1px solid white !important;
  }

  .custom-dropdown .content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #10042a;
    top: 50%;
    left: 50%; /* Sol tərəfdən 50% mövqedə olsun */
    transform: translateX(-50%);
    width: auto;
    min-width: 300px;
    height: auto;
    max-height: 600px;
    box-shadow:
      rgba(0, 0, 0, 0.25) 0px 54px 55px,
      rgba(0, 0, 0, 0.12) 0px 4px 6px,
      rgba(0, 0, 0, 0.17) 0px 12px 13px;
    border-radius: 0 0 20px 20px;
    padding: 20px 0px;
    transition:
      opacity 0.3s ease,
      top 0.3s ease-out;
    margin-left: 70px;
    z-index: 1000;
  }

  .custom-dropdown:hover .content {
    visibility: visible;
    opacity: 1;
    top: 102%;
  }
  .custom-dropdown .content a {
    padding: 10px 0;
  }

  .nav-link {
    height: 100%;
    margin-right: 1rem;
    box-sizing: border-box;
    padding: 10px 0;
    position: relative;
  }
  .nav-link-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
  }
  .nav-link-container i {
    margin-left: -10px;
    font-size: 10px;
    color: white;
  }
  .nav-container .mobile-contact {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    height: 4rem;
  }

  .hamburger-menu {
    position: absolute;
    right: 30px;
    display: block;
    cursor: pointer;
    margin-left: 30px;
    z-index: 10000;
  }
  .hamburger-menu .hamburger-line {
    width: 25px;
    height: 3px;
    margin: 5px 0;
    border-radius: 10px;
    transition: 0.3s;
    background-color: white;
  }

  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  header .logo {
    margin: 0 auto;
  }
  header .mobile-logo {
    padding: 10px 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  .custom-dropdown .content-links a.active,
  .custom-dropdown .nav-link.active,
  .custom-dropdown .nav-link.active + i {
    color: #e0ca08 !important;
  }
  .content-links a:hover .fa-arrow-right,
  .content-links a:hover {
    color: rgb(102, 101, 101) !important;
  }

  .mobile-submit-property {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    width: 90%;
    margin: 20px auto;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 40px;
    background-color: rgb(255, 251, 0);
    color: white;
  }
  .mobile-submit-property a {
    text-decoration: none;
    color: rgb(9, 5, 127);
    padding: 0 3px;
    font-family: "Roboto", sans-serif;
  }
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease-in-out,
      visibility 0.3s ease-in-out;
    z-index: 99;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  header .links {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    border-top: 1px solid rgba(128, 128, 128, 0.275);
  }

  .nav-container {
    position: fixed;
    top: 0;
    left: -350px;
    min-width: 200px;
    max-width: 350px;
    height: 100%;
    background-color: white;
    display: block;
    margin: 0;
    transition: left 0.3s ease-in-out;
    z-index: 1001;
    overflow-x: hidden;
  }

  .nav-container.open {
    left: 0;
  }

  .custom-dropdown {
    width: 100% !important;
    display: flex;
    padding: 5px 0;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    align-items: start;
    border-bottom: 1px solid rgba(128, 128, 128, 0.275);
    position: static;
    cursor: pointer;
  }
  .nav-link-container {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .custom-dropdown .nav-link {
    color: black;
    margin-left: 26px !important;
  }

  .nav-link:hover + .content {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .nav-link-container i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    margin-left: auto;
    margin-right: 20px;
    padding: 10px 20px;
  }
  .fa-angle-down {
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
  }

  .fa-angle-down.active {
    transform: rotate(180deg);
  }

  .custom-dropdown .content {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s;
    position: static;
  }

  .custom-dropdown .content.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-height: 1200px;
    transition: max-height 0.4s ease-in;
    position: static;
  }
  .content-links {
    margin-top: 6px;
    margin-left: 15px !important;
    margin-bottom: 10px !important;
    padding: 20px 0 20px 20px !important;
    width: 90% !important;
    background-color: #80808037 !important;
    border-radius: 15px !important;
    gap: 20px !important;
  }
  .pages-dropdown .content {
    width: 100% !important;
  }
  .mobile-pages-links {
    display: flex !important;
    flex-direction: column !important;
  }

  .content-links a {
    color: rgb(0, 0, 0) !important;
  }

  .content-links h4 {
    color: black !important;
    padding-bottom: 0;
    font-size: 0.9rem;
  }

  .loginsign {
    display: none;
  }

  .custom-dropdown .nav-link {
    color: black;
    margin-left: 26px !important;
  }
  .nav-link:hover {
    color: rgb(110, 110, 114);
  }

  .nav-link:hover + .content {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .fa-angle-down {
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
  }

  .fa-angle-down.active {
    transform: rotate(180deg);
  }

  .pc-pages-links {
    display: none !important;
  }
  .loginsignup,
  .property-submit-btn {
    display: none !important;
  }

  .about {
    flex-direction: column;
  }

  .about div {
    padding: 30px 15px;
  }
}

@media screen and (max-width: 795px) {
}
@media screen and (max-width: 600px) {
}
@media screen and (max-width: 480px) {
  .logo h3 {
    font-size: 2rem;
  }
}
@media screen and (max-width: 340px) {
  .hamburger-menu .hamburger-line {
    background-color: black;
  }
}
