@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-solid-900.woff2') format('woff2'), url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-solid-900.woff') format('woff');
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-regular-400.woff2') format('woff2'), url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-regular-400.woff') format('woff');
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-brands-400.woff2') format('woff2'), url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/webfonts/fa-brands-400.woff') format('woff');
}

/* --- Modern Header & Floating Navigation --- */
.waxon_tm_topbar {
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.waxon_tm_topbar .logo img {
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.waxon_tm_topbar.animate {
    top: 20px !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 40px) !important;
    max-width: 1280px !important;
    transform: translateX(-50%) !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 50px !important;
    /* Pill shape for extreme elegance */
    padding: 12px 0 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    z-index: 100 !important;
}

.waxon_tm_topbar.animate .topbar_inner {
    padding: 0 40px !important;
}

/* Ensure dropdowns align correctly in floating state and bridge the hover gap */
.waxon_tm_topbar.animate .menu .anchor_nav>li .dropdown-menu {
    margin-top: 18px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Invisible bridge to prevent menu from disappearing when mouse moves over the gap */
.waxon_tm_topbar.animate .menu .anchor_nav>li .dropdown-menu::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    z-index: -1;
}

/* Smooth transition for logo size */
.waxon_tm_topbar.animate .logo img {
    max-width: 55px !important;
}

/* Navigation link refinements */
.waxon_tm_topbar.animate .menu .links ul li a {
    font-size: 16px;
    letter-spacing: 0.2px;
}

/* Dark Mode Overrides for Modern Header */
body.dark .waxon_tm_topbar.animate {
    background-color: rgba(20, 20, 20, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

body.dark .waxon_tm_topbar.animate .menu .links ul li a {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Refined Hover Effects for Navigation Links */
.waxon_tm_topbar .menu .links ul li a {
    transition: color 0.3s ease;
}

.waxon_tm_topbar.animate .menu .links ul li a:hover {
    opacity: 0.8;
}

/* Mobile Header Refinement */
@media (max-width: 1040px) {
    .waxon_tm_mobile_menu {
        padding: 10px 0;
        transition: all 0.3s ease;
    }

    .waxon_tm_mobile_menu .topbar_inner {
        background-color: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        padding: 15px 0 !important;
    }
}

/* Mobile hero text fix - force "beyond boundaries" to wrap to 2 lines */
@media (max-width:768px) {
    .waxon_tm_hero .content_inner {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box
    }

    .waxon_tm_hero .content_inner .name {
        width: 100%;
        max-width: 100%
    }

    .waxon_tm_hero .content_inner h1,
    .waxon_tm_hero .content_inner h2.hero-text-custom,
    .waxon_tm_hero .content_inner h3 {
        font-size: clamp(28px, 8vw, 42px) !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        white-space: normal;
        text-align: left;
        line-height: 1.2 !important
    }

    .waxon_tm_hero .content_inner h2.hero-text-custom {
        display: block;
        width: 100%;
        max-width: calc(100% - 30px);
        padding-right: 15px;
        box-sizing: border-box;
        word-break: break-word
    }

    .waxon_tm_hero .content_inner span {
        font-size: clamp(12px, 3.5vw, 16px);
        display: block;
        width: 100%;
        max-width: 100%;
        padding-top: 15px
    }
}

/* Background text (.bg) styling - now handled by unified-section-heading class */
/* Make background text visible on mobile - override display:none */
@media (max-width:1040px) {

    .unified-section-heading h2 .bg,
    .unified-section-heading h3 .bg {
        display: block !important;
        font-size: clamp(50px, 12vw, 80px) !important;
        opacity: .3 !important;
        -webkit-text-stroke: 1px rgba(0, 0, 0, .45) !important
    }
}

/* Unified section heading - independent class that works consistently everywhere */
.unified-section-heading {
    position: relative;
    overflow: visible
}

.unified-section-heading h2,
.unified-section-heading h3 {
    position: relative !important;
    display: inline-block !important;
    box-sizing: border-box;
    vertical-align: bottom;
    line-height: 1.4 !important;
    color: #000 !important;
    background: transparent !important;
    padding-bottom: 0 !important;
    margin: 0;
    overflow: visible;
    z-index: 1;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 35px
}

.unified-section-heading h2 .bg,
.unified-section-heading h3 .bg {
    position: absolute;
    bottom: -9px; /* Moved background text down 4px, making foreground appear higher */
    left: -6px;
    line-height: 100px;
    height: 100px;
    display: block !important;
    z-index: -1 !important;
    white-space: nowrap;
    pointer-events: none;
    visibility: visible !important;
    opacity: .3 !important;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .45) !important;
    font-size: 100px
}

.unified-section-heading h2 .bg.no-left-offset,
.unified-section-heading h3 .bg.no-left-offset {
    left: 0
}

/* Heading with top padding for specific sections */
.unified-section-heading h2.heading-top-padding,
.unified-section-heading h3.heading-top-padding {
    padding-top: 4%
}

/* Mobile adjustments for unified headings */
@media (max-width:768px) {

    .unified-section-heading h2.heading-top-padding,
    .unified-section-heading h3.heading-top-padding {
        padding-top: 10%
    }

    .unified-section-heading h2,
    .unified-section-heading h3 {
        font-size: 22px
    }
}

/* Layout shift prevention - reserve space for images */
.waxon_tm_about .about_inner .left img {
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .image {
    aspect-ratio: 4/3;
    min-height: 250px
}

/* Portfolio section padding adjustment */
.waxon_tm_portoflio {
    padding-top: 60px !important
}

/* Enhanced SaaS Products Portfolio Section Styling */
.waxon_tm_portoflio .portfolio_inner ul li .list_inner {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.12);
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .image {
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
    pointer-events: none;
    z-index: 1;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .image:hover .main {
    transform: scale(1.08) translateZ(0);
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .title {
    padding: 28px 32px 32px 32px;
    background-color: #fff;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .title h3 {
    margin-bottom: 0;
    line-height: 1.3 !important;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .title h3 a {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.3s ease;
    letter-spacing: 0;
    line-height: 1.3;
    display: block;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner:hover .title h3 a {
    color: #667eea;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .title span {
    margin-top: 0;
    display: block;
    padding-top: 8px;
    flex-shrink: 0;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .title span a {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: none;
    letter-spacing: 0.2px;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner:hover .title span a {
    color: #475569;
}

.waxon_tm_portoflio .portfolio_inner ul li .list_inner .overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    border-radius: 16px 16px 0 0;
}

.waxon_tm_portoflio .portfolio_inner ul {
    margin: 0 -30px !important;
}

.waxon_tm_portoflio .portfolio_inner ul li {
    padding-left: 30px !important;
    margin-bottom: 50px !important;
}

/* Mobile responsive for enhanced portfolio */
@media (max-width:1040px) {
    .waxon_tm_portoflio .portfolio_inner ul li .list_inner .title {
        padding: 24px 24px 28px 24px;
        height: 100px;
    }

    .waxon_tm_portoflio .portfolio_inner ul li .list_inner .title h3 a {
        font-size: 16px;
        line-height: 1.3;
    }
}

@media (max-width:768px) {
    .waxon_tm_portoflio .portfolio_inner ul li .list_inner {
        border-radius: 12px;
    }

    .waxon_tm_portoflio .portfolio_inner ul li .list_inner .image {
        border-radius: 12px 12px 0 0;
    }

    .waxon_tm_portoflio .portfolio_inner ul li .list_inner .title {
        padding: 20px 20px 24px 20px;
        height: 95px;
    }

    .waxon_tm_portoflio .portfolio_inner ul li .list_inner .title h3 a {
        font-size: 15px;
        line-height: 1.3;
    }

    .waxon_tm_portoflio .portfolio_inner ul li .list_inner:hover {
        transform: translateY(-4px);
    }
}

/* Mobile logo and topbar size reduction */
@media (max-width:1040px) {
    .waxon_tm_topbar .topbar_inner .logo img {
        max-width: 55px
    }

    .waxon_tm_mobile_menu .logo img {
        max-width: 55px
    }

    .waxon_tm_topbar {
        padding: 15px 0
    }

    .waxon_tm_mobile_menu .topbar_inner {
        padding: 15px 0
    }
}

@media (max-width:768px) {
    .waxon_tm_topbar .topbar_inner .logo img {
        max-width: 50px
    }

    .waxon_tm_mobile_menu .logo img {
        max-width: 50px
    }

    .waxon_tm_topbar {
        padding: 12px 0
    }

    .waxon_tm_mobile_menu .topbar_inner {
        padding: 12px 0
    }
}

.key-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

@media (max-width:992px) {
    .key-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:768px) {
    .key-highlights-grid {
        grid-template-columns: 1fr;
    }
}

.waxon_tm_hero .content_inner span {
    padding-top: 0;
}

.waxon_tm_service ul li .details h3 {
    color: #3a3a3a;
}

.waxon_tm_service ul li .svg {
    color: #3a3a3a !important;
}

.waxon_tm_service ul li .svg.cloud-outline {
    color: #3a3a3a !important;
    -webkit-text-stroke: 2px currentColor;
}

/* Modern Owl Carousel Dots Styling for Services Section */
.waxon_tm_service .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 20px 0;
    gap: 12px;
}

.waxon_tm_service .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    margin: 0 4px;
}

.waxon_tm_service .owl-dots .owl-dot:hover {
    background-color: #9ca3af;
    transform: scale(1.2);
}

.waxon_tm_service .owl-dots .owl-dot.active {
    background-color: #000;
    width: 32px;
    height: 12px;
    border-radius: 6px;
    transform: scale(1);
}

.waxon_tm_service .owl-dots .owl-dot.active:hover {
    background-color: #000;
    transform: scale(1.05);
}

/* Alternative modern dot style with ring effect */
.waxon_tm_service .owl-dots .owl-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0;
    transition: all 0.3s ease;
}

.waxon_tm_service .owl-dots .owl-dot:hover::before {
    opacity: 1;
    border-color: rgba(0, 0, 0, 0.2);
    width: 24px;
    height: 24px;
}

.waxon_tm_service .owl-dots .owl-dot.active::before {
    display: none;
}

/* Mobile responsive adjustments */
@media (max-width:768px) {
    .waxon_tm_service .owl-dots {
        margin-top: 40px;
        padding: 15px 0;
        gap: 10px;
    }

    .waxon_tm_service .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }

    .waxon_tm_service .owl-dots .owl-dot.active {
        width: 28px;
        height: 10px;
    }

    /* Keep icon and heading on same line on mobile */
    .waxon_tm_service ul li .list_inner {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .waxon_tm_service ul li .svg {
        position: relative !important;
        margin-bottom: 0 !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 40px !important;
        line-height: 40px !important;
        flex-shrink: 0;
    }

    .waxon_tm_service ul li .details {
        flex: 1;
        padding-left: 0 !important;
    }

    .waxon_tm_service ul li .details h3 {
        margin-bottom: 12px;
    }
}

.feature-image-placeholder {
    width: 100%;
    height: 180px;
    background: #f0f2f8;
    border: 2px dashed #c0c7d6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.feature-image-placeholder span {
    padding: 0 20px;
}

.btn-lawyermate {
    background-color: #886cc0;
    border-color: #886cc0;
    color: #fff;
    padding: 0.75rem 1.75rem;
}

.btn-lawyermate:hover,
.btn-lawyermate:focus {
    background-color: #7657b4;
    border-color: #7657b4;
    color: #fff;
}

.btn-lawyermate:active,
.btn-lawyermate.active {
    background-color: #6a4da8;
    border-color: #6a4da8;
    color: #fff;
}

.btn-distrohub {
    background-color: #6c80ef;
    border-color: #6c80ef;
    color: #fff;
    padding: 0.75rem 1.75rem;
}

.btn-distrohub:hover,
.btn-distrohub:focus {
    background-color: #5a6edf;
    border-color: #5a6edf;
    color: #fff;
}

.btn-distrohub:active,
.btn-distrohub.active {
    background-color: #4a54c2;
    border-color: #4a54c2;
    color: #fff;
}

.cursor-inner.cursor-hover {
    margin-left: -3px;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    opacity: 1;
    background-color: #000;
}

.cursor-outer.cursor-hover {
    opacity: .5;
}

.waxon_tm_topbar .menu .anchor_nav>li.dropdown {
    position: relative;
}

.waxon_tm_topbar .menu .anchor_nav>li .dropdown-menu {
    visibility: hidden;
    opacity: 0;
    display: block;
    /* Use display block but hide with opacity */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin-top: 2px;
    padding: 12px 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    background-color: #ffffff;
    z-index: 1000;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.waxon_tm_topbar .menu .anchor_nav>li .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 24px;
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12));
}

.waxon_tm_topbar .menu .anchor_nav>li.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.waxon_tm_topbar .menu .anchor_nav>li .dropdown-menu li {
    display: block;
    margin: 0;
}

.waxon_tm_topbar .menu .anchor_nav>li .dropdown-menu .dropdown-item {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 18px 6px 28px;
    color: #111827;
    position: relative;
    transition: color 0.2s ease;
    display: block;
}

.waxon_tm_topbar .menu .anchor_nav>li .dropdown-menu .dropdown-item::before {
    content: "\2192";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    opacity: 0;
    font-size: 12px;
    color: #4c1d95;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.waxon_tm_topbar .menu .anchor_nav>li .dropdown-menu .dropdown-item:hover {
    color: #4c1d95;
    background-color: transparent;
}

.waxon_tm_topbar .menu .anchor_nav>li .dropdown-menu .dropdown-item:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.dropdown-toggle-link::after {
    display: none;
}

.waxon_tm_mobile_menu .mobile-submenu {
    list-style: none;
    padding-left: 15px;
    margin: 8px 0 0;
}

.waxon_tm_mobile_menu .mobile-submenu li a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: #111827;
}

#accountRequestModal .modal-content {
    border-radius: 10px;
}

#accountRequestModal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#accountRequestModal .modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

#accountRequestModal .form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

#accountRequestModal .btn-primary {
    background-color: #667eea;
    border-color: #667eea;
    padding: 12px;
    font-weight: 500;
}

#accountRequestModal .btn-primary:hover {
    background-color: #5568d3;
    border-color: #5568d3;
}

