/* Fix for sidebar panels being split across the page */

/* Hide the secondary sidebar on the client area home page */
body .sidebar-secondary {
    display: none !important;
}

/* Only show the primary sidebar */
.side-panel {
    display: block !important;
}

/* Improve panel styling */
.panel {
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
}

.panel-heading {
    flex: 0 0 auto;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.panel-heading .panel-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    padding-right: 15px;
}

.panel-heading .panel-title i {
    margin-right: 8px;
    color: #ffffff;
}

.panel-heading .pull-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.panel-heading .btn {
    margin-left: 15px;
    padding: 6px 12px;
    white-space: nowrap;
}

.panel-heading .badge {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
}

.panel-body {
    flex: 1 0 auto;
    display: inline;
    flex-direction: column;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.panel-body p {
    margin-bottom: 15px;
}

.panel-body p:last-child {
    margin-bottom: 0;
}

.panel-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.panel-body h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
}

.panel-body ul, .panel-body ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.panel-body ul li, .panel-body ol li {
    margin-bottom: 8px;
}

.panel-body a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.panel-body a:hover {
    color: #003d7a;
    text-decoration: underline;
}

.panel-footer {
    flex: 0 0 auto;
    padding: 12px 20px;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Improve panel footer positioning and styling */
.panel-footer .btn-view-more {
    margin: 0;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #ff8500;
    background-color: transparent;
    border: 1px solid #ff8500;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.panel-footer .btn-view-more:hover {
    color: #fff;
    background-color: #ff8500;
}

.panel-footer .btn-primary {
    background-color: #ff8500;
    border-color: #ff8500;
    color: #fff;
    padding: 6px 15px;
    font-weight: 500;
}

.panel-footer .btn-primary:hover {
    background-color: #e67a00;
    border-color: #e67a00;
}

.panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-footer .footer-content {
    flex: 1;
}

.panel-footer .footer-action {
    flex-shrink: 0;
    margin-left: 15px;
}

.panel-footer .clearfix {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
}

.panel-footer .text-center {
    width: 100%;
    text-align: center;
}

/* Dashboard tiles styling */
.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-tile {
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    text-align: center;
}

.dashboard-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
}

.dashboard-tile .tile-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #0056b3;
}

.dashboard-tile .tile-stat {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.dashboard-tile .tile-title {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-bottom: 0;
}

/* Proper spacing for panels */
.client-home-panels .row {
    margin-left: -15px;
    margin-right: -15px;
    clear: both;
    display: flex;
    flex-wrap: wrap;
}

/* Two panel row styling */
.two-panel-row {
    margin-bottom: 30px;
    clear: both;
    display: flex;
    flex-wrap: wrap;
}

.two-panel-row .col-md-6 {
    display: flex;
}

.news-panel-container,
.tickets-panel-container {
    width: 100%;
}

.news-panel-container .panel,
.tickets-panel-container .panel {
    height: 100%;
    min-height: 300px;
}

/* Specific styling for the tickets panel to match other panels */
.tickets-panel-container .panel {
    display: flex;
    flex-direction: column;
}

.tickets-panel-container .panel-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
}

.tickets-panel-container .list-group {
    height: 100%;
    overflow-y: auto;
}

.news-panel-container .list-group,
.tickets-panel-container .list-group {
    margin-bottom: 0;
    border-radius: 0;
}

.news-panel-container .list-group-item,
.tickets-panel-container .list-group-item {
    padding: 15px;
    border-left: none;
    border-right: none;
    transition: background-color 0.2s ease;
    position: relative;
}

.tickets-panel-container .list-group-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.tickets-panel-container .list-group-item .title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.tickets-panel-container .list-group-item .label {
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 3px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 500;
}

.news-panel-container .list-group-item:hover,
.tickets-panel-container .list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.news-panel-container .list-group-item:first-child,
.tickets-panel-container .list-group-item:first-child {
    border-top: none;
}

.news-panel-container .list-group-item:last-child,
.tickets-panel-container .list-group-item:last-child {
    border-bottom: none;
}

.news-panel-container .list-group-item a,
.tickets-panel-container .list-group-item a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.news-panel-container .list-group-item a:hover,
.tickets-panel-container .list-group-item a:hover {
    color: #0056b3;
}

.news-panel-container .text-last-updated,
.tickets-panel-container .text-last-updated {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 8px;
}

/* Special panel row styling */
.special-panel-row {
    margin-bottom: 30px;
    clear: both;
}

