/*========== GOOGLE FONTS ==========*/
@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700&family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Outfit:wght@100;200;300;400;500;600;700;800&family=Yeseva+One&display=swap");

/*========== VARIABLES CSS ==========*/
:root {
  /*===== Colors =====*/
  --soft-white: #fbfaf5;
  --soft-black: #181a18;
  --white: #ffffff;
  --black: #0a0a0a;
  --theme-dark: #1c1d20;
  /* --light-white: #1c1d20; */
  --light-green: #f1faf1;
  --light-blue: #bebae8;
  --light-pink: #f9b5cd;
  --text-grey: #444950;
  --light-grey: #ebebeb;
  --shy-green: #daf4ec;
  --shy-blue: #c0e4f5;
  --confident-blue: #68bfe8;
  --soothing-blue: #ecf7fc;
  --warmth-orange: #f2572c;
  --charcoal-grey: #232428;
  --charcoal-black: #1c1c24;
  --signal-red: #ff2600;
  --light-aluminium: #f6f7f9;
  --success: #13ae8f;
  --error: #ff3333;

  /*===== Font and typography =====*/
  --pri-font: "Cormorant Infant", serif;
  --sec-font: "Outfit", sans-serif;
  --alm-font: "Almarai", sans-serif;
  --yes-font: "Yeseva One", serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --fs-6: 6rem;
  --fs-5-5: 5.5rem;
  --fs-5: 5rem;
  --fs-4-5: 4.5rem;
  --fs-4: 4rem;
  --fs-3-5: 3.5rem;
  --fs-3: 3rem;
  --fs-2-5: 2.5rem;
  --fs-2: 2rem;
  --fs-1-5: 1.5rem;
  --fs-1: 1rem;
  --fs-0-95: 0.95rem;
  --fs-0-85: 0.85rem;
  --fs-0-75: 0.75rem;
  --fs-0-65: 0.65rem;
  --fs-0-5: 0.5rem;
  --fs-0-25: 0.275rem;
  --fs-0-2: 0.2rem;
  /*===== Font weight =====*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*===== Margenes Bottom =====*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  --mb-3-5: 3rem;
  --mb-4: 4rem;
  --mb-4-5: 4.5rem;
  --mb-5: 5rem;
  --mb-5-5: 5.5rem;
  --mb-6: 6rem;
  --mb-6-5: 6.5rem;
  --mb-7: 7rem;
  --mb-7-5: 7.5rem;
  --mb-8: 8rem;
}

/* --------------- ================== CASE STUDY ================== --------------- */
.cs-main {
  width: 100%;
}

/*************** CS [HERO SECTION] ***************/
.cs-hero {
  width: 100%;
  height: 100dvh;
  padding: var(--mb-4-5) var(--mb-8);
  padding-bottom: var(--mb-2);
  /* border: 1px dodgerblue solid; */
}

.csh-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  justify-content: space-between;
  border: 6px var(--white) solid;
  z-index: 15;
  /* border: 1px red solid; */
}

.csh-title {
  z-index: 2;
  width: 100%;
  height: 100%;
  row-gap: var(--mb-1);
  background: rgba(0, 0, 0, 0.5);
  /* backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
  /* border: 1px dodgerblue solid; */
}

.csh-title span {
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  color: var(--soft-white);
}

.csh-title h1 {
  font-size: 5.5rem;
  font-weight: 500;
  text-align: center;
  color: var(--soft-white);
  font-family: var(--pri-font);
  line-height: 1.5;
}

.csh-title h1 strong {
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  color: var(--light-grey);
  font-family: var(--sec-font);
}

.csh-title a {
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  color: var(--soft-white);
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-color: var(--warmth-orange);
}

.csh-img {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.csh-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

/*************** CS [CARDS SECTION] ***************/
.cs-cards {
  width: 100%;
  padding: 0 var(--mb-8);
  z-index: 15;
}

.csc-text {
  width: 100%;
  /* border: 1px dodgerblue solid; */
  padding: var(--mb-6) var(--mb-4);
}

.csc-text:first-child {
  padding-top: var(--mb-4);
}

.csc-text p {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--soft-white);
  text-align: center;
  opacity: 0.9;
  font-family: var(--pri-font);
}

.csc-img {
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  flex-wrap: wrap;
  row-gap: var(--mb-2);
}

.csci {
  flex: 0 0 32%;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
  /* border: 1px plum solid; */
}

.csci:hover img {
  scale: 1.1;
}

.csci-full {
  flex: 0 0 100%;
  height: 550px;
  /* border: 1px red solid; */
}

.csci-full img {
  object-position: 50% 30%;
}

.csci-half {
  flex: 0 0 48.5%;
  height: 350px;
  /* border: 1px red solid; */
}

