/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /**
   * colors
   */

  --st-patricks-blue: hsl(236, 57%, 28%);
  --amaranth-purple: hsl(335, 88%, 38%);
  --royal-blue-dark: hsl(231, 68%, 21%);
  --chrome-yellow: hsl(39, 100%, 52%);
  --space-cadet-1: hsl(230, 41%, 25%);
  --space-cadet-2: hsl(230, 59%, 16%);
  --winter-sky_50: hsla(0, 87%, 53%, 0.5);
  --purple-navy: hsl(236, 26%, 43%);
  --ksu-purple: hsl(239, 54%, 33%);
  --winter-sky: hsl(228, 87%, 53%);
  --razzmatazz: hsl(228, 100%, 51%);
  --platinum: hsl(0, 0%, 90%);
  --black_70: hsla(0, 0%, 0%, 0.7);
  --rajah: hsl(50, 99%, 62%);
  --white: hsl(0, 0%, 100%);

  --gradient-1: linear-gradient(
    90deg,
    var(--royal-blue-dark) 0,
    var(--ksu-purple) 51%,
    var(--royal-blue-dark)
  );
  --gradient-2: linear-gradient(90deg, var(--razzmatazz), var(--rajah));

  /**
   * typography
   */

  --ff-source-sans-pro: "Source Sans Pro", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --fs-1: 4.2rem;
  --fs-2: 3.8rem;
  --fs-3: 3.2rem;
  --fs-4: 2.5rem;
  --fs-5: 2.4rem;
  --fs-6: 2rem;
  --fs-7: 1.8rem;
  --fs-8: 1.5rem;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /**
   * border radius
   */

  --radius-4: 4px;
  --radius-12: 12px;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * transition
   */

  --transition-1: 0.15s ease;
  --transition-2: 0.35s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);

  /**
   * shadow
   */

  --shadow: 0 5px 20px 1px hsla(220, 63%, 33%, 0.1);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

button,
input {
  background: none;
  border: none;
  font: inherit;
}

button {
  cursor: pointer;
}

input {
  width: 100%;
}

ion-icon {
  pointer-events: none;
}

img {
  height: auto;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-poppins);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--purple-navy);
  font-size: 1.6rem;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 95%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 15px;
}

.h2,
.h3 {
  font-family: var(--ff-source-sans-pro);
}

.btn {
  background-image: var(--gradient-2);
  background-size: 200%;
  color: var(--white);
  padding: 12px 35px;
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  border-radius: 0 25px;
  transition: var(--transition-2);
}

.btn:is(:hover, :focus) {
  background-position: right;
}

/* btn submit form */
.btn_send {
  display: inline-flex;
  align-items: center;
  background-image: var(--gradient-2);
  background-size: 200%;
  background-position: left;
  color: var(--white);
  padding: 12px 35px;
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  border-radius: 0 25px;
  transition: background-position var(--transition-2);
  text-decoration: none;
  gap: 8px;
  width: auto;
}

.btn_send:hover,
.btn_send:focus {
  background-position: right;
}

.w-100 {
  width: 100%;
}

.banner-animation {
  animation: waveAnim 2s linear infinite alternate;
}

@keyframes waveAnim {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  100% {
    transform: translate(2px, 2px) rotate(1deg);
  }
}

.section {
  padding-block: var(--section-padding);
}

.section-title {
  color: var(--st-patricks-blue);
  font-size: var(--fs-3);
  margin-block-end: 60px;
  max-width: max-content;
  margin-inline: auto;
}

.underline {
  position: relative;
}

.underline::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 6px;
  background-image: var(--gradient-2);
  border-radius: 10px;
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .navbar-link {
  color: #333;
}
.header .logo {
  color: #333;
}
.header .btn {
  display: none;
}