.special-panel-row .col-md-12 {
    display: flex;
}

.special-panel-row .panel {
    width: 100%;
    min-height: 200px;
}

/* Domain panel row styling */
.domain-panel-row {
    margin-bottom: 30px;
    clear: both;
}

.domain-panel-container {
    width: 100%;
}

.domain-panel-container .panel {
    min-height: 200px;
}

.domain-panel-container .panel-body {
    padding: 20px;
}

.domain-panel-container .input-group {
    margin: 0 !important;
    padding: 0 !important;
}

.domain-panel-container .form-control {
    height: 40px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #ddd;
}

.domain-panel-container .btn {
    height: 40px;
    padding: 0 15px;
    line-height: 40px;
    font-size: 14px;
    font-weight: 500;
}

.domain-panel-container .btn-success {
    border-radius: 0;
    border: none;
}

.domain-panel-container .btn-default {
    border-radius: 0 4px 4px 0;
    border: 1px solid #ddd;
    border-left: none;
}

/* Special panel row styling */
.special-panel-row {
    margin-bottom: 30px;
    clear: both;
}

.client-home-panels .col-md-12,
.client-home-panels .col-md-9,
.client-home-panels .col-md-8,
.client-home-panels .col-md-6,
.client-home-panels .col-md-4,
.client-home-panels .col-md-3 {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
}

/* Main content area styling */
.main-content-area {
    padding: 0;
}

.main-panels-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin: 0 -15px;
    padding: 0 15px;
}

.panel-wrapper {
    display: flex;
    height: 100%;
}

.panel-wrapper .panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.panel-wrapper .panel .panel-body {
    flex: 1;
}

/* Panel accent colors and styling */
.panel-accent-asbestos {
    border-top: 3px solid #7f8c8d;
}

.panel-accent-asbestos .panel-heading {
    background-color: rgba(127, 140, 141, 0.1);
}

.panel-accent-asbestos .panel-heading .panel-title i {
    color: #ffffff;
}

.panel-accent-gold {
    border-top: 3px solid #f39c12;
}

.panel-accent-gold .panel-heading {
    background-color: rgba(243, 156, 18, 0.1);
}

.panel-accent-gold .panel-heading .panel-title i {
    color: #ffffff;
}

.panel-accent-emerald {
    border-top: 3px solid #ff8500;
}

.panel-accent-emerald .panel-heading {
    background-color: rgba(46, 204, 113, 0.1);
}

.panel-accent-emerald .panel-heading .panel-title i {
    color: #ff8500;
}

.panel-accent-blue {
    border-top: 3px solid #3498db;
}

.panel-accent-blue .panel-heading {
    background-color: rgba(52, 152, 219, 0.1);
}

.panel-accent-blue .panel-heading .panel-title i {
    color: #3498db;
}

.panel-accent-purple {
    border-top: 3px solid #9b59b6;
}

.panel-accent-purple .panel-heading {
    background-color: rgba(155, 89, 182, 0.1);
}

.panel-accent-purple .panel-heading .panel-title i {
    color: #9b59b6;
}

/* Fix for nested columns */
.col-md-12 .col-md-12,
.col-md-12 .col-md-8,
.col-md-12 .col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Reset for all rows to ensure proper alignment */
.row {
    margin-left: -15px;
    margin-right: -15px;
    clear: both;
}