#accountRequestModal .returnmessage.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

#accountRequestModal .returnmessage.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.waxon_tm_contact .contact_inner .left {
    width: 100%;
    max-width: 700px;
    margin: 0;
    padding-right: 0;
}

.waxon_tm_contact .fields {
    padding: 40px 0 0 0;
}

.waxon_tm_contact .form-row {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.waxon_tm_contact .form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .waxon_tm_contact .form-row-two {
        grid-template-columns: 1fr;
    }
}

.waxon_tm_contact .form-group {
    flex: 1;
    min-width: 0;
    position: relative;
}

.waxon_tm_contact .form-group input,
.waxon_tm_contact .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #2d3748;
    transition: all 0.3s ease;
    font-style: normal;
    box-sizing: border-box;
}

.waxon_tm_contact .form-group input::placeholder,
.waxon_tm_contact .form-group textarea::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.waxon_tm_contact .form-group input:focus,
.waxon_tm_contact .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.waxon_tm_contact .form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.waxon_tm_contact .captcha_field {
    width: 100%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.waxon_tm_contact .captcha_field label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
}

.waxon_tm_contact .captcha_field .captcha-label-text {
    color: #4a5568;
}

.waxon_tm_contact .captcha_field .captcha-question {
    font-weight: 700;
    color: #667eea;
    font-size: 16px;
    margin: 0 4px;
}

