/*=================================================
   MINIMALIST PREMIUM DESIGN SYSTEM
   Accent Sparingly: #f49a00
=================================================*/
:root {
   /* Monochrome base */
   --bg: #ffffff;
   --surface: #f7f7f8;
   --surface-hover: #f0f0f2;
   --text-main: #111111;
   --text-muted: #666666;
   --border: #e6e6e6;
   --dark: #0a0a0b;

   /* The Accent Color (used extremely sparingly) */
   --accent: #f49a00;
   --accent-hover: #cc8100;

   /* Maparapharmacie section */
   --teal: #14b8a6;
   --teal-surface: #f0fdfa;

   /* Typography */
   --font-sans: 'Inter', sans-serif;
   --font-display: 'Outfit', sans-serif;

   /* Utilities */
   --radius: 12px;
   --radius-lg: 24px;
   --transition-fast: 0.2s ease;
   --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/*=================================================
   RESETS & TYPOGRAPHY
=================================================*/
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   scroll-padding-top: 100px;
   -webkit-font-smoothing: antialiased;
}

body {
   font-family: var(--font-sans);
   color: var(--text-main);
   background: var(--bg);
   line-height: 1.6;
}

h1,
h2,
h3,
h4 {
   font-family: var(--font-display);
   font-weight: 700;
   line-height: 1.15;
   letter-spacing: -0.02em;
}

p {
   font-size: 1.05rem;
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition-fast);
}

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

.text-center {
   text-align: center;
}

.accent-text {
   color: var(--accent);
}

/*=================================================
   BUTTONS
=================================================*/
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   padding: 14px 28px;
   border-radius: 100px;
   font-weight: 500;
   font-family: var(--font-sans);
   transition: var(--transition-smooth);
   cursor: pointer;
   border: 1px solid transparent;
   font-size: 1rem;
}

.btn-accent {
   background: var(--accent);
   color: #fff;
}

.btn-accent:hover {
   background: var(--accent-hover);
   transform: translateY(-3px);
   box-shadow: 0 10px 20px rgba(244, 154, 0, 0.25);
}

.btn-dark {
   background: var(--dark);
   color: #fff;
}

.btn-dark:hover {
   background: #000;
   transform: translateY(-3px);
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
   background: transparent;
   color: var(--text-main);
   border-color: var(--border);
}

.btn-outline:hover {
   background: var(--surface);
   transform: translateY(-3px);
}

/*=================================================
   NAVIGATION
=================================================*/
.navbar {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(12px);
   z-index: 100;
   border-bottom: 1px solid var(--border);
   transition: 0.3s;
   padding: 12px 0;
}

.nav-content {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo a {
   font-family: var(--font-display);
   font-size: 1.5rem;
   font-weight: 800;
}

.nav-links {
   display: flex;
   align-items: center;
   gap: 32px;
   font-weight: 500;
   font-size: 0.95rem;
   color: var(--text-muted);
}

.nav-links a:not(.btn):hover {
   color: var(--text-main);
}

/* Mobile Menu Button - Hidden Desktop */
.menu-toggle {
   display: none;
   background: none;
   border: none;
   color: var(--text-main);
   font-size: 24px;
   cursor: pointer;
}

/*=================================================
   HERO
=================================================*/
.hero {
   padding: 180px 0 100px 0;
   border-bottom: 1px solid var(--border);
}

.hero-content {
   max-width: 850px;
   margin: 0 auto;
   text-align: center;
}

.badge-minimal {
   display: inline-flex;
   align-items: center;
   border: 1px solid var(--border);
   padding: 8px 16px;
   border-radius: 100px;
   font-size: 0.85rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: var(--text-muted);
   margin-bottom: 32px;
   background: var(--surface);
}

.hero h1 {
   font-size: clamp(3rem, 6vw, 5rem);
   margin-bottom: 32px;
   color: var(--dark);
}

.hero-subtitle {
   font-size: clamp(1.1rem, 2vw, 1.25rem);
   color: var(--text-muted);
   margin-bottom: 48px;
   font-weight: 400;
   max-width: 700px;
   margin-inline: auto;
}

.hero-features {
   display: flex;
   justify-content: center;
   gap: 24px;
   flex-wrap: wrap;
   margin-bottom: 56px;
}

.hero-features span {
   display: flex;
   align-items: center;
   gap: 8px;
   font-weight: 500;
   font-size: 0.95rem;
   color: var(--text-main);
}

.hero-features i {
   width: 18px;
   color: var(--text-muted);
}

/*=================================================
   STATS & EXPERTISE
=================================================*/
.stats {
   padding: 100px 0;
   background: var(--surface);
}

.stats-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 64px;
   align-items: flex-start;
}

