/*
 Theme Name: Divi Child
 Theme URI: https://yourwebsite.com
 Description: Child theme for Divi
 Author: Nababur Rahaman
 Author URI: https://yourwebsite.com
 Template: Divi
 Version: 1.0.0
*/

/* =====================================================
   GLOBAL CUSTOM STYLES
===================================================== */

/* ===============================
   Sticky Header Style
================================ */

.et-l--header .et_pb_section_0_tb_header.sticky {
    background-color: #000 !important;
    z-index: 999;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);

    /* Smooth entrance animation */
    animation: stickySlideFade 0.45s ease forwards;
}
.primary-color{color:#FFD624}
/* ===============================
   Header Menu Spacing & Hover
================================ */

.top-header-area .et_pb_menu .et-menu > li {
    padding-right: 15px;
}

.header-menu-area 
.et_pb_bg_layout_dark.et_pb_menu ul li a:hover {
    color: #ffd624 !important;
}

/* ===============================
   Header Dropdown & Mobile Menu
================================ */

.et_pb_menu_0_tb_header.et_pb_menu .nav li ul,
.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu,
.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul {
    background-color: rgb(0 0 0) !important;
}

/* ===============================
   Footer Menu Display
================================ */

.footer-widget-menu nav.et-menu-nav ul.et-menu {
    display: block;
}

/* ===============================
   Header Base Style
================================ */

.top-header-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99;

    /* Smooth transition when sticky toggles */
/*     transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease; */
}

/* Duplicate rule preserved exactly as provided */
.top-header-area {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    right: 0;
    z-index: 99;
}

/* ===============================
   Inner Row Padding Animation
================================ */

.top-header-area .et_pb_row_0_tb_header.et_pb_row {
    transition: padding 0.35s ease;
}

.top-header-area.sticky 
.et_pb_row_0_tb_header.et_pb_row {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* ===============================
   Sticky Keyframes Animation
================================ */

@keyframes stickySlideFade {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-service-item .et_pb_text_inner img{vertical-align: middle;margin-right: 10px;
    display: inline-block;
    max-width: 25px;}
.price-month{font-size:14px;font-family:'Inter'}

/* =====================================================
   ENHANCED GALLERY & FILTER STYLES - UPDATED ONLY THIS SECTION
===================================================== */

/* Force 2 columns layout for filter gallery */
.project_gallery_area .et_pb_filterable_portfolio_grid .et_pb_portfolio_item .et_pb_module_header, 
.project_gallery_area  .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2 {
    word-wrap: break-word;
    margin: 20px 0 0;
    padding-bottom: 20px;font-weight:400;
}
.project_gallery_area .et_pb_portfolio_items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
}

.project_gallery_area .et_pb_portfolio_item {
    width: 100% !important;
/*     margin: 0 !important; */
    float: none !important;
    border-radius: 5px;
    overflow: hidden;
/*     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
}

.project_gallery_area .et_pb_portfolio_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image hover effect */
.project_gallery_area .et_portfolio_image img {
    transition: transform 0.5s ease;
}

.project_gallery_area .et_pb_portfolio_item:hover .et_portfolio_image img {
/*     transform: scale(1.05); */
}

/* Remove default margins */
.project_gallery_area .et_pb_portfolio_items_wrapper {
    width: 100% !important;
}

/* ===============================
   ENHANCED FILTER BUTTONS WITH BRAND COLORS
================================ */
/* Accordion Plus & Minus Icon Fix */

/* Default closed state: PLUS */
.et_pb_toggle_title:before {
    content: "\4c";
    font-family: "ETmodules";
    font-size: 18px;
    color: #000;
    position: absolute;
    right: 0;
}

/* Open state: MINUS */
.et_pb_toggle_open .et_pb_toggle_title:before {
    content: "\4d";
}
.et_pb_toggle_open .et_pb_toggle_title:before {
    content: "\4d" !important;
}

.project_gallery_area .et_pb_portfolio_filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px !important;
    gap: 15px;
    padding: 25px 0;
    position: relative
		;display:none !important
}
.main-gallery-dark-area .et_pb_portfolio_filters, .main-gallery-light-area .et_pb_portfolio_filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px !important;
    gap: 15px;
    padding: 25px 0;
    position: relative;display:block !important
}

