html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
   min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* push top and bottom apart */
  padding: 18vh 0; /* your desired padding */
  box-sizing: border-box; /* center horizontally */
  align-items: flex-start;  
}

a {
    text-decoration: none;
    color: inherit;
}

.home-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 75%;
    padding: 0;
    margin: 0 auto;
}
.home-body {
  flex: 1; /* take all space between top & bottom */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-section {
    display: flex;
    justify-content: flex-end;
flex-direction: column;
    padding-bottom: 0;
    
}
.top-section a {
    align-self: flex-end;
}
.logo-right {
   height: 50px;
  width: auto;
    margin-right: 0; /* You can adjust this if needed */
}

.main-head {
    margin: 0;
    font-size: 140px;
    color: #ccc;
    letter-spacing: -0.05em;
    text-align: right;
    line-height: 7.5rem;
}

.content-section {
    display: flex;
    justify-content: space-between;
}

.content-section-grid.l {
    width: 30%;
    display: flex;
    justify-content: flex-end;   /* Align to the right horizontally */
    align-items: center;         /* Align to the vertical center */
}
.profile-grid{
    text-align: right;
}
.content-section-grid.r {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mini-heading {
    margin: 0;
    color: #ccc;
    font-size: 44px;
    line-height: 2.4rem;
    font-weight: 400;
    letter-spacing: -0.05em;
}

.mini-head-text {
    margin: 0;
    color: #ccc;
    letter-spacing: -0.05em;
    font-size: 23px;
    line-height: 1em;
}

.year-para {
    font-size: 12px;
    margin: 0;
    font-weight: 500;
    color: #6a6a6a;
    line-height: 0.9rem;
}
.year-para.b{
    text-align: right;
}

.inside-grid {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

/* bottom-section */
.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-bottom-text {
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    color: #353535;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-bottom-text span {
    color: #4f4f4f;
    font-size: 8px;
}

.dot {
    width: 35px;
    height: auto;
    margin: 0 auto;
    /* This centers it horizontally */
}


.logo-mini-head{
   font-size: 12px;
    color: #686868;
    font-weight: 600;
    display: flex;
    justify-content: right;
    margin: 0;
    padding-top: 10px;
}

.year{
    font-size: 24px;
    margin: 0;
    font-weight: 500;
    color: #6a6a6a;
}
.name{
     font-size: 14px;
    margin: 0;
    font-weight: 600;
    color: #3d3d3d;
}
.about-head-wrapper {
    display: flex;
    justify-content: flex-end;  /* Aligns child to right */
    width: 100%;
}
.about-head {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    color: #686868;
    text-align: right;
    width: 25%;
}


/* mobile-view */

@media (max-width: 767px) {
      body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15vh 0;
    height: auto;
    box-sizing: border-box;
    flex-direction: column;
  }
    .home-body {
        width: 80%;
        gap: 30px;
        padding: 0vh 0px;
    }
  .top-section {
    justify-content: center;
    align-items: center; /* ⬅️ This centers content horizontally */
    display: flex;
    flex-direction: column;
}
.top-section a {
    align-self: center; /* ⬅️ Optional for extra safety */
}
    .logo-right {
        height: 50px;
        width: auto;
    }

    .main-head {
        margin: 0;
        font-size: 50px;
        color: #ccc;
        letter-spacing: -0.05em;
        text-align: center;
        line-height: 3rem;
    }

    .content-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .content-section-grid.l {
        width: 100%;
        gap: 10px;
        justify-content: center;
    }

    .mini-heading {
        font-size: 24px;
        line-height: 1.4rem;
        text-align: center;
    }

    .mini-head-text {
        font-size: 12px;
        line-height: 1.2em;
        text-align: center;
    }

    .content-section-grid.r {
        width: 100%;
    }

    .year-para {
        font-size: 11px;
        margin: 0;
        font-weight: 500;
        color: #6a6a6a;
        line-height: 0.9rem;
        text-align: center;
    }
     .year-para.b{
        text-align: center;
     }

    .bottom-section{
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
    justify-content: center;
    padding-top: 5vh;
}
 .bottom-section .mobile-bottom-text:nth-child(1) {
    order: 1; /* First */
  }

  .bottom-section .mobile-bottom-text:nth-child(3) {
    order: 2; /* Second */
  }

  .bottom-section .dot {
    order: 3; /* Third */
  }
.logo-mini-head{
    display: inline;
    font-size: 12px;
    color: #3d3d3d;
    font-weight: 600;
    display: flex;
    justify-content: center;
    margin: 0;
    padding-top: 0px;
}
.profile-grid{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.year{
    font-size: 16px;
}
.name{
     font-size: 12px;
}
.about-head {
    font-size: 14px;
    text-align: center;
    width: 100%;
}

}