/* ================= HEADER (GLASS STYLE - FIXED) ================= */
html, body {
    height: 100%;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(130deg,#f4fafa, #0f6374);
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ----- page brand ------ */
.page-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding: 12px 24px;
  margin: 0;
  background: transparent; /* important */
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.page-logo {
  width: 34px;
}

.page-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f7f84;   /* 🔥 important for dark bg */
}

/* ----- conatct float ------- */
.contact-float {
  position: fixed;
  bottom: 30px;
  right: 30px;

  background: #f5f7f6;
  color: #033954;
  padding: 6px 10px;
  border-radius: 999px;

  font-size: 13px;
  text-decoration: none;
  font-weight: 500;

  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.2s ease;

  z-index: 1000;
}

.contact-float:hover {
  background: #9fbfde;
  transform: translateY(-2px);
}

.contact-float-group {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.contact-float-group .contact-float {
  position: static; /* override fixed */
}

/* Mobile stacking */
@media (max-width: 480px) {
  .contact-float-group {
    flex-direction: column;
    right: 15px;
    bottom: 15px;
  }
}

/* ================= Footer ================= */

footer {
    background-color: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 6px;
    font-size: 0.75rem;
    color: rgba(43, 42, 42, 0.7);

    position: relative; /* 🔥 FIXED (no overlap) */
}

/* ======== Responsive ============ */
/* Improve flexibility */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 20px;
  gap: 15px;              /* 🔥 prevents crowding */
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;        /* 🔥 prevents overflow */
}

@media (min-width: 1400px) {

  .header-inner {
    max-width: 1300px;
    padding: 18px 30px;
  }

  .header-title {
    font-size: 22px;
  }

  .nav-link {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {

  .header-inner {
    max-width: 1000px;
  }

  .nav-link {
    margin-left: 15px;
  }
}

@media (max-width: 992px) {

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .header-content {
    width: 100%;
    justify-content: center;
  }

  nav {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .nav-link {
    margin: 5px;
  }

  .header-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 12px;
  }

  .header-content {
    flex-direction: column;
    gap: 5px;
  }

  .logo {
    width: 32px;
  }

  .header-title {
    font-size: 16px;
  }

  nav {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    margin: 5px 0;
    padding: 8px;
  }

  .website-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {

  .header-inner {
    padding: 10px;
  }

  .header-title {
    font-size: 14px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px;
  }
}