/*
Theme Name: Agenriver
Theme URI: http://themexriver.com/wp/agenriver/demo
Author: themexriver
Author URI: http://themexriver.com/
Description: Agenriver - Creative Portfolio & Agency WordPress Theme
Version: 1.0
Tested up to: 8.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: agenriver
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* --- Desktop Logo --- */
/* This targets the image inside the link with the class "agn-header-3-logo" */
.agn-header-3-logo, .brand-logo img {
  width: 130px; /* Adjust this value for your desired desktop logo width */
  height: auto; /* Keeps the logo's aspect ratio intact */
}

/* --- Mobile Logo --- */
/* This targets the image that has the class "logo_site-m-size" */
.logo_site-m-size, .m-brand-logo {
  width: 80px; /* Adjust this value for your desired mobile logo width */
  height: auto; /* Keeps the logo's aspect ratio intact */
}
.m-brand-logo img {
  width: 80px; /* Adjust this value for your desired mobile logo width */
  height: auto; /* Keeps the logo's aspect ratio intact */
}
/* --- Hide Desktop Header Search Bar --- */
/* This rule targets the search form in the main desktop header. */
.agn-header-search-form {
  display: none;
}

/* --- Hide Mobile Menu Search Bar --- */
/* This rule targets the search bar container within the mobile menu. */
.mobile-search-bar {
  display: none;
}


/*
 * Main Dropdown Menu Container
 */
.agn-main-navigation .dropdown-menu,
.agt-menu-hidden-sidebar .sub-menu {
  background-color: white !important;
  border-radius: 4px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/*
 * Dropdown Menu Item Link Styles
 */
.agn-main-navigation .dropdown-menu li a,
.agt-menu-hidden-sidebar .sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333 !important; /* Dark grey text for good contrast */
  background-color: transparent !important;
  text-decoration: none;
  /* This creates the smooth animation */
  transition: background-color 0.25s ease, color 0.25s ease;
}

/*
 * Simple and Smooth Hover Effect
 */
.agn-main-navigation .dropdown-menu li a:hover,
.agt-menu-hidden-sidebar .sub-menu li a:hover {
  /* Changes background to a light grey */
 
  /* Changes text color for a modern feel */
  color: #007bff !important;
	transition: 0.2s ease-in !important;
}

/* Parent Row - Flex Layout */
.agn-brand-5-item-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* spacing between logos */
  align-items: center;
  padding: 20px 0;
}

/* Each Logo Container */
.agn-brand-5-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 220px;  /* You can adjust this */
  height: 100px; /* Fixed height for uniformity */
  padding: 10px;
  background-color: transparent; /* Optional: add light background */
  border-radius: 8px; /* Optional: rounded corners */
  overflow: hidden;
}

/* Logo Images */
.agn-brand-5-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .agn-brand-5-logo {
    width: 120px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .agn-brand-5-logo {
    width: 100px;
    height: 60px;
  }
}

/* Wrapper Row: Flex Layout */
.agt-client-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 30px 10px;
}

