body {
    background-color: black;
    margin: 0;
    scroll-behavior: smooth;
}

.nav-bar {
    display: flex;
    justify-content: center;
}

.outer-nav {
    height: 4rem;
    width: 80%;
    margin-top: 2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(66, 66, 66, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    flex-wrap: wrap; /* allow wrapping on small screens */
    padding: 0 1rem;
}

.nav-sections {
    font-weight: 500;
    font-size: 0.9rem;
    font-family: "inter", sans-serif;
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.3s;
    white-space: nowrap;
}

.nav-sections:hover {
    background: rgba(255, 255, 255, 0.1);
}
section{
    height: 120vh;
    padding: 150px 4rem 0 4rem;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #ccc;
}

#home-page {
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

}

.container {
  display: flex;
  flex-direction: row;
  gap: 50px;
  max-width: 1200px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.image img {
  width: 300px;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.content {
  max-width: 750px;
}

.content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  color: white;
  margin-bottom: 20px;
}

.content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 10px;
}
.content .btn{
  margin-top: 2rem;
}


/* about me section */
#about-me h1{
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-left: 2rem;
  margin-top: 2rem;
}
.abt-me-box {
  background-color: #404040;
  padding: 30px;
  border-radius: 25px;
  max-width: 1040px;
  margin:5rem auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  font-family: 'Inter', sans-serif;
}

.abt-me-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.abt-me-box li {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1rem;
}

/* education section  */
#education h1{
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-left: 2rem;
  margin-top: 2.5rem;
}
.edu-container{
    margin-top: 2rem;
}
.edu-item{
  display: flex;
  padding-left: 2rem ;
  margin-top: 3rem;
  margin-left: 3rem;
  max-width: 90%;
  font-family: 'Inter', sans-serif;
}
.edu-timeline span{
  font-size: 1rem;
  font-weight: 700;
}
.edu-timeline .diamond{
  height: 3.5rem;
  border-left: 1px solid white;
  margin-left: 1rem;
}
.edu-content{
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}
.edu-content .org-name{
  font-size: 1.4rem;
  font-weight: 700;
}
.edu-content .org-info{
  font-size: 1.1rem;
}

/* SKILLS Section */
.skill-section{
  padding: 130px 4rem 0 4rem;
}

#skills h1{
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-left: 2rem;
  margin-top: 2rem;
}
.active-learn p i{
  color: green;
  font-size: 0.5rem;
  vertical-align: 0.2rem ;
  margin-right: 6px;
}
.skill-container{
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.5rem;
  margin-left: 4rem;
  grid-gap: 2rem 2rem;
  justify-content: center;
  align-items: center;
}
.skill-container .langs{
  margin-top: 2rem;
}
.lang-img{
  height: 11.5rem;
  width: auto;
}
.langs p{
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
}

/* projects section */
#projects{
  height: 130vh;
}
#projects h1{
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-left: 2rem;
  margin-top: 2rem;
}
.pro-card-container{
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card{
  margin:2rem;
  height: 23rem;
  box-shadow: 0.05rem 0.05rem 0.5rem white;
  border-radius: 1.2rem;
}
.card:hover{
  box-shadow: 0.2rem 0.2rem 0.5rem white;
  transition-duration: 1s;
}
.card .card-img-top{
    padding: 0.7rem;
    border-radius: 1.2rem;
}
.card-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}
.btn-primary{
  background-color: #404040;
  opacity: 0.7;
  border:1px solid black;
  width: 12rem;
  margin-bottom: 1rem;
  
}
.btn-primary:hover{
  background-color: #404040;
  opacity: 1;
  transition-delay: 2s;
}
.skill-set{
  margin:0.7rem 0;
}
.skill-badge{
  background-color: rgba(0,0,0,0.8);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  margin: 2px;
  display: inline-block;
}
.card-text{
  margin-bottom: 0.4rem;
}

/* contact div line */
.contact-sep-line{
  height: rem;
  width: 85%;
  border-top: 1px solid grey;
  opacity: 0.7;
  margin: 1rem auto;
}

/* CONTACT SECTION */
#contact {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  height: 70vh;
}

/* Title like "PROJECTS" */
.contact-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color:#ccc;
  text-align: left;
  margin-left: 4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Wrapper for contact + form side by side */
.contact-content-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem 4rem;
  margin-top: 4rem;
}

