/* Service Detail Page Styles */

/* Service Hero */
.service-hero {
    background: linear-gradient(135deg, #0b2a6f 0%, #1f3a8a 100%);
    padding: 80px 5% 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    min-height: 70vh;
}

.service-hero-content {
    flex: 1;
    max-width: 600px;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.9;
}

.service-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #4fc3f7;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: inline-block;
    background: white;
    color: #1f3a8a;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.hero-cta:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.hero-visual i {
    font-size: 180px;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.visual-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.visual-element {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.visual-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 120px;
    height: 80px;
}

.visual-element:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 100px;
    height: 100px;
}

.visual-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 150px;
    height: 60px;
}

/* Service Overview */
.service-overview {
    padding: 100px 5%;
    background: #f9fbfe;
}

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

.section-title {
    text-align: center;
    color: #162c6b;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.overview-text {
    color: #4a5568;
    font-size: 18px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 27px;
    color: #1f3a8a;
    margin-bottom: 20px;
    margin-top: 17px;
}

.feature-item h3 {
    color: #162c6b;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    color: #64748b;
    font-size: 14px;
}

/* Development Process */
.development-process {
    padding: 60px 5%;
    background: white;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1f3a8a, #0b2a6f);
}

.process-step {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #1f3a8a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding-top: 10px;
}

.step-content h3 {
    color: #162c6b;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.step-content li {
    padding: 8px 0;
    color: #162c6b;
    font-size: 15px;
    position: relative;
    padding-left: 25px;
}

.step-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1f3a8a;
    font-weight: bold;
}

/* Technologies Section */
.technologies-section {
    padding: 100px 5%;
    background: #f9fbfe;
}

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

.tech-category {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.tech-category h3 {
    color: #162c6b;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-category h3 i {
    color: #1f3a8a;
    font-size: 24px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    background: #f1f5f9;
    color: #1f3a8a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* .tech-item:hover {
    background: #1f3a8a;
    color: white;
    transform: translateY(-2px);
} */

/* Service Packages */
.service-packages {
    padding: 100px 5%;
    background: white;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    background: #f9fbfe;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.package-card.featured {
    border-color: #1f3a8a;
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #1f3a8a;
    color: white;
    padding: 8px 30px;
    font-size: 14px;
    font-weight: 600;
    transform: rotate(45deg);
}

.package-header {
    background: linear-gradient(135deg, #1f3a8a, #0b2a6f);
    color: white;
    padding: 30px;
    text-align: center;
}

.package-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.package-price {
    font-size: 32px;
    font-weight: 700;
    color: #4fc3f7;
}

.package-content {
    padding: 30px;
}

.package-content p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 15px;
    text-align: center;
}

.package-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.package-content li {
    padding: 10px 0;
    color: #162c6b;
    font-size: 15px;
    position: relative;
    padding-left: 25px;
}

.package-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1f3a8a;
    font-weight: bold;
}

.package-btn {
    display: block;
    text-align: center;
    background: #1f3a8a;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid #1f3a8a;
}

.package-btn:hover {
    background: transparent;
    color: #1f3a8a;
}

/* Service CTA */
.service-cta {
    padding: 100px 5%;
    background: linear-gradient(135deg, #1f3a8a, #0b2a6f);
    text-align: center;
    color: white;
}

.service-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-block;
    background: white;
    color: #1f3a8a;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 5% 60px;
    }
    
    .service-hero-content {
        max-width: 100%;
        margin-bottom: 60px;
    }
    
    .hero-visual {
        width: 300px;
        height: 300px;
    }
    
    .overview-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .overview-features {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin-right: 20px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 80px 5% 40px;
    }
    
    .service-hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-visual {
        width: 250px;
        height: 250px;
    }
    
    .hero-visual i {
        font-size: 120px;
    }
    
    .package-badge {
        right: -25px;
        padding: 6px 25px;
        font-size: 12px;
    }
}

/* SEO Services Specific Styles */

/* SEO Services Grid */
.seo-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.seo-service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.seo-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #1f3a8a;
}

.seo-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1f3a8a, #0b2a6f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.seo-service-card h3 {
    color: #162c6b;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.seo-service-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.seo-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-service-card li {
    padding: 8px 0;
    color: #162c6b;
    font-size: 14px;
    position: relative;
    padding-left: 25px;
}

.seo-service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1f3a8a;
    font-weight: bold;
}

/* Metrics Section */
.metrics-section {
    padding: 100px 5%;
    background: #f9fbfe;
}

.metrics-dashboard {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-header {
    background: linear-gradient(135deg, #1f3a8a, #0b2a6f);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h3 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-header h3 i {
    font-size: 24px;
}

.dashboard-period {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 30px;
}

.metric-card {
    text-align: center;
    padding: 25px 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: #f1f5f9;
    transform: translateY(-5px);
}

.metric-value {
    font-size: 36px;
    font-weight: 700;
    color: #1f3a8a;
    margin-bottom: 10px;
}

.metric-label {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-trend {
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.metric-trend.up {
    background: #d1fae5;
    color: #065f46;
}

.metric-trend.down {
    background: #fee2e2;
    color: #dc2626;
}

.metric-trend i {
    font-size: 12px;
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    padding: 25px 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #162c6b;
    font-weight: 500;
    font-size: 15px;
}

.feature i {
    color: #1f3a8a;
    font-size: 18px;
}

/* Package Price Span */
.package-price span {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .seo-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .seo-services-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .metric-value {
        font-size: 28px;
    }
    
    .dashboard-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .seo-service-card {
        padding: 20px;
    }
}