:root{
  /* Old color scheme (kept) */
  --teal: #006f86;
  --green: #29AB87;
  --bar: #9DC183;
  --accent: #fd8901;
  --text: #043927;

  /* Neutrals */
  --bg: #f6f8fb;
  --card: #ffffff;
  --muted: rgba(8, 18, 28, 0.65);

  --shadow: 0 18px 50px rgba(0,0,0,.14);
  --shadow2: 0 12px 30px rgba(0,0,0,.10);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; overflow-x:hidden; }
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: #0b1a22;
  line-height: 1.55;
}

a{ text-decoration: none; color: inherit; }
img{ max-width: 100%; display:block; }

.container{
  width: min(1600px, 98%);
  margin-inline: auto;
}

.theme-bar{
  height: 10px;
  width: 100%;
  background: var(--bar);
}

/* ============ TOPBAR ============ */
.topbar{
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.topbar__left{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
}
.topbar__item{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal);
}
.pill-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(157,193,131,.18);
  color: var(--teal);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.pill-link:hover{ background: rgba(157,193,131,.28); transform: translateY(-1px); }

@media (max-width: 820px){
  .topbar__right{ display:none; }
}

/* ============ HEADER ============ */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,111,134,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header__inner{
  height: 86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}
.brand__logo{
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  padding: 6px;
}
.brand__text{ display:flex; flex-direction:column; }
.brand__name{
  color:#fff;
  font-weight: 900;
  letter-spacing: .4px;
  font-size: 18px;
}
.brand__tag{
  color: rgba(255,255,255,.85);
  font-size: 12px;
  margin-top: 2px;
}

.nav--desktop{
  display:flex;
  align-items:center;
  gap: 8px;
}
.nav__link{
  color:#fff;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.nav__link:hover{ background: rgba(255,255,255,.12); transform: translateY(-1px); }
.nav__link.active{ background: rgba(157,193,131,.35); }

.header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary{
  background: linear-gradient(135deg, var(--accent), #ffb55c);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(253,137,1,.28);
}
.btn--primary:hover{ transform: translateY(-1px); box-shadow: 0 18px 45px rgba(253,137,1,.35); }
.btn--ghost{
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn--ghost:hover{ transform: translateY(-1px); background: rgba(255,255,255,.16); }
.w-100{ width:100%; }

/* Mobile menu button */
.menu-btn{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  display:none;
  align-items:center;
  justify-content:center;
  gap: 5px;
  flex-direction: column;
}
.menu-btn__bar{
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

@media (max-width: 980px){
  .nav--desktop{ display:none; }
  .menu-btn{ display:flex; }
  .header__actions .btn--primary{ display:none; } /* keep header clean on mobile */
}

/* ============ DRAWER ============ */
.drawer-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1200;
}

.drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: #fff;
  z-index: 1300;
  transform: translateX(110%);
  transition: transform .28s ease;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
}
.drawer.open{ transform: translateX(0); }

.drawer__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 16px 10px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.drawer__title{
  font-weight: 900;
  color: var(--teal);
  font-size: 16px;
}
.drawer__close{
  border: 0;
  background: rgba(0,0,0,.06);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor:pointer;
  font-size: 18px;
}
.drawer__nav{
  padding: 10px 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.drawer__link{
  padding: 12px 12px;
  border-radius: 14px;
  font-weight: 800;
  color: var(--teal);
  background: rgba(157,193,131,.18);
  display:flex;
  align-items:center;
  gap: 10px;
}
.drawer__link.active{ background: rgba(157,193,131,.28); }
.drawer__link:hover{ background: rgba(157,193,131,.34); }

.drawer__cta{
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.drawer__mini{
  margin-top: 10px;
  display:grid;
  gap: 10px;
}

/* ============ HERO ============ */
.hero{
  position: relative;
  padding: 40px 0 26px 0;
  overflow: hidden;
}
.hero__bg{
  position:absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 10% 15%, rgba(41,171,135,.22), transparent 60%),
    radial-gradient(800px 420px at 80% 25%, rgba(253,137,1,.16), transparent 60%),
    linear-gradient(180deg, rgba(0,111,134,.10), transparent 50%);
  pointer-events:none;
}

.hero__grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: center;
}

.hero__badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,111,134,.10);
  color: var(--teal);
  font-weight: 800;
  width: fit-content;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(41,171,135,.16);
}

.hero__title{
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.06;
  margin: 14px 0 10px 0;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.accent{ color: var(--teal); }

.hero__subtitle{
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  margin: 0 0 16px 0;
}

.hero__buttons{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Carousel */
.hero__media{
  position: relative;
}
.carousel{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0b1a22;
}
.carousel__slides{
  position: relative;
  height: clamp(320px, 42vw, 520px);
}
.carousel__slide{
  position:absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .8s ease;
}
.carousel__slide.is-active{
  opacity: 1;
  transform: scale(1);
}
.carousel__slide img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.carousel__overlay{
  position:absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55));
  display:flex;
  align-items:flex-end;
  padding: 18px;
}
.carousel__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  font-weight: 900;
  backdrop-filter: blur(8px);
}
.carousel__btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 26px;
  cursor:pointer;
}
.carousel__btn.prev{ left: 14px; }
.carousel__btn.next{ right: 14px; }
.carousel__btn:hover{ background: rgba(255,255,255,.18); }

