/* Reset and global styles */

html, body {
  margin: 0;
  padding: 0;
  border: 0;
  overflow-x: hidden;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;

  height: 100px;
  width: 100%;
  margin: 0;

  /* Translucent version of #191919 */
  background: rgba(25, 25, 25, 0.85);  
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: none;
  z-index: 1000;
}


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

.navbar a:hover {
  color: #3b82f6;
}

.navbar a.active {
  color: #3b82f6;
}




* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: #191919;
  color: #ddd;;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Landing Section */
.landing {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 2rem;
  padding-top: 150px;
}
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid #444;
}
h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.typing {
  font-size: 1.5rem;
  color: #9DA3AF;
  height: 2rem;
  margin-bottom: 1rem;
}
nav {
  margin-top: 1rem;
}
nav a {
  color: #aaa;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1rem;
  transition: color 0.2s;
}
nav a:hover { color: #fff; }

.about-section {
  background-color: #191919;
  padding: 4rem 2rem; 
  text-align: center;
}

.about-section p {
  max-width: 800px;
  margin: 1rem auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
}


/* Professional Experience Section */
.experience-section {
  background-color: #191919;   /* match theme */
  padding: 4rem 2rem;
  text-align: center;
}

.experience-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.experience-section .experience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.experience-section .experience-card {
  background-color: #111;
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;  
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  display: flex;                 /* new: flexbox layout */
  flex-direction: column;        /* stack text and image vertically */
  justify-content: space-between;/* push image to bottom */
}

.experience-section .experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.7);
}

.experience-section .experience-card img {
  width: 100%;
  height: 120px;        /* smaller, consistent height */
  object-fit: contain;  /* keep logos from stretching */
  border-radius: 8px;
  margin-top: 1rem;
}

.experience-section .experience-card h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #ddd;
}

.experience-section .experience-card p {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0.5rem 0;
}


/* Leadership Section */
.leadership-section {
  background-color: #191919;   /* match theme */
  padding: 4rem 2rem;
  text-align: center;
}

.leadership-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.leadership-section .experience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.leadership-section .experience-card {
  background-color: #111;
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;  
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  display: flex;                 /* new: flexbox layout */
  flex-direction: column;        /* stack text and image vertically */
  justify-content: space-between;/* push image to bottom */
}

.leadership-section .experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.7);
}

.leadership-section .experience-card img {
  width: 100%;
  height: 120px;        /* smaller, consistent height */
  object-fit: contain;  /* keep logos from stretching */
  border-radius: 8px;
  margin-top: 1rem;
}

.leadership-section .experience-card h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #ddd;
}

.leadership-section .experience-card p {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0.5rem 0;
}



/* Projects Section */
.projects-section {
  background-color: #191919;
  padding: 4rem 2rem;
  text-align: center;
}

.projects-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Project Cards  */
.project-card {
  background-color: #111;
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.7);
}

.project-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
  font-weight: bold;
}

.project-card p {
  font-size: 0.9rem;
  color: #ddd;
}



/* Hobbies Section */
.hobbies {
  padding: 4rem 2rem;
  text-align: center;
}
.hobbies h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.cards {
  width: 100%;            
  max-width: 1200px; 
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.card {
  background-color: #111;
  border-radius: 12px;
  padding: 1.5rem;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.7);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.card h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}
.card p {
  font-size: 0.95rem;
  color: #ddd;
}
.card a {
  color: #4cc9f0;
  text-decoration: none;
}
.card a:hover { text-decoration: underline; }

.dim-img {
  filter: brightness(60%); 
}

/*Connect section*/
.connect-section {
  background-color: #191919;
  padding: 3rem 1rem;
  text-align: center;
  color: #ccc;
}

.connect-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}

.connect-section p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #aaa;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-icons .icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid #3b82f6; /* nice blue */
  border-radius: 8px;
  color: #3b82f6;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-icons .icon i {
  font-size: 1.2rem;
}

.social-icons .icon:hover {
  background-color: #3b82f6;
  color: #fff;
  transform: translateY(-3px);
}

