.hero {
  height: 80vh;
  background-image: url('../images/hero-ipo.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Left gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, black 0%, transparent 100%);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: 3rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.hero-text h1 {
  font-size: 8vw; /* Auto scales */
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.logo {
  margin-top: 2rem;
  width: 150px;
}

 /* ===== Three Column Text Section ===== */
    #three-columns .container{
      display:flex !important;
      gap:30px;
      max-width:1200px;
      margin:0 auto;
      align-items:flex-start;
    }
    #three-columns .column{
      flex:1;
      min-width:0;
    }
    #three-columns .column h3{
      font-size:clamp(18px, 2vw, 24px);
      font-weight:700;
      margin:0 0 12px;
      color:#111;
    }
    #three-columns .column p{
      font-size:clamp(14px, 1.5vw, 16px);
      line-height:1.6;
      color:#3d3d3d;
      margin:0;
    }

    /* Stack columns on mobile */
    @media (max-width: 768px){
      #three-columns .container{
        flex-direction:column;
        gap:24px;
      }
    }

/* Full width large image section */
#large-image .container {
  max-width: 100%;
  padding: 0;
}

#large-image .large-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Form Styling */
#form-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 44px 16px;
}

#form-section h2 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  color: #111;
  font-size: clamp(24px, 3vw, 32px);
}

#form-section form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

#form-section label {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #202020;
  display: block;
}

#form-section input[type="text"],
#form-section input[type="email"],
#form-section input[type="tel"],
#form-section textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fff;
  transition: border-color 0.3s ease;
  margin-top: 6px;
}

#form-section input[type="text"]:focus,
#form-section input[type="email"]:focus,
#form-section input[type="tel"]:focus,
#form-section textarea:focus {
  outline: none;
  border-color: #35c435;
}

#form-section textarea {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox styling */
#form-section label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  padding: 8px 0;
}

#form-section input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #35c435;
}

/* Submit button */
#form-section button[type="submit"] {
  background-color: #3d3d3d;
  color: #fff;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  margin-top: 12px;
}

#form-section button[type="submit"]:hover {
  background-color: #35c435;
  transform: translateY(-2px);
}

#form-section button[type="submit"]:active {
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #form-section {
    padding: 32px 16px;
  }

  #form-section h2 {
    margin-bottom: 24px;
  }
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
