/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE - ZOHO DESIGN STYLE
   Clean, Modern, Enterprise-focused
   ═══════════════════════════════════════════════════════════ */

/* Smooth Scrolling & Performance */
html {
    scroll-behavior: smooth;
}

/* Hardware Acceleration */
.service-card,
.service-icon,
.btn-service {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* CSS Variables - Matching Index Page */
:root {
    --zoho-red: #3A7BD5;
    --zoho-dark-red: #2563EB;
    --zoho-orange: #60A5FA;
    --zoho-blue: #3A7BD5;
    --zoho-dark-blue: #2563EB;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --lighter-bg: #FAFBFC;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --zoho-green: #10B981;
    --zoho-yellow: #F59E0B;
    --zoho-purple: #8B5CF6;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-xxxl: 96px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section */
.services-hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #3A7BD5 0%, #2563EB 100%);
    margin-top: 70px;
}

.hero-content-services {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-services h1 {
    font-size: 52px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xxl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
}

.btn-primary-services {
    padding: 16px 40px;
    background: var(--white);
    color: var(--zoho-red);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary-services:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary-services {
    padding: 16px 40px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary-services:hover {
    background: var(--white);
    color: var(--zoho-red);
}

/* Value Proposition */
.value-prop {
    padding: 80px 0;
    background: var(--white);
}

.value-prop .section-title-center {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

/* Automation Solutions Section */
.automation-services-section {
    padding: 100px 0;
    background: var(--white);
}

.automation-services-section .section-header-premium {
    text-align: center;
    margin-bottom: 60px;
}

.automation-services-section .section-header-premium h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.automation-services-section .section-header-premium p {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.automation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.automation-card {
    background: #FAFAFA;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.automation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--zoho-blue);
}

.automation-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--zoho-blue) 0%, var(--zoho-dark-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.automation-icon i {
    font-size: 32px;
    color: var(--white);
}

.automation-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.automation-description {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.automation-example {
    background: var(--white);
    padding: 16px;
    border-radius: 6px;
    border-left: 3px solid var(--zoho-blue);
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.automation-example strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

/* Explore More Card */
.explore-more-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left-color: #3A7BD5;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.explore-more-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.explore-more-card:hover .explore-more-bg {
    transform: scale(1.1);
}

.explore-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.85) 0%, rgba(0, 212, 255, 0.85) 100%);
    z-index: 1;
}

.explore-more-card:hover {
    border-left-color: #fff;
}

.explore-more-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding: 40px;
}

.explore-more-content h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
}

.explore-more-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-explore-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #3A7BD5;
    padding: 14px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-explore-more:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-explore-more i {
    transition: transform 0.3s ease;
}

.btn-explore-more:hover i {
    transform: translateX(5px);
}

/* Features Grid Section */
.features-grid-section {
    padding: 80px 0;
    background: #F8F9FA;
}

.features-grid-section .section-title-center {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.feature-card-zoho {
    background: var(--white);
    padding: var(--space-xxl);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.feature-card-zoho:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon-zoho {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3A7BD5 0%, #2563EB 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.feature-icon-zoho i {
    font-size: 28px;
    color: var(--white);
}

.feature-card-zoho h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.feature-card-zoho p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--zoho-red);
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
}

/* Trusted Companies Section */
.trusted-companies {
    padding: 80px 0;
    background: #F8F9FA;
}

.trusted-companies .section-title-center {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 60px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    min-height: 120px;
}

.company-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.company-logo img {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.company-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* IT Management Section */
.it-management {
    padding: 100px 0;
    background: var(--white);
}

.it-management .section-title-center {
    font-size: 40px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.it-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.it-service-card {
    background: #F8F9FA;
    padding: var(--space-xxl);
    border-radius: 8px;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.it-service-card:hover {
    border-color: var(--zoho-red);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(58, 123, 213, 0.15);
}

.it-service-number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(58, 123, 213, 0.15);
    margin-bottom: var(--space-md);
    line-height: 1;
}

.it-service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.it-service-card > p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.it-service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.it-service-features li {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.it-service-features i {
    color: var(--zoho-red);
    font-size: 14px;
}

.it-service-card:hover .it-service-number {
    color: rgba(58, 123, 213, 0.25);
}

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.solutions-section .section-title-center {
    font-size: 40px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 60px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.solution-card {
    background: var(--white);
    padding: var(--space-xxl);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3A7BD5 0%, #2563B8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.solution-icon i {
    font-size: 32px;
    color: var(--white);
}

.solution-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.solution-card p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.solution-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--zoho-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: var(--transition);
}

.solution-link:hover {
    gap: var(--space-sm);
}

.solution-link i {
    font-size: 14px;
}

/* CTA Section */
.cta-section-services {
    padding: 100px 0;
    background: linear-gradient(135deg, #1C4E80 0%, #0D2847 100%);
}

.cta-content-services {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content-services h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.cta-content-services p {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xxl);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cta-form input {
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cta-form input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit-services {
    padding: 18px 40px;
    background: var(--zoho-red);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: var(--space-md);
}

.btn-submit-services:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 123, 213, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-services h1 {
        font-size: 40px;
    }
    
    .automation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .it-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 60px;
    }
    
    .hero-content-services h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary-services,
    .btn-secondary-services {
        width: 100%;
        text-align: center;
    }
    
    .automation-services-section {
        padding: 60px 0;
    }
    
    .automation-services-section .section-header-premium h2 {
        font-size: 32px;
    }
    
    .automation-services-section .section-header-premium p {
        font-size: 16px;
    }
    
    .automation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .automation-card {
        padding: 30px;
    }
    
    .automation-card h3 {
        font-size: 22px;
    }
    
    .features-grid-section,
    .stats-section,
    .trusted-companies,
    .it-management,
    .solutions-section,
    .cta-section-services {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .it-services-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content-services h2 {
        font-size: 28px;
    }
}


/* FAQ Section */
.faq-services-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-services-section .section-title-center {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.faq-intro-services {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 60px;
}

.faq-grid-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item-services {
    border: 1px solid #E0E0E0;
    border-right: none;
    border-bottom: none;
    padding: var(--space-xl);
}

.faq-item-services:nth-child(2n) {
    border-right: 1px solid #E0E0E0;
}

.faq-item-services:nth-last-child(-n+2) {
    border-bottom: 1px solid #E0E0E0;
}

.faq-question-services {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 0;
}

.faq-question-services:hover {
    color: var(--zoho-red);
}

.faq-question-services i {
    font-size: 14px;
    color: var(--zoho-red);
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-item-services.active .faq-question-services i {
    transform: rotate(45deg);
}

.faq-answer-services {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item-services.active .faq-answer-services {
    max-height: 300px;
}

.faq-answer-services p {
    padding-top: var(--space-md);
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .faq-services-section {
        padding: 60px 0;
    }
    
    .faq-grid-services {
        grid-template-columns: 1fr;
    }
    
    .faq-item-services {
        border-right: 1px solid #E0E0E0;
    }
    
    .faq-item-services:last-child {
        border-bottom: 1px solid #E0E0E0;
    }
}


/* Automation Approach Section */
.automation-approach-section {
    padding: 100px 0;
    background: #fff;
}

.section-subtitle-center {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.automation-approach-section .section-title-center,
.why-automation-section .section-title-center {
    text-align: center;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.approach-card {
    text-align: center;
    padding: 40px 25px;
    background: #f8f9fa;
    border-radius: 0;
    transition: all 0.3s ease;
}

.approach-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.approach-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3A7BD5 0%, #00D4FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.approach-card:hover .approach-icon {
    transform: scale(1.1);
}

.approach-icon i {
    font-size: 30px;
    color: white;
}

.approach-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.approach-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Why Automation Section */
.why-automation-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 0;
    position: relative;
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: #3A7BD5;
}

.benefit-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(58, 123, 213, 0.1);
    line-height: 1;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3A7BD5 0%, #00D4FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.benefit-icon i {
    font-size: 26px;
    color: white;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .automation-approach-section,
    .why-automation-section {
        padding: 60px 0;
    }
    
    .approach-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .approach-card,
    .benefit-card {
        padding: 30px 25px;
    }
    
    .section-subtitle-center {
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .automation-approach-section,
    .why-automation-section {
        padding: 50px 0;
    }
    
    .approach-card h3,
    .benefit-card h3 {
        font-size: 18px;
    }
    
    .benefit-number {
        font-size: 36px;
    }
}


/* ═══════════════════════════════════════════════════════════
   MARKETING SERVICES SECTION - BOX IN BOX DESIGN (ZOHO STYLE)
   ═══════════════════════════════════════════════════════════ */

.marketing-services-section {
    padding: 100px 0;
    background: #F8F9FA;
}

/* Outer Box - With Background Image Pattern */
.marketing-outer-box {
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 50px;
    background-image: url('static/img/pexels-mateusz-dach-99805-450035.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Overlay for outer box - Light overlay for visibility */
.marketing-outer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Inner Box - White Content Box */
.marketing-inner-box {
    background: #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.marketing-inner-box:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

/* Content Box - Centered */
.marketing-content-box {
    padding: 60px 70px;
    max-width: 900px;
    margin: 0 auto;
}

/* Title Row */
.marketing-title-row {
    margin-bottom: 25px;
}

.marketing-title-row h3 {
    font-size: 36px;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}

/* Description - Always Visible */
.marketing-card-description {
    margin-bottom: 40px;
}

.marketing-card-description p {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.marketing-card-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marketing-card-description ul li {
    font-size: 15px;
    color: #4B5563;
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
}

.marketing-card-description ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #3A7BD5;
    font-size: 14px;
}

/* Bottom Actions - Connect & Demo */
.marketing-card-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-marketing-action {
    flex: 1;
    max-width: 280px;
    padding: 18px 36px;
    background: #FFFFFF;
    color: #1F2937;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
    border-radius: 0;
}

.btn-marketing-action:hover {
    background: #F3F4F6;
    color: #3A7BD5;
    border-color: #3A7BD5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 123, 213, 0.2);
}

.btn-marketing-action i {
    font-size: 18px;
}

.btn-marketing-action.btn-demo {
    background: #3A7BD5;
    color: #FFFFFF;
    border-color: #3A7BD5;
}

.btn-marketing-action.btn-demo:hover {
    background: #2563B8;
    color: #FFFFFF;
    border-color: #2563B8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Navigation Arrows */
.marketing-card-nav {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-arrow:hover {
    background: #3A7BD5;
    border-color: #3A7BD5;
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(58, 123, 213, 0.3);
}

.nav-arrow i {
    font-size: 16px;
    color: #1F2937;
    transition: color 0.3s ease;
}

.nav-arrow:hover i {
    color: #FFFFFF;
}

.nav-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    background: #FFFFFF;
    border-color: #E5E7EB;
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-arrow:disabled:hover i {
    color: #1F2937;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .marketing-outer-box {
        padding: 40px;
    }
    
    .marketing-content-box {
        padding: 50px 50px;
    }
    
    .marketing-title-row h3 {
        font-size: 30px;
    }
    
    .marketing-card-nav {
        right: 25px;
        bottom: 25px;
    }
    
    .nav-arrow {
        width: 44px;
        height: 44px;
    }
    
    .nav-arrow i {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .marketing-services-section {
        padding: 80px 0;
    }
    
    .marketing-outer-box {
        margin-top: 40px;
        padding: 25px;
    }
    
    .marketing-content-box {
        padding: 40px 30px 80px 30px;
    }
    
    .marketing-title-row h3 {
        font-size: 26px;
    }
    
    .marketing-card-description {
        margin-bottom: 30px;
    }
    
    .marketing-card-description p {
        font-size: 15px;
    }
    
    .marketing-card-actions {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 60px;
    }
    
    .btn-marketing-action {
        max-width: 100%;
    }
    
    .marketing-card-nav {
        right: 50%;
        bottom: 15px;
        transform: translateX(50%);
        gap: 20px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .nav-arrow i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .marketing-outer-box {
        padding: 20px;
    }
    
    .marketing-content-box {
        padding: 30px 20px 70px 20px;
    }
    
    .marketing-title-row h3 {
        font-size: 22px;
    }
    
    .marketing-card-description p {
        font-size: 14px;
    }
    
    .marketing-card-description ul li {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .marketing-card-actions {
        margin-bottom: 50px;
    }
    
    .btn-marketing-action {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .marketing-card-nav {
        bottom: 12px;
        gap: 15px;
    }
    
    .nav-arrow {
        width: 36px;
        height: 36px;
    }
    
    .nav-arrow i {
        font-size: 13px;
    }
}


/* ═══════════════════════════════════════════════════════════
   TITLE CARD EFFECT
   ═══════════════════════════════════════════════════════════ */

.title-card-wrapper {
    perspective: 1000px;
    margin: 60px 0;
}

.title-card-effect {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    line-height: 1.4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(58, 123, 213, 0.1);
    position: relative;
    overflow: hidden;
    animation: cardEntrance 1s ease-out;
}

.title-card-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(58, 123, 213, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordFadeIn 0.8s ease-out forwards;
    background: linear-gradient(135deg, #3A7BD5 0%, #2563EB 50%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: wordFadeIn 0.8s ease-out forwards, gradientShift 4s ease infinite;
    white-space: nowrap;
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word:nth-child(2) {
    animation-delay: 0.4s;
}

.title-word:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: rotateX(-15deg) translateY(50px);
    }
    to {
        opacity: 1;
        transform: rotateX(0) translateY(0);
    }
}

@keyframes wordFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Hover Effect */
.title-card-effect:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(58, 123, 213, 0.2);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .title-card-effect {
        font-size: 32px;
        padding: 40px 30px;
        gap: 15px;
        flex-direction: column;
    }
    
    .title-word {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .title-card-effect {
        font-size: 24px;
        padding: 30px 20px;
        gap: 12px;
    }
}
