/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
Description: Child theme for Hello Elementor
Author: EWD
*/



/* Vos CSS personnalisés en dessous */
div#top-header {
    border: 1px solid #DCDCDC;
    padding: 4px;
    width: max-content;
    margin-right: 0;
    justify-content: space-between;
    gap: 48px;
    align-items: center;
    border-radius: 4px;
    background: #fffdf4;
    width: 100%;
}
div#top-header > .elementor-element {
    padding: 0;
    max-width: max-content !important;
    align-items: center;
    width: 100%;
}
div#top-header > #top-header-2.elementor-element {
    max-width: 100% !important;
}
div#top-header-logo img {
    width: 98px;
}
div#top-header {
    padding-right: 12px;
}
a#bouton-top-header svg {
    min-width: 33px;
}
a#bouton-top-header span.elementor-button-content-wrapper {
    align-items: center;
}
div#top-header-icone img {
    width: 14px;
}
div#footer-2 {
    padding: 48px 0 0 0;
}
.custom-select-language.form-control, .custom-select-language {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none;
    background-color: transparent !important;
    border: 1px solid #fff !important;
    cursor: pointer;
    padding: 0 !important;
    color: #fff !important;
    height: auto !important;
    text-indent: 0 !important;
    box-shadow: none !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 100% !important;
    letter-spacing: 0px !important;
    width: 100%  !important;
    max-width: 100% !important;
    border-radius: 4px !important;
    padding-top: 20px !important;
    padding-right: 24px !important;
    padding-bottom: 20px !important;
    padding-left: 24px !important;
    border-width: 1px;
}
footer .custom-select-wrapper-language {
    width: 100%;
    max-width: 193px;
    position: relative;
    display: flex;
    gap: 0;
}
.nice-select .nice-select-dropdown {
    margin-top: 4px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, .11);
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform-origin: 50% 0;
    transform: scale(0.75) translateY(19px);
    transition: all .2s 
cubic-bezier(0.5, 0, 0, 1.25), opacity .15s 
ease-out;
    z-index: 9;
    opacity: 0;
}
.nice-select .nice-select-dropdown {
    box-shadow: none !important;
    border: 1px solid #DBE2EA !important;
    width: 100%;
    top: -90px !important;
}
div#footer-2-1 {
    max-width: 193px;
}
div#footer-2-2 > div {
    width: max-content !important;
}
div#footer-2-2-text p {
    margin: 00;
    font-weight: 400;
    font-size: 17px;
    line-height: 19px;
    letter-spacing: 0;
    color: #FFFFFF80;
}
body.home footer .nice-select:after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(2%) saturate(7464%) hue-rotate(305deg) brightness(101%) contrast(108%);
}
footer .nice-select:after {
    right: 24px !important;
}
.nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: "";
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform-origin: 66% 66%;
    transform: rotate(45deg);
    transition: all .15s 
ease-in-out;
    width: 5px;
}
.nice-select:after {
    width: 10px !important;
    height: 5px !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(/wp-content/uploads/2025/11/Vector-4.svg) !important;
    border: none !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    right: -13px !important;
    transform: rotate(0deg) translate(0%, -50%) !important;
    top: 50% !important;
    margin-top: 0 !important;
}
.nice-select .list {
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0;
    max-height: 210px;
    overflow-y: auto;
}
.nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    transition: all .2s;
}
footer select.custom-select-language.form-control {
    display: none;
}
.nice-select .option {
    color: #202020;
    padding: 0 15px !important;
    width: 100%;
    max-width: 100%;
}
div#footer-2-1-socials, div#footer-2-1-socials span.elementor-grid-item {
    display: flex;
}
.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal {
    display: none;
}
.otgs-development-site-front-end {
    display: none;
}
div#footer > div {
    gap: 48px;
}
div#footer > div {
    padding: 0;
}
#footer {
    background: linear-gradient(180deg, #0C0C0C 0%, #242424 100%) !important;
    padding-top: 170px;
    padding-bottom: 64px;
}
div#footer-1 {
    padding: 0;
}
div#footer-1-1 {
    max-width: 414px;
    width: 100%;
}
div#footer-1-1 > * {
    max-width: 193px;
    width: 100%;
}
div#footer-1-1-logo img {
    width: 95px;
}
div#footer-1 .elementor-element, div#footer-2 .elementor-element {
    padding: 0 !important;
    width: 100%;
}
div#footer-1-1-text p {
    margin: 00;
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    line-height: 19px;
    letter-spacing: 0;
}
.ehf-header #masthead {
    margin-top: 8px;
    position: fixed;
    top: auto;
    left: auto;
    right: 12px;
}
main#content {
    padding-top: 78px;
    padding-bottom: 84px;
    border-radius: 0 0 50px 50px;
    margin-bottom: -47px;
    z-index: 2;
    position: relative;
