/* :: HEADER :: */
.header {
  padding: 30px 0 50px;
  background: linear-gradient(180deg,
  #0a0e27 0%,
  #1a1440 25%,
  #221a58 50%,
  #1a1b2e 75%,
  #0a0e27 100%
);
  overflow: hidden;
}

@media only screen and (max-width: 1199.98px) {
  .header {
    padding: 170px 0 50px;
  }
}

/* navigator */
.header .navigator {
  margin-top: 120px;
  margin-bottom: 100px;
  font-family: var(--secondary-font);
}

/* title */
.header .navigator .title {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: var(--light);
  margin-right: 45px;
}

.header .navigator .title::before {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--light);
  right: -24px;
}

/* item */
.header .navigator .item {
  font-size: 15px;
  font-weight: 500;
  color: var(--light);
  border-bottom: 1px solid transparent;
}

.header .navigator .item.active {
  font-weight: 600;
  border-bottom-color: var(--light);
}

.header .navigator .item:not(:last-child) {
  margin-right: 25px;
}

.header .navigator .item:hover {
  border-bottom-color: var(--light);
}

/* title-5 */
.header .title-5 {
  font-size: 17px;
  font-family: var(--secondary-font);
  color: var(--light);
  font-weight: 500;
  margin-bottom: 5px;
}

/* title-5 */
.header .title-1 {
  font-size: clamp(2.01rem, calc(.5rem + 2.9004vw), 3.247rem);
  font-family: var(--secondary-font);
  font-weight: bold;
  color: var(--light);
  line-height: 1.1;
  margin-bottom: 20px;
}

/* para-1 */
.header .para-1 {
  color: var(--light);
}

/* hero */
.header .hero {
  position: absolute;
  bottom: -10px;
  left: 55%;
  width: 700px;
}

@media only screen and (max-width: 1199.98px) {
  .header .hero {
    left: 60%;
    width: 550px;
  }
}

@media only screen and (max-width: 991.98px) {
  .header .hero {
    display: none
  }
}

.btn-fill-purple {
  background-color: #4f52ff;
  color: #fff;
  border: 1px solid #4f52ff;
  box-shadow: 0 22px 20px -15px rgba(79, 82, 255, 0.5);
}

.btn-fill-purple:hover {
  background-color: rgba(79, 82, 255, 0.8);
  color: #fff;
  border: 1px solid rgba(79, 82, 255, 0.8);
  box-shadow: 0 22px 20px -15px rgba(79, 82, 255, 0.5);
}

.btn-fill-pastel {
  background-color: #fe7062;
  color: #fff;
  border: 1px solid #fe7062;
  box-shadow: 0 22px 20px -15px rgba(254, 112, 98, 0.5);
}

.btn-fill-pastel:hover {
  background-color: #fe7062cc;
  color: #fff;
  border: 1px solid #fe7062cc;
  box-shadow: 0 22px 20px -15px rgba(254, 112, 98, 0.5);
}

.space-between {
  margin-right: 10px;
  margin-bottom: 10px;
}

/* ----------------------------------- */

/* :: SECTION I :: */
.se-i {
  padding: 50px 0 50px;
}

/* col */
.se-i .row>div {
  padding-top: 10px;
}

/* media */
.se-i .media {
  width: 180px;
  margin-bottom: 10px;
}

@media only screen and (max-width: 1199.98px) {
  .se-i .media {
    width: 100px;
  }
}

@media only screen and (max-width: 991.98px) {
  .se-i .media {
    width: 80px;
  }
}

