/* Welcome Section Styles */
.welcome-section {
  background-color: #003a8c;
  color: #e3dddd;
  padding: 50px 20px;
  text-align: center;
  border-radius: 0 0 20px 20px;
  margin-bottom: 30px;
}

.welcome-section h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.welcome-section p {
  font-size: 20px;
}

/* Reset & base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  #element {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: larger;
    font-weight: 700;
  }
  body {
    background: #e7f0fd;
    color: #1a1a1a;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .container {
    max-width: 900px;
    margin: 0 auto 40px;
    width: 100%;
  }
  
  #name {color: white;}
  h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #004aad;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 74, 173, 0.3);
  }
  
  
  h2 {
    color: #003a8c;
    margin-bottom: 20px;
    text-align: center;
  }
  
  /* Card style for sections */
  .card {
    background: #fff;
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 74, 173, 0.15);
    transition: box-shadow 0.3s ease;
  }
  
  .card:hover {
    box-shadow: 0 12px 30px rgba(0, 74, 173, 0.25);
  }
  
  /* Form styling */
  form {
    width: 100%;
  }
  
  #courses-container, #semesters-container {
    margin-bottom: 20px;
  }
  
  /* Course and semester input rows */
  .course, .semester {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px 15px;
    border: 1.5px solid #cde0ff;
    border-radius: 10px;
    background: #f5faff;
    align-items: center;
    box-shadow: inset 0 0 5px #d0e4ff;
    transition: border-color 0.3s ease;
  }
  
  .course:hover, .semester:hover {
    border-color: #004aad;
  }
  
  /* Inputs */
  .course input[type="text"],
  .course input[type="number"],
  .semester input[type="number"],
  .course select {
    flex: 1 1 140px;
    padding: 10px 12px;
    border: 1.5px solid #a9c5ff;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }
  
  .course input[type="text"]:focus,
  .course input[type="number"]:focus,
  .semester input[type="number"]:focus,
  .course select:focus {
    outline: none;
    border-color: #004aad;
    box-shadow: 0 0 8px #004aad66;
  }
  
  /* Remove button */
  .course button,
  .semester button {
    flex: 0 0 auto;
    background-color: #ff4b5c;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(255, 75, 92, 0.5);
    transition: background-color 0.3s ease;
  }
  
  .course button:hover,
  .semester button:hover {
    background-color: #e63946;
  }
  
  /* Buttons container */
  .buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Buttons */
  .btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    min-width: 140px;
    user-select: none;
  }
  
  .btn-primary {
    background: #004aad;
    color: white;
    box-shadow: 0 6px 12px rgba(0, 74, 173, 0.5);
  }
  
  .btn-primary:hover {
    background: #003a8c;
    box-shadow: 0 8px 16px rgba(0, 58, 140, 0.7);
  }
  
  .btn-secondary {
    background: #a9c5ff;
    color: #004aad;
    box-shadow: 0 6px 12px rgba(169, 197, 255, 0.5);
  }
  
  .btn-secondary:hover {
    background: #7a9fff;
    box-shadow: 0 8px 16px rgba(122, 159, 255, 0.7);
  }
  
  /* Result text */
  .result {
    font-weight: 700;
    font-size: 1.3rem;
    color: #004aad;
    text-align: center;
    margin-top: 15px;
    user-select: text;
  }
  
  /* Footer Styles */
  footer {
    background: linear-gradient(135deg, #0052D4, #4364F7, #6FB1FC);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(67, 100, 247, 0.4);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
    transition: background 0.3s ease;
    margin-top: auto;
  }
  
  footer:hover {
    background: linear-gradient(135deg, #4364F7, #6FB1FC, #0052D4);
  }
  
  .footer-content p {
    margin: 6px 0;
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .footer-content p strong {
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  footer .disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 12px;
    font-style: italic;
  }
  
  /* Responsive */
  @media (max-width: 700px) {
    .course, .semester {
      flex-direction: column;
    }
  
    .course input[type="text"],
    .course input[type="number"],
    .semester input[type="number"],
    .course select,
    .course button,
    .semester button {
      flex: 1 1 100%;
    }
  
    .buttons {
      flex-direction: column;
    }
  
    .btn {
      min-width: 100%;
    }
  }
  
  @media (max-width: 400px) {
    h1 {
      font-size: 1.6rem;
    }
  
    h2 {
      font-size: 1.3rem;
    }
  
    .result {
      font-size: 1.1rem;
    }
  }
  /* Developer Link Styles */
.developer-link {
  color: #ffdd57;
  text-decoration: none;
  transition: color 0.3s ease;
}

.developer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.btn:hover {
  font-size: 20px;
}
