body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.background-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.dot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.4) 20%, transparent 20%);
    background-size: 10px 10px;
    pointer-events: none; 
    z-index: 1;
}

.overlay-content {
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    font-size: 2vw;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.logo {
    width: 20rem; 
    margin-top: 400px;
}


.projects-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
}

.projects-container h1 {
    font-size: 2vw;
    color: #3366A0;
    text-align: center;
    margin-bottom: 20px;
}

.projects-container p, .projects-container ul, .projects-container h2, .projects-container h3 {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1vw;
}

.projects-container ul {
    padding-left: 20px;
    list-style-type: disc;
}

.projects-container h2, .projects-container h3 {
    color: #3366A0;
    font-size: 1.8vw;
}

.text-projects {
    display: flex;
    justify-content: center; 
    align-items: center; 
    margin: 20px 0; 
    text-align: center; 
}

.text-projects h1 {
    font-size: 1.5vw;
    color: black;
}


.project {
    background-color: #3366A0;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.project-carousel {
    width: 60vw;
    margin: 0 auto;
}

.project {
    text-align: center;
    margin-bottom: 40px;
}

.project-title {
    font-size: 2vw;
    font-weight: bold;
}

.project-subtitle {
    font-size: 1.5vw;
    margin-bottom: 20px;
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    min-width: 100%;
    max-width: 100%;
    border-radius: 10px;
    height: auto;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    font-size: 1.5vw;
    cursor: pointer;
    z-index: 2;
    color: #3366A0;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: black;
}

