@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;1,400;1,700&Cinzel&display=swap');
@import url('carbon.css');

:root {
  /* Layout */
  --container: 1280px;
  --narrow: 1100px;
  --rad: 8px;
  --x: 1.5rem;
  --x2: 3rem;
  --x3: 6rem;
  --y: 3rem;
  /* Typography */
  --body-font: 400 14px/1.5 var(--font);
  --font: 'Montserrat', sans-serif;
  --font2: 'Cinzel', serif;
  --light: 400;
  --medium: 600;
  --bold: 600;
  --ls: 1px;
  --hd: var(--font2);
  --hd-fw: 400;
  /* Colours */
  --body: var(--w2) url(../img/bg-body.webp);
  --color: var(--ac3);
  --link: var(--ac);
  --ac: #98A281;
  --ac2: #505544;
  --ac3: #4D4E4C;
  --ac4: #2A2F22;
  --w1: #fff;
  --w2: #FFFFFE;
  --w3: #E7E3DA;
  --w4: #BBAE92;
  --inv: var(--w3);
  --inv-bg: var(--ac2);
  accent-color: var(--ac);
  --form-bg: var(--w2);
  --footer: var(--ac2);
  --footer-bg: var(--ac4);
  /* Buttons */
  --btn: var(--w1);
  --btn-bg: var(--ac);
  --btn2: var(--w1);
  --btn2-bg: var(--w3);
  /* Table */
  --th: var(--w3);
  --tr: var(--w2);
  --th-bg: var(--ac);
  /* Hero */
  --hero-bg: var(--ac4);
  --hero-gradient: linear-gradient(50deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, 0) 100%);
  --hero-split: var(--w2);
  --tagline: var(--w1);
  /* Nav */
  --header-bg: rgba(23, 26, 19, .8);
  --header-bg-alt: transparent;
  --logo-height: 48px;
  --logo-height-alt: 48px;
  --logo-filter: none;
  --blur: saturate(180%) blur(20px);
  --nico: var(--ac);
  --menu: var(--w3);
  --menu-alt: var(--w1);
  --menu-bg: var(--ac4) url(../img/bg-menu.webp);
  --menu-pad: .35rem 1rem;
  --menu-fs: 1.6875rem;
  --menu-active: var(--ac2);
  --menu-sub: var(--ac2);
  --menu-sub-fs: 1rem;
  --cta: var(--ac2);
  --cta-bg: linear-gradient(rgb(95, 252, 123) 0%, rgb(40, 209, 70) 100%);
  /* Icons */
  --ico: 44px;
  --ico-sm: 24px;
  --ico-footer: none;
  --ico-filter: none;
  --ico-sm-filter: none;
}

@media (min-width: 1280px) {
  :root {
    /* Layout */
    --x: 2.5rem;
    --y: 4.5rem;
    --jut: -60px;
    /* Nav */
    --menu-fs: 1rem;
    --menu: var(--ac);
    --menu-alt: var(--ac);
    --menu-sub: var(--ac2);
    --menu-sub-fs: .875rem;
    --menu-pad: 1rem 2rem;
    --submenu-bg: var(--ac2);
  }
}

/* Background Colours */
body {
  background-size: 2000px auto;
  scroll-margin-top: 3rem;
}

.bg-leaf {
  background: transparent url(../img/bg-leaf.webp) no-repeat right top;
  background-size: 100vw auto;
}

.bg-logo {
  background: var(--w3) url(../img/logo-big.svg) no-repeat 50vw 5vh;
  background-size: auto 1000px;
}

.bg-dark {
  background: var(--ac4) url(../img/bg-dark.webp) right top;
  background-size: cover;
}

.w2 {
  background-color: var(--w2);
}

.w3 {
  background-color: var(--w3);
}

@media (max-width: 1279px) {
  .menu {
    background-size: cover;
  }

  .alt .logo {
    opacity: 0;
  }
}

@media screen and (max-width: 767px) {
  .bg-logo {
    background: var(--w3) url(../img/logo-big.svg) no-repeat 60vw 5vh;
    background-size: 550px auto;
  }

  .bg-leaf {
    background-size: 150vw auto;
  }
}

/* Texts */
.font1 {
  font-family: var(--font);
}

