/* =========================================================
   CATEGORY SECTION
========================================================= */

.category-section {
    width: 100%;
    padding: 45px 0;
    background: #f8f9fb;
}

.category-container {
    width: min(1400px, 94%);
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.category-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.category-title-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #ff4d8d, #ff7a59);
    color: #fff;

    font-size: 20px;

    box-shadow: 0 8px 20px rgba(255, 77, 141, 0.22);
}

.category-title-wrap h2 {
    margin: 0;
    color: #171717;
    font-size: 25px;
    font-weight: 800;
}

.category-title-wrap p {
    margin: 4px 0 0;
    color: #777;
    font-size: 13px;
}


/* =========================
   SCROLL BUTTON
========================= */

.category-scroll-buttons {
    display: flex;
    gap: 8px;
}

.category-scroll-btn {
    width: 42px;
    height: 42px;

    border: 1px solid #e5e5e5;
    border-radius: 50%;

    background: #fff;
    color: #333;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    transition: all .25s ease;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .06);
}

.category-scroll-btn:hover {
    color: #fff;
    border-color: #ff4d8d;
    background: #ff4d8d;
    transform: translateY(-2px);
}


/* =========================
   SLIDER
========================= */

.category-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.category-slider {
    display: flex;
    gap: 18px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    padding: 5px 3px 18px;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}


/* =========================
   CATEGORY CARD
========================= */

.category-card {
    flex: 0 0 calc((100% - 54px) / 4);

    min-width: 0;

    background: #fff;

    border: 1px solid #eeeeee;
    border-radius: 18px;

    overflow: hidden;

    text-decoration: none;

    scroll-snap-align: start;

    box-shadow: 0 6px 22px rgba(0, 0, 0, .055);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.category-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 77, 141, .25);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .10);
}


/* =========================
   IMAGE
========================= */

.category-image {
    width: 100%;
    height: 175px;

    padding: 12px;

    background: linear-gradient(
        135deg,
        #fafafa,
        #f1f3f5
    );

    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    transition: transform .4s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.06);
}


/* =========================
   CONTENT
========================= */

.category-card-content {
    padding: 15px 17px 17px;
}

.category-card-content h3 {
    margin: 0 0 10px;

    color: #202020;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.45;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #ff4d8d;

    font-size: 13px;
    font-weight: 600;

    transition: gap .2s ease;
}

.category-card:hover .category-view {
    gap: 10px;
}


/* =========================
   EMPTY
========================= */

.category-empty {
    width: 100%;
    padding: 40px;

    text-align: center;

    color: #777;
    background: #fff;

    border-radius: 15px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

/* Tablet */
@media (max-width: 991px) {

    .category-card {
        flex: 0 0 calc((100% - 36px) / 3);
    }

    .category-image {
        height: 155px;
    }

}


/* Mobile */
@media (max-width: 767px) {

    .category-section {
        padding: 30px 0;
    }

    .category-title-wrap h2 {
        font-size: 21px;
    }

    .category-title-wrap p {
        font-size: 12px;
    }

    .category-title-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .category-scroll-buttons {
        display: none;
    }

    .category-slider {
        gap: 12px;
    }

    .category-card {
        flex: 0 0 calc((100% - 12px) / 2);
        border-radius: 15px;
    }

    .category-image {
        height: 125px;
        padding: 9px;
    }

    .category-card-content {
        padding: 12px;
    }

    .category-card-content h3 {
        font-size: 14px;
    }

}


/* Small Mobile */
@media (max-width: 420px) {

    .category-card {
        flex: 0 0 calc((100% - 12px) / 2);
    }

    .category-image {
        height: 110px;
    }

}/*
 * CodeIgniter Home CSS File
 *
 * @filename    	home.css
 * @developers  	Ibrahim Sardar
 * @last_update 	03 Dec 2025
 * @link	    	/assets/system/css/home.css
 */
 
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

/* Store CSS Start */
.store-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.store-products {
    padding: 60px 5px;
    background-color: #fff;
}
    
/* PC View*/
.store-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.store-product-card {
    background: transparent;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}

.store-product-card:hover {
    transform: translateY(-5px);
}

.store-product-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: opacity 0.3s;
}

/* Only PC / large screen */
@media (min-width: 992px) {
    .store-product-image {
        min-height: 215px;
    }
}


.store-product-image:hover {
    opacity: 0.8;
}

