/* -------------------- RESET -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* -------------------- MAIN SECTION -------------------- */
.admission-for-clg-section {
  background: url("../images/admission-for.png") center/cover no-repeat;
  padding: 70px;
  min-height: 500px;
}

.admission-for-clg {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.admission-for-clg-heading {
  width: 55%;
  text-align: center;
  padding: 20px;
}

.admission-for-clg-heading h2 {
  font-family: Merriweather;
  font-size: 56px;
  line-height: 60px;
  color: #fff;
}

.admission-for-clg-heading span {
  font-family: Merriweather;
  font-size: 36px;
  color: #fff;
}

.admission-for-clg-heading p {
  font-family: Poppins;
  font-size: 16px;
  color: #fff;
  margin-top: 10px;
}

/* -------------------- SEARCH BAR -------------------- */
.admission-for-clg-searchbar {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  margin-top: 40px;
  align-items: center;
}

/* DROPDOWN + INPUT — ALWAYS IN ONE ROW */
.input-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 721px;
}

/* Country Code */
.country-code-dropdown {
  padding: 12px 12px;
  font-size: 16px;
  color: #1c3f94;
  border: none;
  border-right: 1px solid #ccc;
  background: transparent;
  flex-shrink: 0;
}

/* Input Field */
.input-wrapper input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  min-width: 200px;
}

/* REQUEST CALLBACK BUTTON — ALWAYS BELOW */
.request-callback-button {
  background-color: #1c3f94;
  color: white;
  border: 1px solid white;
  padding: 12px 28px;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 8px;
  text-align: center;
}

/* Prospectus Button */
.admission-for-clg-searchbar-download-prospectus {
  border: 2px solid #ee1b22;
  background: transparent;
  border-radius: 8px;
  padding: 12px 24px;
  color: #ee1b22;
  width: 100%;
  max-width: 600px;
  text-align: center;
  text-transform: uppercase;
}

/* Placeholder */
input::placeholder {
  color: #1c3f94;
  font-family: Poppins;
}

/* -------------------- RESPONSIVE -------------------- */

/* LARGE TABLETS */
@media (max-width: 1200px) {
  .admission-for-clg-heading {
    width: 80%;
  }
}

/* TABLETS */
@media (max-width: 992px) {
  .admission-for-clg-heading {
    width: 90%;
  }
  .admission-for-clg-heading h2 {
    font-size: 44px;
  }
}

/* SMALL TABLETS */
@media (max-width: 768px) {
  .admission-for-clg-section {
    padding: 40px 20px;
  }
  .admission-for-clg-heading h2 {
    font-size: 34px;
  }
  .admission-for-clg-heading span {
    font-size: 24px;
  }
}

/* MOBILE DEVICES */
/* --- FORCE BUTTON TO GO DOWN IN SMALL DEVICES --- */
@media (max-width: 576px) {

  /* Make input-wrapper wrap its children */
  .input-wrapper {
    flex-wrap: wrap;          /* break into next line */
    width: 100% !important;   /* full width */
    max-width: 100% !important;
  }

  /* Country code dropdown stays on top-left */
  .country-code-dropdown {
    width: 30%;
  }

  /* Input stays beside dropdown */
  .input-wrapper input {
    width: 70%;
  }

  /* BUTTON goes to next line ALWAYS */
  .request-callback-button {
    width: 100% !important;   /* full width */
    margin-top: 10px !important;
    order: 3 !important;      /* force button to be last */
  }
}


/* VERY SMALL PHONES */
@media (max-width: 360px) {
  .admission-for-clg-heading h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .admission-for-clg-heading span {
    font-size: 18px;
  }

  .country-code-dropdown,
  .input-wrapper input {
    font-size: 13px;
  }
}
