/* TechBuzz Solution - Services Page Styles */
.tb-services-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--tb-light) 0%, var(--tb-gray) 100%);
    position: relative;
    overflow: hidden;
}

.tb-services-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.tb-services-hero-text {
    flex: 1;
}

.tb-services-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--tb-dark);
}

.tb-services-hero-title span {
    color: var(--tb-primary);
    position: relative;
}

.tb-services-hero-title span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    bottom: 5px;
    left: 0;
    background-color: var(--tb-secondary);
    z-index: -1;
    opacity: 0.7;
}

.tb-services-hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 90%;
}

.tb-services-hero-visual {
    flex: 1;
    position: relative;
    text-align: center;
}

.tb-hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--tb-primary-light), var(--tb-secondary));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tb-light);
    box-shadow: var(--tb-shadow);
}

.tb-hero-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.tb-hero-image-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Navigation */
.tb-services-nav {
    background: var(--tb-light);
    padding: 40px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.tb-services-nav-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--tb-dark);
    font-weight: 600;
}

.tb-services-nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tb-service-nav-link {
    background: var(--tb-gray);
    border: 2px solid transparent;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--tb-text);
}

.tb-service-nav-link:hover,
.tb-service-nav-link.active {
    background: var(--tb-primary);
    color: var(--tb-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,0,0.3);
}

/* Detailed Services */
.tb-detailed-services {
    padding: 100px 0;
    background: var(--tb-gray);
}

/* Detailed Services - CORRECTED */
.tb-service-detail {
    background: var(--tb-light);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: var(--tb-shadow);
    display: none; /* Start hidden */
    align-items: flex-start;
    gap: 50px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.tb-service-detail.active {
    display: flex !important; /* Force display */
    opacity: 1;
    transform: translateY(0);
    animation: tb-fadeInUp 0.8s ease forwards;
}

/* Make sure first service is visible on page load */
.tb-service-detail:first-child {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.tb-service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tb-service-icon-large {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--tb-primary), var(--tb-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tb-light);
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(255,107,0,0.3);
}

.tb-service-content {
    flex: 1;
}

.tb-service-detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--tb-dark);
}

.tb-service-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.tb-service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.tb-service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255,107,0,0.05);
    border-radius: 10px;
    border-left: 4px solid var(--tb-primary);
}

.tb-service-feature i {
    color: var(--tb-primary);
    font-size: 1.1rem;
}

.tb-service-feature span {
    font-weight: 500;
    color: var(--tb-text);
}

.tb-service-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.tb-service-stat {
    text-align: center;
    flex: 1;
}

.tb-service-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tb-primary);
    margin-bottom: 5px;
}

.tb-service-stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Service Testimonials */
.tb-service-testimonials {
    padding: 100px 0;
    background: var(--tb-light);
}

.tb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tb-testimonial-card {
    background: var(--tb-light);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--tb-shadow);
    border-left: 5px solid var(--tb-primary);
    transition: all 0.3s ease;
}

.tb-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tb-review-rating {
    color: var(--tb-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.tb-testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.tb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tb-author-avatar {
    width: 60px;
    height: 60px;
    background: var(--tb-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--tb-primary);
    flex-shrink: 0;
}

.tb-author-info h4 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--tb-dark);
}

.tb-author-info p {
    color: #666;
    margin-bottom: 5px;
}

.tb-service-used {
    color: var(--tb-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Consultation Section */
.tb-consultation {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--tb-dark) 0%, #2d3748 100%);
    color: var(--tb-light);
}

.tb-consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tb-consultation-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--tb-light);
}

.tb-consultation-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.tb-consultation-features {
    margin-top: 30px;
}

.tb-consultation-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--tb-light);
}

.tb-consultation-feature i {
    color: var(--tb-secondary);
    font-size: 1.1rem;
}

.tb-consultation-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

.tb-web3form {
    width: 100%;
}

.tb-form-group {
    margin-bottom: 20px;
}

.tb-form-input,
.tb-form-select,
.tb-form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: var(--tb-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.tb-form-input::placeholder,
.tb-form-textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.tb-form-input:focus,
.tb-form-select:focus,
.tb-form-textarea:focus {
    outline: none;
    border-color: var(--tb-primary);
    background: rgba(255,255,255,0.15);
}

.tb-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.tb-form-textarea {
    height: 120px;
    resize: vertical;
}

.tb-form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Form Success States */
.tb-form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.tb-form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tb-services-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tb-services-hero-description {
        max-width: 100%;
    }
    
    .tb-consultation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tb-service-detail {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .tb-service-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tb-services-hero-title {
        font-size: 2.5rem;
    }
    
    .tb-service-detail-title {
        font-size: 1.8rem;
    }
    
    .tb-services-nav-links {
        gap: 10px;
    }
    
    .tb-service-nav-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .tb-service-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .tb-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tb-services-hero {
        padding: 150px 0 80px;
    }
    
    .tb-services-hero-title {
        font-size: 2rem;
    }
    
    .tb-service-detail {
        padding: 30px 20px;
    }
    
    .tb-consultation-form {
        padding: 30px 20px;
    }
    
    .tb-service-features {
        grid-template-columns: 1fr;
    }
}