/*
* Miniawi 2025
* Copyright 2025, Yousuf El-Miniawi
* www.miniawi.com
*/


/* Global html styles */
body {
  background-color: #F2F2F2;
  color: #334D5D;
  font-family: Raleway, sans-serif;
}

img {
  width: 100%;
  height: auto;
}

button,
.button {
  /* background-color: #ED6464; */
  color: #334D5D;
  border: #ED6464 2px solid;
  margin: 12px 0;
  width: fit-content;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1.6rem;
  letter-spacing: 0.05rem;
  text-decoration: underline;
}

button a:hover {
  color: #fff;
  background-color: none;
  transition: background-color 0.3s ease-in-out;
}


button:hover,
button:hover a,
.button:hover {
  background-color: #ED6464;
  border: none;
  color: #fff;
  transition: background-color 0.3s ease-in-out;
}

@media (min-width: 768px) {
  ol {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    gap: 8px;
  }
}

@media (min-width: 350px) {
  h1 {
    font-size: 2.5rem;
    line-height: 3.2rem;
  }

  h2 {
    margin: 0;
    padding: 0;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 3.6rem;
    margin-bottom: 12px;
  }

  h3 {
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
  }

  a {
    font-weight: 700;
    /* color: #334D5D; */
    color: #ED6464;
    transition: 0.3s ease-in;
  }

  a:hover {
    color: #fff;
    background-color: #334D5D;
    transition: 0.3s ease-out;
  }

  ol {
    flex-direction: row;
    gap: 8px;
  }

  ol .ol-no {
    font-size: 6.4rem;
    line-height: 6.4rem;
    font-weight: 900;
    flex-wrap: wrap;
  }

  ul {
    margin: 0;
    margin-top: 20px;
    padding: 0;
  }

  ul li {
    margin: 0;
    margin-left: 15px;
    list-style: disc;
  }
}

@media (min-width: 750px) {
  h1 {
    font-family: Raleway, sans-serif;
    font-size: 6.4rem;
    font-weight: 600;
    line-height: 6.4rem;
  }
}

/* DIV specific */
@media (min-width: 750px) {
  .row {
    margin-bottom: 30px;
  }
}

@media (min-width: 350px) {
  .strapline p {
    text-align: left;
    font-family: Raleway, sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    font-style: normal;
  }

  .headerbar {
    padding-top: 10px;
    border-top: 2px solid #fff;
    background-color: #334D5D;
    color: #fff;
  }
}

.inner-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 48px;

}

/* Case studies */
.casestudy {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.casestudy-hero {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), 0 -4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  line-height: 0;
}

.casestudy .upper-section,
.casestudy-hero .upper-section {
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
  background-color: #FFDE64;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  box-sizing: border-box;
  padding: 24px 24px 0 24px;
  line-height: 0;
}

.casestudy .lower-section {
  -webkit-border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
  background-color: #FFFDF7;
  padding: 12px 24px 24px 24px;
  display: flex;
  flex-direction: column;
}

.hero {
  background: linear-gradient(0deg, #FBFBFB 50%, #334D5D 50%);
}

.casestudy h2 {
  font-size: 2.6rem;
  line-height: 3.2rem;
  font-weight: 700;
}

.casestudy p {
  font-size: 1.4rem;
  line-height: 1.6rem;
  font-weight: 300;
  margin-bottom: 0;
}

.casestudy a {
  opacity: 1;
  transition: 0.3s ease-in;
}

.casestudy a:hover {
  opacity: 0.5;
  transition: 0.3s ease-out;
}

.casedetail h1 {
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: 700;
}

.casedetail h2 {
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: 700;
}

.casedetail p {
  font-size: 1.5rem;
  line-height: 2.3rem;
}

.large-body {
  font-size: 2.4rem;
  line-height: 3.4rem;
}

.why-needed {
  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px;
  gap: 12px;

  background: #353A8C;
  color: #fff;
  border-radius: 14px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
}

.outcomes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 16px;

  background: #334D5D;
  color: #fff;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}

.research-outcomes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 16px;

  background: #EEEEEE;
  /* color: #fff; */
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}

.testing-outcomes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 16px;

  background: #FBEDED;
  border: 2px solid #FF6C6C;
  /* color: #fff; */
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}

.why-needed h3 {
  font-size: 2.0rem;
  line-height: 3.0rem;
  font-weight: 700;
  margin: 0;
}

.why-needed ul {
  margin: 0;
  padding: 0;
  margin-bottom: 24px;
}

/* About me */
.aboutme {
  margin: 0;
  padding: 0;
  margin-top: 24px;
  padding-top: 10px;
  border-top: 2px solid #334D5D;
}

.aboutme img {
  width: 100%;
  height: auto;
}

p.headline {
  font-size: 2.5rem;
  line-height: 3rem;
}

.footer p {
  font-size: 1.4rem;
}

/* Utility classes */
.bluehighlight {
  color: #1A9984;
}

.whitebg {
  background-color: #fff;
}

.zeromargin {
  margin: 0 !important;
}

.hr-white {
  padding: 0;
  margin: 0;
  color: #fff;
  border-top: solid 2px;
  padding: 6px 0;
  margin-top: 24px;
  ;
}