/* Shared Service Pages Styles */

/* Service Hero Section */
.service-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding-top: 90px;
    /* Offset for fixed navbar height */
}

@media (max-width: 768px) {
    .service-hero {
        padding-top: 110px;
        /* Extra space on small screens where navbar may wrap */
    }
}

/* CTA buttons unified style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

.btn i {
    font-size: 14px;
}

.btn-primary {
    /* Include base button styles so it looks good even without the .btn class */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;

    /* Primary visuals */
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(102, 126, 234, .35);
}

.btn-secondary {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-2px);
}

.service-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

@media (max-width: 768px) {
    .service-hero-actions {
        flex-direction: column;
    }
}

.service-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out;
}

.service-badge .badge-icon {
    font-size: 1.2rem;
}

.service-badge .badge-text {
    font-weight: 500;
    font-size: 0.95rem;
}

.service-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-subtitle {
    font-size: 1.3rem;
    margin: 30px 0;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.service-features-preview {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.feature-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-preview i {
    color: #FFD700;
}

/* Service Content Sections */
.service-content {
    padding: 80px 0;
    background: #ffffff;
}

/* CTA actions container used in multiple service pages */
.cta-actions,
.service-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

.cta-actions .btn-primary,
.service-hero-actions .btn-primary {
    min-width: 220px;
    justify-content: center;
}

.cta-actions .btn-primary i,
.service-hero-actions .btn-primary i {
    font-size: 16px;
}

.content-section {
    margin-bottom: 80px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #495057;
}

.feature-list li i {
    color: #28a745;
    font-size: 0.9rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0.3;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.process-step p {
    color: #6c757d;
    line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Compare-grid (new component) */
.compare-grid{background:#fff;border-radius:20px;box-shadow:0 16px 40px rgba(0,0,0,.08);padding:20px;overflow-x:auto;border:1px solid #e5e7eb;margin:48px 0}
.compare-table{min-width:820px;width:100%;border-collapse:separate;border-spacing:0;border-radius:14px;overflow:hidden}
/* Column headers */
.compare-table thead th{color:#fff;padding:16px 14px;border-right:1px solid rgba(255,255,255,.25);text-align:center;font-weight:800}
.compare-table thead th:first-child{background:#0f172a;color:#fff;text-align:left}
.compare-table thead th:nth-child(2){background:linear-gradient(135deg,#f59e0b,#f97316)}
.compare-table thead th:nth-child(3){background:linear-gradient(135deg,#0ea5e9,#3b82f6)}
.compare-table thead th:nth-child(4){background:linear-gradient(135deg,#8b5cf6,#a855f7)}
/* Body cells */
.compare-table tbody td{padding:14px;border-top:1px solid #eef2ff;text-align:center;vertical-align:top}
.compare-table tbody td:first-child{text-align:left;font-weight:700;color:#0f172a;background:linear-gradient(180deg,#f8fafc,#ffffff)}
/* Column backgrounds for more color */
.compare-table tbody td:nth-child(2){background:linear-gradient(180deg,rgba(249,115,22,.06),transparent)}
.compare-table tbody td:nth-child(3){background:linear-gradient(180deg,rgba(59,130,246,.06),transparent)}
.compare-table tbody td:nth-child(4){background:linear-gradient(180deg,rgba(168,85,247,.06),transparent)}
/* Icon colors per column */
.compare-table tbody td:nth-child(2) .compare-check{color:#f59e0b}
.compare-table tbody td:nth-child(3) .compare-check{color:#3b82f6}
.compare-table tbody td:nth-child(4) .compare-check{color:#8b5cf6}
.compare-check{color:#16a34a}
.compare-cross{color:#ef4444}
.compare-cta{display:inline-block;margin-top:16px;padding:12px 22px;border-radius:12px;background:linear-gradient(135deg,#22c55e,#16a34a,#06b6d4);color:#fff;text-decoration:none;font-weight:800;box-shadow:0 10px 25px rgba(34,197,94,.25)}
.compare-cta:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(34,197,94,.35)}
.buy-strip{text-align:center;margin-top:18px}
.compare-list{margin:6px 0 0 18px;padding:0}
.compare-list li{list-style:disc;margin:6px 0;color:#0f172a}
.compare-table tr.what-you-get td{text-align:left}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.pricing-period {
    color: #6c757d;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #495057;
}

.pricing-features li i {
    color: #28a745;
}

.pricing-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.benefit-content p {
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

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

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

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

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.service-cta {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #667eea;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info h5 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 2.5rem;
    }

    .service-features-preview {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-hero-content {
        padding: 0 15px;
    }

    .service-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
}