/* Hero Section Styling for Category Archive */
.ast-tax-description {
    background: linear-gradient(135deg, #f8f9fd 0%, #ffffff 100%);
    padding: 60px 30px;
    border-radius: 2px;
    margin-bottom: 40px;
    /*box-shadow: 0 12px 25px rgba(0,0,0,0.05);*/
}

.ast-tax-description .ast-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ast-tax-description .ast-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

/* Text Area (Title + Description) */
.ast-tax-description .ast-col {
    flex: 1;
    min-width: 420px;
}

.ast-tax-description .ast-archive-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.ast-tax-description .taxonomy-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

/* Image Area */
.ast-tax-description .taxonomy-featured-image img {
    width: auto;
    height: auto;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.ast-tax-description .taxonomy-featured-image img:hover {
    transform: scale(1.05);
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Breadcrumb Style - Below Hero, Centered */
.ast-tax-description .ast-breadcrumbs {
    margin-top: 0;
    text-align: center;
    font-size: 15px;
    color: #666;
}

.ast-tax-description .ast-breadcrumbs a {
    color: #444;
    text-decoration: none;
    position: relative;
    padding: 2px 5px;
    transition: color 0.3s ease;
}

/* Hover underline effect */
.ast-tax-description .ast-breadcrumbs a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #6C63FF;
    transition: width 0.3s ease;
}

.ast-tax-description .ast-breadcrumbs a:hover {
    color: #6C63FF;
}

.ast-tax-description .ast-breadcrumbs a:hover::after {
    width: 100%;
}

/* Responsive for small devices */
@media (max-width: 768px) {
    .ast-tax-description .ast-row {
        flex-direction: column;
        text-align: center;
    }

    .ast-tax-description .taxonomy-featured-image img {
        width: 100%;
        max-width: 300px;
    }
}






/* General Container Adjustments */
.ast-container, .ast-container-fluid {
    padding: 0;
}
.site-header {
    padding: 0 90px !important;
}
.page .entry-header {
    padding: 0 100px !important;
}

@media (min-width: 922px) {
    .site-content .ast-container {
         display: unset !important;
    }
}
@media (min-width: 922px) {
    .ast-container {
        max-width: 100%;
    }
}
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
    grid-column-gap: 51px;
    max-width: 100%;
    margin: 0 40px !important;
}

body.archive .ast-archive-description {
    max-width: 100% !important;
    width: 100%;
    text-align: left;
    padding: 0 7% 0 7% !important;
	margin:0;
}
.ai-tools-list {
    padding: 2% 7%;
}


/* HOMEPAGE CUSTOM CSS */
.hero-section {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #f7f1ff, #ffffff);
    border-radius: 12px;
    margin-bottom: 50px;
}
.hero-section h1 {
    font-size: 42px;
    font-weight: 800;
    color: #3b0b87;
}
.hero-section p {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}
.search-box {
    margin-top: 25px;
}
.ai-tools-section h2,
.ai-categories-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    padding-left: 10px;
}
.search-form .search-field {
    width: 60%;
    border-radius: 30px;
}
 .trending-categories-section {
    background: linear-gradient(135deg, #f9f7fd 0%, #ffffff 100%);
    padding: 60px 20px;
    text-align: center;
    margin: 50px auto;
    max-width: 100%;
    position: relative;
    overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-categories-section:hover{
	transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.trending-categories-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #3b0b87 !important;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.trending-categories-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #7c3aed;
    margin: 10px auto 0;
    border-radius: 8px;
}

.trending-categories-section p {
    font-size: 16px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Category Badges */
.trending-categories-section .category-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #3b0b87;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin: 8px;
    border: 1px solid #ddd;
    
    transition: all 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

/* Icons in Badge */
.trending-categories-section .category-badge i {
    margin-right: 8px;
    font-size: 14px;
    color: #7c3aed;
    transition: color 0.3s ease;
}

/* Hover Effect */
.trending-categories-section .category-badge:hover {
    background: #7c3aed;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.trending-categories-section .category-badge:hover i {
    color: #fff;
}

/* Smooth Fade Up Animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation Delay */
.trending-categories-section .category-badge:nth-child(1) { animation-delay: 0.1s; }
.trending-categories-section .category-badge:nth-child(2) { animation-delay: 0.2s; }
.trending-categories-section .category-badge:nth-child(3) { animation-delay: 0.3s; }
.trending-categories-section .category-badge:nth-child(4) { animation-delay: 0.4s; }
.trending-categories-section .category-badge:nth-child(5) { animation-delay: 0.5s; }



/* HomePage Subcategory Section */
.subcategory-section {
    margin-bottom: 20px;
 
}
.subcategory-wrap {
    border-radius: 12px;
    padding: 2%;
    background: #fff;
    border: 1px solid #ead5f3;
	 justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcategory-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.subcategory-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c2c2c;
    border-bottom: 1px solid #ead5f3;
    padding-bottom: 8px;
    margin-bottom: 25px;
}



/* AI Tool Card Styles */
.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
    width: 100%;
}

 
.ai-tool-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}


.ai-tool-top {
    display: flex;
    align-items: center;
    gap: 15px;
}
.ai-tool-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fafafa;
}
.ai-tool-title-section {
    flex: 1;
}
.ai-tool-title {
    font-size: 1.05em;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}