.carousel__dots{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display:flex;
  gap: 8px;
  justify-content: center;
  pointer-events: auto;
}
.dotbtn{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor:pointer;
  background: rgba(255,255,255,.35);
}
.dotbtn.active{ background: rgba(255,255,255,.95); }

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

/* ============ SECTIONS ============ */
.section{
  padding: 54px 0;
}
.section--alt{
  background: linear-gradient(180deg, rgba(0,111,134,.06), rgba(41,171,135,.06));
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section__title{
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  color: #0b1a22;
}
.section__desc{
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

/* ========= UPDATED CARDS LAYOUT =========
   Because you now have:
   - 1st .cards contains ONLY Brief History => make it full width
   - 2nd .cards contains Vision + Mission => make them take full width together
*/
.cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* default: 2 equal columns */
  gap: 14px;
  width: 100%;
}

.cards > .card{
  min-width: 0;
}

.cards > .card:only-child{
  grid-column: 1 / -1; /* if only one card in the grid, make it full width */
}

.card{
  background: var(--card);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
}

.card h3{
  margin: 0 0 10px 0;
  font-size: 16px;
  color: var(--teal);
  font-weight: 900;
}

.card p{
  margin: 0;
  color: rgba(8,18,28,.72);
}

.card--wide{
  border-left: 6px solid var(--accent);
}

/* Colored left borders for Vision/Mission (same style as Brief History) */
.card--vision{
  border-left: 6px solid var(--bar);     /* light green */
}
.card--mission{
  border-left: 6px solid var(--green);   /* green */
}

/* Read more button should look like a link but behave like a button */
.readmore-btn{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* Expandable history content */
.readmore{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0,0,0,.18);
}

.readmore h4{
  margin: 14px 0 8px 0;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 900;
}

.readmore p{
  margin: 0 0 10px 0;
  color: rgba(8,18,28,.72);
}

.text-link{
  display:inline-flex;
  gap: 8px;
  align-items:center;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

/* Mobile: stack cards full width */
@media (max-width: 980px){
  .section__head{ flex-direction: column; align-items:flex-start; }
  .cards{ grid-template-columns: 1fr; }
}

/* ============ TEAM ============ */
.team{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.person{
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow2);
}
.person img{
  width:100%;
  height: 460px;
  object-fit: cover;
  transition: transform .7s ease;
}
.person:hover img{ transform: scale(1.05); }
.person__info{
  padding: 14px 14px 16px 14px;
}
.person__name{
  font-weight: 900;
  color: #0b1a22;
}
.person__role{
  margin-top: 6px;
  font-weight: 800;
  color: var(--teal);
  font-size: 13px;
}

@media (max-width: 1050px){
  .team{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .team{ grid-template-columns: 1fr; }
}

/* ============ GALLERY ============ */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.g{
  position: relative;
  border-radius: 18px;
  overflow:hidden;
  background: #0b1a22;
  box-shadow: var(--shadow2);
  border: 1px solid rgba(0,0,0,.06);
}
.g img{
  width:100%;
  height: 210px;
  object-fit: cover;
  transition: transform .75s ease, opacity .75s ease;
}
.g span{
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
}
.g:hover img{ transform: scale(1.06); opacity: .95; }

@media (max-width: 1050px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .gallery{ grid-template-columns: 1fr; }
  .g img{ height: 240px; }
}

/* CTA strip */
.cta-strip{
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(0,111,134,.12), rgba(41,171,135,.12));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  box-shadow: var(--shadow2);
}
.cta-strip h3{ margin:0; font-weight: 900; color: #0b1a22; }
.cta-strip p{ margin: 6px 0 0 0; color: var(--muted); font-weight: 600; }

@media (max-width: 820px){
  .cta-strip{ flex-direction: column; align-items:flex-start; }
}

/* ============ FOOTER ============ */
.footer{
  background: var(--teal);
  color: #fff;
  padding-top: 34px;
  margin-top: 10px;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  padding-bottom: 22px;
}
.footer__title{
  font-weight: 900;
  margin-bottom: 10px;
}
.footer__text{
  margin: 0 0 8px 0;
  opacity: .92;
}
.footer__link{
  display:block;
  padding: 6px 0;
  opacity: .95;
  font-weight: 700;
}
.footer__link:hover{ opacity: 1; text-decoration: underline; }

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 14px 0;
  text-align:center;
  opacity: .95;
  font-weight: 600;
}

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