/* Clear any default list styles */
.project_gallery_area .et_pb_portfolio_filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.project_gallery_area .et_pb_portfolio_filters li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Filter button base styles */
.project_gallery_area .et_pb_portfolio_filter a {
    display: inline-block;
    padding: 14px 32px !important;
    background: #000 !important; /* Black background */
    border: 2px solid #000 !important;
    border-radius: 50px !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #fff !important; /* White text on black */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.main-gallery-dark-area  .et_pb_portfolio_filter a{
    display: inline-block;
    padding: 14px 25px !important;
    background: #3B3B3B !important;
    border: 2px solid #3B3B3B !important;
    border-radius: 50px !important;
    cursor: pointer;
    font-weight: 400;
    font-size: 15px;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
 .main-gallery-light-area .et_pb_portfolio_filter a{
    display: inline-block;
    padding: 14px 25px !important;
    background: #F5F5F5 !important;
    border: 2px solid #F5F5F5 !important;
    border-radius: 50px !important;
    cursor: pointer;
    font-weight: 400;
    font-size: 15px;
    color: #000 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



/* Golden shine effect on all buttons */
.project_gallery_area .et_pb_portfolio_filter a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 214, 36, 0.3), 
        transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

/* Hover state - Golden background appears */
.project_gallery_area .et_pb_portfolio_filter a:hover {
    background: #FFD624 !important; /* Golden background on hover */
    border-color: #FFD624 !important;
    color: #000 !important; /* Black text on gold */
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 214, 36, 0.3);
}

/* Active state - Golden with shine */
.project_gallery_area .et_pb_portfolio_filter a.active {
    background: #FFD624 !important;
    border-color: #FFD624 !important;
    color: #000 !important;
    box-shadow: 0 6px 20px rgba(255, 214, 36, 0.4);
    position: relative;
    overflow: hidden;
}

/* Shine animation for active state */
.project_gallery_area .et_pb_portfolio_filter a.active::before {
    left: 100%;
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Pulse animation for active button */
@keyframes pulseGolden {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 214, 36, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 214, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 214, 36, 0);
    }
}

.project_gallery_area .et_pb_portfolio_filter a.active:hover {
    animation: pulseGolden 1.5s infinite;
    transform: translateY(-4px) scale(1.05);
}

/* Active button hover shine */
.project_gallery_area .et_pb_portfolio_filter a.active:hover::before {
    left: 100%;
    animation: shine 1s infinite;
}

/* "All" button special style */
/* .project_gallery_area .et_pb_portfolio_filter_all a {
    background: linear-gradient(45deg, #000, #333) !important;
    border-color: #000 !important;
}

.project_gallery_area .et_pb_portfolio_filter_all a:hover {
    background: linear-gradient(45deg, #FFD624, #ffed4e) !important;
    border-color: #FFD624 !important;
}
 */
.blurb-list-flex .et_pb_blurb_content .et_pb_blurb_container {
    display: flex;
    align-items: center;
}




/* Services page block css  */
.service_block_area .et_pb_main_blurb_image {
    margin-bottom: 15px;
   
}



/* Main container - using outline instead of border for hover */
.s-block-item {
    border: 2px solid #F0F0F0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
    transform: translateY(0) scale(1) !important;
    will-change: transform, box-shadow;
    /* Add transparent outline that will be used for hover effect */
    outline: 2px solid transparent !important;
    outline-offset: -2px !important;
}

/* Hover effect using outline instead of changing border */
.s-block-item:hover {
    transform: translateY(-5px) scale(1) !important;
    outline: 2px solid #FFD624 !important;
    box-shadow: 0 10px 20px rgba(255, 214, 36, 0.15) !important;
    /* Optional: You can also fade out the original border */
    border-color: rgba(240, 240, 240, 0.3) !important;
}

/* ALTERNATIVE SOLUTION: Use box-shadow for border effect instead */
/* If outline doesn't work well, try this instead: */

/*
.s-block-item {
    border: 2px solid #F0F0F0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
    transform: translateY(0) !important;
    box-shadow: inset 0 0 0 2px #F0F0F0 !important;
}

.s-block-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: inset 0 0 0 2px #FFD624, 0 10px 20px rgba(255, 214, 36, 0.15) !important;
    border-color: rgba(240, 240, 240, 0.3) !important;
}
*/

/* Icon container */
.s-block-item .et_pb_main_blurb_image {
    background: transparent !important;
    padding: 15px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
    width: 90px !important;
    height: 90px !important;
    border: 2px solid #f0f0f0 !important;
}

.s-block-item:hover .et_pb_main_blurb_image {
    border-color: #FFD624 !important;
    transform: scale(1.05) !important;
}

/* Icon/image styling */
.s-block-item img {
    transition: all 0.3s ease !important;
    width: 62px !important;
    height: 62px !important;
    object-fit: contain !important;
}

.s-block-item:hover img {
    transform: scale(1.1) !important;
}

/* Title styling */
.s-block-item .et_pb_module_header {
    color: #333 !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    position: relative !important;
    padding-bottom: 10px !important;
    transition: color 0.3s ease !important;
}
.contact-us-bg{background:#fff ; border-radius:5px; padding:20px}
.s-block-item:hover .et_pb_module_header {
    color: #000 !important;
}

/* Animated underline with #FFD624 */
.s-block-item .et_pb_module_header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #f0f0f0;
    transition: all 0.3s ease;
}

.s-block-item:hover .et_pb_module_header::after {
    width: 60px;
    background: #FFD624 !important;
    height: 3px;
}

/* Description text */
.s-block-item .et_pb_blurb_description p {
    color: #666 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    transition: color 0.3s ease !important;
}

.s-block-item:hover .et_pb_blurb_description p {
    color: #333 !important;
}

