/*
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);
    --header: #1a1a1a;
}

/* 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;
}

/* --- Blog Details & News Styling --- */
.news-details-section .row {
    display: flex !important;
    flex-wrap: wrap;
}

.news-details-items {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f5;
    margin-bottom: 40px;
}

.news-details-items .details-image img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 30px;
}

/* Post Meta Refinement */
.news-details-content .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f5;
    padding-bottom: 15px;
    list-style: none !important;
}

.news-details-content .post-meta li {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none !important;
}

.news-details-content .post-meta li i {
    color: var(--primary-color);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    background: #fcfbff !important;
    border: 1px solid #f0f0f5;
    padding: 30px !important;
    margin: 50px 0;
    border-radius: 20px;
    transition: var(--transition);
}

.author-box:hover {
    box-shadow: 0 15px 35px rgba(106, 86, 240, 0.1) !important;
    transform: translateY(-5px);
}

.author-box .author-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.author-content h5 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

/* Comments Styling */
.comments-area {
    margin-top: 60px;
}

.comments-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 40px;
}

.comment-list {
    padding: 0;
    list-style: none;
}

.comment-body {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f5;
}

.comment-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.comment-meta b {
    font-size: 17px;
    font-weight: 800;
    color: var(--header);
}

/* Comment Form */
.comment-respond {
    background: #fcfbff;
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid #f0f0f5;
    margin-top: 50px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid #e1e1e7;
    margin-bottom: 20px;
    outline: none;
}

.comment-form .submit {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form .submit:hover {
    background: var(--header);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 86, 240, 0.2);
}

/* Sidebar Styling */
.single-sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f5;
    margin-bottom: 40px;
}

.widget-title h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.widget-title h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 4px;
}

.recent-posts li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.recent-posts li .thumb {
    flex-shrink: 0;
}

.recent-posts li .thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.recent-posts li .content h6 a {
    color: var(--header);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    transition: var(--transition);
}

.recent-posts li .content h6 a:hover {
    color: var(--primary-color);
}

.category-list li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

/* Pagination Area */
.pagination-area .page-numbers {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    font-weight: 700;
    margin: 0 5px;
    border: 1px solid #f0f0f5;
    transition: var(--transition);
}

.pagination-area .page-numbers.current,
.pagination-area .page-numbers:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
}

/* Blog Archive Cards */
.news-box-items {
    background: #fff;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #f0f0f5;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-box-items:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 70px rgba(106, 86, 240, 0.12);
}

.news-box-items .news-image {
    position: relative;
    overflow: hidden;
}

.news-box-items .news-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.news-image .post-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.news-image .post-date h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff !important;
    margin: 0;
}

.news-image .post-date span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 30px;
    flex-grow: 1;
}

.news-content h5 a {
    font-size: 21px;
    font-weight: 800;
    color: var(--header);
    transition: var(--transition);
}

.news-content h5 a:hover {
    color: var(--primary-color);
}

/* Sticky Header & Others */
#header-sticky.sticky .header-main .logo img {
    max-height: 45px;
}

.color-theme {
    color: var(--primary-color) !important;
}

/* --- Universal Post Meta (Horizontal) --- */
.post-meta {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0 0 15px 0;
    list-style: none !important;
}

.post-meta li {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none !important;
}

.post-meta li i {
    color: var(--primary-color);
    font-size: 15px;
}

/* --- News Box Items Typography --- */
.news-box-items .news-content h5 {
    margin-bottom: 15px;
}

.news-box-items .news-content h5 a {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--header);
    transition: var(--transition);
    text-decoration: none;
}

.news-box-items .news-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Stylish Read More Link */
.news-box-items .link-btn {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--header);
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.news-box-items .link-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.news-box-items .link-btn:hover {
    color: var(--primary-color);
}

.news-box-items .link-btn:hover::after {
    width: 100%;
}

.news-box-items .link-btn i {
    font-size: 14px;
    color: var(--primary-color);
    transition: var(--transition);
}

.news-box-items .link-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .news-details-section .col-lg-4 {
        margin-top: 50px;
    }
}

/* Search Widget Refinement */
.search-widget form {
    position: relative;
    display: flex;
}

.search-widget input {
    height: 55px;
    border-radius: 15px !important;
    padding-right: 60px !important;
}

.search-widget button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 45px;
    height: 45px;
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
}

.search-widget button:hover {
    background: var(--header) !important;
}

/* Entry Content Typography */
.entry-content {
    color: var(--text-muted);
}

.entry-content p {
    margin-bottom: 25px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--text-main);
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.entry-content h1 {
    font-size: 42px;
}

.entry-content h2 {
    font-size: 32px;
}

.entry-content h3 {
    font-size: 26px;
}

.entry-content h4 {
    font-size: 22px;
}

.entry-content h5 {
    font-size: 20px;
}

.entry-content h6 {
    font-size: 18px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.entry-content ul li {
    list-style: disc;
    margin-bottom: 10px;
}

.entry-content ol li {
    list-style: decimal;
    margin-bottom: 10px;
}

.entry-content blockquote {
    background: var(--bg-light);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    color: var(--text-main);
}

/* Comment Form Spacing */
.comment-form-author,
.comment-form-email,
.comment-form-url {
    width: 31% !important;
    display: inline-block;
    margin-right: 2%;
}

.comment-form-url {
    margin-right: 0;
}

@media (max-width: 767px) {

    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        width: 100% !important;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.comment-form-comment textarea {
    min-height: 150px;
}