body {
  background-color: #121212;
  color: white;
  font-family: 'Inter', sans-serif;
}

h1, h2, #hero-name{
  font-family: 'Playfair Display', serif;
}

h2 {
    color: #F59E0B;
    font-size: 24px;;
}

.head{
    margin: 0;
    padding: 0;
}

.profile > p, .hero-section > p{
    color: #A1A1AA
}

.sidebar, p, .nav-item {
  font-family: 'Inter', sans-serif;
}

.card {
  background-color: #121212;
}

.sidebar{
    background-color: #0B0B0C;
    padding: 20px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
}

.active {
  background: #1a1a1a;
  border-left: 3px solid #F59E0B;
}

.profile{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 3vh;
}

.first-page {
    display: flex;
}

.profilePhoto{
    border-radius: 50%;
    height: 150px;
    width: 150px;
}

.tabs{
    display: flex;
    flex-direction: column;
    gap: 3vh; 
    margin-bottom: 3vh;
}

.contact{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    place-items: center;
    margin-top: auto;
    gap: 1vh;
}

.btn.contact-me{
    grid-column: 1/span 3;
    width: 100%;
}

.btn{
    background-color: #F59E0B;
    font-size: 16px;
    padding: 10px;
    border-radius: 1rem;
}

.icon{
    color: #F59E0B;
    font-size: 20px;
}

.tab{
    display: flex;
    gap: 10px;
}

.tab:hover{
    color: #F59E0B;
    padding: 8px;
    border: 1px solid #F59E0B;
    border-radius: 1rem;
}

.hero-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}

.details-section{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

#intro{
    font-size: 16px;
    color: #F59E0B;
}

h1{
    font-size: 56px;
}

#hero-name{
    color: #F59E0B;
}

.projects{
    padding: 20px;
}

.card-details > h4{
    margin: 10px;
    font-size: 18px;;
}

.card-details > p{
    margin: 10px;
    font-size: 14px;
    color: #A1A1AA;
}

button {
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.sections{
    display: flex;
    flex-direction: column;
    padding: 50px;
}

@media (max-width: 768px) {
  .sidebar {
    width: 200px;
    padding: 15px;
  }

  .sections {
    padding: 30px;
  }

  h1 {
    font-size: 42px;
  }

  h1 br {
    display: none;
  }

  .details-section {
    flex-wrap: wrap;
    gap: 15px;
  }

  .profilePhoto {
    height: 100px;
    width: 100px;
  }
}

@media (max-width: 600px) {

  .first-page {
    flex-direction: column;
  }

  .sidebar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Profile section becomes horizontal */
  .profile {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
  }

  .profilePhoto {
    height: 40px;
    width: 40px;
  }

  .profile h2 {
    font-size: 16px;
  }

  .profile p {
    display: none; /* hide subtitle */
  }

  /* Hide sidebar tabs (simulate collapsed menu) */
  .tabs {
    display: none;
  }

  /* Contact section → only icons */
  .contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
  }

  .btn.contact-me {
    display: none; /* hide big button */
  }

  .icon {
    font-size: 18px;
  }

  /* Hero section adjusts */
  .sections {
    padding: 20px;
  }

  h1 {
    font-size: 32px;
  }

  .details-section {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.about-content{
    display: flex;
}

.element{
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info{
    margin: 10px;
    background-color:  #1a1a1a;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 2rem;
    max-height: fit-content;
}

.contact-info > h4{
    color: #F59E0B;
    font-size: 20px;
}

.text > p {
    color: #A1A1AA;
    line-height: 2;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #F59E0B, transparent);
  margin: 30px 0;
}

#college{
    color: white;
}

@media (max-width: 1024px){
    .contact-info{
        display: none;
    }
}

.cards-tech{
    display: flex;
    flex-wrap: wrap;
}

.ruler{
    height: 8px;
    background-color: #FBBF24;
    border-radius: 1rem;
    width: 85%;
}

.card-tech{
    position: relative;
    background-color: #1a1a1a;
    padding: 20px;
    margin: 10px;
    border-radius: 1rem;
    width: 250px;
}

.card-tech > h5{
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 15px;
    color:#A1A1AA;
}

.card-tech > h4{
    font-size: 20px;
}

.skill{
    font-size: 30px;
}

.card-tech > p{
    color:#A1A1AA;
    margin-top: 10px;
}

.project-card {
  background: #121212;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #262626;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #F59E0B;
}

.project-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.project-card p {
  color: #A1A1AA;
  font-size: 14px;
  margin-bottom: 15px;
}

.project-points {
  padding-left: 18px;
  margin-bottom: 15px;
}

.project-points li {
  font-size: 13px;
  color: #CFCFCF;
  margin-bottom: 6px;
}

.tech-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.tech-tags span {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.project-links a {
  text-decoration: none;
  color: white;
  border: 1px solid #333;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  transition: 0.3s;
}

.project-links a:hover {
  border-color: #F59E0B;
  color: #F59E0B;
}

.education-section {
  padding: 80px 50px;
}

.education-card {
  background: #121212;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 25px;
  max-width: 700px;
  transition: 0.3s;
}

.education-card:hover {
  border-color: #F59E0B;
}

.edu-year {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}

.education-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.edu-college {
  color: #F59E0B;
  font-size: 14px;
  margin-bottom: 10px;
}

.edu-desc {
  color: #A1A1AA;
  font-size: 14px;
  margin-bottom: 15px;
}

.edu-highlights {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.edu-highlights span {
  font-size: 13px;
  color: #CFCFCF;
}

.cta-section {
  margin-top: 80px;
  padding: 60px 40px;
  text-align: center;
  background: #0B0B0C;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-section h2 span {
  color: #F59E0B;
  font-style: italic;
}

.cta-section p {
  color: #A1A1AA;
  font-size: 14px;
  max-width: 500px;
  margin: 0 auto 25px;
}

.cta-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  background: #121212;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #262626;
  transition: 0.3s;
}

.cta-links a:hover {
  border-color: #F59E0B;
  color: #F59E0B;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #0B0B0C;
  border-top: 1px solid #1F1F1F;
}

.footer p {
  font-size: 12px;
  color: #6B7280;
}

.footer span {
  color: #F59E0B;
  transition: 0.3s;
}

.footer span:hover {
  color: #FBBF24;
}