/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/


* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

:root{
    --bleu-fonce:#1C2747 ; 
    --vert:#286D58;
    --vert-clair:#7ECC5E;
    --jaune:#fec110;
}

/* Couleurs de fond */
.bg-vert{
    background-color: var(--vert) !important;
    color: white !important;
}

.bg-bleu-fonce{
    background-color: var(--bleu-fonce) !important;
    color: white !important;
}

.bg-vert-clair{
    background-color: var(--vert-clair) !important;
    color: black !important;
}

.bg-jaune{
    background-color: var(--jaune) !important;
    color: black !important;
}

.bg-degrade-vert{
    background: linear-gradient(26deg,rgba(12, 79, 86, 1) 0%, rgba(126, 204, 94, 1) 100%) !important;
    color: white !important;
}

.bg-white{
    color: black !important;
}

/* Couleurs de texte */
.text-vert{
    color: var(--vert) !important;
}

.text-bleu-fonce{
    color: var(--bleu-fonce) !important;
}

.text-vert-clair{
    color: var(--vert-clair) !important;
}

.text-jaune{
    color: var(--jaune) !important;
}

/* Model de bouton */
.cta{
    transition: all ease-in-out .5s;
    padding:  5px 20px;
    border-radius: 50px;
    transition: all ease .3s;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: transparent;
    border: none;
}

.cta::after{
    font-family: "Font Awesome 6 Pro";
    opacity: 0;
    content: '\002192';
    margin-left: -0.8rem;
    transition: all ease-in-out .3s;
}

.cta:hover::after{
    opacity: 1;
    margin-left: 0.5rem;
}
/* Header */
#bootscore-navbar{
    margin: 0 !important;
}

#bootscore-navbar .nav-link{
    transition: all ease .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#bootscore-navbar .nav-link:hover{
   border-bottom: solid var(--vert) 5px;
   color: var(--vert);
} 

.logo-header{
    transition: all ease .5s;
}


.dropdown-menu{
    padding: 20px;
    --bs-dropdown-link-active-bg: var(--vert);
}

  #bootscore-navbar .nav-link.active{
    border-bottom: solid var(--vert) 5px;
    color: var(--vert);
    font-weight: 700;
  }    

.contact-bar {
    transition: all 0.3s ease;
    opacity: 1;
    height: auto;
    overflow: hidden;
  }
  
  .contact-bar.hidden {
    opacity: 0;
    height: 0;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden;
  }  


  /* Formulaire de contact */

.cf7-grid .row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 1rem;
  }
  
  .cf7-grid .col {
    flex: 1;
    min-width: 200px;
  }
  
  .cf7-grid input[type="text"],
  .cf7-grid input[type="email"],
  .cf7-grid input[type="tel"],
  .cf7-grid textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--bleu-fonce);
    font-size: 14px;
    outline: none;
  }
  
  .cf7-grid textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .cf7-grid .btn {
    background-color: var(--bleu-fonce);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .cf7-grid .btn:hover {
    opacity: 0.8;
  }
  .wpcf7-spinner{
    display: none;
  }

/* ACCORDIONS QUESTIONS REPONSES */

.check-input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion {
    width: 100%;
    color: white;
    overflow: hidden;
    margin-bottom: 16px;
}
.accordion:last-child{
    margin-bottom: 0;
}
.accordion-label {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 16px;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
    border-radius: 10px;
    transition: all ease-in-out 0.3s;
}
.accordion-label:hover {
    opacity: 0.8;
}
.accordion-label::after {
    content: "\276F";
    width: 16px;
    height: 16px;
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    margin: 0;
}
.accordion-content {
    max-height: 0;
    background: #F4F4F4;
    color: #000;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    overflow: auto;
}

.check-input:checked + .accordion-label {
    background: var(--bleu-fonce);
    border-radius: 10px 10px 0 0;
}
.check-input:checked + .accordion-label::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.check-input:checked ~ .accordion-content {
    max-height: unset;
    padding: 16px;
    border-radius:  0 0 10px 10px;
}
