*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}
/* Full-page loader */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 1s ease-out;
}

.loader-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-loader {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.circle-loader img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: fadeIn 1s ease-in-out;
}

.circle-loader::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.circle-loader::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ff9800;
  border-radius: 50%;
  animation: spinReverse 2s linear infinite;
}

.loading-text {
  letter-spacing: 1px;
  font-family: "Poppins";
  color: #fff;
  font-size: 18px;
  margin-top: 10px;
  animation: fadeIn 2s ease-in-out;
}

.dots::after {
  content: "";
  display: inline-block;
  animation: dots 1.5s steps(3, end) infinite;
}

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

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

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes dots {
  0% {
    content: "";
  }
  33% {
    content: ".";
  }
  66% {
    content: "..";
  }
  100% {
    content: "...";
  }
}

/* Hide content initially */
#content {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

h1 {
  font-family: "Playfair Display";
}
body {
  background-position: center;
  margin-top: 100px;
  background-image: url("assets/contact.jpg");
  background-size: cover; /* Ensures the image covers the entire screen */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat;
  /* height: 100vh; 
  margin: 0; /* Removes default margins */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 250px;
}

.form-wrapper {
  margin-top: 200px;
  margin-left: 20px;
  margin-right: 20px;
  background-color: #ffffff;

  width: 90%;
  /* height: 10%; */
  /* max-width: 600px; */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease-out;
  margin-bottom: 70px;
}
.title {
  font-size: 28px;
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}
.subtitle {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}
.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.form-column {
  flex: 1;
  min-width: 250px;
}
.form-label {
  display: block;
  color: #333;
  font-size: 14px;
  margin-bottom: 5px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #c5bbbb;
  transition: border-color 0.3s, transform 0.3s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: #a1a1a9;
  outline: none;
  transform: scale(1.02);
}
.form-textarea {
  resize: none;
}
.submit-button {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #fdb5b5, #f20c0c);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.submit-button:hover {
  background: linear-gradient(135deg, #f54675, #e95c20);
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .form-wrapper {
    width: 500px;
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 768px) {
  .form-wrapper {
    padding: 30px;
  }
  .title {
    font-size: 28px;
  }
  .subtitle {
    font-size: 14px;
  }
  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .form-wrapper {
    padding: 20px;
  }
  .title {
    font-size: 20px;
  }
  .subtitle {
    font-size: 12px;
  }
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  .form-column {
    min-width: 100%;
  }
  .form-label {
    font-size: 12px;
  }
  .form-input,
  .form-textarea {
    padding: 10px;
  }
  .submit-button {
    padding: 10px;
    font-size: 14px;
  }
}
.phone {
  width: 100px;
}
