
:root {
  /*--primary-color: #2B69E1;*/
  --primary-color: #104885;
  /*--secondary-color: #6c757d;*/
  --secondary-color: #2B69E1;
  --background-color: #F5F5F5;
  --hover-text:#007bff; /* Bootstrap primary blue */

  --body-background-colour: radial-gradient(
  circle at 30% 40%,
  rgba(227, 233, 255, 0.7) 0%,
  rgba(252, 229, 239, 0.4) 25%,
  rgba(222, 231, 255, 0.6) 100%
);
  --card-shadow: 4px 6px 18px rgba(0, 0, 0, 0.08);
  --text-color: #212529;
}


body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /*color: #212529;*/
  margin: 0;
  padding: 0;
  background: var(--body-background-colour);

}


.card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.08); /* Shadow shifted right & down */
  background-color: #fff;
}


.navbar {
  border-bottom: 1px solid var(--primary-color); /* Bootstrap primary blue */
}
.navbar-brand {
  /*color: #007BFF !important; !* Material Design blue 500 *!*/
  color: var(--primary-color) !important; /* Custom blue */

}

.navbar .nav-link {
  color: #212529; /* default dark text */
  transition: color 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover {
  color: #007bff; /* Bootstrap primary blue */
  transform: scale(1.1);
  text-decoration: none;
}

/* Optional: make the active nav item blue too */
.navbar .nav-link.active {
  /*color: var(--primary-color);*/
  color: var(--secondary-color);
  font-weight: 600;
}


.footer a {
  color: var(--secondary-color) !important; /* Override Bootstrap .text-dark */
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer a:hover {
  color: var(--hover-text);  !important; /* Bootstrap 5 primary blue */
  transform: scale(1.3);
  text-decoration: none;
}

.footer a i {
  transition: inherit;
  font-size: 1.4rem;
  /*color: var(--primary-color); !* Override Bootstrap .text-dark *!*/
}

.footer .footer-bubble span {
  font-size: 1rem;
  font-weight: 400;
  background-color: var(--hover-text);  /* light blue bubble */
  color: var(--hover-text);            /* Bootstrap primary blue */
  border-radius: 12px;
  padding: 2px 8px;
  margin-left: 4px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer .footer-bubble:hover span {
  background-color: var(--hover-text);
  color: white;
  transform: scale(1);
  /*color: #007bff;*/
}

.footer-icon {
  position: relative;
  display: inline-block;
}

.footer-icon .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: var(--hover-text);  /* Bootstrap blue */
  color: white;
  text-align: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  position: absolute;
  bottom: 125%; /* above the icon */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
  transition: opacity 0.2s ease-in-out;
}

.footer-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* === Banner Images === */

.banner-wrapper {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.banner-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.logo-overlay {
  position: absolute;
  top: 50%;
  left: 22%;
  transform: translate(-50%, -50%);
  height: 90%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}


/* === Buttons === */

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-danger.text-white {
    color: #fff !important;
}

/* === Review Card === */
.review-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #e3e3e3;
}

.review-card p {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

.review-card .review-meta {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: -5px;
}

.review-card .review-author {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.review-card img.profile-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 10px;
}

.review-card .review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}


.rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.rating-row .label {
  font-weight: 600;
  min-width: 150px;        /* Enough space for "Community Access" */
  flex-shrink: 0;          /* Prevents label from shrinking */
}

.rating-row .stars {
  flex-grow: 1;
  white-space: nowrap;
}

.rating-row .stars i {
  font-size: 1rem;
}

.d-none {
  display: none;
}

/*!* === dropdown list === *!*/

/*.dropdown {*/
/*  position: relative;*/
/*  overflow: visible !important;  !* Ensures dropdown can extend *!*/
/*}*/
/*!* Ensure the dropdown menu scrolls when too long *!*/
/*.town-dropdown-menu {*/
/*  max-height: 300px;*/
/*  overflow-y: auto;*/
/*  overflow-x: hidden;*/
/*  position: static !important;  !* 👈 Prevents Bootstrap from forcibly clipping the dropdown *!*/
/*}*/
.form-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.form-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/*!* Fix Bootstrap dropdown clipping by forcing position context *!*/
/*.dropdown {*/
/*  position: relative;*/
/*}*/

/* === providers links === */

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--hover-text, #007bff);
  border-radius: 8px;
  background-color: white;
  color: var(--hover-text, #007bff);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.link-btn:hover {
  background-color: var(--hover-text, #007bff);
  color: white;
  transform: scale(1.03);
}

.link-btn i {
  font-size: 1.1rem;
}

/* === Add Icon === */

.card-title {
  padding-right: 2.5rem; /* adjust as needed for the icon size */
}


.card-title .badge {
  font-size: 0.85rem;
  padding: 0.25em 0.5em;
}

.ad-icon {
  color: #198754;        /* Bootstrap's green color */
  font-size: 1.5rem;     /* adjust size as you like */
}


.custom-card {
  border: 4px solid #9ec5fe;   /* light blue border */
  border-radius: 0.5rem;       /* rounded corners */
  background-color: #ffffff;   /* white background */
  box-shadow: 0 0 5px rgba(158, 197, 254, 0.5); /* optional subtle glow */
  padding: 1.5rem;             /* inner spacing */
  transition: border-color 0.3s, box-shadow 0.3s;
}



.custom-card:hover {
  border-color: #4a90e2;       /* slightly darker blue on hover */
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

/* === reaction === */

/*@keyframes reaction-dance {*/
/*  0%   { transform: scale(1);   }*/
/*  25%  { transform: scale(1.4) translateY(-4px) rotate(-5deg); }*/
/*  50%  { transform: scale(1.3) translateY(-6px) rotate(5deg); }*/
/*  75%  { transform: scale(1.2) translateY(-4px) rotate(-3deg); }*/
/*  100% { transform: scale(1) translateY(0) rotate(0); }*/
/*}*/

/*.reaction-animate {*/
/*  animation: reaction-dance 0.4s ease-out;*/
/*}*/
/*.bi.text-primary {*/
/*  color: #007bff !important;*/
/*}*/
/*!* === Ranking Row === *!*/

/* Normal Screen responsiveness */
/*@media (max-width: 1800px) {*/
/*  .logo-overlay {*/
/*    left: 18%;*/
/*    width: 150px;*/
/*    height: 150px;*/
/*  }*/
/*}*/


@media (max-width: 1600px) {
  .logo-overlay {
    left: 15%;
    height: 90%;
  }
}

@media (max-width: 1200px) {
  .logo-overlay {
    left: 18%;
    height: 90%;
  }
}

@media (max-width: 768px) {
  .logo-overlay {
    left: 18%;
    height: 80%;
  }
}

@media (max-width: 576px) {

    .banner-wrapper {
    max-height: 100px;
  }

  .logo-overlay {
    left: 18%;
    height: 90%;
  }
    .ranking-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ranking-label {
    margin-bottom: 0.25rem;
  }
  .rating-row .stars i {
  font-size: 0.8rem;
  }
}

/*@media (max-width: 1600px) {*/
/*  .logo-overlay {*/
/*    left: 12%;*/
/*  }*/
/*}*/

/*@media (max-width: 1400px) {*/
/*  .logo-overlay {*/
/*    left: 12%;*/
/*    width: 120px;*/
/*    height: 120px;*/
/*  }*/
/*}*/
/*@media (max-width: 1200px) {*/
/*  .logo-overlay {*/
/*    left: 14%;*/
/*  }*/
/*}*/

/*!* 📱 Mobile responsiveness *!*/
/*@media (max-width: 768px) {*/
/*  .logo-overlay {*/
/*    !*width: 90px;*!*/
/*    !*height: 90px;*!*/
/*    left: 20%;  !* adjust as needed to centre better on small screens *!*/
/*  }*/
/*}*/


/*!* Responsive tweak *!*/
/*@media (max-width: 576px) {*/
/*  .ranking-row {*/
/*    flex-direction: column;*/
/*    align-items: flex-start;*/
/*  }*/

/*  .ranking-label {*/
/*    margin-bottom: 0.25rem;*/
/*  }*/
/*  .rating-row .stars i {*/
/*  font-size: 0.8rem;*/
/*  }*/
/*  !*.logo-overlay {*!*/
/*  !*  display: none;*!*/
/*  !*}*!*/

/*}*/


@media (max-width: 400px) {
  .logo-overlay {
    display: none;
  }

  .banner-wrapper {
    max-height: 60px;
  }
}


