:root {
  --primary: #800020;
  --secondary: #ffd700;
  --grey: #eeeeee;
  --white: #ffffff;
  --dark: #181818;
  --default-spacing: 0.925rem;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  transition: 250ms;
  scroll-behavior: smooth;
  font-size: 1rem;
}

body {
  width: 100vw;
  position: relative;
  background: var(--grey);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
b {
  font-weight: 600 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
}

img {
  width: 100%;
}

footer {
  padding-top: 4rem;
}

footer .container {
  border-top: 1px solid var(--primary);
  padding: 2rem 0;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin: 3rem 0;
}

.footer__links a {
  color: var(--primary) !important;
  margin: var(--default-spacing) 0;
}

.footer__links a:hover {
  color: var(--dark) !important;
}

.footer__links {
  list-style: none;
}

.footer__address {
  color: var(--primary);
}

.footer__links,
.footer__copyright,
.footer__content a,
.footer__content h2 {
  /* font-size: 0.875rem; */
  color: var(--primary);
}

.footer__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  padding: 1.7rem 0;
}

.footer__icon {
  fill: var(--primary);
  width: 24px;
  height: 24px;
}

.footer__copyright {
  border-top: 1.2px solid var(--primary);
  padding: 2rem 0;
  opacity: 0.75;
}

/* Navbar Styling */
header {
  width: 100vw;
  position: relative;
}

nav {
  width: 100vw;
  background-color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  top: 53px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  position: fixed;
}

.navbar,
.navbar ul {
  display: flex;
  margin: 2.5rem 0;
}

.navbar {
  position: relative;
  width: 95%;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  width: 16rem;
}

.navbar ul {
  list-style: none;
  gap: 1.25rem;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--primary);
}

.navbar .link-outline {
  color: var(--primary);
}

.nav__link a:hover {
  color: var(--dark);
}

.nav__link {
  position: relative;
}

.nav__link--active::after {
  content: "";
  position: absolute;
  display: block;
  transform: translate(0%, calc(100% + 2.5rem));
  width: 100%;
  height: 1px;
  background-color: var(--white);
}

.nav__link--active:hover::after {
  background-color: var(--secondary);
}

.link-outline {
  padding: 0.95rem 1.5rem;
  border: 1px solid var(--white);
  text-transform: uppercase;
  text-decoration: none;
  /* font-size: 0.85rem; */
}

.link-outline:hover {
  border: none;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 1.4rem;
}

.link-outline--solid {
  border: none;
  color: var(--primary);
  background-color: var(--secondary);
  font-weight: 500;
}

.navbar--scroll {
  background-color: white;
}

.navbar--scroll .navbar ul li a {
  color: var(--primary);
}

.navbar--scroll .link-outline {
  border: 1px solid var(--dark);
}

.navbar--scroll .link-outline:hover {
  border: none;
}

.toggler {
  display: none;
}

.toggler:hover {
  cursor: pointer;
}

