@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "urbanist", sans-serif;
  text-decoration: none;
  box-sizing: border-box;
}

:root {
  --primary-color: #0042d7;
  --secondary-color: #00ac47;
  --tertiary-color: #ff9900;
  --dark-color: #000;
  --plain-white: #fff;
  --text-color-1: #283548;
  --text-color-grey: #6d6d6d;
  --stroke-color: #c9caff;
  --stroke-grey: #ececec;
  --stroke-grey2: #e1e1e1;
  --border-stroke: solid 1px #c9caff;
  --BG-primarycolor: #f2f2ff;
  --body-color: hsl(223, 28%, 10%);
  --text-color-2: rgb(148, 163, 184);
  --contrast-bg: rgb(18, 28, 44);
  --new-border: #0e2441;
  --bg-icon: rgb(12, 24, 42);
}

body {
  min-height: 100vh;
  padding: 0 32px;
  margin: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: var(--body-color);
}

/* NAV SECTION */

nav {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 64px;
  background-color: var(--body-color);
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;

  /* From https://css.glass */
  background: rgba(13, 19, 37, 0.54);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.9px);
  -webkit-backdrop-filter: blur(4.9px);
  border-bottom: 1px solid rgba(240, 248, 255, 0.14);
}

.TDTIlogo {
  display: flex;
  align-items: center;
  cursor: default;
}

.TDTIlogo a {
  margin-right: 5px;
}

.logotxt {
  color: var(--plain-white);
  font-family: "urbanist", sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1rem;
}

.logotxt .sub {
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--text-color-grey);
}

.navlinks {
  display: flex;
  list-style: none;
  align-items: center;
}

.navlinks li {
  margin-left: 30px;
}

.navlinks a {
  position: relative;
  text-decoration: none;
  font-size: 0.875rem;
  margin-right: 1rem;
  color: var(--plain-white);
  transition: all 0.5s linear;
}

.navlinks a:hover {
  color: var(--primary-color);
  font-weight: bold;
}

.navlinks a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s linear;
  bottom: -5px;
  left: 0;
}

.navlinks a:hover::after {
  width: 100%;
}

.nav__buttons {
  display: flex;
  gap: 1rem;
}

.nav__buttons .btn--outline {
  padding: 10px 24px;
  color: var(--tertiary-color);
  border: solid 1px var(--tertiary-color);
  margin-right: 10px;
  border-radius: 0.5rem;
  transition: all 0.5s ease;
}

.nav__buttons .btn--primary {
  padding: 10px 30px;
  color: var(--plain-white);
  background: var(--primary-color);
  margin-right: 10px;
  border-radius: 0.5rem;
  transition: all 0.5s ease;
}

.nav__buttons a:hover {
  transform: scale(1.1);
  font-weight: bold;
}

/* Hide nav links/buttons on mobile */

/* When active → show them */
.navlinks.active,
.nav__buttons.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

/* Hamburger animation */
.hamburger.active span {
  transform: rotate(90deg);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  position: absolute;
  right: 1rem;
  z-index: 1001;
}

.hamburger span {
  font-size: 2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* HERO SECTION */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-top: 150px;
  margin-bottom: 7rem;
  box-sizing: border-box;
}

.dot-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.dot-left::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-color);
  display: inline-block;
  flex: 0 0 auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.hero-text span {
  margin: 0;
  font-size: 0.69rem;
  border: var(--new-border);
  background: var(--contrast-bg);
  padding: 8px 20px;
  border-radius: 24px;
  color: var(--text-color-2);
}

.hero-text h1 {
  width: 100%;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 3.99rem;
  margin: 12px 0;
  padding-bottom: 0;
  color: var(--plain-white);
}

.hero-text p {
  width: 100%;
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.2rem;
  text-align: justify;
  color: var(--text-color-2);
  padding-bottom: 10px;
}

.hero-btn {
  display: inline-block;
  padding: 20px 30px;
  color: var(--plain-white);
  background: var(--primary-color);
  border-radius: 0.5rem;
  transition: all 0.5s ease;
  margin-top: 10px;
}

