@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
:root{
    --font-color:  #08343A;
    --secondary-color: #49B861;
    --primary-color: #F1F0F0;

}
.bg-nav{
    background-color: var(--primary-color);
}

.hero {
    position: relative;
    width: 100%;
    height: 35vh;
    background: url("../../storage/images/gears-cogwheels.jpg") no-repeat center center;
    background-size: cover;
}
.login-nav{
    border-bottom: 1px solid #ccc; /* Optional bottom border */
    box-shadow: 0 6px 6px -2px rgba(0, 0, 0, 0.5);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 52, 58, 0.3); 
    z-index: 1;
}
  

.hero .container {
    position: relative;
    z-index: 2;
}
.hero .container h1{
    font-size: 55px;
}
.hero .container p{
    font-size: 20px;
    font-weight: 500;
    color: white;
}
.hero .container .hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.btn-login {
    border: 1px solid var(--primary-color);
    border-radius: 7px;
    background: none;
    padding: 2px  30px 5px;
    font-size: 15px;
    cursor: pointer;
    margin-right: 5px;
}
.btn-login a , .btn-register a {
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    color: var(--primary-color);
    cursor: pointer;
}
.btn-register {
    border: 1px;
    border-radius: 7px;
    color: white;
    background-color:var(--secondary-color) ;
    padding: 3px  30px 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 5px;
}

@media screen and (max-width: 576px) {
    .hero .container h1{
        padding-top: 40px;
        font-size: 38px;
        text-align: start;       
        align-items: flex-start; 
    }
    .hero .container .hero-text {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }
    .hero .container p{
        font-size: 12px;
        font-weight: 500;
        text-align: start;
        color: white;
        padding-left: 30px;
        padding-top: 20px;
    }
    .hero .container .hero-buttons .btn-login, .btn-register {
        font-size: 13px;
        padding: 2px 45px 4px 13px;
        width: 50px;
    }
    .hero .container .hero-buttons .btn-register {
        font-size: 13px;
        padding: 4px  55px 5px 7px;
        width: 50px;
    }
    .btn-login a , .btn-register a {
        text-decoration: none;
        font-family: "Poppins", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 12px;
        color: var(--primary-color);
    }
    
  }

.navbar-brand{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
    color: var(--font-color);
}
.navbar-brand img{
    width:65px;
    height: 45px;
}
.navbar-nav a{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: large;
}
.navbar-collapse a{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--font-color);
}
.dropdown-menu {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--font-color);
    background-color: var(--primary-color);
    border: 1px solid var(--font-color);
}
.btn-search button{
    border: none;
    border-radius: 4px;
    background-color: var(--font-color);
    color: white;
}
.title-1{
    font-family: "Poppins", sans-serif;
    font-weight: 750;
    font-size: 40px;
    color: var(--font-color);
    text-align: center;
    margin-top: 30px;
}
@media screen and (max-width: 768px) {
    .title-1{
        font-family: "Poppins", sans-serif;
        font-weight: 750;
        font-size: 30px;
        color: var(--font-color);
        text-align: center;
        margin-top: 30px;
    }
    
}
@media screen and (max-width: 412px) {
    .title-1{
        font-family: "Poppins", sans-serif;
        font-weight: 750;
        font-size: 20px;
        color: var(--font-color);
        text-align: center;
        margin-top: 30px;
    }
}

.category-card {
    width: 260px;
    border: 3px solid #08343A;
    border-radius: 20px;
    background-color: #fff;
    overflow: hidden; 
    cursor: pointer;
}
  
.card-body {
    padding: 20px;     
    text-align: center;
}
.card-body img {
    width: 120px;
    height: 120px;
    margin: 50px 30px 10px 30px;
}

.card-footer {
    border-top: 3px solid #08343A;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    
}
.card-footer a {
    color: var(--font-color);
    text-decoration: none;
}


footer {
    background-color: var(--font-color);
}

