* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #eef4fb;
}

header {
  width: 100%;
  background-color: #333;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 7%;
  max-width: 1200px !important;

  color: white;

  margin: auto;
}

.logo {
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 10px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    font-size: 13px;
  }
  .logo-p {
    padding: 0px 0px 5px 83px !important;
  }
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 50px !important;
    left: 0;
    right: 0;
    background-color: #333;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 1rem 0;
  }

  .nav-links li .dropdown {
    position: static;
    display: none;
    background-color: #444;
  }

  .nav-links li.show-dropdown .dropdown {
    display: block;
  }
}

/* dropdwn */
/* Dropdown Styles */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #444;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links .dropdown:hover > .dropdown-menu {
  display: block;
}

.nav-links .dropdown-menu li {
  position: relative;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}

.nav-links .dropdown-menu li a:hover {
  background-color: #555;
}

/* Submenu Styles */
.nav-links .dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 1px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
  }

  .nav-links .dropdown-menu {
    position: static;
  }

  .nav-links .dropdown-submenu .dropdown-menu {
    margin-left: 0;
  }
}
/* Main dropdown style */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #444;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 999;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu li a {
  color: white;
  padding: 10px;
  display: block;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #555;
}

/* Submenu (Years > Titles) */
.dropdown-submenu > .dropdown-menu {
  left: 100%;
  top: 0;
  position: absolute;
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* dropdown */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5px;
  max-width: 1200px;
  margin: auto;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 10px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
}

/* Dropdown base */
.dropdown-menu,
.dropdown-submenu .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #444;
  top: 100%;
  left: 0;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 10px;
  display: block;
  color: white;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #555;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  left: -100%;
  top: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #333;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: left;
    padding: 1rem;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
  }

  .dropdown-submenu .dropdown-menu {
    position: static;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid #555;
  }

  .dropdown.show-dropdown > .dropdown-menu,
  .dropdown-submenu.show-dropdown > .dropdown-menu {
    display: block;
  }
}

/* End Navigation */

/* ========== Hero Section ========== */

.headerpostsec {
  position: relative;
  margin-top: 80px;
  width: 100%;
  height: 500px;
  background-color: azure;
  border-radius: 10px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 20px;
  z-index: 1;
}

.header-post {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

.bigpost {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bigpost img {
  width: 100%;
  height: 100%;

  transition: 0.3s ease-in-out;
}

.bigpost::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0.85)
  );
  z-index: 2;
  opacity: 1;
}

/* ==== Post Info Overlay ==== */
.post-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  z-index: 3;
  color: white;
}

.label {
  font-size: 18px;
  background-color: rgb(235, 111, 16);
  padding: 3px 8px;
  color: white;
  border-radius: 2px;
  text-transform: uppercase;
}

.post-info h2 {
  font-size: 25px;
  margin: 12px 0;
  text-transform: capitalize;
}

.post-info p {
  font-size: 12px;
  font-weight: 400;
}

.post-info p span {
  font-size: 14px;
  color: rgb(255, 234, 234);
}

/* ==== Grid Post Layout ==== */
.grid-post {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  grid-gap: 2px;
  overflow: hidden;
}

.gpost {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gpost::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0.85)
  );
  z-index: 1;
  opacity: 1;
}

.gpost img {
  width: 100%;
  height: 100%;

  display: block;
  position: relative;
  z-index: 2;
}

.gpost:nth-child(1) {
  grid-column: 1/3;
}

/* ========== Books Slider ========== */
.book-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
  z-index: 3;
}

.book-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.book-slide-item {
  min-width: 200px;
  margin-right: 20px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s;
  background: #fff;
  flex: 0 0 auto;
  width: 200px;
  margin-right: 20px;
}

.book-slide-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.book-slide-item img {
  width: 100%;
  height: 200px;

  border-radius: 10px;
  display: block;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 1024px) {
  .header-post {
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }

  .grid-post {
    grid-template-columns: 1fr 1fr;
  }

  .gpost:nth-child(1) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .post-info h2 {
    font-size: 20px;
  }

  .label {
    font-size: 14px;
    padding: 2px 6px;
  }

  .post-info p {
    font-size: 10px;
  }

  .post-info p span {
    font-size: 12px;
  }

  .headerpostsec {
    height: auto;
    padding: 10px;
  }

  .bigpost {
    height: 300px;
  }

  .gpost {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .grid-post {
    grid-template-columns: 1fr;
  }

  .gpost:nth-child(1) {
    grid-column: auto;
  }

  .bigpost {
    height: 250px;
  }

  .gpost {
    height: 180px;
  }

  .book-slide-item {
    min-width: 150px;
  }

  .book-slide-item img {
    height: 160px;
  }
}

/*******Start Slider Option**********/

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 20px;
}

