/* ========================================
   SamparkPro Frontend - Modern & Futuristic Styles
   ======================================== */

/* Hero Section Styles */

/* Icon Customization */
.material-icons-two-tone {
    background-color: var(--bs-primary-600);
    --ct-sidebar-icon-color: var(--bs-primary-700);
    --ct-sidebar-main-active-color: var(--bs-primary-900);
}
.hero-section {
    position: relative;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08) 0%, rgba(var(--bs-info-rgb), 0.05) 100%);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(var(--bs-primary-rgb), 0.25) 0%, rgba(var(--bs-primary-rgb), 0.15) 30%, rgba(var(--bs-primary-rgb), 0.05) 60%, transparent 100%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
    filter: blur(40px);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(var(--bs-info-rgb), 0.2) 0%, rgba(var(--bs-success-rgb), 0.12) 30%, rgba(var(--bs-success-rgb), 0.05) 60%, transparent 100%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    z-index: 0;
    filter: blur(50px);
}

.hero-badge {
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.6s ease-out;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.2);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-30px, -30px) scale(1.1);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--ct-heading-color);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .text-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--bs-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-features {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.feature-check-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-success);
    flex-shrink: 0;
}

.feature-check-icon i {
    font-size: 1.3rem;
}

.hero-illustration {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-svg {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes typing {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* SVG Animation Styles */
.float-element {
    animation: float 8s ease-in-out infinite;
}

.feature-icon-float {
    animation: float 6s ease-in-out infinite;
}

.typing-dot {
    animation: typing 1.5s ease-in-out infinite;
}

.hero-section .row {
    position: relative;
    z-index: 1;
}

/* Feature Cards */
.feature-card {
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    background: var(--bs-body-bg);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(var(--bs-primary-rgb), 0.15);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-info-rgb), 0.05));
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ct-heading-color);
}

.feature-description {
    color: var(--bs-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.03) 0%, rgba(var(--bs-info-rgb), 0.03) 100%);
    position: relative;
}

.cta-card {
    background: white;
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Buttons Enhancement */
.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--bs-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--ct-heading-color);
}

.section-description {
    font-size: 1.125rem;
    color: var(--bs-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Service Cards */
.service-card {
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--bs-body-bg);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.05), rgba(var(--bs-info-rgb), 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(var(--bs-primary-rgb), 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 1rem;
}

.faq-accordion .accordion-button {
    background: var(--bs-body-bg);
    border: 2px solid rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ct-heading-color);
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-info-rgb), 0.05));
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.15);
}

.faq-accordion .accordion-button:hover {
    border-color: var(--bs-primary);
}

.faq-accordion .accordion-body {
    padding: 1.5rem 2rem;
    color: var(--bs-secondary);
    line-height: 1.8;
    background: rgba(var(--bs-primary-rgb), 0.02);
    border-radius: 0 0 12px 12px;
    margin-top: -10px;
}

.faq-accordion .accordion-button::after {
    background-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

/* Contact Form */
.contact-form {
    background: var(--bs-body-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.1);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    color: white;
    padding: 3rem;
    border-radius: 20px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--bs-primary), var(--bs-info));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content {
    background: var(--bs-body-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    width: calc(50% - 40px);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--bs-primary);
    border: 4px solid var(--bs-body-bg);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    z-index: 1;
}

/* Pricing Cards */
.pricing-card {
    background: var(--bs-body-bg);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid rgba(var(--bs-primary-rgb), 0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--bs-primary);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(var(--bs-primary-rgb), 0.2);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pricing-card:hover::before,
.pricing-card.featured::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(var(--bs-primary-rgb), 0.2);
    border-color: var(--bs-primary);
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--ct-heading-color);
    margin-bottom: 0.5rem;
}

.pricing-price sup {
    font-size: 1.5rem;
    top: -1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--bs-secondary);
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--bs-success);
    margin-right: 0.5rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--bs-body-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--bs-primary-rgb), 0.15);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--bs-primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bs-secondary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    color: var(--ct-heading-color);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: var(--bs-secondary);
    font-size: 0.9rem;
}

/* Page Header */
.page-header-modern {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08) 0%, rgba(var(--bs-info-rgb), 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.page-header-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-title-modern {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--ct-heading-color);
    position: relative;
    z-index: 1;
}

