
:root{
    --color-blue: #025B70;
    --color-lightblue:#147E97;
    --color-brown: #BAA98D;
    --color-lightbrown: #F8F4F1;
    --color-white: #ffffff;
    --body-font: "Montserrat", sans-serif;
    --header-height: 3.5rem;
    --normal-font-size: 1.1rem; /*.5rem = 8px | 1rem = 16px ...*/
    --title-font-size: 3rem;
    --highlight-font-size: 1.4rem;
    --normal-font-size-mobile: 1.05rem; /*.5rem = 8px | 1rem = 16px ...*/
    --title-font-size-mobile: 2rem;
    --highlight-font-size-mobile: 1.2rem;
    --z-fixed: 100;
    -webkit-force-dark: none;
    -webkit-text-size-adjust: 100%;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  list-style: none;
  font-size: var(--normal-font-size);
  color: var(--color-brown);
} 

body{
  background-color: var(--color-lightbrown);
}

html, body {
  -webkit-force-dark: none;
}


h2, h1{
    font-size: var(--title-font-size-mobile);
    color: var(--color-blue);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}


img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =====================
   NAVBAR
===================== */

.logo a img{
    left: 2vw;
    top: 2vw;
    max-width: 60px;
}

/* off-screen-menu */
.off-screen-menu,
.popup-langopen {
    height: 80vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    transition: .3s ease;
    z-index: 10;
    pointer-events: none;
    background-color: var(--color-brown);
}
.off-screen-menu.active,
.popup-langopen.active {
    right: 0;
    pointer-events: auto;
}

.popup-langopen.active{
  z-index: 200;
}

.off-screen-menu.active ul,
.popup-langopen.active ul{
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
}

.off-screen-menu.active li a,
.popup-langopen.active ul li a{
color: white;
background-color: var(--color-brown);
font-size: 1.5rem;
}

.popup-langopen.active a{
  color: var(--color-white);
}

/* nav */
nav {
    position: sticky;
    padding: 1rem;
    display: flex;
    background-color: transparent;
    top: 0;
    width: 100%;
    z-index: 20;
}


/* ham menu */
.ham-menu {
    height: 50px;
    width: 40px;
    margin-left: auto;
    position: relative;
    z-index: 100;
}
.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: var(--color-brown);
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}

.ham-menu.active{
  background-color: var(--color-brown);
}

.ham-menu.active span {
    background-color: white;
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ================= PAGE INTRODUCTION ================= */
.page-introduction{
    padding:0rem 1.25rem 2.5rem 1em;
    text-align:center;
    max-width:1200px;
    margin:auto;
}

.page-introduction h2{
    font-size:var(--title-font-size-mobile);
    color:var(--color-blue);
    margin-bottom:0.75rem;
}

.page-introduction p{
    max-width:620px;
    margin: 0 auto;
    line-height:1.65;
    font-size:var(--normal-font-size-mobile);
    text-align: center;
}

/* =====================
   FOOTER
===================== */
/* =========================
PASTE INTO mainpagev4.css (append)
Namespaced footer + cookie banner: cab-
========================= */

.cab-footer{
  background: var(--color-brown);
  color: var(--color-white);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.cab-footer__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--color-brown);
}

.cab-footer__brand{ background: var(--color-brown); }
.cab-footer__logo{ max-width: 90px; height: auto; }
.cab-footer__logoLink{ display: inline-flex; background: var(--color-brown); }

.cab-footer__tagline{
  margin: .75rem 0 0 0;
  color: var(--color-white);
  opacity: .92;
  line-height: 1.55;
  background: var(--color-brown);
}

.cab-footer__col{ background: var(--color-brown); }

.cab-footer__title{
  margin: 0 0 .6rem 0;
  font-size: 1.05rem;
  color: var(--color-white);
  background: var(--color-brown);
}

.cab-footer__title--spaced{ margin-top: 1rem; }

.cab-footer__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
  background: var(--color-brown);
}

.cab-footer__link{
  color: var(--color-white);
  text-decoration: none;
  opacity: .95;
  background: var(--color-brown);
}

.cab-footer__link:hover{ opacity: 1; text-decoration: underline; }

