/* Service Pages Styling to Match Index.html */
/* ========================================= */

/* Base Styles */
/* Add this to mobile_development.css */
/* Web Development Hero Section */
.service-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
                url('../static/images/computer.jpg') no-repeat center center;
    background-size: cover;
    color: var(--text-primary);
    overflow: hidden;
}

.service-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-hero-content {
    flex: 1;
    position: relative;
    z-index: 10;
}

.service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ffffff, #00f5ff, #667eea);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 4s ease-in-out infinite;
}

.service-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.service-hero-image {
    flex: 1;
    position: relative;
    z-index: 5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
}

.service-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 30px 80px rgba(0, 245, 255, 0.3);
}

.service-hero-image:hover img {
    transform: scale(1.05);
}

/* Floating elements for hero */
.service-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-hero .container {
        flex-direction: column;
    }

    .service-hero-content {
        text-align: center;
        margin-bottom: 50px;
    }

    .service-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 150px 0 80px;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-hero p {
        font-size: 1.1rem;
    }
}
/* Add floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.service-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-link:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-5px);
}

.service-link i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.cta-container {
    margin-top: 30px;
}

.cta-container h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Details Sections */
.service-details {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.section-title h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #00f5ff, #667eea);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
    letter-spacing: -1px;
}

.section-title p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Features */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
}

.service-feature {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    position: relative;
}

.feature-icon .icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.5;
    animation: pulse 3s infinite;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-checklist {
    list-style: none;
    margin-top: 20px;
}

.feature-checklist li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.feature-checklist i {
    color: var(--accent-color);
    margin-top: 3px;
}

.process-steps {
    list-style: none;
    margin-top: 30px;
}

.process-steps li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Testing Services Grid */
.testing-services-grid,
.design-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testing-service,
.design-service {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.testing-service:hover,
.design-service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.testing-icon,
.design-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    position: relative;
}

.testing-service h3,
.design-service h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.testing-service p,
.design-service p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-service {
    position: relative;
    overflow: hidden;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.why-choose-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
    position: relative;
}

.why-choose-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.why-choose-card ul {
    list-style: none;
    margin-top: 15px;
}

.why-choose-card li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.why-choose-card li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
    position: relative;
    padding-left: 40px;
}

.process-timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00f5ff, #667eea);
}

.process-step {
    display: flex;
    gap: 20px;
    position: relative;
}

.process-step .step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(45deg, #00f5ff, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 2;
}

.step-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 245, 255, 0.1);
}

.faq-question h4 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    padding-bottom: 25px;
}

.faq-item.active .faq-question {
    background: rgba(0, 245, 255, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* CTA Section */
.service-cta {
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(0, 245, 255, 0.1));
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #00f5ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes ultraTextGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes titleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-hero .container {
        flex-direction: column;
    }

    .service-hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .service-feature {
        flex-direction: column;
    }

    .feature-icon {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: auto;
        padding: 100px 0;
    }

    .service-links {
        grid-template-columns: 1fr;
    }

    .testing-services-grid,
    .design-services-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .section-title p {
        font-size: 1rem;
    }
}