/* ===== UNIVERSITIES INTRO SECTION ===== */
.universities-page {
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.universities-page > *:last-child {
  margin-bottom: 0;
  padding-bottom: 20px;
}

.universities-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; 
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.left-panel,
.right-panel {
  flex: 1 1 350px; 
  min-width: 280px;
  text-align: center; 
}

.left-panel p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: justify;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

.tabs a {
  color: #999;
  cursor: pointer;
  font-size: 0.9rem;
}

.tabs a.active {
  color: var(--blue);
  border-bottom: 2px solid var(--hover-blue);
  padding-bottom: 4px;
}

.form-group {
  margin-bottom: 12px;
  width: 100%;
}

select,
input,
button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.left-panel .explore-btn {
  width: fit-content;
  padding: 10px 30px;
  border: 2px solid var(--hover-blue);
  color: var(--hover-blue);
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
  margin: auto;
}

.explore-btn:hover {
  background-color: var(--hover-blue);
  color: white;
}

.right-panel img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ===== WHY UK CARDS ===== */
.whyuk-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.whyuk-section h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #253185;
  margin-bottom: 40px;
}

.whyuk-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.whyuk-card {
  border: 2px solid #253185;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease;
  background: transparent;
}

.whyuk-card:hover {
  transform: translateY(-6px);
}

.whyuk-card i {
  font-size: 42px;
  color: #253185;
  margin-bottom: 18px;
  display: block;
  text-align: center;
}

.whyuk-card h2 {
  font-size: 1.1rem;
  color: #253185;
  margin-bottom: 10px;
}

.whyuk-card p {
  color: grey;
  font-size: 0.95rem;
  line-height: 1.5;
}
