body, html {
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  color: #131313;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease;
  background-color: #f5f5f7;
}

.main {
  width: 100%;
  padding-top: 72px; /* Adjusted for fixed header */
}

.mainContainer {
  display: flex;
  color: #ffffff;
  justify-content: center;
  margin-left: 10px;
  margin-right: 10px;
}

.mainContainer3 {
  display: flex;
  margin-top: 3%;
  background-color: #000000;
  background-size: 100%;
  color: #000000;
  justify-content: center;
  width: 100%;
}

.dataContainer {
  display: flex;
  color: #ffffff;
  flex-direction: column;
  justify-content: normal;
  max-width: 1080px;
  width:auto;
}

.dataContainer2 {
  display: grid;
  justify-content: normal;
    margin-top: 3%;
    margin-left: 3%;
    margin-right: 3%;
    margin-bottom: 3%;
  grid-template-columns: 70% 30%;
  grid-template-rows: 100%;
}


.dataContainer3 {
  display: flex;
  align-items: center;
  max-width: 250px;
}

img {
  max-width:100%;
  justify-content: center;
  width:auto;
  height:auto;
  position: relative;
  top: auto;
  object-fit: contain;
  border: 0;
  border-radius: 30px;
  margin-bottom: 16px;
  z-index: 1;
}

.headerimg {
  max-width:250px;
  max-height:250px;
  justify-content: center;
  width:auto;
  height:auto;
  position: relative;
  top: auto;
  object-fit: contain;
}
@media screen and (max-width: 1000px) {
  headerimg {max-width:150px;
    max-height:150px;}
}
@media screen and (max-width: 550px) {
  headerimg {max-width:100px;
    max-height:100px;}
}


.header1 {
  text-align: left;
  color: #ffffff;
  font-size: 96px;
  font-weight: bold;
  margin: 8px;
}
@media screen and (max-width: 1000px) {
.header1 {font-size: 64px;}
}
@media screen and (max-width: 550px) {
.header1 {font-size: 36px;}
}

.text1 {
  text-align: left;
  color: #161617;
  margin: 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}
@media screen and (max-width: 1000px) {
.text1 {font-size: 22px;}
}
@media screen and (max-width: 550px) {
.text1 {font-size: 20px;}
}

.text2 {
  text-align: left;
  color: #dbdbdb;
  margin: 8px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
}
@media screen and (max-width: 1000px) {
.text2 {font-size: 24px;}
}
@media screen and (max-width: 550px) {
.text2 {font-size: 18px;}
}


.boxText {
  text-align: left;
  margin: 8px;
  color: #000000;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.25;
}
@media screen and (max-width: 550px) {
.boxText {font-size: 24px;}
}

.bio {
  text-align: left;
  font-size: 24px;
  font-weight: bold;
  color: #1d1d1f;
  line-height: 1.25;
}
@media screen and (max-width: 550px) {
.bio {font-size: 20px;}
}

.bio1 {
  text-align: right;
  font-size: 18px;
  font-weight: 400;
  color: #565656;
}
@media screen and (max-width: 550px) {
.bio1 {font-size: 16px;}
}

.box0 {
  background: #002fa7;
  width: 1080px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.boxPic {
  border: 0;
  border-radius: 30px;
}

.box1 {
  background: #ffffff;
  margin-bottom: 16px;
  padding: 10px;
  border: 0;
  border-radius: 30px;
}

.home{
  background: #f5f5f7;
  margin-bottom: 16px;
  padding: 10px;
  border: 0;
  border-radius: 30px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.home:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 1.5px 6px rgba(0,0,0,0.08);
  transform: translateY(0px) scale(1.01);
  cursor: pointer;
}


.box11 {
  background: #f5f5f7;
  margin-top: 10px;
  padding: 10px;
  border: 0;
  border-radius: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
/* Hover effect for .box11 */
.box11:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 1.5px 6px rgba(0,0,0,0.08);
  cursor: pointer;
}


.nav-container {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    /* width: 90vw; */
    max-width: 1080px;
    pointer-events: auto;
  }

  nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 30px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 4px 4px;
    transition: all 0.3s ease;
    margin-top: 0 !important;
  }

  nav:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;   /* centre the whole cluster */
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0;
  /* flex: 1 1 0; */
  /* display: flex; */
  justify-content: center;   /* centre the button inside its flex cell */
}

      nav button {
        background: none;
        border: none;
        color: #000000dd;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: 600;
        padding: 8px 12px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
        position: relative;
        overflow: hidden;
      }

      nav button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.05);
        border-radius: inherit;
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      nav button:hover::before {
        opacity: 1;
      }

      nav button:hover {
        color: rgb(0, 49, 174);
        transform: translateY(-1px);
      }

      nav button.active {
        background: #002fa7;
        color: white;
        box-shadow: 0 4px 12px rgba(19, 19, 19, 0.25);
      }

      nav button.active::before {
        display: none;
      }

      nav button.active:hover {
        background: #003cd4;
        transform: translateY(-1px);
      }


      @media screen and (max-width: 600px) {
        .nav-container {
          top: 0.25rem;
        }
        nav {
          margin-top: 0 !important;
        }
        nav ul {
          gap: 2px;
        }
        
        nav button {
          font-size: 11px;
          padding: 10px 10px;
        }
        
        #dark-mode-toggle {
          padding-left: 16px;
          margin-left: 4px;
        }
      }


      .dark-mode nav {
        background: rgba(0, 0, 0, 0.8);
      }

      .dark-mode nav:hover {
        background: rgba(0, 0, 0, 0.9);
      }

      .dark-mode nav button {
        color: #bdbdbd;
      }

      .dark-mode nav button:hover {
        color: #ffffff;
      }

      .dark-mode nav button::before {
        background: rgba(255, 255, 255, 0.05);
      }

      .dark-mode nav button.active {
        background: #ffffff;
        color: #131313;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
      }

      .dark-mode nav button.active:hover {
        background: #f0f0f0;
      }

footer {
  flex-shrink: 0;
  display: flex;
  background-color: #ffffff;
  background-size: 100%;
  color: #000000;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  text-align: center;
}

button {
  background-color: #dedede;
  color: #000000;
  border: none;
  border-radius: 30px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.1s ease;
}
.dark-mode button {
  background-color: #252525;
  color: #ffffff;
}

.dark-mode {
  background-color: #131313;
  color: #f0f0f0;
}

.dark-mode body, .dark-mode html {
  background-color: #131313;
  color: #f0f0f0;
}

.dark-mode .main {
  background-color: #131313;
  color: #f0f0f0;
}

.dark-mode .mainContainer {
  background-color: #131313;
  color: #f0f0f0;
}

.dark-mode .box1 {
  background-color: #000000;
}

.dark-mode .box11 {
  background-color: #131313;
}

.dark-mode .text1 {
  color: #ffffff;
}

.dark-mode .boxText {
  color: #ffffff;
}

.dark-mode .bio {
  color: #d8d8d8;
}

.dark-mode .bio1 {
  color: #bdbdbd;
}

.dark-mode footer {
  background: #000000;
  color: #ffffff;
}

.dark-mode header {
background: rgba(0, 0, 0, 0.7);
}

.dark-mode nav {
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.dark-mode nav ul {
  color: #ffffff;
}

.dark-mode nav a {
  color: #ffffff;
}
.dark-mode nav a:hover {
  color: #939393;
}


copyRight {
  text-align: center;
  color: #7d7d7d;
  font-size: 14px;
  font-weight: 500;
  /* font-family: "arial", "helvetica", "sans-serif"; */
  margin-top: 12px;
  margin-bottom: 12px;
}