body {
  font-family: 'Neuton', serif;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  color: #333;

}

html body {
  margin: 0;
  padding: 0;
  height: 100%
}

/* Landing page Header Styles */
header.hero {
  background-image: url('siteImages/Resized_20230812_185223 (1).JPEG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1.5s ease-out forwards;
}

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  margin-top: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Landing Page Nav Bar */

header.hero nav {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  text-align: center;
}
header.hero nav ul{
  display: flex;
  justify-content: center;
}

header.hero nav a {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
  color: #ffffff;
}
header.hero nav a:hover {
  color: #153e7a;
}


/* Main nav bar */
nav ul{
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin-top: 30px;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: large;
  font-weight: 500;
}
nav a:hover {
  color: #153e7a;

}


/* Header Styles for Non-Landing Pages */
header.navbar {
  background-color: #0a192f;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.navbar nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

header.navbar nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

header.navbar nav a:hover {
  color: #0077cc;
}

header.navbar .brand {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}





.tagline {
  font-style: italic;
  font-size: 1.5rem;
}

section {
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: auto;
}

h2 {
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}



/* Footer with contact information */
footer.contact_footer {
  background: #0a192f;
  color: #fff;
  padding: 2rem;
  display: flex;
  justify-content: center;

  gap: 20px;

}
footer.contact_footer p {
  margin: 0;
  padding: 0; 
  vertical-align: middle;
}

footer.contact_footer .separator {
  color: #fff;

}

/* Resume Download Button */


.resume-download {
  display: inline-block;
  padding: 12px 30px;
  font-size : 1.2rem;
  font-weight: 500;
  background-color: #0a192f;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;;

}
.resume-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume-download:hover {
  background-color: #393f42;
  color: #0a192f;
}

/* Projects Section */
.projects {
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

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

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

.project {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation */
}

.project:hover {
  transform: translateY(-10px); /* Moves the card up slightly */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Adds a deeper shadow */
}

.project img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease; /* Smooth animation */
}

.project img:hover {
  transform: scale(1.05); /* Slightly enlarges the image */
}

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

.project p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}

.project a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth animation */
}

.project a:hover {
  background-color: #005fa3;
  transform: scale(1.1); /* Slightly enlarges the button */
}

/* About Me Section */
.about {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
  background: linear-gradient(135deg, #fdfdfd 50%, #e8f0fe 50%);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 4px solid #007bff;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 1.5rem;
  position: relative;
}

.about h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #007bff;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Scrolling Books Section */
.books {
  padding: 2rem 1.5rem;
  background-color: #f9f9f9;
  text-align: center;
}

.books h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.book-carousel {
  display: flex;
  justify-content: center; /* Centers the books horizontally */
  gap: 1rem;
  padding: 1rem 0;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.book {
  flex: 0 0 auto;
  width: 150px;
  text-align: center;
}

.book img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.book p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #333;
}

/* Hide scrollbar for the book carousel */
.book-carousel::-webkit-scrollbar {
  display: none;
}

.book-carousel {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}