@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/** Variables **/

:root {
  --color-background: #cbd5e1;
  --color-background-alt: #3a9092;
  --color-border-active: #23494c;
  --color-border-default: #94a3b8;
  --color-highlight: #7ecac7;
  --color-primary: #23494c;
  --color-primary-active: #122d30;
  --color-text-default: #0f172a;
  --color-text-muted: #475569;

  --font-family-body: "Inter", sans-serif;
}

/** Base **/


/* 
.ContactContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 40px;
} */


/* Form Section Styles */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* Background Design */
.form-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(30, 136, 229, 0.05));
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -200px;
  animation: float 15s ease-in-out infinite alternate;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -100px;
  animation: float 12s ease-in-out infinite alternate;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 10%;
  animation: float 8s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -20px) rotate(5deg); }
  100% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.animated-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(30, 136, 229, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: moveDots 60s linear infinite;
}

@keyframes moveDots {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

/* Form Card */
.form-card {
  position: relative;
  z-index: 1;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  padding: 40px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, hsl(202, 75%, 47%), hsl(202, 85%, 60%));
}

.form-title {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: hsl(202, 75%, 47%);
  margin-bottom: 30px;
  position: relative;
  text-align: center;
}

.form-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: hsl(202, 75%, 47%);
}

/* Form Layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fs-field {
  position: relative;
  margin-bottom: 10px;
}

.full-width {
  grid-column: 1 / -1;
}

.fs-label {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}

.fs-input, .fs-select, .fs-textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  color: #333;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.fs-input:focus, .fs-select:focus, .fs-textarea:focus {
  outline: none;
  border-color: hsl(202, 75%, 47%);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
  background-color: #fff;
}

.fs-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Custom Select Styling */
.fs-field {
  position: relative;
}

.select-arrow {
  position: absolute;
  right: 15px;
  top: 62%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.fs-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  width: 350px;
}

/* Checkbox Styling */
.fs-checkbox-field {
  display: flex;
  align-items: flex-start;
  margin: 25px 0;
  position: relative;
}

.fs-checkbox-wrapper {
  position: relative;
  margin-right: 12px;
  min-width: 24px;
}

.fs-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.fs-checkbox:checked ~ .checkmark {
  background-color: hsl(202, 75%, 47%);
  border-color: hsl(202, 75%, 47%);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.fs-checkbox:checked ~ .checkmark:after {
  display: block;
}

.fs-checkbox-wrapper .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Button Styling */
.fs-button-group {
  text-align: right;
  margin-top: 10px;
}

.fs-button {
  background: linear-gradient(90deg, hsl(202, 75%, 47%), hsl(202, 85%, 55%));
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.fs-button::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: left 0.7s ease;
}

.fs-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.fs-button:hover::before {
  left: 100%;
}

.fs-button ion-icon {
  margin-left: 8px;
  font-size: 18px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .contact-container {
    padding: 40px 15px;
  }
  
  .form-card {
    padding: 30px 20px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-title {
    font-size: 24px;
  }

  .fs-select {
   
    width: 100%;
  }
  
}

/* Optional: Form Field Focus Animation */
.fs-input:focus, .fs-select:focus, .fs-textarea:focus {
  animation: pulse 1s ease;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(30, 136, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 136, 229, 0); }
}

/* Floating Labels Animation (Optional) */
@media (min-width: 769px) {
  .fs-field:focus-within label {
    color: hsl(202, 75%, 47%);
    transform: translateY(-2px);
    transition: all 0.3s ease;
  }
}




.fs-button-group {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.whatsapp-btn {
  background: linear-gradient(90deg, #25D366, #128C7E);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn ion-icon {
  font-size: 20px;
  margin-right: 8px;
}

.submit-btn {
  background: linear-gradient(90deg, hsl(202, 75%, 47%), hsl(202, 85%, 55%));
}

/* Responsive adjustments */
@media screen and (max-width: 576px) {
  .fs-button-group {
    flex-direction: column;
    width: 100%;
  }
  
  .fs-button {
    width: 100%;
  }
}