/* GLOBAL */

body {
  background: #f5f3ef;
  color: #111;
  font-family: 'Inter', sans-serif;
  margin: 0;
  line-height: 1.7;
  scroll-behavior: smooth;
}

.content {
  max-width: 800px;
  margin: auto;
  padding: 80px 20px;
  border-top: 1px solid #e4e1dc;
}

h1 {
  font-size: 44px;
  margin-bottom: 5px;
}

h2 {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

h3 {
  margin-bottom: 6px;
}


/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.nav-container nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #2d4a6b;
  font-weight: 500;
}

.nav-container nav a:hover {
  text-decoration: underline;
}


/* HERO */

.hero {
  padding: 140px 20px 80px;
  background: linear-gradient(to bottom, #faf9f6, #f5f3ef);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: auto;
}

.hero-photo img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-text {
  max-width: 550px;
}

.intro {
  margin-top: 25px;
  font-size: 18px;
}

a {
  color: #2d4a6b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* PROJECT BLOCKS */

.project {
  margin-top: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
}

.projects-redirect {
  margin-top: 25px;
}

.projects-redirect a {
  font-weight: 600;
  font-size: 17px;
}


/* HOBBIES */

.hobby-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.hobby-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
}

.hobby-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: #2d4a6b;
  border-radius: 50%;
}


/* CONTACT */

.contact-links a {
  color: #2d4a6b;
  font-weight: 500;
}


/* MOBILE */

@media (max-width: 768px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-photo img {
    width: 180px;
    height: 180px;
  }

  .hero-text {
    max-width: 100%;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  .content {
    padding: 60px 20px;
  }
}
/* SIH IMAGE LAYOUT */

.sih-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.sih-text {
  flex: 1;
}

.sih-image img {
  width: 220px;
  border-radius: 10px;
}