.header {
  --color: var(--white);

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 14px;
  z-index: 4;
  transition: var(--transition-1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header.active {
  --color: var(--st-patricks-blue);

  position: fixed;
  background-color: var(--white);
  box-shadow: 0 2px 30px hsla(0, 0%, 0%, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo {
  color: var(--color);
  font-family: var(--ff-source-sans-pro);
  font-size: var(--fs-3);
}

.nav-open-btn {
  color: black;
  font-size: 32px;
  padding: 4px;
}

.navbar {
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: -280px;
  width: 100%;
  max-width: 280px;
  min-height: 100%;
  padding: 20px;
  visibility: hidden;
  z-index: 2;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  transform: translateX(280px);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px 30px;
}

.navbar-top .logo {
  color: var(--st-patricks-blue);
  font-size: 4.2rem;
  font-weight: var(--fw-700);
}

/*-----------------------------------*\
  #responsivité de logo 
\*-----------------------------------*/

@media (max-width: 768px) {
  .logo {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.6rem;
  }
}
.nav-close-btn {
  color: var(--space-cadet-1);
  font-size: 2.8rem;
  padding: 4px;
}

.navbar-item:not(:last-child) {
  border-bottom: 1px solid var(--platinum);
}

.navbar-link {
  color: var(--space-cadet-1);
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  padding-block: 12px;
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black_70);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-2);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/*-----------------------------------*\
  #add lign for item nav bar
\*-----------------------------------*/

.navbar-link {
  position: relative;
  color: var(--space-cadet-1);
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  padding-block: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-link:hover {
  color: #ffa90a;
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffa90a;
  transition: width 0.3s ease;
}

.navbar-link:hover::after {
  width: 100%;
}





header {
background-color:white;  z-index: 10; 
}


/*-----------------------------------*\
  #acceuil
\*-----------------------------------*/

.hero2 {
  position: relative;
  background: url("../images/bg_dev.jpeg") no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 0; 
}

.hero-content {
  position: relative;
  z-index: 1; 
  max-width: 800px;
  padding: 20px;
}



.btn {
  display: inline-block;
 
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}


.hero-text {
  font-size: 2.55rem; 
  font-weight: 400; 
  line-height: 1.8; 
  color: white; 
  margin-bottom: 40px; 
  max-width: 800px; 
  text-align: center; 
  padding: 0 30px; 
  letter-spacing: 0.5px; 
}

@media screen and (max-width: 768px) {
  .hero-text {
    font-size: 1.7rem; 
    line-height: 1.5; 
  }
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about-banner {
  margin-block-end: 30px;
}

.about .section-title {
  margin-inline: 0;
}

.about .underline::before {
  left: 0;
  transform: translateX(0);
}

/*-----------------------------------*\
  #service
\*-----------------------------------*/

/* card service */
.services {
  background: #ffffff;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
  color: #434343;
  font-size: 16px;
}

main.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
}

main.cards section.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  max-height: 468px;
  width: calc(33.33% - 32px);
  max-width: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

main.cards section.card .icon {
  width: 64px;
  height: 64px;
}

main.cards section.card img {
  width: 100%;
}

main.cards section.card h3 {
  font-size: 1.5rem;
  margin: 16px 0;
}

main.cards section.card span {
  font-weight: 300;
  max-width: 240px;
  font-size: 1.2rem;
  margin-bottom: 16px;
  flex-grow: 1;
  text-align: center;
}

main.cards section.card button {
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid transparent;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  width: 200px;
  background: linear-gradient(45deg, #0000ee, #adb5bd);
  cursor: pointer;
  outline: none;
  transition: transform 0.3s ease, background 0.4s ease, box-shadow 0.3s ease;
}

main.cards section.card button:hover {
  background: linear-gradient(45deg, #ffa90a, #ffe7ba);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

main.cards section.card button:active {
  transform: translateY(2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

main.cards section.card button:active {
  transform: scale(0.95);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

main.cards section.card:hover {
  box-shadow: 20px 20px 50px -30px #ffa90a67;
}

@media screen and (max-width: 1024px) {
  main.cards section.card {
    width: calc(50% - 32px);
  }
}

@media screen and (max-width: 768px) {
  main.cards section.card {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  main.cards {
    flex-direction: column;
  }

  main.cards section.card {
    width: 90%;
    margin-bottom: 20px;
  }

  main.cards section.card button {
    font-size: 0.8rem;
  }
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  font-size: var(--fs-8);
}

.footer a {
  color: inherit;
}

.footer-top {
  background-image: url("../images/footer-bg.png"), var(--gradient-1);
  background-repeat: no-repeat;
  background-size: auto, 200%;
  background-position: center, center;
  color: var(--white);
}

.footer-brand {
  margin-block-end: 30px;
}

.footer-brand .logo {
  font-weight: var(--fw-700);
  margin-block-end: 15px;
}

.footer-brand .text {
  font-size: var(--fs-8);
  margin-block-end: 20px;
}

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.footer-top .social-link {
  background-color: var(--white);
  color: var(--winter-sky);
  font-size: 18px;
  padding: 8px;
  border-radius: 50%;
}

.footer-top .social-link:is(:hover, :focus) {
  background-image: var(--gradient-2);
  color: var(--white);
}

.footer-list:not(:last-child) {
  margin-block-end: 25px;
}

.footer-list-title {
  font-family: var(--ff-source-sans-pro);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
  margin-block-end: 15px;
}

.footer-link {
  padding-block: 5px;
}

:is(.footer-link, .footer-item-link):not(address):is(:hover, :focus) {
  text-decoration: underline;
}

.footer-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
}

.footer-item-icon {
  background-image: var(--gradient-2);
  padding: 13px;
  border-radius: 50%;
}

.footer-bottom {
  background-color: var(--space-cadet-2);
  padding: 20px;
  text-align: center;
  color: var(--white);
}

.copyright-link {
  display: inline-block;
  text-decoration: underline;
}

.copyright-link:is(:hover, :focus) {
  text-decoration: none;
}

/*-----------------------------------*\
  #GO TO TOP BUTTON
\*-----------------------------------*/

.go-top {
  position: fixed;
  bottom: 0;
  right: 15px;
  background-color: var(--winter-sky);
  color: var(--white);
  font-size: 2rem;
  padding: 14px;
  border-radius: var(--radius-4);
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-1);
}

.go-top:hover {
  box-shadow: -1px 1px 10px #f2a104;
}
.go-top.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-15px);
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 550px screen
 */

@media (min-width: 550px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 550px;
    margin-inline: auto;
  }

  .section-title {
    --fs-3: 3.6rem;
  }

  /**
   * HEADER
   */

  .header .btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-inline-start: auto;
  }

  /**
   * ABOUT
   */

  /* .stats-list { grid-template-columns: repeat(3, 1fr); } */

  /**
   * FOOTER
   */

  .footer-brand,
  .footer-list:not(:last-child) {
    margin-block-end: 0;
  }

  .footer-top .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
  }
}

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  /**
   * ACCEUIL
   */

  
  /**
   * SERVICE
   */

  .features-list > li:first-child {
    margin-block-end: 0;
  }

  .features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 5.4rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 950px;
  }

  /**
   * HEADER
   */

  .header {
    padding-block: 20px;
  }

  .overlay,
  .nav-open-btn,
  .navbar-top {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .header .btn {
    margin-inline-start: 0;
  }

  .navbar-list {
    display: flex;
    gap: 25px;
  }

  .navbar-item:not(:last-child) {
    border-bottom: none;
  }

  .navbar-link {
    color: var(--color);
  }

  /**
   * ACCEUIL
   */

  .hero {
    min-height: 700px;
  }

  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /**
   * FEATURES
   */

  .features-list {
    grid-template-columns: 1fr;
  }

  .features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .features .section-title {
    grid-column: 1 / 4;
  }

  .features-banner {
    margin-block: 0;
    display: grid;
    place-items: center;
  }

  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: 1 / 5;
  }

  .footer-brand .text {
    max-width: 45ch;
  }
}

/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1200px;
  }

  .section-title {
    --fs-3: 4.6rem;
  }

  /**
   * ACCEUIL
   */

  .hero {
    min-height: 800px;
  }

  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: 1fr 0.5fr 0.7fr 0.5fr 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* CONTACT FORM -------------------------------------------------------------------------*/

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

footer .container {
  position: relative;
  min-width: 1100px;
  min-height: 550px;
  display: flex;
  z-index: 1000;
}

footer .container .contactInfo {
  position: absolute;
  top: 40px;
  width: 350px;
  height: calc(100% - 80px);
  background: #adb5bd;
  z-index: 1;
  padding: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  border-radius: 22px;
}

footer .container .contactInfo h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

footer .container .contactInfo ul.info {
  position: relative;
  margin: 20px 0;
}

footer .container .contactInfo ul.info li {
  position: relative;
  list-style: none;
  display: flex;
  margin: 20px 0;
  cursor: pointer;
  align-items: flex-start;
}

footer .container .contactInfo ul.info li span:nth-child(1) {
  width: 30px;
  min-width: 30px;
}

/* for gmail */
footer .container .contactInfo ul.info li span a {
  color: #fff;
  text-decoration: none;
  width: 30px;
  min-width: 30px;
}

footer .container .contactInfo ul.info li span:nth-child(1) img {
  max-width: 100%;
  filter: invert(1);
}

footer .container .contactInfo ul.info li span:nth-child(2) {
  color: #fff;
  margin-left: 10px;
  font-weight: 300;
}

footer .container .contactInfo ul.sci {
  position: relative;
  display: flex;
}

footer .container .contactInfo ul.sci li {
  list-style: none;
  margin-right: 15px;
}

footer .container .contactInfo ul.sci li a {
  text-decoration: none;
}

footer .container .contactInfo ul.sci li a img {
  filter: invert(1);
}

footer .container .contactForm {
  position: absolute;
  padding: 70px 50px;
  padding-left: 250px;
  margin-left: 150px;
  width: calc(100% - 150px);
  height: 100%;
  background: #fff;
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.25);
  border-radius: 22px;
}

footer .container .contactForm h2 {
  color: #0f3959;
  font-size: 24px;
  font-weight: 500;
}

footer .container .contactForm .formBox {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 30px;
}

footer .container .contactForm .formBox .inputBox {
  position: relative;
  margin-bottom: 35px;
}

footer .container .contactForm .formBox .inputBox.w50 {
  width: 47%;
}

footer .container .contactForm .formBox .inputBox.w100 {
  width: 100%;
}

footer .container .contactForm .formBox .inputBox input,
.container .contactForm .formBox .inputBox textarea {
  width: 100%;
  resize: none;
  padding: 5px 0;
  font-size: 18px;
  font-weight: 300;
  color: #333;
  border: none;
  outline: none;
  border-bottom: 1px solid #777;
}

footer .container .contactForm .formBox .inputBox textarea {
  height: 120px;
}

footer .container .contactForm .formBox .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  pointer-events: none;
  font-size: 18px;
  font-weight: 300;
  transition: 0.3s;
}

