:root {
  --white: #ffffff;
  --navyblue: #101B2F;
  --darkblue: #1B3463;
  --skyblue: #00BAFF;
  --specialcolor: : '#00BAFF', '#13C78B';
  --buttoncolor: '#24AEA4', '#5572FE';
  --black: #000000;
  --gray: #E5E7EB;
  --common-font: Mukta;
  --font-family-Poppins: 'Poppins', serif;
  --clientscolor: '#21262E00', '#00BAFF4D';
  --gradient-bg: linear-gradient(to right, rgba(12, 5, 18, 1), rgba(80, 33, 120, 1));
  --gradient-border: linear-gradient(90deg, rgba(0, 186, 255, 1), rgba(19, 199, 139, 1));
  --duriation: 12s;
  --totalitems: 6;

}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.portfolio-img-wrapper {
  padding: 0 6%;
}

body {
  font-family: var(--font-family-Poppins);
  background-color: var(--black);
  color: var(--white);
}

/* portfolio-banner-section */

.portfolio-banner-section {

  padding-top: 5%;
  padding-bottom: 1%;
  background-image: url('../images/portfolio-page/portfolio-banner/portfolio-banner.webp');
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 80%;
}

.portfolio-casestudies {
  font-size: 22px;
  line-height: 60px;
  font-weight: 300;
  letter-spacing: 10px;
}

.portfolio-banner-heading {
  font-weight: 300;
  font-size: 46px;
  line-height: 65px;
  word-spacing: 20px;
  letter-spacing: 2px;
}

.portfolio-banner-content {
  font-size: 20px;
  font-weight: 400;
  line-height: 75px;
  letter-spacing: 1.5px;
}

/* portfolio-view-style */

.portfolio-view-section {
  background-color: var(--black);
  color: gray;
}

.portfolio-view-div {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  font-size: 20px;
  padding-top: 30px;
}

.view-type-div {
  cursor: pointer;
  transition: color 0.3s ease;
}

.view-type-div.active {
  color: var(--white);

}

/* portfolio-categories-section */

.portfolio-categories-section {
  background-color: var(--black);
  color: var(--white);
  padding: 3% 0;
}

.portfolio-form {
  display: flex;
  justify-content: center;
  margin-bottom: 3%;
}

.dropdown-label {
  display: none;
}

.portfolio-dropdown {
  height: 45px;
  width: 130px;
  font-weight: 300;
  font-size: 15px;
  margin: 0 10px;
  border: 1.5px solid black;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url('../images/portfolio-page/portfolio-categories-section/dropdown-arrow.svg') no-repeat right 20px center;
  padding: 0 10px;
  cursor: pointer;
}

/* categories-styles */

.categorie-main-div {
  padding: 0 5%;
  margin: 4% 0 !important;

}


.grid-categorie-hover-effect {
  transition: box-shadow 0.3s ease-in-out;
}



.list-categorie-hover-effect {
  transition: box-shadow 0.3s ease-in-out;
  padding: 10px 0;
  border-radius: 20px;
}

.categorie-content-portfolio-div {
  border: 1.5px solid #434343;
  height: 580px;
  padding: 0 10%;
  width: 106%;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.categorie-content-heading {
  margin-bottom: 80px;
  font-weight: 700;
  font-size: 40px;
  line-height: 36px;
}

.categorie-content-contents {
  font-weight: 300;
  line-height: 28px;
  font-size: 16px;
  margin-top: -40px;
}

.project-casestudy {
  font-weight: 500;
  font-size: 14px;
  padding-top: 10px;
}

.view-more-img-div {
  height: 25px;
  width: 25px;

}

.view-more-img-div>img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  margin-top: 3px;
}

.grid-view-more-img-div>img {
  margin-top: -5px;
}

.project-view-more-div {
  display: flex;
  align-items: center;

  margin-top: 0px;
}

.categorie-portfolio-button {
  width: 200px;
  height: 45px;
  border-radius: 50px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
  color: var(--white);
  position: relative;
  letter-spacing: 1px;
  margin: 3% 0;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.categorie-portfolio-button::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50px;
  background: conic-gradient(from var(--angle), rgba(0, 186, 255, 1), rgba(19, 199, 139, 1));
  z-index: -1;
  animation: spin 6s linear infinite;
}

