* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
  -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
  outline-color: transparent;
  /* background: #111111; */
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background: #606060;
}

::-webkit-scrollbar-track {
  background: #222;
}

/* ::-webkit-scrollbar-thumb:hover {
  background: #000; 
} */

header {
  z-index: 2000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 120px;
  transition: 0.5s ease;
  -webkit-transition: 0.3s ease;
}

header.sticky {
  position: fixed;
  background: #1b1b1bf4;
  height: 80px;
}

header .brand {
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

header .nav {
  position: relative;
}

header .nav .nav-items a {
  position: relative;
  color: #fff;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
  transition: 0.3s ease;
  -webkit-transition: 0.3s ease;

}

header .nav .nav-items a:before {
  content: "";
  position: absolute;
  background: #fff;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  margin-bottom: -5px;
}

header .nav .nav-items a:hover:before {
  width: 100%;
}

section {
  padding: 0 125px;
}

.unmute-btn {
  position: absolute;
  bottom: 100px;
  right: 50px;
  z-index: 1000; /* Higher than the video */
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2em;
  box-shadow: 0px 8px 16px rgb(255, 255, 255);
  transition: background-color 0.3s, transform 0.2s;
}

.unmute-btn:hover {
  background-color: rgba(255, 136, 0, 0.8);
  transform: scale(1.1);
}

.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.home::before {
  content: "";
  z-index: 777;
  position: absolute;
  /* background: #d0975225; */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.home .content {
  z-index: 888;
  color: #fbfbfb;
  width: 70%;
  margin-top: -100px;
  margin-left: -65px;
}

.home .content h1 {
  font-size: 4em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  line-height: 75px;
  margin-bottom: 25px;
  max-width: 700px;
  -webkit-text-stroke-color: black;
  text-shadow: 2px 2px 2px black;
}

.home .content h1 span {
  font-size: 1.2em;
  font-weight: 600;
  color: #ff8e00;
  text-shadow: 4px 4px 4px black;
}

.home .content p {
  margin-bottom: 40px;
  font-size: 25px;
  
}

.home .content a {
  background: #fff;
  padding: 15px 35px;
  color: #000;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 10px;
}

.home .media-icons {
  z-index: 888;
  position: fixed; /* Change from sticky to fixed */
  right: 50px; /* Keep the position at the right */
  top: 300px; /* Adjust the distance from the top as needed */
  display: flex;
  flex-direction: column;
  transition: 0.5s ease;
  -webkit-transition: 0.3s ease;
  align-items: center;
  
}

.home .media-icons a {
  color: #fff;
  font-size: 1.6em;
  transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent grey */
  padding: 10px; /* Adds spacing */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for better visibility */
}

.home .media-icons a:not(:last-child) {
  margin-bottom: 20px;
}

.home .media-icons a:hover {
  transform: scale(1.3);
  background-color: rgba(255, 136, 0, 0.8);
}

.home video {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1040px) {
  header {
    padding: 12px 20px;
  }

  section {
    padding: 0 20px;
  }

  .home .media-icons {
    right: 15px;
    
  }

  header .nav {
    display: none;
  }

  header .nav.active {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(1, 1, 1, 0.5);
  }

  header .nav .nav-items a {
    color: #222;
    font-size: 1.2em;
    margin: 20px;
  }

  header .nav .nav-items a::before {
    background: #222;
    height: 5px;
  }

  header .nav.active .nav-items {
    background: #fff;
    width: 600px;
    max-width: 600px;
    margin: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(1 1 1 /20%);
  }

  .menu-btn {
    background: url(../images/menu.png) no-repeat;
    background-size: 30px;
    background-position: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
  }

  .menu-btn.active {
    z-index: 999;
    background: url(../images/close.png) no-repeat;
    background-size: 25px;
    background-position: center;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
  }

  .home .content p {
    margin-bottom: 30px;
  }

  .home .buy-btns {
    display: flex;
    flex-direction: row;
    gap: 15px;
  }
  .home .buy-btns a {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    width: 120px;
  }

  .home .content {
    margin: 0;
  }
  
  .home .content h1 {
    font-size: 3.2em;
    line-height: 1.2;
  }
  .category .category-title::before, .category .category-title::after {
    width: 40%;
  }
}

@media (max-width: 830px) {
  .category .category-title::before, .category .category-title::after {
    width: 50%;
  }
}

@media (max-width: 580px) {
  .category .category-title::before, .category .category-title::after {
    width: 50%;
  }
}

@media (max-width: 400px) {
  .category .category-title::before, .category .category-title::after {
    width: 60%;
  }
}

@media (max-width: 360px) {
  .category .category-title::before, .category .category-title::after {
    width: 70%;
  }
}



/* About Raju Rahikwal */

.book-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: white;
  background-color: #111111;
  padding: 20px 0 20px 0;
  padding-bottom: 50px;
  margin: 15px;
}

.about-container {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about {
  text-align: left;
  margin: 15px;
}

.about-title {
  color: #d09852;
  margin-bottom: 10px;
}

.about-text {
  line-height: 1.6;
}

.content-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

@media (max-width: 1100px) {
  .content-container {
    /* flex-wrap: wrap; */
    flex-direction: row;
  }
}

@media (max-width: 440px) {
  .book-section .content-container .book-photo {
    height: 300px;
    width: 240px;
    padding: 0;
  }

  .book-section .content-container .book-photo img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 340px) {
  .book-section .content-container .book-photo {
    height: 250px;
    width: 200px;
  }

  .book-section .content-container .book-photo img {
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 840px) {
  .content-container {
    flex-direction: row;
    align-items: center;
  }

  .book-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
  }
}

/* @media (min-width: 768px) {
  .book-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
} */

/* @media (min-width: 768px) {
  .content-container {
    flex-direction: row;
    align-items: center;
  }
} */

.book-photo {
  /* background-color: #d4a34d; */
  width: 300px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin: -30px 0 0 0; */
  overflow: hidden;
}

.book-photo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  margin: -90px 0 0 0;
}

.right-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.detail-item i {
  color: #ffffff; /* Changed to white for better visibility */
  font-size: 1.5rem;
}

.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button-link {
  background-color: #ff8e00;
  color: black;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
}

.button-link:hover {
  background-color: #d09852;
}

.about-heading {
  background: #111111;
  padding-top: 100px;
  padding-left: 20px;
  padding-right: 20px;
}

.book-section p {
  text-align: justify;
  line-height: 1.3;
}

/* Reviews */

.section {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 20px;
  background: #111;
}

.quote {
  text-align: center;
  font-size: 29px;
  margin-bottom: 90px;
  color: #fff;
}

.category {
  margin-bottom: 40px;
}

.category-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding: 20px 20px;
}

