/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: #24262b;
  --black-color-light: #24262b;
  --black-color-lighten: #24262b;
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

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

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  background:  url(./image/slide2.jpg);
  
  background-repeat: no-repeat;
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/* ===========================
   VARIABLES
=========================== */
:root {
  --z-fixed: 1000;
  --blue: #007bff;
}

/* ===========================
   HEADER
=========================== */
/* ===============================
   HEADER
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* ===============================
   NAVBAR
================================ */
.main-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding: 0 30px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Logo */
.main-logo img {
  max-height: 80px;
}

/* ===============================
   MENU DESKTOP
================================ */
.main-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  display: block;
  padding: 12px 18px;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

.main-menu a:hover {
  color: #007bff;
}

/* ===============================
   DESKTOP DROPDOWNS
================================ */
@media (min-width: 769px) {

  .main-submenu,
  .main-subsubmenu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.08);
    z-index: 999;
  }

  .main-submenu {
    top: 100%;
    left: 0;
  }

  .main-subsubmenu {
    top: 0;
    left: 100%;
  }

  .main-dropdown:hover > .main-submenu {
    display: block;
  }

  .main-subdropdown:hover > .main-subsubmenu {
    display: block;
  }
}

/* ===============================
   BURGER
================================ */
.main-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {

  .main-navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 15px 20px;
  }

  .main-toggle {
    display: block;
  }

  /* MENU MOBILE SCROLLABLE */
  .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    margin-top: 15px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .main-menu.main-active {
    display: flex;
  }

  .main-menu li {
    width: 100%;
  }

  .main-menu a {
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  /* MOBILE DROPDOWNS */
  .main-submenu,
  .main-subsubmenu {
    display: none;
    position: static;
    border: none;
    box-shadow: none;
  }

  .main-dropdown.main-show > .main-submenu {
    display: block;
  }

  .main-subdropdown.main-show > .main-subsubmenu {
    display: block;
  }

  .main-submenu a {
    padding-left: 30px;
  }

  .main-subsubmenu a {
    padding-left: 45px;
  }
}

/* ===============================
   SMALL MOBILE
================================ */
@media (max-width: 480px) {

  .main-logo img {
    max-height: 60px;
  }

  .main-menu a {
    font-size: 13px;
  }
}


/* ==============================
   HOME HERO SLIDER
================================ */

.home-hero-slider {
    margin-top: 90px;                 /* espace sous le menu */
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ===== Slide ===== */
.home-hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    inset: 0;
}

/* Overlay sombre */
.home-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(1px);
}

/* ===== Contenu ===== */
.home-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
}

/* Titres */
.home-hero-content h1 {
    font-size: 55px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

/* Couleur accent */
.home-green {
    color: #007bff;
}

/* Paragraphe */
.home-hero-content p {
    font-size: 18px;
    margin-top: 30px;
    opacity: 0.9;
}

/* ===== Bouton ===== */
.home-cta-btn {
    margin-top: 35px;
    background: #007bff;
    border: none;
    padding: 15px 35px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    color: white;
    transition: background 0.3s ease;
}

.home-cta-btn:hover {
    background: #326ead;
}

/* ===== Flèches ===== */
.home-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 38px;
    color: white;
    cursor: pointer;
    z-index: 20;
    opacity: 0.85;
    user-select: none;
}

.home-left {
    left: 25px;
}

.home-right {
    right: 25px;
}

.home-arrow:hover {
    opacity: 1;
}

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

/* Large écrans */
@media (max-width: 1200px) {
    .home-hero-slider {
        height: 90vh;
    }

    .home-hero-content h1 {
        font-size: 48px;
    }
}

/* Tablettes */
@media (max-width: 992px) {
    .home-hero-slider {
        height: 85vh;
        margin-top: 80px;
    }

    .home-hero-content h1 {
        font-size: 42px;
    }

    .home-hero-content p {
        font-size: 16px;
        margin-top: 20px;
    }

    .home-cta-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .home-arrow {
        font-size: 32px;
    }
}

/* Tablettes / grands mobiles */
@media (max-width: 768px) {
    .home-hero-slider {
        height: 75vh;
        margin-top: 70px;
    }

    .home-hero-content {
        top: 55%;
    }

    .home-hero-content h1 {
        font-size: 34px;
        line-height: 1.3;
    }

    .home-hero-content p {
        font-size: 15px;
    }

    .home-arrow {
        font-size: 28px;
    }
}

