/* Improved UI Styles for Process and Service Content Sections */

/* Service Content Section Improvements */
.service-content-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--tt-bg-color-secondary) 0%, var(--tt-bg-color) 100%);
    border-radius: 30px;
    margin: 60px 0;
    min-height: 300px;
}

/* Theme-aware colors for service content */
.service-content-title-theme {
    color: rgba(0, 0, 0, 0.20) !important;
}

.service-content-description-theme {
    color: var(--tt-text-color) !important;
}

/* Dark theme colors */
.tt-darkmode-on .service-content-title-theme {
    color: rgba(255, 255, 255, 0.40) !important;
}

.tt-darkmode-on .service-content-description-theme {
    color: var(--tt-text-color) !important;
}

/* Theme-aware colors for how we operate */
.how-we-operate-title-theme {
    color: rgba(0, 0, 0, 0.20) !important;
}

/* Dark theme colors for how we operate */
.tt-darkmode-on .how-we-operate-title-theme {
    color: rgba(255, 255, 255, 0.20) !important;
}

/* Dark theme styles for how we operate section */
.tt-darkmode-on .how-we-operate-section {
    background: #0A0A0A !important;
}

.tt-darkmode-on .how-we-operate-section div[style*="background: #272727"] {
    background: #2F2F2F !important;
}

.tt-darkmode-on .how-we-operate-section div[style*="color: black"] {
    color: white !important;
}

.tt-darkmode-on .how-we-operate-section div[style*="color: #5F5F5F"] {
    color: #CFCFCF !important;
}

/* Table theme-aware colors */
.tt-darkmode-on .service-table-header {
    background: #1A1A1A !important;
}

.tt-darkmode-on .service-table-header h3 {
    color: #FFFFFF !important;
}

.tt-darkmode-on .service-table-row {
    background: #2A2A2A !important;
}

.tt-darkmode-on .service-table-row h4 {
    color: #FFFFFF !important;
}

.tt-darkmode-on .service-table-row p {
    color: #CCCCCC !important;
}

/* Fix How We Operate section overflow */
.how-we-operate-section {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.how-we-operate-section > div[style*="width: 1345px"] {
    min-width: 1345px !important;
}

/* Responsive adjustments for the absolute positioned content */
@media (max-width: 1200px) {
    .service-content-section div[style*="width: 1185px"] {
        width: 90% !important;
        left: 5% !important;
    }
    
    .how-we-operate-section div[style*="width: 1345px"] {
        width: 90% !important;
        left: 5% !important;
    }
}

@media (max-width: 768px) {
    .service-content-section div[style*="font-size: 65px"] {
        font-size: 45px !important;
        line-height: 45px !important;
    }
    
    .service-content-section div[style*="font-size: 20px"] {
        font-size: 16px !important;
        line-height: 22px !important;
        top: 80px !important;
    }
    
    .how-we-operate-section div[style*="font-size: 65px"] {
        font-size: 45px !important;
        line-height: 45px !important;
    }
    
    .how-we-operate-section div[style*="width: 328px"] {
        width: 100% !important;
        position: relative !important;
        left: 0 !important;
        margin-bottom: 30px !important;
    }
    
    .how-we-operate-section div[style*="width: 1345px"] {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .service-content-section div[style*="font-size: 65px"] {
        font-size: 35px !important;
        line-height: 35px !important;
    }
    
    .service-content-section div[style*="font-size: 20px"] {
        font-size: 14px !important;
        line-height: 20px !important;
        top: 70px !important;
    }
    
    .how-we-operate-section div[style*="font-size: 65px"] {
        font-size: 35px !important;
        line-height: 35px !important;
    }
    
    .how-we-operate-section div[style*="font-size: 30px"] {
        font-size: 24px !important;
        line-height: 24px !important;
    }
    
    .how-we-operate-section div[style*="font-size: 16px"] {
        font-size: 14px !important;
        line-height: 18px !important;
    }
}

/* Table Column Rulers */
.table-column-ruler {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.table-column-ruler-right {
    right: 0;
}

/* Process Section Improvements */
.service-process-steps {
    position: relative;
    padding: 60px 0;
}

.process-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-icon-container {
    margin-bottom: 20px;
}

.process-icon-circle {
    width: 54px;
    height: 54px;
    background: var(--tt-accent-color);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.process-icon-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
}

.process-section-title {
    font-size: 65px;
    font-family: 'Big Shoulders Display';
    font-weight: 600;
    text-transform: capitalize;
    color: rgba(0, 0, 0, 0.20);
    margin: 0;
    letter-spacing: 2px;
}

.service-process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tt-accent-color) 0%, rgba(255,255,255,0.1) 100%);
    z-index: 1;
    transform: translateY(-50%);
}