.waxon_tm_contact .captcha_field .required-asterisk {
    color: #e53e3e;
    font-weight: 600;
}

.waxon_tm_contact .captcha_field #captcha_answer {
    width: 100%;
    max-width: 200px;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    font-style: normal;
    transition: all 0.3s ease;
}

.waxon_tm_contact .captcha_field #captcha_answer:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.waxon_tm_contact .fields .button {
    width: 100%;
    margin-top: 32px;
    text-align: left;
}

.waxon_tm_contact .fields .button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-style: normal;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    min-width: 140px;
}

.waxon_tm_contact .fields .button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #6a3d91 100%);
}

.waxon_tm_contact .fields .button a:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.waxon_tm_contact .fields .button a:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.waxon_tm_contact .fields .button .button-text {
    display: inline-block;
}

.waxon_tm_contact .fields .button .button-icon {
    display: inline-block;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.waxon_tm_contact .fields .button a:hover .button-icon {
    transform: translateX(4px);
}

.waxon_tm_contact .contact_success {
    color: #28a745;
    font-weight: 500;
}

body.dark .waxon_tm_contact .form-group input,
body.dark .waxon_tm_contact .form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.dark .waxon_tm_contact .form-group input::placeholder,
body.dark .waxon_tm_contact .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body.dark .waxon_tm_contact .form-group input:focus,
body.dark .waxon_tm_contact .form-group textarea:focus {
    border-color: #667eea;
    background-color: rgba(255, 255, 255, 0.08);
}

body.dark .waxon_tm_contact .captcha_field {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark .waxon_tm_contact .captcha_field label,
body.dark .waxon_tm_contact .captcha_field .captcha-label-text {
    color: rgba(255, 255, 255, 0.9);
}

body.dark .waxon_tm_contact .captcha_field #captcha_answer {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.dark .waxon_tm_contact .captcha_field #captcha_answer:focus {
    border-color: #667eea;
    background-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .waxon_tm_contact .fields {
        padding: 30px 0 0 0;
    }

    .waxon_tm_contact .form-row {
        margin-bottom: 20px;
    }

    .waxon_tm_contact .captcha_field {
        padding: 16px;
    }

    .waxon_tm_contact .fields .button a {
        width: 100%;
        padding: 14px 30px;
    }
}

.waxon_tm_contact .empty_notice,
.waxon_tm_contact .returnmessage {
    line-height: 1.5;
    display: block !important;
    opacity: 0;
    margin-bottom: 0 !important;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease, margin-bottom 0.5s ease, visibility 0.5s ease;
}

.waxon_tm_contact .empty_notice.show {
    opacity: 1 !important;
    margin-bottom: 7px !important;
    visibility: visible !important;
    max-height: 150px !important;
    overflow: visible !important;
}

.waxon_tm_contact .returnmessage.show {
    opacity: 1 !important;
    margin-bottom: 7px !important;
    visibility: visible !important;
    max-height: 300px !important;
    overflow: visible !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

.sr-only-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: inherit !important;
    margin: inherit !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

.waxon_tm_contact .error-message {
    display: block;
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
}

.waxon_tm_contact .error-message.show {
    opacity: 1;
    max-height: 50px;
    margin-top: 6px;
}

.waxon_tm_contact .form-group input[aria-invalid="true"],
.waxon_tm_contact .form-group textarea[aria-invalid="true"] {
    border-color: #dc3545 !important;
}

.waxon_tm_contact .fields .button button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-style: normal;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    min-width: 140px;
    font-family: inherit;
}

.waxon_tm_contact .fields .button button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #6a3d91 100%);
}

