@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  /* background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='88' height='88' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(286)'%3E%3Crect width='100%25' height='100%25' fill='rgba(247, 250, 252,1)'/%3E%3Ccircle cx='40' cy='20' r='0.25' fill='rgba(26, 32, 44,1)'/%3E%3Ccircle cx='0' cy='20' r='1' fill='rgba(66, 153, 225,1)'/%3E%3Ccircle cx='40' cy='20' r='1' fill='rgba(66, 153, 225,1)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E ") */


}

/* ---- navbar ---- */

/* ---- navbar ---- */
.navbar {
  position: fixed;
  display: flex;
  top: 0;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  z-index: 1000;
  background: #fff;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar .logo {
  height: 50px;
  padding: 0px 0px 0px 20px;
}

.nav-links {
  display: flex;
  font-family: 'Poppins', cursive;
  list-style: none;
  gap: 16px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #567C8D;
  font-size: 15px;
  border-radius: 30px;
  padding: 8px 13px;
  transition: color 0.3s ease;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  color: #161616;
}

.nav-toggle svg {
  fill: currentColor;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    padding: 12px 20px;
    background: #000;
  }

  .nav-links.open { display: flex; }

  .navbar {
    position: fixed;
    border-radius: 0 0 30px 0;
  }
}
.navbar.scrolled {
  background: #161616;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


/* --- projects ---- */

.landing {
  position: relative;
  z-index: 1;

  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1008%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='url(%26quot%3b%23SvgjsLinearGradient1009%26quot%3b)'%3e%3c/rect%3e%3cpath d='M1440 0L1263.19 0L1440 57.01z' fill='rgba(255%2c 255%2c 255%2c .1)'%3e%3c/path%3e%3cpath d='M1263.19 0L1440 57.01L1440 88.50999999999999L675.98 0z' fill='rgba(255%2c 255%2c 255%2c .075)'%3e%3c/path%3e%3cpath d='M675.98 0L1440 88.50999999999999L1440 128.94L647.15 0z' fill='rgba(255%2c 255%2c 255%2c .05)'%3e%3c/path%3e%3cpath d='M647.15 0L1440 128.94L1440 362.81L470.76 0z' fill='rgba(255%2c 255%2c 255%2c .025)'%3e%3c/path%3e%3cpath d='M0 560L30.83 560L0 335.87z' fill='rgba(0%2c 0%2c 0%2c .1)'%3e%3c/path%3e%3cpath d='M0 335.87L30.83 560L480.28 560L0 203.49z' fill='rgba(0%2c 0%2c 0%2c .075)'%3e%3c/path%3e%3cpath d='M0 203.49L480.28 560L933.15 560L0 122.08000000000001z' fill='rgba(0%2c 0%2c 0%2c .05)'%3e%3c/path%3e%3cpath d='M0 122.08000000000004L933.15 560L1033.73 560L0 35.36000000000004z' fill='rgba(0%2c 0%2c 0%2c .025)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1008'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3clinearGradient x1='0%25' y1='50%25' x2='100%25' y2='50%25' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1009'%3e%3cstop stop-color='%230e2a47' offset='0'%3e%3c/stop%3e%3cstop stop-color='rgba(0%2c 0%2c 0%2c 1)' offset='1'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
  background-attachment: fixed;
  background-size: cover;

  padding: 3rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projhead-cont {
  color: #ffffff;
  font-size: clamp(10px, 1rem, 48px);
  font-weight: 400;
  text-align: center;
  max-width: 700px;
}

/* ---- bento grid ---- */
.bento-section {
  margin-top: 5%;
  padding:  1rem;

}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 1rem;
  max-width: 1300px;
  margin: 0 auto;
}

.bento-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card:hover img {
  transform: scale(1.06);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover .bento-overlay {
  opacity: 1;
}

.bento-overlay h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.bento-overlay p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

/* card sizes */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-wide {
  grid-column: span 2;
  grid-row: span 1;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .bento-large,
  .bento-tall,
  .bento-wide {
    grid-column: span 2;
    grid-row: span 1;
    height: 220px;
  }

  .bento-small {
    grid-column: span 1;
    height: 180px;
  }

  .bento-overlay {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-tall,
  .bento-wide,
  .bento-small {
    grid-column: span 1;
    height: 200px;
  }
}

/* -----award---- */

















/* ---- footer ---- */
.footer {
  background: linear-gradient(210deg, #020024 0%, #090979 35%);
  color: #fff;
  padding: 4rem 2rem 0;

  font-family: 'Poppins', sans-serif;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  background: #567C8D;
  color: #fff;
  border-color: #567C8D;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}

.footer-links ul a:hover { color: #fff; }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem 0;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand p { max-width: 100%; }
}

/* ---- fade and slide animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.from-left  { transform: translateX(-40px); }
.fade-in.from-right { transform: translateX(40px); }

.fade-in.from-left.visible,
.fade-in.from-right.visible { transform: translateX(0); }

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }