

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}



body {
  font-family: 'Poppins', sans-serif;
  background-color: #FAF8F6;
  color: #1E293B;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 10%;
  background:  #1E293B; /*#FAF8F6;*/  
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 55px;       /* Controls logo size */
  width: auto;        /* Keeps proportions */
  object-fit: contain;
}

.nav-links {
  list-style: none;      /* removes bullets */
  display: flex;         /* makes items horizontal */
  gap: 2rem;             /* space between links */
  padding: 0;
  margin: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #F59E0B;

}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: #F59E0B;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}



.highlight {
  background: #FDE68A;
  padding: 0 8px;
  border-radius: 6px;
}


.banner {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FAF8F6, #FFF7ED);
  text-align: center;
  padding: 0 1rem;
}

.name {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}


.typing {
  border-right: 3px solid #F59E0B;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  width: 0;
  animation: typing 3s steps(12) forwards, blink 0.8s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 12ch; } /* Adjust to match text length */
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Fade-in animations for the rest */
.title, .tagline, .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.title {
  font-size: 1.5rem;
  color: #475569;
  animation-delay: 3.2s; /* starts after typing finishes */
}

.tagline {
  font-size: 1.1rem;
  color: #64748B;
  margin-bottom: 2rem;
  animation-delay: 3.6s;
}

/* Buttons */
.btn {
  background: #F59E0B;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  margin-top: auto;
}

.btn:hover {
  background: #FBBF24;
}

/* Fade-in animation keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* About Section */
.about {
  padding: 4rem 10%;
  text-align: center;
}

.about h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

/* Projects Section */
.projects {
  padding: 4rem 10%;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.project-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #F59E0B;
}

.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}


/* Footer */


.footer {
  display: flex;
  justify-content: center;   /* Center horizontally */
  align-items: center;        /* Center vertically */
  padding: 2rem;
  background: #FAF8F6;
  border-top: 1px solid #E5E7EB;
  font-size: 0.9rem;
  width: 100%;
}



.banner {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;

  background-image: url("images/laptop.jpg");
  background-size: cover;        /* Makes it fill */
  background-position: center;   /* Keeps it centered */
  background-repeat: no-repeat;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.banner-content {
  position: relative;
  z-index: 1;
  color: white;
}


.name {
  font-size: 3rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 0.5rem;
}

/* Typewriter effect */
.typing {
  border-right: 3px solid #F59E0B;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  width: 0;
  animation: typing 3s steps(12) forwards, blink 0.8s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 12ch; } /* Adjust length for your text */
}

@keyframes blink {
  50% { border-color: transparent; }
}

.title {
  font-size: 1.5rem;
  /*color: #475569;*/
  color: white;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.1rem;
  /*color: #64748B;*/
  color: white;
  margin-bottom: 2rem;
}

.btn {
  background-color: #F59E0B;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #FBBF24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .name { font-size: 2.2rem; }
  .title { font-size: 1.2rem; }
  .project-section {
    flex-direction: column;
    text-align: center;
  }
  .information-left {
    max-width: 100%;
  }
}

.profile-pic {
  width: 275px;        /* Adjust size */
  height: 275px;
  object-fit: cover;
  border-radius: 50%;   /* Makes it a circle */
  border: 2px solid #ffffff; /* Optional frame color */
  
}
.card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: flex;
  flex-basis: 100%;
  margin: 20px 20px;
}

information-left{
  display: flex;
  flex-basis: 50%;
  flex-direction: column;
  padding: 15px;
}

.information-left h3{
  margin-bottom: 1rem;
  flex-basis: 50%;
}


.centered-text{
  display: inline-flex;
  margin: 25px;
  text-align: center;
}

.image-wrapper {
  position: relative;   /* 👈 key for positioning label */
  display: inline-block;
}

.image-resize {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  margin-right: 20px;
}

/* Label styling */
.label {
  position: absolute;
  top: 10px;
  left: 10px;

  background: rgba(0, 0, 0, 0.6);
  color: white;

  padding: 6px 12px;
  font-size: 14px;
  border-radius: 5px;
  font-family: Inter, sans-serif;
}

/* Optional: different colors */
.before {
  background: rgba(200, 0, 0, 0.7);
}

.after {
  background: rgba(0, 150, 0, 0.7);
}




