/* OurProcess Page Enhanced Styles with Mobile Responsiveness */

.ourprocess-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
}

.ourprocess-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #e74c3c, #27ae60);
}

.ourprocess-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ourprocess-header {
    text-align: center;
    margin-bottom: 60px;
}

.ourprocess-header h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ourprocess-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    border-radius: 2px;
}

.ourprocess-subtitle {
    font-size: 1.3rem;
    color: #5a6c7d;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.methodology-overview {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e9ecef;
}

.methodology-overview h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.methodology-overview p {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.methodology-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.process-timeline {
    position: relative;
    margin: 50px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3498db, #2980b9, #e74c3c, #27ae60, #f39c12, #9b59b6);
    transform: translateX(-50%);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
    text-align: right;
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #3498db;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.step-number.discovery { border-color: #3498db; color: #3498db; }
.step-number.planning { border-color: #2980b9; color: #2980b9; }
.step-number.development { border-color: #e74c3c; color: #e74c3c; }
.step-number.testing { border-color: #27ae60; color: #27ae60; }
.step-number.deployment { border-color: #f39c12; color: #f39c12; }
.step-number.support { border-color: #9b59b6; color: #9b59b6; }

.step-content {
    flex: 1;
    max-width: 45%;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid #e9ecef;
    transform: translateY(-50%) rotate(45deg);
}

.process-step:nth-child(odd) .step-content::before {
    right: -10px;
}

.process-step:nth-child(even) .step-content::before {
    left: -10px;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: #5a6c7d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-details {
    margin-top: 20px;
}

.step-details h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-details li {
    color: #5a6c7d;
    margin-bottom: 6px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.step-details li::before {
    content: '✓';
    margin-right: 8px;
    color: #27ae60;
    font-weight: bold;
}

.step-duration {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.tools-technologies {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tools-technologies h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tool-category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.tool-category:hover {
    background: #ecf0f1;
    transform: translateY(-3px);
}

.tool-category h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tool-tag {
    background: #3498db;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.quality-assurance {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-radius: 16px;
    padding: 40px;
    margin: 50px 0;
    text-align: center;
}

.quality-assurance h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.quality-assurance p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.quality-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quality-metric {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 16px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: #e74c3c;
    color: white;
}

.cta-button.primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    text-decoration: none;
    color: white;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #2c3e50;
    text-decoration: none;
}

/* Mobile Responsiveness */

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .ourprocess-header h1 {
        font-size: 2.5rem;
    }
    
    .methodology-overview,
    .tools-technologies,
    .quality-assurance {
        padding: 35px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
    
    .step-content {
        max-width: 48%;
        padding: 25px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .ourprocess-section {
        padding: 60px 0 40px 0;
    }
    
    .ourprocess-container {
        padding: 0 15px;
    }
    
    .ourprocess-header {
        margin-bottom: 40px;
    }
    
    .ourprocess-header h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .ourprocess-subtitle {
        font-size: 1.1rem;
    }
    
    .methodology-overview,
    .tools-technologies,
    .quality-assurance {
        padding: 25px;
        margin: 30px 5px;
    }
    
    .timeline-line {
        left: 30px;
        transform: none;
    }
    
    .process-step {
        flex-direction: row !important;
        margin-bottom: 40px;
    }
    
    .process-step:nth-child(even) .step-content {
        text-align: left;
    }
    
    .step-number {
        left: 30px;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content {
        max-width: calc(100% - 80px);
        margin-left: 80px;
        padding: 20px;
    }
    
    .step-content::before {
        display: none;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .methodology-stats,
    .quality-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 40px 25px;
        margin: 30px 5px 0 5px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .ourprocess-section {
        padding: 40px 0 30px 0;
    }
    
    .ourprocess-container {
        padding: 0 10px;
    }
    
    .ourprocess-header h1 {
        font-size: 1.8rem;
    }
    
    .ourprocess-subtitle {
        font-size: 1rem;
    }
    
    .methodology-overview,
    .tools-technologies,
    .quality-assurance {
        padding: 20px;
        margin: 20px 0;
    }
    
    .step-content {
        padding: 15px;
        margin-left: 70px;
        max-width: calc(100% - 70px);
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 20px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .methodology-stats,
    .quality-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-section {
        padding: 30px 15px;
        margin: 20px 0 0 0;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Animation for better UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    animation: fadeInUp 0.6s ease-out;
}

.process-step:nth-child(1) .step-content { animation-delay: 0.1s; }
.process-step:nth-child(2) .step-content { animation-delay: 0.2s; }
.process-step:nth-child(3) .step-content { animation-delay: 0.3s; }
.process-step:nth-child(4) .step-content { animation-delay: 0.4s; }
.process-step:nth-child(5) .step-content { animation-delay: 0.5s; }
.process-step:nth-child(6) .step-content { animation-delay: 0.6s; }

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .ourprocess-section {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .methodology-overview,
    .tools-technologies,
    .step-content {
        background: #34495e;
        border-color: #4a5f7a;
        color: #ecf0f1;
    }
    
    .methodology-overview h2,
    .tools-technologies h2,
    .step-content h3 {
        color: #ecf0f1;
    }
    
    .step-content p,
    .step-details li {
        color: #bdc3c7;
    }
    
    .tool-category {
        background: #2c3e50;
        border-color: #4a5f7a;
    }
    
    .tool-category h3 {
        color: #ecf0f1;
    }
    
    .step-duration {
        background: #4a5f7a;
        color: #ecf0f1;
    }
}

/* Print styles */
@media print {
    .ourprocess-section {
        background: none !important;
        padding: 20px 0;
    }
    
    .step-content {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .cta-section {
        display: none;
    }
    
    .timeline-line {
        display: none;
    }
}

/* Accessibility improvements */
.step-content:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.cta-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
