/* Ontario Airport WiFi Portal Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --gradient-pink: #ED2E85E8;
  --gradient-purple: #6D3C97;
  --gradient-blue: #1874B0;
  --gradient-light-blue: #25C1DEF0;
  --ont-navy: #1B3168;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #dddddd;
  --dark-gray: #666666;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--light-gray);
  margin-top: 0;
  padding-top: 0;

}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: white;
}

/* Background with gradient overlay */
.bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  -webkit-clip-path: ellipse(80% 30% at 50% 0);
  clip-path: ellipse(80% 30% at 50% 0);
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gradient-pink), var(--gradient-purple), var(--gradient-blue), var(--gradient-light-blue));
  opacity: 0.85;
}

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
}

/* Main content */
.container {
  max-width: 560px;
  margin: 0px auto;
  top: 40px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 40px;
}

/* Logo and header */
.logo {
  width: 180px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

.card-title {
  color: var(--ont-navy);
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.card-subtitle {
  text-align: center;
  color: var(--dark-gray);
  font-size: 14px;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Title VI Notice */
.title-vi-notice {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 25px;
}

.title-vi-notice p {
  color: var(--dark-gray);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.title-vi-notice a {
  color: var(--ont-navy);
  text-decoration: underline;
  font-weight: 500;
}

.title-vi-notice a:hover {
  color: #152654;
}

/* Form elements */
.form-group {
  margin-bottom: 20px;
}

label, .terms-text {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 14px;
}

.required-asterisk {
  color: red;
}

.terms-text {
  margin-top: 5px;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 15px;
  background-color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Montserrat', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  outline: none;
  border-color: var(--ont-navy);
  box-shadow: 0 0 0 2px rgba(27, 49, 104, 0.2);
}


input[type="checkbox"]:checked {
  background: url("/img/checkbox-checkmark.svg") no-repeat;
  background-size: 14px 12px;
  background-position: 50%;
}

input[type=checkbox], input[type=checkbox]:checked {
  margin: 0;
  appearance: none;
  cursor: pointer;
  border-radius: .125rem;
  border: 1px solid rgb(109, 60, 151);
  background-color: initial;
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}

input[type=checkbox] {
  width: 1rem;
  height: 1rem;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.checkbox-group .radio-option {
  gap: 5px;
}

.radio-option {
  display: flex;
  align-items: center;
}

.radio-option input[type="radio"] {
  margin-right: 8px;
  accent-color: rgb(109, 60, 151);
  width: 16px;
  height: 16px;
}

.radio-option label {
  display: inline;
  margin-bottom: 0;
}

/* Select dropdown */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231B3168' d='M6 9L0 3h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Submit button */
.submit-btn {
  width: 100%;
  background-color: var(--ont-navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
}

.submit-btn:hover {
  background-color: #152654;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  margin-top: 7.5rem;
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  width: 180px;
  height: auto;
}

.footer-text {
  color: var(--ont-navy);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #25C1DE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .container {
    margin: 0px auto;
  }

  .card {
    padding: 30px 20px;
  }
  
  .logo {
    width: 150px;
    margin-bottom: 20px;
  }
  
  .card-title {
    font-size: 20px;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  /* Background with gradient overlay */
  .bg-container {
    -webkit-clip-path: ellipse(80% 30% at 50% 0);
    clip-path: ellipse(80% 30% at 50% 0);
  }
}

/* Advertisement Styles */
.advertisement-container {
  width: 100%;
  margin: 20px 0;
  text-align: center;
}

.advertisement-image {
  width: 440px;
  height: 155px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advertisement-container a {
  display: inline-block;
}

.advertisement-container a:hover .advertisement-image {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .advertisement-image {
    width: 100%;
    height: auto;
    aspect-ratio: 440 / 155;
  }
}