.process-step {
    position: relative;
    background: var(--tt-bg-color-secondary);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--tt-border-color);
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--tt-accent-color);
}

.process-step-number {
    width: 80px;
    height: 80px;
    background: var(--tt-accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 25px auto;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover .process-step-number {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.process-step-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--tt-text-color);
    line-height: 1.3;
}

.process-step-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--tt-text-color-muted);
    margin: 0;
}

/* Service Content Section Improvements */
.service-content-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--tt-bg-color-secondary) 0%, var(--tt-bg-color) 100%);
    border-radius: 30px;
    margin: 60px 0;
}

.service-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    border-radius: 30px;
    opacity: 0.5;
}

.service-content-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--tt-text-color);
    position: relative;
    z-index: 2;
}

.service-content-description {
    font-size: 20px;
    line-height: 1.8;
    color: var(--tt-text-color);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-process-steps::before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 30px;
        padding: 30px 20px;
    }
    
    .process-step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .process-step-title {
        font-size: 20px;
    }
    
    .process-step-description {
        font-size: 15px;
    }
    
    .service-content-section {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .service-content-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .service-content-description {
        font-size: 18px;
        padding: 0 15px;
    }
}

/* Animation Classes */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-content-section {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

/* Enhanced Visual Elements */
.service-process-title {
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--tt-text-color);
    position: relative;
}

.service-process-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--tt-accent-color);
    border-radius: 2px;
}

/* Font Improvements for Dark/Light Themes */
:root {
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
}

/* Improved text contrast for better readability */
.tt-text-color {
    color: var(--tt-text-color) !important;
    font-weight: var(--font-weight-regular);
}

.tt-text-color-secondary {
    color: var(--tt-text-color-secondary) !important;
    font-weight: var(--font-weight-regular);
}

.tt-text-color-muted {
    color: var(--tt-text-color-muted) !important;
    font-weight: var(--font-weight-light);
}

/* Dark theme font improvements */
[data-theme="dark"] .service-content-title,
[data-theme="dark"] .process-section-title {
    color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .service-content-description,
[data-theme="dark"] .process-step-description {
    color: var(--tt-text-color) !important;
    font-weight: var(--font-weight-regular);
}

[data-theme="dark"] .service-table-row h4,
[data-theme="dark"] .service-table-row p {
    color: var(--tt-text-color) !important;
    font-weight: var(--font-weight-medium);
}

/* Light theme font improvements */
[data-theme="light"] .service-content-title,
[data-theme="light"] .process-section-title {
    color: rgba(0, 0, 0, 0.20) !important;
}

[data-theme="light"] .service-content-description,
[data-theme="light"] .process-step-description {
    color: var(--tt-text-color) !important;
    font-weight: var(--font-weight-regular);
}

[data-theme="light"] .service-table-row h4,
[data-theme="light"] .service-table-row p {
    color: var(--tt-text-color) !important;
    font-weight: var(--font-weight-medium);
}

/* Typography improvements for better readability */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p, .text-md, .text-lg {
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Button text improvements */
.tt-btn {
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
}

/* Form text improvements */
input, textarea, select {
    font-weight: var(--font-weight-regular);
    color: var(--tt-text-color);
}

/* Navigation text improvements */
.tt-main-menu-list a {
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.02em;
}

/* Footer text improvements */
.tt-footer-widget-list li {
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
}

/* Improved Table Styling */
.service-table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-table thead tr {
    background: linear-gradient(135deg, var(--tt-accent-color) 0%, #1a1a1a 100%);
}

.service-table th {
    padding: 25px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.service-table td {
    padding: 25px 20px;
    font-size: 15px;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

.service-table tbody tr:hover {
    background: var(--tt-bg-color-secondary);
}

/* FAQ Section Improvements */
.service-faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.service-faq-title {
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--tt-text-color);
    position: relative;
}

.service-faq-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--tt-accent-color);
    border-radius: 2px;
}


/*  */
