@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    font-family: "Poppins", sans-serif;
    color: #1f2f49;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #1f2f49;
    color: white;
}

.btn-primary:hover {
    background-color: #1f2f49;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

header {
    background-color: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 11000;
}

header.scrolled {
    padding: 10px 20px;
    background-color: rgba(44, 62, 80, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 0.8em;
}

nav ul {
    display: flex;
    gap: 30px;
    justify-content: right;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 20px;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 70%;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
    margin-right: 20px;
}

.burger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.home {
    width: 100%;
    height: 100vh;
    background: url("images/home.jpg") no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    transform-style: preserve-3d;
    will-change: transform;
    overflow: hidden;
}

.home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.slogan {
    text-align: center;
    color: white;
    max-width: 700px;
}

.slogan h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #1f2f49;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.slogan h1 span {
    color: #f39c12;
}

.slogan .subtext {
    font-size: 0.875rem;
    color: #1f2f49;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.btn-home {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1f2f49;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-home:hover::before {
    width: 100%;
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.4);
}

.about {
    width: 100%;
    color: #1f2f49;
    padding: 100px 0;
}

.about-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.about-content {
    flex: 1 1 500px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #1f2f49;
    margin-bottom: 25px;
    font-family: "Poppins", sans-serif;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #1f2f49;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.about-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    border: 1px solid #1f2f49;
}

.about-btn {
    display: inline-block;
    margin-top: 30px;
    background: #1f2f49;
    color: white;
    padding: 14px 30px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
}

.about-btn:hover {
    background: #27ae60;
    transform: scale(1.05);
}

.about-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}

.image-mask {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #1f2f49;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: 0.4s ease;
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-mask:hover img {
    transform: scale(1.1);
}

.women {
    width: 100%;
    padding: 80px 0;
    color: #1f2f49;
    font-family: "Poppins", sans-serif;
}

.women-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.women-image {
    flex: 1;
    text-align: center;
}

.women-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 0 20px #1f2f49;
    transition: transform 0.4s ease;
}

.women-image img:hover {
    transform: scale(1.03);
}

.women-text {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.women-text h2 {
    font-size: 2.5rem;
    color: #1f2f49;
    margin-bottom: 20px;
}

.women-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #1f2f49;
}

.btn-women {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background-color: #1f2f49;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px #f39c12;
    transition: all 0.3s ease;
}

.pricing {
    padding: 100px 0;
    color: white;
    font-family: "Poppins", sans-serif;
    text-align: center;
}

.pricing-header h2 {
    font-size: 2.5rem;
    color: #1f2f49;
    margin-bottom: 10px;
}

.pricing-header p {
    font-size: 1rem;
    color: #1f2f49;
    margin-bottom: 60px;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.pricing-card {
    background: #1f2f49;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 300px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(46, 204, 113, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: 0.6s;
}

.pricing-card:hover::before {
    transform: translateX(100%);
}

.pricing-card.featured {
    border: 2px solid #1f2f49;
    transform: translateY(-10px);
}

.pricing-card.featured::after {
    content: "Recommandé";
    position: absolute;
    top: 0;
    right: 2rem;
    background: #1f2f49;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #1f2f49;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
    transform: translateY(-15px);
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.price {
    font-size: 1rem;
    margin: 20px 0;
    color: #f39c12;
    font-weight: bold;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #1f2f49;
    color: #fff;
}

.btn-pricing {
    display: inline-block;
    padding: 12px 25px;
    background-color: #1f2f49;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-pricing:hover {
    background-color: #27ae60;
}

.testimonials {
    padding: 100px 10%;
    color: white;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2f49;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1rem;
    color: #1f2f49;
    margin-bottom: 60px;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
}

.testimonial-card {
    background: #1f2f49;
    padding: 30px;
    border-radius: 20px;
    min-width: 300px;
    max-width: 350px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
}

.quote {
    font-style: italic;
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #fff;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #1f2f49;
}

.testimonial-author h4 {
    margin: 5px 0;
    color: #fff;
    font-size: 0.875rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: #fff;
}

.contact-section {
    padding: 100px 5%;
    color: #1f2f49;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.contact-left {
    flex: 1;
    max-width: 500px;
}

.contact-left h2 {
    font-size: 2.5rem;
    color: #1f2f49;
    margin-bottom: 15px;
}

.contact-left p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #1f2f49;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
    margin-top: 40px;
}

.contact-info li {
    margin-bottom: 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    width: 25px;
    text-align: center;
    color: #1f2f49;
}

.contact-right {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(44, 62, 80, 0.6);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: #1f2f49;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 15px;
    border: none;
    background-color: #1f2f49;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-form button:hover::before {
    width: 300px;
    height: 300px;
}
.form-slide-up {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.6);
    /* background: #fff; */
    box-shadow: 0 -10px 30px rgba(0,  0,  0,  0.2);
    transition: bottom 0.5s ease-in-out;
    z-index: 999;
    border-radius: 20px 20px 0 0;
    padding: 30px 20px;
}

