
@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 {
    /* Premium Palette tuned to align perfectly with your logo colors */
    --cream-bg: #fafafa;
    --card-bg: #ffffff;
    --sage-dark: #0a1915;      
    --sage-mid: #253d35;       
    --sage-light: #5d7e73;     
    --sage-soft: #e5ede9;      
    --warm-green-glow: rgba(94, 196, 114, 0.12);
    --accent-glow: #63cc66;
    --apricot-cta: #0141a4; /* Matched to the deep modern blue in the first half of your logo */
    --apricot-hover: #002d75;
    
    /* Catchy & Geometric Modern Typefaces */
    --font-display: 'kastelov', sans-serif;
    --font-sans: 'kastelov-light', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;

}


body {
    /* background: #E7F1EA; */
    color: var(--sage-dark);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography Hierarchy */
h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--sage-dark);
    line-height: 1.1;
}

h1 { font-size: 4.6rem; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em; color: var(--sage-dark); }

p { color: #43544e; font-weight: 400; }

/* Utilities */
.text-center { text-align: center; }
.max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

.section-tagline {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--apricot-cta);
    margin-bottom: 16px;
}

/* Premium Sticky Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #E7F1EA;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(10, 25, 21, 0.04);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Logo Container */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 48px;
}

.nav-links a {
    color: var(--sage-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--apricot-cta);
}

.nav-cta {
    background: var(--sage-dark);
    color: var(--cream-bg);
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
    background: var(--apricot-cta);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(1, 65, 164, 0.2);
}

/* Aesthetic Hero Section & Pulsating Glow Indicator */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    
    
/* Generous spacing safeguards content layouts from the curve cuts */
    padding-top: 140px;
    padding-bottom: 320px; 
    
    /* Slices the bottom edge using the responsive path mask */
    /* clip-path: url(#hero-wave-cutter);
    -webkit-clip-path: url(#hero-wave-cutter); */
}
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces video to behave like background-size: cover */
    z-index: 1; /* Pushes video to back layer */
    opacity: 0.6; /* Optional: Dims the video slightly for text contrast */
}


.hero-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
background: radial-gradient(
    circle at center,
    rgba(63, 140, 80, 1) 0%,      /* Vibrant deep green right at the focal point */
    rgba(20, 55, 38, 1) 30%,     /* Rapidly deepens into a solid, heavy dark green layer */
    rgba(1, 5, 4, 1) 45%,        /* The "entering layers" become almost completely dark here */
    rgba(1, 5, 4, 1) 100%           /* Absolute pitch black out to the edges */
);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.badge-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #63cc66;
    position: relative;
}

/* Pulsating Animation System */
.badge-dot.pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: #63cc66;
    animation: radialPulse 2s infinite ease-in-out;
}

@keyframes radialPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

.badge-text {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero h1 {
    color: var(--cream-bg);
    margin-bottom: 28px;
}

.hero p {
    font-size: 1.35rem;
    color: #ffffff;
    max-width: 750px;
    margin-bottom: 52px;
}

.hero-actions {
    display: flex;
    gap: 24px;
}

/* Master Action Buttons */
.primary-btn {
    background: var(--apricot-cta);
    color: var(--cream-bg);
    padding: 20px 42px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-btn:hover {
    transform: translateY(-4px);
    background: var(--apricot-hover);
    box-shadow: 0 16px 32px rgba(1, 65, 164, 0.25);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream-bg);
    padding: 20px 42px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--cream-bg);
    color: var(--sage-dark);
}

/* Partners Section */
.sponsors-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    border-bottom: 1px solid rgba(10, 25, 21, 0.03);
    
}

.sponsors-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage-light);
    margin-bottom: 32px;
    font-weight: 700;
    text-align: center;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 150px;
    align-items: center;
    width: 100%;
    justify-items: center;
}
.delivery_partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 90px;
  
}   

/* .sponsor-card {
    background: var(--cream-bg);
    border: 1px solid rgba(10, 25, 21, 0.04);
    padding: 20px 24px;
    border-radius: 14px;
    font-size: 0.95rem;
    color: var(--sage-mid);
    font-weight: 500;
    text-align: center;
    transition: all 0.25s ease;
} */
.sponsors-grid img {
    width: min(100%, 220px);
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
}

.sponsor-card:hover {
    border-color: var(--sage-light);
    transform: translateY(-2px);
}