.hero-btn:hover {
  transform: scale(1.1);
  font-weight: bold;
}

.hero-img img {
  width: 100%;
  border-radius: 1.2rem;
  border: 1px solid var(--stroke-color);
}

/* PARTNERS SECTION */

.partners {
  position: relative;
  background-color: var(--contrast-bg);
  border: 1px solid var(--new-border);
  border-radius: 0.75rem;
  padding: 40px 0;
  margin-bottom: 30px;
  overflow-x: hidden;
}

.partners .prtn {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.prtn h4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--plain-white);
}

.prtn p {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-color-2);
}

.prtn-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 20px;
}

.prtn-logo .dev {
  margin-right: 10px;
}

/* ABOUT US */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 100px;
}

.about-us {
  border: 1px solid var(--new-border);
  border-radius: 0.75rem;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--contrast-bg);
}

.opt {
  height: 100%;
  padding-top: 20px;
}

.opt p {
  display: flex;
  align-items: flex-start;
  gap: 1px;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.opt span {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0; /* keeps icons fixed */
}

.about-us h3 {
  font-size: 2.5rem;
  font-weight: 900;
  padding-bottom: 10px;
  color: var(--plain-white);
}

.about-us p {
  width: 100%;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-color-2);
}

.abt-img {
  display: flex;
  align-items: center;
}

.abt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

/* PROJECTS SECTION */
.projects {
  position: relative;
  width: 100%;
  height: 100vh;
  align-content: center;
  align-items: center;
  /* margin-top: 100px; */
  /* padding-bottom: 100px; */
}

.pjct {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 10px;
  line-height: 1.8rem;
}

.pjct h6 {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--secondary-color);
}
.pjct h3 {
  color: var(--plain-white);
  font-size: 2.5rem;
  font-weight: 900;
}

.pjct p {
  width: 100%;
  display: flex;
  justify-content: right;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-color-2);
}

.pj-contnt {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-content: center;
  gap: 20px;
  padding-top: 20px;
}

.pj-contnt .cnt-1,
.cnt-2,
.cnt-3,
.cnt-4,
.cnt-5,
.cnt-6,
.cnt-7 {
  width: 100%;
  display: flex;
  flex-direction: row;
  border: 1px solid var(--new-border);
  padding: 14px;
  border-radius: 0.3rem;
  color: var(--text-color-2);
  align-items: center;
  background-color: var(--contrast-bg);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  background-color: var(--bg-icon);
  color: var(--primary-color);
  border-radius: 0.3rem;
  padding: 7px;
  margin-right: 10px;
}

/* GENERAL SECTION */

.steep {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-content: center;
  align-items: center;
  margin-bottom: 100px;
}

.for-communities {
  border: 1px solid var(--new-border);
  background-color: var(--contrast-bg);
  padding: 20px 60px 20px 30px;
  border-radius: 0.5rem;
  margin-right: 1rem;
}

.for-communities a {
  display: inline-block;
  padding: 14px 30px;
  color: var(--text-color-1);
  background: #e6e6ff;
  border: solid 1px #d7d7ff;
  border-radius: 0.5rem;
  transition: all 0.5s ease;
  margin-top: 10px;
}

.for-communities a:hover {
  transform: scale(1.1);
}

.hdn h5 {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 5px;
}

.hdn .material-symbols-outlined {
  color: var(--primary-color);
}

.contnt h5 {
  color: var(--plain-white);
  font-size: 1.3rem;
}

.for-communities p {
  color: var(--text-color-2);
  font-size: 0.875rem;
}

.contnt .tools {
  width: 100%;
  color: var(--text-color-2);
  text-align: justify;
  margin-bottom: 10px;
}

.contnt p {
  color: var(--text-color-1);
}

.items p {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text-color-2);
}

.items .material-symbols-outlined {
  padding: 0;
  color: var(--primary-color);
  border: 0;
}

.for-partners {
  border: var(--new-border);
  background-color: var(--contrast-bg);
  padding: 20px 60px 20px 30px;
  border-radius: 0.5rem;
  margin-right: 1rem;
}