.page-subtitle-modern {
    font-size: 1.25rem;
    color: var(--bs-secondary);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Legal Content */
.legal-content {
    background: var(--bs-body-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--ct-heading-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--ct-heading-color);
}

.legal-content p {
    color: var(--bs-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.legal-content ul,
.legal-content ol {
    color: var(--bs-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
}

.legal-content strong {
    color: var(--ct-heading-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-svg {
        max-width: 400px;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title-modern {
        font-size: 2.25rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-badge .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-svg {
        max-width: 300px;
    }

    .btn-hero {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .page-title-modern {
        font-size: 1.875rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.badge-modern {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 1.75rem;
}

/* Dark Mode Adjustments */
[data-ct-theme="dark"] .feature-card,
[data-ct-theme="dark"] .service-card,
[data-ct-theme="dark"] .contact-form,
[data-ct-theme="dark"] .legal-content,
[data-ct-theme="dark"] .testimonial-card,
[data-ct-theme="dark"] .timeline-content {
    background: var(--ct-sidebar-background);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-ct-theme="dark"] .cta-card {
    background: var(--ct-sidebar-background);
}

[data-ct-theme="dark"] .contact-info-card {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
}

/* Enhanced Dark Mode Styles for Frontend Pages */

/* Body background override for dark mode */
body, body[data-ct-theme=light] {
    background: #e9f8f7 !important;
}
body[data-ct-theme=dark] {
    background: #1c232f !important;
}

/* Hero section enhancements */
[data-ct-theme=dark] .hero-section {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1) 0%, rgba(var(--bs-info-rgb), 0.08) 100%);
}

[data-ct-theme=dark] .hero-title {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-ct-theme=dark] .hero-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Section titles and descriptions */
[data-ct-theme=dark] .section-title {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-ct-theme=dark] .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-ct-theme=dark] .section-description {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Fix hardcoded bg-light sections */
[data-ct-theme=dark] .bg-light {
    background-color: #2a3441 !important;
}

[data-ct-theme=dark] .bg-light-subtle {
    background-color: #2a3441 !important;
}

/* Text color improvements */
[data-ct-theme=dark] h1, 
[data-ct-theme=dark] h2, 
[data-ct-theme=dark] h3, 
[data-ct-theme=dark] h4, 
[data-ct-theme=dark] h5, 
[data-ct-theme=dark] h6 {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-ct-theme=dark] .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-ct-theme=dark] .text-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero features text fix */
[data-ct-theme=dark] .hero-features span {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-ct-theme=dark] .hero-features .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Card hover effects */
[data-ct-theme=dark] .feature-card:hover,
[data-ct-theme=dark] .service-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* FAQ and pricing cards */
[data-ct-theme=dark] .faq-item,
[data-ct-theme=dark] .pricing-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-ct-theme=dark] .pricing-card.featured {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.15) 0%, rgba(var(--bs-info-rgb), 0.1) 100%) !important;
    border-color: var(--bs-primary) !important;
}

/* Form controls for contact page */
[data-ct-theme=dark] .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-ct-theme=dark] .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

[data-ct-theme=dark] .form-control:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--bs-primary) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

/* Stats and counters */
[data-ct-theme=dark] .stats-number {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-ct-theme=dark] .stats-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Team cards for about page */
[data-ct-theme=dark] .team-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-ct-theme=dark] .team-name {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-ct-theme=dark] .team-role {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Icon boxes */
[data-ct-theme=dark] .icon-box {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Service feature lists */
[data-ct-theme=dark] .service-feature-list li,
[data-ct-theme=dark] ul.list-unstyled li {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Legal content pages */
[data-ct-theme=dark] .legal-content {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-ct-theme=dark] .legal-content h2,
[data-ct-theme=dark] .legal-content h3,
[data-ct-theme=dark] .legal-content h4 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* CTA sections */
[data-ct-theme=dark] .cta-section {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.15) 0%, rgba(var(--bs-info-rgb), 0.1) 100%) !important;
}

/* Breadcrumbs */
[data-ct-theme=dark] .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-ct-theme=dark] .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-ct-theme=dark] .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Ensure proper button contrast */
[data-ct-theme=dark] .btn-outline-primary {
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}

[data-ct-theme=dark] .btn-outline-primary:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: white !important;
}

/* Footer improvements */
[data-ct-theme=dark] .footer-section {
    background: #161c25 !important;
}

/* Page header backgrounds */
[data-ct-theme=dark] .page-header-section {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1) 0%, rgba(var(--bs-info-rgb), 0.08) 100%) !important;
}

/* Testimonial improvements */
[data-ct-theme=dark] .testimonial-card .testimonial-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-ct-theme=dark] .testimonial-author {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-ct-theme=dark] .testimonial-role {
    color: rgba(255, 255, 255, 0.6) !important;
}