/* Overview and Metrics Section */
.overview {
    padding: 140px 0;
    background-color: var(--card-bg);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4e5f59;
    margin-top: 24px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.metric-card {
    background: var(--cream-bg);
    border: 1px solid rgba(10, 25, 21, 0.04);
    padding: 44px 36px;
    border-radius: 24px;
}

.highlight-metric {
    grid-column: span 2;
    background: var(--sage-soft);
    border: none;
    text-align: center;
    
    
}

.metric-val {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 600;
    color: var(--sage-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-card p {
    font-weight: 500;
    font-size: 1rem;
    color: var(--sage-mid);
}

/* Contact Highlight Section */
.contact-highlight-section {
    padding: 0 0 120px;
    margin-top: 7%;
}

.contact-card {
    background: linear-gradient(135deg, #f5f8f3 0%, #ffffff 100%);
    border: 1px solid rgba(10, 25, 21, 0.06);
    border-radius: 32px;
    padding: 42px;
    box-shadow: 0 20px 50px rgba(39, 79, 61, 0.08);
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 1.05rem;
    color: #51665c;
    margin-bottom: 0;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.contact-group {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(10, 25, 21, 0.05);
    border-radius: 18px;
    padding: 20px 22px;
}

.contact-group h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--sage-dark);
}

.contact-group p {
    margin-bottom: 8px;
    font-size: 0.98rem;
}

/* Value Chain Cards Design Layout */
.sectors-section {
    padding: 140px 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-desc {
    font-size: 1.25rem;
    margin-top: 16px;
    color: #4e5f59;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
   
}
.grid-4 {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    
}
html[lang="fr"] .grid-3{
  display: none;
}


html[lang="fr"] .grid-4{
  display: grid;
}

/* html[lang="fr"] #en_faq{
        display: none;
}


html[lang="fr"] #fr_faq{    
background: var(--apricot-cta);
    color: var(--cream-bg);
    padding: 20px 42px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
html[lang="en"] #fr_faq{
    display: none;
} */


#en_faq,#fr_faq{
    display: none;
}
    

html:not([lang="fr"]) #en_faq {
    display: block;
  background: var(--apricot-cta);
    color: var(--cream-bg);
    padding: 20px 42px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align:center;
}

html[lang="fr"] #fr_faq{
    display:block;
  background: var(--apricot-cta);
    color: var(--cream-bg);
    padding: 20px 42px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}



#apply_form_fr,#apply_form_en{
    display: none;
}
   
html:not([lang="fr"]) #apply_form_en{   

 display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--apricot-cta);
    border: 2px solid var(--apricot-cta);
    border-radius: 14px;
    padding: 16px 26px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 20px;
    text-align: center;
}
html[lang="fr"] #apply_form_fr{
display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--apricot-cta);
    border: 2px solid var(--apricot-cta);
    border-radius: 14px;
    padding: 16px 26px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 20px;
    text-align: center;
}

.premium-card {
    background: var(--card-bg);
    border: 1px solid rgba(10, 25, 21, 0.05);
    padding: 56px 44px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 25, 21, 0.01);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ambient Layered Hover Glows */
.card-glow-layer {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--warm-green-glow);
    filter: blur(50px);
    border-radius: 50%;
    top: -80px;
    right: -80px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.card-decorator {
    position: absolute;
    bottom: 0;
    left: 44px;
    width: 40px;
    height: 3px;
    background: var(--sage-soft);
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* Interactive Card Hover States */
.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(10, 25, 21, 0.04);
    border-color: rgba(99, 204, 102, 0.3);
}

.premium-card:hover .card-glow-layer {
    opacity: 1;
    transform: translate(-20px, 20px);
}

.premium-card:hover .card-decorator {
    width: calc(100% - 88px);
    background: var(--accent-glow);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 32px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.premium-card:hover .card-icon {
    transform: scale(1.1) rotate(-4deg);
}

.premium-card h3 {
    margin-bottom: 18px;
}

.premium-card p {
    font-size: 1.02rem;
    color: #556660;
}

/* Final CTA Section Box */
.final-cta {
    padding: 0 0 140px;
}

.cta-box {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--sage-dark);
    padding: 88px 44px;
    border-radius: 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(10, 25, 21, 0.85), rgba(10, 25, 21, 0.7)), 
                      url('../pattern.png');
    
    /* Standard crisp background properties */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-box h2 {
    color: var(--cream-bg);
    font-size: 3.2rem;
    margin-bottom: 24px;
}

