/**
 * Custom Stylesheet for Almighty Trader Pte. Ltd.
 * 
 * This file contains custom styles that override or extend
 * the base template styles for company branding and specific needs.
 */

/* ========================================
   Custom Brand Colors
   ======================================== */
:root {
    --almighty-green: #2c5f2d;
    --almighty-lime: #97d700;
    --almighty-dark: #1a1a1a;
    --almighty-gray: #666666;
    --almighty-light-gray: #f5f5f5;
    --almighty-white: #ffffff;
}

/* ========================================
   Logo & Branding
   ======================================== */
.logo img {
    max-height: 70px;
    width: auto;
}

/* Text-based logo styling if no logo image is used */
.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--almighty-green);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1;
    margin: 0;
}

.logo-text span {
    color: var(--almighty-lime);
    font-weight: 900;
}

.logo-tagline {
    font-size: 11px;
}

/* ========================================
   Product Page Custom Styles
   ======================================== */

   .shop_banner {
    padding: 100px !important;
    margin-top: 88px;
   }

   
.breadcrumbs a , .breadcrumbs {
    color: var(--almighty-white);
    transition: color 0.3s ease;
    font-size: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 0 1px 5px rgba(0,0,0,0.7) !important;
}
.breadcrumbs a {
    text-decoration: underline;
}

/* Product Grid Item Enhancements */
.productItem01 {
    transition: all 0.3s ease;
}

.productItem01:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.prod-excerpt {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
    min-height: 35px;
}

/* Product Single Page Enhancements */
.product-benefits,
.product-usage {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #7eb932;
}

.product-benefits h4,
.product-usage h4 {
    color: #274c5b;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-benefits ul li {
    margin-bottom: 10px;
    padding-left: 0;
}

.product-benefits ul li i {
    color: #7eb932;
    margin-right: 10px;
    font-size: 18px;
}