.waxon_tm_contact .fields .button button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.waxon_tm_contact .fields .button button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.waxon_tm_modalbox_account_request {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 100vh;
    z-index: 15;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.waxon_tm_modalbox_account_request.opened {
    opacity: 1;
    visibility: visible;
}

.waxon_tm_modalbox_account_request .box_inner {
    position: absolute;
    top: 70px;
    bottom: 70px;
    width: 968px;
    max-width: 90%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    margin-top: -20px;
    transition-delay: 0.3s;
    transition: all 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
}

.waxon_tm_modalbox_account_request.opened .box_inner {
    opacity: 1;
    visibility: visible;
    margin-top: 0px;
}

.waxon_tm_modalbox_account_request .close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 111111;
}

.waxon_tm_modalbox_account_request .close a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.waxon_tm_modalbox_account_request .close a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.waxon_tm_modalbox_account_request .close .svg {
    width: 20px;
    height: 20px;
}

.waxon_tm_modalbox_account_request .description_wrap {
    position: relative;
    width: 100%;
    height: auto;
    float: left;
    padding: 40px 50px 50px 50px;
    box-sizing: border-box;
}

.waxon_tm_modalbox_account_request .waxon_tm_main_title {
    margin-bottom: 30px;
    margin-top: 10px;
}

