/*
Theme Name: Digital Hive By Megha
Theme URI: https://digitalhivebymegha.com/
Author: APS-WAAN
Author URI: https://github.com/
Description: Custom WordPress theme rebuilt from digitalhivebymegha.com with modern responsive layouts, sleek dark modes, premium typography, custom menus, and animations.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalhive
Tags: custom-menu, featured-images, translation-ready, dark, gold, purple, agency, portfolio, animations
*/

/* ==========================================================================
   PREMIUM CUSTOM STYLES & INTERACTION OVERRIDES
   ========================================================================== */

/* 1. Reset Core variables to match the original high-contrast light theme colors */
:root {
    --body: #ffffff !important;
    --white: #ffffff !important;
    --header: #17012C !important;      /* Elegant Deep Dark Violet headings */
    --text: #504E4E !important;        /* Deep Gray body text */
    --border: #E5E5E5 !important;
    --bg: #F6F3FE !important;          /* Light Lavender sections */
}

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap");

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: var(--body) !important;
    color: var(--text) !important;
    margin: 0;
    padding: 0;
}

/* Ensure headings are dark violet for readability */
h1, h2, h3, h4, h5, h6, 
.section-title h2,
.about-content .section-title h2 {
    font-family: "Outfit", sans-serif !important;
    color: var(--header) !important;
}

/* Specific styling for the circle progress bar labels */
.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .content h6 {
    color: var(--header) !important;
    font-weight: 700 !important;
}

/* Circle progress indicator percentage inner contrast */
.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div span {
    background-color: var(--bg) !important;
    color: var(--header) !important;
}

/* 2. Hero Section Text Color fixes (Force white text on dark background images) */
.hero-section,
.hero-section h1,
.hero-section span,
.hero-section p,
.hero-section .video-right p {
    color: #ffffff !important;
}