.categorie-portfolio-button::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: 50px;
  background: var(--black);
  z-index: -1;
  mix-blend-mode: normal;
}


@keyframes spin {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

.categorie-main-div-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.categorie-main-div-link:hover {
  text-decoration: none;
}

.categorie-portfolio-img-main-div {
  height: 580px;
  justify-content: center;
  display: flex;
  align-items: center;

  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.categorie-portfolio-left-img-main-div {
  height: 580px;
  border: 1.5px solid #434343;
  justify-content: center;
  display: flex;
  align-items: center;
  border-right: none;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.categorie-content-right-portfolio-div {
  border: 1.5px solid #434343;
  height: 580px;
  margin-left: -5%;
  padding: 0 10%;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-left: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.categorie-img-div {
  width: 530px;
  height: 500px;
  border-radius: 20px;
  position: relative;
  display: inline-block;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}


.overlay-container {
  position: relative;

  display: inline-block;
  height: 100%;
  width: 100%;
}

.overlay-container img {

  transition: 0.3s ease-in-out;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.project-section {

  padding: 1% 0;
  padding-bottom: 5%;
}


.project-container {

  padding: 15px;
  margin: 13px 0;
}

.project-link {
  text-decoration: none;
  color: var(--white);
}

.project-img-div {
  max-width: 450px;
  height: 350px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-type {
  font-weight: 500;
  font-size: 14px;

  padding-top: 20px;
}

.project-name {

  font-weight: 600;
  font-size: 26px;
  height: 35px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;


}

.project-content {
  font-weight: 200;
  font-size: 14px;
  line-height: 22px;
  text-align: justify;
  border: 1px solid transparent;
  height: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;

}

.hidden {
  display: none;
}

.project-button-div>a>button {
  cursor: pointer;
}

.portfolio-button-div {
  display: flex;
  justify-content: center;
}

.casestudies-heading {
  text-align: center;
  margin: 10px 0;
}


@media screen and (min-width: 1920px) {
  .portfolio-img-wrapper {
    padding: 0 10%;
  }
}

@media screen and (max-width: 1280px) {

  /* portfolio-banner-section */

  .portfolio-casestudies {
    font-size: 22px;
    line-height: 60px;
    font-weight: 300;
    letter-spacing: 10px;
  }

  .portfolio-banner-heading {
    font-weight: 300;
    font-size: 46px;
    line-height: 65px;
    word-spacing: 20px;
  }

  .portfolio-banner-content {
    font-size: 20px;
    font-weight: 400;
    line-height: 75px;
  }

  /* portfolio-categories-section */


  .portfolio-categories-section {}

  .categorie-content-heading {
    margin-bottom: 80px;
    font-weight: 700;
    font-size: 36px;
    line-height: 32px;
  }

  .categorie-content-contents {
    font-weight: 300;
    line-height: 28px;
    font-size: 14px;
    margin-top: -40px;
  }

  .categorie-portfolio-button {
    font-size: 16px;
  }

  .categorie-img-div {
    width: 430px;
    height: 380px;
    border-radius: 20px;
    position: relative;
    display: inline-block;
  }

  .categorie-main-div {
    padding: 0 5%;
    margin: 4% 0 !important;
  }

  .categorie-content-portfolio-div {
    height: 430px;
  }

  .categorie-portfolio-img-main-div {
    height: 430px;
  }

  .categorie-portfolio-left-img-main-div {
    height: 430px;
  }

  .categorie-content-right-portfolio-div {
    height: 430px;
  }

  .project-img-div {
    max-width: 450px;
    height: 300px;
  }

  .collaborate-heading {
    font-size: 47px;

    line-height: 64px;
  }

  .collaborate-content {
    font-size: 33px;
    letter-spacing: 1px;
    line-height: 65px;
  }

  .discussion-btn {

    height: 55px;
  }

  .discussion-btn::after,
  .discussion-btn::before {
    padding: 29px 152px !important;
  }
}

@media screen and (max-width: 800px) {

  .portfolio-img-wrapper {
    padding: 0 0%;

    overflow-x: hidden;
    width: 100%;
  }

  /* portfolio-banner-section */

  .portfolio-banner-section {
    padding: 4% 0;
    background-image: url('../images/portfolio-page/portfolio-banner/portfolio-banner.webp');
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 80%;
  }

  .portfolio-casestudies {
    font-size: 16px;
    line-height: 40px;
    font-weight: 300;
    letter-spacing: 10px;
  }

  .portfolio-banner-heading {
    font-weight: 300;
    font-size: 26px;
    line-height: 55px;
    word-spacing: 7px;
    letter-spacing: 2px;
  }

  .portfolio-banner-content {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 1.5px;
  }

  /* portfolio-categories-section */

  .portfolio-categories-section {
    padding: 10% 0;
  }

  .portfolio-dropdown {
    margin-bottom: 30px;
  }

  .categorie-main-div {
    padding: 0 0;
    margin: 10% 0 !important;
  }

  .categorie-content-heading {
    margin-bottom: 80px;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    text-align: center;
  }

  .categorie-content-contents {
    font-weight: 300;
    line-height: 25px;
    font-size: 15px;
    margin-top: -40px;
  }



  .categorie-portfolio-button {
    width: 200px;
    height: 45px;
    border-radius: 50px;
    font-size: 14px;
  }

  .categorie-reverse {
    flex-direction: column-reverse;

  }

  .categorie-content-portfolio-div {
    border: 1.5px solid #e9e9e9;
    height: auto;
    padding: 5%;
    width: 100%;
    border-radius: 20px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .categorie-portfolio-left-img-main-div {
    height: 450px;
    justify-content: center;
    display: flex;
    align-items: center;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;

    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-right: 1px solid #e9e9e9;
    border-top: 0px;
  }

  .categorie-content-right-portfolio-div {
    height: 450px;
    width: 100%;
    padding: 4%;
    padding-top: 20px;
    justify-content: center;
    display: flex;
    align-items: center;
    border: 1.5px solid #e9e9e9;
    height: auto;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0px;
    border-top: 0px;
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 20px !important;
    margin-left: 0%;

  }

  .mobile-categorie-content-right-portfolio-div {
    border-top: 1.5px solid #e9e9e9 !important;
    border-bottom: 0px !important;
    border-top-right-radius: 20px !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
  }

  .left-categorie-img-div {
    padding: 0 4%;
  }

  .categorie-img-div {
    height: 400px;
    width: 100%;

  }

  .categorie-img-div>img {
    width: 100%;
    height: 100%;
  }

  .categorie-content-a {
    display: flex;
    justify-content: center;
    text-decoration: none;
  }

  .project-img-div {
    max-width: 450px;
    height: 350px;
  }

  .project-img-div>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .portfolio-view-section {
    display: none;
  }


  .project-container {
    margin: 20px 0;

  }


  .project-name {
    font-size: 24px;
    margin-top: 0px;

  }

  .project-content {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .project-view-more-div {
    margin-top: 10px;
  }
}

.collabrate-section {
  padding: 6%;
  padding-top: 20%;
  z-index: -1;
  margin-top: -10%;
}

.collaborate-heading {
  font-weight: 400;
  font-size: 52px;
  line-height: 69px;
  letter-spacing: 1px;
}

.collaborate-content {
  color: #d6d6d6;
  font-size: 36px;
  line-height: 69px;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 10px 0;
}

.collaborate-content>span {
  display: block;
}

.discussion-btn {
  width: 300px;
  height: 55px;
  border: none;
  font-size: 20px;
  line-height: 24px;
  font-weight: 300;
  background-color: black;
  color: var(--white);
  margin: 3% 0;
  letter-spacing: 1px;
  position: relative;
}

.discussion-btn::after,
.discussion-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(from var(--angle), #00BAFF, #13C78B) !important;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 29px 152px !important;
  animation: 3s spin linear infinite;
}

.discussion-btn::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}

.text-a span,
.text-b span {
  display: inline-block;
  transform: translateY(0%);
}

.text-container {
  display: grid;
  place-items: start;
  overflow: hidden;
  color: white;
}

.text-container a {
  grid-area: 1 / 1;
  display: inline-block;
  transform: translateY(0%);
  color: white;
}


.service-btn,
.discussion-btn,
.designed-btn,
.get-started {
  position: relative;
}

.lets-talk-ani1,
.lets-talk-ani2,
.talk-ani1,
.talk-ani2,
.view-ani1,
.view-ani2,
.design-1,
.design-2,
.get-started-ani1,
.get-started-ani2 {
  overflow: hidden;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  margin: 0;
  line-height: 1.5;
  font-size: 0;
}

.lets-talk-ani1 span,
.lets-talk-ani2 span,
.talk-ani1 span,
.talk-ani2 span,
.design-1 span,
.design-2 span,
.view-ani1 span,
.view-ani2 span,
.get-started-ani1 span,
.get-started-ani2 span {
  display: inline-block;
  transform: translateY(0%);
  font-size: 16px;
  line-height: 1;
}

.lets-talk-ani2 span,
.talk-ani2 span,
.view-ani2 span,
.get-started-ani2 span {
  transform: translateY(100%);
}

.discussion-btn {
  position: relative;
}

.discussion-ani1,
.discussion-ani2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  margin: 0;
  line-height: 1;
  overflow: hidden;
  font-size: 0;
}

.discussion-ani1 span,
.discussion-ani2 span {
  display: inline-block;
  transform: translateY(0%);
  font-size: 16px;
  line-height: 1;
}

.discussion-ani2 span {
  transform: translateY(100%);
}


/* full screen */

/* .casestudy-top {
  padding: 3rem 0;
} */

.full-scr-proj {
  height: auto;
  background-color: black;
  padding: 40px 0 0 0;
}

.full-scr-proj2 {
  height: auto;
  background-color: black;
  padding: 0 0 3rem 0;
}

.proj-1,
.proj-2 {
  margin-bottom: 60px;
}

/* proj-1 */

.proj-1 {
  display: grid;
  margin: auto;
  justify-content: center;
  grid-template-columns: 55% 40%;
  gap: 20px;
}

.proj-left-sec,
.proj-right-sec {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proj-left-sec {
  height: 100%;
}

.proj-left-img {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.proj-right-img {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.proj-left-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.proj-right-img .pro-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.proj-cont1 h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.proj-cont1 p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* common */

/* Arrow icon styling */
.img-arrow {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: #333;
  /* Grey background */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.img-arrow i {
  color: white;
  font-size: 20px;
}

.img-arrow:hover {
  background-color: #555;
  transform: scale(1.1);
}

.right-arrow-img {
  position: absolute;
  bottom: 10px;
  /* padding from bottom */
  right: 10px;
  /* padding from right */
  color: #fff;
  /* arrow color, adjust as needed */
  background: rgba(168, 168, 169, 0.5);
  /* 0.5 = 50% opacity */
  /* optional: add background for visibility */
  border-radius: 50%;
  padding: 10px;
  /* padding inside background */
  line-height: 1;
}

/* proj-2 */

.proj-2 {
  display: grid;
  margin: auto;
  justify-content: center;
  grid-template-columns: 40% 55%;
  gap: 20px;
  padding-top: 2rem;
}

.proj2-right-sec,
.proj2-left-sec {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proj2-right-sec {
  height: 100%;
}

.proj2-right-img {
  width: 100%;
  position: relative;
  /* width: 600px; */
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.proj2-left-img {
  width: 100%;
  height: 350px;
  /* overflow: hidden; */
  position: relative;
  border-radius: 10px;
}

.proj2-right-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.proj2-left-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.proj2-cont1 h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.proj2-cont1 p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* proj-3  default set for 1641 to 1920*/
.proj-3 {
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 4rem;
  height: auto;
}

.designed-border {
  width: 100%;
  /* height: 30vh; */
  border: 4px solid transparent;
  padding-top: 3rem;
  /* make border space */
  border-radius: 25px;
  /* optional rounded corners */
  background:
    linear-gradient(black, black) padding-box,
    linear-gradient(180deg, #00dbd9, #4186fe) border-box;
  /* gradient border */
  text-align: center;
  display: flex;
  flex-direction: column;
}

.proj-text {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.proj-text p {
  font-size: 1.8rem;
  font-weight: 500;
  margin: auto;
  width: 70vw;
  text-align: center;
}

.designed-text {
  background: linear-gradient(90deg, #00dbd9, #4186fe);
  /* gradient */
  -webkit-background-clip: text;
  /* clip background to text */
  -webkit-text-fill-color: transparent;
  /* make text take bg color */
  background-clip: text;
  /* for non-webkit (some browsers) */
}

.designed-button {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}


.designed-button a button {
  background-color: transparent;
  color: white;
  height: 3rem;
  width: 16rem;
  border-radius: 12px;
  border: 1px solid lightblue;
}

.designed-button {
  margin: 50px 0;
  display: flex;
  justify-content: center;
}

.right-arrow-img {
  cursor: pointer;
  display: inline-block;
  /* helps scaling behave better */
}

.right-arrow-img img {
  transition: transform 0.3s ease-in-out;
}

.right-arrow-img:hover img {
  transform: scale(1.4);
}

.project-video {
  position: absolute;
  /* pin video inside */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* crop/fill without stretching */
}

.casestudies-cont {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.casestudies-heading2 {
  text-align: center;
  margin: 20px 0;
}

@media (min-width: 200px) and (max-width: 320px) {

  .proj-1,
  .proj-2 {
    grid-template-columns: 1fr;
  }

  .proj-right-img {
    height: 100%;
  }

  .proj2-left-img {
    height: 100%;
  }

  .proj-right-img {
    height: 100%;
  }

  .proj-left-img {
    width: 100%;
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
  }

  .proj-right-img img {
    height: 100%;
  }

  .proj2-left-img {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj2-right-img {
    width: 100%;
    position: relative;
    /* width: 600px; */
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
  }

  /* proj-3 */

  .proj-3 {
    height: 70vh;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
  }

  .designed-border {
    height: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0 0 0;
  }

  .proj-text p {
    font-size: 1rem;
    font-weight: 500;
    margin: auto;
    width: 100%;
    text-align: center;
  }

  .proj-text p {
    font-size: 1.4rem;
    font-weight: 500;
    margin: auto;
    width: 70vw;
    text-align: center;
  }

  .designed-button a button {
    background-color: transparent;
    color: white;
    height: 3rem;
    width: 10rem;
    border-radius: 12px;
    border: 1px solid lightblue;
    font-size: 1rem;
  }
}

@media (min-width: 321px) and (max-width: 767px) {

  .proj-1,
  .proj-2 {
    grid-template-columns: 1fr;
  }

  .proj-right-img {
    height: 100%;
  }

  .proj-left-img {
    width: 100%;
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
  }

  .proj-right-img img {
    height: 100%;
  }

  .proj2-left-img {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj2-right-img {
    width: 100%;
    position: relative;
    /* width: 600px; */
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
  }

  .designed-border {
    height: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0 0 0;
  }

  .proj-text p {
    font-size: 1.4rem;
    font-weight: 500;
    margin: auto;
    width: 70vw;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .proj-left-sec {
    height: 80vh;
  }

  .proj-left-img {
    width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img {
    width: 100%;
    height: 40vh;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img img {
    height: 100%;
  }

  /* proj-2 */

  .proj2-right-sec {
    height: 80vh;
  }

  .proj2-right-img {
    width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj2-left-img {
    width: 100%;
    height: 40vh;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-left-img img {
    height: 100%;
  }

  .proj-cont1 p,
  .proj2-cont1 p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    /* Truncate after 2 lines */
    /* display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; */
  }


  /* proj-3 */
  .designed-border {
    height: 30vh;
    border: 2px solid transparent;
    display: flex;
    justify-content: space-around;
    /* align-items: flex-start; */
  }

  .proj-text {
    height: 50%;
  }

  .proj-text p {
    font-size: 1.8rem;
    font-weight: 500;
    margin: auto;
    width: 80vw;
    text-align: center;
  }
}

@media (min-width: 1201px) and (max-width: 1440px) {

  .proj-cont1 p,
  .proj2-cont1 p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    /* Truncate after 2 lines */
    /* display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; */
  }

  .designed-border {
    padding-top: 3rem;
    border: 2px solid transparent;
  }

  .proj-text p {
    font-size: 1.8rem;
    font-weight: 500;
    margin: auto;
    width: 70vw;
    text-align: center;
  }
}

@media (min-width: 1441px) and (max-width: 1640px) {
  .proj-left-sec {
    height: 80vh;
  }

  .proj-left-img {
    width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img {
    width: 100%;
    height: 40vh;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img img {
    height: 100%;
  }

  /* proj-2 */

  .proj2-right-sec {
    height: 80vh;
  }

  .proj2-right-img {
    width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj2-left-img {
    width: 100%;
    height: 40vh;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-left-img img {
    height: 100%;
  }

  .proj-cont1 p,
  .proj2-cont1 p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    /* Truncate after 2 lines */
    /* display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; */
  }

  .designed-border {
    height: 50vh;
    border: 2px solid transparent;
  }

  .proj-text p {
    font-size: 1.8rem;
    font-weight: 500;
    margin: auto;
    width: 70vw;
    text-align: center;
  }
}

@media (min-width: 1641px) and (max-width: 1920px) {
  .proj-left-sec {
    height: 80vh;
  }

  .proj-left-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img img {
    height: 100%;
  }

  /* proj-2 */

  .proj2-right-sec {
    height: 80vh;
  }

  .proj2-right-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj2-left-img {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj2-left-img img {
    height: 100%;
  }

  .proj-cont1 p,
  .proj2-cont1 p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    /* Truncate after 2 lines */
    /* display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; */
  }

  .designed-border {
    display: flex;
    justify-content: space-around;

    /* align-items: flex-start; */
  }

  .proj-text {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 1921px) and (max-width: 2560px) {
  .proj-left-sec {
    height: 80vh;
  }

  .proj-left-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj-right-img img {
    height: 100%;
  }

  /* proj-2 */

  .proj2-right-sec {
    height: 80vh;
  }

  .proj2-right-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj2-left-img {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-radius: 10px;
  }

  .proj2-left-img img {
    height: 100% !important;
  }

  .proj-cont1 p,
  .proj2-cont1 p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    /* Truncate after 2 lines */
    /* display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; */
  }

  /* proj-3 */
  .designed-border {
    height: 25vh;
    border: 4px solid transparent;
    border-radius: 25px;
    display: flex;
    justify-content: space-around;
    /* align-items: flex-start; */
  }

  .proj-text p {
    font-size: 2.4rem;
    font-weight: 500;
    margin: auto;
    width: 70vw;
    line-height: 4.5rem;
  }

  .designed-button button {
    background-color: transparent;
    color: white;
    height: 5rem;
    width: 25rem;
    font-size: 1.9rem;
  }
}

.proj-5 {
  margin-top: 2rem;
  height: 400px;
  width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 20px;
  align-items: center;
  position: relative; /* Added for arrow positioning */
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
}

.proj-5:hover {
  background-color: rgba(255, 255, 255, 0.1); /* subtle light */
}

.proj5-left {
  width: 100%;
  height: 100%;
}

.proj5-left a {
  display: block;
  width: 100%;
  height: 100%;
}

.proj5-left a img {
  border-radius: 25px;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* .proj5-left a:hover img {
  transform: scale(1.02);
} */

.proj5-right {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.proj5-right>div {
  width: 100%;
}

.proj5-right h1 {
  font-size: 24px;
  margin-bottom: 1rem;
  color: #fff;
}

.proj5-right p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* Arrow styling for proj-5 */
.proj-5 .right-arrow-img {
  position: absolute;
  bottom: 30px; /* Position from bottom */
  right: 30px; /* Position from right */
  color: #fff;
  background: rgba(168, 168, 169, 0.5);
  border-radius: 50%;
  padding: 12px;
  line-height: 1;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  z-index: 10; /* Ensure it's above other content */
}

.proj-5 .right-arrow-img:hover {
  background: rgba(168, 168, 169, 0.8);
  transform: scale(1.1);
}

.proj-5 .right-arrow-img img {
  transition: transform 0.3s ease-in-out;
  width: 20px;
  height: 20px;
}

/* .proj-5 .right-arrow-img:hover img {
  transform: scale(1.2);
} */

/* Mobile Small (200px - 320px) */
@media (min-width: 200px) and (max-width: 320px) {
  .proj-5 {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    padding: 10px;
    padding-top: 2rem;
    border-radius: 20px;
  }

  .proj5-left {
    height: 200px;
  }

  .proj5-left a img {
    border-radius: 15px;
  }

  .proj5-right h1 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    text-align: left;
  }

  .proj5-right p {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    margin-bottom: 1rem;
  }

  .proj-5 .right-arrow-img {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }

  .proj-5 .right-arrow-img img {
    width: 16px;
    height: 16px;
  }
}

/* Mobile Medium (321px - 767px) */
@media (min-width: 321px) and (max-width: 767px) {
  .proj-5 {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 15px;
    padding-top: 2rem;
    border-radius: 25px;
  }

  .proj5-left {
    height: 250px;
  }

  .proj5-left a img {
    border-radius: 20px;
  }

  .proj5-right h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .proj5-right p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }

  .proj-5 .right-arrow-img {
    bottom: 20px;
    right: 20px;
    padding: 10px;
  }

  .proj-5 .right-arrow-img img {
    width: 18px;
    height: 18px;
  }
}

/* Tablet (768px - 1200px) */
@media (min-width: 768px) and (max-width: 1200px) {
  .proj-5 {
    height: 350px;
    gap: 25px;
    padding: 20px;
    padding-top: 2rem;
    border-radius: 30px;
  }

  .proj5-left a img {
    border-radius: 20px;
  }

  .proj5-right h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .proj5-right p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .proj-5 .right-arrow-img {
    bottom: 25px;
    right: 25px;
    padding: 10px;
  }
}

/* Desktop Small (1201px - 1440px) */
@media (min-width: 1201px) and (max-width: 1440px) {
  .proj-5 {
    height: 380px;
    gap: 30px;
    padding: 25px;
    padding-top: 1.5rem;
    border-radius: 35px;
  }

  .proj5-right h1 {
    font-size: 2.2rem;
  }

  .proj5-right p {
    font-size: 1.05rem;
  }

  .proj-5 .right-arrow-img {
    bottom: 30px;
    right: 30px;
  }
}

/* Desktop Medium (1441px - 1640px) */
@media (min-width: 1441px) and (max-width: 1640px) {
  .proj-5 {
    height: 420px;
    gap: 35px;
    padding: 30px;
    padding-top: 1.5rem;
    border-radius: 40px;
  }

  .proj5-right h1 {
    font-size: 2.3rem;
  }

  .proj5-right p {
    font-size: 1.1rem;
  }

  .proj-5 .right-arrow-img {
    bottom: 35px;
    right: 35px;
    padding: 12px;
  }
}

/* Desktop Large (1641px - 1920px) */
@media (min-width: 1641px) and (max-width: 1920px) {
  .proj-5 {
    height: 450px;
    gap: 40px;
    padding: 35px;
    padding-top: 1.5rem;
    border-radius: 45px;
  }

  .proj5-right h1 {
    font-size: 2.4rem;
  }

  .proj5-right p {
    font-size: 1.15rem;
  }

  .proj-5 .right-arrow-img {
    bottom: 40px;
    right: 40px;
    padding: 12px;
  }
}

/* Desktop Extra Large (1921px - 2560px) */
@media (min-width: 1921px) and (max-width: 2560px) {
  .proj-5 {
    height: 500px;
    gap: 50px;
    padding: 40px;
    max-width: 2000px;
    margin: 0 auto;
    padding-top: 3rem;
    border-radius: 50px;
  }


  .proj5-right h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
  }

  .proj5-right p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .proj5-left a img {
    border-radius: 30px;
  }

  .proj-5 .right-arrow-img {
    bottom: 50px;
    right: 50px;
    padding: 15px;
  }

  .proj-5 .right-arrow-img img {
    width: 24px;
    height: 24px;
  }
}

/* Additional utility for very small screens below 200px */
@media (max-width: 199px) {
  .proj-5 {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    padding: 5px;
    border-radius: 15px;
  }

  .proj5-left {
    height: 150px;
  }

  .proj5-left a img {
    border-radius: 10px;
  }

  .proj5-right h1 {
    font-size: 1.2rem;
    text-align: center;
  }

  .proj5-right p {
    font-size: 0.8rem;
    text-align: center;
  }

  .proj-5 .right-arrow-img {
    bottom: 10px;
    right: 10px;
    padding: 6px;
  }

  .proj-5 .right-arrow-img img {
    width: 14px;
    height: 14px;
  }
}