/*
Theme Name: Growth Hive Theme
Theme URI: http://example.com/growth-hive
Author: Antigravity
Author URI: http://example.com
Description: Custom WordPress theme converted from HTML/PHP template.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: growth-hive

/* --- Growth Hive Premium Design System --- */

:root {
    --primary-color: #6a56f0;
    --primary-light: #f2efff;
    --text-main: #1a1a1a;
    --text-muted: #666;
    --bg-light: #f9f9ff;
    --border-radius-lg: 30px;
    --border-radius-md: 20px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Breadcrumb Refinement */
.breadcrumb-wrapper {
    padding: 100px 0 !important;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.breadcrumb-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(106, 86, 240, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

/* Service Details Wrapper */
.service-details-wrapper {
    margin-top: -40px;
    /* Slight overlap for modern look */
    z-index: 10;
    position: relative;
}

/* MAIN IMAGE - Balanced Sizing for Premium Look */
.service-details-wrapper .details-image {
    max-width: 900px;
    /* Slightly smaller as requested */
    margin: 0 auto 60px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #fff;
}

.service-details-wrapper .details-image img {
    width: 100%;
    height: 500px;
    /* Controlled height */
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.service-details-wrapper .details-image:hover img {
    transform: scale(1.04);
}

/* SIDEBAR - Clean & Modern */
.main-sidebar.sticky-style {
    background: #fff;
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f5;
}

.wid-title h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.wid-title h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 4px;
}

.service-widget-categories ul li {
    list-style: none !important;
    margin-bottom: 12px;
}

.service-widget-categories ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    padding: 18px 25px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-widget-categories ul li.active a,
.service-widget-categories ul li a:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(106, 86, 240, 0.25);
    transform: translateX(8px);
}

.service-widget-categories ul li a span i {
    font-size: 14px;
    transition: var(--transition);
}

/* CONTENT AREA Typography */
.service-details-content h3 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-main);
}

.service-details-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* SECONDARY IMAGES */
.service-details-content .thumb {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

.service-details-content .thumb img {
    width: 100%;
    transition: var(--transition);
}

.service-details-content .thumb:hover img {
    transform: scale(1.02);
}

/* LIST ITEMS Style */
.details-list li {
    margin-bottom: 15px !important;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
}

.details-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 18px;

}

/* --- Homepage Services Section - Ultra Premium Redesign --- */

.service-section {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%) !important;
    position: relative;
    padding-bottom: 140px !important;
}

.service-box-items {
    background: #ffffff;
    padding: 24px 30px;
    border-radius: 40px;
    /* More rounded for modern look */
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(106, 86, 240, 0.1);
    /* height: 100%; */
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.03);
}

/* Elegant background decoration */
.service-box-items::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
    transition: all 0.7s ease;
}

.service-box-items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6a56f0 0%, #4a38d1 100%);
    z-index: -2;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(100%) scale(1.1);
}

.service-box-items:hover {
    transform: translateY(-25px);
    box-shadow: 0 50px 100px rgba(106, 86, 240, 0.2);
    border-color: transparent;
}

.service-box-items:hover::before {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-box-items:hover::after {
    transform: translate(-30px, 30px) scale(2);
    opacity: 0.1;
    background: #fff;
}

/* Icon Styling - Sophisticated Glassmorphism */
.service-box-items .icon {
    width: 85px;
    height: 85px;
    background: #fff;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 15px 35px rgba(106, 86, 240, 0.12);
    border: 1px solid rgba(106, 86, 240, 0.08);
}

.service-box-items:hover .icon {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px) rotateY(180deg);
}

.service-box-items .icon img {
    max-width: 42px;
    transition: all 0.6s ease;
}

.service-box-items:hover .icon img {
    filter: brightness(0) invert(1);
    transform: rotateY(-180deg);
}

/* Content & Typography - Enhanced Visual Hierarchy */
.service-box-items .content h4 a {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 22px;
    display: block;
    transition: all 0.5s ease;
    color: var(--text-main);
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.service-box-items .content p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-muted);
    transition: all 0.5s ease;
    margin-bottom: 0;
    opacity: 0.9;
}

.service-box-items:hover .content h4 a,
.service-box-items:hover .content p {
    color: #ffffff !important;
    opacity: 1;
}

/* Premium Button with Circular Indicator */
.service-box-items .link-btn {
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 40px;
    transition: all 0.5s ease;
    background: transparent;
    border: none;
}

.service-box-items .link-btn i {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-box-items:hover .link-btn {
    color: #ffffff;
}

.service-box-items:hover .link-btn i {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateX(8px) rotate(45deg);

}

/* --- Logo Sizing & Responsive Fixes --- */
.header-main .logo img {
    max-height: 55px;
    /* Professional size */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

/* Offcanvas (Sidebar) Logo */
.offcanvas__logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Sticky Header Adjustment */
#header-sticky.sticky .header-main .logo img {
    max-height: 45px;
}