:root {
    --color-primary: #F386A5; 
    --color-secondary: #F9C5D1; 
    --color-tertiary: #F5A6BC; 
    --color-hover: #F9C5D1; 
    --section-color: #eff7fa;
    --green-color: #33d1cc;
}
body{
  font-family: "Roboto", sans-serif;
}
.imghijab{
  margin-top: -100px;
  margin-left: -50px;
  margin-bottom: -200px;
  width: 400px;
  height: 750px;
  z-index: 3;

}
.rounded-logo {
    width: 80px;
    height: 80px;
    border-radius: 47%;
}
.social-links {
  display: flex;
}

.social-links a {
  color: white;
  font-size: 24px;
  margin-right: 10px; /* Space between social links */
}

.social-links a:hover {
  color: var(--color-secondary); /* Hover color for social links */
}

.video-containerss {
    position: relative;
    width: 100%;
    height: 100vh;
 
    overflow-x: hidden; 
      
  }
  .video-container::-webkit-scrollbar {
    width: 0px; 
  }
  .video-container {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
  }

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-content {
  font-family: "Roboto", sans-serif;
    display: none;
    position: absolute;
    background-color: var(--color-secondary); /* Background color for dropdown */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    min-width: 160px; /* Minimum width for dropdown */
}

.nav-links .dropdown-content a {
  font-family: "Roboto", sans-serif;
    color: black;
    padding: 12px 16px; /* Padding inside dropdown items */
    text-decoration: none;
    display: block;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block; /* Show dropdown on hover */
}
  #background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Couvre toute la surface sans déformer la vidéo */
    z-index: -1; /* Place la vidéo derrière le contenu */
  }
.navbar-nav .nav-item .nav-link {
    position: relative;
    display: inline-block; 
    color: white;
    font-weight: 700;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item .nav-link::after {
    content: "";
    position: absolute;
  
    width: 0;
    height: 3px; 
    bottom: -3px; 
    left: 0;
    background: linear-gradient(90deg, rgba(243,134,165,1) 0%, rgba(249,197,209,1) 100%);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out, width 0.25s ease-out; 
}

.navbar-nav .nav-item .nav-link:hover::after {
    width: 100%; 
    transform: scaleX(1);
    transform-origin: bottom left;
    height: 3px; 
}

.navbar-nav .nav-item .dropdown-toggle {
  position: relative;
  display: inline-block; 
  color: white;
  transition: color 0.3s ease;
}

.navbar-nav .nav-item .dropdown-toggle::after {
  content: "";
  position: absolute;

  width: 0;
  height: 3px; 
  bottom: -3px; 
  left: 0;
  background: linear-gradient(90deg, rgba(243,134,165,1) 0%, rgba(249,197,209,1) 100%);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out, width 0.25s ease-out; 
}

.navbar-nav .nav-item .dropdown-toggle:hover::after {
  width: 100%; 
  transform: scaleX(1);
  transform-origin: bottom left;
  height: 3px; 
}


.dropdown-item {
  position: relative;
  display: block;
  color: rgb(240, 153, 153);
  transition: color 0.3s ease;
}

.dropdown-item::after {
  content: "";
  position: absolute;

  width: 0;
  height: 3px; 
  bottom: -3px; 
  left: 0;
  background: linear-gradient(90deg, rgba(243,134,165,1) 0%, rgba(249,197,209,1) 100%);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out, width 0.25s ease-out; 
}

.dropdown-item:hover::after {
  width: 100%; 
  transform: scaleX(1);
  transform-origin: bottom left;
  height: 3px; 
}

.main-header
{

  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
  padding: 1.5rem;
  

 
}
.main-header .pp{
  font-style :italic;
  font-weight: 300;
}



.main-header-deux
{
  background-color: #bc3363;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
  padding: 1.5rem;
  

 
}
.main-header-deux .pp{
  font-style :italic;
  font-weight: 300;
}



/*section media video */
.media {
  display: flex; /* Active le flexbox */
  flex-direction: column; /* Aligne les éléments en colonne */
  align-items: center;
  padding: 1rem; /* Centre horizontalement les éléments */
}

.media video {
  margin-top: 2rem;
  width: 100%;
  border-radius: 10px;

}

/*section media video */
/* Search Container */
.search-container {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end; 
    position: relative;
}

.search-container input {
    padding: 8px 16px; 
    border: none;
    border-radius: 20px; 
    transition: background-color 0.3s ease; 
}

.search-container input:focus {
    background-color: var(--color-hover); 
    outline: none;
}

.search-container i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%); 
    color: var(--color-primary); 
}
.search-icon {
    position: absolute;
    right: 10px; /* Place l'icône à droite à l'intérieur de l'input */
    top: 50%;
    transform: translateY(-50%);
    color: #aaa; /* Couleur de l'icône */
    pointer-events: none; /* Empêche l'icône d'interférer avec les clics */
  }


  .landing{
    margin-top: 5rem;
  }

  .landing h1{

    font-size: 4rem;
   /* color: var(--color-primary);*/
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
  }

  .landing p{
    font-size: 1.5rem;
    color: rgb(90, 17, 17);
    font-family: "Roboto", sans-serif;
    font-weight: 800;
  }





  .find-support{
    background: var(--color-tertiary); /* Background color for ABOUT SMARTPINK button */
    color: white;
    border: none;
    border-radius: 20px; /* Rounded corners */
    padding: 15px 40px; /* Padding for button */
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transition for hover effect */
    
}

