/* Google Workspace Features CSS */
.product-features-tabs {
    background-color: #f8f9fa;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.product-features-tabs::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 96, 254, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.product-features-tabs .section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.product-features-tabs .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
}

.product-features-tabs .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0060fe;
}

.product-features-tabs .nav-tabs {
    border-bottom: none;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.product-features-tabs .nav-tabs > li {
    float: none;
    margin: 0 15px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-features-tabs .nav-tabs > li > a {
    border: none;
    border-radius: 8px;
    padding: 15px 10px;
    color: #666;
    transition: all 0.3s ease;
    background-color: transparent;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-features-tabs .nav-tabs > li > a:hover,
.product-features-tabs .nav-tabs > li > a:focus {
    background-color: transparent;
    border: none;
}

.product-features-tabs .nav-tabs > li.active > a,
.product-features-tabs .nav-tabs > li.active > a:hover,
.product-features-tabs .nav-tabs > li.active > a:focus {
    border: none;
    background-color: rgba(0, 96, 254, 0.05);
    color: #0060fe;
    box-shadow: 0 4px 10px rgba(0, 96, 254, 0.1);
}

.product-features-tabs .nav-tabs > li.active > a::after {
    content: '';
    display: block;
    height: 3px;
    background-color: #0060fe;
    margin-top: 10px;
}

.product-features-tabs .nav-tabs img {
    max-width: 50px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
    transition: all 0.3s ease;
    filter: grayscale(30%);
}

.product-features-tabs .nav-tabs > li.active img,
.product-features-tabs .nav-tabs > li:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.product-features-tabs .tab-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.product-features-tabs .tab-content {
    padding: 30px 0;
}

.product-features-tabs .tab-pane {
    display: none;
}

.product-features-tabs .tab-pane.active {
    display: block;
}

.feature-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-content .feature-text {
    flex: 0 0 60%;
}

.feature-content .feature-image {
    flex: 0 0 35%;
    text-align: center;
}

.feature-content .feature-image img {
    max-width: 120px;
    transition: all 0.5s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Responsive styles */
@media (max-width: 992px) {
    .product-features-tabs .section-title h2 {
        font-size: 28px;
    }
    
    .product-features-tabs .nav-tabs {
        flex-wrap: wrap;
    }
    
    .product-features-tabs .nav-tabs > li {
        margin: 0 10px 15px;
    }
    
    .feature-content {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .product-features-tabs {
        padding: 40px 15px;
    }
    
    .product-features-tabs .section-title {
        margin-bottom: 30px;
    }
    
    .product-features-tabs .section-title h2 {
        font-size: 24px;
    }
    
    .product-features-tabs .nav-tabs > li {
        margin: 0 5px 10px;
        flex: 0 0 calc(33.333% - 10px);
    }
    
    .product-features-tabs .nav-tabs img {
        max-width: 40px;
    }
    
    .product-features-tabs .tab-title {
        font-size: 12px;
    }
    
    .feature-content {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-content .feature-text,
    .feature-content .feature-image {
        flex: 0 0 100%;
    }
    
    .feature-content .feature-image {
        margin-top: 20px;
        order: -1;
    }
    
    .feature-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .feature-content p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .product-features-tabs .nav-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-features-tabs .nav-tabs > li {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 15px;
    }
    
    .product-features-tabs .tab-content {
        padding: 20px 0;
    }
    
    .feature-content {
        padding: 0 15px;
    }
    
    .feature-content .feature-image img {
        max-width: 80px;
    }
}