.category-title::before,
.category-title::after {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #ff8e00;
  width: 30%;
  left: 0;
}

.category-title::before {
  top: 0;
}

.category-title::after {
  bottom: 0;
}

.grid { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 20px;
}

.article-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 2fr)); 
}

@media (max-width: 450px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  }
}


.review-card,
.article-card {
  /* box-shadow: rgba(235, 233, 233, 0.09) 0px 2px 1px, rgba(240, 237, 237, 0.09) 0px 4px 2px, rgba(243, 241, 241, 0.09) 0px 8px 4px, rgba(244, 241, 241, 0.09) 0px 16px 8px, rgba(240, 237, 237, 0.09) 0px 32px 16px; */
  /* background-color: #ab6a17; */
  background-color: #ff8e00;
  border-radius: 8px;
  padding: 10px;
  color: #fff;

}

.review-card img,
.article-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.review-card .stars {
  color: #ffffff;
  margin-top: 10px;
}

.review-card h1 {
  display: flex;
  justify-content: center;
}

/* Articles section */

.article-card button {
  background-color: #8b4d00;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.article-card p {
  height: 50px;
  font-weight: bold;
  font-size: 1.2em;
}

.article-card button:hover {
  background-color: #ffa600;
}

/* <================= Famous personalities =================> */


.famous_personas .img-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.famous_personas .img-main h1 {
  color: #fff;
  font-size: 20px;
  padding: 15px 10px 10px 10px;
}


.gallery-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background-color: #111;
}

.content-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; /* Space between images */
}

.gallery-item {
  overflow: hidden;
  /* height: 400px; */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintains a uniform look */
  display: block;
  border-radius: 5px; /* Optional: Adds rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 950px) {
  .gallery-item img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    grid-template-columns: repeat(
      auto-fit,
      minmax(150px, 1fr)
    ); /* Smaller grid for smaller screens */
  }
}

/* Footer */

footer {
  background-color: #111;
  border-top: 3px slid #d09852;
}

.footerContainer {
  width: 100%;
  padding: 10px 30px 20px;
}

.footer-icons {
  display: flex;
  justify-content: center;
}

.footer-icons a {
  text-decoration: none;
  padding: 10px;
  /* background-color: white; */
  /* color: #fff; */
  margin: 10px;
  border-radius: 50%;
}

.footer-icons a i {
  font-size: 1.6em;
  color: rgb(255, 255, 255);
  opacity: 0, 9;
}

/* Hover affect on social media icon */

.footer-icons a:hover i {
  color: rgb(163, 163, 163);
  transition: 0.5s;
  -webkit-transition: 0.3s ease;
}

.footerNav {
  margin: 30px 0;
}

.footerNav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
}

.footerNav ul li a {
  color: white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
  -webkit-transition: 0.3s ease;
}

.footerNav ul li a:hover {
  opacity: 1;
}

.footerBottom {
  background-color: #000;
  padding: 20px;
  text-align: center;
}

.footerBottom p {
  color: white;
}

.designer {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}

@media (max-width: 700px) {
  .footerNav ul {
    flex-direction: column;
  }

  .footerNav ul li {
    width: 100%;
    text-align: center;
    margin: 10px;
  }

  .footer-icons a {
    padding: 8px;
    margin: 4px;
  }
}

@media (max-width: 430px) {
  .home .content h1 {
    font-size: 2.8em;
    line-height: 50px;
  }
}

@media (max-width: 390px) {
  .home .media-icons {
    display: none;
    
  }

  .home .content h1 {
    font-size: 2.8em;
    line-height: 50px;
  }
}

@media (max-width: 400px) {
  .about-section {
    padding: 20px 0 20px 0;
  }
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr); /* Two articles per row */
  }

  .article-card {
    padding: 7px; /* Optional: reduce padding for smaller screens */
  }
}