* {
    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:300;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    direction: ltr;
    text-align: right;
}

.left2right{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}


.left,
.right {
    width: 48%;
}

.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%;
    max-width: 520px;
    gap:10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    margin-bottom: 15px;
    margin-bottom: 120px;
}

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

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

.photo-single-container img {
    width: 100%;
    border: 2px 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: #F37021;
  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;
  }
}


 .info-table {
     margin-left: auto;
     border-collapse: collapse;
     border: none;
 }

 .info-table td {
     border: 1px solid transparent;
     padding: 6px 10px;
     vertical-align: top;
 }

 .info-table1 {
     width: 100%;
     border-collapse: collapse;
     border: none;
 }

 .info-table1 td {
     border: none;
     padding: 0;
     text-align: left;
 }

 .info-table1 td:first-child {
     width: 26%;
 }

 .label {
     width: 130px;
     font-size: 14px;
     font-weight: 200 !important;
     color: #888;
     text-transform: uppercase;
     letter-spacing: 1px;
     text-align: right;
     padding-right: 15px;
     white-space: nowrap;
 }

 .value {
     padding-left: 10px;
     font-size: 14px;
     text-align: left;
     font-weight: 200 !important;
     color: #beb5b5;
 }


 @media (max-width: 768px) {
     .info-table td.value,
     .info-table td.value1 {
         padding-right: 20px;
         font-size: 12px !important;
         line-height: 1.4;
         word-wrap: break-word;
         white-space: normal;
         overflow-wrap: break-word;
     }

     .label1,
     .value1 {
         font-size: 12px !important;
         line-height: 1.4;
         word-wrap: break-word;
         white-space: normal;
     }


 }

/* Outer frame */
.press-frame{
    display: inline-block;
    width: min(980px, 100%);
    box-sizing: border-box;
}

.press-grid{
    display: grid;
    grid-template-columns: 1.15fr 1fr;      /* left slightly wider */
    grid-template-rows: 140px 140px 230px;   /* top-right, mid-right, bottom-wide */
    gap: 6px;
    background: #000;
}

/* Base image style */
.press-grid img{
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #5f5f5f;
    background: #111;
    object-fit: cover;
    box-sizing: border-box;
}

/* Exact positions */
.press-grid .p1{
    grid-column: 1;
    grid-row: 1 / 3; /* spans top + middle rows */
    object-fit: cover;
    object-position: center;
}

.press-grid .p2{
    grid-column: 2;
    grid-row: 1;
    object-fit: cover;      /* if newspaper/doc image */
    background: #0b0b0b;
}

.press-grid .p3{
    grid-column: 2;
    grid-row: 2;
    object-fit: cover;
    object-position: center;
}

.press-grid .p4{
    grid-column: 1 / -1; /* full width */
    grid-row: 3;
    object-fit: cover;
    object-position: center;
}

/* Mobile: stack */
@media (max-width: 720px){
    .press-frame{
        width: 100%;
        padding: 6px;
    }

    .press-grid{
        grid-template-columns: 1fr;
        grid-template-rows: 240px 180px 180px 220px;
    }

    .press-grid .p1{ grid-column: 1; grid-row: 1; }
    .press-grid .p2{ grid-column: 1; grid-row: 2; }
    .press-grid .p3{ grid-column: 1; grid-row: 3; }
    .press-grid .p4{ grid-column: 1; grid-row: 4; }
}