.store-product-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    background-color: white;
    padding: 5px;
    border-radius: 10px;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 5px;
}

    
/* Responsive Styles Moblie View */
@media screen and (max-width: 768px) {
.store-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.store-product-title {
    font-size: 0.9rem;
}

      .store-product-image {
        height: auto;
      }
    }

    
    /* Section Header */
   .section-header {
     text-align: center;
     margin-bottom: 50px; /* Add bottom margin */
     padding: 0 20px; /* Add left and right padding */
   }

   .section-header h2 {
     font-size: 2rem;
     color: #333;
     font-weight: bold;
     margin-bottom: 10px; /* Add margin below the title */
   }

   .section-header p {
     font-size: 1rem;
     color: #777;
     max-width: 800px;
     margin: 0 auto; /* Center the paragraph */
   }



        /* Home Page Design */
        .home-page-container {
            max-width: 1320px;
            margin: auto;
            color: #333;
            padding: 15px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }


        /* Home PC Design */
        @media (max-width: 935px) {
            .home-page-container {
                width: 100%;
            }
        }

        .achievement-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* ব্যাজগুলোর মাঝে গ্যাপ */
}

        
.job-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default: mobile - single column */
  gap: 25px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

/* Tablet view (min-width: 600px) */
@media (min-width: 600px) {
  .job-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns */
  }
}

/* Desktop view (min-width: 900px) */
@media (min-width: 900px) {
  .job-grid {
    grid-template-columns: repeat(3, 1fr); /* Three columns */
  }
}


/* Job card style */
.job-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
}

/*
.job-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
*/
.job-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Maintain 16:9 ratio */
  overflow: hidden; /* Optional: hide overflow */
  background-color: #f0f0f0; /* Optional: fallback bg */
}

.job-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill the area, some part may crop */
  object-position: center; /* Center the image */
}


.job-title {
  font-size: 17px;
  font-weight: 600;
  padding: 15px;
  color: #333;
  flex-grow: 1;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px 10px;
}

.job-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-user img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.username {
  font-size: 14px;
  color: #444;
}

.job-rating {
  font-size: 16px;
  color: #333;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-top: 1px solid #eee;
  font-size: 14px;
}

.price {
  color: #28a745;
}

.apply-btn {
  background-color: #007bff;
  color: white;
  padding: 6px 20px;
  border-radius: 5px;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s;
}

.apply-btn:hover {
  background-color: #0056b3;
}

/*Respostive design ar jonno duble CSS*/
@media (max-width: 600px) {
  .job-title {
    font-size: 15px;
    padding: 10px;
  }

  .username,
  .job-rating,
  .job-footer {
    font-size: 12px;
  }

  .apply-btn {
    padding: 5px 15px;
    font-size: 13px;
  }

  .job-user img {
    width: 25px;
    height: 25px;
  }
  
  
}


/*Hero Section CSS Start*/
.hero-section {
  position: relative;
  width: 100%;
  min-height: 37vh;
  background: url("/assets/system/images/hero_section_bg.jpg") center/cover no-repeat;
  display: flex;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
   border-radius: 15px;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
}

.hero-content {
  color: #fff;
  text-align: center;
  max-width: 600px;
  width: 100%;
   border-radius: 15px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  min-height: 60px;
}

.text-highlight {
  color: #ffc107;
  font-weight: bold;
}

#animated-word .blinker {
  animation: blink 2s infinite;
  font-weight: bold;
  color: #ffc107;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.search-form input {
  padding: 12px;
  width: 70%;
  max-width: 400px;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

.search-form button {
  padding: 12px 20px;
  background: #ffc107;
  color: #000;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .search-form input {
    width: 100%;
    border-radius: 5px;
  }
  .search-form button {
    width: 100%;
  }
}
/*Hero Section CSS End*/


    
/* === Animation Notice Bar === */
.notice-bar {
  background: #333;
  color: white;
  overflow: hidden;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.scrolling-text {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 25s linear infinite;
}

.scrolling-text.paused {
  animation-play-state: paused;
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* HOME WRAPPER */
.home-wrapper {
  display: flex;
  flex-direction: column; /* stacked on mobile */
  gap: 20px;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

/* WRAPS */
.wrap {
  width: 100%;
  margin-top: 10px;
}

/* SWIPER STYLING */
.swiper {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* RESPONSIVE: SIDE BY SIDE ON DESKTOP */
@media(min-width:768px){
  .home-wrapper {
    flex-direction: row;
  }
  .wrap {
    width:50%; /* each wrap takes half */
    margin-top: 25px;
  }
  .swiper {
    height:260px;
  }
}

/* LARGE DESKTOP */
@media(min-width:1200px){
  .swiper {
    height:320px;
    
  }
}


  
