/* #region CSS Head */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

html, body {
    background-color: var(--color-white);
    margin: 0;
    font-family: 'Inter', sans-serif;
}


.layout {
    margin: 0 auto;
}

hr {
    width: 90%;
    margin-top: 65px;
    margin-bottom: 65px;
}

/* #endregion */

/* #region Variabili */
:root {
    --color-white: #ffffff;
    --color-black: #000000;
    --color-background: #ffffff;
    --color-text-light: #696969;
}
/* #endregion */

/* #region Topbar */
.topbar {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.navbar {
    display: flex;
    gap: 25px;
    font-size: 16px;
    margin-right: 350px;
    margin-top: 0;
}

.navbar a {
    text-decoration: none;
    color: inherit;
}

.navbar1 {
    font-size: 15px;
    font-weight: bold;
    
}

.navbar2 {
    font-size: 10px;
    font-weight: normal;
    margin-top: -8px;
}

.logocontainer img {
    width: 59px;
    height: auto;
    margin-left: 350px;
}

/* #endregion */

/* #region Main */

.goals-header {
    text-align: center;
    margin-top: 50px;
    font-size: 50px;
    font-weight: normal;
    color: var(--color-white);
}

.goals-paragraph {
    text-align: center;
    font-size: 20px;
    color: var(--color-white);
}

.goals-box {
    height: 500px;
    background: linear-gradient(135deg, #0183d4 0%, #12b42b 100%);
}

.goals-img {
    transform: translateY(50px);
    width: 130px;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

/* #endregion  */

/* #region Cards */

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover .card {
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    transform: translateY(-2px);
    transition: box-shadow 0.2s, transform 0.2s;
}

.card {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px;
    width: 400px;
    text-align: left;
    display: flex;
    align-items: center;
}

.goals-number {
    font-size: 25px;
    font-weight: bold;
    color: white;
    background-color: var(--num-color);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin-top: 10px;
    transform: translateX(20px);
}
.card-subtext {
    color: rgb(67, 67, 67);
    transform: translateX(20px) translateY(-10px);
}
.goals-cards {
    display: grid;
    grid-template-columns: repeat(3, 450px);
    justify-content: center;
    padding: 40px 0;
    gap: 20px;
}

/* #endregion */

/* #region Bottom */

.bottom-box {
    display: flex;
    justify-content: center;
    align-items: center;    
}
.bottom-container {
    background: linear-gradient(135deg, #cdecff 0%, #cbffd3 100%);
    width: calc(100% - 700px);
    height: 200px;
    margin: 0 auto;
    margin-top: 50px;
    border-radius: 20px;
}
.bottom-header {
    font-weight: normal;
    text-align: center;
    font-size: 30px;
    transform: translateY(30px);
}
.bottom-paragraph {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-light);
    transform: translateY(20px);
}

/* #endregion */

/* #region Footer */
.footer {
  background-color: #1f2937;
  color: #ffffff;
  padding: 48px 32px;
  font-family: system-ui, -apple-system, sans-serif;
  margin-top: 200px;
}

.footer-content {
  max-width: calc(100% - 500px);
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-navigation {
  transform: translateX(50px);
}

.footer-heading {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 32px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  color: #60a5fa;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.social-icon {
  width: 33px;
  height: auto;
}

.footer-copyright {
  font-size: 14px;
  margin: 0;
  color: lightgray;
}
/* #endregion */
