/* Variables CSS */
:root {
    --main-color: linear-gradient(175deg, rgb(6, 20, 32) 0%, rgb(10, 37, 24) 15%, rgb(6, 61, 40) 100%);
    --secondary-color: #00C896;
    --text-font: 'Plus Jakarta Sans', sans-serif;
    --texts-size: 35px;
    --titles-font: 'Fraunces', serif;
    --blue-color: linear-gradient(175deg, rgb(6, 20, 32) 0%, rgb(10, 37, 24) 80%, rgb(6, 61, 40) 100%);
    --footer-color: #03101B;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
  text-decoration : none;  
}

body {
    font-family: var(--text-font);
   
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
}
.contenu{
    background: var(--blue-color);
    padding-top: 300px;
    margin-top: -400px;
    position: relative;
    z-index: 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    z-index: 10;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--titles-font);
    color: #ffffff;
}

.logo-scan {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--text-font);
}
footer p, a{
    font-size: 14px; 
}
.nav-link:not(.active) {
    padding: 10px 25px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    background-color: transparent;
}

.nav-link:not(.active):hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
}
.hero{
    position: relative;
    overflow: hidden;
    height: 100%;
}

.hero-bg{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    z-index:-1;
    
}
.nav-link.active {
    /*color: var(--secondary-color);*/
}


.btn-nav {
    color: #ffffff;
    padding: 10px 25px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--text-font);
    background-color: transparent;
}

.btn-nav:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
   /* background: var(--main-color);*/
    padding: 120px 0 0;
  /*min-height: 100vh;*/
    display: flex;
    align-items: center;
    position: relative;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    position: relative;
    z-index: 1;
}
.menu-toggle{
    display: none;
}
.hero-bg-mobile{
    display: none;
}
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 2;
    height: 530px;
    border-bottom-left-radius: 200px;
}

.hero-left {
    display: flex;
    justify-content: center;
    margin-right: -200px;
    margin-top: -100px;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding-top: -130px;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: -50px;
    margin-left: -90px;
    margin-top: 120px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    font-family: var(--titles-font);
    white-space: nowrap;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
    font-family: var(--text-font);
    max-width: 400px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: none;
    margin-top: 30px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--text-font);
}

.btn-primary:hover {
    background-color: #00a57c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 200, 150, 0.3);
}

/* Pharmacy Info Container */
.pharmacy-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid white;
    padding: 8px 15px;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    font-family: var(--text-font);
    position: relative;
    white-space: nowrap;
    /*min-width:100px;*/
    width: 80px;
    background-color: rgba(0, 0, 0, 0.438);
}

.main-pharmacy-icon {
    background-color: var(--secondary-color);
    border: none;
    /*padding: 1px;*/
    border-radius: 20%;
    */width: 10px;*/
    /*height: 50px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 8;
}

.outer-circle {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 200, 150, 0.5);
}

.middle-circle {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    opacity: 0.3;
}

.pharmacy-icon-img {
    width: 80px;
    height: 60px;
    color: #ffffff;
    position: relative;
    z-index: 10;    
}

.icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

/* Icons styles */
.distance-icon {
    /*background-color: #ff4444;*/
    color: #ffffff;
}

.time-icon {
   /* background-color: #ffaa00;*/
    color:  #ffaa00;;
}

.garde-icon {
    /*background-color: #4ade80;*/
    color: red;
}

/* Icon symbols */
.distance-icon::before {
    content: "📍";
}

.time-icon::before {
    content: "⏱";
}

.garde-icon::before {
    content: "✅";
}

/* Floating animations */
.pharmacy-video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.btn-video {
    background: linear-gradient(135deg, var(--blue-color), var(--main-color));
    color: #ffffff;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: none;
    margin-top: 30px;
    font-family: var(--text-font);
    box-shadow: 0 4px 15px rgba(10, 207, 174, 0.2);
}

.btn-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.main-pharmacy-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.info-item:not(.main-pharmacy-icon) {
    position: absolute;
    animation: float 4s ease-in-out infinite;
}

.info-item:nth-child(1) {
    position: relative;
    top: 27%;
    left: 0%;
    transform: translateX(-120%) translateY(-50%);
    animation-delay: 0s;
    padding: 5px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-item:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 26%;
    transform: translateX(100%) translateY(-50%);
    animation-delay: 1.3s;
    padding: 5px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-item:nth-child(4) {
    position: absolute;
    top: 28%;
    right: 50%;
    transform: translateX(-50%) translateY(100%);
    animation-delay: 2.6s;
    padding: 5px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(-150%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-150%) translateY(-8px);
    }
}

.info-item:nth-child(3) {
    animation-name: float-right;
}

@keyframes float-right {
    0%, 100% {
        transform: translateX(100%) translateY(-50%) translateY(0);
    }
    50% {
        transform: translateX(100%) translateY(-50%) translateY(-8px);
    }
}

.info-item:nth-child(4) {
    animation-name: float-bottom;
}

@keyframes float-bottom {
    0%, 100% {
        transform: translateX(-50%) translateY(100%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(100%) translateY(-8px);
    }
}

/* Hero Image */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height:auto;
}

.hero-image-background {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
   

}

.dotted-circle {
    width: 250px;
    height: 250px;
    border: 3px dashed var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 50px rgba(0, 200, 150, 0.3);
}

.filled-circle {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: absolute;
}

.hero-girl-illustration {
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    margin-top: -40px;
    margin-left: 0px;
    /*transform: rotate(-5deg);*/
    
}

/* Hero Curve */
.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--blue-color);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
}

