/* Services Page Enhanced Styles */

/* Business Impact Section */
.business-impact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.impact-metrics {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    flex-wrap: wrap;
}

.impact-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: calc(33.33% - 20px);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.impact-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f, #fdbb2d);
}

.impact-icon {
    font-size: 2.5rem;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 10px;
}

.impact-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.impact-description {
    color: #555;
    font-size: 0.95rem;
}

.impact-visualization {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-bottom: 40px;
}

.impact-visualization h3 {
    margin-bottom: 30px;
    text-align: center;
    color: #1a2a6c;
}

.chart-container {
    max-width: 800px;
    margin: 0 auto;
}

.chart-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.bar-label {
    width: 150px;
    font-weight: 600;
    color: #333;
}

.bar-track {
    flex-grow: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 20px;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
    border-radius: 10px;
    position: relative;
    width: 0;
    transition: width 1.5s ease;
}

.bar-value {
    width: 50px;
    font-weight: 600;
    color: #1a2a6c;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f, #fdbb2d);
}

.service-icon {
    font-size: 2.5rem;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1a2a6c;
}

.service-card p {
    margin-bottom: 20px;
    color: #555;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features i {
    color: #1a2a6c;
    margin-right: 10px;
}

.service-case {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: auto;
}

.service-case h4 {
    margin-bottom: 10px;
    color: #1a2a6c;
    font-size: 1.1rem;
}

.service-case p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ROI Calculator */
.roi-calculator {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.calculator-container {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 40px;
}

.calculator-inputs {
    width: 50%;
    padding: 40px;
}

.calculator-results {
    width: 50%;
    padding: 40px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    transition: all 0.3s ease;
}

.calculator-results.highlight {
    animation: pulse 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.input-group select,
.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.calculator-results h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item.total,
.result-item.roi {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 20px;
}

.results-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 20px 0;
}

/* Our Process Section */
.our-process {
    padding: 80px 0;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, #1a2a6c, #b21f1f, #fdbb2d);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-number {
    width: 50px;
    height: 50px;
    background: #1a2a6c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-content {
    width: 45%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    position: relative;
}

.timeline-content.left {
    margin-right: 55%;
}

.timeline-content.right {
    margin-left: 55%;
}

.timeline-header {
    margin-bottom: 20px;
}

.phase-label {
    display: inline-block;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: #1a2a6c;
    margin-bottom: 10px;
}

.timeline-details {
    margin-top: 20px;
}

.key-benefits h4 {
    margin-bottom: 10px;
    color: #555;
    font-size: 1.1rem;
}

.key-benefits ul {
    padding-left: 20px;
}

.key-benefits li {
    margin-bottom: 5px;
}

.learn-more {
    display: inline-block;
    margin-top: 20px;
    color: #1a2a6c;
    font-weight: 600;
    text-decoration: none;
}

.learn-more:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 15px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #f0f0f0;
}

.category-btn.active {
    background: #1a2a6c;
    color: white;
    border-color: #1a2a6c;
}

.faq-search {
    display: flex;
    align-items: center;
}

.faq-search input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    font-size: 0.9rem;
    width: 200px;
}

.faq-search button {
    padding: 8px 15px;
    background: #1a2a6c;
    color: white;
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

.faq-expand-collapse {
    display: flex;
}

.faq-expand-collapse button {
    padding: 8px 15px;
    background: none;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.faq-expand-collapse button:first-child {
    border-radius: 20px 0 0 20px;
}

.faq-expand-collapse button:last-child {
    border-radius: 0 20px 20px 0;
}

.faq-list {
    margin-top: 30px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #1a2a6c;
}

.question-toggle {
    font-size: 1.2rem;
    color: #1a2a6c;
}

.faq-answer {
    padding: 0 30px 30px;
    display: none;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 5px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    color: white;
    text-align: center;
}

@keyframes gradient-animation {
    0% {background-position: 0% 50%}
    50% {background-position: 100% 50%}
    100% {background-position: 0% 50%}
}

.cta-section h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .impact-card {
        width: calc(50% - 20px);
        margin-bottom: 20px;
    }
    
    .calculator-container {
        flex-direction: column;
    }
    
    .calculator-inputs,
    .calculator-results {
        width: 100%;
    }
    
    .process-timeline:before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .impact-card {
        width: 100%;
    }
    
    .faq-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .faq-categories,
    .faq-search,
    .faq-expand-collapse {
        margin-bottom: 15px;
        width: 100%;
    }
    
    .faq-search input {
        flex-grow: 1;
    }
}
