/* Service Page Styles */

/* Section Titles */
.service-page .section-title {
    color: #1a1a1a;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

.service-page .section-subtitle {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    color: #fff;
    text-align: center;
}

.service-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.service-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 40px;
}

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

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.why-card p {
    color: #666;
    line-height: 1.7;
}

/* Tech Stack Section */
.tech-stack {
    padding: 80px 0;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.tech-category {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.tech-category:hover {
    border-color: #667eea;
}

.tech-category-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e9ecef;
    color: #495057;
}

.tech-badge.specialty {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.tech-category-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.tech-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    line-height: 1.6;
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list strong {
    color: #1a1a1a;
    font-weight: 600;
}

.tech-benefits {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
    color: #495057;
    line-height: 1.6;
}

.tech-benefits strong {
    color: #1a1a1a;
}

.tech-approach {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 16px;
    text-align: center;
}

.tech-approach h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.tech-approach p {
    color: #495057;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Service Types */
.service-types {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.type-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.type-card.featured {
    border: 2px solid #667eea;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.type-card > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.type-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.type-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #495057;
    line-height: 1.5;
}

.type-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.type-time {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Process Timeline */
.process {
    padding: 80px 0;
}

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

.process-timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.step-duration {
    display: inline-block;
    padding: 4px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
}

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

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.focus-item {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.focus-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.focus-icon {
    font-size: 3rem;
}

.focus-header h2 {
    font-size: 2rem;
    color: #1a1a1a;
}

.focus-intro {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 24px;
    font-weight: 500;
}

.focus-list {
    list-style: none;
    padding: 0;
}

.focus-list li {
    padding: 14px 0;
    padding-left: 35px;
    position: relative;
    color: #495057;
    line-height: 1.6;
    border-bottom: 1px solid #e9ecef;
}

.focus-list li:last-child {
    border-bottom: none;
}

.focus-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.focus-list strong {
    color: #1a1a1a;
}

/* Included Section */
.included-section {
    padding: 80px 0;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    font-weight: 500;
    color: #495057;
    transition: all 0.3s ease;
}

.included-item:hover {
    background: #667eea;
    color: #fff;
    transform: translateX(5px);
}

.check-icon {
    width: 30px;
    height: 30px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.included-item:hover .check-icon {
    background: #fff;
    color: #667eea;
}

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

.faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 600;
}

.faq-answer p {
    color: #495057;
    line-height: 1.7;
    margin: 0;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    color: #d9dde3;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0 60px;
    }

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

    .service-hero-description {
        font-size: 1.1rem;
    }

    .tech-categories,
    .focus-grid {
        grid-template-columns: 1fr;
    }

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

    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

/* Dark Mode Styles */
[data-theme="dark"] .service-page .section-title {
    color: var(--text-dark);
}

[data-theme="dark"] .service-page .section-subtitle {
    color: var(--text-light);
}

[data-theme="dark"] .service-hero {
    background: linear-gradient(135deg, #5BB5B5 0%, #4A5568 100%);
}

[data-theme="dark"] .why-choose {
    background: var(--white);
}

[data-theme="dark"] .why-card {
    background: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .why-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .why-card h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .why-card p {
    color: var(--text-light);
}

[data-theme="dark"] .tech-stack {
    background: var(--white);
}

[data-theme="dark"] .tech-category {
    background: var(--accent-color);
    border-color: var(--secondary-color);
}

[data-theme="dark"] .tech-category:hover {
    border-color: var(--primary-color);
}

[data-theme="dark"] .tech-category-desc {
    color: var(--text-light);
}

[data-theme="dark"] .tech-list li {
    border-bottom-color: var(--secondary-color);
    color: var(--text-light);
}

[data-theme="dark"] .tech-list strong {
    color: var(--text-dark);
}

[data-theme="dark"] .tech-benefits {
    background: var(--secondary-color);
    color: var(--text-light);
}

[data-theme="dark"] .tech-benefits strong {
    color: var(--text-dark);
}

[data-theme="dark"] .tech-approach {
    background: linear-gradient(135deg, rgba(91, 181, 181, 0.15) 0%, rgba(74, 85, 104, 0.15) 100%);
}

[data-theme="dark"] .tech-approach h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .tech-approach p {
    color: var(--text-light);
}

[data-theme="dark"] .service-types {
    background: var(--white);
}

[data-theme="dark"] .type-card {
    background: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .type-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .type-card.featured {
    border-color: var(--primary-color);
}

[data-theme="dark"] .type-card h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .type-card > p {
    color: var(--text-light);
}

[data-theme="dark"] .type-features li {
    color: var(--text-light);
}

[data-theme="dark"] .type-features li:before {
    color: var(--primary-color);
}

[data-theme="dark"] .type-time {
    background: var(--secondary-color);
    color: var(--text-light);
}

[data-theme="dark"] .process {
    background: var(--white);
}

[data-theme="dark"] .process-timeline::before {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

[data-theme="dark"] .step-content {
    background: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .step-content h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .step-content p {
    color: var(--text-light);
}

[data-theme="dark"] .step-duration {
    background: var(--secondary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .focus-section {
    background: var(--white);
}

[data-theme="dark"] .focus-item {
    background: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .focus-header h2 {
    color: var(--text-dark);
}

[data-theme="dark"] .focus-intro {
    color: var(--text-light);
}

[data-theme="dark"] .focus-list li {
    color: var(--text-light);
    border-bottom-color: var(--secondary-color);
}

[data-theme="dark"] .focus-list li:before {
    color: var(--primary-color);
}

[data-theme="dark"] .focus-list strong {
    color: var(--text-dark);
}

[data-theme="dark"] .included-section {
    background: var(--white);
}

[data-theme="dark"] .included-item {
    background: var(--accent-color);
    color: var(--text-light);
}

[data-theme="dark"] .included-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

[data-theme="dark"] .included-item:hover .check-icon {
    background: var(--white);
    color: var(--primary-color);
}

[data-theme="dark"] .check-icon {
    background: var(--primary-color);
    color: var(--white);
}

[data-theme="dark"] .faq-section {
    background: var(--white);
}

[data-theme="dark"] .faq-item {
    background: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .faq-question {
    color: var(--text-dark);
}

[data-theme="dark"] .faq-answer p {
    color: var(--text-light);
}

[data-theme="dark"] .final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Contact Section Overrides */
.service-page .contact {
    padding: 80px 0;
    background: #f8f9fa;
}

[data-theme="dark"] .service-page .contact {
    background: var(--white);
}

.service-page .contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.service-page .contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-page .contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-page .contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .service-page .contact-item {
    background: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .service-page .contact-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.service-page .contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.service-page .contact-details {
    flex: 1;
}

.service-page .contact-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .service-page .contact-details h3 {
    color: var(--text-light);
}

.service-page .contact-details a,
.service-page .contact-details p {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

[data-theme="dark"] .service-page .contact-details a,
[data-theme="dark"] .service-page .contact-details p {
    color: var(--text-dark);
}

.service-page .contact-details a:hover {
    color: var(--primary-color);
}

.service-page .contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .service-page .contact-form {
    background: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-page .form-group {
    margin-bottom: 25px;
    position: relative;
}

.service-page .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-size: 0.95rem;
}

[data-theme="dark"] .service-page .form-group label {
    color: var(--text-dark);
}

.service-page .form-group input,
.service-page .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    color: #1a1a1a;
}

[data-theme="dark"] .service-page .form-group input,
[data-theme="dark"] .service-page .form-group textarea {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
}

.service-page .form-group input:focus,
.service-page .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 181, 181, 0.1);
}

.service-page .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.service-page .contact-form button {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-page .contact-form button:hover {
    background: #4a9d9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(91, 181, 181, 0.3);
}

/* Responsive Contact Section */
@media (max-width: 968px) {
    .service-page .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