.form-slide-up.show {
    bottom: 0;
}

.form-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.form-content .close-btn {
    /* background-color: red; */
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    z-index: 100;
}
.form-content .contact-form input,
.form-content .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.form-content .contact-form button {
    width: 100%;
    padding: 12px;
    background-color: #1f2f49;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.confirmation-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #4caf50;
    color: white;
    padding: 18px 30px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    z-index: 9999;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirmation-message.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.loader {
    margin-top: 15px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffb300;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: spin 1s linear infinite;
    margin-left: auto;
    margin-right: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-home,
.btn-pricing,
.btn-women {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
}

.btn-home::before,
.btn-pricing::before,
.btn-women::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-home:hover::before,
.btn-pricing:hover::before,
.btn-women:hover::before {
    width: 100%;
}

nav {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease,
        visibility 0.2s ease;
}

nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #1f2f49;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 70%;
}

.fas,
.fab {
    margin-right: 8px;
}

.logo i {
    color: #1f2f49;
    font-size: 1.5em;
    margin-right: 10px;
}

.btn-home i,
.btn-pricing i,
.btn-women i,
.about-btn i {
    transform: translateX(-3px);
    transition: transform 0.3s ease;
}

.btn-home:hover i,
.btn-pricing:hover i,
.btn-women:hover i,
.about-btn:hover i {
    transform: translateX(3px);
}

.about-tags span i {
    color: #1f2f49;
    font-size: 0.9em;
}

.pricing-card h3 i {
    color: #f39c12;
    margin-right: 10px;
    font-size: 1.2em;
}

.pricing-card.featured h3 i {
    color: #1f2f49;
}

.contact-info a{
    text-decoration: none;
    color: #1f2f49;
}
.contact-info i {
    width: 25px;
    text-align: center;
    color: #1f2f49;
}

.contact-form button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.contact-form button:hover i {
    transform: translateX(3px);
}

section h2 i {
    color: #1f2f49;
    margin-right: 15px;
    font-size: 0.9em;
}

.contact-info li:hover i {
    animation: bounce 0.6s ease;
}

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

@media screen and (max-width: 968px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contact-left,
    .contact-right {
        max-width: 600px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .contact-section {
        padding: 60px 20px;
    }

    .contact-wrapper {
        padding: 10px;
    }

    .contact-left h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }
}

@media screen and (max-width: 1024px) {
    .about-wrapper,
    .women-content {
        padding: 0 20px;
    }

    .pricing-cards {
        gap: 20px;
        padding: 0 20px;
    }

    .slogan h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .logo h1 {
        font-size: 1.2em;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: #1f2f49;
        transition: 0.3s ease-in-out;
        z-index: 110000;
    }

    .burger {
        display: flex;
        position: relative;
        z-index: 1200;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    nav.active {
        right: 0;
    }

    .about-wrapper,
    .women-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-image,
    .women-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 350px;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 0 20px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .slogan h1 {
        font-size: 2rem;
    }

    .slogan .subtext {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .logo h1 {
        font-size: 1em;
    }

    nav {
        width: 85%;
    }

    .slogan h1 {
        font-size: 1.8rem;
    }

    .about-content h2,
    .women-text h2,
    .pricing-header h2,
    .section-header h2 {
        font-size: 2rem;
    }

    .about-tags {
        flex-direction: column;
    }

    .about-tags span {
        text-align: center;
    }

    .testimonial-card {
        padding: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content button {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

#install-confirm {
  background-color: #1f2f49;
  color: white;
}

#install-cancel {
  background-color: #ccc;
}