/* title-1 */
.se-i .title-1 {
  font-size: 20px;
  font-family: var(--third-font);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

@media only screen and (max-width: 991.98px) {
  .se-i .title-1 {
    font-size: 18px;
  }
}

/* para-1 */
.se-i .para-1 {
  font-size: 16px;
  color: var(--darkGray);
}

@media only screen and (max-width: 991.98px) {
  .se-i .para-1 {
    font-size: 14px;
  }
}

/* :: SECTION II :: */

/* text-area */
.se-ii .text-area .title-1 {
  font-size: 42px;
  font-family: var(--primary-font);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.se-ii .text-area .para-1 {
  color: var(--darkGray);
}

@media only screen and (max-width: 767.98px) {
  .se-ii .text-area .title-1 {
    font-size: 26px;
  }
}

/* box */
.se-ii .box {
  background-color: var(--semi-dark-2);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--border);
  transition: all .20s ease;
}

.se-ii .box .box-title {
  font-family: var(--secondary-font);
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.se-ii .box .box-para {
  color: var(--darkGray);
}

/* ----------------------------------- */

/* :: SECTION IV :: */

/* box */
.se-iv .box {
  background-color: var(--semi-dark);
  border-radius: 8px;
  padding: 35px 30px 10px;
  border: 1px solid var(--border);
  transition: all .20s ease;
}

.se-iv .box:hover {
  background-color: var(--semi-dark-2);
}

/* box-link */
.se-iv .box-link {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
}

/* icon */
.se-iv .box .icon {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  overflow: hidden;
}

.se-iv .box .icon::before {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: var(--primary);
  opacity: .1;
}

.se-iv .box.color-1 .icon::before {
  background-color: #26C6DA;
}

.se-iv .box.color-2 .icon::before {
  background-color: #FC573B;
}

.se-iv .box.color-3 .icon::before {
  background-color: #FFD200;
}

.se-iv .box.color-4 .icon::before {
  background-color: #BD63F9;
}

.se-iv .box.color-5 .icon::before {
  background-color: #00FFB7;
}

.se-iv .box.color-6 .icon::before {
  background-color: #FE9801;
}

.se-iv .box .icon img {
  width: 34px;
}

/* box-title */
.se-iv .box-title {
  color: #FFFFFF;
  font-size: 20px;
  font-family: var(--secondary-font);
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.2;
}

/* box-para */
.se-iv .box-para {
  font-size: 14px;
  font-weight: 500;
  color: var(--darkGray);
  line-height: 1.7;
  max-height: 70px;
  height: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 25px;
}

/* arrow */
.se-iv .arrow {
  margin-top: 20px;
}

.se-iv .arrow img {
  width: 24px;
  filter: contrast(0);
  transition: all .15s ease;
}

.se-iv .box:hover .arrow img {
  filter: contrast(100%);
}

.porfolio {
  padding-top: 50px;
  padding-bottom: 50px;
}

.my-slider-wrapper {
  position: relative;
  max-width: 1600px;
  margin: 80px auto;
  padding: 0 140px;
  height: 300px;
}

.my-slider {
  overflow: visible !important;
  height: 100%;
}

.my-slider .swiper-wrapper {
  align-items: center;
  height: 100%;
}

.my-slider .swiper-slide {
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide active plus visible */
.my-slider .swiper-slide-active {
  opacity: 1;
}

/* Flèches */
.my-slider .swiper-button-prev,
.my-slider .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  z-index: 10;
}

.my-slider .swiper-button-prev {
  left: -60px;
}

.my-slider .swiper-button-next {
  right: -60px;
}

.my-slider .swiper-button-prev::after,
.my-slider .swiper-button-next::after {
  font-size: 50px;
}

/* Conteneur image + overlay */
.my-slider .slide-inner {
  position: relative;
  height: 100%;
  display: inline-block;
  border-radius: 10px;
}

/* Overlay */
.my-slider .slide-inner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  border: 3px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 20px;
  color: white;
  z-index: 2;
}

/* Afficher overlay au survol */
.my-slider .slide-inner:hover .overlay {
  opacity: 1;
}

/* Texte overlay */
.my-slider .overlay p {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Bouton */
.my-slider .overlay .btn-more {
  padding: 10px 20px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--primary); 
  font-weight: bold;
  transition: all 0.3s ease;
}

.my-slider .overlay .btn-more:hover {
  background-color: #0060fecc;
  border: 1px solid #0060fecc;
  color: white;
}

@media (max-width: 768px) {
  .my-slider-wrapper {
    padding: 0 10px;
    /* encore plus serré si besoin */
    height: auto;
    /* pour s'adapter au contenu */
  }

  .my-slider .swiper-slide {
    opacity: 1;
    /* utile car une seule slide visible */
    transform: none;
    /* éviter les décalages */
  }

  .my-slider .slide-inner {
    width: 100%;
  }

  .my-slider .image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .my-slider-wrapper,
  .my-slider,
  .my-slider .slide-inner,
  .my-slider .image-container,
  .my-slider .image-container img {
    box-sizing: border-box;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .my-slider-wrapper {
    padding: 0 10px;
    height: auto;
  }

  .my-slider .swiper-slide {
    opacity: 1;
    transform: none;
  }

  .my-slider .slide-inner {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .my-slider .image-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
  }

  .my-slider .image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transform: none !important;
    filter: none !important;
  }

  .my-slider .slide-inner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 10px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    max-height: 100%;
    box-sizing: border-box;
  }

  .my-slider .overlay h3,
  .my-slider .overlay h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.2;
  }

  .my-slider .overlay p {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 100px;
  }

  .my-slider .overlay .btn-more {
    font-size: 12px;
    padding: 6px 12px;
    background-color: var(--primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
  }

  .my-slider .swiper-button-prev,
  .my-slider .swiper-button-next {
    display: none !important;
  }
}