.find-support-container {
    text-align: center; /* Center the button */
    margin-top: 30px; /* Space above the button */
}

.find-support:hover {
    background-color: var(--color-secondary); /* Hover color for ABOUT SMARTPINK button */
}
.btn {
    padding: 5px 10px; /* Padding for buttons */
    margin-left: 10px; /* Space between buttons */
    margin-top: 10px;
    height: 40px;
    border: none;
    border-radius: 20px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition for hover effect */
}

.donate {
    background: var(--color-tertiary); /* Background color for donate button */
    color: white;
}

.donate:hover {
    background-color: var(--color-secondary); /* Hover color for donate button */
}

/* Animation effect for donate button */
.donate ~ .nav-links .btn {
    background-color: var(--color-primary);
    color: white;
}

.hope-bundle {
    background: var(--color-tertiary); /* Background color for HOPE Bundle button */
    color: white;
}

.hope-bundle:hover {
    background-color: var(--color-secondary); /* Hover color for HOPE Bundle button */
}

/* Animation effect for HOPE Bundle button */
.hope-bundle ~ .nav-links .btn {
    background-color: var(--color-primary);
    color: white;
}

.contact-us {
    background: var(--color-tertiary); /* Background color for Contact Us button */
    color: white;
}

.contact-us:hover {
    background-color: var(--color-secondary); /* Hover color for Contact Us button */
}

/* Animation effect for Contact Us button */
.contact-us ~ .nav-links .btn {
    background-color: var(--color-primary);
    color: white;
}

/*   our mission container*/

.mission{
   
    color: rgb(73, 25, 25);
    font-family: "Roboto", sans-serif;
    height: 50vh;
}


.mission, .education-matters, .progress, .partners, .call-to-action, footer {
    padding: 60px 0;
    text-align: center;
}

.mission h2, .faq h2, .progress h2, .partners h2, .call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.mission p, .faq p, .progress p, .partners p, .call-to-action p {
    font-size: 1.25rem;
   
    margin-bottom: 20px;
   
}

.mission .btn,  .btn, .partners .btn, .call-to-action .btn {
    padding: 0px 30px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
}


.mission .btn-secondary {
    color: rgba(233, 236, 11, 0.856);
    font-size: 1.5rem;
    font-family: "Roboto", sans-serif;
    text-decoration: underline;
    
    text-transform: uppercase;
    transition: transform 0.3s ease; /* Specify the property to transition */
  }
  
  .mission .btn-secondary:hover {
    color: rgb(255, 255, 255);
    transform: translateX(20px);
  }

  .mission .btn find-support{
    border-radius: 30px;
    background-color: #F5A6BC;
    color: white;
    padding: 10px;
    text-decoration: none;
  }

/*   our mission container*/

/*section info support */
section{
    padding: 0px;
}
.info-support .container {
    display: flex;
    justify-content: space-between;
    font-size: 3.5rem;
    margin-top: 10px;
}

.info-item {
    flex: 1;
  
    margin: 0 10px;
    text-align: center;
}

.info-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.info-item p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.info-item .btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
}
.info-item a {
    color: blue;
    text-decoration: underline;
    font-size: 1rem;
    margin-bottom: 20px;
}




/*section info support */

/* Debut Features */