.cab-footer__address{
  font-style: normal;
  display: grid;
  gap: .65rem;
  background: var(--color-brown);
}

.cab-footer__line{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: .75rem;
  align-items: start;
  background: var(--color-brown);
}

.cab-footer__label{
  color: rgba(255,255,255,.85);
  background: var(--color-brown);
}

.cab-footer__value{
  color: var(--color-white);
  opacity: .95;
  line-height: 1.45;
  background: var(--color-brown);
}

.cab-footer__bottom{
  padding: 1rem;
  text-align: center;
  background: var(--color-brown);
}

.cab-footer__small{
  margin: 0;
  color: rgba(255,255,255,.9);
  background: var(--color-brown);
}

/* Cookie banner */
.cab-cookie{
  position: fixed;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  border-radius: 0.75rem;
  z-index: 3000;
  padding: .8rem;
  background: rgba(248,244,241,.96);
  border-top: 1px solid rgba(186,169,141,.35);
  display: none;
  opacity: 0.9;
}

.cab-cookie__inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: .8rem;
}

.cab-cookie__text{
  margin: 0;
  color: var(--color-blue);
  line-height: 1.45;
}

.cab-cookie__link{ color: var(--color-blue); text-decoration: underline; }

.cab-cookie__actions{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.cab-cookie__btn{
  min-height: 44px;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(186,169,141,.6);
  background: transparent;
  color: var(--color-blue);
  font-weight: 700;
  cursor: pointer;
  
}

.cab-cookie__btn--primary{
  background: var(--color-brown);
  border-color: transparent;
  color: #fff;
}

@media (min-width: 768px){
  .cab-footer__inner{
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    align-items: start;
  }
  .cab-cookie__inner{
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}


/* =====================
   LAYOUT
===================== */

.container {
  max-width:900px;
  margin:0 auto; 
  padding:1.25rem; 
}

.section { 
  text-align:center;
}



.section p {
  color: var(--color-muted);
  max-width: 720px;
  margin: 0 auto;
}




/* =====================
   ABOUT CONTENT
===================== */

.about-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:1.5rem;
  margin-top:2rem;
}

.about-card {
  background: var(--color-white);
  border:1px solid var(--color-border);
  padding:1.5rem;
  text-align:left;
}



/* =====================
   METRICS
===================== */

.metrics {
  display:grid;
  grid-template-columns:1fr;
  gap:1.25rem;
  margin-top:2rem;
}

.metric {
  font-size:2rem;
  font-weight:600;
  color: var(--color-blue);
}

.metric-label {
  font-size:0.9rem;
  color: var(--color-muted);
}

/* =====================
   DESKTOP ENHANCEMENTS
===================== */

/*=========start other coverpages==========*/

.othercoverpage{
    background-color: lightblue;
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
}

.othercoverpage img{
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.othercoverpage div{
    position: relative;
    margin: auto;
    margin-left: 1em;
    margin-right: 1em;
    background-color:  rgb(248, 244, 241, 0.9);
    padding: 1em;
    border-radius: 5px;
    display: flex;  
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.othercoverpage h2,
.othercoverpage p{
  background-color: transparent;
}

/*=========end other coverpages==========*/


.clickable-link a{
  color: var(--color-blue);
}

/*=========Form==========*/

.form-section form { 
     display:grid;
     gap:5rem; 
     margin-top:1rem;
     border: 1px solid red;
    }

.form-section p{
    padding-bottom: 1em;
}

.form{
    padding:0.75rem; 
    border:none; 
    color:#fff; 
    cursor:pointer; 
    overflow: visible;
    height: 800px;
    }

@media (min-width: 768px) {

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .founder {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo img{
    left: 2vw;
    top: 2vw;
    max-width: 100px;
}

.off-screen-menu,
.popup-langopen {
  height: 100vh;
}

  .footer-main{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        width:120px;
        margin:auto;
        gap: 1em;
    }
  .footer-logo{
    max-width: 100px;
  }

  .othercoverpage div{
    padding: 1em;
    margin-left: 7em;
    margin-right: 7em;
  }


}



@media (min-width: 768px) { /* tablets */

}   

@media (min-width: 1024px) { /* desktops */


}  




