/* Services Page Styles */

/* Base Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #e21c35 0%, #4e0c28 100%);
    --primary: #e21c35;
    --primary-light: #4e0c28;
    --text: #2d3748;
    --text-light: #718096;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light-bg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-gradient);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-intro {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force full viewport width and center content */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Services Showcase */
.services-showcase {
    padding: 80px 0;
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.services-showcase > .container {
    max-width: 1200px;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ensure all direct children are centered */
.services-showcase .section-header,
.services-showcase .service-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 0 60px 0;
    position: relative;
}

.services-showcase .section-header {
    max-width: 800px;
    margin: 60px auto 60px;
    text-align: center;
}

/* Service Block */
.service-block {
    display: flex;

    border-radius: var(--radius);
    width: 100%;
    max-width: 100%;
    margin: 0 auto 60px;
    overflow: hidden;

    margin-bottom: 60px;
    transition: var(--transition);
}



.service-block.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 0 1 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.service-visual {
    flex: 0 1 50%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: transparent !important;
}

.service-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.service-block:hover .service-visual img {
    transform: scale(1.05);
}

/* Service Badge */
.service-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.service-badge i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Service Content */
.service-content h3 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.service-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
}

.feature i {
    color: var(--primary-gradient);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 3px;
}

.feature h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 5px;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Call to Action */
.service-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-gradient);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
    transition: var(--transition);
}

.service-cta i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-cta:hover {
    color: var(--primary);
}

.service-cta:hover i {
    transform: translateX(5px);
}

/* Process Section */
.process-section {
    background: var(--light-bg);
    padding: 100px 0;
    margin-top: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.process-step:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(108, 99, 255, 0.1);
    margin-bottom: 1rem;
    line-height: 1;
    transition: var(--transition);
}

.process-step:hover .step-number {
    color: var(--primary-light);
}

.process-step h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-content {
        padding: 40px;
    }
    
    .service-visual {
        min-height: 350px;
    }
}

@media (max-width: 992px) {
    .service-block {
        flex-direction: column;
        max-width: 100%;
    }
    
    .service-content,
    .service-visual {
        width: 100%;
        max-width: 100%;
        padding: 30px !important;
    }
    
    .service-content {
        order: 2;
    }
    
    .service-visual {
        order: 1;
        min-height: 250px;
    }
    
    .service-block.reverse .service-content {
        order: 2;
    }
    
    .service-block.reverse .service-visual {
        order: 1;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-content h3 {
        font-size: 1.7rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-content, 
    .service-visual {
        padding: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-block {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-block:nth-child(2) {
    animation-delay: 0.1s;
}

.service-block:nth-child(3) {
    animation-delay: 0.2s;
}

.service-block:nth-child(4) {
    animation-delay: 0.3s;
}

/* Highlight Text */
.highlight {
    position: relative;
    display: inline-block;
}

/* Creative CTA Section */
.creative-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.creative-cta .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content {
    flex: 1;
    max-width: 560px;
    padding-right: 60px;
}

.cta-content h2 {
    font-size: 2.75rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    border: 2px solid transparent;
}

.cta-buttons .btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-primary:hover {
    background-color: #c41a30;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.cta-buttons .btn-outline:hover {
    background: rgba(226, 28, 53, 0.05);
    transform: translateY(-2px);
}

.cta-buttons .btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-buttons .btn:hover i {
    transform: translateX(4px);
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
}

.feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature i {
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-visual {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cta-image {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    overflow: hidden;
}

.cta-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .cta-content {
        padding-right: 40px;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .creative-cta {
        padding: 60px 0;
    }
    
    .creative-cta .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        padding-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
        text-align: center;
    }
    
    .cta-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .cta-visual {
        min-height: 300px;
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .feature {
        width: 100%;
        justify-content: center;
    }
}