/* ========================================
   MODERN SECTION DESIGNS
   Enhanced Visual Components
   ======================================== */

/* ===== ABOUT SECTION - ENHANCED ===== */
.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(228, 3, 44, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.about-image-wrapper img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-badge {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.section-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== WHY US CARDS - ENHANCED ===== */
.why-us-card {
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e4032c 0%, #c41230 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-card:hover::before {
    transform: scaleX(1);
}

.why-us-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 3, 44, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.why-us-card:hover::after {
    width: 400px;
    height: 400px;
}

.why-us-icon {
    position: relative;
    z-index: 1;
}

.why-us-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-card:hover .why-us-icon::before {
    transform: translate(-50%, -50%) scale(1.2);
}

/* ===== SERVICES SECTION - ENHANCED ===== */
.services .hover-img-scale {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.services .hover-img-scale::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(228, 3, 44, 0.8) 0%, rgba(196, 18, 48, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.services .hover-img-scale:hover::before {
    opacity: 1;
}

.services .hover-img-scale .image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.services .hover-img-scale .image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.services .hover-img-scale:hover .image::after {
    width: 300px;
    height: 300px;
}

/* ===== TESTIMONIALS - ENHANCED ===== */
.testimonial-card {
    position: relative;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, #e4032c 0%, #c41230 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px 12px 0 0;
}

.testimonial-card:hover::after {
    height: 4px;
}

.testimonial-quote-icon {
    position: relative;
    overflow: hidden;
}

.testimonial-quote-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

.author-avatar {
    position: relative;
    overflow: hidden;
}

.author-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .author-avatar::before {
    opacity: 1;
}

/* ===== FAQ SECTION - ENHANCED ===== */
.accordion-item {
    border: none !important;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.accordion-button {
    background: transparent !important;
    border: none !important;
    position: relative;
    padding-left: 3rem !important;
}

.accordion-button::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #e4032c;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 15px rgba(228, 3, 44, 0.6);
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* ===== CONTACT FORM - ENHANCED ===== */
.contact-form-wrapper {
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #e4032c 0%, #c41230 50%, #a00f26 100%);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-form-wrapper:hover::before {
    opacity: 0.1;
}

/* ===== FEATURE ITEMS - ENHANCED ===== */
.feature-item {
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #e4032c 0%, #c41230 100%);
    transition: height 0.3s ease;
}

.feature-item:hover::before {
    height: 100%;
}

.feature-item i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #e4032c;
}

/* ===== FLOATING ELEMENTS ===== */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-medium {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-fast {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.float-medium {
    animation: float-medium 4s ease-in-out infinite;
}

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

/* ===== GRADIENT BACKGROUNDS ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #e4032c 0%, #c41230 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(228, 3, 44, 0.3) 50%, transparent 100%);
    margin: 3rem 0;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #e4032c;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(228, 3, 44, 0.5);
}

/* ===== MODERN ICONS ===== */
.icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.icon-wrapper:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .why-us-card {
        margin-bottom: 1rem;
    }
    
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    .feature-item {
        margin-bottom: 0.75rem;
    }
}

/* ===== LOADING STATES ===== */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ===== GLASS MORPHISM ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
