/*
Theme Name: TechIndia
Description: A modern and responsive WordPress theme for technology and business websites. Features clean design, multiple layouts, and comprehensive functionality.
Author: TechIndia Team
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techindia
*/

/* Import the main stylesheet */
@import url('assets/css/main.css');


.site-wrapper {
    overflow-x: hidden;
}

/* WordPress specific styles */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Additional styles for dynamic testimonials */
.testimonial-card .company-logo {
    margin-top: 15px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.testimonial-card .company-logo img {
    max-width: 120px;
    max-height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: grayscale(50%);
}

.testimonial-card:hover .company-logo img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Fix for testimonial company logos in profile area */
.testimonial-card .testi-thumb img.company-logo-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
}

.testimonial-card .profile-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hide profile box when no company logo */
.testimonial-card .profile-box:not(:has(.testi-thumb)) {
    justify-content: center;
}

.testimonial-card .profile-box .testi-content {
    flex: 1;
}

/* Responsive adjustments for company logos */
@media (max-width: 768px) {
    .testimonial-card .company-logo img {
        max-width: 100px;
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .testimonial-card .company-logo img {
        max-width: 80px;
        max-height: 40px;
    }
}

/* Admin interface improvements */
.testimonial-meta-table .star-rating {
    display: flex;
    gap: 5px;
    align-items: center;
}

.testimonial-meta-table .star-rating input[type="radio"] {
    display: none;
}

.testimonial-meta-table .star-rating label:hover {
    transform: scale(1.1);
    color: #ffc107 !important;
}

.testimonial-meta-table .logo-preview {
    transition: transform 0.2s ease;
}

.testimonial-meta-table .logo-preview:hover {
    transform: scale(1.05);
} 