.for-partners a {
  display: inline-block;
  padding: 14px 40px;
  color: var(--text-color-1);
  background: #e6e6ff;
  border: solid 1px #d7d7ff;
  border-radius: 0.5rem;
  transition: all 0.5s ease;
  margin-top: 10px;
}

.for-partners a:hover {
  transform: scale(1.1);
}

.for-partners p {
  font-size: 0.875rem;
}

/* Governance & Trust */
.gt {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
  align-items: center;
  margin-bottom: 5rem;
}

.hd-left {
  margin-right: 5rem;
}

.cnts .open {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: solid 1px var(--new-border);
  background-color: var(--contrast-bg);
  border-radius: 0.5rem;
  padding: 15px 0 15px 20px;
  margin-top: 15px;
}

.cnts h3 {
  color: var(--plain-white);
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.cnts p {
  font-size: 0.875rem;
  color: var(--text-color-2);
}

.cnts .open .material-symbols-outlined {
  color: var(--primary-color);
  padding: 6px;
  border-radius: 5px;
}

.hd-right {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-content: center;
}

.hd-right p {
  font-size: 0.875rem;
}

.card-1 h5 {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--plain-white);
}

.card-2 h5 {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--plain-white);
}

.card-3 h5 {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--plain-white);
}

.card-4 h5 {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--plain-white);
}

.hd-right,
.card-1,
.card-2,
.card-3,
.card-4,
p {
  color: var(--text-color-2);
}

.hd-right .card-1,
.card-2,
.card-3,
.card-4 {
  border: 1px solid var(--new-border);
  padding: 14px 0px 14px 14px;
  border-radius: 0.3rem;
  color: var(--text-color-1);
  align-items: center;
  margin-right: 20px;
}

.card-1,
.card-2 {
  margin-bottom: 1.2rem;
}

/* Support Mission */

.support-mission {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-mission .cards {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  align-items: center;
  margin-bottom: 5rem;
  margin-top: 2.5rem;
}

.support-mission p {
  font-size: 0.875rem;
  color: var(--text-color-2);
  margin-bottom: 0.5rem;
}

.support-hdr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-hdr h3 {
  color: var(--plain-white);
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.sup-crd h3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--plain-white);
}

.cards .sup-crd {
  border: 1px solid var(--new-border);
  background-color: var(--contrast-bg);
  padding: 14px 0px 14px 14px;
  border-radius: 0.3rem;
  color: var(--text-color-1);
  align-items: center;
  margin-right: 20px;
}

.support-mission .give {
  display: inline-block;
  padding: 14px 40px;
  color: var(--plain-white);
  background: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.3rem;
  transition: all 0.5s ease;
  margin-top: 10px;
}

.support-mission .sponsor {
  display: inline-block;
  padding: 14px 30px;
  color: var(--plain-white);
  background: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.3rem;
  transition: all 0.5s ease;
  margin-top: 10px;
}

.support-mission .join {
  display: inline-block;
  padding: 14px 30px;
  color: var(--plain-white);
  background: var(--tertiary-color);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.3rem;
  transition: all 0.5s ease;
  margin-top: 10px;
}

.support-mission a:hover {
  transform: scale(1.1);
  font-weight: bold;
}

/* Counter */

.counter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  align-items: center;
  margin-bottom: 5rem;
  margin-top: 2.5rem;
}

.web-count,
.master-count,
.attend-count {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--new-border);
  padding: 14px 0px 14px 14px;
  border-radius: 0.3rem;
  color: var(--text-color-1);
  align-items: center;
  margin-right: 20px;
  background-color: var(--contrast-bg);
}

.web-count,
.master-count,
.attend-count,
.span {
  color: var(--text-color-2);
}

.counter div[data-target] {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--plain-white);
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.counter div[data-target].fade-in {
  opacity: 1;
  transform: translateY(0);
}

/*Stay informed */

.stay-informed .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: var(--contrast-bg);
  color: rgb(59, 59, 59);
  padding: 50px;
  margin-bottom: 5rem;
  border: 1px solid var(--new-border);
  border-radius: 0.875rem;
}

