/* TerKnox New Sections CSS - newHome.css */
/* Dark Premium Theme with Glassmorphism Design */

/* =====================================================
   CLIENT TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a4e 50%, #0a0a23 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

.testimonial-content .stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-content .stars i {
    color: #ffc107;
    font-size: 18px;
}

.testimonial-content blockquote {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px 0;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 123, 255, 0.5);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    z-index: -1;
    opacity: 0.7;
}

.author-info h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-highlight {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    min-width: 150px;
}

.stat-highlight h3 {
    color: #007bff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.stat-highlight p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
}

/* =====================================================
   OUR PROCESS SECTION
   ===================================================== */
.process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a4e 0%, #0a0a23 50%, #1a1a4e 100%);
    position: relative;
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #007bff, #6f42c1);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
    margin-right: 60px;
    margin-left: 0;
}

.process-step:nth-child(odd) .step-content {
    margin-left: 60px;
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    border: 4px solid #0a0a23;
}

.step-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.step-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    width: 45%;
    position: relative;
}

.step-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon i {
    color: #fff;
    font-size: 20px;
}

.step-content h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-features span {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.process-cta {
    text-align: center;
    margin-top: 60px;
}

.process-cta .cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    display: inline-block;
    max-width: 500px;
}

.process-cta h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.process-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* =====================================================
   CASE STUDIES SECTION
   ===================================================== */
.case-studies-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a4e 100%);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.case-study-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.3);
}

.case-study-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(111, 66, 193, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-study-card:hover .image-overlay {
    opacity: 1;
}

.case-category {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.case-study-content {
    padding: 30px;
}

.case-study-content h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-challenge,
.case-solution,
.case-results {
    margin-bottom: 20px;
}

.case-challenge h4,
.case-solution h4,
.case-results h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-challenge p,
.case-solution p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.results-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.metric {
    text-align: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 10px;
    padding: 15px 10px;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.metric-value {
    display: block;
    color: #007bff;
    font-size: 18px;
    font-weight: 700;
}

.metric-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    margin-top: 5px;
}

.case-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.case-tech-stack span {
    background: rgba(111, 66, 193, 0.2);
    color: #6f42c1;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(111, 66, 193, 0.3);
}

.case-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    color: #fff;
    text-decoration: none;
}

.case-studies-cta {
    text-align: center;
    margin-top: 60px;
}

.case-studies-cta .cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    display: inline-block;
    max-width: 600px;
}

.case-studies-cta h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.case-studies-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

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

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a4e 0%, #0a0a23 100%);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 123, 255, 0.5);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 30px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 123, 255, 0.1);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #007bff;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-content {
    padding: 0 30px 25px;
}

.faq-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
}

.faq-cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    display: inline-block;
    max-width: 500px;
}

.faq-cta-content h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.faq-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* =====================================================
   AWARDS SECTION
   ===================================================== */
.awards-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a4e 100%);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.award-category h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.awards-list,
.certifications-list {
    display: grid;
    gap: 20px;
}

.award-item,
.certification-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.award-item:hover,
.certification-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
}

.award-icon,
.cert-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.award-icon i,
.cert-logo i {
    color: #fff;
    font-size: 24px;
}

.award-content,
.cert-content {
    flex: 1;
}

.award-content h4,
.cert-content h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.award-content p,
.cert-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.award-year {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
}

.awards-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column !important;
    }

    .process-step .step-content {
        margin: 0 !important;
        width: 100% !important;
        margin-top: 30px !important;
    }

    .timeline-line {
        display: none;
    }

    .step-number {
        position: static;
        transform: none;
        margin-bottom: 20px;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .results-metrics {
        grid-template-columns: 1fr;
    }

    .case-studies-cta .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {

    .testimonials-section,
    .process-section,
    .case-studies-section,
    .faq-section,
    .awards-section {
        padding: 60px 0;
    }

    .testimonial-card,
    .step-content,
    .case-study-card,
    .faq-item,
    .award-item,
    .certification-item {
        padding: 20px;
    }

    .testimonials-stats {
        flex-direction: column;
        align-items: center;
    }
}

/* Image placeholder styles */
.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px dashed rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(59, 130, 246, 0.6);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
}

.fintech-bg {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
    border-color: rgba(34, 197, 94, 0.3);
    color: rgba(34, 197, 94, 0.7);
}

.fintech-bg:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(59, 130, 246, 0.2));
    border-color: rgba(34, 197, 94, 0.5);
}

.ecommerce-bg {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(245, 101, 101, 0.1));
    border-color: rgba(249, 115, 22, 0.3);
    color: rgba(249, 115, 22, 0.7);
}

.ecommerce-bg:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(245, 101, 101, 0.2));
    border-color: rgba(249, 115, 22, 0.5);
}

.enterprise-bg {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(75, 85, 99, 0.1));
    border-color: rgba(139, 69, 19, 0.3);
    color: rgba(139, 69, 19, 0.7);
}

.enterprise-bg:hover {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2), rgba(75, 85, 99, 0.2));
    border-color: rgba(139, 69, 19, 0.5);
}

/* Avatar placeholder styles */
.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(147, 51, 234, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.1);
}