.Facebook{
    background-color: #3b5998;
    border-radius: 50%;
}
.Twitter{
    background-color: #00acee;
    border-radius: 50%;
}
.Instagram{
    background-color: #dd4b39;
    border-radius: 50%;
}
.google{
    background-color: #ac2bac;
    border-radius: 50%;
}
.input-search{
    border: 2px solid var(--font-color);
    border-radius: 5px;
    margin-bottom: 8px;
    height: 34px;
}
.btn-search{
    margin-left: 10px;
}
.offcanvas{
    background: linear-gradient(to right, rgba(73, 184, 97, 0.986), #08343A);
    color: var(--secondary-color);
}
.offcanvas-title span{
    color: var(--font-color);
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.dropdown-menu li {
    list-style: none;
}

.nav-item.dropdown .dropdown-menu.show {
    display: flex;
    flex-direction: row;   
    gap: 40px;              
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    border: none;   
    background: transparent;
}
.nav-item.dropdown .dropdown-menu.show a {
    border: none;
    font-size: 20px;
    background-color: var(--font-color);
    color: var(--primary-color);
    border-radius: 10px;
}
.nav-item.dropdown .dropdown-menu.show a:hover {
    border-bottom: 4px solid var(--font-color);
    border-top: 4px solid var(--font-color);
    font-size: 20px;
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 10px;
}
.navbar-toggler{
    border: none;
}

.nav-login{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
    color: var(--font-color);
}
.CONNEXION{
    margin-top: 15%;
    margin-left: 20%;
}
.INSCRIPTION{
    margin-top: 10%;
    margin-left: 20%;
}
@media screen and (max-width: 576px) {
    .CONNEXION {
      margin-top: 45%;
      margin-left: auto;   
      margin-right: auto; 
      padding: 0 15px;     
    }
    .INSCRIPTION{
        margin-top: 25%;
        margin-left: auto;   
        margin-right: auto; 
        padding: 0 15px;     
    }
  }

.login h3{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
    color: var(--font-color);
}

.form-check-label , .form a{
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: var(--font-color);
    font-size: 15px;
}
.email, .password, .nom, .prenom, .tele{
    margin-top: 15px;
    border: none;
    background-color: var(--primary-color);
    border-radius: 30px;
    height: 43px;
    width: 350px;
    padding-left:45px;
    padding-right:23px;
}

.login .login .password::placeholder, .email::placeholder{
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}



.btn-connecter{
    border: none;
    border-radius: 30px;
    background-color: var(--font-color);
    color: var(--primary-color);
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    padding-left: 10px;
    margin-top: 30px;
    width: 220px;
}
.btn-connecter:hover{
    border: 2px solid var(--font-color);
}
.connecter{
    margin-left: 60px;
}
.creer {
    display: inline-block;        
    background-color: var(--primary-color);    
    color: var(--font-color);                
    padding: 6px 12px;            
    border-radius: 10px;         
    text-decoration: none;      
    font-weight: 500;      
    font-size: 10px;   
    margin-top: 20px;
  
}
.creer:hover {
    background-color: #e5e5e5;    
    text-decoration: none;        
}
.div-creer-login{
    margin-left: 100px;
}
.div-creer-inscription{
    margin-left: 124px;
}
.form-check-input.rounded-check {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;  
    appearance: none !important;      

    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;    
    cursor: pointer;
    outline: none;
    position: relative;
    background-color: #fff; 
}
  
.form-check-input.rounded-check:checked {
    background-color: var(--secondary-color);  
    background-image: url("data:image/svg+xml,%3Csvg fill='white' stroke='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.285 2.957L9 14.243l-5.285-5.285-2.628 2.628L9 19.5 22.913 5.585z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
}
.form-mot-de-passe{
    margin-left: 80px;
}

.position-absolute img {
    width: 25px;
    height: 25px;
    margin-top: 15px;
}  
.custom-input {
    border-radius: 30px;
    height: 45px;
    padding-left: 45px;  /* Adjust if you're adding an icon */
    transition: all 0.3s ease-in-out;
}
  

.custom-input:focus {
    transform: scale(1.02);          /* Slightly enlarge the input */
    outline: none;
}
  
  /* Optional: animate placeholder color on focus */
.custom-input::placeholder {
    transition: color 0.3s ease-in-out;
}
  
.custom-input:focus::placeholder {
    color: #999;
}