/*
Theme Name: Developer Zone
Theme URI: https://www.facebook.com/develaperszone
Author: Sahon Srabon
Author URI: https://www.facebook.com/sahon.srabon
Description: Support Or Help  01323626282
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: developer-zone
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Base Styles */
body {
    font-family: 'Merriweather', 'SolaimanLipi', 'Droid Arabic Naskh', 'Amiri', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
    color: #428A1A;
}

/* Sidebar Styles */
.left-sidebar-area, .right-sidebar {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #333;
    font-size: 14px;
    display: block;
}
}
/* Slider Area */
.slider-area {
  margin-bottom: 40px;
}

.main-slider {
  position: relative;
}

.slider-item {
  background: #fff;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(10, 8, 8, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.slider-img {
  position: relative;
  overflow: hidden;
}

.slider-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.slider-item:hover .slider-img img {
  transform: scale(1.05);
}

.slider-content {
  padding: 20px;
}

.slider-content h2 {
  margin: 0 0 15px;
  font-size: 22px;
  line-height: 1.4;
}

.slider-content h2 a {
  color: #333;
  text-decoration: none;
}

.slider-content h2 a:hover {
  color: #0073aa;
}

.post-meta {
  margin-bottom: 15px;
  font-size: 13px;
  color: #777;
}

.post-meta span {
  margin-right: 15px;
}

.post-meta i {
  margin-right: 5px;
}

