﻿/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}


.section-dark .section-title {
    color: #FFFFFF;
}

.section-description {
    font-size: 1.5rem;
    color: #FFFFFFCC;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Service Overview */
.overview-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    padding: 0 20px;
}

.overview-content p {
    margin-bottom: 20px;
}

.highlight-box {
    background: #086AD8;
    color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.highlight-box h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.service-card {
    background: #142125;
    padding: 40px;
    border-radius: 8px; 
    transition: all 0.3s ease;
    border: 2px solid #E1F2F2;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(8, 106, 216, 0.15);
        border-color: #43BAFF;
        background: #FFFFFF26;
    }

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #086AD8, #43BAFF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height:1.6;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(291px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(67, 186, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.feature-item p {
    color: #E1F2F2;
    opacity: 0.9;
    line-height:1.6;
}

/* Process Section */
.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.marker-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #086AD8, #43BAFF);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(8, 106, 216, 0.3);
    z-index: 2;
    position: relative;
}

.marker-line {
    width: 3px;
    flex-grow: 1;
    background: linear-gradient(180deg, #43BAFF 0%, rgba(67, 186, 255, 0.2) 100%);
    position: absolute;
    top: 70px;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:last-child .marker-line {
    display: none;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(67, 186, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid rgba(67, 186, 255, 0.2);
}
.timeline-item:hover .timeline-content {
    background: rgba(67, 186, 255, 0.1);
    border-color: #43BAFF;
    transform: translateX(10px);
}

.timeline-item:hover .timeline-content::before {
    border-right-color: #43BAFF;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: rgba(67, 186, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.timeline-icon i {
    font-size: 24px;
    color: #43BAFF;
}

.timeline-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.timeline-content p {
    color: #E1F2F2;
    line-height: 1.7;
    margin: 0;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.industry-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(67, 186, 255, 0.2);
    transition: all 0.3s ease;
}

.industry-card:hover {
    background: rgba(67, 186, 255, 0.1);
    border-color: #43BAFF;
}

.industry-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.industry-card h4 {
    color: #FFFFFF;
    font-size: 18px;
}


/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.tech-item {
    background: #FFFFFF26;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #43BAFF;
    transition: all 0.3s ease;
}

    .tech-item:hover {
        border-color: #086AD8;
        transform: translateX(5px);
        background: #142125;
    }

.tech-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #086AD8, #43BAFF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.tech-item h5 {
    font-size: 2rem;
}


/* Outcomes */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
}

.outcome-item {
    padding: 40px 30px;
    border: 1px solid #E1F2F2;
    transition: all 0.3s ease;
    position: relative;
}


.outcome-item:hover {
    background: #E1F2F2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(8, 106, 216, 0.1);
    z-index: 2;
}

.outcome-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}


.outcome-icon {
    width: 100%;
    height: 100%;
    color: #086AD8;
    transition: all 0.3s ease;
}

.outcome-item:hover .outcome-icon {
    color: #43BAFF;
    transform: scale(1.1);
}

.outcome-title {
    font-size: 20px;
    font-weight: 600;
    color: #19272B;
    margin-bottom: 12px;
    line-height: 1.5;
}

.outcome-desc {
    font-size: 16px;
    color: #19272B;
    opacity: 0.8;
    line-height: 1.8;
}

/* Container helper */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Tablet (≤ 968px) ---------- */
@media (max-width: 968px) {

    /* Section spacing */
    .section {
        padding: 60px 20px;
    }

    /* Typography */
    .section-title {
        font-size: 34px;
    }

    .section-description {
        font-size: 1.25rem;
    }

    /* Service Cards */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }

    .service-card {
        padding: 32px;
    }

        .service-card h3 {
            font-size: 1.6rem;
        }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    /* Process Timeline */
    .timeline-item {
        gap: 30px;
    }

    .marker-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .timeline-content {
        padding: 25px;
    }

    /* Tech Stack */
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    /* Outcomes */
    .outcome-item {
        padding: 30px 24px;
    }
}


/* ---------- Mobile (≤ 640px) ---------- */
@media (max-width: 640px) {

    /* Section spacing */
    .section {
        padding: 48px 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Typography */
    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .section-description {
        font-size: 1.1rem;
    }

    /* Overview */
    .overview-content {
        font-size: 16px;
        line-height: 1.7;
        padding: 0 10px;
    }

    /* Service Cards */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    /* Process Timeline → Stack vertically */
    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-marker {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .marker-line {
        display: none;
    }

    .timeline-content {
        transform: none !important;
    }

        .timeline-content::before {
            display: none;
        }

    /* Tech Stack */
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        padding: 20px;
    }

    /* Outcomes */
    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    .outcome-item {
        padding: 28px 20px;
    }
}
