:root {
    --primary-color: #083440; /*#0056b3;*/
    --secondary-color: #015a68;
    --bg-light: #f8f9fa;
    --text-dark: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    position: relative;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1920/800') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: #e25a00;
    border-color: #e25a00;
}

.section-title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    background-color: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.module-section {
    background-color: var(--bg-light);
    padding: 30px 0;
}

.module-item {
    margin-bottom: 30px;
}

.module-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.module-list {
    list-style: none;
    padding-left: 0;
}

.module-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.module-list li:last-child {
    border-bottom: none;
}

.module-list li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.testimonial-section {
    background-color: white;
    padding: 30px 0;
}

.testimonial-card {
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 20px 10px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.contact-section {
    background: linear-gradient(180deg, var(--primary-color), #1a1a1a);
    color: white;
    padding: 30px 0;
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 10px;
}

.form-control {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

footer {
    background-color: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbbbbb;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-to-top.active {
    opacity: 1;
}

.carousel-item {
    height: 500px;
    background-position: center;
    background-size: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Portfolio */

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 5px;
}

.portfolio-img {
    transition: all 0.5s ease;
    border-radius: 15px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    color: var(--light-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--light-color);
    margin-bottom: 20px;
}

.portfolio-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
}

/*@media (min-width: 768px) {*/
/*    .carousel-inner-phone {*/
/*        height: 600px;*/
/*    }*/
/*}*/

/*@media (max-width: 767px) {*/
/*    .carousel-inner-phone {*/
/*        height: 900px;*/
/*    }*/
/*}*/


.iphone-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 360 / 780; /* Maintient le ratio de l'iPhone */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 48px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 6px solid black;
    background-color: black;
}

.iphone-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 3%;
    background: black;
    border-radius: 16px;
    z-index: 9999;
}

.iphone-screen {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    overflow: hidden;
    border-radius: 36px;
}

.iphone-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.iphone-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.iphone-carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.iphone-carousel-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
}

.iphone-carousel-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .iphone-container {
        max-width: 300px;
        aspect-ratio: 300 / 650; /* Réduit la taille pour petits écrans */
    }

    .iphone-carousel-controls button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {

    .iphone-container {
        max-width: 250px;
        aspect-ratio: 250 / 540;
    }

    .iphone-carousel-controls button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

.language-switcher a {
    text-decoration: none;
}
</style>

<style>
     /* Styles spécifiques au popup */
 #launchModal .modal-content {
     border: none;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
     border-radius: 15px;
 }

#launchModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0;
}

#launchModal .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}

#launchModal .btn-close {
    filter: invert(1);
}

.welcome-content {
    padding: 20px;
}

.welcome-content h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.feature-list {
    font-size: 1.1rem;
}

.feature-list i {
    font-size: 1.2rem;
}

#welcomeCarousel {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

#welcomeCarousel .carousel-caption {
    bottom: 10px;
}

/* Animation d'entrée */
#launchModal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

#launchModal.show .modal-dialog {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    #launchModal .modal-dialog {
        margin: 10px;
    }

    .welcome-content {
        text-align: center;
        margin-bottom: 20px;
    }

    .feature-list {
        font-size: 1rem;
    }

    #welcomeCarousel {
        max-height: 300px;
    }

    #welcomeCarousel img {
        height: 250px !important;
    }
}
