/* reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: lato, sans-serif;
  background-color: #f1f3f5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

/* styles */

.main {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  font-size: 16px;
  border-radius: 0 0 4px 4px;
  padding: 30px;
}

/* centers the content wrapper */
/* .content-wrapper {
  max-width: 900px;
  margin: 0 auto;
} */

.top-banner-ad {
  display: flex;
  justify-content: center;
}

.title {
  font-size: 48px;
  font-weight: 700;
  color: #343a40;
  margin-top: 18px;
  margin-bottom: 4px;
}

.sub-title {
  font-size: 24px;
  margin-bottom: 48px;
  color: #5d6166;
}

.body-text {
  max-width: 75ch;
  line-height: 1.4;
  margin-bottom: 48px;
}

.body-text p:first-child {
  margin-bottom: 10px;
}

/* select form */
.select-school {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.select-container {
  overflow: hidden;
}

form {
  margin-bottom: 48px;
}

.select-style {
  max-width: 400px;
  font-size: 18px;
  font-family: inherit;
  padding: 8px 12px;
  border: 1px solid black;
  border-radius: 4px;
  background-color: #d0f4d6;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
}

.footer {
  border-top: 1px solid #e2e2e2;
  font-size: 12px;
  background-color: #f1f3f5;
  color: #495057;
  text-align: center;
  padding: 36px 0;
  line-height: 1.4;
}

/* Searchable dropdown styles */
.searchable-dropdown {
  position: relative;
  max-width: 400px;
  margin-bottom: 48px;
}

.search-input {
  width: 100%;
  font-size: 18px;
  font-family: inherit;
  padding: 8px 12px;
  border: 1px solid black;
  border-radius: 4px;
  background-color: #d0f4d6;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
  outline: none;
}

.search-input:focus {
  border-color: #82c91e;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-option {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-option:hover {
  background-color: #f8fff8;
  color: #82c91e;
}

.dropdown-option.highlighted {
  background-color: #e7f5e7;
  color: #5c940d;
}

.no-results {
  padding: 10px 12px;
  color: #666;
  font-style: italic;
}

.hidden {
  display: none;
}

.clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  padding: 2px;
}

.clear-btn:hover {
  color: #333;
}

/* Hidden form for submission */
.hidden-form {
  display: none;
}

/* quick links */

.p-links {
  margin-top: 96px;
}

.q-links,
.p-links {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
  list-style: none;
  justify-content: center;
  padding-left: 0;
  color: #343a40;
}

.link-list a {
  color: #000;
  font-size: 18px;
}

.link-list a:hover {
  color: #82c91e;
  font-size: 18px;
}

.sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Updated css for this section */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.q-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: #343a40;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}

.q-card:hover {
  background: #f8fff8;
  border-color: #82c91e;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.q-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.q-icon {
  width: 28px;
  height: 28px;
  filter: invert(42%) sepia(73%) saturate(1142%) hue-rotate(64deg)
    brightness(95%) contrast(101%);
}

svg {
  height: 24px;
  width: 24px;
  color: #5c940d;
}

.svg-icon {
  height: 24px;
  width: 24px;
  /* Filter to change color to #5c940d */
  filter: invert(42%) sepia(73%) saturate(1142%) hue-rotate(64deg)
    brightness(95%) contrast(101%);
}

/* popular plans */

.f-links {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  row-gap: 12px;
  column-gap: 18px;
  margin-bottom: 48px;
}

.school-link {
  max-width: 290px;
  background-color: #c6f4cd;
  color: #343a40;
  padding: 12px 24px;
  border-radius: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
}

.school-link:hover {
  text-decoration: underline;
  background-color: #a2e8a2;
}

.f-links {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.plan-card {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}

.plan-card:hover {
  background: #f8fff8;
  border-color: #82c91e;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.plan-card a {
  text-decoration: none;
  color: #343a40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.plan-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.plan-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
