/* --------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a,
p,
h1,
h2,
h3 {
    text-decoration: none;
    font-family: var(--ThunderFont);
    color: black;

}

ul {
    list-style: none;
}

:root {
    --primaryFont: "Lato", serif;
    --headingFont: "Bebas Neue", serif;
}

html {
    scroll-behavior: smooth;
}

video, iframe {
    pointer-events: none; /* Prevent interaction */
}

/* ------------------------------- */

body {
    overflow-x: hidden !important;
    width: 100vw;
    box-sizing: border-box;
    background-color: #FFFFFF;
}







/* ------------------------------------------------------- Works Page Styling */
.Parent-Section{
    min-height: 89vh;
    width: 100vw;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    padding: 0 6.5vw 5vw 6.5vw;
    position: relative;
    /* margin-bottom: 15vw; */
    /* border: 1px solid #ccc; */
}
.heading-section{
    width: 100%;
    min-height: 30%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    /* border: 1px solid #ccc; */
    margin: 5vw 0;
}
.works-main-heading{
    font-size: 7vw;
    font-weight: 500;
    font-family: var(--AvertaFont);
    text-align: center;
    letter-spacing: -0.1vw;
    transform: scale(1, 0.8);

}
.works-main-para{
    width: 60%;
    font-size: 1.2vw;
    font-weight: 300;
    font-family: var(--AvertaFont);
    text-align: center;
    margin-top: 1vw;
    letter-spacing: -0.05vw;
}
/* ---------------------work card------------------ */
.work-card {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 6vw 0;
  text-decoration: none; 
}

.left-part{
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    position: relative;
    /* border: 1px solid red; */
    /* gap: 0.5vw; */
    /* padding: 1vw; */
}
.right-part{
    width: 40%;
    height: 53vw;
    display: flex;
    justify-content: center;
    align-items: start;
    /* flex-direction: column; */
    position: relative;
    /* border: 1px solid red; */
}
.work-client-logo{
    width: 10vw;
    border: 1px solid #00000082;
    padding: 0.7vw;
}
.work-card-heading{
    font-size: 2.5vw;
    font-weight: 600;
    font-family: var(--AvertaFont);
    text-align: left;
    margin-top: 1vw;
    transform: scale(1, 0.8);
}
.work-card-para{
    width: 75%;
    font-size: 1.4vw;
    font-weight: 300;
    font-family: var(--AvertaFont);
    text-align: left;
    margin-top: 0.5vw;
    color: #707380;
}

.category-btns-container{
    width: 80%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1vw;
    margin-top: 1vw;
    /* border: 1px solid #ccc; */
}

.black-card-button{
    padding: 6.5px 15px 7.8px;
    border: 1px solid #18181a;
    font-family: var(--AvertaFont);
    background: #000;
    color: #fff;
    font-size: 1.4vw;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}


/* work category button */
.button-57 {
        font-family: var(--AvertaFont);
  position: relative;
  overflow: hidden;
  border: 1px solid #18181a;
  color: #18181a;
  display: inline-block;
    font-size: 1.4vw;
  /* line-height: 15px; */
    padding: 7px 15px 6.8px;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-57 span:first-child {
  position: relative;
  transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 10;
}

.button-57 span:last-child {
  color: white;
  display: block;
  position: absolute;
  bottom: 0;
  transition: all 300ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 100;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translateY(225%) translateX(-50%);
  height: 6px;
  line-height: 13px;
  font-size: 13px;

}

.button-57:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  transform-origin: bottom center;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
  z-index: 50;
}

.button-57:hover:after {
  transform-origin: bottom center;
  transform: skewY(9.3deg) scaleY(2);
}

.button-57:hover span:last-child {
  transform: translateX(-50%) translateY(-100%);
  opacity: 1;
  transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
}

/* work category button */

.work-card-bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.2s ease, transform 0.3s ease;
  z-index: -1;
}

/* On hover */
.work-card:hover .work-card-bg-img {
  opacity: 1;
  transform: scale(1.45, 1.7);
}

.work-card-img{
    width: 100%;
    object-fit: cover;
    
}

.button{
    margin-top: 6vw;
    padding: 1vw 2vw 1.2VW;
    background: transparent;
    border: 1px solid #18181a;
    border-radius: 50px;
    font-size: 1.4vw; 
    font-family: var(--AvertaFont);
    text-transform: uppercase;
}
.button:hover{
    background: #18181a;
    color: #fff;
    transition: all 0.15s ease-in-out;
}
.rotated-text{
    position: absolute;
    top: 8%;
    right: -27%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 1.5vw;
    font-weight: 500;
    font-family: var(--AvertaFont);
    color: #18181a;
    white-space: nowrap;
}
.rotated-text-1{
    position: absolute;
    top: 8%;
    right: -23%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 1.5vw;
    font-weight: 500;
    font-family: var(--AvertaFont);
    color: #18181a;
    white-space: nowrap;
}

.rotated-text-2{
    position: absolute;
    top: 12%;
    right: -37%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 1.5vw;
    font-weight: 500;
    font-family: var(--AvertaFont);
    color: #18181a;
    white-space: nowrap;
}
.rotated-text-3{
    position: absolute;
    top: 14%;
    right: -45%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 1.5vw;
    font-weight: 500;
    font-family: var(--AvertaFont);
    color: #18181a;
    white-space: nowrap;
}

/* -------------------- left-part-inverted ----------------- */
.left-part-inverted{
    padding-left: 14vw;
}
.work-card-para-inverted{
    width: 100%;
}
/* -------------------- left-part-inverted ----------------- */