::selection{
    color: #fff;
    background: #ff7979;
  }
  .wrapper{
    max-width: 1500px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
  }
  .wrapper .center-line{
    position: absolute;
    height: 100%;
    width: 4px;
    background: #3366A0;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
  }
  .wrapper .row{
    display: flex;
  }
  .wrapper .row-1{
    justify-content: flex-start;
    margin-right: 50px;
  }
  .wrapper .row-2{
    justify-content: flex-end;
    margin-left: 50px;
  }
  .wrapper .row section{
    background: #fff;
    border-radius: 5px;
    width: calc(50% - 40px);
    padding: 20px;
    position: relative;
  }
  .wrapper .row section::before{
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    background: #fff;
    top: 28px;
    z-index: -1;
    transform: rotate(45deg);
  }
  .row-1 section::before{
    right: -7px;
  }
  .row-2 section::before{
    left: -7px;
  }
  .row section .icon,
  .center-line .scroll-icon{
    position: absolute;
    background: #f2f2f2;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #3366A0;
    font-size: 17px;
    box-shadow: 0 0 0 4px #fff, inset 0 2px 0 rgba(0,0,0,0.08), 0 3px 0 4px rgba(0,0,0,0.05);
  }
  .center-line .scroll-icon{
    bottom: 0px;
    left: 50%;
    font-size: 25px;
    transform: translateX(-50%);
  }
  .row-1 section .icon{
    top: 15px;
    right: -60px;
    margin-right: -20px;
  }
  .row-2 section .icon{
    top: 15px;
    left: -60px;
    margin-left: -20px;
  }
  .row section .details,
  .row section .bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .row section .details .title{
    font-size: 22px;
    font-weight: 600;
  }
  .row section p{
    margin: 10px 0 17px 0;
  }
  .row section .bottom a{
    text-decoration: none;
    background: #ff7979;
    color: #fff;
    padding: 7px 15px;
    border-radius: 5px;
    /* font-size: 17px; */
    font-weight: 400;
    transition: all 0.3s ease;
  }
  .row section .bottom a:hover{
    transform: scale(0.97);
  }

  .collaboration-button{
    font-size: 1.5rem;
  }

  @media (max-width: 1064px) {
    .menulogo img {
        width: 100px;
        height: auto;
    }
    .background-image-container {
        height: 60vh;
    }
    .overlay-content {
        font-size: 3.5vw;
        margin-top: 15px;
    }
    .overlay-content p {
        font-size: 1.1rem;
        margin-top: 15px;
    }
    .logo {
        width: 14rem;
        margin-top: 80px;
    }
    .projects-container {
        max-width: 1000px;
        margin: 15px auto;
        padding: 15px;
    }
    .projects-container h1 {
        font-size: 1.75rem;
    }
    .projects-container p,
    .projects-container ul,
    .projects-container h2,
    .projects-container h3 {
        font-size: 1rem;
        line-height: 1.5;
    }
    .projects-container h2,
    .projects-container h3 {
        font-size: 1.2rem;
    }
    .text-projects h1 {
        font-size: 1.4rem;
    }
    .project-carousel {
        width: 85vw;
    }
    .project-title {
        font-size: 1.4rem;
    }
    .project-subtitle {
        font-size: 1.1rem;
    }
    .carousel-button {
        font-size: 1rem;
        padding: 6px;
    }
    .indicator {
        width: 10px;
        height: 10px;
    }
    .wrapper {
        max-width: 95%;
        margin: 15px auto;
        padding: 0 15px;
    }
    .wrapper .center-line {
        width: 2px;
        left: 50%;
        top: 0;
        background: #3366A0;
    }
    .wrapper .row section {
        width: 85%;
        padding: 10px;
        margin-bottom: 10px;
    }
    .wrapper .row section .icon {
        height: 35px;
        width: 35px;
        font-size: 12px;
        line-height: 35px;
        margin-bottom: 8px;
    }
    .row section .details .title {
        font-size: 1.4rem;
    }
    .row section p {
        font-size: 1rem;
        margin: 8px 0;
    }
    .row section .bottom a {
        font-size: 1rem;
        padding: 8px 12px;
    }
    .collaboration-button {
        font-size: 1.1rem;
    }
  }  

  @media (max-width: 786px) {

  .menulogo img {
      width: 75px; 
      height: auto;
  }
  .background-image-container {
      height: 50vh;
  }

  .overlay-content {
      font-size: 4vw;
      margin-top: 20px;
  }

  .overlay-content p {
    font-size: 1rem;
    margin-top: 20px;
  }

    .dot-overlay {
        height: 60vh;
    }

    .dot-overlay {
        background-size: 5px 5px;
    }

    .overlay-content p {
        font-size: 1rem;
        margin-top: 20px;
        width: 100%;
        font-weight: bolder;
    }

  .logo {
      width: 12rem;
      margin-top: 100px;
  }

  .projects-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
  }

  .projects-container h1 {
      font-size: 2rem;
      color: #3366A0;
      text-align: center;
      margin-bottom: 20px;
  }

  .projects-container p, .projects-container ul, .projects-container h2, .projects-container h3 {
      margin-bottom: 15px;
      line-height: 1.6;
      font-size: 1rem;
  }

  .projects-container ul {
      padding-left: 20px;
      list-style-type: disc;
  }

  .projects-container h2, .projects-container h3 {
      color: #3366A0;
      font-size: 1.25rem;
  }

  .text-projects {
      display: flex;
      justify-content: center; 
      align-items: center; 
      margin: 20px 0; 
      text-align: center; 
  }

  .text-projects h1 {
      font-size: 1.5rem;
      color: black;
  }

  .project {
    background-color: #3366A0;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
  }
  .project-carousel {
      width: 90vw;
      margin: 0 auto;
  }

  .project {
      text-align: center;
      margin-bottom: 30px;
  }

  .project-title {
      font-size: 1.5rem;
      font-weight: bold;
  }

  .project-subtitle {
      font-size: 1.25rem;
      margin-bottom: 15px;
  }

  .carousel {
      position: relative;
      overflow: hidden;
      width: 100%;
  }

  .carousel img {
      min-width: 100%;
      max-width: 100%;
      border-radius: 10px;
      height: auto;
  }

  .carousel-button {
      font-size: 1.25rem;
      padding: 8px;
  }

  .carousel-indicators {
      margin-top: 5px;
  }

  .indicator {
      width: 8px;
      height: 8px;
      margin: 0 3px;
  }

  .wrapper {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 10px;
  }

  .wrapper .center-line {
      width: 2px;
      left: 50%;
      top: 0;
      background: #3366A0;
  }

  .wrapper .row {
      flex-direction: column;
      align-items: center;
      margin: 0;
  }

  .wrapper .row section {
      width: 90%; 
      padding: 15px;
      margin-bottom: 15px; 
  }

  .wrapper .row-1 {
      justify-content: center; 
      margin-right: 0;
  }

  .wrapper .row-2 {
      justify-content: center;
      margin-left: 0;
  }

  .wrapper .row section::before {
      display: none;
  }

  .wrapper .row section .icon {
      height: 30px;
      width: 30px;
      font-size: 14px;
      line-height: 30px;
      position: static;
      margin: 0 auto 10px;
  }

  .row section .details .title {
      font-size: 1.5rem;
      text-align: center;
  }

  .row section p {
      font-size: 1rem;
      margin: 10px 0;
      text-align: center; 
  }

  .row section .bottom {
      justify-content: center;
  }

  .row section .bottom a {
      font-size: 1rem;
      padding: 10px 15px;
  }

  .collaboration-button{
    font-size: 1.25rem;
  }
}