/* Custom CSS for Techsus */

/* Top Bar Styles */
.w3l-top-bar {
    background: #17E0F1;
    padding: 10px 0;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Remove default body padding added by template */
body {
    padding-top: 0 !important;
}

/* Adjust header to stay connected with topbar */
header#site-header {
    position: sticky;
    top: 0;
    margin-top: 0;
    box-shadow: none;
}

/* Remove any transform or transition that causes separation */
header#site-header.nav-fixed {
    transform: none;
}

.w3l-top-bar ul {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.w3l-top-bar ul li {
    list-style: none;
    display: inline-block;
}

.w3l-top-bar ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.w3l-top-bar ul li a:hover {
    opacity: 0.8;
}

.w3l-top-bar .top-bar-left ul {
    justify-content: flex-start;
}

.w3l-top-bar .top-bar-right ul {
    justify-content: flex-end;
}

.w3l-top-bar i {
    font-size: 13px;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .w3l-top-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .w3l-top-bar ul {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .w3l-top-bar .top-bar-left ul,
    .w3l-top-bar .top-bar-right ul {
        justify-content: center;
    }
}

/* Service Detail Pages Styles */
.service-single-content {
    padding: 20px 0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #17E0F1 0%, #0099cc 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon i {
    font-size: 40px;
    color: #fff;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.service-widget {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.widget-title {
    background: linear-gradient(135deg, #17E0F1 0%, #0099cc 100%);
    color: #fff;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
}

.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.service-menu li:last-child {
    border-bottom: none;
}

.service-menu li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-menu li a:hover,
.service-menu li.active a {
    background: #17E0F1;
    color: #fff;
    padding-left: 30px;
}

.download-box {
    background: linear-gradient(135deg, #17E0F1 0%, #0099cc 100%);
    border-radius: 10px;
}

.contact-box {
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #17E0F1;
}

.contact-box p {
    margin-bottom: 10px;
}

.contact-box a {
    color: #333;
    text-decoration: none;
}

.contact-box a:hover {
    color: #17E0F1;
}

/* Product and Contract Boxes */
.product-box,
.contract-box,
.application-box {
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #17E0F1;
    transition: all 0.3s ease;
    height: 100%;
}

.product-box:hover,
.contract-box:hover,
.application-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-box h5,
.contract-box h5,
.application-box h5 {
    color: #17E0F1;
    margin-bottom: 15px;
}

.product-box ul,
.contract-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-box ul li,
.contract-box ul li {
    padding: 5px 0;
    color: #666;
}

/* Benefit Cards */
.benefit-card {
    background: #fff;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    border-color: #17E0F1;
    box-shadow: 0 5px 20px rgba(23, 224, 241, 0.2);
}

.benefit-card i {
    color: #17E0F1;
}

.benefit-card h5 {
    color: #333;
    margin: 15px 0 10px;
}

.benefit-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    margin-top: 30px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #17E0F1 0%, #0099cc 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    padding-top: 5px;
}

.timeline-content h5 {
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* Responsive Adjustments */
@media screen and (max-width: 991px) {
    .service-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media screen and (max-width: 767px) {
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 30px;
    }
    
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Manufacturing Page Styles */
.manufacturing-content {
    padding-right: 30px;
}

.manufacturing-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.capability-box {
    background: #fff;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.capability-box:hover {
    border-color: #17E0F1;
    box-shadow: 0 5px 20px rgba(23, 224, 241, 0.2);
    transform: translateY(-5px);
}

.capability-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capability-box ul li {
    padding: 8px 0;
    color: #666;
}

.quality-card {
    background: #fff;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.quality-card:hover {
    border-color: #17E0F1;
    box-shadow: 0 5px 20px rgba(23, 224, 241, 0.2);
}

.infra-item h5 {
    color: #333;
    margin-bottom: 5px;
}

.infra-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.stat-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-box h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-box p {
    color: #666;
    margin: 0;
}

.process-step {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: #17E0F1;
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #17E0F1 0%, #0099cc 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.process-step h5 {
    color: #333;
    margin-bottom: 10px;
}

.process-step p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Gallery Page Styles */
.gallery-filter {
    margin-bottom: 40px;
}

.filter-btn {
    margin: 5px;
    padding: 10px 25px;
    border: 2px solid #17E0F1;
    color: #17E0F1;
    background: transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #17E0F1;
    color: #fff;
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-box:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 224, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-box:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.overlay-content h5 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.overlay-content p {
    color: #fff;
    margin-bottom: 15px;
    font-size: 14px;
}

.gallery-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #fff;
    color: #17E0F1;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background: #333;
    color: #fff;
    transform: scale(1.1);
}

/* Stats Section on Gallery Page */
.stat-item h2 {
    font-weight: 700;
}

/* Responsive Adjustments */
@media screen and (max-width: 991px) {
    .manufacturing-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 767px) {
    .gallery-box img {
        height: 250px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