/* Hero Styling */
.hero {
  width: 100vw;
  min-height: calc(120vh - 6rem);
  background: linear-gradient(#800020d0, #800020bb), url("../images/hero-1.jpg");
  background-size: cover;
  padding: 4rem 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero__details {
  max-width: 700px;
  width: 90vw;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.4rem;
}

.hero__details h1 {
  font-size: 3rem;
  font-weight: 600;
}

.hero__details h2 {
  font-size: clamp(2.45rem, 2vw, 3rem);
  font-weight: 600;
  
  color: var(--white);
}

.hero__details p {
  opacity: 80%;
}

/* #intervention {
  background: linear-gradient(#eeeeeeab, #ffffffa2),  url('../images/office.jpg');
  background-position: 10%;
  background-size: cover; 
}*/

.m-norm {
  margin: var(--default-spacing) 0;
}

/* SLICKBOX STYLING */
.slickbox {
  min-height: 400px;
  position: relative;
}

.slickbox::after {
  content: "";
  display: block;
  width: 60%;
  height: calc(100% + 4rem);
  position: absolute;
  background-image: url("../images/hero.jpg");
  background-position-y: bottom;
  background-position-x: -10rem;
  background-repeat: no-repeat;
  background-size: cover;
  top: -2rem;
  left: -20%;
}

.sb{
    font-size:19px;
}

.slickbox__content {
  padding: 4rem 0;
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 5rem;
}

.slickbox__content__image {
  width: 80%;
  height: 100%;
  margin-left: 6rem;
  object-fit: cover;
  z-index: 10;
}

.slickbox__content__details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  color: var(--white);
}

.slickbox__content__details p {
  font-size: 1.075rem;
  font-weight: 400;
  opacity: 100%;
  margin: 1rem 0;
}

/* END OF SLICKBOX STYLING */

/* CARD GRID STYLING */

.cards {
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(27rem, auto);
  grid-auto-flow: row;
  gap: 1rem;
}

.card {
  position: relative;
  padding-top: 10rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  background-color: var(--white);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.cards--small {
  grid-auto-rows: minmax(15rem, auto);
  gap: 0.5rem;
}

.card--small {
  display: block;
  padding: 1.25rem;
}

.card--long {
  grid-column: 1/ 3;
}

.card__image {
  width: 1.75rem;
  height: 1.75rem;
  margin: var(--default-spacing) 0;
}

.card__tag {
  position: absolute;
  color: var(--grey);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  top: 0;
  left: 50%;
  font-size: 8rem;
}

.card__description,
.card__title,
.card__cta {
  color: var(--primary);
}

.card__description {
  margin: 0.925rem 0;
  font-size: 0.925rem;
}

.card__icon {
  grid-row-end: 2;
  margin: 2rem 0;
  width: 1vmin;
  height: 1vmin;
}

.card__cta {
  display: flex;
  align-items: center;
  gap: var(--default-spacing);
}

.card__cta span {
  font-size: 0.75rem;
}

.card:hover .card__icon {
  content: url("../icons/right-white.svg");
}

.card:hover {
  background-color: var(--primary);
}

.card:hover,
.card:hover .card__title,
.card:hover .card__description,
.card:hover .card__cta {
  color: white;
}

.card:hover .card__tag {
  left: 10%;
}

.card h1 {
  margin: 1.25rem 0;
}

/*  END OF CARD GRID STYLING */

/* CTA STYLING */
#cta {
  background: linear-gradient(#800020b9, #800020b9), url("../images/shake.png");
  background-size: cover;
  background-position-y: 60%;
}

.cta__content {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--white);
  justify-content: center;
  align-items: center;
  gap: 1.75rem 0;
}

.cta__text {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  font-weight: 500;
  font-size: clamp(1.75rem, 2vw, 2.25rem);
}

.cta__text--diff {
  color: var(--primary);
  font-weight: 600;
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  margin: 10vmin auto;
}

/* END OF CTA STYLING */

/* SIDECARD STYLING */
.sidecard {
  height: 100%;
  display: grid;
  grid-template-columns: 45% 55%;
  grid-auto-rows: minmax(10rem, auto);
  grid-auto-flow: row;
  align-items: flex-start;
  margin: 3rem 0;
}

.sidecard--short {
  grid-auto-rows: minmax(5rem, auto);
}

.sidecard--small {
  grid-template-columns: 35% 65%;
}

.sidecard--end {
  align-items: flex-end;
}

.sidecard--side {
  align-items: flex-start;
}

.sidecard__info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  padding: 6vmin 8vmin;
  background-color: var(--primary);
}

.sidecard__info p {
  color: var(--white);
}

.sidecard__image {
  /* height: 100%; */
  object-fit: cover;
}

.sidecard__image--full {
  height: 100% !important;
}

/* END OF SIDECARD STYLING */

/* BLOGCARD STYLING */
.blogcards {
  grid-auto-rows: max-content;
}

.blog__card>div {
  display: grid;
  grid-auto-rows: minmax(5rem, auto);
  justify-content: space-between;
}

.blog__card__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.blog__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: var(--default-spacing);
}

.blog__card__title {
  margin: var(--default-spacing) 0;
  cursor: pointer;
  color: var(--primary);
}

.blog__card:hover .blog__card__image img {
  transform: scale(1.5);
}

/* END OF BLOGCARD STYLING */

/* VALUES STYLING */
.value {
  color: var(--white);
}

.value>h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.value::after {
  content: "";
  display: block;
  width: 12vmin;
  height: 5px;
  margin: 2rem 0;
  background: var(--secondary);
}

.value:last-child::after {
  display: none;
}

/* END OF VALUES STYLING */

.list-style-color::marker {
  color: var(--white);
}