.txt h3 {
  color: var(--plain-white);
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.entryarea{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 5rem;
}

.entryarea .stay{
  display: inline-block;
  text-decoration: none;
  padding: 14px 40px;
  color: var(--plain-white);
  background: var(--primary-color);
  border-radius: 0.5rem;
  transition: all 0.5s ease;
  margin-left: 1rem;
  border: none;
}

.entryarea input{
  width: 320px;
  height: 60px;
  font-size: 1rem;
  color: var(--text-color-2);
  padding: 0 10px;
  background: transparent;
  border: 1.2px solid var(--new-border);
  outline: none;
  border-radius: 5px;
}

/* .entryarea {
  position: relative;
  margin: 20px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 5rem;
}

.entryarea .send-btn a {
  display: inline-block;
  text-decoration: none;
  background: var(--primary-color);
  color: var(--plain-white);
  padding: 20px 50px;
  border-radius: 0.5rem;
  margin-left: 1rem;
}

.entryarea label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-color-2);
  padding: 0 5px;
  pointer-events: none;
  transition: 0.5s;
}

.entryarea input {
  width: 320px;
  height: 60px;
  font-size: 1rem;
  color: var(--text-color-2);
  padding: 0 10px;
  background: transparent;
  border: 1.2px solid var(--new-border);
  outline: none;
  border-radius: 5px;
}

.entryarea input:focus ~ label,
.entryarea input:valid ~ label {
  top: 0;
  font-size: 1rem;
  background: var(--contrast-bg);
} */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .popup-card {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 10px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  .popup-card h3 {
    margin: 0 0 8px;
  }

  .popup-card button {
    margin-top: 12px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
  }

  .popup-card button:hover {
    background: #1d4ed8;
  }

/*FOOTER*/
.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.social-media p {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-color-2);
}

.footer h3 {
  font-size: 1.5rem;
  padding-bottom: 5px;
  color: var(--plain-white);
}

.social-media a {
  text-decoration: underline;
  color: var(--primary-color);
  margin-right: 1rem;
}

/*COP*/
.cop .copy {
  text-align: left;
  font-size: 0.75rem;
  padding: 10px 0;
  color: var(--text-color-1);
}

/* RESPONSIVE DESIGN */
/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  body {
    padding: 0 64px;
  }

  nav {
    padding: 10px 64px;
  }

  .hd-left {
    margin-right: 5rem;
  }

  .entryarea {
    margin-left: 5rem;
  }

  .for-communities,
  .for-partners {
    padding: 20px 60px 20px 30px;
  }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
  .hero {
    height: 100%;
    padding-top: 200px;
    padding-bottom: 100px;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .hero-text h1 {
    font-size: 3.2rem;
    line-height: 3.4rem;
  }

  .about-us h3,
  .pjct h3,
  .cnts h3,
  .support-hdr h3,
  .txt h3 {
    font-size: 2rem;
  }

  .partners {
    margin-top: 0;
  }

  .projects {
    height: 100%;
  }

  .support-mission {
    height: 100%;
    margin-bottom: 0;
  }

  .counter {
    height: 100%;
  }

  .counter div[data-target] {
    font-size: 2rem;
  }
}

/* Tablet Landscape (768px to 991px) */
@media (max-width: 991px) {
  nav {
    padding: 10px 20px;
  }

  .navlinks li {
    margin-left: 20px;
  }

  .nav__buttons {
    gap: 0.5rem;
  }

  .nav__buttons .btn--outline,
  .nav__buttons .btn--primary {
    padding: 8px 16px;
    margin-right: 5px;
  }

  .hero {
    gap: 2rem;
    padding-top: 120px;
    margin-bottom: 1rem;
  }

  .hero-text h1 {
    font-size: 2.8rem;
    line-height: 3rem;
  }

  .hero-text span {
    padding: 6px 24px;
  }

  .hero-text p {
    text-align: left;
  }

  .about {
    margin-top: 80px;
    gap: 1.5rem;
  }

  .projects {
    margin-top: 80px;
    padding-bottom: 80px;
  }

  .pjct {
    gap: 1.5rem;
  }

  .gt {
    gap: 1.5rem;
    margin-bottom: 4rem;
  }

  .steep {
    margin-bottom: 80px;
    gap: 1.5rem;
  }

  .hd-right {
    gap: 15px;
  }

  .support-mission .cards {
    gap: 15px;
  }

  .counter {
    gap: 15px;
  }

  .stay-informed .content {
    padding: 30px;
  }

  .entryarea {
    margin-left: 2rem;
  }

  .entryarea input {
    width: 280px;
  }
}

/* Tablet Portrait (600px to 767px) */
@media (max-width: 767px) {
  body {
    padding: 0 12px;
  }

  nav {
    padding: 8px 16px;
  }

  .navlinks {
    display: none;
  }

  .nav__buttons {
    display: none;
  }

  .TDTIlogo img {
    width: 60px;
  }

  .hamburger {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 100px;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-img {
    order: 1;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    line-height: 2.7rem;
  }

  .hero-text p {
    text-align: center;
    line-height: 1.5rem;
  }

  .about {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .about-us h3 {
    font-size: 1.8rem;
  }

  .projects {
    margin-top: 60px;
    padding-bottom: 60px;
  }

  .pjct {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pjct h3 {
    font-size: 1.8rem;
  }

  .pjct p {
    justify-content: flex-start;
    text-align: left;
  }

  .pj-contnt {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .steep {
    width: 100%;
    padding-top: 30px;
    grid-template-columns: 1fr;
    margin-bottom: 60px;
    gap: 1rem;
  }

  .cmts {
    width: 100%;
  }

  .gt {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .cnts h3 {
    font-size: 1.8rem;
  }

  .cnts {
    width: 100%;
  }

  .hd-right,
  .card-1,
  .card-2,
  .card-3,
  .card-4 {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .support-mission {
    padding-top: 50px;
  }

  .support-mission .cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .support-hdr h3 {
    font-size: 1.8rem;
  }

  .cards .sup-crd {
    width: 100%;
  }

  .counter {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .counter div[data-target] {
    font-size: 2rem;
  }

  .web-count,
  .master-count,
  .attend-count {
    width: 100%;
  }

  .stay-informed .content {
    flex-direction: column;
    padding: 25px;
    gap: 1.5rem;
    text-align: center;
  }

  .txt h3 {
    font-size: 1.8rem;
  }

  .entryarea {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
  }

  .entryarea label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    left: 15px;
    font-size: 0.9rem;
  }

  .entryarea input {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer h3 {
    font-size: 1.2rem;
  }

  .social-media p {
    font-size: 1.1rem;
  }
}

/* Mobile Large (480px to 599px) */
@media (max-width: 599px) {
  .hero-text span {
    padding: 4px 16px;
    font-size: 0.6rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 2.4rem;
  }

  .hero-btn {
    padding: 15px 25px;
  }

  .partners {
    padding: 30px 15px;
  }

  .prtn h4 {
    font-size: 1.5rem;
  }

  .prtn-logo {
    gap: 1rem;
  }


  .about-us,
  .for-communities,
  .for-partners {
    padding: 15px;
  }

  .about-us h3,
  .pjct h3,
  .cnts h3,
  .support-hdr h3,
  .txt h3 {
    font-size: 1.6rem;
  }

  .pj-contnt .cnt-1,
  .cnt-2,
  .cnt-3,
  .cnt-4,
  .cnt-5,
  .cnt-6,
  .cnt-7 {
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .material-symbols-outlined {
    margin-right: 0;
    margin-bottom: 8px;
  }

  .cnts .open {
    padding: 12px 15px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .cnts .open .material-symbols-outlined {
    margin-bottom: 8px;
  }

  .hd-right .card-1,
  .card-2,
  .card-3,
  .card-4 {
    padding: 12px;
  }

  .support-mission {
    margin-bottom: auto;
  }

  .support-hdr p {
    text-align: center;
  }

  .cards .sup-crd {
    padding: 12px;
  }

  .web-count,
  .master-count,
  .attend-count {
    padding: 15px 12px;
  }

  .counter div[data-target] {
    font-size: 1.8rem;
  }

  .stay-informed .content {
    padding: 20px;
  }

  .entryarea input {
    height: 50px;
    font-size: 0.9rem;
  }

  .entryarea .send-btn a {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* Mobile Medium (360px to 479px) */
@media (max-width: 479px) {
  body {
    padding: 0 8px;
  }

  nav {
    padding: 8px 12px;
  }

  .logotxt {
    font-size: 0.7rem;
  }

  .logotxt .sub {
    font-size: 0.6rem;
  }

  .hero {
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 2rem;
  }

  .hero-text p {
    font-size: 0.9rem;
    line-height: 1.3rem;
  }

  .hero-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .partners {
    padding: 20px 10px;
  }

  .prtn h4 {
    font-size: 1.3rem;
  }

  .prtn p {
    font-size: 0.8rem;
  }

  .about,
  .projects,
  .steep,
  .gt {
    margin-top: 40px;
  }

  .projects {
    padding-bottom: 40px;
  }

  .about-us h3,
  .pjct h3,
  .cnts h3,
  .support-hdr h3,
  .txt h3 {
    font-size: 1.4rem;
  }

  .about-us p,
  .pjct p,
  .cnts p,
  .support-mission p {
    font-size: 0.85rem;
    line-height: 1.4rem;
  }

  .for-communities a,
  .for-partners a {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .support-mission .give,
  .support-mission .sponsor,
  .support-mission .join {
    padding: 10px 20px;
    font-size: 0.7rem;
  }

  .counter div[data-target] {
    font-size: 1.5rem;
  }

  .entryarea input {
    height: 45px;
    font-size: 0.85rem;
  }

  .entryarea .send-btn a {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .footer h3 {
    font-size: 1.1rem;
  }

  .social-media p {
    font-size: 1rem;
  }

  .social-media a {
    font-size: 0.85rem;
  }
}

/* Mobile Small (320px to 359px) */
@media (max-width: 359px) {
  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.8rem;
  }

  .about-us h3,
  .pjct h3,
  .cnts h3,
  .support-hdr h3,
  .txt h3 {
    font-size: 1.2rem;
  }

  .prtn h4 {
    font-size: 1.1rem;
  }

  .counter div[data-target] {
    font-size: 1.3rem;
  }

  .entryarea input {
    width: 100%;
    min-width: auto;
  }

  .pj-contnt .cnt-1,
  .cnt-2,
  .cnt-3,
  .cnt-4,
  .cnt-5,
  .cnt-6,
  .cnt-7 {
    font-size: 0.85rem;
  }

  .opt p {
    font-size: 0.9rem;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  body {
    padding: 0 80px;
  }

  nav {
    padding: 10px 80px;
  }

  .hero {
    gap: 4rem;
  }

  .hero-text h1 {
    font-size: 4.2rem;
    line-height: 4.4rem;
  }

  .about-us h3,
  .pjct h3,
  .cnts h3,
  .support-hdr h3,
  .txt h3 {
    font-size: 2.8rem;
  }

  .counter div[data-target] {
    font-size: 3rem;
  }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .material-symbols-outlined {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding-top: 80px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 2.2rem;
  }

  nav {
    padding: 5px 20px;
  }
}

/* Print styles */
@media print {
  * {
    background: white !important;
    color: black !important;
  }

  nav,
  .hamburger,
  .hero-btn,
  .nav__buttons,
  .support-mission a,
  .for-communities a,
  .for-partners a,
  .entryarea {
    display: none;
  }

  .hero {
    padding-top: 0;
  }
}

/* Hamburger */

/* Enhanced Hamburger Menu Styles - Building on your existing CSS */

/* Enhanced Hamburger Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.hamburger:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Enhanced Hamburger Icon */
.hamburger-box {
  width: 24px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--plain-white);
  border-radius: 1px;
  position: absolute;
  left: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  top: 8px;
}

.hamburger-line:nth-child(3) {
  top: 16px;
}

/* Active State Animation */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Enhanced Mobile Navigation */
.navlinks.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

.navlinks.active li {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation Items Animation */
.navlinks li {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navlinks li.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Active Link Styles */
.navlinks a.active,
.navlinks a.current {
  color: var(--primary-color);
  font-weight: bold;
  background: rgba(0, 66, 215, 0.1);
}

.navlinks a.active::after,
.navlinks a.current::after {
  width: 100%;
  background: var(--primary-color);
}

/* Body Scroll Lock */
body.nav-open {
  overflow: hidden;
}

/* Mobile Specific Enhancements */
@media (max-width: 767px) {
  .hamburger {
    display: block;
  }

  .navlinks {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 19, 37, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    opacity: 0;
    z-index: 1000;
    padding: 2rem;
    box-sizing: border-box;
  }

  .navlinks li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .navlinks a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--plain-white);
    text-decoration: none;
    border-radius: 8px;
    margin: 0.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  .navlinks a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent
    );
    transition: left 0.5s;
  }

  .navlinks a:hover::before {
    left: 100%;
  }

  .navlinks a:hover {
    color: var(--primary-color);
    background: rgba(0, 66, 215, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 66, 215, 0.2);
  }

  .navlinks a.active,
  .navlinks a.current {
    color: var(--primary-color);
    background: rgba(0, 66, 215, 0.15);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 66, 215, 0.3);
  }

  .navlinks a::after {
    display: none; /* Remove desktop underline effect on mobile */
  }

  /* Staggered animation delays */
  .navlinks li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .navlinks li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .navlinks li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .navlinks li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .navlinks li:nth-child(5) {
    transition-delay: 0.5s;
  }
  .navlinks li:nth-child(6) {
    transition-delay: 0.6s;
  }
}

/* Tablet Adjustments */
@media (max-width: 991px) and (min-width: 768px) {
  .hamburger {
    display: block;
  }

  .navlinks {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    background: var(--contrast-bg);
    border-left: 1px solid var(--new-border);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    opacity: 0;
    z-index: 1000;
    padding: 6rem 0 2rem;
    box-sizing: border-box;
  }

  .navlinks.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }

  .navlinks li {
    margin: 0;
    width: 100%;
  }

  .navlinks a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* Desktop Enhancements */
@media (min-width: 992px) {
  .hamburger {
    display: none !important;
  }

  .navlinks {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: none !important;
    height: auto !important;
    width: auto !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    padding: 0 !important;
  }

  .navlinks li {
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0s !important;
    margin-left: 30px;
  }

  .navlinks a {
    padding: 0 !important;
    margin: 0 1rem 0 0 !important;
    font-size: 0.875rem !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.nav-open {
    overflow: visible;
  }
}

/* Enhanced Focus States */
.navlinks a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .navlinks {
    background: rgba(0, 0, 0, 0.95);
  }

  .navlinks a {
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hamburger-line {
    background: var(--plain-white);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hamburger-line,
  .navlinks,
  .navlinks li,
  .navlinks a {
    transition: none;
  }

  .navlinks li.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print Styles */
@media print {
  .hamburger {
    display: none;
  }

  .navlinks {
    position: static;
    background: none;
    color: black;
  }

  .navlinks a {
    color: black;
  }
}

/* Safari Mobile Specific Fixes */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    .navlinks {
      height: 100vh;
      height: -webkit-fill-available;
    }
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 359px) {
  @media (max-width: 767px) {
    .navlinks {
      padding: 1rem;
    }

    .navlinks a {
      padding: 0.8rem 1.5rem;
      font-size: 1.1rem;
      margin: 0.3rem 0;
    }
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  @media (max-width: 767px) {
    .navlinks {
      justify-content: flex-start;
      padding-top: 1rem;
      overflow-y: auto;
    }

    .navlinks a {
      padding: 0.6rem 1.5rem;
      margin: 0.2rem 0;
    }
  }
}

/* Animation Keyframes */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading State */
.navlinks.loading li {
  opacity: 0.5;
  pointer-events: none;
}
