* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: #000;
    color: #fff;
    font-family: sans-serif;

}

h3 {
    font-size: 2.5rem;
    color: #f1f1f1;
    font-weight:200;
}

.left2 {
    background-color: #000;
    color: #fff;
    justify-content: center;
    align-items: center;
    height: 100vh;
    direction: rtl;
    text-align: left;
    margin-top: 9.5rem;
}

.left3 {
    background-color: #000;
    color: #fff;
    justify-content: center;
    align-items: center;
    height: 100vh;
    direction: rtl;
    text-align: left;
    margin-top: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    direction: ltr;
    text-align: right;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.left {
    width: 60%;
}

.left {
    padding: 20px;
}

h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.intro,
.vision,
.closing {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: grey;
}

.vision {
    font-size: 13px;
    color: grey;
}

h2 {
    font-size: 13px;
    margin-top: 10px;
}

.photo-container {
    width: 100%;
    height: 100%;
    gap:10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    height: auto;
    margin-bottom: 15px;
    margin-bottom: 120px;
}

.photo-container img {
    width: 100%;
    height: 100%;
    border: 1px solid #aaa;
    display: block;
}


.founders {
    margin-top: auto;
}

.founder {
    margin-bottom: 30px;
}

.founder p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.founder-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    direction: ltr;
    margin-bottom: 20px;
}

.founder-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-top: 48px;
    border: 2px solid #aaa;
}

.founder-image img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    border-radius: 5px;
}


.founder-text {
    width: 100%;
    color: grey;
    text-align: right;
}

.team-section {
    text-align: center;
    margin-top: 40px;
}

.group-photo img {
    width: 100%;
    max-width: 540px;
    height: auto;
    margin: 0 auto 40px;
    display: block;
    border: 2px solid #aaa;
}

.team-members {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.member {
    width: 150px;
    color: #ccc;
    margin-bottom: 10px;
}

.member img {
    width: 150px;
    height: 180px;
    object-fit: cover;
    filter: grayscale(100%);
    border: 2px solid #aaa;
    border-radius: 5px;
    display: block;
}


.member h3 {
    margin-top: 15px;
    font-size: 12px;
    color: #fff;
    text-align: right;
}

.member .designation {
    font-size: 13px;
    color: #bbb;
    text-align: right;
}

.graphics-section {
    background-color: #000;
    padding: 40px 20px;
    text-align: center;
    color: #ccc;
}

.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #333;
    height: 30px;
    margin-bottom: 30px;

}

.section-header h2 {
    color: #aaa;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin: 0;
    direction: ltr;
    text-align: left;
    justify-content: flex-end;
}

.graphics-team {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.graphics-member {
    max-width: 150px;
    height: auto;
}

.graphics-member h3 {
    margin-top: 15px;
    font-size: 12px;
    color: #fff;
    text-align: right;
}

.graphics-member img {
    width: 150px;
    height: 180px;
    object-fit: cover;
    filter: grayscale(100%);
    border: 2px solid #aaa;
    border-radius: 5px;
    display: block;
}


.graphics-member p {
    margin-top: 10px;
    color: #eee;
    font-size: 13px;
}

.section-title-right {
    text-align: right !important;
    color: #aaa;
    margin: 0;
}

.team{
    font-size: 120px; font-weight: 600; color: #222222; margin-top:240px !important;
}

.team1{
    display: none;
}


.pt-desktop {
    margin-top: 10rem;
}

.pt-desktop2 {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 95%;
        padding: 20px 0;
    }

    .team{
        font-size: 100px !important;
        display: none;
    }

    .left,
    .right {
        width: 100%;
        padding: 0;
    }

    .left2 {
        margin-top: 50px;
        height: auto;
        align-items: flex-start;
    }

    h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .intro,
    .vision,
    .closing {
        font-size: 14px;
        text-align: right !important;
    }

    .founder-row {
        flex-direction: row !important;
        /* Keep side-by-side */
        align-items: center;
        text-align: center;
    }

    .founder-image {
        max-width: 120px;
        height: auto;
    }

    .founder-text h2 {
        font-size: 16px;
        text-align: center !important;
        direction: rtl;
    }

    .founder-text {
        text-align: justify;
        font-size: 14px;
        padding: 0 10px;
    }

    .photo-container {
        height: auto;
    }

    .photo-container img {
        max-height: 250px;
        object-fit: cover;
    }

    .team-members,
    .graphics-team {
        justify-content: center;
        gap: 20px;
    }

    .team1{
      display: inline-block;
      font-size: 100px !important; font-weight: 600; color: #222222; margin-top:-80px !important;

    }

    .member,
    .graphics-member {
        width: 45%;
    }

    .group-photo img {
        width: 100%;
        height: auto;
    }

    .section-header {
        justify-content: center;
    }

    .section-header h2 {
        text-align: center;
    }

    .pt-desktop {
        padding-top: 70px !important;
    }
}


.footer-nav {
  display: flex;
  gap: 30px;
  justify-content: space-between;  /* or center */
  position: fixed;
  bottom: 50px;
  left: 100px;
  right: 100px;
  z-index: 10;
}


.nav-item {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: flex-end;
}

.nav-label {
  position: absolute;
  bottom: 130%;
  color: white;
  padding-bottom: 5px;
  font-size: 25px;
  font-family: "CG", sans-serif;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}

.nav-item:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

.nav-dot {
  height: 1.3vh;
  width: 11.8vw;
  position: relative;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s ease, height 0.3s ease;
}


.nav-dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #0080c6;
  transition: left 0.4s ease;
  z-index: 0;
}

.nav-dot:hover::before {
  left: 0;
}

@media (max-width: 768px) {
  .logo {
    font-size: 24px;
    left: 20px;
  }
  .footer-nav {
    gap: 15px;
  }
  .nav-dot::after {
    font-size: 12px;
  }

  .nav-dot{
    display: none;
  }
}