.section-header {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
}
.main-slide {
  display: flex;
  column-gap: 20px;
}
.section-header h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgb(63, 174, 63);
}
.section-header h1 {
  font-size: calc(6px + 1.5vw);
  color: black;
  font-weight: 600;
  margin-top: 10px;
  text-transform: uppercase;
}
.section-header .navigation-btns {
  align-self: flex-end;
  user-select: none;
}
.top-destinations {
  width: 50%;
}
.section-header .navigation-btns i {
  display: inline-block;
  padding: 10px 18px;
  background-color: rgb(160, 244, 160);
  color: green;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  user-select: none;
}
.section-header .navigation-btns i:hover {
  background-color: rgb(160, 244, 160);
}
.section-header .navigation-btns i:nth-child(1) {
  margin-right: 5px;
}
.slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;

  margin: 0 auto;
}

.container .slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slider-item {
  width: 200px;

  margin-right: 20px;
  height: 225px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.slider-item:hover {
  transform: scale(1.02);
}

.slider-item img {
  width: 100%;
  height: 100%;

  border-radius: 15px;
  display: block;
}
.slider-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px 20px 30px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 10%,
    rgba(0, 0, 0, 0.01) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.slider-item .overlay .explore-now-btn {
  padding: 12px 20px;
  background: rgb(89, 243, 89);
  color: var(--light-heading-clr);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 25px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.slider-item .overlay .explore-now-btn:hover {
  background-color: rgb(45, 221, 45);
}
.slider-item .overlay .destination-desc {
  position: relative;
}
.slider-item .overlay .destination-desc h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: white;
  text-transform: capitalize;
  font-weight: 500;
  letter-spacing: 1px;
}
.slider-item .overlay .destination-desc p {
  color: rgb(202, 196, 196);
  font-size: 15px;
}
.slider-item .overlay .destination-desc p i {
  margin-right: 10px;
  font-size: 18px;
  color: var(--primary-clr);
}
.slider-item {
  flex: 0 0 auto;
  margin-right: 20px;
}

/* .slider-item:last-child {
  margin-right: 0; 
} */
.slider-wrapper {
  overflow: hidden;
  width: 100%; /* বা নির্দিষ্ট width */
}

.slider {
  display: flex;
  transition: transform 0.3s ease;
}

/* mobile devices  */
@media (max-width: 768px) {
  .main-slide {
    row-gap: 40px;

    flex-direction: column;
  }
  .section-header h3 {
    font-size: 16px;
  }
  .section-header h1 {
    font-size: calc(20px + 1.5vw);
  }
  .top-destinations {
    width: 100%;
  }
}
/* modal css */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 99%;
  max-width: 800px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

.close-modal {
  color: #000;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/*******Start Main Blog Section**********/

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #d94420;
  margin-bottom: 20px;
}

.blog-header h2 {
  font-size: 1.5rem;
  margin: 0;
  padding-bottom: 5px;
}

.blog-header a {
  text-decoration: none;
  color: #d94420;
  font-weight: bold;
  font-size: 0.9rem;
}
.blog-header a:hover {
  text-decoration: underline;
  color: #b8321a;
}
.blog-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-bottom: 50px;
}
.blog-main {
  display: flex;
  gap: 20px;
}
.blog-right {
  width: 300px;
}
.blog-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  width: calc(100% - 320px);
}