/*     background: #fffdf4; */
	   background: #FDEEE9;
}

.rose{
	   background: #FDEEE9 !important;
}
footer {
    z-index: 1;
    position: relative;
}


/* ============================================
   NOVA HEADER MENU ANIMATION - CSS
   ============================================ */

/* Menu container - Optimisé pour l'animation width */
#top-header-2 {
	/* will-change: width, opacity !important; */
	/* backface-visibility: hidden !important; */
	/* transform: translateZ(0) !important; */
	/* transition: none !important; */
	white-space: nowrap !important;
	/* overflow: hidden !important; */
	/* display: block !important; */
	/* animation: none !important; */
    transition: width 0.1s;
}



/* Icon container - Clickable */
div#top-header-icone {
	cursor: pointer !important;
	user-select: none !important;
	transition: none !important;
	animation: none !important;
}

div#top-header-icone:hover {
	opacity: 0.8 !important;
	transition: none !important;
}

div#top-header-icone:active {
	opacity: 0.6 !important;
	transition: none !important;
}

/* Icon image - Rotation optimisée */
div#top-header-icone img {
	will-change: transform !important;
	backface-visibility: hidden !important;
	/* transform: translateZ(0) !important; */
	/* transform-origin: center center !important; */
	display: block !important;
	/* transition: none !important; */
	/* animation: none !important; */
}

/* Header container - Zone de hover */
#top-header {
	position: relative;
}

@media (max-width: 1199px) {
	div#top-header {
		gap: 30px;
	}

}

@media (max-width: 991px) {
  
    div#footer-2 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    div#footer-2-2 > div {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }
	.ehf-header #masthead {
		left: auto;
		right: initial;
		width: 100%;
		max-width: 100%;
	}
	div#top-header-3 {
		display: none;
	}
	div#top-header-4 {
		display: none;
	}
	div#top-header > #top-header-2.elementor-element {
		width: auto !important;
		overflow: visible !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
    div#top-header {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
        padding: 10px;
        width: calc(100% - 40px);
    }
}

/* Responsive - Désactiver sur mobile */
@media (max-width: 768px) {
	#top-header-2 {
		/* Sur mobile, toujours visible */
		width: auto !important;
		opacity: 1 !important;
	}
	
	#top-header-3 {
		/* Cacher l'icône toggle sur mobile */
		display: none !important;
	}
}

/* Performance - Reduced motion */
@media (prefers-reduced-motion: reduce) {
	#top-header-2,
	#top-header-3 img {
		transition: none !important;
	}
}

.nova-scroll-hero-text > p {
    font-family: Rethink Sans;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
}
main#content {
    padding-top: 78px;
}


/*ODEV*/

.bloc-1{
  width: 100%;
  height: 650px;
  opacity: 1;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  overflow: hidden;
  margin: 0 auto; /* centre si container large */
}

@media (max-width: 768px){
  .bloc-1{
    height: 420px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }
}





.pharma-product-details {
}

.pharma-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    padding: 18px 0;
    border-bottom: 1px solid #e3103926;
}

.pharma-title {
    font-weight: 600;
    color: #da002b;
}

.pharma-content {
}

/* Mobile */
@media (max-width: 768px) {
    .pharma-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pharma-title {
        font-weight: 700;
    }
}
.pharma-product-details {
/*     background: #fef8f0; */
    padding: 17px;
    padding: 48px 60px 48px 60px;
    border-radius: 8px;
}


/***/

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

.pharma-card {
    position: relative;
    display: block;
    padding: 12px 30px;
    border: 1px solid #d6e0ec;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
}

.pharma-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
	    background: #f4f4f2;
}

.pharma-accent {
    position: absolute;
    left: 0;
    top: 30px;
    width: 4px;
    height: 30px;
    background: #db002b; /* orange labo */
}

.pharma-title {
    font-size: 18px !important;
    font-weight: 500 !important;
/*     color: #2c3e50; */
	    color: #db002b;
    margin-bottom: 8px;
}

