/*Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}


/*Header / Navigation*/
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 10px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.nav a {
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.75);
  position: relative;
  white-space: nowrap;	
}

.nav a.active {
  color: #008996;
}

.nav a.active::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #008996;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}


/*login button*/
.btn-login {
  background: #008996;
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.btn-login:hover {
  background: #58cdd8;
}


/*Buttons */
.btn {
  display: inline-block;
  background: #008996;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.btn:hover {
  background: #58cdd8;
}

.outline-btn {
  background: transparent;
  color: #008996;
  border: 2px solid #008996;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.outline-btn:hover {
  background: #008996;
  color: #fff;
}


/*Footer*/
.footer {
  background: #0d2b35;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  min-width: 260px;
}

.footer-left h2,
.footer-left h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-left p {
  opacity: 0.9;
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons span,
.social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
}

.social-icons img {
  width: 18px;
  height: 18px;
}

.footer-right {
  flex: 1;
  min-width: 260px;
  text-align: right;
}

.footer-right p {
  opacity: 0.9;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 22px;
  padding-top: 16px;
  text-align: center;
  opacity: 0.9;
}

.footer-bottom p {
  margin: 6px 0;
}


/*Responsive */
body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav a {
  padding: 6px 4px;
  white-space: nowrap;
}

/*Tablet & Mobile */
@media screen and (max-width: 768px) {

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* header*/
  .header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  /* row 1 */
  .logo {
    order: 1;
    flex: 0 0 auto;
    margin: 0;
  }

  .btn-login {
    order: 2;
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 14px;
    white-space: nowrap;
  }

  /* row 2: nav */
  .nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    margin-top: 6px;

    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: flex-start;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    padding-left: 6px;
    padding-right: 10px;
  }

  .nav a {
    font-size: 13px;
    display: inline-block;
    flex: 0 0 auto;
  }

  .nav::-webkit-scrollbar {
    height: 0;
  }

  /*footer*/
  .footer-right,
  .footer-right p {
    text-align: left;
  }
}

/*Small phones */
@media screen and (max-width: 480px) {

  .nav {
    gap: 10px;
    padding-right: 8px;
  }

  .nav a {
    font-size: 12px;
    padding: 6px 3px;
  }
}

/*Extra small phones*/
@media screen and (max-width: 360px) {

  .nav {
    gap: 8px;
    padding-right: 6px;
  }

  .nav a {
    font-size: 11px;
  }
}

/*Tablet only (769px - 1024px)*/
@media screen and (min-width: 769px) and (max-width: 1024px) {

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 14px;
  }

  .btn-login {
    margin-left: 12px;
  }
}
