/* ================================
   Service Pages CSS
   Mobile Responsive Styles
   ================================ */

/* Page Header */
.service-page-header {
    background: linear-gradient(135deg, #422e90 0%, #51439b 50%, #ec4899 100%);
    padding: 140px 0 80px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.service-page-header h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-page-header p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span.current {
    color: #fff;
}

.breadcrumb i {
    font-size: 10px;
}

/* Service Content */
.service-content {
    padding: 80px 0;
    background: #f8fafc;
}

/* Service Intro */
.service-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.intro-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.intro-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #64748b;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, rgba(66, 46, 144, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(66, 46, 144, 0.1);
}

.stat-box .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #422e90 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-box .stat-number::after {
    content: none;
}

.stat-box .stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 40px;
    text-align: center;
}

/* Services Offered */
.services-offered {
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(66, 46, 144, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 30px;
    color: #422e90;
}

.service-item h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.service-item > p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
}

.feature-list li i {
    color: #422e90;
    font-size: 12px;
}

/* Technologies Section */
.technologies-section {
    margin-bottom: 80px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-item i {
    font-size: 32px;
    color: #422e90;
}

.tech-item span {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

/* Process Section */
.process-section {
    margin-bottom: 80px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.process-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #422e90 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.process-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.process-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

/* Service CTA */
.service-cta {
    background: linear-gradient(135deg, #422e90 0%, #51439b 50%, #ec4899 100%);
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: #422e90;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Header Inner Styles */
.header-inner {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner .nav-link {
    color: #1e293b !important;
}

.header-inner .nav-link:hover,
.header-inner .nav-link.active {
    color: #422e90 !important;
}

/* ================================
   Responsive Styles
   ================================ */

@media (max-width: 1024px) {
    .service-page-header {
        padding: 120px 0 60px;
    }

    .service-page-header h1 {
        font-size: 42px;
    }

    .service-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .intro-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cta {
        padding: 50px 40px;
    }

    .cta-content h3 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .service-page-header {
        padding: 100px 0 50px;
    }

    .service-page-header h1 {
        font-size: 32px;
    }

    .service-page-header p {
        font-size: 16px;
    }

    .service-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .breadcrumb {
        font-size: 13px;
        gap: 8px;
    }

    .service-content {
        padding: 50px 0;
    }

    .service-intro {
        padding: 30px 20px;
        margin-bottom: 50px;
    }

    .intro-content h2 {
        font-size: 28px;
        text-align: center;
    }

    .intro-content p {
        font-size: 15px;
        text-align: center;
    }

    .intro-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-box {
        padding: 15px 10px;
    }

    .stat-box .stat-number {
        font-size: 24px;
    }

    .stat-box .stat-label {
        font-size: 11px;
    }

    .section-subtitle {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .services-offered {
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-item {
        padding: 25px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 26px;
    }

    .service-item h4 {
        font-size: 20px;
    }

    .technologies-section {
        margin-bottom: 50px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .tech-item {
        padding: 20px 10px;
    }

    .tech-item i {
        font-size: 26px;
    }

    .tech-item span {
        font-size: 12px;
    }

    .process-section {
        margin-bottom: 50px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .process-item {
        padding: 20px 15px;
    }

    .process-number {
        font-size: 36px;
    }

    .process-item h4 {
        font-size: 16px;
    }

    .process-item p {
        font-size: 13px;
    }

    .service-cta {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .cta-content h3 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {
    .service-page-header {
        padding: 90px 0 40px;
    }

    .service-page-header h1 {
        font-size: 26px;
    }

    .service-page-header p {
        font-size: 14px;
    }

    .intro-content h2 {
        font-size: 24px;
    }

    .intro-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .stat-box .stat-number {
        font-size: 28px;
    }

    .stat-box .stat-label {
        font-size: 13px;
    }

    .section-subtitle {
        font-size: 20px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h3 {
        font-size: 22px;
    }

    .cta-content p {
        font-size: 14px;
    }
}

/* Fix header on inner pages */
@media (max-width: 991px) {
    .header-inner .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 40px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1001;
    }

    .header-inner .nav-menu.active {
        right: 0;
    }

    .header-inner .nav-menu li {
        width: 100%;
    }

    .header-inner .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .header-inner .mobile-toggle {
        display: flex;
    }

    .header-inner .has-dropdown .mega-dropdown {
        position: static;
        transform: none;
        display: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 15px 0;
        min-width: 100%;
        flex-direction: column;
        gap: 20px;
        background: transparent;
    }

    .header-inner .has-dropdown.active .mega-dropdown {
        display: flex;
    }

    .header-inner .dropdown-column {
        min-width: 100%;
    }

    .header-inner .dropdown-heading {
        font-size: 13px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .header-inner .dropdown-links li a {
        padding: 10px 0;
    }
}
