
    :root {
      --green: #006747;
      --green-dark: #1b5e20;
      --gold: #f5c518;
      --text: #1a1a1a;
      --muted: #666;
      --border: #e0e0e0;
      --of-green: #006747;
      --of-green-dark: #1e6b39;
      --of-text-dark: #1a1a1a;
      --of-text-muted: #6b7280;
      --of-border: #e5e7eb;
      --of-bg: #f9fafb;
      --ci-navy:     #1a3a5c;
      --ci-blue:     #2e7eb8;
      --ci-teal:     #4ab5a0;
      --ci-teal-lt:  #7fd6c5;
      --ci-green:    #006747;
      --ci-green-dk: #2d8c4e;
      --ci-text:     #1a1a1a;
      --ci-muted:    #555;
      --ci-border:   #e5e7eb;
      --ci-bg:       #f9fafb;
      --red: #ef3340;
    }
   /* ── Inter Variable Font ── */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ── Apply globally ── */
*, *::before, *::after {
  font-family: 'Inter', sans-serif;
}

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {  color: var(--text); 
      background: #fff; 
      font-size: 14px; overflow-x: hidden;}

    /* Hide Google Translate toolbar & badge completely */

      /* Force body to never shift down */
      body {
        top: 0 !important;
        position: relative !important;
      }
  
      /* Hide the hidden mount element */
      #google_translate_element { display: none !important; }
  
      /* Kill the top iframe banner Google injects */
      .goog-te-banner-frame { display: none !important; }
      .goog-te-banner-frame.skiptranslate { display: none !important; }
  
      /* Kill the balloon / tooltip frames */
      .goog-te-balloon-frame { display: none !important; }
      .goog-tooltip,
      .goog-tooltip:hover { display: none !important; }
  
      /* Kill the gadget widget itself */
      .goog-te-gadget { display: none !important; }
      .goog-te-gadget-simple { display: none !important; }
  
      /* Remove yellow text highlight on translated elements */
      font[color="red"] { color: inherit !important; }
  
      /* Catch-all: any skiptranslate iframe Google adds */
      iframe.skiptranslate { display: none !important; }
  

    .site-header {
        position: relative;
      }
      
      /* Floating logo */
      .site-logo {
        position: absolute;
        left: 24px;
        top: 5px;               /* adjusts vertical overlap */
        z-index: 10;
      }
      
      .site-logo img {
        height: 80px;           
        width: auto;
      }
      
    
    /* Top bar */
    .top-bar {
        background: #fff;
      }
      
      .lang-btn {
        background: none;
        border: none;
        font-size: 16px;
        color: #000000;
        display: flex;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        font-weight: 500;
      }

      /* Hero */
      .hero-section {
        min-height: 80vh;
        background: url("../images/mountain.jpg") center/cover no-repeat;
        display: flex;
        align-items: center;
      }
      
      /* Overlay */
      .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
          rgba(255, 255, 255, 0.85),
          rgba(240, 248, 255, 0.9)
        );
        z-index: 1;
      }
      
      .hero-content {
        z-index: 2;
        max-width: 900px;
      }
      
      .hero-title {
        font-size: 2.6rem;
        font-weight: 700;
        color: #006747;
      }
      
      .hero-subtitle {
        font-size: 1.1rem;
        color: #555;
      }
      
      /* Opportunity Finder */
      .opportunity-finder {
        background: transparent;
      }
      

    /* Nav bar (white row with links) */
    .navbar-row {
      background: #fff;
      padding: 0 16px;
      display: flex;
      align-items: center;
      flex: 1;
      min-height: 38px;
    }
    .nav-link {
      display: flex;
      list-style: none;
      gap: 2px;
      align-items: center;
      flex-wrap: wrap;
    }
    .nav-link a {
      font-size: 12.5px;
      color: var(--text);
      text-decoration: none;
      padding: 5px 9px;
      border-radius: 4px;
      white-space: nowrap;
      transition: color .15s, background .15s;
      font-weight: 400;
    }
    .nav-link a:hover, .nav-link a.active { color: #006747 !important;  }
    .nav-item a:hover, .nav-item a:active { color: #006747 !important;  }

    /* Override Bootstrap's nav-link color for your navbar */
.navbar .nav-link {
    font-size: 12.5px;
    color: #333;
    padding: 5px 9px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 400;
    transition: color 0.15s, background 0.15s;
  }
  
  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    color: #006747 !important;
    background: transparent;
  }
   /* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
}

@media (max-width: 991px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    z-index: 999;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .site-logo img {
    height: 70px;
    width: auto;
  }
}
/* Override Bootstrap navbar toggler to match design */
.navbar-toggler {
  border: none !important;
  padding: 6px;
  margin-left: auto;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none !important;
}

/* Hide Bootstrap's default toggler icon */
.navbar-toggler-icon {
  display: none !important;
}

.navbar-toggler .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #0081a8;
  border-radius: 2px;
}