.stats-text h2 {
   font-size: clamp(2rem, 3vw, 2.5rem);
   margin-bottom: 24px;
}

.stats-cards {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 24px;
}

.s-card {
   background: var(--bg);
   padding: 40px 32px;
   border-radius: var(--radius-lg);
   border: 1px solid var(--border);
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   transition: var(--transition-smooth);
}

.s-card:hover {
   transform: translateY(-5px);
   border-color: #d4d4d8;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.s-card h3 {
   font-size: 3.5rem;
   color: var(--dark);
   line-height: 1;
   margin-bottom: 12px;
}

.s-card p {
   color: var(--text-muted);
   font-size: 1rem;
   font-weight: 500;
}

/*=================================================
   SERVICES
=================================================*/
.services {
   padding: 120px 0;
}

.section-header {
   margin-bottom: 80px;
}

.section-header h2 {
   font-size: clamp(2.5rem, 4vw, 3rem);
   margin-bottom: 16px;
}

.section-header p {
   font-size: 1.15rem;
   color: var(--text-muted);
}

.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 32px;
}

.srv-card {
   padding: 40px;
   border-radius: var(--radius-lg);
   border: 1px solid var(--border);
   transition: var(--transition-smooth);
   background: white;
}

.srv-card:hover {
   border-color: var(--dark);
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
   transform: translateY(-5px);
}

.srv-icon {
   width: 56px;
   height: 56px;
   background: var(--surface);
   color: var(--dark);
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   border: 1px solid var(--border);
   margin-bottom: 32px;
   transition: var(--transition-smooth);
}

.srv-card:hover .srv-icon {
   background: var(--dark);
   color: white;
}

.srv-card h3 {
   font-size: 1.4rem;
   margin-bottom: 16px;
}

.srv-card p {
   color: var(--text-muted);
   line-height: 1.6;
}

/*=================================================
   SLIDER
=================================================*/
.slider-section {
   padding: 80px 0;
   border-top: 1px solid var(--border);
   border-bottom: 1px solid var(--border);
   background: var(--surface);
   overflow: hidden;
}

.slider-container {
   width: 100vw;
   margin-left: calc(-50vw + 50%);
   position: relative;
   padding: 20px 0;
}

.slider-track {
   display: flex;
   gap: 48px;
   width: max-content;
   animation: scroll 40s linear infinite;
}

.slider-card {
   height: 100px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.slider-card img {
   max-height: 100%;
   transition: var(--transition-fast);
}

.slider-card:hover img {
   filter: grayscale(0%) opacity(1);
}

@keyframes scroll {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(calc(-50% - 24px));
   }
}

/*=================================================
   MAPARAPHARMACIE (TEAL BLOCK)
=================================================*/
.mapara-block {
   padding: 120px 0;
   background: var(--teal-surface);
   border-top: 1px solid rgba(20, 184, 166, 0.2);
}

.mapara-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   align-items: center;
}

.m-badge {
   display: inline-flex;
   background: rgba(20, 184, 166, 0.1);
   color: var(--teal);
   padding: 6px 16px;
   border-radius: 100px;
   font-weight: 600;
   font-size: 0.85rem;
   text-transform: uppercase;
   margin-bottom: 24px;
}

.mapara-block h2 {
   font-size: 2.5rem;
   color: #0f3d37;
   margin-bottom: 24px;
}

.mapara-block p {
   font-size: 1.1rem;
   color: #206354;
   margin-bottom: 32px;
}

.m-features {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 24px;
}

.m-feat {
   background: white;
   padding: 20px;
   border-radius: var(--radius);
   border: 1px solid rgba(20, 184, 166, 0.1);
   display: flex;
   align-items: center;
   gap: 16px;
}

