/* Contact Items - Equal Height */
.tj-contact-area .row.row-gap-4 {
    display: flex;
    flex-wrap: wrap;
}

.tj-contact-area .row.row-gap-4 > [class*="col-"] {
    display: flex;
}

.tj-contact-area .contact-item.style-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    text-align: center;
}

.tj-contact-area .contact-item.style-2 .contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.tj-contact-area .contact-item.style-2 .contact-title {
    text-align: center;
}

.tj-contact-area .contact-item.style-2 .contact-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Service Gallery Images - Square with Cover */
.service-gallery-image {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
}

.service-gallery-image:hover {
    transform: scale(1.05);
}

/* Ensure thumb-info-wrapper maintains square aspect */
.thumb-info-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px !important;
}

.thumb-info-wrapper img.service-gallery-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile Responsive Service Gallery */
@media (max-width: 768px) {
    .service-gallery-image {
        height: 250px !important;
    }
    
    .thumb-info-wrapper {
        height: 250px !important;
    }
}

@media (max-width: 576px) {
    .service-gallery-image {
        height: 200px !important;
    }
    
    .thumb-info-wrapper {
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    .service-gallery-image {
        height: 180px !important;
    }
    
    .thumb-info-wrapper {
        height: 180px !important;
    }
}

/* Client Carousel Styles */
.client-item {
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
}

.client-item .bg-white {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.client-item:hover .bg-white {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: #007bff;
}

/* Custom heading styles */
.custom-heading-1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    margin-bottom: 1rem;
}

.custom-heading-1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Responsive adjustments for client carousel */
@media (max-width: 768px) {
    .client-item .bg-white {
        height: 100px !important;
        padding: 1rem !important;
    }
    
    .client-item img {
        max-height: 60px !important;
        max-width: 120px !important;
    }
}

@media (max-width: 480px) {
    .client-item .bg-white {
        height: 80px !important;
        padding: 0.75rem !important;
    }
    
    .client-item img {
        max-height: 50px !important;
        max-width: 100px !important;
    }
}

/* Floating Action Buttons */
.floating-action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: white;
}

.floating-btn:active {
    transform: translateY(-1px);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

/* Call Button */
.call-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.call-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}

/* Animation for floating effect */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-btn {
    animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
    animation: none;
}

/* Social Media Icons */
.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: white;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.facebook:hover {
    background: #166fe5;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.twitter:hover {
    background: #1a91da;
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover {
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.linkedin:hover {
    background: #006ba1;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-action-buttons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-action-buttons {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Gallery Section Styles */
.tj-gallery-section {
    position: relative;
    padding: 80px 0;
}

.gallery-wrapper {
    position: relative;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.05);
}

.gallery-slider .slider-navigation {
    margin-top: 30px;
    justify-content: center;
}

/* Responsive Gallery Styles */
@media (max-width: 992px) {
    .gallery-img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .tj-gallery-section {
        padding: 60px 0;
    }
    
    .gallery-img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .gallery-img {
        height: 200px;
    }
}

/* Service Image Styles for Services Listing Page */
.service-item.style-4 .service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
}

.service-item.style-4 .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item.style-4:hover .service-image img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-item.style-4 .service-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .service-item.style-4 .service-image {
        height: 160px;
    }
}

/* YouTube Subscribe Section - Modern Design */
.youtube-subscribe-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.youtube-subscribe-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.youtube-subscribe-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.youtube-icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
}

.youtube-subscribe-wrapper:hover .youtube-icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.youtube-icon-box i {
    font-size: 45px;
    color: #FF0000;
    z-index: 1;
}

.youtube-title {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 15px;
    line-height: 1.3;
}

.youtube-desc {
    color: #28a745;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    padding: 0 10px;
    font-weight: 400;
    opacity: 0.9;
}

.youtube-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    margin-bottom: 0;
    letter-spacing: 0.3px;
}

.youtube-subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.youtube-subscribe-btn:hover::before {
    left: 100%;
}

.youtube-subscribe-btn:hover {
    background: linear-gradient(135deg, #FF3333 0%, #FF0000 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.youtube-subscribe-btn .btn-icon {
    font-size: 22px;
    display: flex;
    align-items: center;
}

.youtube-subscribe-btn .btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.youtube-subscribe-btn .btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.youtube-subscribe-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.youtube-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.stat-item i {
    color: inherit;
    font-size: 14px;
    opacity: 0.7;
}


/* Responsive Design */
@media (max-width: 992px) {
    .youtube-subscribe-wrapper {
        padding: 25px 20px;
    }
    
    .youtube-icon-box {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }
    
    .youtube-icon-box i {
        font-size: 35px;
    }
    
    .youtube-title {
        font-size: 20px;
    }
    
    .youtube-desc {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .youtube-subscribe-wrapper {
        padding: 20px 18px;
    }
    
    .youtube-icon-box {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .youtube-icon-box i {
        font-size: 32px;
    }
    
    .youtube-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .youtube-desc {
        font-size: 13px;
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    .youtube-subscribe-btn {
        padding: 12px 26px;
        font-size: 14px;
        gap: 10px;
    }
    
    .youtube-subscribe-btn .btn-icon {
        font-size: 20px;
    }
    
    .youtube-subscribe-btn .btn-arrow {
        font-size: 16px;
    }
    
    .youtube-stats {
        gap: 15px;
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .stat-item {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .youtube-subscribe-wrapper {
        padding: 18px 15px;
        border-radius: 12px;
    }
    
    .youtube-icon-box {
        width: 60px;
        height: 60px;
    }
    
    .youtube-icon-box i {
        font-size: 28px;
    }
    
    .youtube-title {
        font-size: 16px;
    }
    
    .youtube-desc {
        font-size: 12px;
    }
    
    .youtube-subscribe-btn {
        padding: 10px 22px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}