.faq{
    padding: 30px 0;
    text-align: center;
   
}
.features .icon-holder {
    height: 200px;
  }
  .features .icon-holder svg {
    left: 40%;
    transform: translateX(-50%);
  }
  .features .icon-holder .number {
    font-size: 12rem;
    color: var(--section-color);
    animation: bounceicon 1s infinite;
  }
  .features .icon-holder .numbers {
    font-size: 12rem;
    color:  #f7d8e1be;
    animation: bounceicon 1s infinite;
  }
  .features .icon-holder .icon {
    color: var(--green-color);
    animation: bounceicon 1s infinite;
  }
  .features .feat h4 {
    color: var(--yellow-color);
    animation: bounceicon 1s infinite;
  }
  @keyframes bounceicon {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px); /* Adjust this value for the height of the bounce */
    }
    60% {
        transform: translateY(-10px); /* Optional: Add a mid-bounce for a more natural effect */
    }
}
  .features h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: rgb(73, 25, 25);
  }
  /* Fin Features */

  .faq-items {
    display: flex;
    justify-content: space-between;
   
}

.faq-item {
    flex: 1;
    margin: 0 10px;
    background-color: #F386A5;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
   
}

.h22{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
  color: rgb(73, 25, 25);
}
.h222{
  font-size: 3.5rem;
  
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
  color: rgb(73, 25, 25);
}


.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: rgb(73, 25, 25);
}

.containeria {
  position: relative;

  height: 100%;
  overflow: hidden;
  height: 300px;
  align-items: center;
  margin-left: 20%;

}

.moving-text {
  position: absolute;
  top: 50%;
  right: -100%;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  transform: translateY(-40%);
  animation: textMove 5s ease-in-out forwards infinite;
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
  animation-delay: 20s;
}

.moving-image img {
  position: absolute;
  top: 50%;
  left: -100%;
  width: 150px;
  height: auto;
  transform: translateY(-50%);
  animation: imageMove 5s ease-in-out forwards infinite;
  animation-delay: 20s;
}







/*Cube*/

.slider-container {
  
  perspective: 1000px;
  width: 300px; 
  height: 300px; 
  position: relative;
}

.cube {
 
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  animation: rotateCube 20s infinite linear;
  border: 2px solid lightpink; /* Light pink edges */
  
}
.cube  .p_cube{
  font-size: 1.25rem;
   
  margin-bottom: 20px;
  padding-bottom: 5rem;
}
.cube  .face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
  cursor: pointer;
}
.containerfirstpage
{
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  overflow: hidden;

}
.cube  h2 {
  color: #ff6799;
  font-size: 1em;
  margin-top: 10px;
}
h2 {
  color: #ff6799;
  font-size: 1em;
  margin-top: 10px;
}

.cube  .icon {
  font-size: 2em; /* Adjusted icon size */
  color: #ff6799;
}

.front {
  transform: rotateY(0deg) translateZ(150px); /* Adjusted translate values */
}

.back {
  transform: rotateY(180deg) translateZ(150px);
}

.left {
  transform: rotateY(-90deg) translateZ(150px);
}

.right {
  transform: rotateY(90deg) translateZ(150px);
}

.top {
  transform: rotateX(90deg) translateZ(150px);
}

.bottom {
  transform: rotateX(-90deg) translateZ(150px);
}

@keyframes rotateCube {
  0% {
      transform: rotateX(0deg) rotateY(0deg);
  }
  16.67% {
      transform: rotateX(90deg) rotateY(0deg);
  }
  33.34% {
      transform: rotateX(90deg) rotateY(90deg);
  }
  50% {
      transform: rotateX(180deg) rotateY(90deg);
  }
  66.67% {
      transform: rotateX(180deg) rotateY(180deg);
  }
  83.34% {
      transform: rotateX(270deg) rotateY(180deg);
  }
  100% {
      transform: rotateX(270deg) rotateY(270deg);
  }
}





/*Cube*/



/* Support section*/
.support-section {
  margin-top: -2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #f9f0f7;
  padding: 50px 20px;
  position: relative;
  perspective: 1000px; /* Perspective for 3D effects */
}

.content {
  max-width: 600px;
  z-index: 1;
}

.corporate-partner {
  margin-bottom: 20px;
}

.partner-button {
  background-color: transparent;
  border: 2px solid #e44a83;
  color: #e44a83;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateZ(0); /* Prepare for 3D animation */
}

.partner-button:hover {
  background-color: #e44a83;
  color: #fff;
  transform: translateY(-5px) scale(1.05); /* Lift the button in 3D */
  box-shadow: 0px 10px 20px rgba(228, 74, 131, 0.3);
}

.support-text h1 {
  font-size: 36px;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
  transition: transform 0.6s ease; /* Smooth 3D effect */
  transform: rotateY(-30deg) rotateX(10deg) scale(0.9); /* 3D Start Position */
  opacity: 0; /* Start invisible */
}