/* Category Filter Styling */
.shopController {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.filterBy select,
.sorting select {
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    padding: 10px 15px;
}

/* Related Products Section */
.commonSectionRelatedProducts {
    background: #f9f9f9;
    padding: 60px 0;
}

.sectionTitle h2 {
    font-size: 36px;
    color: #274c5b;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Product Animation on Load */
.product-item {
    animation: fadeInUp 0.5s ease-in-out;
}

.product-benefits ul li {
    animation: fadeInUp 0.5s ease-in-out;
    color: var(--almighty-green);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Product Grid */
@media (max-width: 768px) {
    .prod-excerpt {
        min-height: auto;
    }
    
    .product-benefits,
    .product-usage {
        padding: 15px;
    }
    
    .sectionTitle h2 {
        font-size: 28px;
    }
}

/* ========================================
   Header Customizations
   ======================================== */

/* Topbar styling */
.topbar02 {
    background: var(--almighty-green);
    padding: 10px 0;
}

.topbar02 p,
.topbar02 a {
    color: var(--almighty-white) !important;
    font-size: 14px;
}

.topbar02 a:hover {
    color: var(--almighty-lime) !important;
}

.tbaccess ul li {
    margin-left: 20px;
}

.tbaccess ul li i {
    margin-right: 5px;
}

/* Header Middle Section */
.headerMiddle {
    padding: 20px 0;
    background: var(--almighty-white);
}

/* Sticky Header Logo - Hidden by default, only visible when header is fixed after scroll */
.sticky-header-logo {
    display: none;
    margin-right: 20px;
    flex-shrink: 0;
}

.sticky-header-logo img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Show logo when header becomes fixed (after scroll) */
.header02.fixedHeader .sticky-header-logo {
    display: block;
    animation: fadeInLogo 0.3s ease;
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Adjust navBar01 to use flexbox for proper logo alignment */
.header02.fixedHeader .navBar01 {
    display: flex;
    align-items: center;
}

.midIconBox {
    text-align: center;
}

.midIconBox i {
    font-size: 32px;
    color: var(--almighty-lime);
}

.midIconBox h5 {
    font-size: 14px;
    color: var(--almighty-gray);
    margin: 5px 0;
    text-transform: uppercase;
}

.midIconBox p {
    font-size: 16px;
    color: var(--almighty-green);
    font-weight: 600;
    margin: 0;
}

.midIconBox a {
    color: var(--almighty-green);
    text-decoration: none;
}

.midIconBox a:hover {
    color: var(--almighty-lime);
}

/* Search Box Styling */
.search-product {
    position: relative;
    max-width: 100%;
    margin-left: 0px;
}

.search-product input[type="search"] {
    border: 2px solid var(--almighty-light-gray);
    padding: 12px 20px;
    border-radius: 50px;
}

.search-product input[type="search"]:focus {
    border-color: var(--almighty-lime);
    outline: none;
}

.search-product .btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--almighty-lime);
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--almighty-white);
    cursor: pointer;
}

.search-product .btn-search:hover {
    background: var(--almighty-green);
}

/* ========================================
   Footer Customizations
   ======================================== */
.footer_01 {
    background: var(--almighty-dark);
    color: var(--almighty-white);
}

.footer_01 h3,
.footer_01 h5 {
    color: var(--almighty-white);
}

.footer_01 a {
    color: var(--almighty-gray);
}

.footer_01 a:hover {
    color: var(--almighty-lime);
}

/* Newsletter Section */
.ctaMail {
    background: var(--almighty-green);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.ctaMail .subTitle {
    color: var(--almighty-lime);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ctaMail h2 {
    color: var(--almighty-white);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ctaMail p {
    color: var(--almighty-white);
    margin-bottom: 0;
}

.ctaMail form input[type="email"] {
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    width: calc(100% - 180px);
    margin-right: 10px;
}

.ctaMail form button {
    padding: 15px 30px;
    background: var(--almighty-lime);
    color: var(--almighty-dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ctaMail form button:hover {
    background: var(--almighty-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer Widgets */
.contact_widget .contactbox {
    margin-bottom: 25px;
}

.mainMenu > ul > li:hover > a:before {
    top: 15px;
}

.contact_widget .contactbox i {
    color: var(--almighty-lime);
    font-size: 24px;
    margin-bottom: 10px;
    position: relative;
}

.contact_widget .contactbox h5 {
    font-size: 14px;
    color: var(--almighty-lime);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact_widget .contactbox p {
    color: var(--almighty-white);
    margin: 0;
}

.contact_widget .contactbox a {
    color: var(--almighty-white);
    text-decoration: none;
}

.contact_widget .contactbox a:hover {
    color: var(--almighty-lime);
}

/* About Widget */
.aboutWidget p {
    color: var(--almighty-gray);
    line-height: 1.8;
}

.aboutWidget .company-desc {
    color: var(--almighty-white);
    font-size: 15px;
    margin-top: 10px;
}

/* Social Media Icons */
.abSocial {
    margin-top: 20px;
}

.abSocial a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--almighty-green);
    color: var(--almighty-white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.abSocial a:hover {
    background: var(--almighty-lime);
    color: var(--almighty-dark);
    transform: translateY(-3px);
}

/* Business Hours */
.business-hours {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 5px;
}

.business-hours h5 {
    color: var(--almighty-lime);
    font-size: 14px;
    margin-bottom: 10px;
}

.business-hours p {
    color: var(--almighty-gray);
    margin-bottom: 5px;
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding: 20px 0;
}

.copyright p {
    color: var(--almighty-gray);
    margin: 5px 0;
    font-size: 14px;
}

.developer-credit a {
    color: var(--almighty-lime);
    text-decoration: none;
    font-weight: 600;
}

.developer-credit a:hover {
    text-decoration: underline;
}


.funfactSection01 {
    position: relative;
    background: url(images/bg/6.jpg) no-repeat center center / cover;
    padding: 130px 0 110px;
}

.offerProduct02 {
    position: relative;
    background: url(images/bg/4.jpg) no-repeat center center / cover;
    padding: 80px 0;
}

.offerProduct02::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.offerProduct02 .container {
    position: relative;
    z-index: 2;
}

.offerProduct02 .subTitle,
.offerProduct02 h2,
.offerProduct02 p,
.offerProduct02 .listItem li {
    color: #ffffff !important;
}

.offerProduct02 .listItem li i {
    color: #97d700 !important;
}

.productItem04 .piActionBtns {
    right: 0px !important;
    bottom: 5px !important;
}

.productItem04 .piActionBtns a {
    border-radius: 50px !important;
}


.productItem04:hover .piActionBtns a {
    opacity: 1;
    background-color: #97d700 !important;
}


/* ========================================
   Product Cards & Grid
   ======================================== */
.product-item {
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item .product-badge {
    background: var(--almighty-lime);
    color: var(--almighty-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Featured Products Hover Animation */
.productItem04 {
    transition: all 0.3s ease;
}

.productItem04:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.productItem04 .proThumb04 {
    overflow: hidden;
    border-radius: 10px;
}

.productItem04 .proThumb04 img {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.productItem04:hover .proThumb04 img {
    transform: scale(1.15);
    filter: brightness(1.05);
}

/* ========================================
   Flip Card Animation
   ======================================== */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 280px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-front {
    background-color: transparent;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Ensure flip cards work on mobile */
@media (max-width: 768px) {
    .flip-card {
        height: 260px;
    }
    
    .flip-card-back h3 {
        font-size: 20px !important;
    }
    
    .flip-card-back p {
        font-size: 13px !important;
    }


    .tbaccess ul li:last-child {
    margin-left: 0px;
}
   .tbaccess ul li:last-child::after {
    display: none;
}
    .tbaccess ul li:first-child {
    display: none;
}
.mobile-hide {
    display: none !important;
}

.sp_img {
    min-height: 250px !important;
}

.singleProduct {
  padding-top: 20px ;
}

.shop_banner {
  padding: 50px !important;
}

.breadcrumbs, .breadcrumbs a {
  font-size: 20px;
}

.fixedHeader .all-categories-dropdown {
  display: none !important;
}

}

.tp-bullets {
  display: none !important;
}

.mtsocial a {
  font-size: 48px;
  margin-top: 50px;
}

.mobile-contact-info {
  padding: 10px;
}

.mobile-contact-info p i {
  display: inline;
}

/* ========================================
   Customer Cards Hover Animation
   ======================================== */
.customer-card {
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.customer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(151, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.customer-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(151, 215, 0, 0.3) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff0 100%) !important;
}

.customer-card:hover::before {
    left: 100%;
}

.customer-card i {
    transition: all 0.4s ease;
}

.customer-card:hover i {
    transform: rotateY(360deg) scale(1.1);
    color: #2c5f2d !important;
}

.customer-card h4 {
    transition: all 0.3s ease;
}

.customer-card:hover h4 {
    color: #97d700 !important;
    transform: scale(1.05);
}

.customer-card p {
    transition: all 0.3s ease;
}

.customer-card:hover p {
    color: #2c5f2d !important;
}

/* ========================================
   Page Titles & Breadcrumbs
   ======================================== */
.page-title {
    background: var(--almighty-green);
    color: var(--almighty-white);
    padding: 60px 0;
    text-align: center;
}

.page-title h1 {
    color: var(--almighty-white);
    font-size: 42px;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb a {
    color: var(--almighty-lime);
}

.breadcrumb-item.active {
    color: var(--almighty-white);
}

/* ========================================
   Alert Messages
   ======================================== */
.alert {
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 991px) {
    .logo img {
        max-height: 50px;
    }
    
    .search-product {
        margin: 20px 0;
    }
    
    .midIconBox {
        margin-top: 15px;
    }
    
    .ctaMail form input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .ctaMail form button {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .page-title h1 {
        font-size: 32px;
    }
    
    .ctaMail {
        padding: 30px 20px;
    }
    
    .ctaMail h2 {
        font-size: 22px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-almighty-green {
    color: var(--almighty-green);
}

.text-almighty-lime {
    color: var(--almighty-lime);
}

.bg-almighty-green {
    background-color: var(--almighty-green);
}

.bg-almighty-lime {
    background-color: var(--almighty-lime);
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* ========================================
   Animation & Effects
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for all interactive elements */
a, button, .product-item, .category-item {
    transition: all 0.3s ease;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .topbar02,
    .headerMiddle,
    .header02,
    .sidebarMenu,
    .ctaMail,
    #backtotop {
        display: none;
    }
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact_form {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact_form h2 {
    margin-bottom: 15px;
    color: var(--almighty-green);
}

.contact_form p {
    margin-bottom: 30px;
    color: #666;
}

.contact_form input,
.contact_form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact_form input:focus,
.contact_form textarea:focus {
    border-color: #76B740;
    outline: none;
    box-shadow: 0 0 0 3px rgba(118, 183, 64, 0.1);
}

.contact_form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact_form .organ_btn {
    margin-top: 10px;
    padding: 0px 40px;
    font-size: 16px;
}

.contact_form .btn_loading {
    display: inline-block;
}

.contact_form .btn_loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.6;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert i {
    margin-right: 8px;
}

/* Contact Info Boxes */
.contactbox {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.contactbox:last-child {
    border-bottom: none;
}

.contactbox i {
    font-size: 32px;
    color: #76B740;
    margin-right: 15px;
    vertical-align: middle;
}

.contactbox h5 {
    display: inline-block;
    margin: 0;
    font-size: 18px;
    color: #333;
    line-height: 1.4;
}

.contactbox h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contactbox h5 a:hover {
    color: #76B740;
}

.contactbox h5 span {
    font-size: 14px;
    color: #999;
    display: block;
}

.contactbox p {
    margin: 5px 0 0 47px;
    color: #666;
    font-size: 14px;
}

/* Icon Box for Why Choose Us Section */
.iconbox {
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iconbox:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.iconbox h4 {
    margin: 15px 0 10px;
    font-size: 20px;
    color: #333;
}

.iconbox p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Social Media Links */
.conSocial {
    margin-top: 25px;
}

.conSocial a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #76B740;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.conSocial a:hover {
    background: var(--almighty-green);
    transform: translateY(-3px);
}

/* Responsive Contact Form */
@media (max-width: 767px) {
    .contact_form {
        padding: 30px 20px;
    }
    
    .contact_form h2 {
        font-size: 24px;
    }
    
    .contactbox {
        text-align: center;
    }
    
    .contactbox i {
        display: block;
        margin: 0 auto 10px;
    }
    
    .contactbox p {
        margin-left: 0;
    }
    
    .iconbox {
        margin-bottom: 20px;
    }
}

/* ========================================
   Gallery Page Styles
   ======================================== */

/* Gallery Filter Buttons */
.gallery-filter {
    margin-bottom: 40px;
}

.gallery-filter .filter-btn {
    padding: 12px 30px;
    margin: 5px;
    border: 2px solid var(--almighty-green);
    background: #fff;
    color: var(--almighty-green);
    font-weight: 600;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active {
    background: var(--almighty-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

/* Gallery Grid Items */
.gallery-item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.gallery-item.hide {
    display: none;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-box img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-box:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 95, 45, 0.85);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-box:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.gallery-overlay i {
    color: #fff;
    font-size: 32px;
}

/* No Results Message */
.no-results {
    display: none;
    padding: 60px 0;
    text-align: center;
}

.no-results i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

.no-results h3 {
    color: #666;
    font-size: 24px;
    margin: 0;
}

/* Gallery Lightbox Enhancements */
#lightcase-case {
    background: rgba(0, 0, 0, 0.95) !important;
}

#lightcase-content img {
    max-height: 85vh !important;
    object-fit: contain;
}

/* Gallery Responsive Styles */
@media (max-width: 991px) {
    .gallery-box img {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .gallery-filter .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin: 3px;
    }
    
    .gallery-box img {
        height: 220px;
    }
    
    .gallery-overlay h4 {
        font-size: 18px;
    }
    
    .gallery-overlay i {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .gallery-box img {
        height: 200px;
    }
}

/* ========================================
   404 Page Styles
   ======================================== */

.error-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-icon {
    margin-bottom: 40px;
}

.error-icon > div:first-child {
    font-size: 150px;
    font-weight: 900;
    color: var(--almighty-green);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: errorBounce 2s ease-in-out infinite;
}

@keyframes errorBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.error-message {
    margin-bottom: 40px;
}

.error-search input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s;
}

.error-search input:focus {
    border-color: var(--almighty-green);
    outline: none;
}

.quick-links a {
    display: block;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-decoration: none;
}

.quick-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.quick-links a i {
    font-size: 36px;
    color: var(--almighty-green);
    margin-bottom: 15px;
    display: block;
}

.quick-links a h5 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   Sitemap Page Styles
   ======================================== */

.sitemap-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.sitemap-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.sitemap-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.sitemap-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--almighty-green);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--almighty-green);
}

.sitemap-box h3 i {
    margin-right: 10px;
}

.sitemap-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-box ul li {
    margin-bottom: 12px;
}

.sitemap-box ul li a {
    color: #555;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

.sitemap-box ul li a:hover {
    color: var(--almighty-green);
    padding-left: 10px;
}

.sitemap-box ul li a i {
    margin-right: 8px;
    transition: all 0.3s;
}

.sitemap-info {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.sitemap-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--almighty-green);
    margin-bottom: 20px;
}

/* Responsive Sitemap */
@media (max-width: 767px) {
    .sitemap-box {
        margin-bottom: 20px;
    }
    
    .sitemap-actions a {
        display: block;
        margin: 10px 0;
    }
}

/* ========================================
   Category Dropdown Fix for Inner Pages
   ======================================== */
/* Override the innerPage category list display:none rule */
body.innerPage .all-categories-dropdown .categorie-list {
    display: none;
}

/* When manually opened, show it with higher specificity */
body.innerPage .all-categories-dropdown .categorie-list.manually-opened {
    display: block !important;
}

/* Ensure it works on all pages with maximum specificity */
body.innerPage .navBar01 .all-categories-dropdown.dropdown02 .categorie-list.manually-opened,
.innerPage .all-categories-dropdown .categorie-list.manually-opened,
.all-categories-dropdown .categorie-list.manually-opened {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

