/*
 * 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: 130px;
  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;
    
  }
}


  