.waxon_tm_modalbox_account_request .fields {
    padding: 0;
}

.waxon_tm_modalbox_account_request .form-row {
    width: 100%;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    box-sizing: border-box;
}

.waxon_tm_modalbox_account_request .form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.waxon_tm_modalbox_account_request .form-group {
    flex: 1;
    min-width: 0;
    position: relative;
}

.waxon_tm_modalbox_account_request .form-group input,
.waxon_tm_modalbox_account_request .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #2d3748;
    transition: all 0.3s ease;
    font-style: normal;
    box-sizing: border-box;
}

.waxon_tm_modalbox_account_request .form-group input::placeholder,
.waxon_tm_modalbox_account_request .form-group textarea::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.waxon_tm_modalbox_account_request .form-group input:focus,
.waxon_tm_modalbox_account_request .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.waxon_tm_modalbox_account_request .form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.waxon_tm_modalbox_account_request .captcha_field {
    width: 100%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.waxon_tm_modalbox_account_request .captcha_field label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
}

.waxon_tm_modalbox_account_request .captcha_field .captcha-label-text {
    color: #4a5568;
}

.waxon_tm_modalbox_account_request .captcha_field .captcha-question {
    font-weight: 700;
    color: #667eea;
    font-size: 16px;
    margin: 0 4px;
}

