body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0);
  z-index: 1000;
}

.home-link {
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  position: relative;  
  letter-spacing: 3px;
}

.home-link .arrow {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #fff;
}

.home-text {
  position: relative;
}

.home-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #FF0000;
  transition: width 0.3s ease;
}

.home-link:hover {
  color: #FF0000;
}

.home-link:hover .arrow {
  transform: translateX(-100px);
  color: #FF0000; 
}

.home-link:hover .home-text::after {
  width: 100%;
}

.name {
  color: #FF0000 !important;
}

p {
  margin: 5px 0;
  color: #a8a8a8 !important;
}

.tagline-description {
  color: #ffffff;
}

.university {
  color: #c9c9c9 !important;
}

strong {
  color: #c9c9c9;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start; 
  align-items: center;
  padding: 60px 10%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.hero-image-top {
  margin-bottom: 20px; 
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #FF0000;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
}
.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #FF0000;
}

.hero-text h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero-text .tagline {
  font-size: 1.6em;
  color: #c9c9c9;
  margin-top: 5px; 
  margin-bottom: 5px;
}

.hero-text .tagline-description {
  color: #c9c9c9;
  font-size: 1.1em;
  margin-top: 2px; 
}

.info {
  padding: 60px 8%;               
  background: linear-gradient(180deg, #000000 0%, #2f0000 60%, #800000 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;                     
  align-items: start;
}

.column {
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-width: 240px;
  transition: none; 
}

.column:hover {
  transform: none;
  box-shadow: none;
}

.section-title {
  position: relative;
  display: inline-block;  
  color: #f8f8f8;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 6px;       
  border-bottom: none;      
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;            
  width: 100%;            
  background: #d80000;   
}

.column p {
  margin: 6px 0;
  font-size: 18px;
  font-weight: bold;
  color: #f0f0f0;
}

.skills-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 6px;
}
.skills-list li {
  margin: 6px 0;
  font-weight: bold;
  font-size: 17px;
  color: #fff;
}
.skills-list li::marker {
  color: #e0e0e0;
}

.edu-entry {
  margin-bottom: 16px;
}
.edu-entry p {
  margin: 5px 0;
  font-size: 18px;
  font-weight: bold;
  color: #f0f0f0;
}
.edu-entry strong {
  color: #fff;
  font-size: 1.05em;
}

.books-section {
  padding: 60px 8%;
  background: #000;
}

#random-book, #top-books {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.book-card {
  background: #111;
  padding: 15px;
  border-radius: 10px;
  width: 180px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.book-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.book-card h3 {
  font-size: 1.1em;
  margin: 10px 0 5px 0;
}

.book-card p {
  font-size: 0.9em;
  color: #ccc;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5);
}

@media screen and (max-width: 600px) {
  .book-card {
    width: 140px;
  }
  .book-card img {
    height: 200px;
  }
}