.blog-one {
  height: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
}
.blog-two {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.blog-card img {
  width: 100%;
  height: 350px;
  border-radius: 4px;
  transition: 0.3s ease-in-out;
}
.readmore-btn a {
  text-decoration: none;
  color: #d94420;
  font-weight: bold;
  font-size: 0.9rem;
}
.blog-card img:hover {
  transform: scale(1.01);
}

.category {
  color: #d94420;
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.blog-main {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0 5px;
}

.date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

.recent-posts {
  width: 250px;
}

.recent-posts h3 {
  color: #000000;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.recent-list .recent-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}

.recent-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
}
.recent-item img:hover {
  transform: scale(1.02);
}

.recent-item .title {
  color: #141414;
  font-size: 14px;
  cursor: pointer;
}
.habi p {
  padding-left: 8px;
}
.visited-item .date {
  font-size: 13px;
  color: #777;
}

.recent-visited {
  position: relative;
}
.recent-visited a {
  text-decoration: none;
}
.visited-item {
  background-color: #d0e8f5;
  border-radius: 0 5px 5px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.recent-visited h3 {
  color: #000000;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.visited-item .title {
  color: #141414;
  font-size: 16px;
  margin: 0;
}
.visited-item img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.visited-item:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .blog-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .blog-main {
    flex-direction: column;
  }
  .blog-card {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .blog-right {
    width: 100%;
  }
}

/* About Section */
/* 
.about-section {
  padding: 100px 20px;
  background-color: #ffffff;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-content {
  flex: 1;
  min-width: 280px;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.about-content p {
  margin-bottom: 15px;
  color: #555;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-content p {
    font-size: 1rem;
  }
}
*/

/* Start Small Blog Section */

.others-blog {
  margin: 50px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.small-parent {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.small-blog {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #c4e3f3b6;
  width: 100%;
  height: auto;
  border-radius: 5px;
  padding: 10px;
  gap: 10px;
}

.small-blog img {
  width: 120px;
  height: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
}

.small-title {
  width: 100%;
  padding: 0 10px;
}

.small-title h2 {
  font-size: 15px;
  color: #2e2d2d;
  cursor: pointer;
}

.small-title p {
  font-size: 13px;
  color: #777;
}

/* Big blog uuu */

.card-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.card {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  height: 100%;

  display: block;
}

.card-content {
  position: absolute;
  bottom: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  width: 100%;
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 1em;
  line-height: 1.3;
}

.card span {
  font-size: 0.8em;
  color: #ccc;
}

.smallblog-title h2 {
  display: inline-block;
  padding: 0.5rem 2rem;
  background-color: #32c2ca;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  font-family: sans-serif;
}

/* Responsive font sizes */
@media (max-width: 768px) {
  .card h3 {
    font-size: 0.95em;
  }

  .small-parent {
    flex-direction: column;
  }

  .small-blog {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px;
  }

  .small-blog img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }

  .small-title h2 {
    font-size: 14px;
  }

  .small-title p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .card-section {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 100%;
  }

  .card h3 {
    font-size: 0.9em;
  }

  .card span {
    font-size: 0.75em;
  }
}

/* product show section */

/* product description section */

/* Blog Page CSS */

.post-card {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 15px 5%;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  gap: 20px;
}

.second-card {
  display: flex;
  flex-direction: column;
}
.post-card img {
  width: 700px;
  height: 500px;
  border-radius: 6px;
}
a {
  text-decoration: none;
  color: #007bff;
}

.read-more-btn {
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.read-more-btn:hover {
  background-color: #0056b3;
}

/* blog page css */
.blog-p-section {
  padding: 90px 0px;
  text-align: center;
}

.blog-p-section h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.blog-p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-p-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-p-card:hover {
  transform: translateY(-10px);
}

.blog-p-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-p-card h3 {
  padding: 15px 20px 0;
  font-size: 1.25rem;
  color: #222;
}

.blog-p-card p {
  padding: 10px 20px;
  font-size: 0.95rem;
  color: #666;
}

.blog-p-card a {
  display: inline-block;
  margin: 15px 20px 20px;

  text-decoration: none;
  font-weight: 500;
}

.blog-p-card a:hover {
  text-decoration: underline;
}

/* responsive */

@media (max-width: 768px) {
  .blog-p-section h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .blog-p-card h3 {
    font-size: 1.1rem;
  }

  .blog-p-card p {
    font-size: 0.9rem;
  }

  .blog-p-card img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .blog-p-section h1 {
    font-size: 1.75rem;
  }

  .blog-p-card h3 {
    font-size: 1rem;
  }

  .blog-p-card p {
    font-size: 0.85rem;
  }

  .blog-p-card a {
    font-size: 0.9rem;
    margin: 10px 15px 15px;
  }

  .blog-p-card img {
    height: 140px;
  }
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
  background-color: #ffe9c4;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #222;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero .btn {
  padding: 10px 20px;
  background: #ff6600;
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  flex: 1;
}

/* Hero Section Text and Image */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: #e2e8f0;
  padding: 3rem 2rem;
  gap: 2rem;
}

.hero img {
  width: 300px;
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e40af;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Books Section */
.books-section {
  padding: 2rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Book Card */
.book-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.book-card:hover {
  transform: translateY(-5px);
}

.book-card img {
  width: 100%;
  height: 300px;
  object-fit: fill;
}

.book-info {
  padding: 1rem;
  text-align: center;
}

.book-info h4 {
  margin-bottom: 0.5rem;
}

.book-info span {
  color: #ef4444;
  font-weight: bold;
}

/* Hover Icons */
.book-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.book-card:hover .book-icons {
  opacity: 1;
}

.book-icons i {
  background: #334155;
  color: white;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.book-icons i:hover {
  background: #1e40af;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .books-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero img {
    width: 100%;
    max-width: 350px;
    margin-top: 20px;
  }

  /* Books Grid */
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .books-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 2rem 1rem;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .hero img {
    width: 80%;
  }
}

/* contact */
.contact-info-section {
  padding: 50px 20px;
  margin-top: 20px;
  background-color: #f0f0f0;
  height: 100vh;
}

.contact-info-container {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-container h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #333;
}

.contact-info-item {
  margin-bottom: 25px;
}

.contact-info-item h4 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #4caf50;
}

.contact-info-item p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .contact-info-container {
    padding: 20px;
  }

  .contact-info-container h2 {
    font-size: 24px;
  }
}

/* Footer Section */

.simple-footer {
  background-color: #1f2937;
  color: #fff;
  padding: 20px 10px;
  margin-top: 40px;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: auto;
  padding: 0 15px;
}

.simple-footer p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.6;
  margin: 0;
}

.simple-footer a {
  color: #4caf50;
  text-decoration: none;
}

.simple-footer a:hover {
  text-decoration: underline;
}

/* ✅ Responsive styling for smaller devices */
@media (max-width: 600px) {
  .simple-footer {
    padding: 15px 5px;
  }

  .simple-footer p {
    font-size: 13px;
  }

  .footer-content {
    padding: 0 10px;
  }
}
