* {
    padding: 0;
    margin: 0;
    font-family: "Work Sans", sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
  }
  
  :root {
    --bg-color: #ffffff;
    --main-color1: rgb(0, 255, 255, 100%);
    --main-color2: rgb(0, 0, 255, 100%);
    --text-color: #000;
    --second-color: #a09dab;
    --bg-font: 5rem;  /* Not used, consider removing or adding to styles */
    --h2-font: 3rem;
    --p-font: 1.1rem;
  }
  
  body {
    background: var(--bg-color);
    color: var(--text-color);
  }
  
  header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 30px 18%;
    transition: 0.3s;
  }
  
  .logo {
    max-width: 100%;
    width: 130px;
    height: auto;
  }
  
  .navlist {
    display: flex;
  }
  
  .navlist li {
    position: relative;
  }
  
  .navlist a {
    font-size: var(--p-font);
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 27px;
  }
  
  .navlist a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--main-color2);
    bottom: -3px;
    left: 0;
    transition: ease 0.4s;
  }
  
  .navlist a:hover::after {
    width: 100%;
  }
  
  .tob-btn {
    display: inline-block;
    padding: 15px 20px;
    background: transparent;
    border: 2px solid var(--main-color2);
    border-radius: 30px;
    color: var(--text-color);
    letter-spacing: 1px;
    font-size: var(--p-font);
    font-weight: 500;
    transition: ease 0.5s;
  }
  
  .tob-btn:hover {
    transform: scale(1.1);
    background: var(--main-color1);
    border: 1px solid var(--main-color1);
    color: var(--bg-color);
  }
  
  section {
    padding: 120px 18%;
  }
  
  .home {
    min-height: 90vh;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 4rem;
  }
  
  .home-text h3 {
    color: var(--main-color2);
    font-weight: 500;
    margin-bottom: 5px;
  }
  
  .home-text h2 {
    font-size: var(--h2-font);
    font-weight: 500;
    margin-bottom: 20px;
  }
  
  .home-text h5 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  
  .home-text p {
    font-size: var(--p-font);
    font-weight: 500;
    color: var(--second-color);
    line-height: 30px;
    margin-bottom: 10px;
  }
  
  .span {
    color: var(--main-color2);
  }
  
  .social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--bg-color);
    background-color: var(--main-color2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 22px;
    margin-bottom: 30px;
  }
  
  .social a:hover {
    transform: scale(1.1);
    background-color: var(--main-color1);
    transition: ease 0.4s;
  }
  
  .btn {
    padding: 9px 25px;
    background-color: var(--main-color2);
    color: var(--bg-color);
    border: 2px solid var(--main-color2);
    border-radius: 30px;
  }
  
  .home-img img {
    width: 400px;
    max-width: 100%;
    height: auto;
  }
  
  .heading {
    text-align: center;
  }
  
  .heading h3 {
    font-size: 30px;
    color: var(--main-color2);
    margin-bottom: 20px;
  }
  
  .heading p {
    font-size: var(--p-font);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
  
  .hobby-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 2rem;
    align-items: center;
  }
  
  .goal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 5rem;
    align-items: center;
  }
  
  .dream-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .col img {
    width: 360px;
  }
  
  .end {
    text-align: center;
    padding: 40px;
  }
  
  .end p {
    color: var(--second-color);
    letter-spacing: 1px;
  }
  
/* Small devices (phones, 576px and below) */
@media (min-width: 576px) and (max-width: 767.98px) {
    header {
      padding: 20px 5%;
    }
  
    .navlist {
      flex-direction: column;
      align-items: center;
    }
  
    .navlist a {
      padding: 8px 15px;
      font-size: 1rem;
    }
  
    .tob-btn {
      padding: 12px 18px;
      font-size: 1rem;
    }
  
    .home {
      grid-template-columns: 1fr;
      padding: 80px 5%;
    }
  
    .home-text h2 {
      font-size: 2rem;
    }
  
    .home-text p {
      font-size: 1rem;
    }
  
    .home-img img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }
  
    .social a {
      margin-right: 15px;
      margin-bottom: 20px;
    }
  
    .goal-content {
      grid-template-columns: 1fr;
    }
  
    .dream-content {
      flex-direction: column;
    }
  
    .col img {
      width: 100%;
    }
  
    .heading h3 {
      font-size: 24px;
    }
  
    .heading p {
      font-size: 1rem;
    }
  }
  
  /* Medium devices (tablets, 768px to 991px) */
  @media (min-width: 768px) and (max-width: 991.98px) {
    header {
      padding: 20px 10%;
    }
  
    .navlist {
      flex-direction: row;
    }
  
    .navlist a {
      padding: 10px 20px;
      font-size: 1.1rem;
    }
  
    .tob-btn {
      padding: 13px 22px;
      font-size: 1.1rem;
    }
  
    .home {
      grid-template-columns: repeat(2, 1fr);
      padding: 100px 10%;
    }
  
    .home-text h2 {
      font-size: 2.5rem;
    }
  
    .home-text p {
      font-size: 1.1rem;
    }
  
    .home-img img {
      width: 80%;
      max-width: 100%;
      height: auto;
    }
  
    .social a {
      margin-right: 18px;
      margin-bottom: 25px;
    }
  
    .goal-content {
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 3rem;
    }
  
    .dream-content {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .col img {
      width: 80%;
    }
  
    .heading h3 {
      font-size: 28px;
    }
  
    .heading p {
      font-size: 1.1rem;
    }
  }
  
  /* Large devices (desktops, 992px to 1199px) */
  @media (min-width: 992px) and (max-width: 1199.98px) {
    header {
      padding: 25px 15%;
    }
  
    .navlist a {
      padding: 12px 25px;
      font-size: 1.2rem;
    }
  
    .tob-btn {
      padding: 14px 25px;
      font-size: 1.2rem;
    }
  
    .home {
      grid-template-columns: repeat(2, 1fr);
      padding: 100px 15%;
    }
  
    .home-text h2 {
      font-size: 3rem;
    }
  
    .home-text p {
      font-size: 1.2rem;
    }
  
    .home-img img {
      width: 70%;
      max-width: 100%;
      height: auto;
    }
  
    .social a {
      margin-right: 20px;
      margin-bottom: 30px;
    }
  
    .goal-content {
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 4rem;
    }
  
    .dream-content {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .col img {
      width: 80%;
    }
  
    .heading h3 {
      font-size: 32px;
    }
  
    .heading p {
      font-size: 1.2rem;
    }
  }
  
  /* Extra large devices (large desktops, 1200px and up) */
  @media (min-width: 1200px) {
    header {
      padding: 30px 18%;
    }
  
    .navlist a {
      padding: 15px 30px;
      font-size: 1.3rem;
    }
  
    .tob-btn {
      padding: 15px 30px;
      font-size: 1.3rem;
    }
  
    .home {
      grid-template-columns: repeat(2, 1fr);
      padding: 120px 18%;
    }
  
    .home-text h2 {
      font-size: 4rem;
    }
  
    .home-text p {
      font-size: 1.3rem;
    }
  
    .home-img img {
      width: 60%;
      max-width: 100%;
      height: auto;
    }
  
    .social a {
      margin-right: 25px;
      margin-bottom: 35px;
    }
  
    .goal-content {
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 5rem;
    }
  
    .dream-content {
      flex-direction: row;
      justify-content: space-evenly;
    }
  
    .col img {
      width: 75%;
    }
  
    .heading h3 {
      font-size: 36px;
    }
  
    .heading p {
      font-size: 1.3rem;
    }
  }
  