.waxon_tm_modalbox_account_request .captcha_field .required-asterisk {
    color: #e53e3e;
    font-weight: 600;
}

.waxon_tm_modalbox_account_request .captcha_field #hms_captcha_answer {
    width: 100%;
    max-width: 200px;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    font-style: normal;
    transition: all 0.3s ease;
}

.waxon_tm_modalbox_account_request .captcha_field #hms_captcha_answer:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.waxon_tm_modalbox_account_request .fields .button {
    width: 100%;
    margin-top: 24px;
    text-align: left;
}

.waxon_tm_modalbox_account_request .fields .button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-style: normal;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    min-width: 140px;
}

.waxon_tm_modalbox_account_request .fields .button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #4a5bc4 100%);
}

.waxon_tm_modalbox_account_request .empty_notice,
.waxon_tm_modalbox_account_request .returnmessage {
    line-height: 1.5;
    display: block !important;
    opacity: 0;
    margin-bottom: 0 !important;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease, margin-bottom 0.5s ease, visibility 0.5s ease;
}

.waxon_tm_modalbox_account_request .empty_notice.show {
    opacity: 1 !important;
    margin-bottom: 7px !important;
    visibility: visible !important;
    max-height: 150px !important;
    overflow: visible !important;
}

.waxon_tm_modalbox_account_request .returnmessage.show {
    opacity: 1 !important;
    margin-bottom: 7px !important;
    visibility: visible !important;
    max-height: 300px !important;
    overflow: visible !important;
}

.waxon_tm_modalbox_account_request .contact_success {
    color: #28a745;
    font-weight: 500;
}

.waxon_tm_modalbox_account_request .contact_error {
    color: #dc3545;
    font-weight: 500;
}

@media (max-width: 1040px) {
    .waxon_tm_modalbox_account_request .box_inner {
        width: 100%;
        top: 0px;
        bottom: 0px;
        max-width: 100%;
    }

    .waxon_tm_modalbox_account_request .close {
        right: 15px;
        top: 15px;
    }

    .waxon_tm_modalbox_account_request .close a {
        width: 36px;
        height: 36px;
    }

    .waxon_tm_modalbox_account_request .close .svg {
        width: 18px;
        height: 18px;
    }

    .waxon_tm_modalbox_account_request .description_wrap {
        padding: 30px 30px 40px 30px;
    }

    .waxon_tm_modalbox_account_request .waxon_tm_main_title {
        margin-bottom: 25px;
        margin-top: 5px;
    }

    .waxon_tm_modalbox_account_request .form-row-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .waxon_tm_modalbox_account_request .box_inner {
        overflow-x: hidden;
    }

    .waxon_tm_modalbox_account_request .close {
        right: 10px;
        top: 10px;
    }

    .waxon_tm_modalbox_account_request .close a {
        width: 32px;
        height: 32px;
    }

    .waxon_tm_modalbox_account_request .close .svg {
        width: 16px;
        height: 16px;
    }

    .waxon_tm_modalbox_account_request .description_wrap {
        padding: 25px 20px 35px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .waxon_tm_modalbox_account_request .waxon_tm_main_title {
        margin-bottom: 20px;
        margin-top: 5px;
    }

    .waxon_tm_modalbox_account_request .form-row {
        margin-bottom: 16px;
    }

    .waxon_tm_modalbox_account_request .captcha_field {
        padding: 16px;
    }

    .waxon_tm_modalbox_account_request .fields .button {
        margin-top: 20px;
    }

    .waxon_tm_modalbox_account_request .fields .button a {
        width: 100%;
        padding: 14px 30px;
    }
}

.hms-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #5568d3 100%) !important;
    padding: 80px 0 !important;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    display: block !important;
    visibility: visible !important;
    width: 100%;
}

