
body, html {
    height: 120%;
    width: 100%;
    margin: 0; 
     background: linear-gradient(
    to bottom,
    #f6eee2 0%,
      #0c6e3d 100%   
    
  )


}
.big{
    background: url('photos/bg.png ') repeat;
}

@font-face {
    font-family: 'TitleFont';
    src: url('fonts/title font.ttf') format('truetype');
}

@font-face {
    font-family: 'TextFont';
    src: url('fonts/texte font.otf') format('opentype');
}
.main {
  min-height: 105vh;
   

  width: 100%;

 
}


.main-container {
    /* height: 115vh; */
    height: auto;
    padding: 35px;
      /* ps: error detected   */
    /* SOLUTOiN FOUND hehehe */
}



* {
  box-sizing: border-box;
}
.form-wrapper {
    width: 100%;
    max-width: 450px;
    
}




.form-title {
    font-family: 'TitleFont', Arial, sans-serif !important;
    font-weight: normal;
    color: #1a3a2d;
    font-size: 5rem;
    
  
    text-align: center;     
    width: 100%;             
    margin: 20px auto;
    display: block;          
}

.custom-input {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; 
    padding: 12px 25px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    backdrop-filter: blur(5px);
}


.id-card-section .btn-outline-light {
    font-size: 0.9rem;
    border-style: dashed;
}

#imagePreview {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}
.custom-input::placeholder {
    color: #7A7A73;
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.3) !important;
    box-shadow: none;
    border-color: #fff;
}


.form-check-label {
    color: #0d1210;
    font-size: 1.1rem;
    cursor: pointer;
    margin-right: 200px;
    padding: 20px;
}

.form-check-input {
    background-color: transparent;
    border: 1.5px solid #1a3a2d;
    float: none;
    margin-left: 0;
}

/* Bouton d'inscription */
.btn-register {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 10px;
    color: #1a3a2d;
    font-weight: bold;
    transition: 0.3s;
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #000;
}



/* ############################################## */
.custom-navbar {
  background-color: #e9e9df;
  padding: 12px 30px;
}

/* Left section */
.nav-left i {
  font-size: 30px;
  cursor: pointer;
  
}
.nav-btn {
  background: #deded6;
  border: none;
  padding: 20px 20px;
  border-radius: 999px;
  font-size: 17px;
  cursor: pointer;
  transition: 0.3s;
}

.nav-btn:hover {
  background: #cfcfc6;
}

/* Center menu */
.nav-center {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  background: #d8d8cf;
  border-radius: 999px;
}

.nav-center li a {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
  color: #000;
  font-size: 17px;
  border-radius: 999px;
  transition: 0.3s;
}

/* Active item */
.nav-center li.active a {
  background: #bfbfb5;
  font-weight: bold;
}

/* Hover */
.nav-center li a:hover {
  background: #cfcfc6;
}

.nav-btn a {
    text-decoration: none;
    color: #000000;
    display: inline-block; 
}

.nav-btn a:visited {
    color: #000000;
}

.nav-btn a:hover {
    text-decoration: none;
    opacity: 0.8; 
}


.nav-logo img {
  height: 80px;
}

/* ###### */
.btn-register a {
    text-decoration: none !important;
    color: #000000 !important;        
    display: block;                  
    width: 100%;
}

.btn-register a:hover, 
.btn-register a:focus,
.btn-register a:active {
    text-decoration: none !important;
    color: #000000 !important;
}

/* ############################################## */

.mobile-menu-btn {
  display: none;
  font-size: 25px;
  cursor: pointer;
}




/* FOOOOTERRRRRR */


.footer {
    background-color: #0c6e3d;
    padding: 3rem 4rem;
    direction: rtl;
    position: relative;
    z-index: 10;
    border-top: 1px solid #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-logo {
    text-align: center;
    width: 30%
    ;
}

.footer-logo img {
    height: 220px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 60px;
    height: 65px;
    object-fit: contain;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-links {
    text-align: right;
}

.footer-links h3 {
    color: #0e0e0e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    color: #ffff;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    gap: 1rem;
}

.link-icon {
    width: 60px;
    height: 65px;
    object-fit: contain;
}

.footer-links a:hover {
    color: #ffff;
    transform: translateX(-5px);
}

.footer-contact {
    text-align: right;
}

.footer-contact h3 {
    color: #0e0e0e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-contact p {
    color: #ffff;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
}

.contact-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


/* imma change it later , not working  */

/* Responsive */
@media (max-width: 768px) {
  .footer-box {
    margin-bottom: 30px;
    text-align: center;
  }
} 

/* Responsive Styles */ 
@media (max-width: 900px) {
    .main-title {
        font-size: 3rem;
    }

    .sub-title {
        font-size: 2.5rem;
    }

    .section-text,
    .centered-text-section p {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-menu {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        justify-content: center;
    }

    .main-menu,
    .alt-menu {
        justify-content: center;
    }

    .sub-nav-bar {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .image-section {
        flex-direction: column;
        padding: 2rem 1rem;
        text-align: center;
    }

    .image-section-reverse {
        flex-direction: column;
    }

    .featured-image {
        width: 100%;
        max-width: 400px;
    }

    .read-more-btn {
        margin-right: 0;
        margin-top: 2rem;
    }

    .centered-text-section {
        padding: 2rem 1rem;
        text-align: center;
    }

    .centered-text-section p {
        text-align: center;
    }

    .types-section {
        padding: 2rem 1rem;
    }

    .types-title {
        font-size: 2.5rem;
    }

    .types-grid {
        gap: 2rem;
    }

    .type-item img {
        height: 100px;
    }

    .news-grid {
        gap: 1.5rem;
    }

    .news-item {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .news-item img {
        height: auto;
        aspect-ratio: 4/3;
    }

    .footer {
        padding: 2rem 1rem;
    }
}


/* buttom bar footer */


.footer-bottom-bar {
    background-color: #0c6e3d; 
    padding: 20px 0;
    width: 100%;
    border-top: 1px solid #fff;
}

.footer-container {
    max-width: 1400px; 
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; 
    padding: 0 40px;
}

.footer-right {
    display: flex;
    gap: 30px; 
}

.footer-link {
    color: #000000;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
    white-space: nowrap; 
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        justify-content: center;
    }
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}