/* Mobiles */
@media (max-width: 576px) {
    .home-hero-slider {
        height: 70vh;
        margin-top: 65px;
    }

    .home-hero-content {
        top: 55%;
    }

    .home-hero-content h1 {
        font-size: 26px;
    }

    .home-hero-content p {
        font-size: 14px;
        margin-top: 15px;
    }

    .home-cta-btn {
        padding: 12px 25px;
        font-size: 13px;
    }

    .home-arrow {
        display: none;
    }
}

/* Très petits mobiles */
@media (max-width: 400px) {
    .home-hero-slider {
        height: 65vh;
    }

    .home-hero-content h1 {
        font-size: 22px;
    }

    .home-hero-content p {
        font-size: 13px;
    }
}



/*------services -----*/
/* ===========================
   SERVICE SECTION
=========================== 
.service {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}

.service h1 {
  font-weight: 500;
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 1px;
}

.service p {
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
  color: #080606;
  font-weight: 300;
}

/* Layout 
.service .row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.service-col {
  flex-basis: 31%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 25px 18px;
  box-sizing: border-box;
  transition: 0.5s;
  text-align: center;
}

.service-col h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.service-col:hover {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
} 

/* ===========================
   RESPONSIVE DESIGN
=========================== 

/* Medium screens (tablets, small laptops) 
@media (max-width: 1024px) {
  .service {
    width: 90%;
    padding-top: 80px;
  }

  .service h1 {
    font-size: 2.3rem;
  }

  .service p {
    font-size: 1.05rem;
  }

  .service-col {
    flex-basis: 45%;
  }
}

/* Small tablets & large phones 
@media (max-width: 768px) {
  .service {
    width: 90%;
    padding-top: 70px;
  }

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

  .service p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service .row {
    flex-direction: column;
    align-items: center;
  }

  .service-col {
    flex-basis: 80%;
    margin-bottom: 25px;
  }
}

/* Small phones 
@media (max-width: 480px) {
  .service {
    width: 95%;
    padding-top: 60px;
  }

  .service h1 {
    font-size: 1.7rem;
  }

  .service p {
    font-size: 0.95rem;
  }

  .service-col {
    flex-basis: 100%;
    padding: 20px 12px;
  }
}

/* Extra small screens 
@media (max-width: 360px) {
  .service h1 {
    font-size: 1.5rem;
  }

  .service p {
    font-size: 0.9rem;
  }
} */

.serve-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    padding: 90px 100px;
    background: #fff;
    text-align: center;
}

.serve-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.serve-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto 35px;
}

/* -------- ICONS -------- */
.serve-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.serve-icon-box img {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
}

.serve-small-text {
    font-size: 11px;
    color: #888;
    font-weight: 600;
}

/* -------- CREDIT -------- */
.serve-credit-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.serve-score {
    font-size: 26px;
    color: #999;
    margin-bottom: 10px;
}

.serve-bar {
    display: flex;
    width: 150px;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.serve-bar span {
    height: 100%;
}

.serve-red {
    width: 25%;
    background: #e74c3c;
}

.serve-yellow {
    width: 25%;
    background: #f4c430;
}

.serve-green {
    width: 50%;
    background: #00c875;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 900px) {
    .serve-section {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 60px 30px;
    }
}



/*------products -----*/
/* ===========================
   PRODUCTS SECTION
=========================== */


.pro-section {
    background: #ffffff;
    padding: 80px 100px;
    text-align: center;
    margin-top: -50px;
}

.pro-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #000;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.pro-card {
    border-radius: 18px;
    padding: 25px 20px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.pro-card h3 {
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 5px;
}

.pro-card p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.pro-card img {
    max-width: 100%;
    max-height: 230px;
    object-fit: contain;
    margin: 0 auto 25px;
}

/* Button */
.pro-btn {
    align-self: flex-end;
    background: rgba(255,255,255,0.2);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s ease;
}

.pro-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* Card colors */
.pro-gray {
    background: #7a7a7a;
}

.pro-purple {
    background: #8b75a1;
}

.pro-green {
    background: #57a863;
}

.pro-blue {
    background: #2f7fa0;
}

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

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

    .pro-section {
        padding: 60px 30px;
    }
}