/* FLEXCARD STYLING */
.flexcard {
  margin: calc(var(--default-spacing) * 3) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(24rem, auto);
  justify-content: space-between;
  gap: 10vmin;
}

.flexcard__description p {
  margin: var(--default-spacing) 0;
}

.flexcard__image {
  width: 100%;
  background-color: red;
}

.flexcard__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* END OF FLEXCARD STYLING */

/* BLOG INTRO */
.blog__intro {
  margin: 5rem 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 50% 50%;
}

.blog__intro__text {
  color: var(--primary);
  font-weight: 500;
  font-size: clamp(1.45rem, 5vw, 4rem);
}

.blog__intro__image {
  width: 100%;
  height: 57vmin;
  object-fit: cover;
}

/* MODAL STYLING */
.modal {
  position: fixed;
  top: 0;
  padding: 2rem 0;
  width: 100vw;
  min-height: 100vh;
  display: none;
  place-content: center;
  /* background: linear-gradient(#800020e5, #800020e1), url("../images/logo-new.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center; */
  background: var(--primary);
  z-index: 30;
}

.modal::after {
  content: "";
  position: absolute;
  display: block;
  top: 75%;
  left: 100%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  transform: scale(2);
  opacity: 25%;
  background-size: contain;
  background-position: center;
  z-index: -1;
  background: url(../images/logo.png);
  background-repeat: no-repeat;
}

.modal--active {
  display: grid;
}

.modal__container {
  display: flex;
  gap: 1.25rem;
  flex-direction: column;
}

.modal__content {
  height: 90vh;
  overflow-y: scroll;
}

.modal__content::-webkit-scrollbar {
  display: none;
}

.modal__title h2 {
  max-width: 25ch;
  font-weight: 500;
  text-transform: capitalize;
}

.modal__title::after {
  content: "";
  display: block;
  width: 42ch;
  height: 0.125rem;
  background: var(--secondary);
}

.modal__content p,
.modal__content h1,
.modal__content h2 {
  color: var(--white);
}

.modal__content h1 {
  margin-bottom: var(--default-spacing);
}

.modal__content h2 {
  font-size: 1.15rem;
  font-weight: 500;
}

.modal__content p {
  margin: 1rem 0;
  max-width: 800px;
  width: 100%;
}

.modal__cancel {
  position: absolute;
  top: 4vmin;
  right: 4vmin;
  display: grid;
  place-content: center;
  font-family: "Space Grotesk", sans-serif;
  cursor: pointer;
}

.modal__cancel img {
  width: 4vmin;
  height: 4vmin;
}

/* END OF MODAL STYLING */

/* WHO CARD STYLING */
.who__card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.who__card__text--main {
  min-height: 62.5%;
  background-color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: var(--white);
}

.who__card__text--main p {
  margin: 1rem 0;
  width: 480px;
}

.who__card__text--slogan {
  color: var(--primary);
}

.who__card__text--main,
.who__card__text--slogan,
.who__card__image__text {
  padding: 3rem;
}

.who__card__image__text {
  background-color: var(--white);
  color: var(--primary);
}

.who__card__text h3 {
  text-align: right;
}

/* END OF WHO CARD STYLING */

/* CONTACT FORM STYLING */
/* Contact Form */
.contact__details,
.contact__details a {
  color: var(--dark);
}

.contact__details a,
.contact__details address {
  margin: var(--default-spacing) 0;
}

.contact__form {
  /* border-top: 1px solid var(--primary); */
  width: 100%;
}

.contact__form input,
.contact__form textarea {
  width: calc(100% - 2.5rem);
}

.contact__form input,
.contact__form textarea,
.contact__form__button {
  border: 2px solid var(--primary);
  outline-color: var(--secondary);
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
}

input::placeholder {
  color: var(--primary);
  font-weight: 600;
}

.contact__form textarea {
  resize: vertical;
}

.contact__form__button:hover {
  cursor: pointer;
  color: var(--primary);
  border: none;
  background-color: var(--secondary);
}

.contact__form p {
  color: var(--primary);
  font-weight: 700;
}

/* END OF CONTACT FORM STYLING */

/* Common Styling */
.section {
  margin: 1rem 0;
}

.bg-primary {
  background-color: var(--primary);
}

.text-center {
  text-align: center;
}

.section__title {
  font-weight: 600;
}

.container {
  width: 90vw;
  margin: 0 auto;
}

.container--weird {
  width: calc(85vw + 0.925rem);
  margin: 0 atuo;
}

