/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100vh;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f1f1f;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Shared Header ─────────────────────────────────────── */
.homePage {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.homePage a {
  text-decoration: none;
  color: #000000;
  font-weight: 400;
  font-size: 20px;
  font-family: "Noto Sans", sans-serif;
}

.homePage header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #ffffff;
}

.homePage .banner {
  overflow: hidden;
  font-style: normal;
}

.homePage .banner .attincare-logo {
  width: 216px;
  margin: 33px 0 33px 56px;
}

.homePage .banner .attincare-logo img {
  width: 100%;
}

.homePage .top-btn {
  display: flex;
  justify-content: flex-start;
  column-gap: 36px;
  align-items: center;
  margin: 33px 80px 33px 0;
}

.homePage .top-btn a {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  text-decoration: none;
  color: #000000;
}

.homePage .top-btn #about-us-btn      { width: 90px; }
.homePage .top-btn #download-btn      { width: 102px; }
.homePage .top-btn #attincare-works-btn  { width: 212px; }
.homePage .top-btn #mobile-features-btn  { width: 162px; }

.homePage .top-btn a.active {
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
}

.homePage .top-btn .login-btn {
  width: 142px;
  height: 47px;
  display: block;
}

.homePage .top-btn .login-btn img {
  width: 100%;
  height: 100%;
}

/* Responsive nav toggle */
.nav-collapse.opened { max-height: 9999px; }
.js .nav-collapse { position: relative; }
.nav-toggle { display: none; }

@media screen and (max-width: 768px) {
  .homePage header {
    flex-direction: column;
  }

  .homePage .banner .attincare-logo {
    width: 180px;
    height: auto;
    object-fit: cover;
    margin: 58px 0 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .js .homePage header {
    background-color: #ffffff;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  .js .homePage header .banner .attincare-logo {
    margin: 0;
  }

  .js .homePage header .nav-toggle {
    display: block;
    background: url("../images/nav-toggle.svg");
    width: 30px;
    height: 30px;
    top: 10px;
    cursor: pointer;
  }

  .js .homePage header .top-btn.nav-collapse.closed {
    display: none;
  }

  .js .homePage header .top-btn {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin: 0;
    position: absolute;
    top: 50px;
    right: 15px;
  }

  .js .homePage header .top-btn a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 15px 25px;
    color: #011f59;
  }

  .js .homePage header .top-btn a.active {
    background: #eff9f6;
    font-weight: normal;
    font-size: 18px;
  }

  .js .homePage header .top-btn .login-btn {
    display: none;
  }

  .js .homePage header .top-btn #about-us-btn,
  .js .homePage header .top-btn #download-btn,
  .js .homePage header .top-btn #attincare-works-btn,
  .js .homePage header .top-btn #mobile-features-btn {
    width: 100%;
  }
}

@media screen and (min-width: 481px) and (max-width: 992px) {
  .js .homePage header {
    background-color: #ffffff;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  .js .homePage header .banner .attincare-logo {
    margin: 0;
  }

  .js .homePage header .nav-toggle {
    display: block;
    background: url("../images/nav-toggle.svg");
    width: 30px;
    height: 30px;
    top: 10px;
    cursor: pointer;
  }

  .js .homePage header .top-btn.nav-collapse.closed {
    display: none;
  }

  .js .homePage header .top-btn {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin: 0;
    position: absolute;
    top: 50px;
    right: 15px;
  }

  .js .homePage header .top-btn a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 15px 25px;
    color: #011f59;
  }

  .js .homePage header .top-btn a.active {
    background: #eff9f6;
    font-weight: normal;
    font-size: 18px;
  }

  .js .homePage header .top-btn .login-btn {
    display: none;
  }

  .js .homePage header .top-btn #about-us-btn,
  .js .homePage header .top-btn #download-btn,
  .js .homePage header .top-btn #attincare-works-btn,
  .js .homePage header .top-btn #mobile-features-btn {
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .homePage .top-btn {
    column-gap: 8px;
    margin: 33px 33px 33px 0;
  }

  .homePage .banner .attincare-logo {
    margin: 33px 0 33px 28px;
  }
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  padding: 60px 0 110px 0;
  background: #f8f9fa;
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
  box-sizing: border-box;

  .logo {
    padding-left: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    img {
      width: 377px;
      height: auto;
      object-fit: cover;
    }
  }

  .switch-service {
    a {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #000000;
      text-decoration: none;
    }
  }

  #times {
    position: absolute;
    bottom: 60px;
    left: 80px;
    font-weight: 400;
    font-size: 24px;
    font-family: "Noto Sans", sans-serif;
    color: #000000;
  }

  .content {
    display: flex;
    flex: 0 0 50%;
    justify-content: space-evenly;
    padding-right: 80px;

    a {
      text-decoration: none;
      color: #000000;
      font-weight: 400;
      font-size: 20px;
      font-family: "Noto Sans", sans-serif;
    }

    h3 {
      font-weight: 700;
      font-size: 28px;
      font-family: "Noto Sans", sans-serif;
      margin-top: 1em;
      margin-bottom: 1em;

      a {
        font-weight: 700;
        font-size: 28px;
        font-family: "Noto Sans", sans-serif;
        color: #000000;
        text-decoration: none;
      }
    }

    .attindas,
    .indas {
      a {
        display: flex;
        align-items: center;

        img {
          margin-left: 10px;
          width: 27px;
        }
      }
    }

    .attends {
      .contentLink {
        display: grid;
        grid-template-columns: 1fr 0.5fr;
        gap: 30px 48px;
      }
    }
  }

  @media screen and (max-width: 992px) {
    flex-direction: column;
    padding: 28px 0 0 0;

    .logo {
      padding-left: 32px;

      img {
        width: 189px;
      }
    }

    .switch-service {
      margin-top: 24px;

      a {
        font-family: "Noto Sans", sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #000000;
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
    }

    #times {
      left: 32px;
      bottom: 30px;
      font-size: 14px;
    }

    .content {
      flex-direction: column;
      padding: 96px 0 195px 32px;

      .attends {
        .contentLink {
          grid-template-columns: 1fr 1fr;
          gap: 40px;
        }
      }
    }
  }
}