/* Individual Logo Item */
.agt-cl-item {
  width: 220px;
  height: 100px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

/* Image Container */
.agt-cl-item .item-img {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Images with grayscale and transition */
.agt-cl-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: filter 0.3s ease-in-out;
}

/* Hover to show color (optional) */
.agt-cl-item img:hover {
  filter: grayscale(100%);
	
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .agt-cl-item {
    width: 120px;
    height: 80px;
  }
}

@media (max-width: 576px) {
  .agt-cl-item {
    width: 100px;
    height: 60px;
  }
}

.agt-section-title-7 .sec_title {
  color:white;
  font-weight:400;
  font-size:45px;
}

 .main-container {
            width: 100%;
            max-width: 100%; 
            margin: 2rem 0; 
            font-family: 'Poppins', sans-serif;
            background-color: #fff; /* Dark background for contrast */
            padding: 3rem 0; /* Removed horizontal padding for full-width effect */
            box-sizing: border-box; 
        }

        .section-heading {
            text-align: center;
            font-size: 2.8rem;
            font-weight: 700;
            color: #000; 
            margin-bottom: 3rem;
            padding: 0 1.5rem; /* Added padding to keep heading centered */
        }

        .section-heading span {
            color: #3a86ff; 
        }

        /* Main container for the "slice" layout */
        .tech-stack-container {
            width: 100%;
            /* Removed max-width and margin to allow full width */
            display: flex;
            gap: 10px;
            height: 500px;
        }

        /* Individual slice styling */
        .tech-slice {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            cursor: pointer;
            flex: 1; /* Collapsed state */
            transition: flex 0.7s cubic-bezier(0.65, 0, 0.35, 1);
        }

        .tech-slice.active {
            flex: 7; /* Expanded state, adjusted for more slices */
        }

        .slice-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
        }

        .tech-slice:hover .slice-background {
            transform: scale(1.1);
        }

        .slice-header {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: white;
            display: flex;
            align-items: center;
            transition: all 0.5s ease;
        }

        .tech-slice.active .slice-header {
            bottom: auto;
            top: 30px;
            left: 30px;
        }

        .slice-icon {
            font-size: 1.5rem;
            background: #fff;
            border-radius: 50%;
            padding: 10px;
            margin-right: 15px;
            display: grid;
            place-items: center;
        }

        .slice-title {
            font-size: 1.25rem;
            font-weight: 600;
            
        }

        /* Content part of the slice */
        .slice-content {
            position: absolute;
            bottom: 30px;
            left: 30px;
            right: 30px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s 0.2s ease, transform 0.5s 0.2s ease;
        }

        .tech-slice.active .slice-content {
            opacity: 1;
            transform: translateY(0);
        }

        .tech-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .tech-item {
            background-color: #fff;
            color: #333;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        /* Staggered animation for tech items */
        .tech-slice.active .tech-item {
            opacity: 1;
            transform: translateY(0);
        }

        /* Extended transition delays for more items */
        .tech-slice.active .tech-item:nth-child(1) { transition-delay: 0.3s; }
        .tech-slice.active .tech-item:nth-child(2) { transition-delay: 0.35s; }
        .tech-slice.active .tech-item:nth-child(3) { transition-delay: 0.4s; }
        .tech-slice.active .tech-item:nth-child(4) { transition-delay: 0.45s; }
        .tech-slice.active .tech-item:nth-child(5) { transition-delay: 0.5s; }
        .tech-slice.active .tech-item:nth-child(6) { transition-delay: 0.55s; }
        .tech-slice.active .tech-item:nth-child(7) { transition-delay: 0.6s; }
        .tech-slice.active .tech-item:nth-child(8) { transition-delay: 0.65s; }
        .tech-slice.active .tech-item:nth-child(9) { transition-delay: 0.7s; }
        .tech-slice.active .tech-item:nth-child(10) { transition-delay: 0.75s; }
        .tech-slice.active .tech-item:nth-child(11) { transition-delay: 0.8s; }
        .tech-slice.active .tech-item:nth-child(12) { transition-delay: 0.85s; }
        .tech-slice.active .tech-item:nth-child(13) { transition-delay: 0.9s; }
        .tech-slice.active .tech-item:nth-child(14) { transition-delay: 0.95s; }
        .tech-slice.active .tech-item:nth-child(15) { transition-delay: 1.0s; }
        .tech-slice.active .tech-item:nth-child(16) { transition-delay: 1.05s; }
        .tech-slice.active .tech-item:nth-child(17) { transition-delay: 1.1s; }
        .tech-slice.active .tech-item:nth-child(18) { transition-delay: 1.15s; }
        .tech-slice.active .tech-item:nth-child(19) { transition-delay: 1.2s; }
        .tech-slice.active .tech-item:nth-child(20) { transition-delay: 1.25s; }


        /* Responsive adjustments for mobile */
        @media (max-width: 768px) {
            .tech-stack-container {
                flex-direction: column;
                height: auto;
                gap: 15px;
                padding: 0 15px; /* Add horizontal padding for spacing */
            }
            .tech-slice {
                flex: none; /* Disable desktop flex behavior */
                height: auto; /* Let content define height */
            }
            
            .slice-header {
                position: relative; /* Change from absolute to be in flow */
                top: auto;
                left: auto;
                bottom: auto;
                padding: 20px;
                box-sizing: border-box;
            }
            
            .tech-slice.active .slice-header {
                /* No special active styles needed for header on mobile */
                top: auto;
                left: auto;
                bottom: auto;
            }

            .slice-content {
                position: relative; /* Change from absolute */
                top: auto;
                left: auto;
                bottom: auto;
                right: auto;
                padding: 0 20px 20px 20px;
                opacity: 1; /* Content is visible, parent's max-height clips it */
                transform: none;
                max-height: 0; /* Collapsed by default */
                overflow: hidden;
                transition: max-height 0.6s ease-in-out, padding 0.6s ease-in-out;
            }

            .tech-slice.active .slice-content {
                max-height: 1000px; /* Expand to a large value */
            }

            /* Re-hide tech items for staggered animation on mobile */
            .tech-item {
                opacity: 0;
                transform: translateY(15px);
            }
        }

#agt-brd-2, .art-blog-details-author,.agt-cn-form, #comments{
	display:none !important;
}

.breadcrumb-list{
	font-size:12px !important;
}
.entry-title, #blogsqode_sidebar{
	display:none !important;
}

.agn-back-to-top{
	display:none !important;
}

@media screen and (min-width: 992px) {
  .agn-offcanvas-btn-2 {
    display: none !important;
  }
}