.animated-heading {
  animation: rotateIn 1.5s forwards ease-in-out; /* Keyframes for 3D */
}

@keyframes rotateIn {
  from {
      transform: rotateY(-30deg) rotateX(10deg) scale(0.9);
      opacity: 0;
  }
  to {
      transform: rotateY(0) rotateX(0) scale(1);
      opacity: 1;
  }
}

.support-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
  transition: opacity 1s ease-in-out, transform 1s ease;
  opacity: 0;
  transform: translateY(20px); /* Slide up on load */
  animation: fadeIn 1.5s forwards ease-in-out 0.5s ; /* Delay for smooth load */
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  transition: transform 0.6s ease-in-out;
  transform: perspective(600px) rotateY(10deg);
}

.donate-button {
  background-color: #ff5e84;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateZ(0); /* 3D setup */
}

.donate-button:hover {
  background-color: #e44a83;
  color: white;
  transform: translateY(-5px) translateZ(20px); /* 3D Lift Effect */
  box-shadow: 0px 15px 30px rgba(228, 74, 131, 0.3);
}

.involve-button {
  background-color: transparent;
  border: 2px solid #e44a83;
  color: #e44a83;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateZ(0); /* 3D setup */
}

.involve-button:hover {
  background-color: #e44a83;
  color: white;
  transform: translateY(-5px) translateZ(20px); /* 3D Lift Effect */
  box-shadow: 0px 15px 30px rgba(228, 74, 131, 0.3);
}

.pink-ribbon {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.7;
  z-index: 0;
  animation: floatRibbon 2s ease-in-out infinite; /* Slow float animation */
}

@keyframes floatRibbon {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-15px);
  }
}

.pink-ribbon img {
  width: 300px;
  height: auto;
  transition: transform 1s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .support-text h1 {
      font-size: 28px;
  }


  
  .containerfirstpage {
   margin-bottom: 0px;
  }

  .action-buttons {
      flex-direction: column;
      transform: none;
  }

  .action-buttons a {
      width: 100%;
      text-align: center;
  }

  .pink-ribbon img {
      width: 200px;
  }
}





/* Support section*/



@keyframes textMove {
  0% {
    right: -100%;
    transform: translate(0, -50%);
  }
  50% {
    right: 50%;
    transform: translate(50%, -50%);
  }
  71% { /* 5 secondes sur 7 (fin de l'animation réelle) */
    right: 50%;
    transform: translate(10%, -50%);
  }
  100% {
    right: 50%;
    transform: translate(10%, -50%); /* Pause de 2 secondes (aucun changement visuel) */
  }
}

@keyframes imageMove {
  0% {
    left: -100%;
    transform: translate(0, -50%);
  }
  50% {
    left: 50%;
    transform: translate(50%, -50%);
  }
  71% { /* 5 secondes sur 7 (fin de l'animation réelle) */
    left: 50%;
    transform: translate(0%, -50%);
  }
  100% {
    left: 50%;
    transform: translate(0%, -50%); /* Pause de 2 secondes (aucun changement visuel) */
  }
}



/* Donation Modal*/
.DonateConeteur {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  font-family: "Roboto", sans-serif;
}

.hidden {
  display: none;
}

.donation-box, .reminder-box {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  margin: 20px;
  padding: 20px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.donation-box:hover, .reminder-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-section img {
  width: 100%;
  border-bottom: 1px solid #eee;
  border-radius: 10px 10px 0 0;
}

.donation-content {
  padding: 20px;
}

.donation-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.donation-header img {
  max-height: 100px; /* Updated logo size */
}

.donation-content h2 {
  margin: 20px 0 10px;
  color: #333;
  text-align: center;
}

.donation-content p {
  color: #555;
  line-height: 1.6;
  text-align: center;
}

.donation-options {
  margin: 20px 0;
}

.amount-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.amount-buttons button {
  background-color: #f58eb6;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.amount-buttons button:hover {
  background-color: #f77398;
}

#custom-amount {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
}

.currency-dropdown select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
}

