* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "jost";
}

/* 🔹 Navigation */
nav {
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: grey;
  padding: 0 40px;
  z-index: 1000;
}

/* Logo */
nav img {
  max-height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* List Items */
.nav-links li a {
  text-decoration: none;
  font-size: 18px;
  color: beige;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: red;
}

/* Hamburger Icon */
.hamburger {
  display: none;        /* Display it on small screens with media query */
  font-size: 26px;
  cursor: pointer;
  color: white;
  position: absolute;
  top: 20px;            /* Adjust as needed */
  right: 20px;          /* Adjust as needed */
  z-index: 1000;        /* Ensures it appears on top */
}

/* Responsive: show hamburger and hide links on small screens */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    background-color: grey;
    width: 100%;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* 🔹 Responsive Styles */
@media (max-width: 1068px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  nav a {
    display: block;
    margin: 10px 0;
    font-size: 18px;
  }
} 

h2 {
  font-size: 64px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 5px #000;
}

h3{
  font-size: 45px;
  font-weight : bold;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
}

h4{
  font-size: 30px;
  margin-left: 6%;
}

nav img{
  padding-right: 30%;
  margin-left: 0;
}

/* 🔹 Stunning Sections with Parallax Effect */
/* Hero Section with background image */
.hero-section {
  width: 100%;
  height: 60vh; /* Adjust height as needed */
  background-image: url("books.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}


.hero-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* darken image */
  z-index: 1;
}

.hero-section h1 {
  font-size: 48px;
  z-index: 2;
  padding: 0 20px;
  text-shadow: 2px 2px 6px #000;
}

/* Content Section below image */
.content-section {
  background-color: #f8f9fa;
  padding: 60px 10%;
  color: #333;
}

.content-section p {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.content-section ul li {
  margin-bottom: 15px;
  background: #ffffff;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-title {
  text-align: center;
  color: orange;
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-item {
  flex: 0 1 22%;
  aspect-ratio: 1.3 / 1;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #72c86c; 
  border: none; 
  padding: 0; 
  cursor: pointer;
}

.gallery-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
}

.gallery-item .classes {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  backdrop-filter: blur(3px);
}

.gallery-item:hover {
  transform: scale(1.05);
}

footer {
  background-color: #12002b;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1;
  padding: 20px;
  min-width: 250px;
}

.footer-section h2 {
  color: #ff7300;
  font-size: 28px;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style:circle;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  color: #ddd;
  font-size: 20px;
}

.footer-section p, .footer-section a {
  color: #ccc;
  font-size: 20px;
}

.footer-section a {
  text-decoration: none;
}

.footer-section a:hover {
  color: #ff7300;
}

.social-links a {
display: inline-block;
margin: 0 10px;
color: white;
font-size: 24px;
}

.social-links a:hover {
color: #ff7300;
}

.footer-container img{
    width : 50px;
    height : 50px;
}


@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-item {
    flex: 0 1 30%;
  }
}

@media (max-width: 768px) {
  .gallery-item {
    flex: 0 1 45%;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex: 0 1 90%;
  }
}

