/* Service Pages Styling */

body {
    cursor: none;
}

.cursor {
    width: 8px;
    height: 8px;
    z-index: 10000;
    border-radius: 50%;
    background-color: var(--txt-color);
    position: fixed;
    transition: .1s;
    pointer-events: none;
}

.cursor::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 14px;
    top: -15px;
    left: -15px;
    border: 1px solid var(--txt-color);
    position: absolute;
}

.cursor.active {
    transform: scale(0.8);
}

.cursor.active::after {
    transform: scale(0.8);
}

.service-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main-bg);
    padding: 140px 6% 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(30, 144, 255, 0.1);
}

.service-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(30, 144, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 191, 255, 0.05) 0%, transparent 50%);
    top: 0;
    left: 0;
}

.service-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(30, 144, 255, 0.1);
    border-radius: 50%;
    top: -300px;
    right: -200px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

.service-hero-content {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.service-breadcrumb {
    font-size: 0.9rem;
    color: var(--light-txt);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.service-breadcrumb a {
    color: #1e90ff;
    text-decoration: none;
    transition: color 0.3s;
}

.service-breadcrumb a:hover {
    color: #00bfff;
}

.service-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--txt-color);
}

.service-title span {
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.service-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--light-txt);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    border-left: 3px solid #1e90ff;
    padding-left: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e90ff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--light-txt);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    height: 450px;
}

.service-hero-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(0, 191, 255, 0.05) 100%);
    border: 2px solid rgba(30, 144, 255, 0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.service-hero-icon:has(.service-hero-image) {
    width: 300px;
    height: 300px;
}

.service-hero-icon .material-symbols-outlined {
    font-size: 100px;
    color: #1e90ff;
}

.service-hero-icon .service-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.hero-visual::before,
.hero-visual::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: 20px;
}

.hero-visual::before {
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(15deg);
}

.hero-visual::after {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
}

/* Service Sections */
.service-section {
    padding: 100px 6%;
}

.service-section.alt-bg {
    background: rgba(30, 144, 255, 0.02);
    border-top: 1px solid rgba(30, 144, 255, 0.08);
    border-bottom: 1px solid rgba(30, 144, 255, 0.08);
}

[data-theme="light"] .service-section.alt-bg {
    background: rgba(30, 144, 255, 0.03);
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
}

.service-intro {
    max-width: 900px;
    margin: 0 auto 80px;
}

.service-intro h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--txt-color);
    font-weight: 600;
}

.service-intro p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--light-txt);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--txt-color);
    font-weight: 600;
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--light-txt);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
    text-align: center;
}

/* Service Catalog */
.service-catalog {
    display: grid;
    gap: 40px;
}

.catalog-category {
    background: var(--main-bg);
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.catalog-category:hover {
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.1);
}

.catalog-header {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.08) 0%, rgba(0, 191, 255, 0.03) 100%);
    padding: 35px 40px;
    border-bottom: 1px solid rgba(30, 144, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.catalog-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.catalog-icon .material-symbols-outlined {
    font-size: 40px;
    color: #fff;
}

.catalog-title-group h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--txt-color);
    font-weight: 600;
}

.catalog-title-group p {
    color: var(--light-txt);
    font-size: 1.05rem;
}

.catalog-services {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.catalog-item-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(30, 144, 255, 0.02);
    border: 1px solid rgba(30, 144, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.catalog-item-visual:hover {
    border-color: rgba(30, 144, 255, 0.25);
    transform: translateY(-3px);
}

.catalog-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

[data-theme="light"] .catalog-image {
    background: #e8e8e8;
}

.catalog-image-slideshow {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.catalog-image-slide {
    min-width: 100%;
    height: 100%;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slideshow-dot.active {
    background: rgba(30, 144, 255, 1);
    width: 24px;
    border-radius: 4px;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    z-index: 10;
}

.catalog-image:hover .slideshow-nav {
    opacity: 1;
}

.slideshow-nav:hover {
    background: rgba(30, 144, 255, 0.8);
}

.slideshow-nav.prev {
    left: 8px;
}

.slideshow-nav.next {
    right: 8px;
}

.slideshow-nav .material-symbols-outlined {
    font-size: 20px;
}

.catalog-item-content h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--txt-color);
    font-weight: 600;
}

.catalog-item-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-item-content ul li {
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--light-txt);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

.catalog-item-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #1e90ff;
    font-weight: bold;
}

/* Deliverables List */
.deliverables-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.deliverable-item {
    background: var(--main-bg);
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.deliverable-item:hover {
    border-color: rgba(30, 144, 255, 0.3);
}

.deliverable-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.deliverable-header:hover {
    background: rgba(30, 144, 255, 0.03);
}

.deliverable-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(0, 191, 255, 0.05) 100%);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deliverable-icon .material-symbols-outlined {
    font-size: 28px;
    color: #1e90ff;
}

.deliverable-header h3 {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--txt-color);
}

