* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Crimson Text', serif;
  line-height: 1.6;
  color: #313131;
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}

/* Typography */
.page-title {
  font-size: 2rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  line-height: 25px;
  text-align: center;
  color: #232323;
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.3rem;
  font-family: 'Crimson Text', serif;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  color: #313131;
  padding-top: 1rem;
}

.divider {
  width: 56px;
  height: 2px;
  background-color: #757575;
  margin: 0 auto;
}

.main-content {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 0;
  margin: 0 2rem 6rem 2rem;
  width: 100%;
  max-width: 1150px;
  background: linear-gradient(to bottom, #ffffff, #f9fbff);
  margin-left: auto;  
  margin-right: auto; 
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0; 
}

.form-container {
  width: 100%;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

.col-lg-6,
.col-md-6,
.col-12,
.col-lg-3,
.col-lg-12 {
  width: 100%;
  padding: 0.5rem;
}

.form-floating {
  position: relative;
  margin-bottom: 1rem;
}

.form-floating input.form-control,
.form-floating textarea.form-control {
  width: 100%;
  padding: 1.5rem 1rem 0.5rem 1rem;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #4a5568;
  transition: all 0.2s ease;
  outline: none;
}

.form-floating textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-floating input.form-control:focus,
.form-floating textarea.form-control:focus {
  border-color: #003164;
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
}

.form-floating label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1rem;
  color: #a0aec0;
  transition: all 0.2s ease;
  pointer-events: none;
}

.form-floating input.form-control:focus ~ label,
.form-floating input.form-control:not(:placeholder-shown) ~ label,
.form-floating textarea.form-control:focus ~ label,
.form-floating textarea.form-control:not(:placeholder-shown) ~ label {
  top: 0.5rem;
  font-size: 0.75rem;
  color: #003164;
}

.form-check {
  margin-bottom: 1rem;
}

.form-check-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.form-check-input {
  display: none;
}

.form-check-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.25rem 0.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

.form-check-label:hover {
  border-color: #003164;
}

.form-check-input:checked + .form-check-label {
  border-color: #003164;
  background-color: rgba(0, 191, 165, 0.05);
}

.form-check-label svg {
  width: 24px;
  height: 24px;
  fill: #003164;
}

.form-check-label-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
}

button.form-control {
  width: 100% !important;
  display: block;
  padding: 0.875rem 2rem;
  background-color: #003164;
  color: #ffffff;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

button.form-control:hover {
  background-color: #054f9e;
  box-shadow: 0 4px 12px rgba(0, 191, 165, 0.3);
  transform: translateY(-1px);
  transform: scale(1.02);
}

button.form-control:active {
  transform: translateY(0);
}

.divider-2 {
  width: 56px;
  height: 2px;
  background-color: #fff;
  margin: 1rem 0;
}

.contact-information {
  background-color: #003164;
  padding: 2rem;
  border-radius: 2rem;
  text-align: start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-information h2 {
  font-size: 2rem;
  font-family: 'Open Sans', sans-serif;
  flex-wrap: wrap;
  font-weight: 700;
  line-height: 25px;
  color: white;
}

.contact-information p {
  font-size: 1.3rem;
  font-family: 'Crimson Text', serif;
  flex-wrap: wrap;
  font-weight: 500;
  line-height: 20px;
  color: white;
  word-wrap: break-word;      
  overflow-wrap: anywhere;    
  white-space: normal;
}

@media (max-width: 480px) {
  .contact-information p {
    font-size: 14px;
  }
  .contact-information span{
    font-size: 14px;
  }
}

.contact-information span {
  font-size: 1.2rem;
  margin-right: 15px;
}

.social-icon i {
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.social-links a:hover {
  color: #00b4d8;
  transform: translateY(-2px);
}

@media (max-width: 912px) {
  .main-content {
    padding: 1.2rem 0.5rem;
  }

  .container {
    padding-left: 6px;
    padding-right: 6px;
  }

  .contact-information {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .main-content {
    padding: 1rem 0.3rem;
  }

  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}
