@font-face {
    font-family: "Druk Text Trial";
    src: url("path-to-font/DrukTextTrial.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: "FONTSPRING DEMO - Tenon Medium";
    src: url("path-to-font/FONTSPRING-DEMO-TenonMedium.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
  }
  
  .projects-slider {
    position: relative;
    /* overflow: hidden; */
  }
  
  .project-card {
    /* padding: 60px; */
    padding: 20px 60px;
    position: absolute;
    min-height: 600px;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
  }
  
  .project-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
  }
  
  .section-header {
    transition: background 0.5s ease-in-out;
    font-family: "Druk Text Trial", sans-serif;
    font-size: 70px;
    color: #fff;
    padding: 20px 60px;
  }
  
  .section-header p {
    margin: 0;
  }
  
  .project-logo {
    width: 150px;
    margin-bottom: 10px;
    display: block;
  }
  
  .project-number {
    font-family: "Druk Text Trial", sans-serif;
    font-size: 50px;
    -webkit-text-stroke: 2px #ebff03;
    color: transparent;
    margin-bottom: 10px;
    font-weight: 700;
  }
  
  .project-title {
    font-family: "FONTSPRING DEMO - Tenon Medium", sans-serif;
    font-size: 40px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: normal;
  }
  
  .project-description {
    font-family: "FONTSPRING DEMO - Tenon Medium", sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    /* max-width: 447px; */
    max-width: 500px;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .project-arrow {
    /* width: 50px; */
    /* height: 50px; */
    border: none;
    /* border-radius: 50%; */
    /* display: flex; */
    /* align-items: center; */
    justify-content: center;
    background: transparent;
    /* cursor: pointer; */
    padding: 0;
  }
  
  .project-arrow i {
    color: #ebff03;
    font-size: 24px;
  }
  
  .project-image {
    position: absolute;
    right: 60px;
    top: -10%;
    transform: translateY(-50%);
    width: 400px;
    margin: 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-in-out;
  }
  
  /* .project-image img {
    width: 70%;
    height: auto;
    display: block;
    border: 5px solid black;
    border-radius: 35px;
    box-shadow: 2px 2px 40px 10px rgba(0, 0, 0, 0.15);
  } */

  .mobile-frame {
    width: 70%;
    height: 500px;
    /* height: auto; */
    display: block;
    border: 5px solid black;
    border-radius: 35px;
    box-shadow: 2px 2px 40px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* This keeps the animated image within the frame */
    position: relative;
    transform: none !important; /* Ensure frame stays fixed */
  }

  .banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    will-change: transform; /* Optimize animation performance */
  }

  .project-card.active .mobile-frame {
    transform: none !important; /* Ensure frame stays fixed even when active */
  }

  .ftrd-txt-1{
    z-index: 99;
    font-size: 70px;
    font-family: 'DRUK';
    font-style: normal;
    font-weight: 600;
    -webkit-text-stroke: 1.5px rgb(255 255 255);
    text-align: left;
    color: transparent;
  }
  .ftrd-txt-2{
    z-index: 99;
    font-size: 70px;
    font-family: 'DRUK';
    font-style: normal;
    font-weight: 600;
    -webkit-text-stroke: 1.5px rgb(255 255 255);
    text-align: left;
    color: #ffffff;
  }
  
  .card-dynamic-content {
    opacity: 0;
    /* transform: translateX(20px); */
  }
  
  .project-card.active .card-dynamic-content,
  .project-card.active .project-image {
    opacity: 1;
    /* transform: translateX(0); */
  }
  
  @media (max-width: 991px) {
    .project-card {
      padding: 40px;
    }
  
    .project-image {
      position: relative;
      right: auto;
      top: auto;
      transform: none;
      /* margin-top: 20px; */
      width: 100%;
    }
  }
  
  @media (max-width: 900px) {
    .project-card {
      padding: 20px;
    }

    .project-logo {
      width: 100px;
      margin-bottom: 0px;
    }
    
    .project-number{
      font-size: 40px;
      margin-bottom: 0px;
    }
    .project-title {
      font-size: 18px;
    }
  
    .project-description {
      font-size: 14px;
      margin-bottom: 15px;
    }

    .ftrd-txt-1{
      font-size: 35px;
      -webkit-text-stroke: 0.5px rgb(255 255 255);
    }
    .ftrd-txt-2{
      font-size: 35px;
      -webkit-text-stroke: 0.5px rgb(255 255 255);
    }
    .section-header{
      padding: 0px 20px !important;
    }
    /* .project-image img {
      width: 60%;
      border: 5px solid black;
    } */
    .card-dynamic-content{
      margin-top: 10px;
    } 
    .mobile-frame{
      width: 30vw;
      height: auto;
      border-radius: 15px;
      border: 2px solid black;
    }
    .container{
      min-height: 100vh;
    }

    .project-arrow img{
      width: 30px;
      height: 30px;
    }
    
  }

  .container {
    transition: background 0.5s ease-in-out;
    background: linear-gradient(238deg, #600 6.8%, #900000 70.04%);
  }

  /* .container {
    min-height: 100vh;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .pin-spacer {
      min-height: 100vh !important;
      height: 100vh !important;
  } */
