/* Style personnalisé pour SecureTech Guinée */

:root {
    --primary-color: #1e66c7;
    --primary-dark: #1554a8;
    --primary-light: #4a8ae4;
    --secondary-color: #f8f9fa;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --animation-speed: 0.3s;
}

/* Styles généraux */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    padding-top: 76px;
}

section {
    padding: 80px 0;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Navigation */
.navbar {
    background-color: rgba(30, 102, 199, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all var(--animation-speed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all var(--animation-speed);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.min-vh-80 {
    min-height: 80vh;
}

.min-vh-40 {
    min-height: 40vh;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: rotate(180deg);
}

.hero-wave path {
    fill: var(--secondary-color);
}

/* Hero Boutique */
.hero-boutique {
    background: linear-gradient(rgba(30, 102, 199, 0.9), rgba(21, 84, 168, 0.9)), 
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
}

/* Cards */
.service-card {
    transition: transform var(--animation-speed), box-shadow var(--animation-speed);
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(30, 102, 199, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.product-card {
    transition: transform var(--animation-speed);
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
}

.project-card {
    transition: transform var(--animation-speed);
    border-radius: 10px;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Contact */
.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(30, 102, 199, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer ul li a {
    transition: color var(--animation-speed);
}

footer ul li a:hover {
    color: white !important;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all var(--animation-speed);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Boutique */
#product-list .card {
    transition: all 0.3s;
    cursor: pointer;
}

#product-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.badge {
    padding: 5px 10px;
    border-radius: 5px;
}

/* Animations */
.animate-text {
    animation: fadeInUp 0.8s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;

}

.animate-card:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-card:nth-child(3) {
    animation-delay: 0.4s;
}

.animate-card:nth-child(4) {
    animation-delay: 0.6s;
}


        /* Styles pour le bouton WhatsApp flottant */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
        }
        
        .whatsapp-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background-color: #25d366;
            color: white;
            border-radius: 50%;
            font-size: 30px;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .whatsapp-btn:hover {
            background-color: #128c7e;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
            color: white;
        }
        
        /* Styles pour la section technologies */
        .tech-card {
            transition: transform 0.3s ease;
            border: #0d6efd 1px solid  !important;
        }
        
        .tech-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        }
        
        .tech-icon {
            font-size: 2.5rem;
            display: inline-block;
        }
        
        /* Ajout dans la navigation */
        .navbar-nav .nav-link.active {
            color: #fff !important;
        }


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) perspective(1000px) rotateY(-10deg);
    }
    50% {
        transform: translateY(-10px) perspective(1000px) rotateY(-10deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section .row {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 10px;
    }
    
    .hero-image img {
        transform: none;
    }
}