/* Hire Mobile App Developers Blog Post Styles */
:root {
    --primary-color: #FF6B00;
    --secondary-color: #000000;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --border-color: #E0E0E0;
    --highlight-bg: #FFF8F0;
    --warning-bg: #FFF5F5;
    --success-bg: #F0FFF4;
    --transition: all 0.3s ease;
}

/* Cost Factors Grid */
.cost-factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.factor-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.factor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.5s;
}

.factor-card:hover::before {
    left: 100%;
}

.factor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.factor-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.factor-icon i {
    font-size: 2rem;
    color: var(--light-color);
}

.factor-card h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.factor-card p {
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.package-card {
    background: var(--light-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.package-card.basic {
    border-color: #4CAF50;
}

.package-card.standard {
    border-color: #2196F3;
}

.package-card.premium {
    border-color: #FF9800;
}

.package-header {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--light-color);
    padding: 30px;
    text-align: center;
    position: relative;
}

.package-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.package-header h3 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.package-price {
    position: relative;
    z-index: 1;
}

.package-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.package-price .amount {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 5px;
}

.package-price .period {
    font-size: 1.2rem;
    font-weight: 500;
}

.package-features {
    padding: 30px;
}

.package-features h4 {
    color: var(--secondary-color);
    margin: 20px 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.package-features h4:first-child {
    margin-top: 0;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.package-features li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.package-features p {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.package-cta {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--light-color);
    text-decoration: none;
    padding: 15px 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin: 0 30px 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.package-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.package-cta:hover::before {
    left: 100%;
}

.package-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
    color: var(--light-color);
}

/* Cost Comparison Table */
.cost-comparison-table {
    margin: 30px 0;
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cost-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
}

.cost-comparison-table th {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--light-color);
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
}

.cost-comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.cost-comparison-table tr:last-child td {
    border-bottom: none;
}

.cost-comparison-table tr:hover {
    background-color: var(--highlight-bg);
}

.cost-comparison-table tr.highlighted {
    background: linear-gradient(135deg, #FFF8F0, #FFF0E6);
    font-weight: 600;
}

.cost-comparison-table tr.highlighted td {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Savings Highlight */
.savings-highlight {
    background: linear-gradient(135deg, var(--highlight-bg), #FFF0E6);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid var(--primary-color);
}

.savings-highlight h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.savings-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.savings-highlight li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.savings-highlight li::before {
    content: '💰';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Technologies Grid */
.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tech-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.5s;
}

.tech-card:hover::before {
    left: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.tech-icon i {
    font-size: 2rem;
    color: var(--light-color);
}

.tech-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.tech-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.tech-card li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.tech-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.benefit-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.5s;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--light-color);
}

.benefit-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff8533);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.service-icon i {
    font-size: 2rem;
    color: var(--light-color);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Hiring Steps */
.hiring-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--light-color);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), #ff8533);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.step-card:hover::before {
    transform: scaleY(1);
}

.step-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Table */
.pricing-table {
    margin: 30px 0;
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
}

.pricing-table th {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--light-color);
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.pricing-table tr:hover {
    background: var(--gray-color);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

/* Company Highlights */
.company-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--light-color);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 133, 51, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-item:hover::before {
    opacity: 1;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.highlight-icon i {
    font-size: 1.2rem;
    color: var(--light-color);
}

.highlight-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.highlight-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Contact Info Box */
.contact-info-box {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.contact-info-box h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--light-color);
}

.contact-item span {
    font-weight: 500;
    color: var(--light-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .company-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pricing-table {
        overflow-x: auto;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }

    /* New responsive styles for cost factors */
    .cost-factors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .factor-card {
        padding: 25px;
    }
    
    .factor-icon {
        width: 70px;
        height: 70px;
    }
    
    .factor-icon i {
        font-size: 1.8rem;
    }

    /* New responsive styles for packages */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .package-card {
        margin: 0 10px;
    }
    
    .package-header {
        padding: 25px;
    }
    
    .package-header h3 {
        font-size: 1.6rem;
    }
    
    .package-price .amount {
        font-size: 2.5rem;
    }
    
    .package-features {
        padding: 25px;
    }

    /* New responsive styles for cost comparison */
    .cost-comparison-table {
        margin: 20px 0;
    }
    
    .cost-comparison-table th,
    .cost-comparison-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    /* New responsive styles for technologies */
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-card {
        padding: 25px;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
    }
    
    .tech-icon i {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .benefit-card,
    .service-card,
    .step-card {
        padding: 20px;
    }
    
    .benefit-icon,
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-icon i,
    .service-icon i {
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .contact-info-box {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    /* Mobile styles for cost factors */
    .factor-card {
        padding: 20px;
    }
    
    .factor-icon {
        width: 60px;
        height: 60px;
    }
    
    .factor-icon i {
        font-size: 1.5rem;
    }
    
    .factor-card h4 {
        font-size: 1.2rem;
    }

    /* Mobile styles for packages */
    .package-card {
        margin: 0 5px;
    }
    
    .package-header {
        padding: 20px;
    }
    
    .package-header h3 {
        font-size: 1.4rem;
    }
    
    .package-price .amount {
        font-size: 2rem;
    }
    
    .package-price .currency,
    .package-price .period {
        font-size: 1rem;
    }
    
    .package-features {
        padding: 20px;
    }
    
    .package-features h4 {
        font-size: 1.1rem;
    }
    
    .package-cta {
        margin: 0 20px 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Mobile styles for cost comparison */
    .cost-comparison-table th,
    .cost-comparison-table td {
        padding: 8px 5px;
        font-size: 0.8rem;
    }

    /* Mobile styles for technologies */
    .tech-card {
        padding: 20px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
    }
    
    .tech-icon i {
        font-size: 1.5rem;
    }
    
    .tech-card h3 {
        font-size: 1.2rem;
    }
}

/* Animation Enhancements */
.benefit-card,
.service-card,
.step-card,
.highlight-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .benefit-card,
    .service-card,
    .step-card,
    .highlight-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .contact-info-box {
        background: #f5f5f5 !important;
        color: #333 !important;
    }
    
    .contact-item {
        background: #fff !important;
        color: #333 !important;
    }
}
