* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

html{
  margin: 0;
  padding: 0;
}

body.admin-bar {
  margin-top: -32px; /* or adjust based on your header structure */
}

.privacy-policy > *{
  margin: auto;
  padding: 15px;
}

nav{
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
    max-width:100%;
    margin:0px;
    display: flex;
    align-items: center;
    background: rgb(0, 0, 0);
    color: white;
    justify-content: space-between;
}

.big-hedding{
  font-size: 100px;
  
}
.mid-hedding{
  font-size: 60px;
}
.about-text{
  height: 80vh;
  overflow: auto;
  font-size: large;
  font-weight: 600;
}
.menu{
    display:  flex;
    gap: 10px;
    list-style: none;
    font-size: 25px ;
    justify-content: space-between;
}
.menu>li>a{
    text-decoration: none;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
}




.footer {
  background-color: #11131A;
  padding: 60px 0;
  font-family: 'Segoe UI', sans-serif;
}

/* ------------------------------------------------- search csss ------------------------------------- */
/* Basic form styling */
.search-form-desktop{
  display: none;
}
.search-form {
  position: relative;
  width: 500px;
  margin: 20px auto;
  /* flex-direction: column; */
  padding: 0 10px;
}
.search-form-mobile{
  display: flex;
  width: 100%;
  margin:0;
  /* flex-direction: column; */
  padding: 0;
  background-color: #ffffff;
}

.search-form input[type="search"] {
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.search-form button {
  padding: 10px;
  background-color: green;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  /* width: 100%; */
}

.search-form button:hover {
  background-color: darkgreen;
}

/* Suggestion box */
.suggestion-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 999;
  display: none;
  max-height: 500px;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.suggestion-box div {
  padding: 10px;
  cursor: pointer;
  color: #000;
}

.suggestion-box div:hover {
  background-color: #f0f0f0;
}

/* Responsive */
@media (min-width: 800px) {
  .search-form {
    display: flex;
    flex-direction: row;
  }
  .search-form-mobile{
    display: none;
  }

  .search-form input[type="search"] {
    flex: 1;
  }

  .search-form button {
    width: auto;
    margin-left: 10px;
  }
}

/* ------------------------------------------------ footer csss ---------------------------------------- */

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-column {
  flex: 1 1 200px;
  margin-bottom: 30px;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  font-size: 18px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #e91e63;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #fff;
}

.social-icons a {
  display: inline-block;
  padding: 20px;
  /* height: 40px;
  width: 40px; */
  background-color: #222;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  /* line-height: 40px;
  margin-right: 10px; */
  transition: background 0.3s, color 0.3s;
}

.social-icons a:hover {
  background-color: #e91e63;
  color: #fff;
}


.menu-icon {
  font-size: 26px;
  cursor: pointer;
  display: none;
  color: rgb(255, 255, 255);
}

/* Drawer styles */
.drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 260px;
  height: 100%;
  background: #11131A;
  box-shadow: -2px 0 8px rgba(0,0,0,0.4);
  transition: right 0.3s ease;
  padding: 20px;
  z-index: 1000;
}

.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: flex-end;
}

.close-icon {
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.drawer-menu li {
  margin-bottom: 15px;
}

.drawer-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

/* Hide desktop menu on small screens */
.desktop-menu {
  display: block;
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  .menu-icon {
    display: block;
  }
  body.admin-bar {
    margin-top: -45px; /* or adjust based on your header structure */
  }
}

.carousel {
  position: relative;
  max-width: 1300px;
  max-height: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  background: white;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 2px;
  background: #000;
}

.carousel-slide img {
  width: 100%;
  display: block;
  height: 500px;
  object-fit: contain;      /* ensures the image fills the box */
  object-position: center
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #11131A;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  z-index: 1;
  opacity: 0.7;
}

.carousel-btn:hover {
  opacity: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}
.carousel-post-title{
  position: relative;
  top: 10px;
  color: white;
  top: -120px;
  width: 100%;
  text-align: center;
}
.bool-p{
  position: relative;
  width: 100%;
  text-align: center;
}

.dot {
  width: 20px;
  height: 20px;
  position: relative;
  top: -100px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  cursor: pointer;
  transition: background 0.3s;
  border: 3px solid rgb(87, 2, 2);
}

.dot.active {
  background: green; /* ✅ Active slide gets green dot */
  scale: 1.2;
}
  
hr{
  margin: 1px ;
  padding: 1px;
}

.categorie-list{
  display: flex;
  gap: 20px;
  list-style: none;
  background: linear-gradient(to right, #ff3300, #f8a8a8);
  margin: 0;
  padding: 20px;
  width: 100%;
  overflow: auto;
}
.categorie-list>li>a{
  text-decoration: none;
  padding: 7px;
  background: #ffffff;
  border-radius: 5px;
  white-space: nowrap;

}
.categorie-list>li>a:hover{
  color: rgb(27, 254, 2);
}
.categorie-list>li:hover{
  scale: 1.2;
  transition: ease-in-out 0.3s;
}

.categorie-list-drower{
  overflow: auto;
  flex-direction: column;
}

.main-body-content {
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  background: #ffffff;
}

@media (min-width: 1024px) {
  .main-body-content {
    width: 85%;
  }
}


.post-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;

  opacity: 0;
  transform: translateY(100px);
}

.post-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: transform ease-in 0.7s;
}

