@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: #34942c;
  --primary-color-dark: #316127;
  --text-dark: #333333;
  --text-light: #767268;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --dark: #222;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 5px;
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  display: flex;
}

body {
  font-family: 'DM Sans', sans-serif;
}

nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  width: 200px;
  font-weight: 600;
  color: var(--text-dark);
}

.nav__logo img {
  width: 100%;
  display: block;
  border-radius: 30px;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.link a {
  font-weight: 500;
  color: var(--text-light);
  transition: 0.3s;
}

.link a:hover {
  color: var(--primary-color);
}

/* MENU BUTTON */
.menu__btn {
  font-size: 2rem;
  cursor: pointer;
  display: none;
  z-index: 1001;
}

.header__container {
  padding: 1rem 1rem 5rem 1rem;
}

.header__image__container {
  position: relative;
  min-height: 500px;
  background-image: linear-gradient(to right,
      rgba(44, 85, 51, 0.9),
      rgba(100, 187, 126, 0.1)),
    url("assets/header.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 2rem;
}

.header__content {
  max-width: 600px;
  padding: 5rem 2rem;
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 3.5rem;
  line-height: 4rem;
  font-weight: 600;
  color: var(--white);
}

.header__content p {
  color: var(--extra-light);
  margin-bottom: 30px;
}

.header__content .btn {
  margin-top: 2rem;
  padding: 0.5rem 3rem;
  outline: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  background-color: var(--primary-color);
  border-radius: 0.6rem;
  cursor: pointer;
  transition: 0.3s;
}

.header__content .btn:hover {
  background-color: var(--primary-color-dark);
}

.booking__container {
  position: absolute;
  bottom: -5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 6rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
  border-radius: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
}

.booking__container form {
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.booking__container .input__group {
  width: 100%;
  position: relative;
}

.booking__container label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  pointer-events: none;
  transition: 0.3s;
}

.booking__container select {
  width: 100%;
  padding: 10px 0;
  font-size: 1rem;
  outline: none;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid var(--primary-color);
  color: var(--text-dark);
}

.booking__container select:focus~label {
  font-size: 0.8rem;
  top: 0;
}

.booking__container .form__group p {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.booking__container .btn {
  padding: 1rem;
  outline: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.booking__container .btn:hover {
  background-color: var(--primary-color-dark);
}

.popular__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.popular__card {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
}

.popular__content {
  padding: 1rem;
}

.popular__card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.popular__card__header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.popular__content p {
  color: var(--text-light);
}

.client {
  background-color: rgb(223, 226, 223);
}

.client__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.client__card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.client__card img {
  max-width: 80px;
  margin: auto;
  margin-bottom: 1rem;
  border-radius: 100%;
}

.client-name {
  font-size: 16px;
  font-weight: bold;
  margin: 10px;

}

.client__card p {
  text-align: center;
  color: var(--text-dark);
}

.reward__container {
  padding: 2rem;
  text-align: center;
  border-radius: 2rem;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
}

.reward__container p {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.reward__container h4 {
  max-width: 500px;
  margin: auto;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.reward__btn {
  padding: 1rem 3rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.reward__btn:hover {
  background-color: var(--primary-color-dark);
}

footer {
  background-color: var(--dark);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
  grid-template-columns: 3 1fr;
}

.footer__col p {
  max-width: 300px;
  margin-block: 2rem;
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
}

.footer__socials a {
  display: inline-block;
  padding: 7px 10px;
  font-size: 1.25rem;
  color: var(--white);
  border-radius: 100%;
}


.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
}

.footer__links {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.footer__links a {
  display: flex;
  text-decoration: none;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__links a span {
  font-size: 1.25rem;
}

.footer__col form {
  display: grid;
  gap: 1rem;
}

.footer__col input {
  padding: 0.75rem;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--text-light);
  border-radius: 5px;
}

.footer__col input::placeholder {
  color: var(--text-light);
}

.footer__col .btn {
  border-radius: 5px;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

@media (width > 540px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:last-child {
    grid-area: 2/1/3/2;
  }
}

@media (width > 768px) {
  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  .footer__col:last-child {
    grid-area: unset;
  }
}

.about {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 30px;
  padding-right: 30px;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── Left: image grid ── */
.image-grid {
  display: flex;
  gap: 12px;
  position: relative;
}

.image-grid::before {
  content: '';
  position: absolute;
  inset: -16px;
  border: 1px solid var(--text-light);
  border-radius: 20px;
  pointer-events: none;
}

.img-card {
  overflow: hidden;
  border-radius: 12px;
  background: var(--text-dark);
  border: 1px solid var(--text-light);
  position: relative;
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.img-card:hover img {
  transform: scale(1.06);
}


.stat-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

/* ── Right: content ── */
.content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--primary-color);
}

.heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
}

.heading em {
  font-style: italic;
  color: var(--primary-color);
}

.body-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 480px;
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .image-grid {
    max-width: 520px;
    display: none;
    margin: 0 auto;
  }

  .content {
    text-align: center;
    align-items: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .body-text {
    text-align: left;
    padding: 2rem;
  }
}

@media (width < 900px) {
  .booking__container form {
    grid-template-columns: repeat(2, 1fr);
  }

  .popular__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .client__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (width < 600px) {

  nav {
    position: relative;
  }

  .menu__btn {
    display: block;
    position: absolute;
    right: 1rem;
    top: 2rem;
    color: var(--text-dark);
  }

  .menu__btn i {
    transition: 0.3s ease;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: 0.4s ease;
    z-index: 1000;
  }

  .nav__links.active {
    right: 0;
  }

  .header__container {
    padding-bottom: 25rem;
  }

  .booking__container {
    flex-direction: column;
    bottom: -25rem;
  }

  .booking__container form {
    grid-template-columns: repeat(1, 1fr);
  }

  .popular__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .client__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

:root {
  --bg: #f5f4f0;
  --white: #fff;
  --dark: #111210;
  --mid: #2b2d27;
  --muted: #7a7b75;
  --border: rgba(0, 0, 0, 0.3);
  --border-focus: rgba(34, 245, 27, 0.45);
  --orange: #34942c;
  --orange-light: #fff1ec;
  --orange-dim: rgba(34, 245, 27, 0.11);
  --green: #1db87a;
  --red: #e84040;
  --radius: 12px;
  --radius-sm: 8px;
}

.booking-section {
  padding: 40px 20px;
}

/* ── page header ── */
.page-head {
  max-width: 820px;
  margin: 0 auto 2rem;
}

.page-head .breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: .6rem;
}

.page-head .breadcrumb a {
  color: var(--orange);
  text-decoration: none;
}

.page-head h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.page-head p {
  font-size: 14px;
  color: var(--muted);
  margin-top: .3rem;
}

/* ── card ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.4rem;
  color: var(--dark);
}

.card-title .step {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── form grid ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.full {
  grid-column: 1/-1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .03em;
}

.field label span.req {
  color: var(--orange);
}

.field input,
.field select,
.field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--border-focus);
  background: var(--white);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7b75' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}

/* ── time of day pills ── */
.time-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-pill {
  position: relative;
}

.time-pill input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.time-pill label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
  background: var(--bg);
  -webkit-user-select: none;
  user-select: none;
}

.time-pill input:checked+label {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
}

.time-pill label .ico {
  font-size: 15px;
}

/* ── seat map ── */
.bus-wrap {
  overflow-x: auto;
  padding-bottom: 6px;
}

.bus-body {
  display: inline-block;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  min-width: 280px;
}

.bus-front {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1.5px dashed var(--border);
}

.bus-front .driver {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.seat-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.leg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
}

.leg-box {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.leg-box.avail {
  background: var(--bg);
  border: 1.5px solid var(--border);
}

.leg-box.taken {
  background: #e0dfd9;
  border: 1.5px solid #ccc;
}

.leg-box.selected {
  background: var(--orange);
  border: 1.5px solid var(--orange);
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  max-width: 220px;
}

.seat-grid .aisle {
  grid-column: 3;
  margin-left: 6px;
}

/* spacer handled by gap tweak */

.seat {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 9px 9px 6px 6px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .18s;
  -webkit-user-select: none;
  user-select: none;
}

.seat::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 7px;
  background: inherit;
  border: inherit;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.seat:hover:not(.taken):not(.selected) {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-light);
}

.seat.taken {
  background: #e8e7e2;
  border-color: #d5d4ce;
  color: #b0afa9;
  cursor: not-allowed;
}

.seat.selected {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.seat.aisle-gap {
  margin-left: 10px;
}

#seat-hidden {
  display: none;
}

/* ── ID type toggle ── */
.id-row {
  display: none;
}

.id-row.show {
  display: flex;
}

/* ── fare display ── */
.fare-card {
  background: var(--orange-dim);
  border: 1.5px solid rgba(245, 92, 27, 0.2);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.fare-card .label {
  font-size: 13px;
  color: var(--mid);
  font-weight: 500;
}

.fare-card .route-tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.fare-card .amount {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.fare-card .amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.fare-placeholder {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

/* ── submit btn ── */
.submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: .5rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--orange);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.btn-submit:hover {
  background: #0a3b17;
  transform: translateY(-2px);
}

.btn-submit svg {
  flex-shrink: 0;
}

/* ── divider ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: .5rem 0 1.25rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── responsive ── */
@media(max-width:600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: 1;
  }

  .seat {
    width: 38px;
    height: 38px;
  }
}

/* BACKDROP */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* ACTIVE STATE */
.popup.active {
  opacity: 1;
  visibility: visible;
}

/* MODAL BOX */
.popup-box {
  background: #fff;
  width: 90%;
  max-width: 450px;
  max-height: 80vh;
  overflow-y: auto;

  border-radius: 15px;
  padding: 20px;
  position: relative;

  transform: translateY(40px) scale(0.95);
  opacity: 0;
  transition: all 0.3s ease;
}

/* ANIMATION IN */
.popup.active .popup-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* CLOSE BUTTON */
#closePopup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
}

.result-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

  transition: 0.3s ease;
}

.result-card:hover {
  transform: translateY(-3px);
}

.route h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.route span {
  color: var(--orange);
}

.details p {
  font-size: 13px;
  color: #555;
  margin: 3px 0;
}

.price {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
}

.price .cedis {
  color: green;
  margin-right: 10px;
}

.price .naira {
  color: #444;
}

/* BUTTON */
.book-btn {
  display: block;
  margin-top: 12px;
  text-align: center;
  background: var(--orange);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.book-btn:hover {
  background: var(--dark);
  color: #fff;
}

.bus-indicator {
  background: linear-gradient(135deg, darkblue, #001f5b);
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 320px;
}

.discover__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.discover__card {
  padding: 1rem 1rem;
  text-align: center;
  transition: 0.3s;
  border-radius: 1rem;
}

.discover__card:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.discover__card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 10px 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: rgba(40, 135, 255, 0.1);
  border-radius: 100%;
}

.discover__card h4 {
  max-width: 150px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.discover__card p {
  color: var(--text-light);
}

/* ============ Advert Popup ============ */
#advert-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#advert-popup.show {
  opacity: 1;
  visibility: visible;
}

#advert-popup .advert-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 100%;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

#advert-popup.show .advert-content {
  transform: scale(1);
}

#advert-popup img {
  max-width: 100%;
  border-radius: 8px;
  height: 500px;
}

#close-advert {
  margin-top: 10px;
  background: #1da018;
  border: none;
  padding: 8px 14px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#close-advert:hover {
  background: #148110;
}

/* ============ Cookie Consent ============ */
#cookie-consent {
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1500;
}

#cookie-consent button {
  background: #23a10a;
  border: none;
  padding: 6px 12px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}


.contact-widget {
  position: fixed;
  top: 40%;
  right: 0;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

/* Hidden checkbox */
#contact-toggle {
  display: none;
}

/* Vertical tab */
.contact-tab {
  background: #111111;
  color: #fff;
  padding: 17px 10px;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: bold;
  border-radius: 8px 0 0 8px;

  /* Animation magic */
  animation: pulseGlow 2.5s infinite;
  transition: all 0.3s ease;
}

/* Hover = more intent */
.contact-tab:hover {
  background: var(--primary-color);
  box-shadow: -6px 0 18px rgba(25, 243, 5, 0.986);
  transform: translateX(-4px);
}

/* Pulse animation */
@keyframes pulseGlow {
  0% {
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.4);
  }

  50% {
    box-shadow: -6px 0 16px rgba(4, 248, 37, 0.45);
  }

  100% {
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.4);
  }
}

/* Panel */
.contact-panel {
  position: absolute;
  right: -260px;
  top: 0;
  width: 260px;
  background: #fcf2f2;
  border-radius: 8px 0 0 8px;
  padding: 16px;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
}

/* Expand on click */
#contact-toggle:checked~.contact-panel {
  right: 40px;
}

.contact-panel h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-panel p {
  margin: 8px 0;
  color: var(--text-dark);
  font-size: 14px;
}

.contact-panel a {
  color: var(--text-dark);
  text-decoration: none;
}

.contact-panel a:hover {
  text-decoration: underline;
}

#page-loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0d2a14;
  /* your dark blue theme */
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ffffff33;
  border-top: 5px solid rgb(0, 255, 13);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Fade out effect */
.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}