/* =========================
   FONT FACE
========================= */

@font-face {
  font-family: "Raleway";
  src: url("./fonts/Raleway-Regular.ttf");
}

@font-face {
  font-family: "RalewayBold";
  src: url("./fonts/Raleway-Bold.ttf");
}

@font-face {
  font-family: "Raleway";
  src: url("./fonts/Raleway-Regular.ttf");
}

@font-face {
  font-family: "RalewayExtraBold";
  src: url("./fonts/Raleway-ExtraBold.ttf");
}

/* =========================
   RESET
========================= */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  background: #000;
  color: #fff;
  overflow-x: hidden;

  font-family: "Satoshi", sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

section{
    margin: 0;
    padding: 0;
}

/* =========================
   COMMON
========================= */

.brand,
.title,
.pill,
.tag{
  font-family: "RalewayBold";
}

/* =========================
   CASE STUDY SECTION
========================= */

.case-study{
  position: relative;

  min-height: 100vh;
  width: 100%;

  padding: 70px clamp(20px,4vw,60px) 40px;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

/* BACKGROUND IMAGE */

.case-study::before{
  content: "";

  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  transform: scale(1.08);
  transition: transform 1s ease;
}

.case-study:hover::before{
  transform: scale(1);
}

/* SECTION IMAGES */

.skoda::before{
  background-image: url("./images/skoda-bg.png");
}

.spotify::before{
  background-image: url("./images/spotify-bg.png");
}

.oreo::before{
  background-image: url("./images/oreo-bg.png");
}

.garnier::before{
  background-image: url("./images/garnier-bg.png");
}

.sting::before{
  background-image: url("./images/sting-bg.png");
}

.hdfc::before{
  background-image: url("./images/hdfc-bg.png");
}

.reliance-digital::before{
  background-image: url("./images/reliance-digital-bg.png");
}

.whisper::before{
  background-image: url("./images/whisper-bg.png");
}

.caratlane::before{
  background-image: url("./images/caratlane-bg.png");
}




/* DARK OVERLAY */

.overlay{
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.70);
}

/* CONTENT */

.content{
  position: relative;
  z-index: 2;
  margin-inline: auto;
  width: 100%;
  max-width: 1600px;
}

/* =========================
   TAG
========================= */

.tag{
  width: 320px;

  margin-inline: auto;
  margin-bottom: 45px;

  padding: 14px 20px;

  border-radius: 999px;

  background: #fff;
  color: #000;

  text-align: center;
  font-size: 24px;
}

/* =========================
   LOGO
========================= */

.logo{
  width: 420px;
  display: block;

  margin-inline: auto;
  margin-bottom: 30px;

  object-fit: contain;
}

/* =========================
   TITLE
========================= */

.title{
  text-align: center;

  font-size: 30px;
  letter-spacing: -1px;

  margin-bottom: 55px;

  font-family: "RalewayBold";
}

/* =========================
   HERO SECTION
========================= */

.hero-section{
  position: relative;

  width: 100%;
  height: 100vh;

  overflow: hidden;

  background: #000;
}

/* BG */