.font2 {
  font-family: var(--font2);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
.t-ac {
  color: var(--ac3);
}

h2 {
  margin-bottom: 1.25rem;
}

h2 big {
  font-size: 150%;
  color: var(--ac);
  vertical-align: middle;
  display: inline-block;
  margin-top: -10px;
}

h4 {
  font-size: 1.125rem;
}

.t-ac {
  color: var(--ac);
}

.t-v {
  display: inline-block;
  transform: rotate(90deg);
  margin-left: -30px;
}

.inv *:not([class*=btn]) {
  color: var(--inv);
}

.display {
  font-size: 3.75rem;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.narrower {
  width: 700px;
  max-width: 100%;
  margin: 0 auto
}

@media screen and (min-width: 48rem) {
  .inv-md * {
    color: var(--inv);
  }

  .display {
    font-size: 4rem;
    letter-spacing: -3px;
  }
}

/* Footer */
footer {
  position: sticky;
  top: 100vh;
  background: var(--w1);
}

footer .row {
  padding: 2.75rem var(--x) 2.25rem
}

footer,
footer a {
  color: var(--ac2) !important;
}

footer h4 {
  font-size: 1rem;
  margin-bottom: 1.125rem;
}

footer ul {
  margin-bottom: 1rem;
  padding-left: 0;
  list-style: none;
}

footer ul li {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.625;
}

footer .ico {
  filter: var(--ico-footer);
}

.credit {
  padding: 1.5rem;
  text-align: center;
}

.credit {
  margin-bottom: 0;
  font-size: .5rem;
  letter-spacing: 1px
}

.sml p {
  font-size: .875rem;
  line-height: 1.4
}

.sml h4 {
  margin-bottom: 1.125rem;
  font-style: italic;
}

/* Custom */
.of-x {
  overflow-y: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior: contain;
  -ms-overflow-style: none;
}

.of-x::-webkit-scrollbar {
  display: none;
}

.invis {
  visibility: hidden;
}

@media screen and (max-width: 767px) {
  .flex-sm {
    display: flex;
    align-items: center;
  }

  .flex-sm>* {
    flex: 1 1 50%;
  }
}

@media screen and (min-width: 1280px) {
  header {
    padding-top: 6px;
  }

  header::before {
    content: "";
    width: 100vw;
    height: 6px;
    background-color: var(--ac);
    position: absolute;
    top: 0;
    left: 0;
    transition: all .4s;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility .5s ease;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: calc(100% - 3rem);
  max-width: 580px;
  position: relative;
}

.modal-content>div::-webkit-scrollbar {
  display: none;
}

.modal-content>div:not(.close-btn) {
  background: var(--ac);
  border-radius: var(--rad);
  width: 100%;
  max-height: calc(100vh - 3rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-content .close-btn {
  position: absolute;
  top: -.75rem;
  right: -1.25rem;
  width: 34px;
  height: 34px;
  cursor: pointer;
  background: url(../img/close.svg) no-repeat center center;
  background-size: contain;
  z-index: 1002;
}

.modal-img {
  position: relative;
  display: inline-block;
  font-size: 0;
}

.modal-img img {
  aspect-ratio: 7/4;
  object-fit: cover;
}

.modal-img::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  pointer-events: none;
  /* Prevent interference with the image */
}

.modal-img::after {
  content: attr(data-year);
  /* Insert the year from the data-year attribute */
  position: absolute;
  bottom: 60px;
  left: -35px;
  color: var(--w2);
  font-size: 4rem;
  z-index: 1;
  display: inline-block;
  transform: rotate(90deg);
  letter-spacing: -3px;
  line-height: 1;
  width: 150px;
  text-align: right;
}

.modal-txt {
  padding: 1rem 1.25rem;
  color: var(--w2);
  font-size: .875rem
}

.modal-txt>*:last-child {
  margin-bottom: .5rem
}

.milestones {
  position: relative;
}

.years {
  position: absolute;
  width: calc(1280px - var(--x) * 2);
  aspect-ratio: 128/44;
  text-indent: -9999rem;
  overflow: hidden;
  left: var(--x);
}

.years a {
  position: absolute;
  display: block;
  width: 12.5%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
}

.years a:nth-child(2) {
  left: 12.5%;
}

.years a:nth-child(3) {
  left: 25%;
}

.years a:nth-child(4) {
  left: 37.5%;
}

.years a:nth-child(5) {
  left: 50%;
}

.years a:nth-child(6) {
  left: 62.5%;
}

.years a:nth-child(7) {
  left: 75%;
}

.years a:nth-child(8) {
  left: 87.5%;
}

.milestones img {
 min-width: 1280px;
}

#brands {
  scroll-margin-top: 3rem;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.brand-logos>a {
  flex: 0 1 180px;
  max-width: 100%;
  max-height: 160px;
}

.brand-logos>a img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.brand-logos>a:nth-child(3) {
  max-width: 120px;
}

.brand-logos>a:nth-child(4) {
  max-width: 180px;
}

.brand-details>div {
  border-radius: var(--rad);
  overflow: hidden;
  background: var(--w2) url(../img/bg-body.webp);
  background-size: 2000px auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.brand-txt {
  padding: 1.5rem 3rem;
  margin-top: -80px;
  display: flex;
  flex-direction: column;
  height: 100%
}

.brand-txt h4 {
  margin-bottom: 3rem;
  font-family: var(--font2);
  font-weight: 300;
  color: var(--ac);
  text-transform: uppercase;
  max-width: 60%;
}

.blobs {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
}

.blob,
.blob2 {
  font-size: .875rem;
  text-align: center;
  background: #fff;
  padding: .5rem 2rem;
  display: inline-flex;
  border-radius: 28px;
  border: 1px solid var(--ac);
  line-height: 1;
  align-self: flex-start;
}

.blob2 {
  background: var(--ac);
  color: #fff;
  border: none;
  padding: .5rem 1.5rem;
  min-height: 40px;
  display: flex;
  line-height: 1.3;
  flex-direction: column;
  justify-content: center
}

@media screen and (max-width: 767px) {
  .brand-details>div {
    margin-bottom: 2rem;
  }

  .brand-txt {
    padding: 1rem;
    padding: 1.5rem;
  }

  .brand-txt h4 {
    margin-bottom: 2.5rem;
  }
}

@media screen and (max-width: 450px) {
  .brand-logos{
    gap: 1.25rem;
  }
  
  .brand-logos>a {
    flex: 0 1 150px;
    max-height: 150px;
  }

  .brand-txt {
    margin-top: -50px;
  }

  .brand-txt h4 {
    margin-bottom: 2rem;
  }

  .blob,
  .blob2 {
    font-size: .75rem;
  }
}

@media screen and (max-width: 700px) {
  .modal-img::after {
    bottom: 50px;
    left: -20px;
    font-size: 2.5rem;
    width: 100px;
  }

  .modal-txt {
    padding: .5rem 1rem;
    font-size: .813rem;
  }
}

/* gallery grid */
.brand-details .col-6 {
  transition: .4s ease-in-out;
}

@media (min-width: 768px) {
  .brand-details .col-6:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
}

/* Map */

.map>div{
  position: relative;
}

.pin {
  position: absolute;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.pin::after,
.pin::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  animation: pulse 1.5s infinite;
  left: 50%;
  top: 50%
}

.pin::before {
  width: 8px;
  height: 8px;
  background-color: #000;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.tippy-box {
  box-shadow: 0 0 20px 4px rgba(154, 161, 177, .25), 0 4px 80px -8px rgba(36, 40, 47, .35), 0 4px 4px -2px rgba(91, 94, 105, .15);
  border-radius: 0
}

.tippy-content {
  padding: 2px
}

.tippy-content table {
  margin: 0;
}

.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0}

.branch-details{
  display: none;
}

table table{
  margin: 0;
}

table table td{
 padding: 0
}

table table td:first-child{
 padding-right: 5px
}

tr:nth-child(even),tr:hover {
  filter: none;
}

td.total{
  background: var(--w4);
  font-size: 2rem;
  font-weight: var(--bold);
  text-align: center;
  vertical-align: top;
  color: var(--w1);
  padding: 2px 8px;
}

td.state{
background: linear-gradient(to right, var(--ac2), var(--ac));
color: var(--w1);
font-weight: var(--bold);
padding: 8px;
font-size: .75rem;
}

td.nos{
background: var(--w1);
color: var(--color);
font-size: .6875rem;
font-weight: var(--bold);
padding: 8px;
}

td.nos em{
font-weight: 400;
}

@media screen and (min-width: 768px) {
  .map {
    display: flex;
    align-items: center;
    justify-content: space-around
  }

  .m-east{
    width: calc(100% / 2)
  }
  
  .m-west{
    width: calc(100% / 3)
  }
  .pin {
    width: 24px;
    height: 24px;
  }
  td.total{
    font-size: 2rem;
    padding: 5px 10px;
  }
  td.state{
    font-size: .875rem;
  padding: 10px;
}
td.nos{
  font-size: .75rem;
padding: 10px;
}
.hide-md{
  display: none !important
}
}