/* Single Technology Page Styles */

.technology-single {
    background: #fff;
}

/* Hero Section */
.tech-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #112739 0%, #1a3a5f 100%);
    color: #fff;
    overflow: hidden;
}

.tech-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.tech-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.tech-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 126, 34, 0.5);
    z-index: 2;
}

.tech-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.tech-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tech-hook {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.tech-info-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tech-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tech-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-cta-buttons .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-cta-buttons .btn-primary {
    background: #b8651b;
    color: #fff;
    border: 2px solid #b8651b;
}

.tech-cta-buttons .btn-primary:hover {
    background: #8a4c14;
    border-color: #8a4c14;
}

.tech-cta-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.tech-cta-buttons .btn-secondary:hover {
    background: #e6eaec;
    color: #112739;
}

.btn-primary {
    background: #b8651b;
    color: white;
}

.btn-primary:hover {
    background: #8a4c14;
    color: white;
}

.btn-secondary {
    background: white;
    color: #273039;
}

.btn-secondary:hover {
    background: #e6eaec;
    color: #273039;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

/* Arrow hover effect for CTA buttons */
.tech-cta-buttons .btn i { 
    transition: transform 200ms ease; 
}

.tech-cta-buttons .btn:hover i,
.tech-cta-buttons .btn:focus-visible i { 
    transform: translateX(6px); 
}

/* Rating pill */
.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.rating-pill i {
    color: #ffd700;
}

/* Section Styles */
.section-padding {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #112739;
    text-align: center;
}

.section-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Overview Section */
.tech-overview-section {
    background: #f8f9fa;
}

.tech-overview-content {
    text-align: center;
}

/* Usage Section */
.tech-usage-section {
    background: #fff;
}

.tech-usage-content {
    text-align: center;
}

.usage-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
}

.usage-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.125rem;
    color: #4a5568;
    position: relative;
    padding-left: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.usage-list li i {
    color: #112739;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.usage-list li:last-child {
    border-bottom: none;
}

/* Benefits Section */
.tech-benefits-section {
    background: #f8f9fa;
}

.tech-benefits-content {
    text-align: center;
}

/* Case Studies Section */
.tech-case-studies-section {
    background: #fff;
}

.tech-case-studies-content {
    text-align: center;
}

.case-studies-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #112739;
    line-height: 1.2;
}

/* Related Technologies Section */
.tech-related-section {
    background: #f8f9fa;
}

.tech-related-content {
    text-align: center;
}

.related-technologies-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.related-technologies-list li {
    margin: 0;
}

.related-technologies-list a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #112739;
    text-decoration: none;
    border-radius: 55px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.related-technologies-list a:hover {
    background: #112739;
    color: #fff;
    border-color: #112739;
    transform: translateY(-2px);
}

/* Bottom CTA Section */
.tech-bottom-cta-section {
    background: var(--menu-color-2);
    color: #273039;
}

.tech-bottom-cta-content {
    text-align: center;
}

.tech-bottom-cta-section .section-title {
    color: #fff;
}

.tech-bottom-cta-section .section-content {
    color: #fff;
}

.tech-bottom-cta-section .btn {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-hero {
        min-height: 100vh;
    }
    
    .tech-title {
        font-size: 2.5rem;
    }
    
    .tech-hook {
        font-size: 1.125rem;
    }
    
    .tech-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-content {
        font-size: 1rem;
    }
    
    .usage-list {
        margin: 1.5rem auto;
    }
    
    .usage-list li {
        font-size: 1rem;
        padding: 0.75rem 0 0.75rem 1.5rem;
    }
    
    .related-technologies-list {
        flex-direction: column;
        align-items: center;
    }
    
    .related-technologies-list a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tech-hero {
        min-height: 100vh;
    }
    
    .tech-hero-content {
        padding: 2rem 0;
    }
    
    .tech-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Remove Bootstrap's default blue focus/active styles on buttons */
.technology-single .btn:focus,
.technology-single .btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.technology-single .btn:active,
.technology-single .btn.active {
    background-color: inherit;
    border-color: inherit;
}

.technology-single .btn-primary:focus,
.technology-single .btn-primary:focus-visible {
    background-color: #007bff;
    border-color: #007bff;
}

.technology-single .btn-primary:active,
.technology-single .btn-primary.active {
    background-color: #0056b3;
    border-color: #0056b3;
}