/* Ensure panels have consistent width */
.panel {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Force clear any floats */
.clearfix:after,
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Override any problematic Bootstrap styles */
.col-md-offset-2 {
    margin-left: 16.66666667%;
}

/* Ensure consistent panel heights */
.panel-body {
    min-height: 50px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .client-home-panels .col-md-offset-2 {
        margin-left: 0;
    }
    
    .client-home-panels .col-md-8,
    .client-home-panels .col-md-6,
    .client-home-panels .col-md-4 {
        width: 100%;
    }
    
    .two-panel-row {
        flex-direction: column;
    }
    
    .two-panel-row .col-md-6 {
        width: 100%;
    }
    
    .main-panels-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-tiles {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .panel-heading {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .panel-heading .panel-title {
        margin-bottom: 10px;
        width: 100%;
        padding-right: 0;
    }
    
    .panel-heading .pull-right {
        width: 100%;
        justify-content: flex-start;
        margin-top: 5px;
    }
    
    .panel-heading .btn {
        margin-left: 0;
        margin-right: 10px;
    }
    
    .panel-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .panel-footer .footer-content {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .panel-footer .footer-action {
        width: 100%;
        margin-left: 0;
    }
    
    .panel-footer .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .panel-body {
        padding: 15px;
    }
    
    .panel-footer {
        padding: 10px 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .panel-footer .btn-view-more {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    .dashboard-tiles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .panel {
        margin-bottom: 15px;
    }
    
    .panel-heading .panel-title {
        font-size: 15px;
    }
    
    .panel-body {
        padding: 12px;
    }
    
    .domain-panel-container .input-group {
        flex-direction: column;
    }
    
    .domain-panel-container .form-control {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .domain-panel-container .btn-group {
        width: 100%;
        display: flex;
    }
    
    .domain-panel-container .btn {
        flex: 1;
        border-radius: 4px;
    }
}

/* Ensure all sidebar panels are displayed in the primary sidebar */
.side-panel .custom-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Fix for panel styling */
.panel-sidebar {
    margin-bottom: 15px;
}

/* Make sure the sidebar is properly positioned */
@media (min-width: 992px) {
    .side-panel {
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
}

/* Fix for nested rows */
.client-home-panels .row {
    margin-left: 0;
    margin-right: 0;
}

/* Ensure proper spacing between panels */
.panel {
    margin-bottom: 15px;
}

/* Button styling within panels */
.panel .btn {
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.panel .btn-primary {
    background-color: #ff8500;
    border-color: #ff8500;
}

.panel .btn-primary:hover {
    background-color: #e67a00;
    border-color: #e67a00;
}

.panel .btn-success {
    background-color: #ff8500;
    border-color: #ff8500;
}

.panel .btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

.panel .btn-default {
    background-color: #f8f9fa;
    border-color: #ddd;
    color: #333;
}

.panel .btn-default:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.panel .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    margin: 0 5px;
}

.panel .btn-xs {
    padding: 3px 8px;
    font-size: 11px;
}

/* Footer styling improvements - darker text */
.modern-footer {
    color: #333333; /* Darker text color */
}

.modern-footer .footer-description {
    color: #333333; /* Darker description text */
    font-weight: 400;
}

.modern-footer .footer-links a {
    color: #333333; /* Darker link color */
    font-weight: 500;
}

.modern-footer .footer-links a:hover {
    color: #000000; /* Even darker on hover */
}

.modern-footer .copyright {
    color: #333333; /* Darker copyright text */
}

.modern-footer .back-to-top {
    color: #333333; /* Darker back to top link */
}

.modern-footer .back-to-top:hover {
    color: #000000; /* Even darker on hover */
}

.modern-footer .footer-heading {
    color: #222222; /* Darker heading color */
    font-weight: 600;
}

/* Global button styling */
.btn-primary {
    background-color: #ff8500;
    border-color: #ff8500;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #e67a00;
    border-color: #e67a00;
}

/* Knowledge base search styling */
.kb-search .form-control {
    height: 50px;
    padding: 10px 20px;
    padding-right: 50px;
    font-size: 16px;
    border-radius: 25px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.kb-search .form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

.kb-search .btn-link {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #0056b3;
    font-size: 18px;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.kb-search .btn-link:hover {
    color: #003d7a;
}

.kb-search .btn-link:focus {
    outline: none;
    box-shadow: none;
}

/* Enhanced list group styling */
.panel .list-group {
    margin-bottom: 0;
    border-radius: 0;
}

.panel .list-group-item {
    border-left: none;
    border-right: none;
    padding: 12px 20px;
    transition: background-color 0.2s ease;
}

.panel .list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.panel .list-group-item:first-child {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.panel .list-group-item:last-child {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.panel .list-group-item .fa,
.panel .list-group-item .fas,
.panel .list-group-item .far {
    margin-right: 8px;
    color: #0056b3;
}

.panel .list-group-item-heading {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.panel .list-group-item-text {
    color: #666;
    margin-bottom: 0;
    font-size: 13px;
}

/* Badge styling within panels */
.panel .badge {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
}

.panel .badge-primary {
    background-color: #0056b3;
}

.panel .badge-success {
    background-color: #ff8500;
}

.panel .badge-warning {
    background-color: #f39c12;
}

.panel .badge-danger {
    background-color: #e74c3c;
}

.panel .badge-info {
    background-color: #3498db;
}

/* Position badges on the right side of text in sidebar */
.list-group-item {
    position: relative;
    display: flex;
    align-items: center;
}

.list-group-item .badge {
    position: absolute;
    right: 15px;
    order: 2;
    margin-left: auto;
}

.list-group-item .sidebar-menu-item-icon {
    margin-right: 8px;
}

.panel-title .badge {
    float: right;
    margin-left: auto;
    margin-right: 25px;
}

/* Knowledgebase styling to match client area */
.kb-search {
    margin-bottom: 30px;
    position: relative;
}

.kb-search .form-control {
    height: 50px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    font-size: 16px;
}

.kb-search .form-control:focus {
    border-color: #ff8500;
    box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.15);
}

.kb-search .btn {
    height: 50px;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    font-weight: 500;
}

.kbcategories {
    margin-bottom: 30px;
}

.kbcategories .col-sm-4 {
    margin-bottom: 20px;
}

.kbcategories a {
    display: block;
    padding: 15px;
    background-color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 10px;
    border-top: 3px solid #ff8500;
}

.kbcategories a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
    text-decoration: none;
}

.kbcategories a i {
    color: #ff8500;
    margin-right: 8px;
}

.kbcategories p {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.kbarticles {
    margin-bottom: 30px;
}

.kbarticles a {
    display: block;
    padding: 15px;
    background-color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 5px;
    border-left: 3px solid #ff8500;
}

.kbarticles a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
    text-decoration: none;
}

.kbarticles a i,
.kbarticles a .glyphicon {
    color: #ff8500;
    margin-right: 8px;
}

.kbarticles p {
    padding: 0 15px 15px 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.kbarticles .admin-inline-edit {
    margin-left: 10px;
    font-size: 12px;
    color: #999;
}

/* Responsive adjustments for knowledgebase */
@media (max-width: 768px) {
    .kbcategories .col-sm-4 {
        width: 100%;
    }
    
    .kb-search .form-control,
    .kb-search .btn {
        height: 45px;
    }
}

/* Additional knowledgebase styling */
.kb-header {
    margin-bottom: 30px;
}

.kb-categories-section,
.kb-popular-section,
.kb-articles-section {
    background-color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 30px;
}

.kb-categories-section h2,
.kb-popular-section h2,
.kb-articles-section h2 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.kb-article-item {
    margin-bottom: 20px;
}

.badge-info {
    background-color: #ff8500;
}

/* Web Hosting Benefits Section Styling */
.hosting-benefits-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    border-radius: 15px;
    /* margin: 50px 0; */
    overflow-x: hidden; /* Specifically prevent horizontal overflow */
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
}

.hosting-benefits-section .container {
    width: 100%;
    max-width: 1170px; /* Standard Bootstrap container width */
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.hosting-benefits-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.hosting-benefits-header h2 {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hosting-benefits-header p {
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* Fix for the row to ensure proper alignment */
.hosting-benefits-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.hosting-benefits-section .col-md-4 {
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    margin-bottom: 30px;
    width: 33.333333%;
    max-width: 33.333333%;
    box-sizing: border-box;
}

.benefit-card {
    background-color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #ff8500;
    box-sizing: border-box;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 40px;
    color: #ff8500;
    margin-bottom: 20px;
    text-align: center;
}

.benefit-card h3 {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.benefit-list {
    padding-left: 15px;
    margin-bottom: 0;
    list-style-position: outside;
    width: 100%;
    box-sizing: border-box;
}

.benefit-list li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.4;
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.benefit-list li strong {
    color: #333;
    font-weight: 600;
}

@media (max-width: 992px) {
    .hosting-benefits-section .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefit-card {
        height: auto;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hosting-benefits-section .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    .hosting-benefits-section {
        padding: 30px 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hosting-benefits-section .container {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hosting-benefits-header h2 {
        font-size: 22px;
    }
    
    .hosting-benefits-header p {
        font-size: 14px;
    }
    
    .benefit-card {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .benefit-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .benefit-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .benefit-list {
        padding-left: 12px;
    }
    
    .benefit-list li {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .hosting-benefits-section {
        padding: 20px 0;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        box-sizing: border-box;
    }
    
    .hosting-benefits-section .container {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    
    .hosting-benefits-header h2 {
        font-size: 20px;
    }
    
    .hosting-benefits-header p {
        font-size: 13px;
    }
    
    .benefit-card {
        padding: 12px;
    }
    
    .benefit-list {
        padding-left: 10px;
    }
    
    .benefit-list li {
        font-size: 11px;
        margin-bottom: 6px;
    }
}