/* 
 * SkyDreamix Tech Solution - Web & App Solution Page Styles
 */

.webapp-hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.8)), url('../images/AIstudy.webp') center/cover fixed;
    color: var(--white);
    position: relative;
}

.webapp-hero h1 {
    color: #ffffff;
    font-weight: 680;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-detail-section {
    position: relative;
    overflow: hidden;
}

.service-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(46, 163, 214, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin: 7px auto;
}

.service-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--dark-text);
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

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

.feature-list li {
    font-size: 1.05rem;
    color: var(--dark-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.premium-btn {
    padding: 14px 35px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--primary-color);
    border: none;
    box-shadow: 0 10px 20px rgba(46, 163, 214, 0.2);
}

.premium-btn:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
    box-shadow: 0 15px 30px rgba(46, 163, 214, 0.3);
    color: #fff;
}

.service-image-box {
    position: relative;
}

.service-image-box img {
    transition: transform 0.6s ease;
    border-radius: 20px;
}

.service-detail-section:hover .service-image-box img {
    transform: scale(1.02);
}

/* Background specific tweaks */
.bg-dark {
    background-color: #0f172a !important;
}

.bg-dark .service-content h2,
.bg-dark .feature-list li {
    color: #fff !important;
}

.bg-dark .service-content p {
    color: #94a3b8 !important;
}

.premium-img-wrapper {
    position: relative;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

/* Development Process Section */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 50px;
    flex-wrap: wrap;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 90px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(to right, rgba(46, 163, 214, 0), var(--primary-color), rgba(46, 163, 214, 0));
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
    margin-bottom: 30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(46, 163, 214, 0.15);
    border: 1px solid rgba(46, 163, 214, 0.1);
    transition: all 0.4s ease;
}

.process-step:hover .step-icon {
    transform: translateY(-10px) rotate(360deg);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 15px 40px rgba(46, 163, 214, 0.3);
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.process-step p {
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 991px) {
    .process-timeline::before {
        display: none;
    }

    .process-step {
        flex: 0 0 50%;
    }

    .service-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        text-align: center;
        margin-bottom: 40px;
    }

    .service-content>*:not(.feature-list):not(.premium-btn) {
        grid-column: 1 / -1;
    }

    .feature-list,
    .premium-btn {
        grid-column: 2;
        justify-self: start;
        text-align: left;
    }

    .feature-list {
        display: block;
        margin: 0 0 25px !important;
        width: 100%;
        max-width: 380px;
    }

    .premium-btn {
        display: block !important;
        width: fit-content;
        margin: 0;
        text-align: center;
    }

    .service-detail-section .row {
        flex-direction: column !important;
    }

    .service-image-box {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .webapp-hero {
        padding: 150px 0 80px;
    }

    .service-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .process-step {
        flex: 0 0 100%;
    }
}