/* ========================================
   Services Page Specific Styles
   ======================================== */

/* ========================================
   Scroll Progress & Floating Elements
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.12;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-purple);
    top: 10%;
    left: -10%;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    top: 50%;
    right: -5%;
    animation: floatShape2 25s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-yellow);
    bottom: 10%;
    left: 30%;
    animation: floatShape3 18s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 50px) scale(1.1); }
    66% { transform: translate(50px, -30px) scale(0.95); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, -60px) scale(1.15); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -40px) scale(1.1); }
    75% { transform: translate(-40px, 30px) scale(0.9); }
}

/* ========================================
   Page Hero Section
   ======================================== */
.page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 80px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-yellow);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-yellow);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    position: relative;
}

.page-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 540px;
}

/* Hero Highlights */
.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    font-size: 1.6rem;
}

.highlight-item strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-light {
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary-purple);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Hero Visual */
.page-hero-visual {
    position: relative;
    z-index: 2;
}

.hero-illustration {
    width: 100%;
    max-width: 550px;
    height: auto;
    animation: heroFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--white);
    transform: translateY(5px);
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* Services Navigation */
.services-nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.services-nav-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.service-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-nav-item:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.nav-icon {
    font-size: 1.2rem;
}

/* Service Detail Sections */
.service-detail {
    padding: 100px 0;
    background: var(--white);
}

.service-detail.alt-bg {
    background: var(--off-white);
}

.service-detail-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-content {
    position: relative;
}

/* Service Icon Large */
.service-icon-large {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    color: var(--white);
}

.service-icon-large svg {
    width: 55px;
    height: 55px;
}

.ai-gradient {
    background: linear-gradient(135deg, #6C63FF 0%, #8B5CF6 100%);
}

.cloud-gradient {
    background: linear-gradient(135deg, #3B82F6 0%, #0EA5E9 100%);
}

.data-gradient {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.web-gradient {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.mobile-gradient {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.security-gradient {
    background: linear-gradient(135deg, #8B5CF6 0%, #6C63FF 100%);
}

/* Service Badge */
.service-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-purple);
}

.cloud-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.data-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.web-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.mobile-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.security-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

/* Service Title */
.service-detail .service-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-detail .service-description {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 50px;
}

/* Offerings Grid */
.service-offerings {
    margin-bottom: 50px;
}

.service-offerings h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-100);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.offering-card {
    padding: 30px 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.service-detail.alt-bg .offering-card {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.offering-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-purple);
}

.offering-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.offering-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.offering-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Benefits List */
.service-benefits {
    margin-bottom: 50px;
}

.service-benefits h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-100);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.benefits-list li svg {
    width: 24px;
    height: 24px;
    color: var(--accent-yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Tech Tags */
.service-tech h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-100);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.tech-tag:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-purple);
}

/* More Services Section */
.more-services {
    padding: 100px 0;
    background: var(--white);
}

.more-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.more-service-card {
    padding: 35px 25px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.more-service-card:hover {
    background: var(--white);
    border-color: var(--primary-purple);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.more-service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
}

.more-service-icon svg {
    width: 32px;
    height: 32px;
}

.more-service-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.more-service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .page-hero-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .page-hero {
        min-height: auto;
        padding: 120px 0 100px;
    }
    
    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .page-hero-content {
        order: 1;
    }
    
    .page-hero-visual {
        order: 2;
    }
    
    .page-description {
        max-width: 100%;
    }
    
    .hero-highlights {
        align-items: center;
    }
    
    .highlight-item {
        max-width: 400px;
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-illustration {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .more-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .highlight-item {
        padding: 12px 16px;
    }
    
    .highlight-item strong {
        font-size: 0.9rem;
    }
    
    .highlight-item p {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-light,
    .btn-outline-light {
        text-align: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-shapes {
        display: none;
    }
    
    .services-nav {
        top: 80px;
        padding: 20px 0;
    }
    
    .services-nav-grid {
        gap: 10px;
    }
    
    .service-nav-item {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .service-detail {
        padding: 60px 0;
    }
    
    .service-detail .service-title {
        font-size: 2rem;
    }
    
    .service-detail .service-description {
        font-size: 1rem;
    }
    
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .more-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-large svg {
        width: 40px;
        height: 40px;
    }
    
    .service-detail .service-title {
        font-size: 1.6rem;
    }
    
    .service-offerings h3,
    .service-benefits h3,
    .service-tech h3 {
        font-size: 1.25rem;
    }
    
    .offering-card {
        padding: 25px 20px;
    }
    
    .tech-tag {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