/* Remove problematic pseudo elements */
.s-block-item::before,
.s-block-item::after {
    display: none !important;
}

/* Corner accent */
.s-block-item .et_pb_blurb_container {
    position: relative !important;
}

.s-block-item .et_pb_blurb_container::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 0;
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.s-block-item:hover .et_pb_blurb_container::before {
    background: #FFD624 !important;
}

/* Simplified border glow */
@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 10px 20px rgba(255, 214, 36, 0.1);
    }
    50% {
        box-shadow: 0 10px 20px rgba(255, 214, 36, 0.2);
    }
}

.s-block-item:hover {
    animation: borderGlow 3s ease-in-out infinite;
}






/* ===============================
   RESPONSIVE FOR FILTER BUTTONS & GALLERY
================================ */

/* Tablet (768px - 980px) */
@media (max-width: 980px) {
    .project_gallery_area .et_pb_portfolio_items {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .project_gallery_area .et_pb_portfolio_filters {
        margin-bottom: 40px !important;
        gap: 12px;
    }
    
    .project_gallery_area .et_pb_portfolio_filter a {
        padding: 12px 24px !important;
        font-size: 14px;
        min-width: 110px;
    }
}

/* Mobile (481px - 767px) */
@media (max-width: 767px) {
    .project_gallery_area .et_pb_portfolio_items {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .project_gallery_area .et_pb_portfolio_filters {
        margin-bottom: 35px !important;
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 15px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-right: 20px;
    }
    
    .project_gallery_area .et_pb_portfolio_filters::-webkit-scrollbar {
        display: none;
    }
    
	.project_gallery_area .et_pb_portfolio_filters ul {
		display: block;
		flex-wrap: wrap;
		gap: 15px;
		justify-content: center;
		list-style: none;
		margin: 0px !important;
		padding: 0px !important;
	}
    
    .project_gallery_area .et_pb_portfolio_filter a {
        padding: 10px 20px !important;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 100px;
    }
	.project_gallery_area .et_pb_portfolio_filters li {
		width: 100% !important
	}
.project_gallery_area .et_pb_portfolio_filter a {
    padding: 8px 16px !important;

}
	.project_gallery_area .et_pb_portfolio_filters li {
		margin: 10px 0px !important;
		
	}
	
	
}

/* Small Mobile (0 - 480px) */
@media (max-width: 480px) {
    .project_gallery_area .et_pb_portfolio_items {
        gap: 20px !important;
    }
    
    .project_gallery_area .et_pb_portfolio_filters {
        margin-bottom: 30px !important;
        gap: 8px;
    }
    
    .project_gallery_area .et_pb_portfolio_filter a {
        padding: 8px 16px !important;
        font-size: 12px;
        min-width: 90px;
        border-radius: 40px !important;
    }
}

/* =================================================
   DIVI RESPONSIVE MEDIA QUERIES
   Tablet + Mobile + Small Mobile
================================================= */

/* =========================
   TABLET (768px – 980px)
========================= */

@media (max-width: 980px) {

    .footer-area 
    .et_pb_menu.footer-widget-menu 
    .et_pb_menu__menu {
        display: block;
    }

    .footer-area 
    .footer-widget-menu 
    .et_mobile_nav_menu {
        display: none !important;
    }

    .footer-area 
    .footer-widget-menu 
    .et_pb_menu__wrap {
        -webkit-box-pack: start;
        -ms-flex-pack: end;
        justify-content: flex-start;
    }

}

/* =========================
   MOBILE (0 – 767px)
========================= */

@media (max-width: 767px) {

    .footer-area 
    .et_pb_menu.footer-widget-menu 
    .et_pb_menu__menu {
        display: block;
    }

    .footer-area 
    .footer-widget-menu 
    .et_mobile_nav_menu {
        display: none !important;
    }

    .footer-area 
    .footer-widget-menu 
    .et_pb_menu__wrap {
        -webkit-box-pack: start;
        -ms-flex-pack: end;
        justify-content: flex-start;
    }
.blurb-list-flex .et_pb_blurb_content .et_pb_blurb_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.blurb-list-flex .et_pb_blurb_content .et_pb_blurb_container
h4.et_pb_module_header {
    width: 100%;
}	
.blurb-list-flex .et_pb_blurb_content .et_pb_blurb_container .et_pb_blurb_description {
    width: 100%;
}
.imazin_hero_slider__title {

    line-height: 2.6rem;
  
}
	
	
}

/* =========================
   SMALL MOBILE (≤ 480px)
========================= */

@media (max-width: 480px) {

    .footer-area 
    .et_pb_menu.footer-widget-menu 
    .et_pb_menu__menu {
        display: block;
    }

    .footer-area 
    .footer-widget-menu 
    .et_mobile_nav_menu {
        display: none !important;
    }

    .footer-area 
    .footer-widget-menu 
    .et_pb_menu__wrap {
        -webkit-box-pack: start;
        -ms-flex-pack: end;
        justify-content: flex-start;
    }

}