.pharma-category {
/*     font-size: 14px;
    color: #7f8c8d; */
	
	    color: #db002b;
    font-weight: bold;
}
.pharma-grid a {
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .pharma-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


/**/


.pharma-product-details {
/*     margin: 60px auto; */
    display: grid;
    gap: 28px;
}

/* carte */
.pharma-row {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 28px 32px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.85),
        rgba(255,255,255,0.95)
    );

    border-radius: 20px;
    border: 1px solid rgba(219,0,43,0.08);

    backdrop-filter: blur(6px) saturate(130%);

    transition:
        transform 0.4s cubic-bezier(.4,0,.2,1),
        box-shadow 0.4s cubic-bezier(.4,0,.2,1),
        border-color 0.4s ease;
}

/* halo léger */
.pharma-row::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        400px circle at 0% 50%,
        rgba(219,0,43,0.12),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pharma-row:hover {
    transform: translateY(-4px);
    box-shadow:
        0 30px 70px rgba(15,23,42,0.12),
        0 8px 18px rgba(15,23,42,0.05);
    border-color: rgba(219,0,43,0.25);
}

.pharma-row:hover::before {
    opacity: 1;
}

/* colonne titre */
.pharma-row .pharma-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #db002b;
    align-self: flex-start;
    padding-top: 6px;
}

/* contenu */
.pharma-content {
    font-size: 15px;
    line-height: 1.7;
    color: #0f172a;
}

/* items */
.pharma-content p {
    margin: 0 0 10px 0;
    padding-left: 20px;
    position: relative;
}

/* indicateur minimal */
.pharma-content p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        #db002b,
        #ff6b81
    );
}
@media (max-width: 768px) {
	
	
    .pharma-row {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .pharma-row .pharma-title {
        margin-bottom: 8px;
    }
}
.blc212 h2 {
    /* font-family: General Sans Variable; */
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -2%;
}



.blc212 p {
    font-family: Rethink Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    line-height: 20px;
}




@media (max-width: 767px) {
	
	.raduivlp:before {
    background: linear-gradient(90deg, #F4F4F2 109%, rgba(244, 244, 242, 0) 94.61%) !important;
    content: "";
}
	
	.raduivlp {
    border-radius: 8px;
    padding-right: 15px !important;
    padding-left: 15px !important;
}
	p.sterop-description {
    width: 100% !important;
}
	
}






.pharma-back-wrapper {
    position: sticky;
    top: 24px;
    z-index: 10;
    margin-bottom: 32px;
}

.pharma-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;

    font-size: 14px;
    font-weight: 500;
    color: #0f172a;

    border-radius: 8px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.9),
            rgba(255,255,255,0.98)
        );

    border: 1px solid rgba(219,0,43,0.25);
    backdrop-filter: blur(8px) saturate(140%);
    text-decoration: none;

    transition:
        transform 0.35s cubic-bezier(.4,0,.2,1),
        box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}

.pharma-back-btn:hover {
    transform: translateX(-6px);
    box-shadow:
        0 25px 60px rgba(15,23,42,0.14),
        0 6px 14px rgba(15,23,42,0.05);
}






.pharma-filter {
    margin-bottom: 30px;
}

.pharma-filter select {
    width: 100%;
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    margin: auto;
}


.pharma-pagination {
    display: flex;
    gap: 8px;
    margin-top: 40px;
    justify-content: center;
}

.pharma-page-btn {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: .25s;
}

.pharma-page-btn:hover,
.pharma-page-btn.active {
    background: #DB002B;
    color: #fff;
    border-color: #DB002B;
}
p.pfiltre {
    text-align: center;
    font-weight: bold;
    margin-top: 30px;
}

/* .e-titles {
	font-size:25px !important;
	color:#ffebe9 !important;
} */





/* =========================================================
   SCROLL EFFECT
   ========================================================= */

/* ===== GRID ===== */
.ibs-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  min-height: auto;
}

/* =========================================================
   DESKTOP MEDIA
   ========================================================= */

.ibs-media {
  position: sticky;
  top: 120px;
  height: calc(100vh - 240px);
}

.ibs-media-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.ibs-media-item.active {
  opacity: 1;
}

.ibs-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* =========================================================
   DOT NAVIGATION
   ========================================================= */

.ibs-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

.ibs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #DCDCDC;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ibs-dot.active {
  background: #DB002B;
  width: 32px;
  border-radius: 5px;
}

.ibs-dot:hover {
  background: #DB002B;
  opacity: 0.7;
}

