/* Home Page Subtle Improvements - SkyVision Africa */

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Hero Section - Subtle overlay improvement */
.fancy-hero-area .bg-overlay::before {
    background: linear-gradient(135deg, rgba(254, 164, 80, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.fancy-hero-content h2 {
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Buttons with subtle hover effects */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.btn-warning:hover {
    box-shadow: 0 8px 20px rgba(254, 164, 80, 0.4) !important;
}

/* Top Feature Cards - Subtle depth */
.single-top-feature {
    transition: all 0.3s ease;
    position: relative;
}

.single-top-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* About Section - Image hover effect */
.about-us-thumb {
    overflow: hidden;
    border-radius: 10px;
}

.about-us-thumb img {
    transition: transform 0.5s ease;
}

.about-us-thumb:hover img {
    transform: scale(1.05);
}

/* Section Headings - Subtle accent */
.section-heading h2 {
    position: relative;
    padding-bottom: 20px;
}

.section-heading.text-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #fea450;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #fea450;
}

/* Expertise/Skills Cards - Smooth hover */
.fancy-services-area {
    transition: all 0.4s ease;
}

.fancy-services-area:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Service Icons - Color enhancement */
.single-service-area i {
    color: #fea450;
    transition: all 0.3s ease;
}

.single-service-area:hover i {
    transform: scale(1.1);
}

/* Stats - Number emphasis */
.sky-color {
    text-shadow: 0 2px 10px rgba(254, 164, 80, 0.3);
}

/* Partners Logos - Grayscale hover effect */
.log-p {
    filter: grayscale(80%);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.log-p:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* CTA Section - Text shadow */
.cta-content h2 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Footer Links - Smooth hover */
.fancy-footer-area a {
    transition: all 0.3s ease;
}

.fancy-footer-area a:hover {
    color: #fea450 !important;
    transform: translateX(3px);
}

/* Social Icons Hover */
.footer-social-widegt a {
    transition: all 0.3s ease;
}

.footer-social-widegt a:hover {
    transform: translateY(-5px);
    color: #fea450 !important;
}

/* Testimonials - Subtle shadow */
.single-testimonial {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

/* Modal Improvements */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #fea450 0%, #ff8c1a 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.modal-header .close {
    color: white;
    opacity: 1;
    text-shadow: none;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Cards Shadow Enhancement */
.wow {
    transition: all 0.3s ease;
}

/* Link Hover - Orange Sky */
a:hover {
    color: #fea450 !important;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations on scroll */
.fadeInUp {
    animation: slideUp 0.6s ease;
}

/* Improve button with Sky colors */
.btn.fancy-btn {
    transition: all 0.3s ease;
}

.btn.fancy-btn:hover {
    background: #fea450 !important;
    border-color: #fea450 !important;
    color: white !important;
}

/* Improve cards spacing */
.single-service-area {
    padding: 30px 20px;
}

/* Add subtle gradient to white backgrounds */
.bg-gray {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%) !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .fancy-hero-content h2 {
        font-size: 32px !important;
    }
    
    .section-heading h2 {
        font-size: 28px !important;
    }
}

/* ===== SECTION PARTENAIRES ===== */
.partners-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23fea450" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.partner-category {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.partner-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fea450, #9e280e);
}

.partner-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(254, 164, 80, 0.2);
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    color: #9e280e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title i {
    color: #fea450;
    font-size: 24px;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.partner-item:hover {
    background: linear-gradient(135deg, #fea450 0%, #9e280e 100%);
    color: white;
    transform: translateX(8px);
    border-left-color: white;
    box-shadow: 0 5px 15px rgba(254, 164, 80, 0.3);
}

.partner-item i {
    font-size: 18px;
    color: #fea450;
    transition: all 0.3s ease;
}

.partner-item:hover i {
    color: white;
    transform: scale(1.1);
}

.partner-item span {
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.partnership-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, #fea450 0%, #9e280e 100%);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.partnership-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s infinite linear;
}

.partnership-cta h3 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.partnership-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.btn-partner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #9e280e;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-partner:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    color: #fea450;
    text-decoration: none;
}

.btn-partner i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-partner:hover i {
    transform: rotate(10deg) scale(1.1);
}

@keyframes float {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(50px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Partners */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 40px 0;
    }
    
    .partner-category {
        padding: 25px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .partnership-cta {
        padding: 40px 20px;
        margin-top: 40px;
    }
    
    .partnership-cta h3 {
        font-size: 26px;
    }
    
    .partnership-cta p {
        font-size: 16px;
    }
    
    .btn-partner {
        padding: 12px 25px;
        font-size: 14px;
    }
}
