@font-face {
    font-family: 'kastelov';
    src: url('../FONT/Kastelov-AxiformaBlack.otf') format('opentype');
    /* font-weight: normal;
    font-style: normal; */
}

@font-face {
    font-family: 'kastelov-light';
    src: url('../FONT/Kastelov-AxiformaLight.otf') format('opentype');
    /* font-weight: normal;
    font-style: normal; */
}

:root {

    --font-display: 'Space Grotesk', sans-serif;
    --font-sans: 'Inter', sans-serif;

    --primary: #2563eb;
    --primary-light: #dbeafe;

    --border: #e5e7eb;
        --font-display: 'kastelov', sans-serif;
    --font-sans: 'kastelov-light', sans-serif;

}

body {

    background-color: #E7F1EA;
    font-family: var(--font-sans);
    color: #111827;

}

.form-card {

    max-width: 1100px;

    margin: auto;

    background: white;

    border-radius: 24px;

    padding: 50px;

    box-shadow:
        0 20px 45px rgba(15, 23, 42, .08),
        0 5px 10px rgba(15, 23, 42, .03);

}

h1 {

    font-family: var(--font-display);

    font-size: 2.3rem;

    font-weight: 700;

}

.subtitle {

    color: #6b7280;

    margin-bottom: 40px;

}

.section-title {

    font-family: var(--font-display);

    font-size: 1.2rem;

    font-weight: 600;

    color: #1e3a8a;

    display: flex;

    align-items: center;

    margin-top: 45px;

    margin-bottom: 25px;

}

.section-title::after {

    content: "";

    flex: 1;

    height: 1px;

    background: #e5e7eb;

    margin-left: 18px;

}

.form-label {

    font-weight: 600;

    margin-bottom: 8px;

}

.field-error {

    color: #dc2626;

    font-size: .875rem;

    font-weight: 600;

    margin-bottom: .4rem;

}

.form-control {

    border-radius: 12px;

    border: 1px solid var(--border);

    padding: .8rem 1rem;

    transition: .25s;

}

.form-control:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 .25rem rgba(37, 99, 235, .12);

}

.form-control.is-invalid,
.form-select.is-invalid,
.checkbox-group.is-invalid {

    border-color: #dc2626;

    box-shadow: 0 0 0 .2rem rgba(220, 38, 38, .12);

}

.checkbox-group.is-invalid {

    background: #fef2f2;

    border-color: #fca5a5;

}

textarea {

    min-height: 140px;

}

.checkbox-group {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    padding: 18px;

    background: #f8fafc;

    border: 1px solid #edf2f7;

    border-radius: 14px;

}

.form-check-input {

    transform: scale(1.15);

}

.info-box {

    background: #eff6ff;

    border-left: 4px solid var(--primary);

    padding: 12px 18px;

    border-radius: 10px;

    color: #1d4ed8;

    font-size: .9rem;

}
.info-box1{
    display: none;
      background: #eff6ff;

    border-left: 4px solid var(--primary);

    padding: 12px 18px;

    border-radius: 10px;

    color: #1d4ed8;

    font-size: .9rem;
}
.btn-primary {

    background: var(--primary);

    border: none;

    border-radius: 12px;

    padding: 14px 32px;

    font-weight: 600;

    transition: .3s;

}

.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow: 0 12px 25px rgba(37, 99, 235, .25);

}

.value-chain-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: grid;
    place-items: center;
    padding: 24px;
    z-index: 2000;
}

.value-chain-modal[hidden] {
    display: none;
}

.value-chain-modal-content {
    position: relative;
    max-width: 1500px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.value-chain-modal-content img {
    width: 100%;
    height: auto;
    display: block;
   
}

.value-chain-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 1.4rem;
    cursor: pointer;
}

@media (max-width:768px) {

    .form-card {

        padding: 30px 22px;

    }

    h1 {

        font-size: 2rem;

    }

    .value-chain-modal-content {
        padding: 12px;
    }

}

/* Smoothly handle layout transitions while translation script evaluates data */
body.translated {
    transition: opacity 0.15s ease-in-out;
}

/* Ensure GTranslate widget drop-down inherits custom look accurately */
.gtranslate_wrapper select {
    background-color: var(--cream-bg) !important;
    color: var(--sage-dark) !important;
    font-family: var(--font-sans) !important;
    border: 1px solid rgba(10, 25, 21, 0.15) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
}
#google_translate_element {
  display: block !important;
  visibility: visible !important;
  min-height: 38px;
}

/* Fix unwanted layout shifts from Google's top bar */
body {
  top: 0px !important;
}

/* Hide the top banner if it interferes with navigation */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}



html[lang="fr"] .info-box{
  display: none;
}


html[lang="fr"] .info-box1{
  display: block;
}