.post-excerpt {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  color: #0073aa;
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.read-more i {
  margin-left: 5px;
}

/* Featured Posts */
.featured-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-post-item {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.featured-post-img {
  overflow: hidden;
}

.featured-post-img img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.featured-post-img:hover img {
  transform: scale(1.03);
}

.featured-post-content {
  padding: 15px;
}

.featured-post-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.featured-post-content h3 a {
  color: #333;
  text-decoration: none;
}

.featured-post-content h3 a:hover {
  color: #0073aa;
}

/* Magazine Section */
.magazine-section {
  padding: 40px 0;
  background: #f9f9f9;
  margin-bottom: 40px;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 15px;
  font-size: 28px;
  color: #333;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #0073aa;
}

.magazine-item {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.magazine-item:hover {
  transform: translateY(-5px);
}

.magazine-img {
  overflow: hidden;
}

.magazine-img img {
  width: 100%;
  height: auto;
}

.magazine-content {
  padding: 15px;
  text-align: center;
}

.magazine-content h3 {
  margin: 0 0 15px;
  font-size: 18px;
}

.magazine-content h3 a {
  color: #333;
  text-decoration: none;
}

.magazine-content h3 a:hover {
  color: #0073aa;
}

.download-btn {
  display: inline-block;
  padding: 8px 15px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #005177;
}

.download-btn i {
  margin-right: 5px;
}

.view-all-link {
  margin-top: 20px;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #005177;
}

/* Main Content Area */
.main-content-area {
  padding: 40px 0;
}

.main-content {
  margin-bottom: 40px;
}

/* Right Sidebar Custom Styles */
.right-sidebar .widget {
    margin-bottom: 30px;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.right-sidebar .widget-title {
    color: #fff;
    background: #75AE47;
    padding: 10px 30px;
    margin: -15px -15px 15px;
    border-radius: 5px 5px 0 0;
    position: relative;
    font-size: 1.2em;
    display: inline-block;
}

.right-sidebar .widget-title:after {
    content: '';
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 100px;
    height: 100px;
    background-image: url('../images/tahreek-hr-icon.png');
    background-size: contain;
    opacity: 0.1;
}

.right-sidebar .cat-post-title {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.right-sidebar .cat-post-title:last-child {
    border-bottom: none;
}

.right-sidebar .cat-post-title a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
}

.right-sidebar .cat-post-title i {
    color: #75AE47;
    margin-right: 10px;
    margin-top: 5px;
}

.right-sidebar .cat-post-title .postTitle {
    font-size: 15px;
    line-height: 1.4;
}

/* Article Category Section */
.single-category-item {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.single-category-item h3 {
    display: inline-block;
    background: #75AE47;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .slider-content h2 {
    font-size: 18px;
  }
  
  .magazine-item {
    margin-bottom: 20px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
}
a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header-top-area {
    background-color: #3C701E;
    padding: 8px 0;
}

.header-top-area a {
    color: #fff;
    margin-right: 10px;
    font-size: 14px;
}

.header-top-area .seprator {
    color: #fff;
    margin-right: 10px;
}

.header-top-area .socials-link ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.header-top-area .socials-link ul li {
    margin-left: 10px;
}

.header-top-area .socials-link ul li a {
    color: #fff;
    display: block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header-top-area .socials-link ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Header banner section */
.hedar-baner-section {
    padding: 20px 0;
    background: #fff;
}

.main-logo {
    text-align: center;
}

.main-logo img {
    max-width: 100%;
    height: auto;
}

.main-menu-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-menu-wrapper ul li {
    margin-right: 20px;
    position: relative;
}

.main-menu-wrapper ul li a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.main-menu-wrapper ul li a:hover,
.main-menu-wrapper ul li.current-menu-item > a {
    color: #3C701E;
}

.main-menu-wrapper ul li ul {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9;
    display: block;
}

.main-menu-wrapper ul li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu-wrapper ul li ul li {
    margin-right: 0;
    border-bottom: 1px solid #f1f1f1;
}

.main-menu-wrapper ul li ul li:last-child {
    border-bottom: none;
}

.main-menu-wrapper ul li ul li a {
    padding: 10px 15px;
    font-size: 14px;
}

/* Mobile footer styles */
.mobile-footer-wrapper {
    display: none;
}

.mobileSideNav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 11;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
}

.navigation-header {
    display: flex;
    background: #3da13f;
    padding: 10px;
}

.navigation-header h6 {
    font-size: 1.7em;
    text-transform: capitalize;
    margin: 0;
    color: #fff;
}

.navigation-header span {
    margin: auto;
    margin-right: 0;
    font-size: 4em;
    line-height: 0;
    position: relative;
    top: -5px;
    color: #fff;
}

.mobileSideNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.mobileSideNav ul li a {
    padding: 5px 15px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: flex;
    transition: 0.3s;
}

.mobileSideNav ul li ul {
    margin-left: 20px;
}

.mobileSideNav ul li ul li a {
    text-transform: capitalize;
}

.mobileSideNav a:hover {
    color: #000;
}

.mobile-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #3da13f;
    color: #fff;
    z-index: 10;
}

.mobile-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}

.mobile-footer ul li {
    text-align: center;
}

.mobile-footer ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    display: block;
}

.mobile-footer ul li a i {
    font-size: 1.7em;
}

.mobile-footer ul li a:focus {
    outline: none;
}

.mobile-footer ul li a:hover {
    text-decoration: none;
}

/* Footer Styles */
.footer-area {
    background-color: #3C701E;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-area a {
    color: #fff;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #fff;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.copyright-area {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    text-align: center;
}

.copyright-text {
    text-align: center;
}

.copyright-text p {
    margin-bottom: 10px;
}

/* Scroll top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: none;
}

.scroll-to-up {
    width: 40px;
    height: 40px;
    background-color: #3da13f;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-to-up:hover {
    background-color: #3C701E;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-menu-wrapper {
        display: none;
    }
    
    .mobile-footer-wrapper {
        display: block;
    }
}

@media (max-width: 767px) {
    .header-top-area .text-right {
        text-align: center !important;
        margin-top: 10px;
    }
    
    .main-logo {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .post-item {
        margin-bottom: 20px;
    }
    
    .content-area {
        padding-bottom: 70px; /* Space for mobile footer */
    }
    
    body {
        padding-bottom: 50px;
    }
}