/* Container pour gérer zoom + flou */
.my-slider .image-container {
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Image avec zoom & flou */
.my-slider .image-container img {
  height: 100%;
  width: auto;
  border: solid 3px var(--primary);
  border-radius: 10px;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Applique zoom et flou au hover */
.my-slider .slide-inner:hover .image-container img {
  transform: scale(1.1);
  filter: blur(2px);
}
/* ----------------------------------- */

/* ============================================
   FORMULAIRE PARTENARIAT
   ============================================ */

.services-form {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  max-width: 700px;
  padding: 60px 50px;
  margin: 0 auto;
}

@media only screen and (max-width: 991.98px) {
  .services-form {
    max-width: 100%;
    padding: 40px 30px;
  }
}

/* Form Label */
.services-form .form-label {
  position: relative;
  display: block;
  margin-bottom: 25px;
}

.services-form .form-label .input-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
}

.services-form .form-label .input-label .text-danger {
  color: #ff4444;
}

/* Form Input */
.services-form .form-label .form-input,
.services-form .form-label select {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border-radius: 10px;
  background: rgba(11, 12, 27, 0.5);
  border: 2px solid rgba(0, 96, 254, 0.2);
  font-size: 15px;
  font-family: var(--secondary-font);
  font-weight: 500;
  color: #ffffff;
  transition: all 0.3s ease;
}

.services-form .form-label textarea.form-input {
  height: auto;
  padding: 15px 20px;
  resize: vertical;
  min-height: 150px;
}

.services-form .form-label .form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.services-form .form-label .form-input:hover,
.services-form .form-label .form-input:focus {
  background: rgba(11, 12, 27, 0.7);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 96, 254, 0.2);
}

/* Select Dropdown */
.services-form .form-label select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

.services-form .form-label select option {
  background: #0a0e27;
  color: #fff;
}

/* Checkbox */
.services-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* State Indicators */
.services-form .form-label .state {
  position: absolute;
  top: 45px;
  right: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: none;
}

.services-form .form-label .form-input.error ~ .state {
  display: block;
  background-color: #ff4444;
}

.services-form .form-label .form-input.valid ~ .state {
  display: block;
  background-color: #4ad395;
}

/* Error Messages */
.services-form .form-label span.error {
  display: block;
  font-size: 13px;
  color: #ff4444;
  margin-top: 8px;
}