/* =========================================================
   CONTENT
   ========================================================= */

.ibs-step {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.ibs-step-inner {
  max-width: 580px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.ibs-index {
  font-size: 50px;
  font-weight: 600;
  color: #DB002B;
  margin-bottom: 16px;
}

.ibs-title {
  font-size: 32px !important;
  color: #DB002B;
  line-height: 1.2 !important;
  margin-bottom: 16px;
}

.ibs-title:not(:first-child) {
  margin-top: 32px;
}

.ibs-subtitle {
  margin: 28px 0 8px;
  font-weight: 600;
}

/* =========================================================
   LISTS
   ========================================================= */

/* Native bullets */
.ibs-list {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 0;
}

.ibs-list li {
  line-height: 1.5 !important;
  margin-bottom: 8px;
}

.ibs-list li:last-child {
  margin-bottom: 0;
}

.ibs-list li::marker {
  color: #DB002B;
  font-size: 1.2em;
}

/* Alignment fix */
.ibs-list li::before {
  top: 0.6em !important;
}

/* =========================================================
   DESKTOP ANIMATION
   ========================================================= */

.ibs-step * {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.ibs-step.active * {
  opacity: 1;
  transform: none;
}

/* =========================================================
   MOBILE / TABLET RESET
   ========================================================= */

@media (max-width: 1199px) {

  .ibs-scroll {
    display: block;
    min-height: auto;
  }

  .ibs-media,
  .ibs-progress-fixed,
  .ibs-dots {
    display: none;
  }

  .ibs-step {
    min-height: auto;
    padding-bottom: 64px;
  }

  .ibs-step *,
  .ibs-media-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ibs-mobile-image {
    margin-bottom: 24px;
  }

  .ibs-mobile-image img {
    width: 100%;
    border-radius: 14px;
  }
}

/* =========================================================
   MOBILE IMAGE BEHAVIOR
   ========================================================= */

/* Mobile inline images */
@media (max-width: 1199px) {
  .ibs-mobile-image {
    margin-bottom: 24px;
  }

  .ibs-mobile-image img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
  }
}

/* Desktop: hide mobile images */
@media (min-width: 1200px) {
  .ibs-mobile-image {
    display: none !important;
  }
}

/* Mobile spacing: image → content */
@media (max-width: 1199px) {
  .ibs-mobile-image {
    margin-bottom: 40px;
  }

  .ibs-index {
    margin-top: 0;
  }
}

/* =========================================================
   MOBILE + TABLET IMAGE SIZING
   ========================================================= */

@media (max-width: 1199px) {

  .ibs-step-inner {
    max-width: 580px;
    margin: 0 auto;
  }

  .ibs-mobile-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px;
  }

  .ibs-mobile-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
  }
}

/* =========================================================
   TABLET LAYOUT FIX
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {
  .ibs-content {
    max-width: 820px;
    margin: 0 auto;
  }
}

/* =========================================================
   MOBILE STRUCTURE FIXES
   ========================================================= */

@media (max-width: 767px) {

  section.ibs-step {
    display: block;
  }

  .ibs-step-inner,
  .ibs-mobile-image {
    max-width: 100%;
    display: block;
  }

  .ibs-mobile-image {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  .ibs-mobile-image img {
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 14px;
    display: block;
  }
}

/* =========================================================
   ELEMENTOR / NOVA OVERRIDES
   ========================================================= */

.cls_nova .nova-title-text.nova-title-text-2 p {
  font-size: 19px;
}

.cls_nova .nova-title-overlay-content,
.elementor .elementor-element.cls_nova .nova-title-overlay-content {
  width: 100% !important;
  max-width: 100% !important;
}

/* =========================================================
   CARDS & MENUS
   ========================================================= */

@media (max-width: 767px) {
  .ee-card {
    --flex-wrap-mobile: nowrap !important;
    padding-bottom: 16px;
  }
}

@media (max-width: 767px) {
  .elementor-1526 .elementor-element.elementor-element-087f749 .nova-card-item {
    aspect-ratio: 550 / 460 !important;
    border-style: none;
    border-radius: 8px;
  }
}

@media (max-width: 899px) {
  .nova-icon-menu-vertical .nova-icon-menu-list > li a span {
    font-size: 13px !important;
  }
}

/* =========================================================
   LINKS
   ========================================================= */

.link1 a {
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.link1 a:hover {
  background-color: #242424;
  color: #FFFDF4;
}

/* =========================================================
   CONTACT CARDS
   ========================================================= */

.contact-card {
  background-color: #ffff;
  border: 1px solid #DCDCDC;
  border-radius: 12px;
  padding: 16px;
  justify-content: center !important;
}

.contact-card1 {
  background-color: #DB002B;
  border: 1px solid #DCDCDC;
  border-radius: 12px;
  padding: 16px;
}

/* =========================================================
   PAGE LAYOUT
   ========================================================= */

.elementor-page-1799 main#content {
  padding-top: 78px;
  padding-bottom: 0px;
  border-radius: 0 0 50px 50px;
  margin-bottom: -47px;
  z-index: 2;
  position: relative;
  background: #fffdf4;
}


/* ==================================================
   STEROP – INTERACTIVE TIMELINE
================================================== */

* {
  box-sizing: border-box;
}

.sterop-timeline-alt {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

/* TITLE */
.timeline-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 25px;
  letter-spacing: -1px;
}

/* 2026 BADGE */
.timeline-year-badge {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #DB002B;
  margin-bottom: 80px;
  letter-spacing: 2px;
}

/* WRAPPER */
.timeline-wrapper {
  position: relative;
  width: 100%;
}

/* HORIZONTAL TRACK */
.timeline-arrow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 60px 40px;
  gap: 15px;
}

