

:root {
    --mainColorBlue: #00588E; 
    --secondaryColorBlue: #00588E;
    --mainColorOrange: #00AFC6;
    --mainColorOrangedark: #00AFC6;
    --mainColorGray: #e6e6e6;
}
/* footer */
a {
    color: inherit; /* Garde la couleur blanche */
    text-decoration: none; /* Retire le soulignement */
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: none; /* AjoutVVe le soulignement au survol */
    color: #ccc; /* Change légèrement la couleur au survol */
}

button:hover {
    background-color: #ddd; /* Couleur plus claire pour le bouton */
    color: var(--mainColorBlue); /* Garde une cohérence avec le thème */
}


/* Hide Scrollbar */
.scrollbar-hide {
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}
.scrollbar-hide::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}


/* Hero Section */
/* .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    
} */


.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.bg-gradient-to-r {
    background: linear-gradient(to right, var(--mainColorBlue), var(--secondaryColorBlue));
}

.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.rounded-lg {
    border-radius: 12px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.md\\:flex-row {
    flex-direction: row;
}

.md\\:pl-10 {
    padding-left: 2.5rem; /* 40px */
}

.mb-10 {
    margin-bottom: 2.5rem; /* 40px */
}

.md\\:mb-0 {
    margin-bottom: 0;
}


/* typing text Animation */

.typing-container {
    text-align: center;
}
.typing-text {
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    height: 1.5em;
}
.typing-cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.navBarActive {
    color: white!important; 
    background: var(--mainColorOrange);
    background: var(--secondaryColorBlue);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}
/* Appliquer le style uniquement au hover */
.hover-gradient:hover {
    color: white !important;
    background: var(--mainColorOrange);
    background: linear-gradient(133deg, var(--mainColorOrange) 10%, var(--secondaryColorBlue) 67%, rgba(2,0,36,1) 87%);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}


 /* globale spinner */

.preloader {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.logo-container {
    width: 80px;
    height: 80px;
    position: relative;
}

.logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.spinner {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid transparent;
    border-top-color: var(--mainColorBlue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #333;
    font-size: 16px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Hide preloader when content is loaded */
.loaded {
    display: none;
}

/* Pour le home.html */
.platforms-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.platform-card {
    border-radius: 8px;
    padding: 30px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.platform-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.platform-features {
    margin: 20px 0;
    flex-grow: 1;
}

.platform-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* Pour platform_detail.html */
.platform-header {
    padding: 60px 0;
    color: white;
    margin-bottom: 40px;
}

.platform-logo {
    max-height: 80px;
    margin-top: 20px;
}

.platform-description {
    margin-bottom: 40px;
}

.quote-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.range-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-slider input {
    flex-grow: 1;
}

@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}