@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;

}

body {
  font-family: "Poppins", sans-serif;
  background-color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1.2rem 3rem;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 60px;
  height: 60px;
}

nav {
  margin-left: auto;
}


.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: 50rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: #989696;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0e0e0e;
}

.home {
  padding-top: 110px;
}


.intro-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  max-width: 850px;
  margin: 0 auto;
  padding: 10px;
}

.profile-pic {
  flex: 1;
  min-width: 400px;
  height: 450px;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  border-radius: 1px;
}

.bio {
  margin-top: 50px;
  flex: 2;
  min-width: 300px;
  font-size: 1.2rem;
}

h1 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.highlight {
  color: #666;
}






.AboutMe {
  display: flex;
  gap: 2rem;
  background: white;
  width: 196vh;
  border-radius: 2rem;
  margin-left: 35px;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;

}

.AboutMe .title {
  color: rgb(3, 3, 29);
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  font-family: Playfair Display, serif;

}

.AboutMe p {
  font-size: 1.5rem;
  margin: .25rem;
  color: rgb(117, 117, 117);
  font-family: Playfair Display, serif;
  margin-bottom: 1.5rem;
}

.AboutMe .description span {
  color: rgb(57, 57, 57);
  margin-left: 1.5rem;
  font-weight: 500;
}


.AboutMe .skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  margin-bottom: 5rem;
  margin-left: 100px;
}

.AboutMe .skills i {
  font-size: 40px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.AboutMe .skills i:hover {
  transform: scale(1.3);
  transition: transform 0.3s ease, filter 0.3s ease;

}


.experience {
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.experience-title {
  color: rgb(3, 3, 29);
  font-size: 5rem;
  justify-content: center;
  align-items: center;
  font-family: Playfair Display, serif;
}

.experience-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1100px;
  margin: auto;
}



.experience-left {
  flex: 1;
}

.experience-intro {
  font-size: 1rem;
  color: grey;
  margin-bottom: 1.5rem;
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}


.experience-list li {
  margin-bottom: 1.2rem;
}

.experience-list h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  font-family: playfair Display, serif;
  color: #000
}

.experience-list span {
  font-size: 0.9rem;
  color: grey;
}

.experience-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns */
  gap: 1rem;
  margin-top: 2rem;
}

.experience-right img {
  width: 100%;
  height: 200px;
  aspect-ratio: 1 / 1;
  /* makes it a perfect square */
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



.portfolio {
  padding: 5rem 1.5rem;
}

.portfolio-heading {
  font-family: Playfair Display, serif;
  font-size: 5rem;
  text-align: center;
  margin-bottom: 5rem;
  margin-top: 2rem;
  color: rgb(3, 3, 29);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-card-content {
  padding: 1.5rem;

}

.portfolio-card-title {
  font-family: playfair Display, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.portfolio-card-description {
  font-size: 0.875rem;
  color: grey;
  line-height: 1.5;
}



.portfolio-btn {
  display: inline-block;
  margin-top: 2px;
  padding: 4px 10px;
  background-color: white;
  color: #0b0a0a;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;


}

.portfolio-btn:hover {
  color: #465b67;
  font-weight: 200;
}

.philosophy {
  padding: 5rem 1.5rem;
  color: rgb(20, 19, 19);
  background-color: #f9f9f9;
  text-align: center;
}

.philosophy-heading {
  font-family: playfair Display, serif;
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.philosophy-heading em {
  font-style: italic;
  font-family: playfair Display, serif;

}

.contact {
  padding: 5rem 1.5rem;
}

.contact-heading {
  font-family: playfair Display, serif;
  font-size: 3.5rem;
  font-weight: 550;
  line-height: 1.1;
  margin-bottom: 3rem;

}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  color: grey;
  width: 1.25rem;
}

.contact-item span {
  font-size: 1.125rem;
}

.contact-cta-heading {
  font-family: playfair Display, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-cta-description {
  color: grey;
  line-height: 1.6;
}



#scrollToTopButton {
  align-items: center;
  justify-content: center;
  display: flex;
  background-color: #f1f6fc;
  color: black;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  position: relative;
}

.footer {
  color: rgb(16, 16, 16);
  text-align: center;
  font-size: 1rem;
  height: 60px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer pre {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  font-size: 20px;
  color: inherit;
  text-decoration: none;
}



@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .menu-toggle {
    display: flex; /* Show hamburger button */
  }

  .nav-links {
    position: fixed;
    right: -100%; /* Hide side menu */
    top: 0;
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    transition: 0.4s ease-in-out;
  }

  .nav-links.active {
    right: 0; /* Slide in */
  }

  .intro-section {
    flex-direction: column;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
  }

  .profile-pic {
    min-width: 100%;
    height: 350px;
  }
.AboutMe {
    width: 100% ;  
    margin-left: 0 ; /* Kill the 35px margin */
    padding: 2rem 1rem;       /* Add some breathing room */
    flex-direction: column;    /* Stack title and skills */
    border-radius: 0;          /* Looks better on flat mobile screens */
    min-height: auto;
  }
  
  .AboutMe .skills {
    margin-left: 0 ;
    margin-bottom: 2rem;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }

  .AboutMe .skills i {
    padding: 15px;
    font-size: 30px;
  }

  .experience-content {
    flex-direction: column;
    gap: 2rem; /* Reduce gap for mobile */
    padding: 0 10px;
  }

  /* Reset the title size so it doesn't overflow */
  .experience-title {
    font-size: 3rem;
    align-items: center;
    justify-content: center;
  align-items: center;
    margin-bottom: 2rem;
    line-height: 1.2;
  }

  /* Fix the text side */
  .experience-left {
    width: 100%;
   
  }

  .experience-list h3 {
    font-size: 1.1rem;
  }

  /* Fix the image grid side */
  .experience-right {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Keep 2 columns so images aren't huge */
    gap: 10px;
    width: 100%;
  }

  .experience-right img {
    height: 200px; /* Force a smaller height so they don't take over the screen */
    width: 100%;
    border-radius: 8px;
  }

  .portfolio-heading{
    font-size: 3.5rem;
  }

  .portfolio-grid {
    /* Mobile ignores the '3 cards' rule and stacks them 1 per row */
    grid-template-columns: 1fr !important; 
    gap: 1.5rem;
  }

  .portfolio-card {
    height: auto;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  }

  .portfolio-card img {
    height: 100px !important; /* Fixed small height */
    width: 100% !important;
    object-fit: cover;
  }

  /* 4. Tighten the text content area */
 

 
 
}