.hero-section h1 {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* 3. Glassmorphic Navigation Menu & Layout Wrapping Prevention */
.header-1 {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.header-1.header-sticky {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(239, 177, 14, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

/* WordPress Admin Bar alignment fix for sticky top bar */
body.admin-bar #header-sticky {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar #header-sticky {
        top: 46px !important;
    }
}

/* ==========================================================================
   FULL-WIDTH SOLID TOP NAVBAR (Clean, Edge-to-Edge, Highly Readable)
   ========================================================================== */

.header-1.style-2,
#header-sticky {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 25px rgba(23, 1, 44, 0.08) !important;
    border-bottom: 1px solid rgba(82, 39, 255, 0.08) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-1.style-2 .container-fluid {
    padding: 0 clamp(20px, 3vw, 50px) !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.header-1.style-2 .mega-menu-wrapper {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Remove legacy pseudo-elements */
.header-1.style-2 .mean__menu-wrapper::before,
.header-1.style-2 .mean__menu-wrapper::after,
.header-1.style-2 .header-main::before,
.header-1.style-2 .header-main::after,
.header-1.style-2 .mega-menu-wrapper::before,
.header-1.style-2 .mega-menu-wrapper::after {
    display: none !important;
    content: none !important;
}

.header-1.style-2 .header-main {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: clamp(10px, 1vw, 16px) 0 !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 1. RESET LOGO (Left Column) */
.header-1.style-2 .header-main .logo,
.header-1.style-2 .header-main .logo.custom-logo {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-self: start !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-1.style-2 .header-main .logo img {
    height: clamp(38px, 2.8vw, 48px) !important;
    max-height: clamp(38px, 2.8vw, 48px) !important;
    width: auto !important;
    display: block !important;
}

/* 2. RESET CENTER MENU (True Dead Center Column) */
.header-1.style-2 .header-main .mean__menu-wrapper {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 clamp(8px, 1.2vw, 20px) !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    flex-grow: 1 !important;
    max-width: none !important;
}

.header-1.style-2 .main-menu {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-1.style-2 .main-menu nav > ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: clamp(6px, 1.2vw, 24px) !important;
}

.header-1.style-2 .main-menu nav > ul > li {
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.header-1.style-2 .main-menu ul li a {
    color: #17012C !important;
    font-weight: 700 !important;
    font-size: clamp(13.5px, 0.95vw + 1.5px, 16px) !important;
    padding: clamp(6px, 0.6vw, 10px) clamp(8px, 0.9vw, 18px) !important;
    border-radius: 30px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    letter-spacing: 0.2px;
}

.header-1.style-2 .main-menu ul li a:hover,
.header-1.style-2 .main-menu ul li.active > a {
    color: #5227FF !important;
    background: rgba(82, 39, 255, 0.07) !important;
}

/* 3. RESET RIGHT BUTTON (Right Column) */
.header-1.style-2 .header-main .header-right {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-self: end !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

/* Hide Hamburger Menu on Desktop Screens (>=992px) */
@media screen and (min-width: 992px) {
    .header__hamburger,
    .sidebar__toggle,
    #menu-toggle-btn {
        display: none !important;
    }
}

.header-1.style-2 .main-button {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.header-1.style-2 .main-button a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-decoration: none !important;
}

.header-1.style-2 .main-button .theme-btn {
    background: #EFB10E !important;
    color: #17012C !important;
    font-weight: 800 !important;
    font-size: clamp(12.5px, 0.9vw + 1px, 15px) !important;
    letter-spacing: 0.3px !important;
    padding: clamp(8px, 0.8vw, 13px) clamp(14px, 1.4vw, 26px) !important;
    border-radius: 40px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(239, 177, 14, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.header-1.style-2 .main-button .arrow-btn {
    width: clamp(38px, 2.8vw, 48px) !important;
    height: clamp(38px, 2.8vw, 48px) !important;
    background: #EFB10E !important;
    color: #17012C !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: clamp(13px, 1vw, 16px) !important;
    box-shadow: 0 4px 14px rgba(239, 177, 14, 0.35) !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
}

/* Sticky on Scroll */
.header-1.style-2.sticky,
#header-sticky.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 6px 30px rgba(23, 1, 44, 0.1) !important;
}

/* Hero Section & Internal Page Vertical Spacing */
.hero-section {
    padding-top: 110px !important;
}

.contact-hero {
    padding-top: 145px !important;
}

/* SQUEEZED STATE (When chatbot is open) */
body.dh-chat-open .header-1.style-2,
body.dh-chat-open #header-sticky {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(23, 1, 44, 0.08) !important;
}

body.dh-chat-open .header-1.style-2 .container-fluid {
    padding: 0 24px !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.dh-chat-open .header-1.style-2 .header-main {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    padding: 10px 0 !important;
    width: 100% !important;
}

body.dh-chat-open .header-1.style-2 .header-main .logo img {
    height: 42px !important;
    max-height: 42px !important;
}

body.dh-chat-open .header-1.style-2 .main-menu ul li a {
    font-size: 14px !important;
    padding: 8px 12px !important;
}

body.dh-chat-open .header-1.style-2 .main-button .theme-btn {
    padding: 10px 20px !important;
    font-size: 13.5px !important;
}

body.dh-chat-open .header-1.style-2 .main-button .arrow-btn {
    width: 40px !important;
    height: 40px !important;
}

body.dh-chat-open .hero-section {
    padding-top: 110px !important;
}

body.dh-chat-open .hero-section .hero-title img {
    max-width: 80% !important;
    height: auto !important;
}

body.dh-chat-open .hero-content h1 {
    font-size: clamp(26px, 2.6vw, 44px) !important;
    line-height: 1.15 !important;
}

body.dh-chat-open .hero-image img {
    max-width: 85% !important;
    height: auto !important;
}

.main-menu > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #6a47ed;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-menu > ul > li > a:hover::after,
.main-menu > ul > li.active > a::after {
    width: 24px;
}

.main-menu > ul > li > a:hover {
    color: #6a47ed !important;
}

/* Dropdown Submenu design with slide-up transitions */
.main-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 310px; /* Expanded width to keep text on one single line */
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(106, 71, 237, 0.08) !important;
    box-shadow: 0 20px 45px rgba(23, 1, 44, 0.08) !important;
    border-radius: 14px !important;
    padding: 10px 0 !important; /* Reduced vertical padding from 18px to 10px */
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    z-index: 999;
    display: block !important; /* Force block vertical layout */
}

.main-menu .submenu li {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

.main-menu .submenu li a {
    display: block !important;
    padding: 8px 20px !important; /* Compact link padding from 12px 24px to 8px 20px */
    font-size: 13px !important; /* Slightly smaller font size for high-end look */
    font-weight: 600 !important;
    color: var(--header) !important;
    text-align: left !important;
    text-transform: none !important;
}
.main-menu > ul > li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Multi-level Dropdowns (AI Services Nested Submenus) */
.main-menu .submenu li.has-dropdown {
    position: relative;
}

.main-menu .submenu li .submenu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 10px;
    transform: translateX(15px);
}

.main-menu .submenu li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Submenu chevrons */
.main-menu > ul > li > a i {
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.main-menu > ul > li:hover > a i {
    transform: rotate(180deg);
}

.main-menu .submenu li.has-dropdown > a i {
    float: right;
    margin-top: 4px;
    transform: rotate(0deg);
}

.main-menu .submenu li.has-dropdown:hover > a i {
    transform: rotate(-90deg);
}

/* Force CTA Buttons not to wrap & add elegant gap */
.main-button a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.header-right {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}

/* 4. Offcanvas Mobile Drawer styling & Staggered Menu Animations */
.offcanvas__info {
    background: #ffffff !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    transform: translateX(100%) !important;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.offcanvas__info.active {
    transform: translateX(0) !important;
}

.offcanvas__contact h4 {
    color: #17012c !important;
}

.offcanvas__contact-text a {
    color: #17012c !important;
}

.offcanvas__wrapper p {
    color: #504e4e !important;
}

.offcanvas__close button {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.offcanvas__close button:hover {
    background: #efb10e !important;
    color: #0c0a15 !important;
}

/* Staggered slide-in keyframe animations for Mobile links */
.offcanvas__info .mobile-menu ul li {
    opacity: 0;
    transform: translateX(30px);
    transition: none !important; /* Cancel instant transitions to let keyframes take over */
}

.offcanvas__info.active .mobile-menu ul li {
    animation: slideInStaggered 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Staggered index delays */
.offcanvas__info.active .mobile-menu > ul > li:nth-child(1) { animation-delay: 0.1s; }
.offcanvas__info.active .mobile-menu > ul > li:nth-child(2) { animation-delay: 0.15s; }
.offcanvas__info.active .mobile-menu > ul > li:nth-child(3) { animation-delay: 0.2s; }
.offcanvas__info.active .mobile-menu > ul > li:nth-child(4) { animation-delay: 0.25s; }
.offcanvas__info.active .mobile-menu > ul > li:nth-child(5) { animation-delay: 0.3s; }
.offcanvas__info.active .mobile-menu > ul > li:nth-child(6) { animation-delay: 0.35s; }
.offcanvas__info.active .mobile-menu > ul > li:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideInStaggered {
    from {
        opacity: 0;
        transform: translateX(35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 5. Luxury Buttons & Hover Animations */
.theme-btn {
    background: linear-gradient(135deg, #6a47ed 0%, #efb10e 100%) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 10px 25px rgba(106, 71, 237, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 13px 26px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #efb10e 0%, #6a47ed 100%) !important;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.theme-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(239, 177, 14, 0.3) !important;
    color: #ffffff !important;
}

.theme-btn:hover::before {
    opacity: 1;
}

.main-button .arrow-btn {
    background: #efb10e !important;
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    box-shadow: 0 10px 20px rgba(239, 177, 14, 0.15) !important;
}

.main-button:hover .arrow-btn {
    transform: rotate(45deg) scale(1.05) !important;
    background: #6a47ed !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(106, 71, 237, 0.3) !important;
}

/* 6. Card Overrides */
.service-box-items, 
.pricing-box-items, 
.news-box-items, 
.testimonial-box-items {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.service-box-items:hover,
.pricing-box-items:hover,
.news-box-items:hover,
.testimonial-box-items:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(106, 71, 237, 0.2) !important;
    box-shadow: 0 30px 60px rgba(106, 71, 237, 0.08) !important;
}

.service-box-items .icon {
    background: rgba(106, 71, 237, 0.05) !important;
    border-radius: 12px !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease !important;
}

.service-box-items:hover .icon {
    background: #6a47ed !important;
    transform: scale(1.1);
}

.service-box-items h4 a {
    color: var(--header) !important;
}

.service-box-items p {
    color: var(--text) !important;
}

/* 7. Testimonial Box Styling */
.testimonial-box-items {
    background: #ffffff !important;
}

.testimonial-box-items .content p {
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: var(--text) !important;
}

/* 8. Form Fields */
.contact-form-area input, 
.contact-form-area textarea {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px !important;
    color: var(--header) !important;
    padding: 16px 20px !important;
    transition: all 0.3s ease !important;
}

.contact-form-area input:focus, 
.contact-form-area textarea:focus {
    border-color: #6a47ed !important;
    box-shadow: 0 0 15px rgba(106, 71, 237, 0.1) !important;
}

/* 9. Interactive Mouse Cursor Styles */
.mouse-cursor {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.1s ease;
}

.cursor-outer {
    width: 35px;
    height: 35px;
    border: 1.5px solid rgba(239, 177, 14, 0.8);
    background: transparent;
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.cursor-inner {
    width: 8px;
    height: 8px;
    background-color: #6a47ed;
    box-shadow: 0 0 10px rgba(106, 71, 237, 0.5);
}

/* Hover scales for cursor */
body.custom-cursor-active a:hover ~ .cursor-outer,
body.custom-cursor-active button:hover ~ .cursor-outer,
body.custom-cursor-active .theme-btn:hover ~ .cursor-outer {
    width: 55px;
    height: 55px;
    border-color: #6a47ed;
    background: rgba(106, 71, 237, 0.06);
}

/* 10. Keyframes */
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

/* Ensure WOW items have fallback visibility */
.wow {
    visibility: visible !important;
}

/* ==========================================================================
   SUBPAGE & BLOG ARCHIVE LAYOUT STYLING
   ========================================================================== */

.interior-hero {
    background: radial-gradient(circle at 50% 50%, rgba(106, 71, 237, 0.03) 0%, transparent 80%), var(--bg);
    padding: 160px 0 70px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 50px;
    text-align: center;
}

.interior-hero .page-title {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 900;
    letter-spacing: -1px;
}

.interior-hero .breadcrumbs {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.interior-hero .breadcrumbs a {
    color: #6a47ed;
    text-decoration: none;
    font-weight: 700;
}

.archive-container-grid,
.post-container-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .archive-container-grid,
    .post-container-grid {
        grid-template-columns: 1fr;
    }
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(106, 71, 237, 0.2);
    box-shadow: 0 25px 50px rgba(106, 71, 237, 0.08);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 30px;
}

.blog-card-body .blog-date {
    font-size: 13px;
    color: #6a47ed;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-body h3 {
    font-size: 22px;
    margin: 12px 0;
    line-height: 1.4;
    font-weight: 800;
}

.blog-card-body h3 a {
    color: var(--header);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-body h3 a:hover {
    color: #efb10e;
}

.blog-card-body p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-read-more {
    color: #6a47ed;
    font-weight: 800;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.blog-read-more i {
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.blog-read-more:hover i {
    transform: translateX(6px);
}

/* Sidebar Widgets */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sidebar-widget h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #efb10e;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border);
}

.sidebar-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--header);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.sidebar-widget ul li a:hover {
    color: #6a47ed;
}

/* Pagination box styles */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
}

.pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--header);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #6a47ed;
    color: #ffffff;
    border-color: #6a47ed;
}

/* Single Post Hero & Content */
.post-hero {
    text-align: center;
    padding: 180px 0 90px 0;
}

.post-hero .post-category a {
    background: rgba(106, 71, 237, 0.08);
    color: #6a47ed;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.post-hero .page-title {
    font-size: 52px;
    margin-top: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.post-hero .post-meta {
    margin-top: 20px;
    color: var(--text);
    font-size: 15px;
}

.post-hero .post-meta .meta-item {
    margin: 0 12px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
}

.post-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

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

.entry-content p {
    margin-bottom: 25px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.post-navigation a {
    color: #6a47ed;
    font-weight: 800;
    text-decoration: none;
    font-size: 15px;
}

.post-navigation a:hover {
    color: #efb10e;
}

/* ==========================================================================
   MAGICUI MARQUEE COMPONENT STYLE PORT
   ========================================================================== */

.magic-marquee-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
}

/* Gradient fade boundaries matching MagicUI Vercel design */
.magic-marquee-container::before,
.magic-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    z-index: 2;
    pointer-events: none;
}

.magic-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.magic-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.magic-marquee-row {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.magic-marquee-row.row-1 {
    animation: marqueeScrollForward 30s linear infinite;
}

.magic-marquee-row.row-2 {
    animation: marqueeScrollBackward 30s linear infinite;
}

/* Pause on hover state */
.magic-marquee-container:hover .magic-marquee-row {
    animation-play-state: paused;
}

/* Testimonial Header Right & Google Rating Pill */
.dh-testimonial-title-area {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.dh-testimonial-header-right {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.dh-testimonial-header-right p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
}

.dh-google-rating-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(106, 71, 237, 0.15);
    border-radius: 50px;
    padding: 5px 6px 5px 14px;
    box-shadow: 0 4px 18px rgba(23, 1, 44, 0.05);
    white-space: nowrap;
}

.dh-grp-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dh-grp-icon {
    display: flex;
    align-items: center;
}

.dh-grp-score {
    font-size: 15px;
    font-weight: 800;
    color: var(--header);
    line-height: 1;
}

.dh-grp-stars {
    display: inline-flex;
    gap: 2px;
    color: #fbbc04;
    font-size: 11.5px;
}

.dh-grp-divider {
    color: rgba(23, 1, 44, 0.18);
    font-size: 12px;
    margin: 0 1px;
}

.dh-grp-count {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    opacity: 0.8;
}

.dh-grp-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #17012c;
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1.4;
}

.dh-grp-cta:hover {
    background: #6a47ed;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(106, 71, 237, 0.3);
}

/* Review Cards design matching the React figure element exactly */
.magic-review-card {
    position: relative;
    width: 320px;
    background: rgba(23, 1, 44, 0.02) !important;
    border: 1px solid rgba(23, 1, 44, 0.06) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 4px 20px rgba(23, 1, 44, 0.01) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    margin: 0 !important;
    cursor: pointer;
    user-select: none;
}

.magic-review-card:hover {
    background: rgba(106, 71, 237, 0.04) !important;
    border-color: rgba(106, 71, 237, 0.15) !important;
    transform: translateY(-2px);
}

.magic-review-card .card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.magic-review-card .avatar {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.magic-review-card .user-meta {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.magic-review-card .name {
    font-size: 14px;
    font-weight: 700;
    color: var(--header);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dh-verified-badge {
    color: #1a73e8;
    font-size: 12px;
}

.dh-review-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

.dh-card-stars {
    display: inline-flex;
    gap: 2px;
    color: #fbbc04;
    font-size: 10px;
}

.dh-card-g-icon {
    margin-left: auto;
    font-size: 16px;
    color: #4285F4;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.magic-review-card:hover .dh-card-g-icon {
    transform: scale(1.15);
}

.magic-review-card .username {
    font-size: 11.5px;
    color: var(--text);
    opacity: 0.65;
    margin: 0;
}

.magic-review-card .body {
    font-size: 13.5px;
    color: var(--text);
    margin-top: 12px !important;
    line-height: 1.55;
    font-weight: 500;
    opacity: 0.9;
}

/* Animations definition */
@keyframes marqueeScrollForward {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marqueeScrollBackward {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS AND SPACE OPTIMIZATION
   ========================================================================== */

@media (max-width: 991px) {
    .header-right {
        gap: 12px !important;
        align-items: center !important;
    }
    
    .theme-toggle-btn {
        margin-right: 0 !important;
    }
    
    /* Hide the bulky desktop CTA on mobile viewports to prevent layout wrapping */
    .header-right .main-button {
        display: none !important;
    }
    
    .header-main {
        justify-content: space-between !important;
        padding: 15px 0 !important;
    }
    
    .logo img {
        max-height: 40px !important;
        width: auto !important;
    }
    
    /* Adjust SVG text loop sizing on small viewports */
    .text-loop-container {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
}
/* ==========================================================================
   SCROLL-TO-TOP BUTTON (Back to Top)
   ========================================================================== */

/* Header-injected back-to-top button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6a47ed 0%, #efb10e 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(106, 71, 237, 0.35);
    font-size: 16px;
}

.back-to-top.active,
.back-to-top:not([style*="display: none"]):focus {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 35px rgba(106, 71, 237, 0.45);
}

/* Floating Back to Top Button */
.scroll-icon {
    position: fixed !important;
    right: 28px !important;
    bottom: 86px !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, #6a47ed 0%, #17012c 100%) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999980 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 8px 24px rgba(106, 71, 237, 0.35) !important;
    text-decoration: none !important;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
}

.scroll-icon.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.scroll-icon:hover {
    transform: translateY(-3px) scale(1.08) !important;
    background: linear-gradient(135deg, #7c58ff 0%, #6a47ed 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(106, 71, 237, 0.45) !important;
}

/* Submenu Dark Mode Overrides */
body.dark-theme .main-menu .submenu {
    background: #171424 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme .main-menu .submenu li a {
    color: #d5d2ee !important;
}

body.dark-theme .main-menu .submenu li a:hover {
    color: #ffffff !important;
    background: rgba(106, 71, 237, 0.15) !important;
}

/* Strategic Value Cards hover rules: highlight the card border, not the icon */
.service-box-items {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1.5px solid var(--border) !important;
}

.service-box-items:hover {
    border-color: #6a47ed !important;
    box-shadow: 0 15px 35px rgba(106, 71, 237, 0.15) !important;
    transform: translateY(-5px) !important;
}

/* Keep icon container styling constant on card hover */
.service-box-items:hover .icon {
    background: rgba(106, 71, 237, 0.08) !important;
    transform: none !important;
}

/* Force About page pillars to adopt clean vertical centering and alignment */
.core-values .service-box-items {
    display: block !important;
    text-align: center !important;
}

.core-values .service-box-items .icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    margin: 0 auto 20px auto !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

.core-values .service-box-items .content {
    padding-left: 0 !important;
    text-align: center !important;
}

/* Keyframes for the elegant tilted scrolling marquee */
@keyframes diagonalMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   FOOTER STYLES (Dark Blue / Deep Purple Theme)
   ========================================================================== */
.footer-section,
.footer-section.footer-bg,
section.footer-section,
section.footer-section.footer-bg,
.footer-bg {
    background-color: #0e0523 !important;
    background: linear-gradient(180deg, #130429 0%, #090114 100%) !important;
    background-image: none !important;
    color: #ffffff !important;
    padding-top: 80px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(106, 71, 237, 0.2);
}

.footer-section p,
.footer-section span,
.footer-section li,
.footer-section .footer-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px;
    line-height: 1.65;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.footer-section .widget-head.custom-logo img {
    background: #ffffff !important;
    border-radius: 50% !important;
}

.footer-section a:hover {
    color: #efb10e !important;
    padding-left: 5px;
}

.footer-section .single-footer-widget .widget-head h3 {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    font-family: "Outfit", sans-serif !important;
    letter-spacing: 0.3px;
}

.footer-section .single-footer-widget .widget-head h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2.5px;
    background-color: #efb10e !important;
    border-radius: 2px;
}

/* Social icons */
.footer-section .social-icon a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 15px;
}

.footer-section .social-icon a:hover {
    background: #6a47ed;
    border-color: #6a47ed;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(106, 71, 237, 0.35);
}

/* List Areas styling with double chevron look */
.footer-section .list-area li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-section .list-area li a {
    display: inline-block;
}

/* Contact details alignment */
.footer-section .contact-info {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-section .contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-section .contact-info li i,
.footer-section .contact-info i,
.footer-section i.fa-regular,
.footer-section i.fa-solid,
.single-footer-widget .contact-info li i {
    color: #ffffff !important;
    font-size: 16px;
    width: 20px;
    text-align: center;
    display: inline-block;
}

/* Dark Pill Box Newsletter container */
.footer-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 30px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s ease;
}

.footer-input-wrapper:focus-within {
    border-color: rgba(106, 71, 237, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.footer-input-wrapper input {
    border: none;
    outline: none;
    background: transparent;
    flex-grow: 1;
    color: #ffffff;
    font-size: 14px;
    padding: 0;
}

.footer-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-input-wrapper .newsletter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #efb10e;
    color: #17012c;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-input-wrapper .newsletter-btn:hover {
    background: #6a47ed;
    color: #FFFFFF;
    transform: scale(1.05);
}

.footer-section .form-check-input:checked {
    background-color: #efb10e;
    border-color: #efb10e;
}

.footer-section .form-check-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13.5px;
    font-weight: 400;
    cursor: pointer;
}

.footer-section .form-check-label a {
    color: #efb10e !important;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-section .form-check-label a:hover {
    color: #ffffff !important;
}

/* Footer bottom bar styles (Yellow background with sharp black text) */
.footer-bottom,
.footer-section .footer-bottom {
    background-color: #efb10e !important;
    border-top: none !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    margin-top: 60px;
}

.footer-bottom p,
.footer-bottom span,
.footer-bottom a,
.footer-section .footer-bottom p,
.footer-section .footer-bottom span,
.footer-section .footer-bottom a,
.footer-wrapper p,
.footer-wrapper a,
.footer-menu li a {
    color: #17012c !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.footer-bottom a:hover,
.footer-section .footer-bottom a:hover,
.footer-wrapper a:hover,
.footer-menu li a:hover {
    color: #5227ff !important;
}

body.dark-theme .footer-input-wrapper input {
    color: #ffffff !important;
}

body.dark-theme .footer-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

body.dark-theme .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .footer-bottom p,
body.dark-theme .footer-bottom a {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ==========================================================================
   SVG ICON COLOR SYSTEM
   ========================================================================== */

/* Service box SVG icons inherit theme purple in light mode */
.service-box-items .icon svg {
    color: #6a47ed;
    transition: color 0.3s ease;
}

.service-box-items:hover .icon svg {
    color: #ffffff !important;
}

/* Dark mode service card backgrounds (overrides inline style="background:#fff") */
body.dark-theme .service-box-items {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

body.dark-theme .service-box-items .icon {
    background: rgba(106, 71, 237, 0.15) !important;
}

body.dark-theme .service-box-items .icon svg {
    color: #a991ff;
}

body.dark-theme .service-box-items:hover .icon svg {
    color: #ffffff !important;
}

/* About page value cards - dark mode override */
body.dark-theme .core-values .service-box-items {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(106, 71, 237, 0.15) !important;
    box-shadow: 0 4px 24px rgba(106, 71, 237, 0.05) !important;
}

body.dark-theme .core-values .service-box-items h4 {
    color: #ffffff !important;
}

body.dark-theme .core-values .service-box-items p {
    color: rgba(213, 210, 238, 0.9) !important;
}

/* ==========================================================================
   PREMIUM FOOTER BORDER-TOP ACCENT
   ========================================================================== */

/* Light mode: gold underline on heading */
.footer-section .single-footer-widget .widget-head h3::after {
    background-color: #efb10e !important;
}

/* Dark mode footer widget heading underline */
body.dark-theme .footer-section .single-footer-widget .widget-head h3::after {
    background-color: #efb10e !important;
}

/* Ensure scroll-icon in dark mode stays visible */
body.dark-theme .scroll-icon {
    box-shadow: 0 8px 25px rgba(106, 71, 237, 0.5) !important;
}

/* footer-bottom dark mode border */
body.dark-theme .footer-section .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   BRAND LOGO SLIDER - DARK / LIGHT MODE
   ========================================================================== */

.brand-wrapper {
    padding: 30px 0 40px 0;
    position: relative;
}

.brand-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #17012c;
    margin-bottom: 30px;
    text-align: center;
}

body.dark-theme .brand-title {
    color: #ffffff !important;
}

.brand-img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 8px 10px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.brand-logo-link:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.06);
    filter: drop-shadow(0 6px 14px rgba(82, 39, 255, 0.18));
}

.brand-svg {
    height: 44px;
    width: auto;
    max-width: 230px;
    display: block;
}

/* Light mode: SVG text uses bold dark ink */
.brand-svg text {
    fill: #17012c;
}

/* Dark mode: flip SVG text to bright white */
body.dark-theme .brand-svg text {
    fill: #ffffff !important;
}

/* Notion brand block in dark mode */
body.dark-theme .notion-box-bg {
    fill: #ffffff !important;
}

body.dark-theme .notion-logo-svg path {
    fill: #17012c !important;
}

/* ==========================================================================
   BLOGS PAGE - DARK MODE CARD OVERRIDES
   ========================================================================== */

/* Blog cards in dark mode */
body.dark-theme .blog-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-theme .blog-card:hover {
    background: rgba(106, 71, 237, 0.07) !important;
    border-color: rgba(106, 71, 237, 0.35) !important;
}

body.dark-theme .blog-card-body h3 a {
    color: #ffffff !important;
}

body.dark-theme .blog-card-body p {
    color: rgba(213, 210, 238, 0.85) !important;
}

/* Blog card fallback gradient dark mode */
body.dark-theme .blog-card > div[style*="linear-gradient"] {
    background: linear-gradient(135deg, rgba(106,71,237,0.2) 0%, rgba(239,177,14,0.12) 100%) !important;
}

/* ==========================================================================
   INTERIOR HERO - DARK MODE
   ========================================================================== */

body.dark-theme .interior-hero {
    background: radial-gradient(circle at 50% 50%, rgba(106,71,237,0.08) 0%, transparent 80%), #0c0a15 !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-theme .interior-hero .page-title {
    color: #ffffff !important;
}

body.dark-theme .interior-hero .breadcrumbs {
    color: rgba(213, 210, 238, 0.7) !important;
}

/* ==========================================================================
   OFFCANVAS MOBILE DRAWER & MENU OVERRIDES (Match Reference Image)
   ========================================================================== */

/* Background & Typography color for light theme offcanvas drawer */
.offcanvas__info {
    background: #ffffff !important;
    color: #17012c !important;
}

.offcanvas__contact h4 {
    color: #17012c !important;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
}

.offcanvas__contact-text a {
    color: #17012c !important;
}

.offcanvas__wrapper p {
    color: #504e4e !important;
}

/* Close button - yellow circle with white X */
.offcanvas__close button {
    background: #efb10e !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.offcanvas__close button:hover {
    background: #17012c !important;
    color: #ffffff !important;
}

/* Gray separator lines on list items */
.mean-container .mean-nav ul li,
.offcanvas__info .mobile-menu ul li {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
    display: block !important;
    visibility: visible !important;
}

.mean-container .mean-nav ul li a,
.offcanvas__info .mobile-menu ul li a {
    background: #ffffff !important;
    color: #17012c !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 12px 0 !important;
    border: none !important;
    display: block !important;
    visibility: visible !important;
}

/* Plus / Minus dropdown expand button matching style */
.mean-container .mean-nav ul li a.mean-expand {
    background: transparent !important;
    border: none !important;
    height: 30px !important;
    width: 30px !important;
    font-size: 22px !important;
    color: #17012c !important;
    line-height: 30px !important;
    text-align: center !important;
    padding: 0 !important;
    margin-top: 5px !important;
    font-weight: 300 !important;
}

/* Submenu items list styling */
.mean-container .mean-nav ul li ul li a {
    padding-left: 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #504e4e !important;
    border-top: none !important;
}

/* ==========================================================================
   MOBILE CRITICAL UX / UI POLISH
   ========================================================================== */

/* Fix mobile menu drawer size and layout behavior to occupy full screen */
.offcanvas__info {
    width: 100% !important; 
    max-width: 100% !important;
    padding: 40px 30px !important;
    z-index: 10000 !important;
    box-shadow: none !important;
}

/* Completely hide the purple clipping prelayers on mobile devices */
.sm-prelayers, 
#mobile-prelayers,
.sm-prelayer {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    pointer-events: none !important;
}

/* Ensure mobile overlay is correctly layered behind menu drawer */
.offcanvas__overlay {
    z-index: 9999 !important;
    background: rgba(23, 1, 44, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

/* Remove default styling padding around logo */
.offcanvas__logo img {
    max-height: 55px !important;
    width: auto !important;
}

/* Reset mobile menu container structure styles */
.mean-container .mean-bar {
    background: transparent !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.mean-container .mean-nav {
    margin-top: 25px !important;
    background: transparent !important;
}

/* Spacing and border alignments for contact info items in sidebar drawer */
.offcanvas__contact ul li {
    margin-bottom: 18px !important;
}

.offcanvas__contact h4 {
    margin-top: 30px !important;
}

/* Force mobile menu visibility overriding external CSS hides */
.mean-container .mean-bar,
.mean-container .mean-nav,
.mobile-menu,
.offcanvas__info .mobile-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Reset slide transitions for mobile menu li to prevent list item hiding */
.offcanvas__info .mobile-menu ul li,
.mean-container .mean-nav ul li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}/* Force mobile menu text color in dark mode (otherwise global dark theme makes links white on white) */
body.dark-theme .offcanvas__info,
body.dark-theme .offcanvas__info .mean-container .mean-nav ul li,
body.dark-theme .offcanvas__info .mean-container .mean-nav ul li a {
    background: #ffffff !important;
    color: #17012c !important;
}

body.dark-theme .offcanvas__info .mean-container .mean-nav ul li a.mean-expand {
    color: #17012c !important;
}

body.dark-theme .offcanvas__info .mean-container .mean-nav ul li ul li a {
    color: #504e4e !important;
    background: #ffffff !important;
}

body.dark-theme .offcanvas__contact h4,
body.dark-theme .offcanvas__contact-text a,
body.dark-theme .offcanvas__wrapper p {
    color: #17012c !important;
}

body.dark-theme .offcanvas__contact-icon {
    color: #efb10e !important;
}

/* Ensure Desktop Menu stays strictly horizontal on desktop screens (>=992px) */
@media screen and (min-width: 992px) {
    .mean-bar, 
    .mean-push, 
    .mean-container .mean-bar, 
    .mean-container .mean-nav {
        display: none !important;
    }
    
    .mean__menu-wrapper,
    .main-menu,
    .main-menu nav,
    #mobile-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
    
    .main-menu nav > ul,
    .main-menu > ul {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .main-menu nav > ul > li,
    .main-menu > ul > li {
        display: inline-flex !important;
        align-items: center !important;
        float: none !important;
        width: auto !important;
        padding: 15px 0 !important;
    }
    
    .main-menu ul li a {
        display: inline-flex !important;
        align-items: center !important;
        padding: 8px 10px !important;
        white-space: nowrap !important;
    }
}

/* Pricing Section Readability Override - Ensure text in dark headers is white */
.pricing-header .content h2,
.pricing-header .content h2 sub,
.pricing-header .content h4,
.pricing-box-items .pricing-header .content h2,
.pricing-box-items .pricing-header .content h4 {
    color: #ffffff !important;
}

/* ==========================================================================
   CASE STUDIES SHOWCASE - MODERN CARD GRID
   ========================================================================== */

.case-study-section {
    position: relative;
    overflow: hidden;
}

/* Featured Card (01) */
.dh-cs-featured-card {
    background: #ffffff;
    border: 1px solid rgba(82, 39, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 35px rgba(23, 1, 44, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.dh-cs-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(82, 39, 255, 0.16);
    border-color: rgba(82, 39, 255, 0.35);
}

.dh-cs-featured-thumb {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.dh-cs-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dh-cs-featured-card:hover .dh-cs-featured-thumb img {
    transform: scale(1.06);
}

.dh-cs-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 1, 44, 0.1) 0%, rgba(23, 1, 44, 0.5) 100%);
    pointer-events: none;
}

.dh-cs-featured-tags {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.dh-cs-tag {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #17012c;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, color 0.3s ease;
}

.dh-cs-tag i {
    font-size: 11px;
    color: #5227FF;
}

.dh-cs-featured-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dh-cs-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.dh-cs-num {
    font-size: 13px;
    font-weight: 800;
    color: #5227FF;
    background: rgba(82, 39, 255, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.dh-cs-badge {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dh-cs-featured-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.dh-cs-featured-title a {
    color: #17012c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dh-cs-featured-title a:hover {
    color: #5227FF;
}

.dh-cs-featured-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #504e4e;
    margin-bottom: 22px;
    flex-grow: 1;
}

.dh-cs-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #5227FF;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.dh-cs-link:hover {
    gap: 14px;
    color: #3b14cc;
}

/* Grid Cards (02, 03, 04, 05) */
.dh-cs-grid-card {
    background: #ffffff;
    border: 1px solid rgba(82, 39, 255, 0.1);
    border-radius: 20px;
    padding: 26px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(23, 1, 44, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    position: relative;
}

.dh-cs-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(82, 39, 255, 0.14);
    border-color: rgba(82, 39, 255, 0.35);
}

.dh-cs-card-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6A47ED;
    margin-bottom: 8px;
}

.dh-cs-card-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
}

.dh-cs-card-title a {
    color: #17012c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dh-cs-card-title a:hover {
    color: #5227FF;
}

.dh-cs-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #504e4e;
    margin-bottom: 18px;
    flex-grow: 1;
}

.dh-cs-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dh-cs-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #5227FF;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.dh-cs-card-btn:hover {
    gap: 12px;
    color: #3b14cc;
}

/* ==========================================================================
   CASE STUDIES SHOWCASE - DARK MODE
   ========================================================================== */
body.dark-theme .dh-cs-featured-card,
body.dark-theme .dh-cs-grid-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme .dh-cs-featured-card:hover,
body.dark-theme .dh-cs-grid-card:hover {
    border-color: rgba(106, 71, 237, 0.45) !important;
    box-shadow: 0 20px 45px rgba(106, 71, 237, 0.15) !important;
}

body.dark-theme .dh-cs-featured-title a,
body.dark-theme .dh-cs-card-title a {
    color: #ffffff !important;
}

body.dark-theme .dh-cs-featured-title a:hover,
body.dark-theme .dh-cs-card-title a:hover {
    color: #9d80ff !important;
}

body.dark-theme .dh-cs-featured-desc,
body.dark-theme .dh-cs-card-desc {
    color: rgba(213, 210, 238, 0.75) !important;
}

body.dark-theme .dh-cs-tag {
    background: rgba(15, 12, 28, 0.88) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .dh-cs-card-footer {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-theme .dh-cs-link,
body.dark-theme .dh-cs-card-btn {
    color: #9d80ff !important;
}

body.dark-theme .dh-cs-link:hover,
body.dark-theme .dh-cs-card-btn:hover {
    color: #c4b5fd !important;
}

body.dark-theme .dh-cs-num {
    background: rgba(106, 71, 237, 0.18) !important;
    color: #c4b5fd !important;
}

body.dark-theme .dh-cs-card-cat {
    color: #c4b5fd !important;
}

/* ==========================================================================
   AUDIENCE / SUCCESS STORIES SECTION - HIGH-END REDESIGN
   ========================================================================== */

.dh-audience-section {
    background: radial-gradient(circle at 10% 20%, rgba(138, 92, 255, 0.45) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(82, 39, 255, 0.35) 0%, transparent 60%),
                linear-gradient(135deg, #3d12d4 0%, #1f0775 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.dh-audience-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.dh-audience-pill i {
    color: #ffd13b;
    font-size: 12px;
}

.dh-audience-title {
    color: #ffffff !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.dh-audience-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* Proof Card */
.dh-audience-proof {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 18px 22px;
    max-width: 360px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.dh-proof-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dh-tp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00b67a;
    font-size: 13px;
    font-weight: 800;
    background: rgba(0, 182, 122, 0.15);
    padding: 3px 10px;
    border-radius: 12px;
}

.dh-stars {
    color: #ffb703;
    font-size: 13px;
    display: flex;
    gap: 3px;
}

.dh-proof-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dh-avatar-stack {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.dh-proof-text strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.dh-proof-text span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Showcase Container */
.dh-audience-showcase {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* 3D Visual Box */
.dh-showcase-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 340px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.dh-showcase-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dh-showcase-visual:hover img {
    transform: scale(1.05);
}

.dh-visual-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 12, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffd13b;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Stats Cards */
.dh-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dh-stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dh-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

.dh-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.dh-stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #3d12d4;
    line-height: 1.1;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.dh-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(82, 39, 255, 0.08);
    color: #5227FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.dh-stat-title {
    font-size: 16px;
    font-weight: 800;
    color: #17012c;
    margin-bottom: 4px;
}

.dh-stat-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #555555;
    margin-bottom: 0;
}

/* Stat Highlight Card */
.dh-stat-card-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 243, 255, 0.95) 100%);
    border: 1px solid rgba(138, 92, 255, 0.3);
}

.dh-stat-card-highlight .dh-stat-number {
    color: #059669;
}

.dh-stat-card-highlight .dh-stat-icon {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

@media (max-width: 991px) {
    .dh-testimonial-title-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .dh-google-rating-pill {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 16px;
        padding: 12px 14px;
        width: 100%;
        gap: 10px;
        white-space: normal;
    }
    .dh-grp-main {
        flex-wrap: wrap;
    }
    .dh-grp-cta {
        width: 100%;
        justify-content: center;
    }
}