.Products {
  width: 90%;         /* réduit la largeur globale */
  margin: auto;
  padding: 60px 0; 
  margin-bottom: 100px;    /* réduit l'espace vertical */
  text-align: center;
  background: linear-gradient(135deg, #A8F4D0 0%, #D4FFE9 80%);
  border-radius: 18px;
}

.Products h1 {
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: #1A1A1A;
}

.Products p {
  max-width: 850px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  color: #1A1A1A;
  line-height: 1.6;
}

/* Product Grid */
.row-p {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 10px;
}

/* Product Card */
.products-col {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.products-col:hover {
  transform: translateY(-5px);
}

.products-col img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

/* Hover Layer */
.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  transition: background 0.5s ease;
}

.layer:hover {
  background: rgba(75, 179, 244, 0.5); /* overlay plus transparent */
}

.layer h3 {
  font-weight: 700; /* texte plus gras */
  color: #fff;
  font-size: 26px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); /* effet d’ombre pour lisibilité */
  transition: all 0.5s ease;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */

/* Large tablets */
@media (max-width: 1024px) {
  .row-p {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .products-col {
    height: 220px;
  }

  .layer h3 {
    font-size: 22px;
  }
}

/* Tablets & small laptops */
@media (max-width: 768px) {
  .Products {
    width: 95%;
    padding: 50px 0;
  }

  .row-p {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .products-col {
    height: 210px;
    transform: none;
  }

  .layer {
    background: rgba(75, 179, 244, 0.4); /* overlay toujours visible */
  }

  .layer h3 {
    font-size: 20px;
    bottom: 49%;
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  }
}

/* Phones */
@media (max-width: 480px) {
  .Products h1 {
    font-size: 1.8rem;
  }

  .Products p {
    font-size: 0.95rem;
  }

  .products-col {
    height: 180px;
    transform: none;
  }

  .layer {
    background: rgba(75, 179, 244, 0.4);
  }

  .layer h3 {
    font-size: 16px;
    bottom: 49%;
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .Products h1 {
    font-size: 1.5rem;
  }

  .Products p {
    font-size: 0.9rem;
  }

  .products-col {
    height: 160px;
    transform: none;
  }

  .layer {
    background: rgba(75, 179, 244, 0.4);
  }

  .layer h3 {
    font-size: 14px;
    bottom: 49%;
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  }
}



/*------blog section -----*/

/* ===========================
   BLOG SECTION
=========================== */

.blog-section {
  width: 100%;
  padding: 80px 0;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
}

/* Section Container */
.section-content {
  width: 90%;
  margin: auto;
  max-width: 1000px;
}

/* Title */
.title {
  text-align: center;
  margin-bottom: 50px;
}

.title h2 {
  font-size: 36px;
  color: #4BB3F4;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.title p {
  font-size: 18px;
  color: #333;
  margin-top: 15px;
  line-height: 1.6;
}

/* ===========================
   BLOG CARDS
=========================== */

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

/* Individual Blog Card */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-info {
  padding: 20px;
  text-align: left;
}

.blog-info h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.blog-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-info a {
  display: inline-block;
  color: #4BB3F4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-info a:hover {
  color: #007bff;
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */

/* Tablets */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .title h2 {
    font-size: 30px;
  }

  .title p {
    font-size: 16px;
  }

  .blog-info h3 {
    font-size: 18px;
  }
}

/* Phones */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-card img {
    height: 200px;
  }

  .title h2 {
    font-size: 26px;
  }

  .title p {
    font-size: 15px;
  }

  .blog-info h3 {
    font-size: 17px;
  }

  .blog-info p {
    font-size: 14px;
  }
}

/* BLOG */

/* =========== GENERAL =========== */
.blog-slider-section {
    padding: 70px 0;
    text-align: center;
    background: #f7f4ed;
    font-family: "Poppins", sans-serif;
}

.blog-slider-title {
    font-size: 36px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 50px;
}

/* =========== SLIDER CONTAINER =========== */
.blog-slider-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.blog-slides-wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

/* =========== INDIVIDUAL SLIDE =========== */
.blog-slide {
    min-width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.blog-slide.blog-active {
    display: flex;
}

.blog-slide-content {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.blog-slide-img {
    width: 350px;
}

/* =========== TEXT AREA =========== */
.blog-slide-text {
    max-width: 400px;
    text-align: left;
}

.blog-slide-text h3 {
    font-size: 24px;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.blog-slide-text p {
    color: #444;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.blog-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    background-color: #0077b5;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.blog-cta-btn:hover {
    background-color: #005c8d;
}

/* =========== NAV BUTTONS =========== */
/* =========== NAV BUTTONS (IMPROVED) =========== */
.blog-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 2px solid #0077b5;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 26px;
    color: #0077b5;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
    z-index: 10;
}

.blog-nav-btn:hover {
    background: #0077b5;
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 16px rgba(0, 119, 181, 0.35);
}

.blog-prev-btn { left: 40px; }
.blog-next-btn { right: 40px; }


/* =========== DOTS =========== */
.blog-dots {
    margin-top: 25px;
}

.blog-dot {
    height: 10px;
    width: 10px;
    background: #c4c4c4;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
    transition: 0.3s ease;
}

.blog-dot.blog-active {
    background: #0077b5;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-slide-content {
        flex-direction: column;
        text-align: center;
    }

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

    .blog-slide-img {
        width: 250px;
    }

    .blog-prev-btn { left: 0; }
    .blog-next-btn { right: 0; }
}


/* Carousel style */
/* ===========================
   BLOG / CARD CAROUSEL SECTION
=========================== */

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 90%;
  margin: 60px auto;
  max-width: 1200px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Card Styles */
.card {
  flex: 0 0 calc(100% / 3); /* 3 cards per slide on desktop */
  background: #fff;
  border-radius: 12px;
  margin: 0 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Image */
.image-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 220px;
  display: block;
}

/* Article Content */
.article {
  padding: 18px 20px;
  text-align: left;
}

.article h4 {
  font-size: 20px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}

.article p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Button */
.blog-view {
  text-align: left;
  padding: 0 20px 20px;
}

a.button {
  display: inline-block;
  background-color: #4BB3F4;
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

a.button:hover {
  background-color: #2f9ae3;
  transform: scale(1.03);
}

/* Date Badge */
.posted-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #4BB3F4;
  color: #fff;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 500;
}

/* Navigation Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #4BB3F4;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.prev:hover,
.next:hover {
  background: #2f9ae3;
}

.prev { left: 10px; }
.next { right: 10px; }

/* ===========================
   RESPONSIVE DESIGN
=========================== */

@media (max-width: 1024px) {
  .card {
    flex: 0 0 50%; /* 2 cards per slide */
  }

  .prev,
  .next {
    font-size: 18px;
    padding: 8px;
  }

  .image-section img {
    max-height: 200px;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 100%; /* 1 card per slide */
  }

  .carousel-container {
    width: 95%;
  }

  .prev,
  .next {
    font-size: 16px;
    padding: 6px;
  }

  .image-section img {
    max-height: 180px;
  }

  .article h4 {
    font-size: 18px;
  }

  .article p {
    font-size: 13px;
  }

  a.button {
    font-size: 13px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .article {
    padding: 15px;
  }

  .posted-date {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* SECTION */
.multi-section {
  padding: 60px;
}

/* GRID */
.multi-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

/* CENTER COLUMN */
.multi-center-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* CARD BASE */
.multi-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none;
  background: var(--card-color);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* HEIGHTS */
.multi-half {
  height: 260px;
}

.multi-tall {
  height: calc(260px * 2 + 22px);
}

/* IMAGE */
.multi-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* OVERLAY */
.multi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.05),
    rgba(0,0,0,0.05)
  );
  z-index: 2;
}

/* TEXT */
.multi-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  z-index: 3;
  background: color-mix(in srgb, var(--card-color) 85%, black 5%);
  color: #ffffff;
  
}

/* TEXT STYLE */
.multi-text h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.multi-text p {
  font-size: 14px;
  opacity: 0.9;
}

/* HOVER */
.multi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* COLORS */
.color-1 { --card-color: #0077b5; }
.color-2 { --card-color: #C8BFAF; }
.color-3 { --card-color: #9b5a7a; }
.color-4 { --card-color: #87a55f; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .multi-grid {
    grid-template-columns: 1fr;
  }

  .multi-half,
  .multi-tall {
    height: 260px;
  }
}


/* ==== TESIMONY ==== */
/* ===============================
   TESTIMONIAL SECTION
=============================== */
.testimony {
  width: 100%;
  min-height: 100vh;
  background-color: #fcfcfc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-T {
  position: relative;
  width: 100%;
  min-height: 450px;
  background-color: #f5f5f5;
}

.container-T .contents-test {
  width: 70%;
  min-height: inherit;
  margin: 30px auto;
  text-align: center;
}

.contents-test .headers h1 {
  position: relative;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
  color: #333;
}

.contents-test .headers h1::before {
  content: '';
  width: 200px;
  height: 2px;
  background-color: #4BB3F4;
  border-radius: 15px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

.contents-test .testRow {
  width: 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
}

.testRow .testItem {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.testRow .testItem:not(.active) {
  top: 0;
  left: -100%;
}

.testRow .testItem img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  outline: 2px solid #4BB3F4;
  outline-offset: 2px;
}

.testRow .testItem h3 {
  font-size: 30px;
  font-style: italic;
  color: #333;
  padding: 7px;
}

.testRow .testItem h4 {
  font-style: italic;
  color: #888;
}

.testRow .testItem p {
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.5;
  padding: 10px;
  color: #555;
}

.contents-test .indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px;
  cursor: pointer;
}

.contents-test .indicators .dot {
  width: 15px;
  height: 15px;
  margin: 0px 3px;
  border: 3px solid #aaa;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.5s ease;
}

.contents-test .indicators .active {
  background-color: #4BB3F4;
}

/* ====================== ANIMATIONS ====================== */

@keyframes next1 {
  from { left: 0%; }
  to { left: -100%; }
}
@keyframes next2 {
  from { left: 100%; }
  to { left: 0%; }
}
@keyframes prev1 {
  from { left: 0%; }
  to { left: 100%; }
}
@keyframes prev2 {
  from { left: -100%; }
  to { left: 0%; }
}

/* ====================== RESPONSIVE STYLES ====================== */

/* Tablets and small laptops */
@media (max-width: 768px) {
  .container-T .contents-test {
    width: 85%;
  }

  .contents-test .headers h1 {
    font-size: 34px;
  }

  .testRow .testItem img {
    width: 100px;
    height: 100px;
  }

  .testRow .testItem h3 {
    font-size: 26px;
  }

  .testRow .testItem p {
    font-size: 16px;
    line-height: 1.4;
  }

  .contents-test .indicators {
    bottom: 20px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container-T .contents-test {
    width: 90%;
    margin: 20px auto;
  }

  .contents-test .headers h1 {
    font-size: 28px;
  }

  .testRow .testItem img {
    width: 90px;
    height: 90px;
    margin-bottom: 8px;
  }

  .testRow .testItem h3 {
    font-size: 22px;
  }

  .testRow .testItem h4 {
    font-size: 14px;
  }

  .testRow .testItem p {
    font-size: 14px;
    line-height: 1.3;
    padding: 8px;
  }

  .contents-test .indicators .dot {
    width: 12px;
    height: 12px;
    margin: 0 2px;
  }
}


/*------partenaires -----*/

/* === TESTIMONIAL SECTION === */

.testy {
  text-align: center;
  padding: 70px 8%;
  background: #ffffff;
  font-family: Arial, sans-serif;
}

.testy .title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
}

.testy .title span {
  background: linear-gradient(90deg, #FF7A7A, #FF4BF4, #4BB3F4);
  background-clip: text;
  -webkit-background-clip: text; /* keeps gradient text working in Chrome/Safari */
  -webkit-text-fill-color: transparent; /* prevents fallback solid color */
  color: transparent;
}

.testy .subtitle {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
  margin-bottom: 40px;
}

.testimonials-container {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* === CARD DESIGN === */

.testimonial-card {
  background: #f9f9f9;
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.video-thumb img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 45px;
  background: rgba(0, 0, 0, 0.6);
  width: 70px;
  height: 70px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.testimonial-text {
  font-size: 15px;
  color: #444;
  margin: 18px 0;
  min-height: 90px;
}

.testimonial-card h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #222;
}

.testimonial-card small {
  color: #777;
}

/*=============== about us  ===============*/


/* SECTION */
.ab-section {
  padding: 80px 40px;
  background: #ffffff;
  color: #111;
}

/* CONTAINER */
.ab-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* CONTENT */
.ab-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ab-content h3 {
  font-size: 20px;
  font-weight: 400;
  color: #555;
  margin-bottom: 20px;
}

.ab-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  max-width: 520px;
}

/* BUTTON */
.ab-btn {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 30px;
  background: #4BB3F4;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.ab-btn:hover {
  background: #111;
  transform: translateY(-2px);
}

/* IMAGE */
.ab-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.ab-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .ab-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ab-image img {
    height: 320px;
  }

  .ab-content h1 {
    font-size: 36px;
  }
}
/*=============== PARTENAIRES ===============*/
.partners {
  background-color: #f7f9fc;
  padding: 40px 0;
}

/* Container */
.part {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.part h1 {
  font-weight: 500;
  font-size: 2.8rem;
  margin-bottom: 80px;
  margin-top: 20px;
  text-align: center;
  letter-spacing: 1px;
  color: #333;
}

/* Partner Row */
.partners-row {
  display: flex;
  width: calc(250px * 14);
  animation: scroll 40s linear infinite;
}

/* Individual Partner Item */
.partners-col {
  flex: 0 0 auto;
  width: 250px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  z-index: 1;
}

.partners-col img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  
  transition: all 0.3s ease;
  opacity: 0.9;
}

/* Hover Effect */
.partners-col a img {
  cursor: pointer;
  display: block;
  max-width: 100%;
  height: auto;
}

.partners-col a:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
  opacity: 1;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================
   RESPONSIVE DESIGN
========================== */

/* Medium screens (tablets) */
@media (max-width: 1024px) {
  .part h1 {
    font-size: 2.4rem;
    margin-bottom: 60px;
  }

  .partners-row {
    width: calc(200px * 14);
    animation-duration: 35s;
  }

  .partners-col {
    width: 200px;
    height: 90px;
  }

  .partners-col img {
    max-height: 80px;
  }
}

/* Small screens (phones) */
@media (max-width: 768px) {
  .part h1 {
    font-size: 2rem;
    margin-bottom: 50px;
  }

  .partners-row {
    width: calc(160px * 14);
    animation-duration: 30s;
  }

  .partners-col {
    width: 160px;
    height: 80px;
    padding: 8px;
  }

  .partners-col img {
    max-height: 70px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .part h1 {
    font-size: 1.7rem;
    margin-bottom: 40px;
  }

  .partners-row {
    width: calc(130px * 14);
    animation-duration: 25s;
  }

  .partners-col {
    width: 130px;
    height: 70px;
    padding: 5px;
  }

  .partners-col img {
    max-height: 60px;
  }
}

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

.contact-form {
  position: relative;
  min-height: 100vh;
  z-index: 0;
  background: #4BB3F4;
  padding: 30px;
  justify-content: center;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
}

.container-c {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 400;
  color: #fff;
}

.contact-form h2 {
  line-height: 40px;
  margin-bottom: 5px;
  font-size: 30px;
  font-weight: 500;
  color: #4BB3F4;
  text-align: center;
}

.contact-form .main {
  position: relative;
  display: flex;
  margin: 30px 0;
}

.content {
  flex-basis: 50%;
  padding: 3em 3em;
  background: #fff;
  box-shadow: 2px 9px 49px -17px rgba(156, 39, 148, 0.1);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.form-img {
  flex-basis: 50%;
  background: #f0f4f8;
  background-size: cover;
  padding: 40px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  align-items: center;
  display: grid;
}

.form-img img {
  max-width: 100%;
  height: auto;
}

.btn,
button,
input {
  border-radius: 35px;
}

.btn:hover,
button:hover {
  color: #4BB3F4;
  transition: 0.5s ease;
}

.contact-form form {
  margin: 30px 0;
}

.contact-form input,
textarea {
  outline: none;
  margin-bottom: 15px;
  font-size: 16px;
  color: #999;
  padding: 14px 20px;
  width: 100%;
  display: inline-block;
  box-sizing: border-box;
  border: none;
  background: #fcfcfc;
  transition: 0.3s ease;
}

.contact-form input:focus {
  background: transparent;
  border: 1px solid #4BB3F4;
}

.contact-form button {
  font-size: 18px;
  color: #fff;
  width: 100%;
  background: #4BB3F4;
  font-weight: 600;
  transition: 0.3s ease;
  padding: 14px 15px;
  border: 1px solid #4BB3F4;
}

/* ==========================
   RESPONSIVE DESIGN
========================== */

/* Tablets */
@media (max-width: 1024px) {
  .contact-form h1 {
    font-size: 2.2rem;
  }

  .contact-form h2 {
    font-size: 26px;
  }

  .content {
    padding: 2.5em 2.5em;
  }

  .form-img {
    padding: 30px;
  }
}

/* Medium Phones */
@media (max-width: 768px) {
  .contact-form {
    padding: 20px;
  }

  .contact-form .main {
    flex-direction: column;
    margin: 20px 0;
  }

  .form-img {
    order: 2;
    border-radius: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 25px;
  }

  .form-img img {
    max-width: 80%;
    margin: 0 auto;
  }

  .content {
    order: 1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 2em;
  }

  .contact-form h1 {
    font-size: 2rem;
  }

  .contact-form h2 {
    font-size: 24px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .contact-form {
    padding: 15px;
  }

  .contact-form h1 {
    font-size: 1.8rem;
  }

  .contact-form h2 {
    font-size: 20px;
  }

  .content {
    padding: 1.5em;
  }

  .form-img {
    padding: 20px;
  }

  .form-img img {
    max-width: 70%;
  }

  .contact-form button {
    font-size: 16px;
    padding: 12px 10px;
  }
}


/* ==== FOOTER ==== */
.container_f {
  max-width: 1170px;
  margin: auto;
  padding: 0 15px; /* Small padding for mobile */
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer {
  background-color: #24262b;
  padding: 70px 0;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
  box-sizing: border-box;
}

.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #4BB3F4;
  height: 2px;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #bbbbbb;
  text-decoration: none;
  font-weight: 300;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

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

/* Tablets & large phones */
@media (max-width: 992px) {
  .footer-col {
    width: 33.33%;
    margin-bottom: 40px;
  }
}

/* Tablets & small devices */
@media (max-width: 767px) {
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-col h4::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col ul li a {
    font-size: 15px;
  }
}

/* Small phones */
@media (max-width: 574px) {
  .footer-col {
    width: 100%;
    text-align: center;
  }
}



/*===============PRODUCT PAGE ===============*/
/* slider section  */

.slider{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.slider .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}

.slider .list .item .content .title,
.slider .list .item .content .type{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.slider .list .item .type{
    color: #14ff72cb;
}
.slider .list .item .button{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.slider .list .item .button button{
    border: none;
    background-color: #eee;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
    transition: 0.4s;
    letter-spacing: 2px;
}


.slider .list .item .button button:hover{
    letter-spacing: 3px;
}
.slider .list .item .button button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}





/* Thumbnail Section  */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}

.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}

.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}


/* nextPrevArrows Section  */
.nextPrevArrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.nextPrevArrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #14ff72cb;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}
.nextPrevArrows button:hover{
    background-color: #fff;
    color: #000;
}

/* Animation Part */
.slider .list .item:nth-child(1){
    z-index: 1;
}


/* animation text in first item */
.slider .list .item:nth-child(1) .content .title,
.slider .list .item:nth-child(1) .content .type,
.slider .list .item:nth-child(1) .content .description,
.slider .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.slider .list .item:nth-child(1) .content .title{
    animation-delay: 0.4s !important;
}
.slider .list .item:nth-child(1) .content .type{
    animation-delay: 0.6s !important;
}
.slider .list .item:nth-child(1) .content .description{
    animation-delay: 0.8s !important;
}
.slider .list .item:nth-child(1) .content .buttons{
    animation-delay: 1s !important;
}




/* Animation for next button click */
.slider.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}

@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.slider.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.slider.prev .list .item img{
    z-index: 100;
}


@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}


.slider.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}



/* Animation for prev button click */
.slider.prev .list .item:nth-child(2){
    z-index: 2;
}

.slider.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.slider.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button{
    pointer-events: none;
}


.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .slider .list .item .content{
        padding-right: 0;
    }
    .slider .list .item .content .title{
        font-size: 50px;
    }
}