footer .container .contactForm .formBox .inputBox input:focus ~ span,
.container .contactForm .formBox .inputBox input:valid ~ span,
.container .contactForm .formBox .inputBox textarea:focus ~ span,
.container .contactForm .formBox .inputBox textarea:valid ~ span {
  transform: translateY(-20px);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #5a092f;
  font-weight: 500;
}

/* Css for the submit button */
footer .container .contactForm .formBox .inputBox input[type="submit"] {
  position: relative;
  cursor: pointer;
  background: #5a0909;
  border-radius: 20px;
  color: #fff;
  border: none;
  max-width: 150px;
  padding: 12px;
}

footer .container .contactForm .formBox .inputBox input[type="submit"]:hover {
  background: #0d9480;
}

/* make the form responsive */
@media (max-width: 1200px) {
  footer .container {
    width: 90%;
    min-width: auto;
    margin: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }

  footer .container .contactInfo {
    top: 0;
    height: 550px;
    position: relative;
    box-shadow: none;
    border-radius: 0px;
  }

  footer .container .contactForm {
    position: relative;
    width: calc(100% - 350px);
    padding-left: 0;
    margin-left: 0;
    padding: 40px;
    height: 550px;
    box-shadow: none;
    border-radius: 0px;
  }
}

@media (max-width: 991px) {
  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #ffffff;
  }

  footer::before {
    display: none;
  }

  footer .container {
    display: flex;
    flex-direction: column-reverse;
  }

  footer .container .contactForm {
    width: 100%;
    height: auto;
    border-radius: 0px;
  }

  footer .container .contactInfo {
    width: 100%;
    height: auto;
    flex-direction: row;
    border-radius: 0px;
  }
  footer .container .contactInfo ul.sci {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 600px) {
  footer .container .contactForm {
    padding: 25px;
  }

  footer .container .contactInfo {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  footer .container .contactInfo ul.sci {
    margin-top: 40px;
  }

  footer .container .contactForm .formBox .inputBox.w50 {
    width: 100%;
  }
}

/* Style de la liste de icon contact ***************************** */
.sci {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  padding: 0;
}

.sci li {
  margin: 0 15px;
}

/* Style des icônes */
#icons {
  font-size: 25px;
  color: white;
  transition: all 0.3s ease;
}

