/* services-style.css - Services Page Specific Styles */

/* =========================================== */
/* SERVICES PAGE - 3 PER LINE GRID */
/* =========================================== */
/* Service Why Section */
.service-why {
    margin: 20px 0;
    padding: 15px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    border-left: 4px solid #2563EB;
}

.service-why h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #2563EB;
    font-weight: 600;
}

.service-why ul {
    list-style: none;
    padding-left: 0;
}

.service-why li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.service-why li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

/* Service Categories */
.service-categories {
    text-align: center;
    padding: 40px 20px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.category-tag {
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s;
}

.category-tag:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* Service CTA */
.service-cta {
    margin: 40px 15px;
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
}

.service-cta .cta-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1F2937;
}

.service-cta .cta-content p {
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.service-cta .cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Popular Features */
.popular-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 20px;
}

.popular-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6B7280;
    background: rgba(37, 99, 235, 0.05);
    padding: 5px 10px;
    border-radius: 8px;
}

.popular-features i {
    color: #10B981;
    font-size: 11px;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tag {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .service-cta {
        margin: 30px 10px;
        padding: 30px 15px;
    }
}
/* Page Header */
.page-header {
    text-align: center;
    padding: 30px 20px 20px;
    margin: 80px 0 20px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 10px;
}

.page-header p {
    color: #6B7280;
    font-size: 16px;
    line-height: 1.5;
}

/* Services Grid Container - 3 PER ROW */
.services-container {
    background: white;
    margin: 0 15px 30px;
    border-radius: 25px;
    padding: 25px 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per line */
    gap: 20px; /* More gap for better spacing */
    margin-bottom: 30px;
    justify-items: center; /* Center items horizontally */
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 15px 10px;
    width: 100%; /* Full width of grid cell */
    max-width: 110px; /* Limit max width */
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon-box {
    width: 75px;
    height: 75px;
    border-radius: 20px;
    background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon-box {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
}

.service-icon-box i {
    font-size: 30px;
    color: white;
}

.service-icon-box.special {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.service-label {
    font-size: 13px;
    color: #1F2937;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    margin-top: 5px;
    word-break: break-word;
    width: 100%;
}

/* Services Details */
.services-details {
    padding: 0 20px;
    margin-top: 30px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1F2937;
    text-align: center;
}

.service-detail-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 28px;
    color: #2563EB;
}

.detail-content {
    flex: 1;
}

.detail-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1F2937;
}

.detail-content p {
    color: #6B7280;
    margin-bottom: 15px;
    line-height: 1.5;
}

.detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1F2937;
    background: rgba(37, 99, 235, 0.05);
    padding: 6px 12px;
    border-radius: 10px;
}

.detail-features i {
    color: #10B981;
    font-size: 12px;
}

.price-tag {
    display: inline-block;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.btn-order {
    display: inline-block;
    background: #2563EB;
    color: white;
    padding: 12px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-order:hover {
    background: #1E40AF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* Popular Services */
.popular-services {
    padding: 0 20px;
    margin-top: 30px;
    margin-bottom: 100px;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.popular-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popular-card:nth-child(2) .popular-badge {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.popular-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1F2937;
}

.popular-card p {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.popular-price {
    margin-bottom: 20px;
}

.original {
    text-decoration: line-through;
    color: #6B7280;
    font-size: 14px;
    margin-right: 10px;
}

.discount {
    font-size: 24px;
    font-weight: 800;
    color: #2563EB;
}

.btn-buy {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: white;
    padding: 14px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* =========================================== */
/* RESPONSIVE DESIGN - 3 PER LINE PERFECT GRID */
/* =========================================== */

@media (max-width: 768px) {
    .service-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .service-icon-box {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-box i {
        font-size: 28px;
    }
    
    .service-label {
        font-size: 12px;
    }
    
    .popular-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-container {
        margin: 0 10px 20px;
        padding: 20px 10px;
        border-radius: 20px;
    }
    
    .service-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .service-item {
        padding: 10px 5px;
        max-width: 95px;
    }
    
    .service-icon-box {
        width: 65px;
        height: 65px;
    }
    
    .service-icon-box i {
        font-size: 26px;
    }
    
    .service-label {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .service-detail-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .detail-icon {
        margin: 0 auto;
    }
    
    .detail-features {
        justify-content: center;
    }
    
    .page-header {
        margin-top: 70px;
        padding: 20px 15px 15px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 380px) {
    .service-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .service-item {
        padding: 8px 5px;
        max-width: 90px;
    }
    
    .service-icon-box {
        width: 60px;
        height: 60px;
        border-radius: 18px;
    }
    
    .service-icon-box i {
        font-size: 24px;
    }
    
    .service-label {
        font-size: 10px;
        font-weight: 600;
    }
    
    .service-detail-card {
        padding: 15px;
    }
    
    .detail-icon {
        width: 50px;
        height: 50px;
    }
    
    .detail-icon i {
        font-size: 24px;
    }
}

/* For very small screens (320px) */
@media (max-width: 320px) {
    .service-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .service-item {
        max-width: 85px;
        padding: 6px 3px;
    }
    
    .service-icon-box {
        width: 55px;
        height: 55px;
        border-radius: 16px;
    }
    
    .service-icon-box i {
        font-size: 22px;
    }
    
    .service-label {
        font-size: 9px;
    }
}