/* =================== RESET & BASE =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fff;
  color: #222;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.4;
  color: #222;
  background: #f0f4f8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s, background .2s
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px
}

/* ===================== NAVBAR FIXED & IMPROVED ===================== */
/* ===================== NAVBAR ===================== */
/* ===================== NAVBAR ===================== */
.navbar {
  background: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1200;
  padding: 0;
  border-bottom: 2px solid #ff9102;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li {
  list-style: none;
  position: relative;
}

.nav-links a,
.nav-links .dropdown-toggle {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #193183;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links .dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

.dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  width: 200px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18);
  display: none;
}

.dropdown a {
  padding: 10px 12px;
  color: #444;
  border-radius: 6px;
  display: block;
}

.dropdown a:hover {
  background: #f1f5ff;
  color: #193153;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.search-wrap {
  flex: 1;
  max-width: 480px;
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffffc9;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #e3e3e3;
  transition: 0.3s;
}

.search input {
  flex: 7;
  border: none;
  background: transparent;
  padding: 8px;
  font-size: 14px;
  outline: none;
}

.search:focus-within {
  border-color: #193153;
  background: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #193153;
  font-size: 14px;
  transition: 0.3s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #193153;
  border-radius: 4px;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 1300;
}

.sidebar-backdrop.show {
  display: block !important;
}

.sidebar {
  width: 280px;
  height: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1400;
  padding: 20px;
  transform: translateX(-100%);
  transition: transform .3s ease;
  box-shadow: 8px 0 25px rgba(0, 0, 0, 0.15);
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  position: relative;
}

.sidebar-logo {
  font-size: 22px;
  font-weight: 700;
}

.close-btn {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.sidebar-search {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
}

.sidebar-search input {
  flex: 1;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.sidebar-search button {
  padding: 6px 8px;
  border-radius: 6px;
  border: none;
  background: #f78a21;
  color: #193153;
  cursor: pointer;
}

.sidebar nav a,
.sidebar .mobile-btn {
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  display: block;
  text-decoration: none;
  color: #333;
  margin-bottom: 4px;
}

.sidebar nav a:hover,
.sidebar .mobile-btn:hover {
  background: #f1f5ff;
  color: #193153;
}

.sidebar .side-dropdown {
  display: none;
  padding-left: 10px;
  width: 100%;
}

.sidebar .side-dropdown.open {
  display: block;
}

.sidebar .mobile-btn i {
  margin-right: 8px;
}

@media (max-width:800px) {

  .nav-links,
  .search-wrap {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  body {
    padding-top: 2px;
  }
}

@media (max-width:480px) {
  .logo {
    font-size: 20px;
  }

  .para-shopbystore {
    margin-top: -1rem;
    font-size: 0.8rem;
  }


  .news {
    margin-top: -1rem;
  }

  .nav-inner {
    height: 62px;
  }

  body {
    padding-top: 2px;
  }
}



/* Hero Section */
/* HERO MAIN */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  padding-top: 2rem;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* ACTIVE SLIDE — NO DIMMING, NO DARKNESS */
.hero-slide.active {
  opacity: 1 !important;
}

/* REMOVE ANY OVERLAY EFFECT (if somewhere hidden) */
.hero::before,
.hero::after,
.hero-overlay {
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
}

/* DOTS */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: 0.3s;
}

.hero-dots span.active {
  background: #ffd54f;
  transform: scale(1.2);
}

/* Mobile */
@media (max-width: 900px) {
  .hero {
    height: 260px;
    margin-top: 3.5rem;
  }
}


/* =================== HEADING STYLING =================== */
section h2 span,
section h3 span {
  display: inline-block;
  background: #f78421;
  color: #193155;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  margin-bottom: 25px;
}

section h2,
section h3 {
  text-align: center;
  margin-bottom: 25px;
}

/* =================== KIDS =================== */
.kids-section {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(180deg, #fff8fb, #fde7f3);
}

.kids-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.kid-item img {
  width: 100%;
  border-radius: 15px;
  height: 180px;
  object-fit: contain;
  transition: 0.3s;
}

.kid-item img:hover {
  transform: scale(1.05);
}

/* =================== SHOP + BOOK =================== */
.combined-section1 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 60px 5%;
  gap: 40px;
  background: linear-gradient(180deg, #fff, #fff2fa);
}

.shop-section1,
.books-section {
  flex: 1 1 48%;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #193153;
  transition: 0.3s;
}

.shop-section1:hover,
.books-section:hover {
  transform: translateY(-5px);
}

.products1,
.books {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
}

.product img,
.book img {
  width: 100%;
  border-radius: 10px;
  height: 180px;
  object-fit: contain;
  transition: 0.3s;
}

.product img:hover,
.book img:hover {
  transform: scale(1.05);
}

.btn-outline {
  margin-top: 25px;
  border: 2px solid #193153;
  background: none;
  color: #193153;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover {
  background-color: #193153;
  color: white;
}

/* =================== STATIONERY =================== */
.stationery-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #fff7fd, #ffe3f4);
}

.stationery-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.stationery-items img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  object-fit: contain;
  transition: 0.3s;
}

.stationery-items img:hover {
  transform: scale(1.05);
}

/* =================== LIBRARY & GROCERY =================== */
.library,
.grocery {
  color: white;
  text-align: center;
  padding: 100px 20px;
  border-radius: 15px;
  margin: 40px 4%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.library::before,
.grocery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(140, 47, 112, 0.295);
}

.library-content,
.grocery-content {
  position: relative;
  z-index: 2;
}

.library {
  background-image: url('/website/img/library1.jpg');
}

.grocery {
  background-image: url('/website/img/Grocery\ Store.jpg');
}

.btn {
  background: #ffd54f;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  color: #193153;
  transition: 0.3s;
}

.btn:hover {
  background: #193153;
  color: #fff;
}

/* =================== FOOTER =================== */
.new-footer1 {
  background: #193153;
  color: #ffffff;
  padding: 60px 8% 30px;
  font-family: "Poppins", sans-serif;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 30px;
}

.footer-brand img {
  width: 60px;
  margin-bottom: 10px;
}

.footer-brand h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f78a21;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #fce4ec;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #f78a21;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin: 8px 0;
}

.footer-links a {
  text-decoration: none;
  color: #fce4ec;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #f78a21;
  padding-left: 5px;
}

.footer-contact li {
  font-size: 14px;
  color: #fce4ec;
}

.footer-social {
  margin-top: 12px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 8px;
  border-radius: 50%;
  font-size: 15px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #f78a21;
  color: #193153;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #fce4ec;
}

.footer-bottom span {
  color: #f78a21;
  font-weight: 600;
}

@media (max-width: 600px) {
  .new-footer1 {
    padding: 40px 5% 20px;
  }

  .footer-brand img {
    width: 50px;
  }

  .footer-brand h2 {
    font-size: 20px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  .combined-section1 {
    flex-direction: column;
    align-items: center;
  }

  .shop-section1,
  .books-section {
    max-width: 90%;
  }

  .products1,
  .books,
  .kids-items,
  .stationery-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 25vh;
  }

  .kids-items,
  .stationery-items,
  .products1,
  .books {
    grid-template-columns: repeat(2, 1fr);
  }

  section h2 span,
  section h3 span {
    font-size: 16px;
    padding: 6px 14px;
  }
  

  .btn,
  .btn-outline {
    padding: 8px 16px;
    font-size: 14px;
  }
}