.btn-primary{
  background: #0081a8 !important;
}

    /*  HERO */
    .hero {
      position: relative;
      min-height: 260px;
      display: flex;
      align-items: center;
      padding: 40px 0 36px;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background: rgba(30, 80, 40, 0.62);
    }
    .hero-inner {
      position: relative; z-index: 2; width: 100%;
    }

    /* Centered hero text block */
    .hero-center {
      text-align: center;
      max-width: 560px;
      margin: 0 auto;
    }
    .hero-center h1 {
      font-size: clamp(1.25rem, 3vw, 1.85rem);
      font-weight: 700;
      color: var(--gold);
      line-height: 1.25;
      margin-bottom: 10px;
    }
    .hero-center .hero-sub {
      font-size: 13px;
      color: rgba(255,255,255,.88);
      margin-bottom: 18px;
      line-height: 1.65;
    }

    /* Opportunity Finder — centered below subtitle */
    .opp-box {
      background: #fff;
      border-radius: 6px;
      padding: 12px 14px 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,.22);
      max-width: 430px;
      margin: 0 auto;
      text-align: left;
    }
    .opp-title {
      font-size: 13px; font-weight: 600; color: var(--text);
      margin-bottom: 10px; text-align: center;
    }
    .opp-selects { display: flex; gap: 8px; margin-bottom: 8px; }
    .opp-selects select {
      flex: 1; border: 1px solid var(--border); border-radius: 4px;
      padding: 7px 22px 7px 9px; font-size: 12px; color: #888;
      background: #fff; outline: none; appearance: none;
      font-family: 'Inter', sans-serif; cursor: pointer;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23aaa'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 7px center;
    }
    .opp-selects select:focus { border-color: var(--green); }

    /* Search row: dropdowns + button inline */
    .opp-search-row { display: flex; gap: 8px; align-items: center; }
    .opp-search-row select {
      flex: 1; border: 1px solid var(--border); border-radius: 4px;
      padding: 7px 22px 7px 9px; font-size: 12px; color: #888;
      background: #fff; outline: none; appearance: none;
      font-family: 'Inter', sans-serif; cursor: pointer;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23aaa'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 7px center;
    }
    .opp-search-row select:focus { border-color: var(--green); }
    .btn-search {
      display: flex; align-items: center; gap: 5px;
      background: var(--green); color: #fff; border: none;
      border-radius: 4px; padding: 7px 14px; font-size: 12.5px; font-weight: 500;
      cursor: pointer; font-family: 'Inter', sans-serif; transition: background .2s;
      white-space: nowrap; flex-shrink: 0;
    }
    .btn-search:hover { background: var(--green-dark); }

    /*   WHO WE ARE */
    .sec-who { padding: 60px 0 60px; }
    .sec-lbl {
      display: inline-block;
      font-size: 13px; font-weight: 600; color: var(--text);
      border-bottom: 2.5px solid var(--gold);
      padding-bottom: 2px; margin-bottom: 14px;
    }
    /* Green heading exactly like screenshot */
    .sec-who h2 {
      font-size: 1.3rem; font-weight: 700;
      color: #000000;
      margin-bottom: 14px; line-height: 1.4;
    }
    .sec-who p { font-size: 16px; color: var(--muted); line-height: 1.78; margin-bottom: 10px; }

    /* Stat rotator */
    .slide { display: none; }
    .slide.on { display: block; }
    .stat-wrap { text-align: center; padding: 10px 20px 0; }
    /* Icon */
    .stat-ico {
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 10px;
    }
    .stat-ico i { font-size: 3.8rem; color: #555; }
    .stat-num { font-size: 3rem; font-weight: 700; color: var(--text); line-height: 1; }
    .stat-lbl { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 400; }
    .dot-row { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
    .dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; border: none; cursor: pointer; transition: background .2s; padding: 0; }
    .dot.on { background: var(--green); }

    /*  CLIMATE FINANCE FLOWS */
    .sec-finance-wrap {
      position: relative;
      background: #fff; /* white below */
      padding-bottom: 36px;
    }
    /* The dark image band — top portion only */
    .fin-bg {
      background: url('../images/farm.jpg') center/cover no-repeat;
      position: relative;
      padding: 40px 0 120px; /* extra bottom padding so cards overlap below */
      min-height: 350px;
    }
    .fin-bg::before {
      content: ''; position: absolute; inset: 0;
      background: rgba(10,38,14,.74);
    }
    .fin-bg-inner { position: relative; z-index: 2; margin-top: 40px; }
    .fin-bg h2 { font-size: 2rem; font-weight: 700; color: white; text-align: center; margin-bottom: 6px; }
    .gold-bar { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0 auto 0; }

    /* Cards row — pulled UP to overlap the image bottom */
    .fin-cards-row {
      margin-top: -200px; /* pull cards up into the image */
      position: relative;
      z-index: 3;
    }
    /* White cards */
    .fin-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 60px 25px;
      color: var(--text);
      height: 100%;
      box-shadow: 0 4px 15px rgba(0,0,0,.08);
      min-height: 400px;
    }
    .fin-ico {
      width: 100px; 
      height: 100px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .fin-ico i { font-size: 4rem; color: var(--green); margin-bottom: 20px;}
    .fin-lbl { font-size: 1.1rem; font-weight: 500; color: var(--muted); margin-bottom: auto; padding: 0 10px;}
    .fin-val { font-size: 3.2rem; font-weight: 800; color: var(--text); line-height: 1; margin-top: 20px;}
    /* Middle highlighted card — green */
    .fin-card.hi {
      background: var(--green);
      border-color: var(--green);
      color: #fff;
    }
    /* .fin-card.hi .fin-ico { background: rgba(255,255,255,.18); } */
    .fin-card.hi .fin-ico i { color: #fff; }
    .fin-card.hi .fin-lbl { color: rgba(255,255,255,.8); }
    .fin-card.hi .fin-val { color: #fff; }

    /* Dots + button below cards on white */
    .fin-below { padding-top: 20px; }
    .fin-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 20px; }
    .fdot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; border: none; cursor: pointer; transition: background .2s; padding: 0; }
    .fdot.on { background: var(--green); }

    .btn-g {
      display: inline-flex; align-items: center; gap: 7px;
      background: var(--green); color: #fff; border: none; border-radius: 5px;
      padding: 9px 20px; font-size: 13px; font-weight: 500;
      cursor: pointer; font-family: 'Inter', sans-serif; text-decoration: none;
      transition: background .2s;
    }
    .btn-g:hover { background: var(--green-dark); color: #fff; }

    /* KNOWLEDGE HUB */
    .sec-knowledge { padding: 50px 0 44px; }
    .sec-knowledge h2, .sec-lbl.kn { font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 20px; }
    .sec-knowledge p { font-size: 16px; color: var(--muted); line-height: 1.78; margin-bottom: 20px; }
    .kh-card { border: 1px solid var(--border); border-radius: 7px; overflow: hidden; height: 100%; transition: box-shadow .2s, transform .2s; }
    .kh-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-3px); }
    .kh-card img { width: 100%; height: 300px; object-fit: cover; display: block; padding: 10px; border-radius: 20px;}
    .kh-body { padding: 13px 14px 14px; }
    .kh-date { font-size: 14px; color: var(--muted); margin-bottom: 5px; margin-top: 5px; }
    .kh-title { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.4; padding-bottom: 20px;}
    

    /* PARTNERS */
    .sec-partners { padding: 44px 0 40px; border-top: 1px solid var(--border); }
    .partner-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 28px; }
    .partner-item img {
        width: 150px; 
        height: 130px; 
      }
      

    /* SUBSCRIBE */
    .sec-subscribe { 
      background: #fff;
      padding-bottom: 80px;
    }
    .sub-card {
      background: #0082aa;   /* deep blue exactly as in screenshot */
      border-radius: 12px;
      padding: 50px 35px;
      text-align: center;
      max-width: 1100px;
      margin: 0 auto;
    }
    .sub-card h2 { font-size: 1.6rem; font-weight: 700; color: white; margin-bottom: 20px; }
    .sub-bar { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0 auto 12px; }
    .sub-card p { font-size: 1.6rem; font-weight: 400; color: rgba(255,255,255,.85); margin-bottom: 20px; }
    .sub-form { display: flex; max-width: 400px; margin: 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.2); }
    .sub-form input { flex: 1; border: none; padding: 11px 14px; font-size: 13px; outline: none; font-family: 'Inter', sans-serif; color: var(--text); }
    .sub-form button { background: var(--green); color: #fff; border: none; padding: 11px 18px; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; transition: background .2s; }
    .sub-form button:hover { background: var(--green-dark); }

    @media (max-width: 560px) {
      .sub-card { padding: 36px 20px; }
      .sub-card h2 { font-size: 1.25rem; }
      .sub-card p  { font-size: 1rem; }
      .sub-form {
        flex-direction: column;
        border-radius: 12px;
        overflow: visible;
        box-shadow: none;
        gap: 10px;
        max-width: 100%;
      }
      .sub-form input {
        border-radius: 30px;
        padding: 12px 18px;
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        width: 100%;
      }
      .sub-form button {
        border-radius: 30px;
        justify-content: center;
        padding: 12px 18px;
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        width: 100%;
      }
    }

    /* FOOTER */
    footer {
      background: #006747;
      padding: 70px 0 20px 0;
    }
    .foot-col h6 {
      font-size: 16px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 12px;
      letter-spacing: 0;
    }
    /* Green links exactly like screenshot */
    .foot-col a {
      display: block;
      font-size: 15px;
      color: #fff;
      text-decoration: none;
      margin-bottom: 6px;
      transition: color .15s;
      line-height: 1.5;
    }
    .foot-col a:hover { color: #fff; }
    /* Contact details — plain text, not links styled differently */
    .foot-contact-line {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #fff;
      margin-bottom: 6px;
    }
    /* Social icons — plain, no circles */
    .foot-social {
      display: flex;
      gap: 12px;
      margin-top: 10px;
    }
    .foot-social a {
      display: inline-flex;
      align-items: center;
      font-size: 14px;
      color: rgba(255,255,255,.7);
      text-decoration: none;
      margin-bottom: 0;
      transition: color .15s;
    }
    .foot-social a:hover { color: #fff; }
    /* Bottom bar */
    .foot-bottom {
      border-top: 1px solid rgba(255,255,255,.12);
      margin-top: 28px;
      padding: 12px 0;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      gap: 24px;
      flex-wrap: wrap;
    }
    .foot-bottom p {
      font-size: 11px;
      color: rgba(255,255,255,.45);
      margin: 0;
    }
    .foot-bottom-links {
      display: flex;
      gap: 16px;
    }
    .foot-bottom-links a {
      font-size: 11px;
      color: rgba(255,255,255,.45);
      text-decoration: none;
      display: inline;
      margin-bottom: 0;
      transition: color .15s;
    }
    .foot-bottom-links a:hover { color: #fff; }

    .hdivider { height: 1px; background: var(--border); }

/* ------ Opportunities page --------- */

    /* ── Hero ── */
.of-hero {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .of-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  
  .of-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
  }
  
  .of-hero-title {
    position: relative;
    z-index: 1;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 2rem;
    color: #006747;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
    margin: 0;
  }

    /* ── Breadcrumb ── */
    .of-breadcrumb-section { background: #fff; padding: 15px 0; }
    .of-breadcrumb-section .breadcrumb { margin: 0; font-size: 1rem; }
    .of-breadcrumb-section .breadcrumb-item a { color: #1a7a45; text-decoration: none; font-weight: 500;}
    .of-breadcrumb-section .breadcrumb-item a:hover { text-decoration: underline; }
    .of-breadcrumb-section .breadcrumb-item span { color: #333; font-weight: 600; }
    .of-breadcrumb-section .breadcrumb-item.active { color: var(--of-text-dark); }
    .of-breadcrumb-section .breadcrumb-item + .breadcrumb-item::before { color: var(--of-text-muted); }

    /* ── Filter box ── */
    .of-filter-box { background: #fff; border: 1px solid var(--of-border); border-radius: 12px; padding: 20px 24px; margin: 24px 0 20px; }
    .of-filter-label { font-weight: 600; font-size: 1rem; margin-bottom: 14px; }
    .of-filter-box .form-select {
      border-radius: 8px; border: 1px solid var(--of-border);
      font-size: 0.875rem; color: #374151; height: 42px; cursor: pointer;
    }
    .of-filter-box .form-select:focus { box-shadow: 0 0 0 3px rgba(45,140,78,0.15); border-color: var(--of-green); }
    .of-btn-search {
      background: var(--of-green); color: #fff; border: none; border-radius: 8px;
      padding: 8px 22px; font-weight: 500; font-size: 0.875rem; height: 42px;
      transition: background 0.2s; cursor: pointer;
    }
    .of-btn-search:hover { background: var(--of-green-dark); }
    .of-btn-reset { background: none; border: none; color: var(--of-green); font-size: 0.875rem; font-weight: 500; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
    .of-btn-reset:hover { color: var(--of-green-dark); }

    /* ── Results bar ── */
    .of-results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
    .of-results-count { font-size: 0.875rem; color: #374151; }

    /* ── Top pagination ── */
    .of-pag-ctrl { display: flex; align-items: center; gap: 4px; }
    .of-pag-ctrl button {
      width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 4px; border: none; background: none; color: var(--of-green);
      cursor: pointer; font-size: 0.8rem; transition: background 0.15s;
    }
    .of-pag-ctrl button:hover:not(:disabled) { background: #e8f5ee; }
    .of-pag-ctrl button:disabled { opacity: 0.35; cursor: default; }
    .of-pag-info { font-size: 0.8rem; font-weight: 600; color: var(--of-green); padding: 2px 10px; background: #e8f5ee; border-radius: 4px; }

    /* ── Cards ── */
    .of-card { background: #fff; border: 1px solid var(--of-border); border-radius: 12px; padding: 20px; height: 100%; display: flex; flex-direction: column; transition: box-shadow 0.2s; min-width: 0; overflow: hidden; }
    .of-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.07); }
    .of-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
    .of-badge-sector { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--of-green); }
    .of-badge-sector .of-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--of-green); flex-shrink: 0; }
    .of-badge-type { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--of-green); }
    .of-badge-type .of-dot { width: 10px; height: 10px; border-radius: 50%; background: #111; flex-shrink: 0; }
    .of-card-title { font-family: 'Lora', serif; font-weight: 600; font-size: 1.6rem; color: var(--of-text-dark); margin: 0 0 15px; line-height: 1.35; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
    .of-card-meta { font-size: 1rem; color: var(--of-text-muted); margin: 0; line-height: 1.6; }
    .of-card-divider { border: none; border-top: 1px solid var(--of-border); margin: 14px 0; }
    .of-card-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
    .of-deadline-label { font-size: 0.72rem; color: var(--of-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
    .of-deadline-date { font-weight: 700; font-size: 1rem; color: var(--of-text-dark); margin-top: 2px; }
    .of-btn-details {
      background: var(--of-green); color: #fff; border: none; border-radius: 24px;
      padding: 8px 18px; font-size: 0.8rem; font-weight: 500;
      display: inline-flex; align-items: center; gap: 6px;
      transition: background 0.2s; cursor: pointer; white-space: nowrap;
    }
    .of-btn-details:hover { background: var(--of-green-dark); }

    /* ── Status pill ── */
    .of-status-pill {
      display: inline-block; font-size: 0.65rem; font-weight: 600; border-radius: 20px;
      padding: 2px 8px; text-transform: uppercase; letter-spacing: 0.05em; margin-left: 6px;
    }
    .of-status-open   { background: #dcfce7; color: #166534; }
    .of-status-closed { background: #fee2e2; color: #991b1b; }

    /* ── Bottom pagination ── */
    .of-bottom-pag { display: flex; justify-content: center; gap: 6px; margin: 32px 0 24px; align-items: center; flex-wrap: wrap; }
    .of-bottom-pag .of-pag-btn {
      background: none; border: none; color: var(--of-green); cursor: pointer;
      width: 28px; height: 28px; border-radius: 50%; display: inline-flex;
      align-items: center; justify-content: center; font-size: 0.85rem; transition: background 0.15s;
    }
    .of-bottom-pag .of-pag-btn:hover:not(:disabled) { background: #e8f5ee; }
    .of-bottom-pag .of-pag-btn:disabled { opacity: 0.35; cursor: default; }
    .of-dot-page {
      width: 10px; height: 10px; border-radius: 50%; display: inline-block;
      background: #d1d5db; cursor: pointer; transition: background 0.2s, transform 0.2s; flex-shrink: 0;
    }
    .of-dot-page.of-active { background: var(--of-green); transform: scale(1.3); }
    .of-dot-page:hover:not(.of-active) { background: #9ca3af; }

    /* ── No results ── */
    .of-no-results { text-align: center; padding: 60px 20px; color: var(--of-text-muted); }
    .of-no-results i { font-size: 3rem; margin-bottom: 12px; display: block; opacity: 0.35; }

    /* ── Chatbot FAB ── */
    .of-chatbot-fab {
      position: fixed; right: 20px; bottom: 60px; width: 52px; height: 52px;
      border-radius: 50%; background: var(--of-green); color: #fff;
      display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
      cursor: pointer; box-shadow: 0 4px 14px rgba(45,140,78,0.4);
      border: 3px solid #fff; z-index: 100; transition: background 0.2s;
    }
    .of-chatbot-fab:hover { background: var(--of-green-dark); }

    a.of-btn-details {
        text-decoration: none;
      }
    /* ── Card fade-in ── */
    @keyframes of-fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
    .of-card-col { animation: of-fadeUp 0.25s ease both; }

    /* ── Opportunity Detail — all classes prefixed "od-" ── */

.od-section {
    max-width: 1100px;
    margin: 48px auto;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a1a;
  }
  
  /* ── Intro row ── */
  .od-intro {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 56px;
  }
  
  .od-intro-text {
    flex: 1;
  }
  
  .od-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    padding-bottom: 6px;
    border-bottom: 3px solid #e6a817;
    display: inline-block;
  }
  
  .od-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 16px 0 20px;
    color: #1a1a1a;
    line-height: 1.25;
  }
  
  .od-body {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.7;
    margin: 0 0 16px;
  }
  
  .od-intro-image {
    flex-shrink: 0;
    width: 400px;
  }
  
  .od-intro-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }
  
  /* ── Cards row ── */
  .od-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
  }
  
  .od-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .od-card--green {
    background: #006747;
    border-color: #006747;
    color: #fff;
  }
  
  .od-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #006747;
  }
  
  .od-card--green .od-card-label {
    color: #fff;
  }
  
  .od-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .od-dot--dark  { background: #333; }
  .od-dot--white { background: #fff; }
  
  .od-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    line-height: 1.3;
  }
  
  .od-card--green .od-card-title {
    color: #fff;
  }
  
  .od-card-body {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
  }
  
  .od-card--green .od-card-body {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .od-sectors-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .od-sectors-list li {
    font-size: 0.875rem;
    color: #444;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .od-sectors-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  /* ── Footer row ── */
  .od-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
  }
  
  .od-deadline {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .od-deadline-label {
    font-size: 0.8rem;
    color: #6b7280;
  }
  
  .od-deadline-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
  }
  
  .od-apply-btn {
    background: #006747;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
  }
  
  .od-apply-btn:hover {
    background: #2d8c4e;
  }
  
  .od-arrow {
    font-size: 1rem;
  }
  
  /* ── Responsive ── */
  @media (max-width: 768px) {
    .od-intro {
      flex-direction: column;
    }
  
    .od-intro-image {
      width: 100%;
    }
  
    .od-cards {
      grid-template-columns: 1fr;
    }

    .of-hero-title{
      font-size: 1.5rem;
    }
  }
  @media (max-width: 600px) {
    .od-footer {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
    .auth-panel-logo{
      display: none;
    }
    .of-card-title{
      font-size: 1.3rem;
    }
  }

  /*------Climate-------*/
  /* ── Section wrapper ── */
  .ov-section {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 30px;
  }

  /* ── Heading ── */
  .ov-heading {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ov-text-dark);
    margin: 0 0 14px;
  }

  .ov-intro {
    font-size: 1.1rem;
    color: var(--ov-text-muted);
    line-height: 1.75;
    max-width: 1000px;
    margin: 0 0 40px;
  }

  /* ── Grid ── */
  .ov-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 40px;
  }

  /* ── Card ── */
  .ov-card {
    border: 1px solid var(--ov-border);
    border-radius: 16px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    transition: box-shadow 0.2s;
    min-height: 360px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  }

  .ov-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  }

  /* ── Icon circle ── */
  .ov-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #555;
    flex-shrink: 0;
    margin-bottom: 20px;
  }

  /* ── Card title ── */
  .ov-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ov-text-dark);
    margin: 0 0 14px;
    line-height: 1.3;
  }

  /* ── Card body text ── */
  .ov-card-body {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.75;
    margin: 0 0 24px;
    flex: 1;
  }

  /* ── Learn more button — outlined pill ── */
  .ov-btn-learn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    border: 1.5px solid var(--green);
    color: white;
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 0.82rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-top: auto;
    white-space: nowrap;
  }

  .ov-btn-learn:hover {
    background: var(--green-dark);
    color: #fff;
  }

  .ov-btn-learn .ov-arrow {
    font-size: 0.85rem;
    color: inherit;
  }

  /* ── Pagination ── */
  .ov-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
  }

  .ov-pag-btn {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.15s;
  }
  .ov-pag-btn:hover:not(:disabled) { background: #f0f0f0; }
  .ov-pag-btn:disabled { opacity: 0.3; cursor: default; }

  .ov-page-num {
    width: auto;
    min-width: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-weight: 600;
  }

  .ov-pag-btn.active,
  .ov-page-num.active {
    background-color: #dff3e8;
    color: var(--of-green);
    box-shadow: 0 0 0 1px #b7e2c8;
  }

  .ov-dot-page {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    background: #d1d5db;
    cursor: pointer;
    border: 1.5px solid #bbb;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
  }
  .ov-dot-page.ov-active {
    background: var(--of-green);
    border-color: var(--of-green);
    transform: scale(1.2);
  }
  .ov-dot-page:hover:not(.ov-active) { background: #9ca3af; }

  /* ── Card fade-in animation ── */
  @keyframes ov-fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .ov-card-anim {
    animation: ov-fadeUp 0.25s ease both;
  }

  /* ── No results ── */
  .ov-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--ov-text-muted);
    font-size: 0.9rem;
  }

  /* ── Responsive ── */
  @media (max-width: 640px) {
    .ov-grid {
      grid-template-columns: 1fr;
    }
  }

  /*------climate-info-------*/

  /*  Namespace: ci- (Climate Information) */


  /* ── Section wrapper ── */
.ci-section {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 20px;
  }
  
  /* ── Header ── */
  .ci-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ci-text);
    margin-bottom: 16px;
  }
  
  .ci-intro {
    font-size: 0.88rem;
    color: var(--ci-muted);
    line-height: 1.8;
    margin-bottom: 40px;
  }
  
  /* ── Top charts row ── */
  .ci-charts-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 8px;
  }
  
  /* ── Chart card wrapper ── */
  .ci-chart-card {
    border: 1px solid var(--ci-border);
    border-radius: 12px;
    padding: 20px 16px 12px;
    background: #fff;
  }
  
  /* ── Chart canvas sizes ── */
  .ci-chart-canvas    { width: 100%; height: 240px; }
  .ci-rainfall-canvas { width: 100%; height: 200px; }
  
  /* ── Bar chart stats row ── */
  .ci-bar-stats {
    display: flex;
    gap: 20px;
    padding: 10px 4px 4px;
    border-top: 1px solid var(--ci-border);
    margin-top: 8px;
    flex-wrap: wrap;
  }
  
  .ci-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .ci-stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--ci-muted);
  }
  
  .ci-swatch {
    width: 14px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
  }
  
  .ci-stat-val {
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .ci-stat-val.down { color: var(--ci-muted); }
  .ci-stat-val.up   { color: var(--ci-teal); }
  .ci-stat-val .arrow { font-size: 0.75rem; }
  
  /* ── Line chart legend ── */
  .ci-line-legend {
    display: flex;
    gap: 16px;
    padding: 8px 4px 0;
    border-top: 1px solid var(--ci-border);
    margin-top: 8px;
    flex-wrap: wrap;
  }
  
  .ci-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--ci-muted);
  }
  
  .ci-legend-line {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    flex-shrink: 0;
  }
  
  /* ── Bottom charts row ── */
  .ci-charts-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 32px;
  }
  
  /* ── Rainfall card ── */
  .ci-rainfall-card {
    border: 1px solid var(--ci-border);
    border-radius: 12px;
    padding: 20px 16px 16px;
    background: #fff;
  }
  
  .ci-rainfall-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
  }
  
  .ci-rainfall-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ci-text);
  }
  
  .ci-rainfall-title span {
    font-weight: 400;
    color: var(--ci-muted);
    font-size: 0.8rem;
    margin-left: 4px;
  }
  
  .ci-rainfall-source {
    font-size: 0.72rem;
    color: var(--ci-muted);
    cursor: pointer;
  }
  
  .ci-rainfall-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ci-border);
  }
  
  .ci-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .ci-metric-label {
    font-size: 0.68rem;
    color: var(--ci-muted);
  }
  
  .ci-metric-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ci-text);
  }
  
  .ci-metric-val.green { color: var(--ci-green); }
  
  .ci-metric-sub {
    font-size: 0.65rem;
    color: var(--ci-muted);
  }
  
  .ci-change-badge {
    font-size: 0.7rem;
    color: var(--ci-green);
    font-weight: 500;
    margin-bottom: 2px;
  }
  
  /* ── Map card ── */
  .ci-map-card {
    border: 1px solid var(--ci-border);
    border-radius: 12px;
    overflow: hidden;
    min-height: 340px;
  }
  
  .ci-map-canvas {
    width: 100%;
    height: 400px;   /* or whatever height */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .ci-map-canvas img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;   /* This prevents cropping */
  }
  
  
  /* Leaflet overrides */
  .ci-map-canvas .leaflet-container {
    font-family: 'DM Sans', sans-serif;
    border-radius: 12px;
  }
  
  .ci-map-tooltip {
    background: rgba(255,255,255,0.95);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
  }
  
  /* ── CTA button ── */
  .ci-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 8px;
  }
  
  .ci-btn-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ci-green);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
  }
  
  .ci-btn-dashboard:hover { background: var(--ci-green-dk); color: #fff; }
  
  .ci-btn-arrow { font-size: 1rem; }
  
  /* ── Responsive ── */
  @media (max-width: 640px) {
    .ci-charts-top,
    .ci-charts-bottom {
      grid-template-columns: 1fr;
    }
  
    .ci-bar-stats {
      flex-direction: column;
      gap: 10px;
    }
  
    .ci-rainfall-metrics {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  #kh-pagination, #news-pagination{
    padding-bottom: 30px;
    padding-top: 20px;
  }

  /*---- Contact Us --------*/
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: 48px;
      align-items: start;
      margin-top: 40px;
      margin-bottom: 40px;
    }

    @media (max-width: 900px) {
      .contact-grid { grid-template-columns: 1fr; }
    }

    /* Info column */
    .contact-info-item {
      display: flex;
      align-items: flex-start;
      gap: 18px;
      padding: 24px 0;
      border-bottom: 1px solid #eef0ed;
    }
    .contact-info-item:last-child { border-bottom: none; }
    .contact-info-ico {
      width: 46px; height: 46px;
      border-radius: 12px;
      background: #e8f5ee;
      color: #1a7a45;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
      flex-shrink: 0;
    }
    .contact-info-label {
      font-size: .78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .8px;
      color: #999;
      margin-bottom: 4px;
    }
    .contact-info-value {
      font-size: .97rem;
      color: #222;
      font-weight: 500;
      line-height: 1.6;
    }
    .contact-info-value a {
      color: #1a7a45;
      text-decoration: none;
    }
    .contact-info-value a:hover { text-decoration: underline; }

    /* Social row */
    .contact-socials {
      display: flex;
      gap: 10px;
      margin-top: 28px;
    }
    .contact-socials a {
      width: 40px; height: 40px;
      border-radius: 10px;
      border: 1px solid #dde8e3;
      display: flex; align-items: center; justify-content: center;
      color: #555;
      font-size: 1rem;
      transition: background .2s, color .2s, border-color .2s;
      text-decoration: none;
    }
    .contact-socials a:hover {
      background: #1a7a45;
      color: #fff;
      border-color: #1a7a45;
    }

    /* Form card */
    .contact-form-card {
      background: #fff;
      border-radius: 20px;
      padding: 40px 44px;
      box-shadow: 0 4px 28px rgba(0,0,0,.08);
    }
    .contact-form-card h3 {
      font-weight: 800;
      font-size: 1.4rem;
      margin-bottom: 6px;
    }
    .contact-form-card .form-label {
      font-size: .85rem;
      font-weight: 600;
      color: #444;
      margin-bottom: 6px;
    }
    .contact-form-card .form-control,
    .contact-form-card .form-select {
      border-radius: 10px;
      border: 1px solid #dde8e3;
      font-size: .92rem;
      padding: 10px 14px;
      color: #333;
      transition: border-color .2s, box-shadow .2s;
    }
    .contact-form-card .form-control:focus,
    .contact-form-card .form-select:focus {
      border-color: #1a7a45;
      box-shadow: 0 0 0 3px rgba(26,122,69,.1);
      outline: none;
    }
    .contact-form-card textarea.form-control { resize: vertical; min-height: 130px; }
    .contact-form-card .btn-submit {
      background: #1a7a45;
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 12px 36px;
      font-weight: 700;
      font-size: .95rem;
      width: 100%;
      transition: background .2s, transform .15s;
    }
    .contact-form-card .btn-submit:hover {
      background: #155f37;
      transform: translateY(-1px);
    }

    /* Success message */
    .contact-success {
      display: none;
      text-align: center;
      padding: 40px 20px;
    }
    .contact-success .success-ico {
      width: 64px; height: 64px;
      background: #e8f5ee;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.8rem;
      color: #1a7a45;
      margin: 0 auto 16px;
    }
    .contact-success h4 { font-weight: 800; margin-bottom: 8px; }
    .contact-success p  { color: #666; font-size: .95rem; }


    @media (max-width: 600px) {
      .contact-form-card { padding: 28px 22px; }
    }

    /*-------- Sign up ----------*/

    .auth-page {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    @media (max-width: 900px) {
      .auth-page { grid-template-columns: 1fr; }
      .auth-panel { display: none; }
    }

    /* RIGHT panel */
    .auth-form-panel {
      background: #fafcfb;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 48px 32px;
    }
    .auth-form-wrap { width: 100%; max-width: 420px; }

    .auth-form-wrap .mobile-logo {
      display: none;
      text-align: center;
      margin-bottom: 24px;
    }
    @media (max-width: 900px) {
      .auth-form-wrap .mobile-logo { display: block; }
    }
    .auth-form-wrap .mobile-logo img { height: 80px; }

    .auth-form-wrap h2 {
      font-size: 1.7rem;
      font-weight: 800;
      margin-bottom: 6px;
      color: #111;
    }
    .auth-sub {
      font-size: .9rem;
      color: #777;
      margin-bottom: 28px;
    }
    .auth-sub a { color: #1a7a45; font-weight: 600; text-decoration: none; }
    .auth-sub a:hover { text-decoration: underline; }

    .form-label { font-size: .83rem; font-weight: 600; color: #444; margin-bottom: 5px; }
    .form-control {
      border-radius: 10px;
      border: 1px solid #dde8e3;
      font-size: .92rem;
      padding: 10px 14px;
      color: #333;
      background: #fff;
      transition: border-color .2s, box-shadow .2s;
    }
    .form-control:focus {
      border-color: #1a7a45;
      box-shadow: 0 0 0 3px rgba(26,122,69,.1);
      outline: none;
    }

    .pw-wrap { position: relative; }
    .pw-wrap .form-control { padding-right: 42px; }
    .pw-wrap .pw-toggle {
      position: absolute;
      right: 13px; top: 50%;
      transform: translateY(-50%);
      background: none; border: none; padding: 0;
      color: #aaa; font-size: .95rem; cursor: pointer;
    }
    .pw-wrap .pw-toggle:hover { color: #1a7a45; }

    .terms-row {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: .83rem; color: #555;
    }
    .terms-row input[type=checkbox] { margin-top: 2px; accent-color: #1a7a45; flex-shrink: 0; }
    .terms-row a { color: #1a7a45; font-weight: 600; text-decoration: none; }
    .terms-row a:hover { text-decoration: underline; }

    .field-error { font-size: .78rem; color: #c0392b; margin-top: 4px; display: none; }
    .field-error.show { display: block; }

    .btn-auth {
      background: #1a7a45;
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 12px 36px;
      font-weight: 700;
      font-size: .97rem;
      width: 100%;
      transition: background .2s, transform .15s;
    }
    .btn-auth:hover { background: #155f37; transform: translateY(-1px); }

    .auth-success { display: none; text-align: center; padding: 10px 0; }
    .auth-success .suc-ico {
      width: 68px; height: 68px;
      border-radius: 50%;
      background: #e8f5ee;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.9rem; color: #1a7a45;
      margin: 0 auto 18px;
    }
    .auth-success h3 { font-weight: 800; margin-bottom: 8px; }
    .auth-success p  { color: #666; font-size: .93rem; line-height: 1.7; }

    /*-------- Sign in -----------*/

    .auth-page {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    @media (max-width: 900px) {
      .auth-page { grid-template-columns: 1fr; }
      .auth-panel { display: none; }
    }

    /* LEFT panel */
    .auth-panel {
      position: relative;
      background: url('../images/mountain.jpg') center/cover no-repeat;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 48px;
    }
    .auth-panel::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(160deg, rgba(0,80,40,.55) 0%, rgba(0,40,20,.88) 100%);
    }
    .auth-panel-logo {
      position: absolute;
      top: 48px; 
      left: 48px;
      background-color: white;
      border-radius: 70px;
      padding: 20px;
    }
    .auth-panel-logo img { height: 80px; }
    .auth-panel-content { position: relative; color: #fff; }
    .auth-panel-content h2 {
      font-size: clamp(1.6rem, 2.5vw, 2.2rem);
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 14px;
    }
    .auth-panel-content p {
      opacity: .8;
      font-size: .95rem;
      line-height: 1.7;
      margin-bottom: 32px;
    }
    .auth-panel-stats { display: flex; gap: 32px; }
    .ps-num { font-size: 1.6rem; font-weight: 800; line-height: 1; }
    .ps-lbl { font-size: .78rem; opacity: .7; margin-top: 3px; }

    /* RIGHT panel */
    .auth-form-panel {
      background: #fafcfb;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 48px 32px;
    }
    .auth-form-wrap { width: 100%; max-width: 420px; }

    .mobile-logo { display: none; text-align: center; margin-bottom: 24px; }
    @media (max-width: 900px) { .mobile-logo { display: block; } }
    .mobile-logo img { height: 80px; }

    .auth-form-wrap h2 {
      font-size: 1.7rem;
      font-weight: 800;
      margin-bottom: 6px;
      color: #111;
    }
    .auth-sub {
      font-size: .9rem;
      color: #777;
      margin-bottom: 28px;
    }
    .auth-sub a { color: #1a7a45; font-weight: 600; text-decoration: none; }
    .auth-sub a:hover { text-decoration: underline; }

    .form-label { font-size: .83rem; font-weight: 600; color: #444; margin-bottom: 5px; }
    .form-control {
      border-radius: 10px;
      border: 1px solid #dde8e3;
      font-size: .92rem;
      padding: 10px 14px;
      color: #333;
      background: #fff;
      transition: border-color .2s, box-shadow .2s;
    }
    .form-control:focus {
      border-color: #1a7a45;
      box-shadow: 0 0 0 3px rgba(26,122,69,.1);
      outline: none;
    }

    .pw-wrap { position: relative; }
    .pw-wrap .form-control { padding-right: 42px; }
    .pw-wrap .pw-toggle {
      position: absolute;
      right: 13px; top: 50%;
      transform: translateY(-50%);
      background: none; border: none; padding: 0;
      color: #aaa; font-size: .95rem; cursor: pointer;
    }
    .pw-wrap .pw-toggle:hover { color: #1a7a45; }

    .remember-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: .83rem;
    }
    .remember-row label { display: flex; align-items: center; gap: 7px; color: #555; cursor: pointer; }
    .remember-row input[type=checkbox] { accent-color: #1a7a45; }
    .remember-row .forgot { color: #1a7a45; font-weight: 600; text-decoration: none; }
    .remember-row .forgot:hover { text-decoration: underline; }

    .field-error { font-size: .78rem; color: #c0392b; margin-top: 4px; display: none; }
    .field-error.show { display: block; }

    .alert-error {
      background: #fff0f0;
      border: 1px solid #ffcccc;
      border-radius: 10px;
      padding: 11px 16px;
      font-size: .85rem;
      color: #c0392b;
      display: none;
    }
    .alert-error.show { display: flex; align-items: center; gap: 8px; }

    .btn-auth {
      background: #1a7a45;
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 12px 36px;
      font-weight: 700;
      font-size: .97rem;
      width: 100%;
      transition: background .2s, transform .15s;
    }
    .btn-auth:hover { background: #155f37; transform: translateY(-1px); }
    
    /* ── Dashboard layout ── */
    .dash-page { background: #f4f6f8; min-height: 100vh; padding: 32px 0 60px; }

    .profile-link {
      padding: 4px 10px 4px 4px;
      border-radius: 50px;
      transition: background .2s;
    }
    .profile-link:hover {
      background: #e8f5ee;
      color: #1a7a45 !important;
    }

    .dash-breadcrumb {
      font-size: .85rem;
      color: #888;
      margin-bottom: 24px;
    }
    .dash-breadcrumb a { color: #1a7a45; text-decoration: none; font-weight: 500; }
    .dash-breadcrumb a:hover { text-decoration: underline; }
    .dash-breadcrumb span { color: #333; font-weight: 600; }

    /* ── Section headings ── */
    .dash-section-title {
      font-size: 1.35rem;
      font-weight: 800;
      color: #111;
      margin-bottom: 16px;
    }

    /* ── Alerts card ── */
    .dash-card {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 12px rgba(0,0,0,.06);
      padding: 28px 32px;
      margin-bottom: 32px;
    }
    .dash-card-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 6px;
      flex-wrap: wrap;
      gap: 12px;
    }
    .dash-card-header h2 {
      font-size: 1.25rem;
      font-weight: 800;
      color: #111;
      margin: 0;
    }
    .dash-card-subtitle {
      font-size: .82rem;
      color: #999;
      margin-bottom: 20px;
    }
    .btn-update {
      background: #1a7a45;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 9px 20px;
      font-size: .83rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: background .2s;
    }
    .btn-update:hover { background: #155f37; }

    /* Alerts table */
    .alerts-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .alerts-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 480px; }
    .alerts-table thead tr { border-bottom: 2px solid #eef0ed; }
    .alerts-table thead th {
      font-size: .75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .6px;
      color: #aaa;
      padding: 8px 12px 10px;
      text-align: left;
    }
    .alerts-table tbody tr {
      border-bottom: 1px solid #f2f4f2;
      transition: background .15s;
    }
    .alerts-table tbody tr:last-child { border-bottom: none; }
    .alerts-table tbody tr:hover { background: #fafcfa; }
    .alerts-table td {
      padding: 13px 12px;
      vertical-align: top;
      color: #333;
      line-height: 1.5;
    }
    .alerts-table td:first-child {
      font-weight: 600;
      white-space: nowrap;
      color: #444;
      width: 140px;
    }
    .alerts-table td:last-child { width: 80px; text-align: right; }
    .btn-select {
      border: 1px solid #dde8e3;
      background: #fff;
      border-radius: 6px;
      padding: 5px 14px;
      font-size: .78rem;
      font-weight: 600;
      color: #444;
      cursor: pointer;
      transition: border-color .2s, color .2s;
    }
    .btn-select:hover { border-color: #1a7a45; color: #1a7a45; }

    /* ── Opportunities table ── */
    .opp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
    .opp-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
    .opp-table thead tr { background: #3d5a73; }
    .opp-table thead th {
      color: #fff;
      font-size: .78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .5px;
      padding: 13px 16px;
      text-align: center;
    }
    .opp-table thead th:first-child { border-radius: 10px 0 0 0; text-align: left; }
    .opp-table thead th:last-child  { border-radius: 0 10px 0 0; }
    .opp-table tbody tr {
      border-bottom: 1px solid #f0f2f0;
      transition: background .15s;
    }
    .opp-table tbody tr:last-child { border-bottom: none; }
    .opp-table tbody tr:hover { background: #f5faf7; }
    .opp-table td {
      padding: 13px 16px;
      color: #444;
      text-align: center;
      font-size: .87rem;
    }
    .opp-table td:first-child { text-align: left; font-weight: 700; color: #111; }
    .opp-table .tag {
      display: inline-block;
      background: #e8f5ee;
      color: #1a7a45;
      border-radius: 50px;
      padding: 2px 12px;
      font-size: .75rem;
      font-weight: 700;
    }
    .opp-table .tag.energy  { background: #fff8e1; color: #e08a00; }
    .opp-table .tag.bio     { background: #e8f5ee; color: #2d7d46; }
    .opp-table .tag.solar   { background: #fff3cd; color: #856404; }
    .opp-table .tag.water   { background: #e3f0ff; color: #1a4f9c; }
    .opp-table .apply-btn {
      background: none; border: none; color: #1a7a45;
      font-size: 1.1rem; cursor: pointer; padding: 0;
      transition: transform .15s;
    }
    .opp-table .apply-btn:hover { transform: scale(1.2); }

    /* ── Opportunity mobile cards (shown < 600px) ── */
    .opp-mobile { display: none; }
    .opp-m-card {
      padding: 16px 20px;
      border-bottom: 1px solid #f0f2f0;
    }
    .opp-m-card:last-child { border-bottom: none; }
    .opp-m-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .opp-m-ref  { font-size: .72rem; font-weight: 700; color: #999; letter-spacing: .5px; }
    .opp-m-name { font-size: .97rem; font-weight: 700; color: #111; margin-bottom: 10px; }
    .opp-m-meta { display: flex; flex-wrap: wrap; gap: 7px; font-size: .78rem; }
    .opp-m-meta .meta-pill {
      background: #f4f6f8;
      border-radius: 6px;
      padding: 3px 10px;
      color: #555;
    }
    .opp-m-meta .meta-pill strong { color: #222; }

    @media (max-width: 600px) {
      .opp-table-wrap { display: none; }
      .opp-mobile     { display: block; }
    }

    /* ── Climate charts ── */
    .chart-card {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 12px rgba(0,0,0,.06);
      padding: 20px 22px 16px;
      height: 100%;
    }
    .chart-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 4px;
    }
    .chart-card-title { font-size: .9rem; font-weight: 700; color: #333; }
    .chart-menu-btn {
      background: none; border: none; color: #bbb;
      font-size: 1rem; cursor: pointer; padding: 0;
    }
    .chart-stat {
      font-size: 2rem; font-weight: 800; color: #111; line-height: 1;
      margin-bottom: 12px;
    }
    .chart-stat .chart-delta { font-size: 1rem; color: #1a7a45; font-weight: 700; margin-left: 6px; }
    .chart-wrap { position: relative; height: 160px; }
    .chart-wrap canvas,
    .dashboard-climate-image {
      width: 100%;
      height: 100%;
      display: block;
    }
    .dashboard-climate-image {
      object-fit: cover;
      border-radius: 10px;
      border: 1px solid #eef2ef;
      background: #f7faf8;
    }

    .dash-page { background: #f4f6f8; min-height: 100vh; padding: 32px 0 60px; }

    .dash-breadcrumb { font-size: .85rem; color: #888; margin-bottom: 24px; }
    .dash-breadcrumb a { color: #1a7a45; text-decoration: none; font-weight: 500; }
    .dash-breadcrumb a:hover { text-decoration: underline; }
    .dash-breadcrumb span { color: #333; font-weight: 600; }

    .pw-wrap { position: relative; }
    .pw-eye {
      position: absolute;
      right: 13px; top: 50%;
      transform: translateY(-50%);
      background: none; border: none; padding: 0;
      color: #aaa; font-size: .95rem; cursor: pointer;
    }
    .pw-eye:hover { color: #1a7a45; }

    /* ── Profile header card ── */
    .profile-header-card {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 12px rgba(0,0,0,.06);
      padding: 32px 36px;
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 28px;
      flex-wrap: wrap;
    }
    .profile-avatar {
      width: 80px; height: 80px;
      border-radius: 50%;
      background: linear-gradient(135deg, #1a7a45, #2da05a);
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 1.8rem; font-weight: 800;
      flex-shrink: 0;
    }
    .profile-header-info h2 { font-size: 1.35rem; font-weight: 800; color: #111; margin-bottom: 4px; }
    .profile-header-info .role-badge {
      display: inline-block;
      background: #e8f5ee;
      color: #1a7a45;
      font-size: .75rem;
      font-weight: 700;
      border-radius: 50px;
      padding: 3px 14px;
      margin-bottom: 6px;
    }
    .profile-header-info p { font-size: .88rem; color: #888; margin: 0; }
    .profile-header-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
    .btn-edit-profile {
      border: 1.5px solid #1a7a45;
      background: #fff;
      color: #1a7a45;
      border-radius: 8px;
      padding: 9px 20px;
      font-size: .83rem;
      font-weight: 700;
      cursor: pointer;
      transition: background .2s, color .2s;
    }
    .btn-edit-profile:hover { background: #1a7a45; color: #fff; }
    .btn-save {
      background: #1a7a45;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 9px 20px;
      font-size: .83rem;
      font-weight: 700;
      cursor: pointer;
      transition: background .2s;
      display: none;
    }
    .btn-save:hover { background: #155f37; }

    /* ── Section cards ── */
    .profile-card {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 12px rgba(0,0,0,.06);
      padding: 28px 32px;
      margin-bottom: 28px;
    }
    .profile-card h3 {
      font-size: 1.05rem;
      font-weight: 800;
      color: #111;
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 1px solid #eef0ed;
    }

    /* ── Form fields ── */
    .profile-field { margin-bottom: 20px; }
    .profile-field label {
      font-size: .8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .6px;
      color: #aaa;
      display: block;
      margin-bottom: 5px;
    }
    .profile-field .field-value {
      font-size: .95rem;
      color: #222;
      font-weight: 500;
    }
    .profile-field input,
    .profile-field select {
      width: 100%;
      border: 1px solid #dde8e3;
      border-radius: 10px;
      padding: 10px 14px;
      font-size: .92rem;
      color: #333;
      background: #fff;
      display: none;
      transition: border-color .2s, box-shadow .2s;
    }
    .profile-field input:focus,
    .profile-field select:focus {
      border-color: #1a7a45;
      box-shadow: 0 0 0 3px rgba(26,122,69,.1);
      outline: none;
    }

    /* edit mode */
    body.editing .field-value { display: none !important; }
    body.editing .profile-field input,
    body.editing .profile-field select { display: block; }
    body.editing .btn-save { display: inline-block; }
    body.editing .btn-edit-profile { display: none; }

    /* ── Sector interests ── */
    .sector-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 12px;
    }
    .sector-item {
      border: 2px solid #dde8e3;
      border-radius: 12px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      transition: border-color .2s, background .2s;
      user-select: none;
    }
    .sector-item:hover { border-color: #a8d8be; background: #f5fbf7; }
    .sector-item.selected { border-color: #1a7a45; background: #eef8f2; }
    .sector-item .sector-check {
      width: 20px; height: 20px;
      border-radius: 50%;
      border: 2px solid #ccc;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: border-color .2s, background .2s;
    }
    .sector-item.selected .sector-check {
      border-color: #1a7a45;
      background: #1a7a45;
    }
    .sector-item.selected .sector-check::after {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #fff;
    }
    .sector-item .sector-label { font-size: .88rem; font-weight: 600; color: #333; line-height: 1.3; }
    .sector-item.selected .sector-label { color: #1a7a45; }

    .sector-ico { font-size: 1.1rem; color: #1a7a45; width: 32px; height: 32px; border-radius: 8px; background: #e8f5ee; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

    .btn-save-sectors {
      background: #1a7a45;
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 11px 32px;
      font-size: .9rem;
      font-weight: 700;
      cursor: pointer;
      margin-top: 24px;
      transition: background .2s, transform .15s;
    }
    .btn-save-sectors:hover { background: #155f37; transform: translateY(-1px); }

    /* success toast */
    .toast-msg {
      display: none;
      background: #e8f5ee;
      color: #1a7a45;
      border: 1px solid #c3e6cb;
      border-radius: 8px;
      padding: 10px 18px;
      font-size: .85rem;
      font-weight: 600;
      margin-top: 14px;
    }
    .toast-msg.show { display: inline-block; }


    /* ── Multi-select dropdown ── */
    .multi-select-wrap { position: relative; }

    .ms-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #dde8e3;
      border-radius: 10px;
      padding: 10px 14px;
      font-size: .92rem;
      color: #aaa;
      background: #fff;
      cursor: pointer;
      user-select: none;
      transition: border-color .2s, box-shadow .2s;
    }
    .ms-trigger:hover,
    .ms-trigger.open { border-color: #1a7a45; box-shadow: 0 0 0 3px rgba(26,122,69,.1); }
    .ms-trigger.has-value { color: #333; }

    .ms-chevron { font-size: .75rem; color: #aaa; transition: transform .2s; flex-shrink: 0; }
    .ms-trigger.open .ms-chevron { transform: rotate(180deg); }

    .ms-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0; right: 0;
      background: #fff;
      border: 1px solid #dde8e3;
      border-radius: 10px;
      box-shadow: 0 6px 24px rgba(0,0,0,.1);
      z-index: 100;
      max-height: 240px;
      overflow-y: auto;
      padding: 6px 0;
    }
    .ms-dropdown.open { display: block; }

    .ms-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 16px;
      font-size: .88rem;
      color: #333;
      cursor: pointer;
      transition: background .15s;
      margin: 0;
      font-weight: 400;
    }
    .ms-option:hover { background: #f5fbf7; }
    .ms-option input[type=checkbox] {
      accent-color: #1a7a45;
      width: 15px; height: 15px;
      flex-shrink: 0;
      cursor: pointer;
    }

    /* Tags */
    .ms-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }
    .ms-tag {
      background: #e8f5ee;
      color: #1a7a45;
      border-radius: 50px;
      padding: 3px 10px 3px 12px;
      font-size: .75rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .ms-tag .ms-tag-remove {
      cursor: pointer;
      font-size: .8rem;
      line-height: 1;
      color: #1a7a45;
      opacity: .7;
    }
    .ms-tag .ms-tag-remove:hover { opacity: 1; }
  
    /* ── Scroll Navigation Buttons ── */
.scroll-nav {
  position: fixed;
  right: 20px;
  bottom: 150px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scroll-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #198754;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-nav-btn.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-nav-btn:hover {
  background: #146c43;
  transform: scale(1.1);
}

.scroll-nav-btn:active {
  transform: scale(0.95);
}

/* Tooltip labels */
.scroll-nav-btn::after {
  content: attr(data-tip);
  position: absolute;
  right: 50px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.scroll-nav-btn:hover::after {
  opacity: 1;
}

.kh-tag {
  display: inline-block;
  background-color: #e6f4ea;
  color: #1a7a45;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin-bottom: 6px;
}

/* ── Advisory Support filter pills ── */
.as-pill {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid #dde8e3;
  background: #fff;
  color: #555;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.as-pill:hover {
  border-color: #1a7a45;
  color: #1a7a45;
}
.as-pill-active {
  background: #1a7a45;
  border-color: #1a7a45;
  color: #fff !important;
}