/* Discovery Section */
.discovery {
    padding: 140px 0 0px;
    margin-top: -1px;
}

.section-title {
    font-size: calc(var(--texts-size) * 0.9);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-style: italic;
    font-family: var(--titles-font);
}

.section-description {
    font-size: calc(var(--texts-size) * 0.6);
    color: rgba(255, 255, 255, 0.8);
    text-align: justify;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.6;
    font-family: var(--text-font);
    box-sizing: border-box;
    max-width: none;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 200, 150, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(0, 200, 150, 0.1);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: var(--titles-font);
}

.feature-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-family: var(--text-font);
}

/* Guide Section */
.guide {
    padding: 80px 0;
    background: var(--blue-color);
}

.video-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.video-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 200, 150, 0.3);
    border-radius: 20px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    border-color: var(--secondary-color);
    background: rgba(0, 200, 150, 0.1);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.play-button:hover {
    transform: scale(1.1);
    background: #00a57c;
}

.video-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-family: var(--text-font);
}

/* Main Content */
.main-content {
    background: var(--main-color);
    padding: 120px 0 60px;
    min-height: 100vh;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--titles-font);
}

.policy-content,
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.policy-content h2,
.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--main-color);
    margin: 30px 0 15px 0;
    font-family: var(--titles-font);
}

.policy-content p,
.legal-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--text-font);
}

.policy-content ul,
.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content li,
.legal-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--text-font);
}

.final-paragraph {
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 30px;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--footer-color);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 200, 150, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-section p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-section i {
    color: var(--secondary-color);
    font-size: 12px;
}

.footer-section ion-icon {
    color: var(--secondary-color);
    font-size: 20px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-family: var(--titles-font);
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-family: var(--text-font);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 200, 150, 0.3);
    border-radius: 50%;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.social-links a:hover i {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 200, 150, 0.2);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--text-font);
}
/*svg */
.hero-bg-mobile{
    display:none;
}
#mobile-cta{
    display: none;
}

@media (max-width:768px){
.page-title{
    font-size: 20px;
}
.hero-bg{
    display:none;
   
}
#mobile-cta{
    display: block;
   order: 3;
}
.btn-primary{
   padding: 15px;
    display: flex;
    border-radius: 50px;
   
    /*font-size: 18px;*/
    margin-bottom: 40px;
    margin: 0;
}

.hero-bg-mobile{
    display:block;
}
.hero{
    height: 800px;
}