.distrohub-cta-section {
    background: linear-gradient(135deg, #6c80ef 0%, #5a6edf 100%) !important;
    padding: 80px 0 !important;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    display: block !important;
    visibility: visible !important;
    width: 100%;
}

.distrohub-cta-section .btn-light {
    background-color: #fff;
    color: #6c80ef;
    transition: all 0.3s ease;
}

.distrohub-cta-section .btn-light:hover {
    background-color: #f8f9fa;
    color: #5a6edf;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.lawyermate-cta-section {
    background: linear-gradient(135deg, #886cc0 0%, #7657b4 100%) !important;
    padding: 80px 0 !important;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    display: block !important;
    visibility: visible !important;
    width: 100%;
}

.lawyermate-cta-section .btn-light {
    background-color: #fff;
    color: #886cc0;
    transition: all 0.3s ease;
}

.lawyermate-cta-section .btn-light:hover {
    background-color: #f8f9fa;
    color: #7657b4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.hms-cta-section .btn-light {
    background-color: #fff;
    color: #667eea;
    transition: all 0.3s ease;
}

.hms-cta-section .btn-light:hover {
    background-color: #f8f9fa;
    color: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.hms-cta-section .btn-outline-light {
    color: #fff;
    background-color: transparent;
    transition: all 0.3s ease;
}

.hms-cta-section .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {

    .hms-cta-section,
    .distrohub-cta-section,
    .lawyermate-cta-section {
        padding: 60px 0 !important;
    }

    .hms-cta-section h3,
    .distrohub-cta-section h3,
    .lawyermate-cta-section h3 {
        font-size: 24px !important;
    }

    .hms-cta-section p,
    .distrohub-cta-section p,
    .lawyermate-cta-section p {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }

    .hms-cta-section .btn,
    .distrohub-cta-section .btn,
    .lawyermate-cta-section .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Services Section Modernization --- */
.waxon_tm_service {
    background-color: #f3f4f6 !important; /* Neutral light grey background */
    padding: 120px 0 !important;
    margin-bottom: 0 !important;
}

.services_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    margin: 40px 0 0 0; /* Added gap above the boxes */
    padding: 0;
    align-items: stretch; /* Ensure grid items stretch to equal height */
}

.services_grid .item {
    margin: 0 !important;
    display: flex; /* Added to ensure child fills height */
}

.services_grid .list_inner {
    background: #ffffff; /* Clean white cards */
    padding: 45px 40px;
    border-radius: 24px;
    flex: 1; /* Stretch to fill item height */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06); /* Subtle grey border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Subtle accent line on hover */
.services_grid .list_inner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #475569, #94a3b8); /* Grey gradient line */
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.services_grid .list_inner:hover {
    transform: translateY(-10px);
    border-color: rgba(71, 85, 105, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.services_grid .list_inner:hover::after {
    transform: scaleX(1);
}

.services_grid .list_inner .svg {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin-bottom: 25px;
    font-size: 36px !important;
    width: auto !important;
    height: auto !important;
    color: #475569 !important; /* Slate grey icon */
    display: inline-block;
    transition: transform 0.3s ease;
}

.services_grid .list_inner:hover .svg {
    transform: scale(1.1);
}

.services_grid .list_inner .details {
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.services_grid .list_inner .details h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a; /* Dark slate text */
    letter-spacing: -0.01em;
}

.services_grid .list_inner .details p {
    font-style: normal !important;
    color: #64748b; /* Slate text for readability */
    line-height: 1.65;
    margin-bottom: 0;
    font-size: 15px;
}

/* Dark Mode Support for Services */
body.dark .waxon_tm_service {
    background-color: #0f172a !important;
}

body.dark .services_grid .list_inner {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark .services_grid .list_inner:hover {
    background: #1e293b;
}

/* Responsive adjustments for the grid */
@media (max-width: 992px) {
    .services_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .waxon_tm_service {
        padding: 80px 0 !important;
    }
}

@media (max-width: 768px) {
    .services_grid {
        grid-template-columns: 1fr;
    }

    .services_grid .list_inner {
        padding: 35px 30px;
    }
}

/* Custom style for MAGify logo in portfolio */
.waxon_tm_portoflio .portfolio_inner ul li .list_inner .image .main.magify-logo {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 80% !important;
    height: 80% !important;
    top: 10% !important;
    left: 10% !important;
}

/* --- Modern SaaS Section (Premium Light Glassmorphism) --- */
.modern-saas-section {
    padding-top: 130px !important;
    padding-bottom: 130px !important;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.08), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.08), transparent 25%);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.modern-saas-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.02;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.modern-saas-section .container {
    position: relative;
    z-index: 2;
}

.modern-saas-section .unified-section-heading {
    text-align: left;
    margin-bottom: 20px !important;
    width: 100%;
}

.modern-saas-section .unified-section-heading h2 {
    font-size: 42px;
}

.modern-saas-section .unified-section-heading h2 .bg {
    left: -6px;
    transform: none;
    font-size: 110px;
    bottom: -15px;
    opacity: 0.2 !important;
    text-align: left;
}

.modern-saas-section .portfolio_inner ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 !important;
}

.modern-saas-section .portfolio_inner ul li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 1) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.08), 
        0 10px 15px -5px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.modern-saas-section .portfolio_inner ul li .list_inner:hover {
    transform: translateY(-5px) scale(1.01) !important;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.1), 
        0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .image {
    border-radius: 24px 0 0 24px !important;
    overflow: hidden;
    position: relative;
    padding: 20px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.8) 100%);
    border-right: 1px solid rgba(226, 232, 240, 0.5);
    width: 320px !important;
    min-width: 320px !important;
    aspect-ratio: auto !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .image::after {
    display: none !important; /* Remove old overlay */
}