.payment-type {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.payment-button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.payment-button.active, .payment-button:hover {
  background-color: #f77398;
}

.donation-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.donate-button-deux, .cancel-button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.donate-button-deux {
  background-color: #f58eb6;
  color: #fff;
}

.donate-button-deux:hover {
  background-color: #f77398;
}

.cancel-button {
  background-color: #ddd;
  margin-left: 10px;
}

.cancel-button:hover {
  background-color: #ccc;
}

.footer-links {
  margin-top: 20px;
  text-align: center;
}

.footer-links a {
  color: #f58eb6;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f77398;
}

.reminder-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.reminder-header i {
  font-size: 24px;
  color: #f58eb6;
  margin-right: 10px;
}

.reminder-header h2 {
  font-size: 20px;
  color: #333;
}

.reminder-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.reminder-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reminder-buttons button:first-child {
  background-color: #f58eb6;
  color: #fff;
  margin-right: 10px;
}

.reminder-buttons button:first-child:hover {
  background-color: #f77398;
}

.reminder-buttons button:last-child {
  background-color: #ddd;
}

.reminder-buttons button:last-child:hover {
  background-color: #ccc;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.form-group input[type="checkbox"] {
  margin-top: 10px;
}


/* Donation Modal*/

.container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}


aside {
  flex: 1;
  height: 200vh;
  margin-right: 20px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

aside input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.cards {
  display: flex;

}


.cards .card {
  background: #fff;
   min-width: 100px;
  padding: 20px;
  margin: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  flex: 1;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.cards .card i {
  font-size: 3em;
  color: #f06495;
  margin-bottom: 10px;
}

 .card:hover {
  background-color: #f8c3d1; /* Light pink background on hover */
}

aside nav ul {
  list-style: none;
}

aside nav ul li {
  margin-bottom: 10px;
}

aside nav ul li a {
  text-decoration: none;
  color: #f06495;
  font-weight: bold;
}

.image-section {
  text-align: center;
  padding: 20px;
  background-color: white;
  margin: 20px 0;
}




.divheader {
  text-align: center;
  background-color: #ffccd5;
  padding: 20px;
}

/* Event Schedule */
#schedule {
  margin: 20px;
  text-align: center;
}

.event-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.event-card {
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: rotateY(15deg);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.3);
}

.join-btn {
  background-color: #ff6584;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.join-btn:hover {
  background-color: #ff205b;
}

/* Live Video Section */
#live-video {
  margin: 50px 0;
  text-align: center;
}

.video-container {
  display: inline-block;
  border: 4px solid #ffccd5;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* 3D Animation Section */
#floating-animation {
  position: fixed;
  top: 0;
  right: 70;
  width: 75%;
  height: 80vh;
  z-index: 500;
  background: transparent;
}

/**********science*************/



.sciencemain-header {
  background: linear-gradient(to right, #ccf1ff, #99a2ff, hsl(229, 88%, 58%), #99a2ff, #ccf1ff);
  color: #fff;
  padding: 20px 20px;
  text-align: center;
  margin-top: 120px; /* Adjust based on your layout */
}
.sciencemmain-header h1 {
  font-size: 2.5em;
}

.sciencemmain-header p {
  margin: 20px 10px;
}

.sciencemmain-header .reviewed {
  font-style: italic;
}
.sciencecontent {
  display: flex;
  padding: 80px;
  text-align: center;
}
.sciencecontainer {
  max-width: 1200px; /* Set maximum width for better layout control */
  margin: 0 auto; /* Center container horizontally */
}
.science-hero {
  padding: 40px;
  background-color: #f0f0f0;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.science-button {
  padding: 15px 30px;
  background-color: #87cefa;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  font-size: 18px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.science-button i {
  font-size: 20px;
}

.science-button:hover {
  background-color: #4682b4;
  transform: translateY(-2px);
}

.science-button:active {
  transform: scale(0.95);
}



.btn-3d {
  margin: 15px;
  padding: 20px 20px;
  font-size: 20px;
  color: #fff;
  background-color: transparent;
  border: 2px solid #007BFF;
  border-radius: 5px;
  box-shadow: 0 4px #0056b3;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}
.menu-link {
  text-decoration: none;
  color: inherit;
}
.explanation-section {
  padding: 40px;
  text-align: center;
  background-color: #fff;
  color: #333;
}

.explanation-section h2 {
  color: #87cefa;
  font-size: 2em;
}

.explanation-section p {
  font-size: 1.2em;
  margin-top: 20px;
}


/* Section 2: Event Schedule Cards */
.scienceevent-schedule {
  padding: 40px;
  background-color: #f9f9f900;
}

.scienceevent-schedule h2 {
  text-align: center;
  color: #4682b4;
}
.sciencecard-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  @media (max-width: 768px) { /* Ajuster la largeur selon vos besoins */
    flex-direction: column;
  }
}


.sciencecard {
  width: 250px;
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
}
.sciencecard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  padding: 5px; /* Border thickness */
  background: linear-gradient(to right, #ccf1ff, #99a2ff, hsl(229, 88%, 58%), #99a2ff, #ccf1ff);
  z-index: 1;
  transition: opacity 0.6s ease;
  opacity: 0; /* Hidden by default */
}

.sciencecard-front, .sciencecard-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  background-color: white;
  color: black;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: transform 0.6s ease;
  z-index: 2; /* Above the gradient border */
}