.hero-bg{
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* DESKTOP BG */

.desktop-hero{
  display: block;
}

/* MOBILE BG */

.mobile-hero{
  display: none;
}

/* OVERLAY */

.hero-overlay{
  position: relative;
  z-index: 5;

  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  padding-top: 5.2vw;
  padding-left: 4vw;
}

/* TITLE */

.hero-title{
  font-family: "RalewayExtraBold";

  font-size: 7.7vw;

  line-height: 0.82;

  letter-spacing: -0.32vw;

  color: #fff;

  text-transform: uppercase;

  margin-bottom: 4vw;

  max-width: 28vw;
}

/* SUBTITLE */

.hero-subtitle{
  font-family: "RalewayExtraBold";

  font-size: 4vw;

  line-height: 0.88;

  letter-spacing: -0.18vw;

  text-transform: uppercase;

  max-width: 40vw;

  background: linear-gradient(
    90deg,
    #97d11d 0%,
    #97d11d 30%,
    #f4a62a 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* LOGO */

.hero-logo{
  position: absolute;

  left: 4vw;
  bottom: 3.5vw;

  width: clamp(58px, 5vw, 90px);

  display: block;
  
}




/* =========================
   GRID
========================= */

.grid{
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 28px;

  align-items: start;

  width: 100%;

}

/* =========================
   CARD
========================= */

.card{
  width: 100%;
  /* max-width: 320px;
  margin-inline: auto; */
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* =========================
   PILLS
========================= */

.pill{
  width: 100%;
  max-width: 300px;

  height: 88px;

  padding-inline: 20px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;

  margin-bottom: 34px;

  text-align: center;
}

.green{
  background: #015b47;
}

.lg-green{
  background: #008c44;
  color: #000;
}

.blue{
  background: #0e4e8c;
}

.red{
  background: #da0202;
}

.white{
  background: #ffffff;
  color: #000;
}

/* =========================
   TEXT
========================= */

.card p,
.card li{
  font-size: 22px;

  line-height: 1.28;

  margin-bottom: 30px;

  font-weight: 500;

  letter-spacing: -0.4px;
}

.card ul{
  list-style: none;
}

/* =========================
   VIDEO SECTION
========================= */

.video-section{
  width: 100%;
  height: auto;

  overflow: hidden;

  position: relative;
}

.video-section video{
  width: 100%;
  height: auto;
  margin-bottom: -7px;
  object-fit: contain;
}

/* =========================
   SCROLL ANIMATION
========================= */

.fade-up{
  opacity: 0;

  transform: translateY(80px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fade-up.show{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FINAL SECTION
========================= */

.final-section{
  position: relative;

  width: 100%;
  overflow: hidden;

  background: #000;
}

/* BG IMAGES */

.final-bg{
  width: 100%;
  display: block;
}

/* DESKTOP BG */

.desktop-bg{
  display: block;
}

/* MOBILE BG */

.mobile-bg{
  display: none;
}

/* CONTENT */

.final-overlay{
  position: absolute;
  inset: 0;

  padding-top: 9%;
  padding-left: 53%;
}

/* HEADING */

.final-heading{
   font-family: "RalewayBold";

  font-size: 60px;
  line-height: 1;

  letter-spacing: -3px;

  color: #fff;

  text-transform: uppercase;

  margin-bottom: 170px;

  text-align: left;
}

/* TH */

.final-heading sup{
  font-size: 45%;
  vertical-align: top;
}

/* LOGO */

.final-logo{
  width: 120px;

  margin-left: 18%;
}

/* =========================
   CASE FILM TAG
========================= */

.case-film-tag{
  position: absolute;

  left: 50%;
  bottom: 18px;

  transform: translateX(-50%);

  z-index: 50;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 10px;

  text-decoration: none;

  cursor: pointer;
}

/* TEXT */

.case-film-tag span{
  font-family: "RalewayExtraBold";

  font-size: clamp(11px, 0.9vw, 14px);

  letter-spacing: 6px;

  color: rgba(255,255,255,0.78);

  text-transform: uppercase;

  white-space: nowrap;

  transition: 0.3s ease;
}

/* LINE */

.case-film-arrow{
  width: 1px;
  height: 36px;

  background: rgba(255,255,255,0.35);

  position: relative;

  animation: arrowMove 1.6s ease-in-out infinite;
}

/* ARROW */

.case-film-arrow::after{
  content: "";

  position: absolute;

  left: 50%;
  bottom: 0;

  width: 8px;
  height: 8px;

  transform:
    translateX(-50%)
    rotate(45deg);

  border-right: 1px solid rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* HOVER */

.case-film-tag:hover span{
  color: #fff;
}

/* ANIMATION */

@keyframes arrowMove{

  0%{
    transform: translateY(0);
  }

  50%{
    transform: translateY(8px);
  }

  100%{
    transform: translateY(0);
  }

}


/* =========================
   TABLET
========================= */

@media(max-width: 1200px){

  .grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }

  .logo{
    width: 220px;
  }

  .title{
    font-size: 40px;
  }

  .pill{
    min-width: 260px;
    font-size: 20px;
  }

  .card p,
  .card li{
    font-size: 19px;
  }

  .final-heading {
    font-family: "RalewayBold";
    font-size: 40px;
    line-height: 1;
    letter-spacing: -3px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 50px;
    text-align: left;
}

}

/* =========================
   MOBILE
========================= */

@media(max-width: 768px){

  .case-study{
    padding: 70px 20px;
  }

  .grid{
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .tag{
    width: 190px;

    font-size: 18px;

    padding: 12px 16px;

    margin-bottom: 30px;
  }

  .logo{
    width: 280px;
    margin-bottom: 25px;
  }

  .title{
    font-size: 22px;

    line-height: 1.2;

    margin-bottom: 50px;
  }

  .pill{
    min-width: 100%;
    width: 100%;

    height: 74px;

    font-size: 18px;

    margin-bottom: 24px;
  }

  .card{
    max-width: 100%;
  }

  .card p,
  .card li{
    font-size: 17px;

    line-height: 1.45;

    margin-bottom: 22px;
  }

  .video-section{
    height: auto;
  }
   .video-section video{
     position: relative;
     width: 100%;
     height: auto;
     transform: none;
     top: 0;
     left: 0;
     object-fit: contain;
  }

  /* BG SWITCH */

  .desktop-hero{
    display: none;
  }

  .mobile-hero{
    display: block;
  }

  /* SECTION */

  .hero-section{
    height: 100svh;
  }

  /* OVERLAY */

  .hero-overlay{
    padding-top: 58px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* TITLE */

  .hero-title{
    font-size: 40px;

    line-height: 1;

    letter-spacing: -2px;

    max-width: 100%;

    margin-bottom: 35px;
  }

  /* SUBTITLE */

  .hero-subtitle{
    font-size: 30px;

    line-height: 1;

    letter-spacing: -1px;

    max-width: 100%;
  }

  /* LOGO */

   .hero-logo{
    position: absolute;

    left: 24px;
    bottom: 24px;

    width: 72px;

    margin-top: 0;
  }


.case-film-tag{
  bottom: 12px;
}

.case-film-tag span{
  font-size: 10px;

  letter-spacing: 3px;
}

.case-film-arrow{
  height: 24px;
}
  

/* =========================
   FINAL SECTION MOBILE
========================= */

.final-section{
  position: relative;

  width: 100%;

  min-height: 100svh;

  overflow: hidden;
}

/* SWITCH BG */

.desktop-bg{
  display: none;
}

.mobile-bg{
  display: block;

  width: 100%;
  height: 100svh;

  object-fit: cover;
}

/* OVERLAY */

.final-overlay{
  position: absolute;
  inset: 0;

  padding: 0;

  display: flex;
  flex-direction: column;

  justify-content: flex-start;
  align-items: flex-start;
}

/* HEADING */

.final-heading{
  position: absolute;
        top: 20%;
        left: 7%;
        margin: 0;
        font-size: 50px;
        line-height: 0.9;
        letter-spacing: -2px;
        text-align: left;
        max-width: 85%;
}

/* TH */

.final-heading sup{
  font-size: 38%;
}

/* LOGO */

.final-logo{
  position: absolute;

  left: 7%;
  bottom: 6%;

  width: 82px;

  margin: 0;
}


}