/* Box Message */
.box-message {
  display: none;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.box-success {
  background: rgba(74, 211, 149, 0.1);
  border: 2px solid #4ad395;
  color: #4ad395;
}

.box-error {
  background: rgba(255, 68, 68, 0.1);
  border: 2px solid #ff4444;
  color: #ff4444;
}

/* ============================================
   NOTIFICATIONS MODERNES
   ============================================ */

.notifications {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 100px;
  right: 20px;
  pointer-events: none;
}

.notifications.active {
  display: block;
}

.notifications .notify {
  position: relative;
  padding: 20px 80px 20px 25px;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  margin-bottom: 15px;
  min-width: 400px;
  max-width: 550px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  right: -600px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: all;
}

.notifications .notify.show {
  right: 0;
  opacity: 1;
  visibility: visible;
}

/* :: SUCCESS NOTIFICATION :: */
.notifications .notify.success {
  border-left: 4px solid #4ad395;
}

.notifications .notify.success::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #4ad395 0%, #2ec77d 100%);
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

/* :: FAIL NOTIFICATION :: */
.notifications .notify.fail {
  border-left: 4px solid #ef3737;
}

.notifications .notify.fail::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ef3737 0%, #d32f2f 100%);
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

/* :: NOTIFICATION ICON :: */
.notifications .notify img {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  flex-shrink: 0;
}

/* :: NOTIFICATION TEXT :: */
.notifications .notify .para-1 {
  font-size: 15px;
  font-family: var(--secondary-font);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
}

.notifications .notify .para-1 span {
  font-weight: 700;
  font-size: 16px;
}

.notifications .notify.success .para-1 span {
  color: #4ad395;
}

.notifications .notify.fail .para-1 span {
  color: #ef3737;
}

/* :: CLOSE BUTTON :: */
.notifications .notify .close-notify-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.notifications .notify .close-notify-btn:hover {
  background: rgba(255, 0, 0, 0.2);
  transform: translateY(-50%) rotate(90deg);
}

.notifications .notify .close-notify-btn svg {
  fill: rgba(255, 255, 255, 0.6);
  width: 14px;
  transition: all 0.3s ease;
}

.notifications .notify .close-notify-btn:hover svg {
  fill: #ef3737;
}

/* :: PROGRESS BAR :: */
.notifications .notify::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  animation: progressBar 4s linear;
}

.notifications .notify.success::after {
  background: linear-gradient(90deg, #4ad395, #2ec77d);
}

.notifications .notify.fail::after {
  background: linear-gradient(90deg, #ef3737, #d32f2f);
}

@keyframes progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* :: RESPONSIVE :: */
@media only screen and (max-width: 767.98px) {
  .notifications {
    top: 80px;
    right: 10px;
    left: 10px;
  }

  .notifications .notify {
    min-width: auto;
    max-width: 100%;
    padding: 18px 70px 18px 20px;
  }

  .notifications .notify img {
    width: 50px;
    height: 50px;
    margin-right: 12px;
  }

  .notifications .notify .para-1 {
    font-size: 14px;
  }

  .notifications .notify .para-1 span {
    font-size: 15px;
  }
}

@media only screen and (max-width: 480px) {
  .notifications .notify {
    padding: 15px 60px 15px 15px;
  }

  .notifications .notify img {
    width: 40px;
    height: 40px;
  }

  .notifications .notify .para-1 {
    font-size: 13px;
  }

  .notifications .notify .close-notify-btn {
    width: 32px;
    height: 32px;
    right: 12px;
  }

  .notifications .notify .close-notify-btn svg {
    width: 12px;
  }
}

/* :: ANIMATION VARIANTS :: */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* :: HOVER EFFECTS :: */
.notifications .notify:hover {
  transform: translateX(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.notifications .notify.success:hover {
  border-left-color: #2ec77d;
}

.notifications .notify.fail:hover {
  border-left-color: #d32f2f;
}

/* :: MULTIPLE NOTIFICATIONS STACKING :: */
.notifications .notify:nth-child(2) {
  margin-top: 0;
  transition-delay: 0.1s;
}

.notifications .notify:nth-child(3) {
  transition-delay: 0.2s;
}

/* :: ICON ANIMATION :: */
.notifications .notify.show img {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* :: ICON CIRCLE :: */
.icon-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 96, 254, 0.1), rgba(96, 165, 250, 0.1));
  border: 2px solid rgba(0, 96, 254, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.icon-circle i {
  font-size: 3rem;
  color: var(--primary);
  transition: all 0.4s ease;
}

.info-card:hover .icon-circle {
  background: linear-gradient(135deg, rgba(0, 96, 254, 0.2), rgba(96, 165, 250, 0.2));
  border-color: var(--primary);
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 96, 254, 0.3);
}

.info-card:hover .icon-circle i {
  color: #60a5fa;
  transform: scale(1.2);
}

/* :: RESPONSIVE :: */
@media only screen and (max-width: 767px) {
  .icon-circle {
    width: 100px;
    height: 100px;
  }

  .icon-circle i {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 480px) {
  .icon-circle {
    width: 80px;
    height: 80px;
  }

  .icon-circle i {
    font-size: 2rem;
  }
}