#desktop-cta{
    display: none;
}
.container h2{
    font-size: 20px;
}
.container p{
    font-size: 18px;
}
.contenu{
    padding-top: 100px ;
}
.hero{
    padding-left: 50px;
}
.nav-link:not(.active) {
    padding: 10px 25px;
    border: none;
    background-color: transparent;
}
.nav-link.active{
  
    background: none;
}

}
@media (max-width: 1200px) {
   .header{
    padding: 20px;
   }
  .btn-primary{
    padding: 15px 15px;
  }
  footer p , .footer-text{
    font-size: 18px !important;
  }
 
}
/* Responsive Design */


@media (max-width: 992px) {
    .hero-container {
         display: flex;
        flex-direction: column;
        gap: 80px;
        text-align: center;
        min-height: 700px;
        padding: 0px 20px 0 20px;
        width: 100%;
        justify-content: start;
        margin-top: 100px;
        align-items: center;
    }
    .logo img{
        width: 350px;
    }
   .hero-description  {
        font-size: 22px;
    }
    .hero-right{
        display: none;
        box-shadow: 0 0 10px rgba(11, 212, 196, 0.1);
    }
    #desktop-cta{
        display: none;
    }
    #mobile-cta{
        display: block;
    }
    .btn-primary{
        margin-top: 0;
    }
    .logo img{
        width: 300px;
    }
    .section-description{
        font-size: 25px;
      
    }
    .hero-left {
        margin-right: 0;
        order: 0;
        margin-top: 10px;
        margin-bottom: 50px;
    }
    
    .hero-center {
        margin-right: 0;
        padding-top: 0;
        order: -1;
    }
    
    .hero-right {
        margin-left: 0;
        padding-top: 0;
        order: 3;
    }
    
    .hero-girl-illustration {
        width: 300px;
        margin-top: 20px;
        margin-left: 0;
    }
    
    .pharmacy-info-container {
        margin: 0 auto;
    }
    
    .info-item:nth-child(1),
    .info-item:nth-child(3),
    .info-item:nth-child(4) {
        position: absolute;
        animation: float 4s ease-in-out infinite;
        transform: none;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .info-item:nth-child(1) {
        position:relative;
        top: -50%;
        left:-10%;
        transform: translateX(-50%) translateY(-150%);
        animation-delay: 0s;
        padding: 5px 50px;
    }
    
    .info-item:nth-child(3) {
        top: 50%;
        /*right: 0%;*/
        transform: translateX(100%) translateY(-50%);
        animation-delay: 1.3s;
        padding: 5px 25px;
        animation-name: float-right;
    }
    
    .info-item:nth-child(4) {
        top: 10%;
      /*left: 50%;*/
        transform: translateX(-50%) translateY(100%);
        animation-delay: 2.6s;
        padding: 5px 50px;
        animation-name: float-bottom;
    }
    
    .nav-links {
        gap: 20px;
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--main-color);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: 2px solid var(--secondary-color);
        color: var(--secondary-color);
        padding: 8px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
        order: 1;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo img {
        max-width: 180px;
        height: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
       /* text-align: center;*/
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .nav-container {
      
        gap: 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .hero-left .nav-links {
        display: none;
    }
    
    .hero-bg {
        height: 800px !important;
    }
    
    .hero {
        padding: 0px 0px 150px ;
        min-height: 500px;
    }
    
    /* Marges identiques gauche/droite pour mobile */
    .section-description {
        margin: 0 auto;
        padding: 0 20px;
        text-align: normal;
    }
    
    /* Permuter les blocs hero-center et hero-left */
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 40px;
        padding-top: 90px;
        margin-top: 300px ;
        width: 100%;
        box-sizing: border-box;
        gap: 40px;
        min-height: 900px;
    }
    
    .hero-center {
        order: 1;
        margin-bottom: 40px;
    }
    
    .hero-left {
        order: 2;
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        /*text-align: center;*/
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
        margin: 20px;
        margin-top: 0px;
    }
   /* #mobile-cta{
        display.btn: block;
    }*/
    .hero-container{
        gap: 20px;
        padding-top: 100px;
        min-height: 600px;
        margin: 0;
    }
    .hero{
        width: 100%;
    }
    .logo img{
        max-width: 130px;
    }
   
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 200px;
    }
    
}