#icons:hover {
  font-size: 35px;
  transform: translateY(-5px);
}

/* --------------------------------------------------------------------------------POP UP */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  text-align: center;
  z-index: 1000;
  width: 500px;
  max-width: 90%; /* Ajustement pour petits écrans */
  visibility: hidden;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup i {
  font-size: 40px;
  color: var(--winter-sky);
}

.popup h2 {
  margin: 10px 0;
  font-size: 18px;
  font-weight: bold;
}

.popup p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}

.popup button.closeBtn {
  padding: 10px 20px;
  background-color: var(--winter-sky);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.popup button.closeBtn:hover {
  background-color: var(--winter-sky);
}

.open-popup {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* responsive pop up */
@media (max-width: 768px) {
  .popup {
    width: 80%;
    padding: 15px;
  }

  .popup h2 {
    font-size: 16px;
  }

  .popup p {
    font-size: 14px;
  }

  .popup i {
    font-size: 30px;
  }

  .popup button.closeBtn {
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .popup {
    width: 90%;
    padding: 10px;
  }

  .popup h2 {
    font-size: 14px;
  }

  .popup p {
    font-size: 12px;
  }

  .popup i {
    font-size: 25px;
  }

  .popup button.closeBtn {
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* detail -------------------------------------*/

/* Styles généraux */

/* En-tête */

/* Section détails ___________________________________*/
/* Section détails */
/* Conteneur principal de la section */
.service-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 50px auto;
  background: white;
  padding: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

/* Contenu du service */
.service-content {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 20px;
}

.service-content h2 {
  color: #1f2470;
  font-size: 2.5rem;
}

.service-content p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-content ul {
  list-style: none;
  padding-left: 20px;
}

.service-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1ec95d;
  font-weight: bold;
}

/* Bouton contact */
.btn-contact {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(to right, #0000ee, #b0b5f9);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(65, 125, 255, 0.4);
}

/* Image */
.service-image {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-detail {
    flex-direction: column;
    text-align: center;
  }

  .service-content,
  .service-image {
    flex-basis: 100%;
    max-width: 100%;
  }

  .service-content h2 {
    font-size: 2rem;
  }

  .service-image img {
    margin: 0 auto;
  }
}

/*-----------------------------------*\
  #animation with js css
\*-----------------------------------*/

/* animation de l'acceuil---------------------------------------- */


/* animation de about --------------------------------------------------- */
.about-content,
.about-banner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-content.visible,
.about-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* animation au etaill---------------------------------------------- */

.service-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

h2,
h3 {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s forwards;
  animation-delay: 0.3s;
}

ul li {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s forwards;
  animation-delay: 0.5s;
}

.btn-contact {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s forwards;
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation de l'image de detail----------------------------*/
.service-image {
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 1s forwards;
  animation-delay: 1s;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* animation sercie ---------------------------- */
.card,
.section-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card.animated,
.section-title.animated {
  opacity: 1;
  transform: translateY(0);
}