.expand-btn {
    width: 36px;
    height: 36px;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.expand-btn .material-symbols-outlined {
    color: #1e90ff;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.expand-btn:hover {
    background: rgba(30, 144, 255, 0.2);
    transform: scale(1.1);
}

.deliverable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.deliverable-item.active .deliverable-content {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.deliverable-item.active .expand-btn .material-symbols-outlined {
    transform: rotate(45deg);
}

.deliverable-content p {
    color: var(--light-txt);
    line-height: 1.8;
    font-size: 1rem;
}

/* Technical Specs */
.tech-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.spec-box {
    background: var(--main-bg);
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.spec-box:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 144, 255, 0.4);
}

.spec-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1e90ff;
}

.spec-box h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--txt-color);
    font-weight: 500;
}

.spec-box p {
    font-size: 0.95rem;
    color: var(--light-txt);
    line-height: 1.6;
}

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

.feature-card {
    background: var(--main-bg);
    border: 1px solid rgba(30, 144, 255, 0.12);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e90ff 0%, #00bfff 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(0, 191, 255, 0.05) 100%);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    transform: scale(1.1) rotate(5deg);
}

.feature-icon .material-symbols-outlined {
    font-size: 36px;
    color: #1e90ff;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon .material-symbols-outlined {
    color: #fff;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--txt-color);
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-txt);
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 80px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, rgba(30, 144, 255, 0.5) 0%, transparent 100%);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e90ff;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main-bg);
    border: 3px solid #1e90ff;
    border-radius: 50%;
    flex-shrink: 0;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--txt-color);
}

.process-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-txt);
}

/* CTA Section */
.service-cta {
    padding: 100px 6%;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(0, 191, 255, 0.1) 100%);
}

.service-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--txt-color);
}

.service-cta p {
    font-size: 1.2rem;
    color: var(--light-txt);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 144, 255, 0.4);
}

/* Footer */
footer {
    background: var(--main-bg);
    padding: 30px 6%;
    text-align: right;
    border-top: 1px solid rgba(30, 144, 255, 0.2);
}

footer p {
    color: var(--light-txt);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .service-subtitle {
        max-width: 100%;
    }

    .catalog-services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 4% 60px;
        min-height: 60vh;
    }

    .service-title {
        font-size: 2.5rem;
    }

    .service-subtitle {
        font-size: 1.1rem;
    }

    .hero-visual {
        height: 350px;
    }

    .service-hero-icon {
        width: 150px;
        height: 150px;
    }

    .service-hero-icon .material-symbols-outlined {
        font-size: 70px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .service-section {
        padding: 60px 4%;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

    .catalog-header {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }

    .catalog-services {
        padding: 25px 20px;
        grid-template-columns: 1fr;
    }

    .catalog-item-visual {
        padding: 15px;
    }

    .catalog-image {
        height: 180px;
    }

    .deliverable-header {
        padding: 20px 15px;
        gap: 15px;
    }

    .deliverable-header h3 {
        font-size: 1.1rem;
    }

    .deliverable-icon {
        width: 40px;
        height: 40px;
    }

    .deliverable-icon .material-symbols-outlined {
        font-size: 24px;
    }

    .deliverable-content {
        padding: 0 15px;
    }

    .deliverable-item.active .deliverable-content {
        padding: 0 15px 20px 15px;
    }

    .service-cta h2 {
        font-size: 2rem;
    }

    .process-step {
        flex-direction: column;
        gap: 15px;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }
}