.container--right {
  margin-left: calc(10vw + 3rem);
}

.container--left {
  margin-right: calc(10vw + 3rem);
}

.container__content {
  width: 85%;
  margin: 0 auto;
  padding: 2rem 0;
}

.text-white {
  color: var(--white);
}

.text-lg {
  font-size: clamp(1.85rem, 2vw, 2rem);
}

.text-md {
  font-size: clamp(1.25rem, 2vw, 1.35rem);
}

.text-primary {
  color: var(--primary);
}

.text-full {
  opacity: 100;
}

.content__header {
  height: auto;
  display: grid;
  grid-template-columns: 30ch calc(100% - 40ch);
  gap: 0 1.64rem;
  align-items: flex-end;
  justify-content: space-between;
}

.content__header--title {
  font-size: 3rem;
  margin-bottom: -1.25rem;
}

.content__header--details,
.content__header--title {
  color: var(--primary);
}

.content__header--details{
  max-width: 650px;
}

/* Preloader Styling */
.preloader {
  z-index: 99;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: grid;
  place-content: center;
  background: var(--primary);
}

.preloader--inactive {
  display: none;
}

.preloader img {
  max-width: 10vmin;
  animation-name: zoom;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(2);
  }
}

/* End Of Preloader Styling */

@media (max-width: 82.5rem) {

  .container--left,
  .container--right,
  .container--weird {
    margin: 0 auto;
  }

  .container--weird {
    width: 90vw;
  }

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

  nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    top: 2.25rem;
    box-shadow: 1px 1px 3px;
  }

  .navbar {
    padding: 1rem 0;
  }

  .nav__link--active::after {
    display: none;
  }

  .navbar ul {
    display: none;
    width: 100vw;
    height: max-content;
    position: absolute;
    background: white;
    left: -1.5rem;
    top: calc(100% - 2.475rem);
    padding: 2rem 1.5rem;
    flex-direction: column;
  }

  .navbar ul li:last-child {
    margin: 1rem 0;
  }

  .navbar--active {
    animation: navbareffect;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
  }

  .navbar--active .navbar ul {
    display: flex;
  }

  .navbar--active .link-outline {
    border: 1px solid var(--primary);
  }

  .navbar--active .link-outline:hover {
    border: none;
  }

  .navbar ul li a {
    color: #181818;
  }

  .toggler {
    display: block;
  }

  .slickbox__content {
    display: block;
  }

  .slickbox__content__image {
    width: 100%;
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .slickbox::after {
    display: none;
  }

  #slickbox>div {
    background-color: var(--grey);
  }

  .slickbox__content__details,
  .slickbox__content__details p {
    color: var(--primary);
  }


  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--long {
    order: 4;
  }

  /* SIDECARD STYLING */
  .sidecard {
    grid-template-columns: repeat(1, 1fr);
  }

  #intervention {
    background: none;
  }

  /* END OF SIDECARD STYLING */

  .who__card {
    grid-template-columns: 100%;
  }

  .who__card__image {
    grid-row-start: 1;
  }


  .who__card__image__text {
    background: var(--primary);
    color: var(--white);
  }

  .who__card__text--main {
    background-color: var(--white);
    color: var(--primary);
  }
  
  .container__content {
    width: 100%;
  }

  .content__header {
    display: block;
  }

  .content__header--title {
    margin-bottom: 1.25rem;
  }

  .footer__content {
    flex-direction: column;
    gap: 1rem;
  }

  .blog__intro {
    grid-template-columns: 100%;
  }
}

@media (max-width: 42rem) {
  .cards {
    grid-template-columns: repeat(1, 1fr);
  }
  
  nav{
      width: 100%;
  }

  .card--long {
    grid-column: 1;
    order: 0;
  }
  
  .hero__details h2 {
    width: 350px;

  }
  
  .text-white{
      margin-bottom: 15px;
     
  }
  
  .hh{
      font-size: 60px !important;
  }
  
  
  .mu2 {
      margin-top: -140px;
  }
  
  .blog__intro__text{
      font-size: 35px;
  }
  
  .nav__logo {
  width: 10rem;
 }

.who__card__text--main p {
  margin: 1rem 0;
  width: 230px;
}
  
  /*.content__header--title{*/
  /*    margin-bottom: -50px;*/
  /*}*/
  
  .mu{
      margin-top: -100px;
  }
}