/* HORIZONTAL LINE */
.timeline-arrow-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 4px;
  background: #DB002B;
  transform: translateY(-50%);
  z-index: 1;
}

/* TIMELINE POINT */
.timeline-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  z-index: 2;
  flex: 1;
  position: relative;
}

/* DOT */
.timeline-dot {
  width: 24px;
  height: 24px;
  background: #DB002B;
  border: 4px solid #ffebe9;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(219, 0, 43, 0.3);
}

/* YEAR LABEL */
.timeline-year {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  white-space: nowrap;
}

/* DIRECT DESCRIPTION — HIDDEN ON DESKTOP */
.timeline-description {
  display: none;
}

/* POPUP CARD */
.timeline-card {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px) scale(0);
  background: #FFFFFF;
  padding: 35px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  max-width: 450px;
  width: 90vw;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  pointer-events: none;
  border: 2px solid #f0f0f0;
}

.timeline-card.active {
  transform: translateX(-50%) translateY(-20px) scale(1);
  opacity: 1;
  pointer-events: all;
}

.card-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f5f5f5;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.card-close:hover {
  background: #DB002B;
  color: #FFFFFF;
}

.timeline-card h3 {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 800;
  color: #DB002B;
  letter-spacing: 1px;
}

.timeline-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
}

.timeline-card strong {
  font-weight: 800;
  color: #1a1a1a;
}

/* CARD ARROW */
.timeline-card::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #FFFFFF;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.1));
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1024px) and (min-width: 769px) {
  .sterop-timeline-alt {
    padding: 70px 30px;
  }

  .timeline-arrow-container {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 60px 40px;
  }

  .timeline-point {
    flex: 0 0 95px;
  }

  .timeline-title {
    font-size: 42px;
  }

  .timeline-year {
    font-size: 18px;
  }
}

/* ==================================================
   MOBILE RESPONSIVE
================================================== */

@media (max-width: 768px) {

  .sterop-timeline-alt {
    padding: 50px 20px;
  }

  .timeline-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .timeline-year-badge {
    font-size: 28px;
    margin-bottom: 45px;
  }

  /* Hide popup on mobile */
  .timeline-card {
    display: none !important;
  }

  /* VERTICAL LAYOUT FOR MOBILE */
  .timeline-arrow-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px 30px 50px;
    gap: 28px;
    overflow: visible;
  }

  .timeline-arrow-container::before {
    top: 0;
    bottom: 0;
    left: 50px;
    width: 4px;
    height: auto;
    right: auto;
    transform: none;
  }

  .timeline-point {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    padding-left: 20px;
    cursor: default;
  }

  .timeline-dot {
    position: absolute;
    left: -37px;
    top: 0;
    width: 24px;
    height: 24px;
  }

  .timeline-year {
    font-size: 20px;
    font-weight: 800;
    color: #DB002B;
    margin: 0;
    line-height: 1.2;
  }

  .timeline-description {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(219, 0, 43, 0.15);
    border-radius: 14px;
    padding: 15px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .timeline-description strong {
    color: #1a1a1a;
    font-weight: 800;
  }
}

