/* Single Service Page Specific Styles */

/* Floating Background Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 212, 255, 0.05));
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: 70%;
    right: 20%;
    animation-delay: -15s;
}

.shape-5 {
    width: 180px;
    height: 180px;
    top: 20%;
    left: 60%;
    animation-delay: -8s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-50px) rotate(180deg);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Particle Container */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Service Hero Section */
.service-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    margin-top: 80px;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
}

.service-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #00d4ff;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #666;
}

.breadcrumb .current {
    color: #ffffff;
    font-weight: 500;
}

.service-hero .hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #007bff 50%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
}

.service-hero .hero-subtitle {
    font-size: 1.4rem;
    color: #b8c5d6;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-3px);
}

/* Service Images Section */
.service-images {
    padding: 100px 0;
    background: #0f0f23;
}

.images-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.2);
}

.service-image {
    width: 100%;
    height: 300px;
    /* object-fit: cover; */
    transition: transform 0.4s ease;
}

.image-card:hover .service-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.image-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.image-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.main-image .service-image {
    height: 400px;
}

/* Service Overview */
.service-overview {
    padding: 100px 0;
    background: #0a0a1a;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.overview-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 3rem;
}

.overview-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    min-width: 120px;
}

.step-icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.flow-step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #007bff;
    font-weight: bold;
}

/* Why Choose TerKnox */
.why-choose-terknox {
    padding: 100px 0;
    background: #0f0f23;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reason-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.reason-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.reason-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.reason-card p {
    color: #b8c5d6;
    line-height: 1.6;
}

/* Key Features */
.key-features {
    padding: 100px 0;
    background: #0a0a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-header i {
    font-size: 1.5rem;
    color: #00d4ff;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.feature-card p {
    color: #b8c5d6;
    line-height: 1.6;
    margin: 0;
}

/* Technologies Used */
.technologies-used {
    padding: 100px 0;
    background: #0f0f23;
}

.tech-categories {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
}

.tech-category h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-item {
    padding: 0.5rem 1rem;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 25px;
    color: #00d4ff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

/* Service Benefits */
.service-benefits {
    padding: 100px 0;
    background: #0a0a1a;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 212, 255, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.benefit-icon {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.benefit-card p {
    position: relative;
    z-index: 2;
    color: #b8c5d6;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 123, 255, 0.2) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    color: #b8c5d6;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary,
.cta-actions .btn-secondary {
    padding: 18px 35px;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Related Services */
.related-services {
    padding: 100px 0;
    background: #0f0f23;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #b8c5d6;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.related-service-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
}

.related-service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.related-service-card .service-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.related-service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.view-all-services {
    text-align: center;
    margin-top: 3rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border: 2px solid #007bff;
    border-radius: 50px;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .reasons-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 3rem 0;
        min-height: 60vh;
    }

    .service-hero .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }

    .service-hero .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .main-image .service-image {
        height: 300px;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .process-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

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

    .tech-categories {
        gap: 2rem;
    }

    .tech-category {
        padding: 1.5rem;
    }

    .cta-text h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .cta-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

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

    .btn-primary,
    .btn-secondary {
        min-width: auto;
        width: 100%;
        max-width: 280px;
    }

    .reason-card,
    .feature-card,
    .benefit-card {
        padding: 1.5rem;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

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