/* Enhanced Components CSS - Modern UI improvements for KC7 Home Page
   Based on Rocket Template design patterns
   Author: Claude Code Assistant
   Created: 2024
*/


/* ===== SHADOW ENHANCEMENTS ===== */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-soft {
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

.shadow-primary {
    box-shadow: 0 0.5rem 1rem rgba(102, 126, 234, 0.4);
}

.shadow-secondary {
    box-shadow: 0 0.5rem 1rem rgba(240, 147, 251, 0.4);
}

.shadow-tertiary {
    box-shadow: 0 0.5rem 1rem rgba(79, 172, 254, 0.4);
}

/* ===== ICON SHAPES ===== */
.icon-shape {
    padding: 12px;
    text-align: center;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-shape:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.icon-shape.icon-lg {
    width: 4rem;
    height: 4rem;
    padding: 1rem;
}

.icon-shape.icon-xl {
    width: 5rem;
    height: 5rem;
    padding: 1.25rem;
    font-size: 1.5rem;
}

/* ===== AVATAR SIZING ===== */
.avatar-md {
    width: 3rem;
    height: 3rem;
}

/* ===== CARD ENHANCEMENTS ===== */
.card.rounded-lg {
    border-radius: 1rem !important;
}

.card-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

/* ===== ANIMATIONS ===== */
.animate-up-2 {
    transition: transform 0.3s ease;
}

.animate-up-2:hover {
    transform: translateY(-2px);
}

/* ===== BACKGROUND OPACITY ===== */
.bg-opacity-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-opacity-90 {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== TEXT UTILITIES ===== */
.text-gray {
    color: #6c757d !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

/* ===== TRUST INDICATORS SPACING ===== */
.trust-indicators .col-6,
.trust-indicators .col-md-3 {
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .icon-shape.icon-lg {
        width: 3rem;
        height: 3rem;
        padding: 0.75rem;
    }
    
    .icon-shape.icon-xl {
        width: 4rem;
        height: 4rem;
        padding: 1rem;
        font-size: 1.25rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

/* ===== IMAGE HOVER EFFECTS ===== */
.img-hover-scale {
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

/* ===== BADGE ENHANCEMENTS ===== */
.badge-pill {
    border-radius: 50rem;
}

/* ===== FIXED HEIGHT FOR CONSISTENCY ===== */
.fixed-height-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* ===== PATTERN BACKGROUNDS ===== */
.pattern.bottom {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m0 20c5-5 15-5 20 0s15 5 20 0s15-5 20 0s15 5 20 0s15-5 20 0' stroke='%23ffffff' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-position: bottom;
    background-repeat: repeat-x;
}

/* ===== COMPONENT SPECIFIC STYLES ===== */

/* Hero section enhancements */
.section-header {
    overflow: hidden;
    position: relative;
}

/* Feature cards consistency */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
}

/* Testimonial cards modern styling */
.testimonial-card {
    border: none;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

/* Stats cards in metrics section */
.stats-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Partner logos hover effect */
.partner-logo {
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}