.modern-saas-section .portfolio_inner ul li .list_inner .image img {
    opacity: 0;
}

.modern-saas-section .portfolio_inner ul li .list_inner .image .main {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner:hover .image .main {
    transform: scale(1.05) !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title {
    padding: 20px 40px !important;
    background: transparent !important;
    border-top: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    height: auto !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title h3 {
    margin-bottom: 2px !important;
    width: 100%;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title h3 a {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title span {
    display: block !important;
    margin-bottom: 15px !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title .features_wrapper {
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 15px 20px !important;
    width: 100%;
    margin-top: 5px;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title .features_wrapper h4 {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title .features_wrapper .bullet-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title .features_wrapper .bullet-list li {
    font-size: 13px;
    color: #334155;
    position: relative;
    padding-left: 16px !important;
    line-height: 1.4;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title .features_wrapper .bullet-list li::before {
    content: "";
    position: absolute;
    left: 0 !important;
    top: 9px !important;
    width: 6px !important;
    height: 1.5px !important;
    background-color: #94a3b8 !important;
}


.modern-saas-section .portfolio_inner ul li .list_inner:hover .title h3 a {
    color: #334155 !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title span {
    padding-top: 0 !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title span a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 1.5px !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner:hover .title span a {
    color: #475569 !important;
}

.modern-saas-section .portfolio_inner ul li .list_inner .title::after {
    content: '\2192';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    margin-top: 15px;
    font-size: 20px;
    color: #4f46e5;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.modern-saas-section .portfolio_inner ul li .list_inner:hover .title::after {
    opacity: 1;
    transform: translateX(0);
}

/* Dark Mode Support for Modern SaaS Section */
body.dark .modern-saas-section {
    background-color: #0f172a !important;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.08), transparent 25%);
}

body.dark .modern-saas-section .unified-section-heading h2 {
    color: #ffffff !important;
}

body.dark .modern-saas-section .unified-section-heading h2 .bg {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08) !important;
}

body.dark .modern-saas-section .portfolio_inner ul li .list_inner {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.2), 
        0 10px 15px -3px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

body.dark .modern-saas-section .portfolio_inner ul li .list_inner:hover {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.4), 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

body.dark .modern-saas-section .portfolio_inner ul li .list_inner .image {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark .modern-saas-section .portfolio_inner ul li .list_inner .title h3 a {
    color: #ffffff !important;
}

body.dark .modern-saas-section .portfolio_inner ul li .list_inner:hover .title h3 a {
    color: #818cf8 !important;
}

body.dark .modern-saas-section .portfolio_inner ul li .list_inner .title span a {
    color: #94a3b8 !important;
}

body.dark .modern-saas-section .portfolio_inner ul li .list_inner:hover .title span a {
    color: #cbd5e1 !important;
}

body.dark .modern-saas-section .portfolio_inner ul li .list_inner .title::after {
    color: #818cf8;
}

/* Mobile Responsiveness */
@media (max-width: 1040px) {
    .modern-saas-section .portfolio_inner ul li .list_inner {
        flex-direction: column;
    }
    .modern-saas-section .portfolio_inner ul li .list_inner .image {
        width: 100% !important;
        min-width: auto !important;
        border-radius: 24px 24px 0 0 !important;
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    }
}

@media (max-width: 768px) {
    .modern-saas-section .unified-section-heading h2 {
        font-size: 32px;
    }
    .modern-saas-section .unified-section-heading h2 .bg {
        font-size: 70px;
        bottom: -10px;
    }
}