/* General Reset */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #f8f9fa;
}

/* Fix navbar to top and full width */
.navbar {
  width: 100%;
  z-index: 1000;
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important; /* bright white */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.6); /* soft glow for extra pop */
}

.home-section {
  position: relative;
  height: 100vh;
  background: url('trk.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* dark overlay for contrast */
.home-section .overlay {
  padding-top: 100px;  /* i changed here*/
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* content stays above overlay */
.hero-content {
  position: relative;
  z-index: 2;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
}

.skills {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

.skills div {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}




/* Projects Section */
.projects-section {
  background-color: #f8f9fa;
  padding: 100px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 50px;
  font-weight: bold;
}

.projects-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
}

.project-card {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card h3 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #0077b6;
}

.project-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Add some breathing room after projects */
#projects {
  margin-bottom: 60px;
}


/* Experience Section */
.experience-section {
  background-color: #f8f9fa;
  padding: 100px 20px;
  text-align: center;
}

.experience-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: stretch;
}

.experience-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.experience-card h3 {
  color: #0077b6;
  margin-bottom: 8px;
  font-weight: 600;
}

.experience-card .duration {
  font-size: 0.95rem;
  color: #666;
  display: block;
  margin-bottom: 12px;
}

.experience-card p {
  color: #444;
  line-height: 1.6;
}


/* Contact Section */
.contact-section {
  background-color: #0b0c10;
  color: #f8f9fa;
  padding: 100px 20px;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-item {
  font-size: 1.1rem;
}

.contact-item a {
  color: #00b4d8;
  text-decoration: none;
  font-weight: 500;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #90e0ef;
  text-decoration: underline;
}