.csci img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1.5s ease;
}

.cs-contact {
  position: relative;
  width: 100%;
  padding: var(--mb-8);
  padding-top: var(--mb-4);
  z-index: 30;
  background-color: var(--black);
}

/*------------------------===== MEDIA QUERIES =====------------------------*/
/* Media query for screens with a maximum width of 480px */
@media screen and (max-width: 480px) {
  /* --------------- ================== CASE STUDY ================== --------------- */
  .cs-main {
    width: 100%;
    overflow: hidden;
  }

  .cs-main .mouse-scroll {
    position: fixed;
    bottom: 2.5rem;
    right: 0.5rem;
    width: 15px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
  }

  .cs-main .mouse-wheel {
    display: block;
    width: 5px;
    height: 5px;
  }

  /*************** CS [HERO SECTION] ***************/
  .cs-hero {
    width: 100%;
    height: 100dvh;
    padding: var(--mb-4) var(--mb-2);
    padding-bottom: var(--mb-2);
    /* border: 1px dodgerblue solid; */
  }
  .csh-container {
    border: 4px var(--white) solid;
    /* border: 1px red solid; */
  }

  .csh-title {
    z-index: 2;
    row-gap: var(--mb-2);
    padding: var(--mb-1);
  }

  .csh-title span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: var(--soft-white);
  }

  .csh-title h1 {
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    color: var(--soft-white);
    font-family: var(--pri-font);
    line-height: 1.3;
  }

  .csh-title h1 strong {
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    color: var(--light-grey);
    font-family: var(--sec-font);
  }

  .csh-title a {
    font-size: 0.8rem;
  }

  .csh-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
  }

  /*************** CS [CARDS SECTION] ***************/
  .cs-cards {
    width: 100%;
    padding: 0 var(--mb-2);
    z-index: 5;
  }

  .csc-text {
    width: 100%;
    /* border: 1px dodgerblue solid; */
    padding: var(--mb-2) var(--mb-1);
  }

  .csc-text:first-child {
    padding-top: var(--mb-2);
  }

  .csc-text p {
    font-size: 1.3rem;
    opacity: 0.9;
  }

  .csc-img {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    flex-wrap: wrap;
    row-gap: var(--mb-2);
  }

  .csci {
    flex: 0 0 100%;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    /* border: 1px plum solid; */
  }

  .csci:hover img {
    scale: 1.1;
  }

  .csci-full {
    flex: 0 0 100%;
    height: 530px;
    /* border: 1px red solid; */
  }

  .csci-full img {
    object-position: 50% 30%;
  }

  .csci-half {
    flex: 0 0 100%;
    height: 250px;
    /* border: 1px red solid; */
  }

  .csci img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1.5s ease;
  }

  /*************** CASE STUDY [CONTACT SECTION] ***************/

  .cs-contact {
    position: relative;
    width: 100%;
    padding: var(--mb-4) var(--mb-2);
    padding-top: var(--mb-2);
    padding-bottom: var(--mb-2);
    z-index: 30;
    background-color: var(--black);
  }

  .cs-contact .cod-footer {
    position: unset;
    width: 100%;
    /* border: 1px dodgerblue solid; */
    padding: 0 var(--mb-2);
    justify-content: space-between;
    row-gap: var(--mb-2);
  }

  .cs-contact .codf {
    flex: 0 0 auto;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    column-gap: unset;
    row-gap: var(--mb-2);
  }
}

/* Media query for screens with a minimum width of 1500px */
@media screen and (min-width: 1600px) {
  /* --------------- ================== CASE STUDY ================== --------------- */
  .cs-main {
    width: 100%;
  }

  /*************** CS [HERO SECTION] ***************/
  .cs-hero {
    width: 100%;
    height: 100dvh;
    padding: var(--mb-6) 16rem;
    padding-bottom: var(--mb-5);
    /* border: 1px dodgerblue solid; */
  }

  /*************** CS [CARDS SECTION] ***************/
  .cs-cards {
    width: 100%;
    padding: 0 18rem;
  }

  .csc-text {
    width: 100%;
    /* border: 1px dodgerblue solid; */
    padding: var(--mb-6) var(--mb-8);
  }

  .csc-text:first-child {
    padding-top: var(--mb-2);
  }

  .csc-text p {
    font-size: 2rem;
  }

  .csci {
    flex: 0 0 32%;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
    /* border: 1px plum solid; */
  }

  .csci:hover img {
    scale: 1.1;
  }

  .csci-full {
    flex: 0 0 100%;
    height: 700px;
    /* border: 1px red solid; */
  }

  .csci-full img {
    object-position: 50% 30%;
  }

  .csci-half {
    flex: 0 0 48.5%;
    height: 500px;
    /* border: 1px red solid; */
  }
}
