@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-color: #1e293b;
  --main-bg: #f2f4f7;
  --header-cl: #fff;
  --Hspan: #3cc6d6;
  --card-surface: #fff;
  --shadow-cl: #0000000d;
  --background-btn: linear-gradient(to left, #177de4, #00bfff, #40e0d0);
  --muted-text: #555;
  --montserrat: "Montserrat", sans-serif;
  --poppins: "Poppins", sans-serif;
  --inter: "Inter", sans-serif;
  --jetbrains-mono: "JetBrains Mono", monospace;
  --footer-p: #475569;
  --gray: gray;
  --white: #fff;
  --navy: #001f3f;
  --input-bg: #f5fbff;
  --input-border: rgba(23, 125, 228, 0.25);
  ---mm: rgba(255, 255, 255, 0.21);
  ---bg-h: #001f3f;
}

html.dark-mode {
  --text-color: #e2e8f0;
  --main-bg: #1a202c;
  --header-cl: #2d3748;
  --Hspan: #63b3ed;
  --card-surface: #2d3748;
  --shadow-cl: #00000040;
  --muted-text: #cbd5e0;
  --footer-p: #a6b7ca;
  --gray: #a7c4c9;
  --white: #000;
  --input-bg: #22303d;
  --input-border: rgba(99, 179, 237, 0.25);
  ---mm: rgba(255, 255, 255, 0.82);
  ---bg-h: #f1f5f9;
}

/*hearder side*/
header {
  display: flex;
  justify-content: space-between;
  padding: 0 5px 0 0;
  background-color: var(--header-cl);
  align-items: center;
  position: relative;
  height: 8vh;
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
}

.logo {
  order: 1;
}

.uls {
  order: 2;
}

.nav-controls {
  order: 3;
  display: flex;
  align-items: center;
  gap: 10px; /* optional gap between toggle and burger */
}