/* CONTACT INFO STYLES */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #ffffff;
}

.contact-container div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-container i {
  font-size: 1.5rem;
  color: #404040;
}

.contact-container a {
  padding-left: 1.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  color: white;
}

.con:hover {
  font-size: 1.7rem;
  color: white;
}

/* CONTACT FORM STYLES */
.contact-form-container {
  flex: 1;
  max-width: 500px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form button {
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  background-color: #444;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #777;
}

/* FOOTER CREDITS */
.end-rights {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  opacity: 0.6;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-top: 3rem;
}









@media (max-width: 600px) {
    .outer-nav {
        height: 6rem;
        align-items: center;
    }
    section{
        padding:7rem 1rem 1rem 1rem;
    }
    .content h1{
      font-size: 2rem;
    }
    .content p{
      font-size: 0.9rem;
    }
    .container{
        gap:30px;
    }
    .image img {
      width: 225px;
      height: auto;
    }
    .content .btn{
      margin-top: 0.2rem;
      font-size: 0.7rem;
    }
    #about-me h1{
      font-size: 2rem;
      margin: 3rem auto;
      margin-bottom: 1.5rem ;
      text-align: center;
    }
    .abt-me-box{
      margin-top: 1.5rem;
    }
    .abt-me-box li{
      font-size: 0.9rem;
    }
    #education h1{
      font-size: 2rem;
      margin: 4rem auto;
      text-align: center;
    }
    .edu-container{
      margin-top: 4rem;
    }
    .edu-item{
      margin-left: 0.8rem;
      padding-left: 1rem;
    }
    .edu-timeline .diamond{
      height: 2rem;
    }
    .edu-timeline .diamond3{
      height: 3.6rem;
    }
    .edu-content{
      padding-left: 1.2rem;
    }
    .edu-timeline span{
      font-size: 0.9rem;
      font-weight: 700;
    }
    .edu-content .org-name{
      font-size: 0.9rem;
      font-weight: 700;
    }
    .edu-content .org-info{
      font-size: 0.7rem;
    }
    /* skills */
    #skills h1{
      font-size: 2rem;
      margin: 2.6rem auto;
      margin-bottom: 1.5rem;
      text-align: center;
    }
    .skill-container{
      grid-template-rows: 1fr 1fr 1fr 1fr;
      grid-template-columns: 1fr;
      margin-top: 0.5rem;
      margin-left: 1rem;
      grid-gap: 0;
    }
    .lang-img{
      height: 7rem;
      width: auto;
    }
    .skill-container .langs{
      margin-top: 0.9rem;
    }
    .langs p{
      font-size: 0.9rem;
      font-weight: 500;
      }
      .skill-section{
        padding: 130px 1.5rem 0 1.5rem;
      }
      .pro-card-container{
        margin-top: 4rem;
        display: flex;  
        flex-direction: column  ;
      }

/* projects */
    #projects{
      height: 270vh;
    }
    #projects h1{
      font-size: 2rem;
      margin: 2.6rem auto;
      margin-bottom: 1.5rem;
      text-align: center;
    }
    .card{
        margin:0.8rem;
        height: 23rem;
    }
    .card-text{
      margin-bottom: 0.4rem;
    }
    .pro-card-container{
      margin-top: 1rem;
    }
    .card-body{
      font-size: 0.9rem;
      padding-top: 0.6rem;
    }
/* contact */
    #contact{
      height: 108vh;
    }
    #contact h1{
      font-size: 2rem;
      margin: 8rem auto;
      margin-bottom: 1.5rem;
      text-align: center;
    }
    .contact-title {
      text-align: center;
      margin-left: 0;
    }

    .contact-content-wrapper {
      flex-direction: column;
      align-items: center;
      padding: 1rem 2rem;
      margin-top: 1rem;
    }

    .contact-container,
    .contact-form-container {
      width: 100%;
      margin-left: 0;
    }
    .contact-container i {
      font-size: 1rem;
    }

    .contact-container a {
      padding-left: 1.3rem;
      font-size: 0.85rem;
    }
    .end-rights {
      font-size: 0.65rem;
      margin-top: 1rem;
    }
    .contact-form input,
.contact-form textarea,.contact-form button{
  font-size: 0.8rem;
}


}

@media(max-width:397px) {
  .nav-sections {
    font-weight: 600;
    font-size: 0.8rem;
  }
}