.post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  scale: 1.05;
  transition: ease-in-out 0.3s;
}

.post-image img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.post-content {
  flex: 1;
}

.post-meta>p{
  color: #000;
}

.post-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.post-title a {
  color: #333;
  text-decoration: none;
}

.post-title a:hover {
  color: #0073aa;
}

.post-meta {
  font-size: 0.9rem;
  color: #666;
}
@media (max-width: 768px) {
  .post-card {
    flex-direction: column;
    align-items: center;
  }

  .post-image img {
    width: 100%;
    height: auto;
  }
  .big-hedding{
  font-size: 50px;
  }
  .mid-hedding{
  font-size: 30px;
  }
}

/* ------------------------------------------- single post view csss ------------------------------------------- */
.single-post-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

.single-featured-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.single-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.single-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.single-content {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.comment-section {
    border-top: 1px solid #ddd;
    padding-top: 30px;
}



/* --------------------------------- comment ---------------------------------------------------------- */

.comment-form {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .form-submit {
    margin-top: 20px;
}

.comment-form input[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background-color: #005f8d;
}

/* ---------------------------------------------------------------------- category page csss -------------------- */
.categoy-title{
  font-size: 30px;
  text-align: center;
}

.post-list{
  display: flex;
  justify-content: space-around;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px;
}

.category-item-card{
  display: flex;
  flex-direction: column;
  max-width: 350px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px;
  padding: 10px;
  border: solid 1px black;
  border-radius: 10px;

  box-shadow: 0 4px 10px rgb(0, 0, 8); /* blue-ish shadow */

  /* ✅ Smooth transition */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.category-item-card:hover{
  scale: 1.05;
  background: gray;
  transition: ease-in-out 0.3s ;
}
.read-more{
  color: red;
  font-size: large;
}
.imgxx{
  width: 100%;
}
.imgxx>img{
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-meta{
  color: #0b9544;
  font-size: large;
}

/* -------------------------------------------------------- login form--------------------------- */

.account-container {
  max-width: 500px;
  margin: 60px auto;
  padding: 40px 30px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.account-container h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}

.account-container p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #555;
}

.account-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.account-container input[type="text"],
.account-container input[type="email"],
.account-container input[type="password"] {
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.account-container input:focus {
  outline: none;
  border-color: #0073aa;
  background-color: #fff;
}

.account-container input[type="submit"] {
  background: linear-gradient(135deg, #0073aa, #005f8d);
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.account-container input[type="submit"]:hover {
  background: linear-gradient(135deg, #005f8d, #004d73);
}

.account-container a {
  color: #0073aa;
  text-decoration: none;
  font-weight: bold;
}


.account-container .error {
  color: red;
  background: #ffeaea;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.account-ul-info{
  list-style: none;
}
.account-ul-info>li{
  padding: 10px 0px;
}
.btn-logout{
  width: 100%;
  display: block;
  padding: 16px;
  background: linear-gradient(to right, green , red);
  color: white !important;
  border-radius: 10px;
}
.btn-logout:hover{
  scale: 1.05;
  transition: ease-in 0.3s;
  text-decoration: none;
}