.cta-box p {
    color: var(--sage-soft);
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 52px;
}

.alternate-apply-section {
    padding: 60px 0;
    background: #f7faf6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alternate-apply-box {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(37, 57, 43, 0.08);
    border-radius: 28px;
    padding: 46px 42px;
    box-shadow: 0 24px 60px rgba(39, 79, 61, 0.08);
}

.alternate-apply-box h2 {
    font-size: 2.8rem;
    margin-bottom: 18px;
    color: var(--sage-dark);
}

.alternate-apply-box p {
    font-size: 1.05rem;
    color: #426049;
    margin-bottom: 20px;
}

.alternate-apply-box ol {
    margin: 0;
    padding-left: 24px;
    color: #475D50;
    margin-bottom: 30px;
    line-height: 1.8;
}

.alternate-apply-box ol li {
    margin-bottom: 14px;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--apricot-cta);
    border: 2px solid var(--apricot-cta);
    border-radius: 14px;
    padding: 16px 26px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 20px; 
    text-align: center;
}

.btn-secondary:hover {
    background: var(--apricot-cta);
    color: var(--cream-bg);
    transform: translateY(-2px);
}

.btn-secondary .icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Structural Footer Layout */
.footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--sage-soft);
    padding: 80px 0 40px;
}

.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 2000;
}

.success-modal[hidden] {
    display: none;
}

.success-modal-card {
    width: min(100%, 480px);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 700;
}

.success-modal-card h2 {
    font-family: var(--font-display);
    color: #14532d;
    margin-bottom: 10px;
}

.success-modal-card p {
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.7;
}

.success-modal-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

body.modal-open {
    overflow: hidden;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-mission {
    max-width: 400px;
    font-size: 1rem;
    color: #61736d;
}

.footer-bottom {
    border-top: 1px solid var(--sage-soft);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--sage-light);
}

/* Responsive Adaptive Viewports */
@media (max-width: 992px) {
    h1 { font-size: 3.6rem; }
    h2 { font-size: 2.6rem; }
    .overview-grid { grid-template-columns: 1fr; gap: 48px; }
    .highlight-metric { grid-column: span 1; }
    .metrics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .nav-links { display: none; }
    h1 { font-size: 2.6rem; }
    .hero p { font-size: 1.2rem; }
    .hero-actions { flex-direction: column; }
    .cta-box h2 { font-size: 2.2rem; }
    .premium-card { padding: 40px 32px; }
    .cta-box { padding: 60px 24px; }
    .contact-card {
        padding: 32px 24px;
    }
    .contact-details {
        grid-template-columns: 1fr;
    }
}

/* Metric Card Alignment Fix */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.metric-card .metric-val {
    margin-bottom: 0; /* Handled by the parent row layout now */
}

/* Base Flag Badge Styling */
.flag-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 12px rgba(10, 25, 21, 0.08);
    border: 1px solid rgba(10, 25, 21, 0.05);
    position: relative;
    flex-shrink: 0;
}

/* --- Ghana Flag Logic (Horizontal Stripes) --- */
.ghana-flag {
    flex-direction: column;
}
.ghana-flag .stripe {
    flex: 1;
    width: 100%;
}
.ghana-flag .red { background-color: #EF3340; }
.ghana-flag .yellow { 
    background-color: #FFD100; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ghana-flag .green { background-color: #009739; }
.ghana-flag .star {
    color: #000000;
    font-size: 14px;
    line-height: 0;
    position: absolute;
    top: 45%;
}

/* --- Senegal Flag Logic (Vertical Columns) --- */
.senegal-flag {
    flex-direction: row;
}
.senegal-flag .column {
    height: 100%;
    flex: 1;
}
.senegal-flag .green { background-color: #00853F; }
.senegal-flag .yellow { 
    background-color: #FDEF42; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.senegal-flag .red { background-color: #E31B23; }
.senegal-flag .star {
    color: #00853F;
    font-size: 12px;
    line-height: 0;
    position: absolute;
}
html, body {
    overflow-x: hidden; /* Prevents unwanted horizontal scrollbars during sweeping animations */
}

/* Ensure smooth cubic deceleration curves for card transforms */
.premium-card, .metric-card, .sponsors-grid img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease !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;
}


