/* Homepage styles (moved out of inline <style> blocks for CSP) */

.client-showcase-area {
    position: relative;
    overflow: hidden;
}

.client-categories .nav-pills .nav-link {
    color: #666;
    border-radius: 30px;
    padding: 8px 25px;
    margin: 0 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.client-categories .nav-pills .nav-link.active {
    background-color: #ff612f;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 97, 47, 0.3);
}

.featured-client-box {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
}

.featured-client-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.client-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f1f1f1;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.client-icon {
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-icon img {
    max-height: 80px;
    max-width: 80px;
}

.client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.client-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.client-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.client-features span {
    background: #f7f9fc;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
}

.client-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tech-badge {
    background: #f0f8ff;
    color: #4287f5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.badge-primary {
    background-color: #ff612f;
}

.counter-item {
    margin-bottom: 30px;
}

.counter-number {
    font-size: 42px;
    font-weight: 700;
    color: #ff612f;
    margin-bottom: 10px;
}

.counter-item h3 {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.client-cta {
    background: linear-gradient(to right, #ff612f, #ff8f6b);
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 97, 47, 0.2);
}

.client-cta h3 {
    color: #fff;
    margin-bottom: 15px;
}

.client-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.client-cta .btn-primary {
    background-color: #fff;
    color: #ff612f;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

.client-cta .btn-primary:hover {
    background-color: #f7f7f7;
    transform: translateY(-3px);
}

/* Animated Background Effect */
.client-showcase-area::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 97, 47, 0.08), rgba(255, 150, 102, 0.08));
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.client-showcase-area::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(66, 135, 245, 0.08), rgba(104, 159, 246, 0.08));
    z-index: -1;
    animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Icon Animation */
.client-icon img {
    transition: all 0.4s ease;
}

.client-card:hover .client-icon img {
    transform: scale(1.1);
}

/* Badge Animation */
.tech-badge {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 135, 245, 0.2);
}

.tech-badge::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.tech-badge:hover::after {
    left: 100%;
}

/* Data Counter Animation */
.counter-number {
    position: relative;
}

.counter-number::after {
    content: '+';
    position: absolute;
    font-size: 24px;
    margin-left: 5px;
    font-weight: 600;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 2s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Tab Transition Effect */
.tab-pane {
    transition: all 0.3s ease-in-out;
}

.tab-pane.fade {
    transform: translateY(20px);
    opacity: 0;
}

.tab-pane.fade.show {
    transform: translateY(0);
    opacity: 1;
}

/* Custom Responsive Adjustments */
@media (max-width: 768px) {
    .client-categories .nav-pills .nav-link {
        margin: 0 5px;
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .featured-client-box {
        padding: 15px;
    }
    
    .client-cta {
        padding: 25px;
    }
    
    .counter-number {
        font-size: 32px;
    }
}

/* Mouse Hover Effects for Client Cards */
.client-card {
    position: relative;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 97, 47, 0.1) 0%, rgba(66, 135, 245, 0.1) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.client-card:hover::before {
    opacity: 1;
}

/* Featured Client Box Special Effects */
.featured-client-box {
    position: relative;
    overflow: hidden;
}

.featured-client-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #ff612f transparent transparent;
    opacity: 0;
    transition: all 0.3s ease;
}

.featured-client-box:hover::before {
    opacity: 0.7;
}

/* Replacements for former inline style attributes */
.logo-mobile {
    width: 132px !important;
    margin-top: -20px !important;
}
.logo-desktop {
    width: 172px !important;
    padding-top: 12px !important;
}
.text-full-width {
    max-width: 100% !important;
}
.img-w-60 {
    width: 60% !important;
}