.country-flag img {
    width: 22px;
    height: auto;
    border-radius: 3px;
}
.ai-tool-min-price {
    font-size: 0.85em;
    color: #666;
}
.ai-tool-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}
.ai-tool-category {
    background: #f0f0f7;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.75em;
    color: #5e35b1;
    text-decoration: none;
}
.ai-tool-category:hover {
    background: #dcd4f7;
}
.ai-tool-desc {
    font-size: 0.9em;
    color: #555;
    margin: 8px 0;
    
}
.ai-tool-visit {
	margin-top:8px;
    background: fff;
    color: #5e35b1;
    padding: 9px 0;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #5e35b1;
    transition: background 0.3s, color 0.3s;
}
.ai-tool-visit:hover {
    background: #9335b6;
	color: #fff;
}
.ai-tool-price-model {
    margin: 6px 0;
}
.price-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}
.badge-free { background: #4caf50; }
.badge-freemium { background: #2196f3; }
.badge-paid { background: #f44336; }
.badge-premium { background: #9c27b0; }
.badge-default { background: #9e9e9e; }



/* SINGLE AI TOOL PAGE */
.ai-tool-content {
    padding: 2% 8%;
}
.single-ai-tool .tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    background: #9335b60a;
    padding: 3% 7%;
    width: 100%;
    border-radius: 5px;
}
.single-ai-tool .tool-title-section {
    flex: 1 1 40%;
}
.single-ai-tool .tool-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    margin-bottom: 10px;
}
.single-ai-tool h1.entry-title {
    font-size: 28px;
    margin-bottom: 8px;
}
.single-ai-tool .tool-subtitle {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
}
.tool-social {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 10px 0;
}
.tool-social .social-icon {
    font-size: 18px;
    color: #6b6b6b;
    transition: color 0.2s ease-in-out;
}
.tool-social .social-icon:hover {
    color: #0073e6;
}
.single-ai-tool .tool-title-section .button.ast-button {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    padding: 10px 16px;
    background-color: #0073e6;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}
.single-ai-tool .tool-title-section .button.ast-button:hover {
    background-color: #005bb5;
}
.single-ai-tool .tool-main-image {
    flex: 1 1 40%;
    text-align: right;
}
.single-ai-tool .tool-main-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
div#tool-data-2 p {
    margin: 0 !important;
}




/* ALL AI TOOL CATEGORIES PAGE */
.ai-main-categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    
}
.ai-category-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-category-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}
.ai-category-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-category-left {
    width: 65%;
}
.ai-category-left h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.ai-subcategories {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}
.ai-subcategories li {
    margin-bottom: 6px;
}
.ai-subcategories a {
    color: #333;
    text-decoration: none;
}
.ai-category-right {
    width: 30%;
    text-align: center;
}
.ai-category-icon {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}




/*CUSTOM FOOTER DESIGN*/
/* Ultra-Modern Footer with Animated Gradient Glow */
.site-footer {
    position: relative;
    
    padding: 80px 20px 50px;
    
    overflow: hidden;
   
    animation: fadeInUp 1s ease-out;
}

/* Background Animated Gradient Glow */
.site-footer::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    
    z-index: 0;
}

/* Smooth Footer Entry */
@keyframes fadeInUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Glow Move Animation */
@keyframes moveGlow {
    0% { transform: translate(0,0); }
    100% { transform: translate(-20px, -20px); }
}

/* Footer Widget Card Style */
.site-footer .footer-widget-area {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 25px;
    margin: 15px;
    
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}
.site-footer .footer-widget-area:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Widget Titles */
.site-footer .widget-title,
.site-footer .uagb-heading-text {
    font-size: 22px;
    font-weight: 800;
    color: #3b0b87;
    margin-bottom: 15px;
    position: relative;
}
.site-footer .widget-title::after,
.site-footer .uagb-heading-text::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    margin-top: 8px;
    border-radius: 2px;
}

/* Footer Text & Links */
.site-footer p,
.site-footer a {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    transition: color 0.3s ease, transform 0.3s ease;
}
.site-footer a {
    text-decoration: none;
    position: relative;
}
.site-footer a::after {
    content: "";
    position: absolute;
    width: 0;
    left: 0;
    bottom: -3px;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    transition: width 0.4s;
}
.site-footer a:hover::after {
    width: 100%;
}

.site-footer  li a::before {
    content: "➤ ";
    color: #7c3aed;
    margin-right: 5px;
}



/* Logo Animation */
.site-footer .wp-block-image img {
    max-width: 180px;
    border-radius: 12px;
    transition: transform 0.5s ease;
}
.site-footer .wp-block-image img:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Below Footer (Copyright) */
.site-below-footer-wrap {
  
    padding: 15px 20px;
    text-align: center;
    font-size: 13px;
    color: #555;
    border-radius: 0 0 30px 30px;
    z-index: 1;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner {
    text-align: left;
}

/* Scroll To Top Hint (Optional if needed later) */
#ast-scroll-top {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
#ast-scroll-top:hover {
    transform: scale(1.1) rotate(15deg);
}