.m-feat i {
   color: var(--teal);
}

.m-feat span {
   font-weight: 600;
   color: #0f3d37;
}

/*=================================================
   TESTIMONIALS
=================================================*/
.testimonials {
   padding: 120px 0;
}

.testi-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 32px;
}

.testi-card {
   padding: 48px 40px;
   border-radius: var(--radius-lg);
   background: var(--surface);
   border: 1px solid var(--border);
}

.testi-card p {
   font-size: 1.1rem;
   color: var(--text-main);
   margin-bottom: 32px;
   font-style: italic;
}

.testi-author {
   display: flex;
   align-items: center;
   justify-content: space-between;
   font-weight: 600;
   color: var(--text-muted);
   font-size: 0.95rem;
}

.testi-author i {
   color: var(--border);
}

/*=================================================
   CTA BOX (DARK)
=================================================*/
.cta-section {
   padding: 0 0 120px 0;
}

.cta-box {
   background: var(--dark);
   padding: 80px 40px;
   border-radius: var(--radius-lg);
   text-align: center;
   color: white;
}

.cta-box h2 {
   font-size: clamp(2.5rem, 4vw, 3rem);
   color: white;
   margin-bottom: 24px;
}

.cta-box p {
   color: #a1a1aa;
   font-size: 1.15rem;
   max-width: 600px;
   margin: 0 auto 48px auto;
}

.cta-bts {
   display: flex;
   justify-content: center;
   gap: 16px;
}

/*=================================================
   FOOTER
=================================================*/
footer {
   background: var(--surface);
   padding: 80px 0 32px 0;
   border-top: 1px solid var(--border);
}

.foot-top {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 48px;
   border-bottom: 1px solid var(--border);
   padding-bottom: 64px;
   margin-bottom: 32px;
}

.foot-brand h3 {
   font-size: 2rem;
   color: var(--text-main);
   margin-bottom: 16px;
}

.foot-brand p {
   color: var(--text-muted);
   max-width: 320px;
}

.foot-links {
   display: flex;
   flex-direction: column;
   gap: 16px;
   text-align: right;
}

.foot-links a {
   color: var(--text-muted);
   font-size: 1.05rem;
   display: inline-flex;
   align-items: center;
   justify-content: flex-end;
   gap: 12px;
}

.foot-links a:hover {
   color: var(--text-main);
}

.foot-links i {
   width: 18px;
   opacity: 0.5;
}

.foot-bottom {
   text-align: center;
   color: #999;
   font-size: 0.9rem;
}


/*=================================================
   ANIMATIONS & RESPONSIVE ADAPTATIONS
=================================================*/
.reveal,
.fade-up {
   opacity: 0;
   transform: translateY(20px);
   transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.fade-up.active {
   opacity: 1;
   transform: translateY(0);
}

.delay-1 {
   transition-delay: 0.1s;
}

.delay-2 {
   transition-delay: 0.2s;
}

/* MOBILE RESPONSIVE TUNING */
@media(max-width: 900px) {

   .stats-grid,
   .mapara-grid {
      grid-template-columns: 1fr;
      gap: 48px;
   }

   .foot-top {
      flex-direction: column;
      text-align: center;
   }

   .foot-links {
      text-align: center;
      align-items: center;
   }

   .foot-links a {
      justify-content: center;
   }
}

@media(max-width: 768px) {
   .nav-links {
      display: none;
      /* Hide standard nav on mobile */
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: white;
      padding: 24px;
      flex-direction: column;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
   }

   .nav-links.mobile-open {
      display: flex;
   }

   .menu-toggle {
      display: block;
   }

   .hero {
      padding: 140px 0 60px 0;
   }

   .hero-features {
      flex-direction: column;
      align-items: center;
      gap: 16px;
   }

   .cta-bts {
      flex-direction: column;
   }

   .cta-bts .btn {
      width: 100%;
   }

   .stats-cards {
      grid-template-columns: 1fr;
   }

   .m-features {
      grid-template-columns: 1fr;
   }

   .slider-track {
      gap: 24px;
      animation: scroll 20s linear infinite;
   }

   .cta-box {
      padding: 48px 24px;
   }
}