/**
 * Theme Name:        AL MAHIR MACHINERY
 * Theme URI:         https://almahirmachinery.com
 * Description:       Hassan Dev - Al Mahir Machinery Theme
 * Version:           1.0.0
 * Author:            Hassan Shah
 * Author URI:        https://almahirmachinery.com
 * Tags:              block-patterns, full-site-editing
 * Text Domain:       fabled-sunset
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           ALL RIGHTS RESERVED
 * License URI:       https://almahirmachinery.com
 */

.custom-logo {
    max-height: 40px;
    width: 100px;
    
}
.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.menu-item-has-children.dropdown-open > .sub-menu {
    display: block;
}

.menu-item-has-children {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    margin-left: 8px;
    font-size: 0.8em;
}
.parrot-green-almahir1 {
     background-color:#0fb207 !important;  /* bright parrot green */
   /*  background-color: #46b946; /* softer green */
 /* Parrot green */
}
.banner-img {
  height:300px;
  width: 1100px;
}

.banner-img-aboutus {
  height:100px;
  width: 500px;
}

/** after code for side bar style */
/* Footer Latest Posts styling */
.footer-widgets .wp-block-latest-posts {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-widgets .wp-block-latest-posts li {
    margin-bottom: 8px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

.footer-widgets .wp-block-latest-posts a {
    color: #0d6efd; /* Bootstrap primary */
    text-decoration: none;
    font-weight: 500;
}

.footer-widgets .wp-block-latest-posts a:hover {
    text-decoration: underline;
}
/* Sidebar Widget Styling */


.widget ul {
    padding-left: 0;
    list-style: none;
}

.widget ul li {
    margin-bottom: 0; /* Bootstrap list-group handles spacing*/
   
}

.widget ul li a {
    display: block;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 6px;
    background-color: #0fb207; /* Parrot green */
    color:#fff;
    font-weight: 600; /* Bold but not too heavy */
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.widget ul li a:hover {
    background-color: #5ee65e; /* Slightly darker green on hover */
    color: #fff; /* White text when hovered */
}

