* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    background-color: rgb(0, 0, 33);
    color: white;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
  }
  nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
    background-color: rgb(18, 18, 62);
  }
  nav ul {
    display: flex;
    justify-content: center;
  }
  nav ul li {
    list-style: none;
    margin: 0 23px;
  }
  nav ul li a {
    text-decoration: none;
    color: white;
  }
  nav ul li a:hover {
    color: rgb(192, 144, 237);
    font-size: 1.04rem;
  }
  .left {
    font-size: 1.7rem;
  }
  .left1 {
    font-size: 1.0rem;
  }
  .firstSection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 95px 0;
  }
  .firstSection > div {
    width: 30%;
    margin: 70px 0;
  }
  .leftSection {
    font-size: 3rem;
  }
  .leftSection .button {
    padding: 23px;
  }
  .leftSection .bt {
    font-size: 20px;
    padding: 13px;
    color: white;
    background: #1e2167;
    border-radius: 6px;
    border: 2px solid white;
    cursor: pointer;
  }
  .leftSection .bt a{
    text-decoration: none;
    color: white;
  }

  .rightSection img {
    width: 90%;
  }
  .purple {
    color: rgb(192, 144, 237);
  }
  .text-gray {
    color: gray;
  }
  #element {
    color: rgb(192, 144, 237);
  }
  main hr {
    border: 0;
    margin: 40px 84px;
    height: 1.2px;
    background: rgb(192, 144, 237);
  }
  .secondSection {
    max-width: 80vw;
    margin: auto;
    height: 80vh;
  }
  .secondSection h1 {
    font-size: 1.8rem;
  }

  footer {
    background-color: rgb(8, 8, 15);
    
  }
  .footer {
    display: flex;
    padding: 23px 120px;
    justify-content: space-evenly;
  }
  .footer ul{
    list-style: none;
  }
  .footer > div{
    width: 210px;
  }
  footer .footer-rights{
    text-align: center;
    color: white;
    padding: 12px 0;
  }
  .footer .footer-second a{
    text-decoration: none;
    color: white;
  }
  .footer .footer-third a{
    text-decoration: none;
    color: white;
  }
  .footer .footer-fourth ul{
    display: flex;
    justify-content: center;
  }
  .footer .footer-fourth ul li{
    margin: 0 10px;
  }
  .secondSection .box {
    background: white;
    width: 80vw;
    height: 2px;
    margin: 56px 0;
    display: flex;
    position: relative;
  }
  .secondSection .vertical{
    height: 170px;
    width: 1px;
    background-color: white;
    margin: 0 120px;
    position: relative;
  }
  .vertical-text{
    position: absolute;
    top: -25px;
    left: -75px;
    font-size: 14px;
    width: 150px;
    text-align: center;
  }
  .vertical-desc{
    color: white;
    position: absolute;
    top: 20px;
    left: -75px;
    font-size: 9px;
    width: 150px;
    text-align: center;
  }
  .image-top{
    position: absolute;
    top: -50px;
    left: -12px;
    width: 23px;
  }
  .footer a:hover {
    color: rgb(192, 144, 237);
    font-size: 1.04rem;
  }
  .image-top2{
    position: relative;
    top: -2px;
    left: 80px;
    width: 40px;
  }
  @media (max-width: 768px) {
    .content {
        padding: 1em;
    }
    .rightSection img {
    width: 250%;
}
    .content img {
        width: 120px;
        height: 120px;
    }
  
    nav {
        flex-direction: column;
        height: auto;
    }
  
    nav ul {
        flex-direction: column;
        margin-right: 0;
    }
  
    nav ul li {
        margin: 10px 0;
    }
    
    .footer .footer-fourth ul {
      flex-direction: row; /* Display links horizontally */
  }
  
  .footer .footer-fourth ul li {
      margin: 0 10px;
  }
  }
  .footer{
    flex-wrap: wrap;
  }
  @media (max-width: 798px) {
    .box{
      flex-direction: column;
    }
    .secondSection.vertical{
      height:unset;
    }
    .vertical-text,.vertical-desc{
      left: 45px;
    }
    .secondSection .box{
      width: 50vw;
    }
    .secondSection{
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .firstSection{
      flex-direction: column-reverse;
    }
    .image-top {
      position: relative;
      top: 122px;
    }
  }

  /* Responsive styles with improved media queries */
  @media only screen and (max-width: 1200px) {
    .secondSection {
        height: auto;
        padding-bottom: 50px;
    }
    .secondSection .vertical {
        margin: 0 80px;
    }
    .leftSection {
        font-size: 2.5rem;
    }
  }

  @media only screen and (max-width: 992px) {
    .firstSection > div {
        width: 45%;
    }
    .secondSection .vertical {
        margin: 0 50px;
    }
    .footer {
        padding: 23px 50px;
    }
  }

  @media only screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    .left {
        margin-bottom: 15px;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    .firstSection {
        flex-direction: column-reverse;
        margin: 50px 0;
    }
    .firstSection > div {
        width: 80%;
        margin: 30px 0;
        text-align: center;
    }
    .leftSection {
        font-size: 2rem;
    }
    .rightSection img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }
    .secondSection {
        max-width: 90vw;
        height: auto;
        padding-bottom: 600px;
        margin-bottom: 100px;
    }
    .secondSection .box {
        flex-direction: column;
        height: auto;
        width: 2px;
        align-items: center;
        margin: 50px auto;
        background-color: white;
    }
    .secondSection .vertical {
        height: 150px;
        width: 2px;
        margin: 50px 0;
        background-color: white;
    }
    .vertical-text {
        top: 30px;
        left: 20px;
        width: 200px;
        text-align: left;
        font-weight: bold;
    }
    .vertical-desc {
        top: 60px;
        left: 20px;
        width: 250px;
        text-align: left;
        font-size: 11px;
    }
    .image-top {
        top: 0;
        left: -11px;
        width: 23px;
    }
    .footer {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .footer > div {
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
    .footer .footer-fourth ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .image-top2 {
        left: 0;
    }
  }

  @media only screen and (max-width: 576px) {
    .leftSection {
        font-size: 1.7rem;
    }
    .leftSection .bt {
        font-size: 16px;
        padding: 10px;
    }
    nav ul li a {
        font-size: 14px;
    }
    .secondSection {
        padding-bottom: 600px;
    }
    .secondSection h1 {
        font-size: 1.5rem;
    }
    .vertical-text {
        width: 180px;
    }
    .vertical-desc {
        width: 220px;
    }
    .footer-rights {
        font-size: 12px;
    }
  }

  @media only screen and (max-width: 400px) {
    .leftSection {
        font-size: 1.5rem;
    }
    .left {
        font-size: 1.4rem;
    }
    .left1 {
        font-size: 0.8rem;
    }
    .secondSection {
        padding-bottom: 580px;
    }
    .vertical-text {
        width: 170px;
        left: 15px;
        font-size: 12px;
    }
    .vertical-desc {
        width: 200px;
        left: 15px;
        font-size: 10px;
    }
    .secondSection .vertical {
        height: 140px;
        margin: 40px 0;
    }
    .footer .footer-fourth ul li {
        margin: 0 5px;
    }
    .image-top2 {
        width: 30px;
    }
  }

  /* Additional media query for very small screens */
  @media screen and (max-width: 320px) {
    .secondSection {
        padding-bottom: 600px;
    }
    .vertical-text {
        width: 150px;
        left: 12px;
        font-size: 11px;
    }
    .vertical-desc {
        width: 170px;
        left: 12px;
        font-size: 9px;
    }
    .image-top {
        width: 20px;
    }
  }