.sciencecard-front {
  background: linear-gradient(to right, #ccf1ff, #99a2ff, hsl(229, 88%, 58%), #99a2ff, #ccf1ff);
}

.sciencecard-back {
  background-color: white;
  transform: rotateY(180deg);
}

/* On hover, show the gradient border */
.sciencecard:hover::before {
  opacity: 1;
}

.sciencecard:hover .sciencecard-front {
  transform: rotateY(180deg);
}

.sciencecard:hover .sciencecard-back {
  transform: rotateY(360deg);
}


/* Add the gradient border effect when card flips */
.sciencecard:hover {
  box-shadow: 0 0 10px 5px 
      linear-gradient(to right, #ccf1ff, #99a2ff, hsl(229, 88%, 58%), #99a2ff, #ccf1ff);
}

.sciencecard:hover .sciencecard-front {
  transform: rotateY(180deg);
}

.sciencecard:hover .sciencecard-back {
  transform: rotateY(360deg);
}


/* Section 3: Live Video Section */
.sciencelive-video-section {
  padding: 40px;
  text-align: center;
}

.sciencelive-video-section h1 {
  color: #4682b4;
}

iframe {
  border: 5px solid #64cff0;
  border-radius: 10px;
}




/* Add the gradient border effect when card flips */
.sciencecard:hover {
  box-shadow: 0 0 10px 5px 
      linear-gradient(to right, #ccf1ff, #99a2ff, hsl(229, 88%, 58%), #99a2ff, #ccf1ff);
}

.sciencecard:hover .card-front {
  transform: rotateY(180deg);
}

.sciencecard:hover .card-back {
  transform: rotateY(360deg);
}


/* Comments or Requests */
.comments-section {
  padding: 20px;
  background-color: #f8f8f800;
  text-align: center;
}

#comments-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#comment {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  margin: 10px 0;
}

.sciencebutton {
  background-color: #64cff0;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.sciencebutton:hover {
  background-color: #e05283;
}

/**********science*************/


  @media only screen and (max-width: 600px) {
    .slider-container {
      perspective: 1000px;
      width: 300px; /* Reduced size */
      height: 300px; /* Reduced size */
      position: relative;
      margin-bottom: 5rem;
    }



    .landing h1{

        font-size: 2.5rem;
       /* color: var(--color-primary);*/
        font-family: "Roboto", sans-serif;
        font-weight: 600;
        font-style: normal;
      }
    

      .navbar-nav{
        background-color: #63404d;
        border-radius: 15px;
        padding: 15px;
        height: 100vh;
        z-index: 1;
      }

      .navbar-nav .nav-item{
        border-bottom: solid;
        border-color: white;
        font-weight: 700;
 
      }

      header .container, .hero .container, .info-support .container, .education-matters .container {
        flex-direction: column;
        text-align: center;
    }
    .info-item, .faq-item {
        margin: 20px 0;
    }
  }


  /*foooter*/

/* Footer background and particles */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
}

.footer {
  font-family: 'Play', sans-serif;
  position: relative;
  background-color: #440436;
  padding: 1rem 0rem 0rem 5rem;
  z-index: 1;
  overflow: hidden;

}

.footer-title {
  color: #e05283;
  font-size: 3rem;
  font-weight: 900;
}

.footer-logo {
  width: 100px;
  height: auto;
}

.text-copyright{
  color: cornsilk;
  font-weight: 700;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
  
}

.footer ul li a {
  color: #bbbbc4;
  text-decoration: none;
  transition: color 0.5s;
}

.footer ul li a:hover {
  color: #fc3565;
}

.footer p {
  margin-top: 1rem;
  font-size: 1rem;
  color: white;
}
.img-footer
{
  height: 100px;
 
 
  
}
.h55{
 border-left: 4px solid #e05283;

 padding-left: 10px;
 
}

.top-border {
  margin-left: 5rem;
  margin-right: 5rem;
  
  border-top: 1px solid #FFFFFF;
 
}



  /*fpooooter*/