/* Global Reset & Box Sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body & Font Settings */
body {
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, #f7f9fc, #e3eff5);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100px;
  background: linear-gradient(135deg, #009cbd, #00b7d1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  gap: 20px;
}

/* Logo: Positioned absolutely at far left, vertically centered */
.hero-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.hero-logo img {
  max-width: 85px;
  height: auto;
}

/* Hero Content: Centered horizontally and vertically; headings use Montserrat */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 750;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  margin-bottom: 5px;
}
.hero-content p {
  font-size: 1rem;
  color: #e0f7fa;
  opacity: 0.9;
}

/* Split Section: Two-column layout optimized for 1351x608 window */
.split-section {
  display: flex;
  max-width: 1351px;
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  gap: 40px;
}

/* Left Column (Form) */
.form-section {
  width: 500px;  /* Fixed width */
  height: 600px;
  padding: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Form Groups & Inputs */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
  font-size: 1rem;
}
.form-group input[type="number"],
.form-group input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}
.form-group input[type="number"]:focus,
.form-group input[type="text"]:focus {
  border-color: #007095;
  outline: none;
  box-shadow: 0 0px 8px rgba(0,0,0,0.15);
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}
.radio-group label {
  font-size: 0.95rem;
}

/* Submit Button */
button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  background-color: #00b7d1; /* Main color */
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
button:hover {
  background-color: #009db3; /* Accent color */
  transform: translateY(-2px);
  box-shadow: 0 0px 16px rgba(0,0,0,0.3);
}

/* Right Column (Results) */
.results-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  opacity: 1; /* Set to fully visible after transition */
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#result {
  width: 100%;
}

/* Error Text */
.error {
  color: #c00;
  font-weight: 600;
  margin-top: 10px;
}

/* Info Icon Style for SVGs */
.info-icon {
  vertical-align: middle;
  width: 24px;
  height: auto;
  margin-right: 5px;
}

/* Keyframes for fadeInUp animation for each box card */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Box Option Cards with animation */
.box-option {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}
.box-option h3 {
  margin-bottom: 15px;
  color: #ff0000;
  font-weight: 1000;
  font-size: 1.2rem;
}
.box-option p {
  margin: 6px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .split-section {
    flex-direction: column;
    justify-content: center;
  }
  .form-section,
  .results-section {
    width: 100%;
    margin: 0 auto;
  }
}