body {
  background-color: var(--main-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
html {
  background-color: var(--main-bg);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 35px;
}
.logo p {
  background: linear-gradient(to left, #177de4, #00bfff, #40e0d0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.45rem;
  font-family: Montserrat;
  font-weight: 650;
}
.uls {
  list-style: none;
  display: flex;
  width: 55%;
  justify-content: space-between;
  align-items: center;
}

.uls a {
  text-decoration: none;
  color: var(--text-color);
}

.last {
  color: var(--text-color);
  border-radius: 2rem;
  font-size: 1.12rem;
  padding: 0.2rem 0.3rem;
  display: grid;
  place-content: center;
  cursor: pointer;
  font-weight: bold;
  border: none;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 21.5px;
  height: 3.3px;
  background-color: var(--Hspan);
  margin: 4px;
  transition: transform 0.12s ease;
}

.burger .line2 {
  width: 16px;
  justify-self: flex-end;
}

.animate .line1 {
  transform: rotate(45deg) translate(5px, 5.5px);
}
.animate .line2 {
  opacity: 0;
}

.animate .line3 {
  transform: rotate(-45deg) translate(4px, -5px);
}

.theme-toggle {
  width: 50px;
  height: 25px;
  background: #ccc;
  border: none;
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  margin-left: 1rem;
  transition: background-color 0.3s ease;
}

.toggle-ball {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  transition: all 0.3s ease;
}

html.dark-mode .theme-toggle {
  background: #555;
}

html.dark-mode .toggle-ball {
  background: #333;
  left: 27.5px;
}

.theme-toggle:hover {
  background: #b8b7b7;
}

html.dark-mode .theme-toggle:hover {
  background: #787777;
}

@media (max-width: 768px) {
  .theme-toggle {
    margin-left: 0.5rem;
    order: 3;
  }

  .burger {
    order: 3;
  }
}

main {
  flex: 1;
  z-index: 200;
}

/*responsible nav*/
@media (max-width: 950px) and (min-width: 730px) {
  .uls {
    width: 67%;
  }
}

@media (max-width: 729.99px) {
  .burger {
    display: block;
  }

  .uls {
    position: absolute;
    top: 8vh;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 550px;
    background-color: var(--header-cl);
    justify-content: start;
    transform: translate(-108%);
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow: 0px 2px 1.2px #00000022;
    transition: all 0.12s ease;
  }

  .last {
    display: grid;
  }

  .uls li {
    padding: 1.7rem;
    border-bottom: 1px solid #00000024;
  }

  .uls a {
    width: 100%;
  }

  .astray {
    position: relative;
    width: 100%;
    display: grid;
    place-content: center;
    margin: 3.4rem 0;
  }

  .show {
    transform: translate(0%);
  }

  .uls li:hover {
    background-color: #0035ff;
    background: linear-gradient(to right, #177de4, #00bfff);
    font-weight: 600;
    cursor: pointer;
    color: #fff;
  }
}

/*hero side*/

.mainHero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  font-size: 4rem;
  width: 100%;
  color: var(--text-color);
  font-family: var(--inter);
  margin-top: 1rem;
}

.heroText abbr {
  text-decoration: none;
  font-size: 4.3rem;
}

.third {
  margin-top: 40px;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--muted-text);
}

@media (max-width: 729.99px) {
  .mainHero {
    padding: 10px;
    font-size: 1.5rem;
    margin-top: 0.2rem;
  }

  .heroText abbr {
    font-size: 1.65rem;
  }

  .third {
    font-size: 0.89rem;
    font-weight: 300;
    color: var(--muted-text);
  }

  .mainn {
    line-height: 40px;
  }
}

@media (max-width: 729.99px) and (min-width: 500px) {
  .mainHero {
    padding: 10px;
    font-size: 2.2rem;
  }

  .heroText abbr {
    font-size: 2.4rem;
  }
}

@media (max-width: 989px) and (min-width: 730px) {
  .mainHero {
    padding: 10px;
    font-size: 3.2rem;
  }

  .heroText abbr {
    font-size: 3.5rem;
  }
}

.heroText {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.heroSpan {
  color: var(--Hspan);
  font-weight: bold;
}

.heroButton {
  background: var(--background-btn);
  color: #fff;
  border-radius: 4rem;
  padding: 1.2rem 1rem;
  font-size: 1.12rem;
  width: 300px;
  box-shadow: 0px 0px 3px #18181878;
  display: grid;
  place-content: center;
  cursor: pointer;
  font-weight: bold;
  border: none;
  transition: all 0.2s ease-in-out;
  -webkit-box-reflect: below 0px linear-gradient(transparent, #00000013);
}

.heroButton:hover {
  background: linear-gradient(to left, #1575d5, #0db1e8, #3bd1c2);
  transform: translateY(-2px);
}

/*Unicards*/
.uni {
  margin-top: 2rem;
  background: linear-gradient(
    to right,
    var(--main-bg),
    var(--header-cl),
    var(--main-bg)
  );
  display: flex;
  justify-content: center;
  align-items: center;
}

.uni-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  max-width: 700px;
}

.uni img {
  width: 28px;
}

/*whyCont*/

.whyTitle {
  margin: 2rem 0 1rem 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color);
}

.whyCont {
  width: 85%;
  margin: 20px auto;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.whyCont {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.whyCard {
  background-color: var(--card-surface);
  box-shadow: 0px 0px 4px var(--shadow-cl);
  border-radius: 1.5rem;
  height: 200px;
  padding: 2px 1rem;
  cursor: pointer;
  display: grid;
  place-content: center;
  text-align: center;
  grid-template-rows: 2.3fr 1fr;
  transition: all 0.3s ease;
  color: var(--text-color);
}

.whyCard:hover {
  box-shadow: 0px 0px 1px #00bfff;
}
.iconCont {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.iconCont p {
  font-weight: bold;
  font-size: 1.2rem;
}

.trustedSection {
  width: 85%;
  margin: 3rem auto;
  text-align: center;
}

.trustedTitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.trustedCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.review-card {
  background-color: var(--card-surface);
  border: 1px solid rgba(23, 125, 228, 0.12);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: left;
  display: grid;
  grid-template-rows: 1fr 20px;
  position: relative;
}

.reviewIcon {
  position: absolute;
  top: 5px;
  left: 9px;
  opacity: 0.4;
}

.reviewIcon img {
  width: 25px;
}

.review-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  display: block;
  color: var(--text-color);
  font-weight: 700;
}

@media (max-width: 768px) {
  .trustedSection {
    width: 95%;
  }
}

/*Grade page*/

.gradePage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gradePagehero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.grade-p-1 {
  font-size: 2rem;
  color: var(--text-color);
  font-weight: 400;
  font-family: var(--inter);
}

.grade-p-2 {
  color: var(--muted-text);
  font-weight: bold;
}

.gradeWrapper {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.gradeCon {
  width: 50%;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* select,::picker(select){
  appearance: base-select;
}  */

select {
  width: 240px;
  padding: 10px;
  border-radius: 5px;
  margin: 4px;
  background-color: var(--card-surface);
  border: 1px solid var(--card-surface);
  box-shadow: 0 0 2px #00000035;
  color: var(--text-color);
}

select:hover {
  cursor: pointer;
}

.subjectName1 {
  width: 240px;
  padding: 10.5px;
  color: var(--text-color);
}

.coreSub,
.elective-sub {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.Csubjects-1,
.Csubjects-2,
.Csubjects-3,
.Csubjects-4,
.Esubjects-1,
.Esubjects-2,
.Esubjects-3,
.Esubjects-4 {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin: 2px 10px;
  align-items: center;
  color: var(--text-color);
}

select:focus {
  outline: 1px solid var(--text-color);
}

@media (max-width: 989.33px) {
  .Csubjects-1,
  .Csubjects-2,
  .Csubjects-3,
  .Csubjects-4,
  .Esubjects-1,
  .Esubjects-2,
  .Esubjects-3,
  .Esubjects-4 {
    margin: 1px 5px;
    align-items: center;
  }
  .grade-p-1 {
    font-size: 1.5rem;
    margin-top: 0.3rem;
  }
  .grade-p-2 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  select {
    width: 160px;
    padding: 0.65rem 0.5rem;
  }

  .subjectName1 {
    width: 160px;
    padding: 0.8rem 0.6rem;
    color: var(--text-color);
  }

  .gradeWrapper {
    flex: 1;
    margin-top: 0.55rem;
    justify-content: center;
  }
}

.find {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  margin-top: 0.78rem;
}

.gradeButton1 {
  width: 100%;
  max-width: 320px;
  padding: 0.8rem 0.4rem;
  font-size: 1rem;
}
.gradeButton2 {
  width: 140px;
  padding: 0.75rem 0.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
}

.type-topic {
  font-size: clamp(1rem, 0.5rem + 0.6vw, 1.4rem);
  font-weight: 300;
  font-family: monospace;
  color: var(--text-color);
}

@media (max-width: 700px) {
  .find {
    margin-top: 0.5rem;
    gap: 1rem;
  }
  .gradeButton1 {
    padding: 0.93rem 0.65rem;
    font-size: 1.1rem;
  }
  .gradeButton2 {
    width: 140px;
    padding: 0.795rem 0.25rem;
    font-size: 0.9rem;
  }

  .type-topic {
    font-size: 1.1rem;
    margin: 3px 1px;
  }
}

.prompt {
  width: 100%;
  margin-top: 0.2rem;
  text-align: center;
  color: red;
  height: 0.78rem;
  font-size: 0.73rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.gradePage {
  display: none;
}
.landingPage {
  display: none;
}

.getsch {
  background-color: var(--card-surface);
  border-radius: 13px;
  box-shadow: 0 2px 2px #0000003a;
  padding: 2px 5px;
  width: 50%;
  min-width: 350px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px auto;
  margin-bottom: 2px;
  color: var(--text-color);
}

.getsch-title {
  text-align: left;
}

#getsch-select-value {
  padding: 5px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.879);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  background: var(--main-bg);
  padding: 2.5rem;
  border-radius: 10px;
  width: 96%;
  max-width: 450px;
  text-align: center;
  border: 2px solid var(--shadow-cl);
  color: var(--text-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h3 img {
  width: 50px;
}

.modal-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: clamp(1rem, 0.79vw + 0.95rem, 2rem);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.modal-content p {
  font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
  line-height: 1;
}

.agg {
  margin-bottom: 0.25rem;
}

.form-group {
  margin-top: 0.85rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 0;
  border-radius: 6px;
  border: 1px solid var(--shadow-cl);
  background: var(--card-surface);
  color: var(--text-color);
  font-size: 1rem;
}

#display-agg {
  font-size: 1.3rem;
  font-weight: bolder;
  color: var(--Hspan);
  font-family: poppins;
}

.modal-content input:focus {
  border: none;
  outline: 1.5px solid var(--Hspan);
}

.btn-primary {
  background: var(--background-btn);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  outline: none;
}

.btn-primary:hover {
  background: linear-gradient(to left, #1575d5, #0db1e8, #3bd1c2);
}

.btn-secondary {
  position: absolute;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-color);
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  padding: 0;
}

.checkinputerror {
  color: red;
  font-size: 0.73rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  position: relative;
  top: 0.9rem;
  height: 0.78rem;
}

.payment-info {
  margin: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.payment-note {
  color: var(--muted-text);
  margin: 0.2rem 0 1rem 0;
  text-align: center;
  line-height: 1.4;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid #0db1e832;
  background-color: #1ac6ff0e;
  box-shadow: 0 0 4.5px #00000019;
}

.resultPage {
  padding: 0.5rem;
  margin: 12px auto;
  width: 88%;
  display: none;
  position: relative;
}

.resultPagehero {
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.result-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: -0.5rem;
}

.result-university-switcher {
  display: none;
  width: 100%;
  max-width: 420px;
  background: var(--card-surface);
  border: 1px solid rgba(64, 224, 208, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1rem;
}

.result-university-switcher-label {
  display: block;
  margin-bottom: 0.85rem;
  font-weight: 700;
  color: var(--text-color);
}

#result-uni-switcher {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text-color);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#result-uni-switcher:hover,
#result-uni-switcher:focus {
  border-color: var(--Hspan);
  box-shadow: 0 0 0 4px rgba(99, 179, 237, 0.14);
}

#result-uni-switcher option {
  color: var(--text-color);
  background: var(--input-bg);
}

.btn-return {
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 10rem;
  background: #177de4;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  position: absolute;
  top: -5px;
  right: 10px;
}

.btn-return:hover {
  background: #0f65b5;
}

.result-summary {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: 15px;
  margin-bottom: 30px;
}
.result-summary h2 {
  font-size: clamp(0.8rem, 1vw + 0.89rem, 1.7rem);
  color: var(--text-color);
}
.result-summaryUni {
  background: linear-gradient(to left, #177de4, #00bfff, #40e0d0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}
.result-summaryBox {
  border: 1px solid #40e0d052;
  border-radius: 20px;
  padding: 0.5rem;
  display: flex;
  width: calc(1vw + 11rem);
  justify-content: space-between;
  background-color: #40e0d013;
  backdrop-filter: blur(20px);
  align-items: center;
}

.result-summaryBox span {
  color: #00bfffa8;
}

.resultAgg-t {
  color: var(--gray);
  font-size: 0.87rem;
}

.resultAgg {
  font-weight: bold;
  color: #20867b;
  padding-right: 5px;
}

.calcom {
  white-space: nowrap;
}

.numberCourses {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray);
  margin: 10px 0 0 10px;
}

.btn-return {
  background: #177de4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
}

.btn-return:hover {
  background: #0f65b5;
}

.eligible-programs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.55rem;
  margin-top: 15px;
}

.result-card {
  box-shadow: 0 0 3px #00000027;
  background-color: var(--card-surface);
  padding: 0.8rem;
  border-radius: 10px;
  border-top: 4px solid var(--Hspan);
  display: flex;
  justify-content: space-between;
  height: 158px;
}

.result-card-left {
  display: grid;
  grid-template-rows: 50px 60px;
}

.result-card-top {
  font-weight: 500;
  font-size: clamp(1.1rem, 0.5vw + 0.9rem, 2rem);
  margin-bottom: 9px;
  color: var(--text-color);
}

.Co_Fa {
  margin-top: 6.5px;
  display: grid;
  gap: 5px;
}

.result-card-college,
.result-card-faculty {
  font-size: clamp(0.8rem, 0.4vw + 0.5rem, 1rem);
  border-radius: 10px;
  padding: 1px 4px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}
.result-card-college {
  color: #20867b;
  background-color: #20867c13;
  border: 1px solid #20867c34;
}
.result-card-faculty {
  color: #177de4;
  background-color: #177de413;
  border: 1px solid #177de434;
}

.result-card-right {
  border: 1px solid #40e0d052;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  background-color: #40e0d013;
  backdrop-filter: blur(20px);
  align-items: center;
  width: 55px;
  height: 40px;
  justify-content: center;
}
.resultAgg-t1 {
  font-size: 0.7rem;
  color: var(--gray);
}
.result-card-college img,
.result-card-faculty img {
  width: 9px;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.result-card h3 {
  margin-bottom: 0.4rem;
  color: #0b3d7d;
}

.no-match-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
    border-radius: 28px;
    padding: 1.4rem 0.7rem;
    max-width: 550px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.5s ease-out;
  }

  .status-badge {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }


  .no-match-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 171, 0, 0.1);
    color: #ffab00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(255, 171, 0, 0.1);
  }

  .no-match-card h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    font-size: 1.8rem;
  }

  .no-match-card .message {
    color: var(--muted-text);
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.6;
  }


  .assistant-link {
    width: 100%;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    transition: 0.3s;
    margin-top: 1rem;
  }

  .assistant-link:hover {
    background: var(#25D366, #1da851);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
  }

  .assistant-link img {
    width: 24px;
    height: 24px;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

.no-p1 {
  display: flex;
  line-height: 14px;
  align-items: center;
  margin-top: 5px;
  font-family: var(--inter);
}

.no-p2 {
  font-family: var(--inter);
}

.wa-link {
  padding: 5px;
  margin-top: 10px;
  background-color: #75737314;
  backdrop-filter: blur(40px);
  border-radius: 4px;
}

.wa-link a {
  display: flex;
  background-color: rgb(16, 201, 139);
  color: #fff;
  margin-top: 4px;
  width: fit-content;
  padding: 4px;
  border-radius: 8px;
  font-size: 0.9rem;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.85rem;
}

.wa-link a img {
  width: 20px;
}

@media (max-width: 760px) {
  .resultPage {
    width: 95%;
  }

  .result-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

.result-card h3 {
  margin-bottom: 0.3rem;
}

.savedResultsPage {
  width: 100%;
  padding: 2rem;
}

.savedResultsPagehero {
  max-width: 1000px;
  margin: 0 auto;
}

.no-saved-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: var(--card-surface);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow-cl);
}

.no-results-icon {
  margin-bottom: 2rem;
}

.no-results-icon img {
  width: 100px;
  height: 100px;
  opacity: 0.7;
}

.no-saved-results h2 {
  color: var(--text-color);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-family: var(--montserrat);
  font-weight: 600;
}

.no-saved-results p {
  color: var(--muted-text);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--poppins);
  line-height: 1.6;
}

.no-saved-results a {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  text-decoration: none;
  color: white;
  border-radius: 8px;
  font-family: var(--poppins);
  font-weight: 500;
}

.result-actions-buttons {
  text-align: center;
  padding: 2rem 0;
}

.result-actions-buttons a {
  display: inline-block;
  padding: 0.8rem 2rem;
  text-decoration: none;
  color: white;
  border-radius: 8px;
  font-family: var(--poppins);
  font-weight: 500;
  background: linear-gradient(to left, #177de4, #00bfff, #40e0d0);
  transition: transform 0.2s ease;
}

.result-actions-buttons a:hover {
  transform: translateY(-2px);
}

footer {
  background-color: var(--header-cl);
  color: var(--text-color);
  padding: 2rem 0 1rem;
  margin-top: 30px;
  border-top: 1px solid rgba(23, 125, 228, 0.12);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.footer-section h3 {
  color: var(--Hspan);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-section h4 {
  color: var(--Hspan);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--footer-p);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--Hspan);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  color: var(--Hspan);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #0d9bbd;
}

.footer-bottom {
  border-top: 1px solid rgba(23, 125, 228, 0.12);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #70829b;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/*hostel*/

.noData {
  display: flex;
  gap: 5px;
  box-shadow: 0 0 3px #0000002b;
  padding: 0.4rem;
  border-radius: 5px;
  border-bottom: 1.8px solid var(--Hspan);
  color: var(--text-color);
  background-color: var(--header-cl);
  margin: 10px 0;
  height: 65px;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
}

.active {
  font-size: 1.1rem;
  transition: all 1s ease;
  color: var(--Hspan);
}

footer {
  position: relative;
  display: block !important;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  min-height: 300px;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(26, 26, 46, 0.1);
  border-left-color: #1a1a2e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}

.dark-mode .loader-spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #ffffff;
}

.loader-text {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.dark-mode .loader-text {
  color: #aaa;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.controlLoader {
  min-height: 500px;
}

.uniloader {
  width: 90vw;
}

.uniloader .loader-container {
  width: 100%;
}


.promo-section {
 /*  background: linear-gradient(160deg, #e8f4fa 0%, #d0ebf8 100%); */
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.promo-section h3 {
  font-family: var(--montserrat);
  font-size: 1.6rem;
  font-weight: 700;
  color:var(--text-color);
  margin-bottom: 0.7rem;
}

.promo-section p {
  font-family: var(--inter);
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}

.promo-btn {
  background: var(--background-btn);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 45px;
  font-family: var(--montserrat);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.promo-btn:hover {
  opacity: 0.9;
  box-shadow: 0 10px 20px rgba(23, 125, 228, 0.25);
  transform: translateY(-2px);
}





.result-cta {
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 1.5rem;
}

.result-cta p {
  font-family: var(--inter);
  font-size: 1rem;
  color: var(--muted-text);
  margin-bottom: 0.7rem;
}

.result-cta a {
  font-family: var(--montserrat);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--Hspan);
  text-decoration: none;
  transition: color 0.2s;
}



.weakmarksave{
  color: var(--text-color);
  margin-top: 4.2rem;
  line-height: 23px;
}


.weakmarktake{
  color: var(--text-color);
  margin: 0.7rem auto;
  font-size: 0.9rem;
  line-height: 23px;
}


.weakmarksave a ,.weakmarktake a{
  color: var(--Hspan);
font-size: 1rem;
border: 1px solid var(--Hspan);
padding: 4px;
border-radius: 10px;
white-space: nowrap;
text-decoration: none;
margin-top: 2px;
font-weight: 700;
font-style: normal;
transition: all .5s ease;
}

.weakmarktake a:hover{
  background-color: #fff;
}