
  /* ===== MODERN TAB ANIMATIONS ===== */

  /* Base tab content with smooth transitions */
  .tab-drawer-content {
    display: none;
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .tab-drawer-content.active {
    display: flex;
    animation: slideInRight 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  /* Smooth slide from right with easing */
  @keyframes slideInRight {
    0% {
      opacity: 0;
      transform: translateX(60px);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Staggered content reveal */
  .gold-block {
    padding: 20px;
    border-radius: 15px;
    color: #ffffff;
    border: 1px solid #fff;
    background: rgba(183, 157, 119, 0.8);
    width: 90%;
    opacity: 0;
    animation: contentReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  }

  @keyframes contentReveal {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Year heading animation */
  .year-heading {
    font-weight: 700;
    font-size: 70px;
    color: #B79D77;
    font-family: "Times New Roman", serif;
    margin: 0 0 20px 0;
    opacity: 0;
    animation: headingDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
  }

  @keyframes headingDrop {
    0% {
      opacity: 0;
      transform: translateY(-40px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Paragraph stagger effect */
  .gold-block p {
    opacity: 0;
    transform: translateY(20px);
    animation: paragraphFade 0.4s ease-out forwards;
  }

  .gold-block p:nth-child(1) {
    animation-delay: 0.4s;
  }

  .gold-block p:nth-child(2) {
    animation-delay: 0.5s;
  }

  .gold-block p:nth-child(3) {
    animation-delay: 0.6s;
  }

  .gold-block p:nth-child(4) {
    animation-delay: 0.7s;
  }

  @keyframes paragraphFade {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Background image subtle zoom */
  .bg-history {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    animation: bgZoom 8s ease-out forwards;
    background-position: -80px 100%;
  }

  @keyframes bgZoom {
    0% {
      transform: scale(1.05);
    }

    100% {
      transform: scale(1);
    }
  }

  /* ===== TAB NAVIGATION ENHANCEMENTS ===== */

  ul.tabs-history li {
    cursor: pointer;
    border: none;
    text-decoration: none;
    color: #B79D77;
    list-style-type: none;
    display: block;
    padding: 7px 0px;
    min-width: 100px;
    text-align: center;
    width: 41%;
    position: relative;
    left: 45%;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: 'Times New Roman';
    font-weight: bold;
  }

  /* Hover effect on tabs */
  ul.tabs-history li:hover {
    color: #ffffff;
    background: rgba(183, 157, 119, 0.3);
    border-radius: 25px;
    margin-right: 40px;
    transform: translateX(5px);
  }

  /* Active tab styling */
  ul.tabs-history li.active {
    color: #ffffff;
    background: #B79D77;
    border-radius: 25px;
    margin-right: 40px;
    box-shadow: 0 4px 15px rgba(183, 157, 119, 0.4);
  }

  /* ===== LAYOUT STYLES ===== */

  .right-al-cont {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    right: -22%;
    width: 70%;
    height: 79%;
    top: 7%;
  }

  .accordion-tabs {
    position: relative;
  }

  ul.tabs-history {
    width: 18%;
    padding-left: 0;
    margin-bottom: 0;
    flex-wrap: nowrap;
    display: block;
    position: absolute;
    top: 0%;
    height: 100%;
    border-right: 1px solid #B79D77;
    left: -11%;
    z-index: 1;
    margin-left: 200px;
    padding-top: 25px;
  }

  .tab-container {
    clear: both;
    width: 100%;
    margin-top: 25px;
    height: 750px;
    background-color: #000;
    overflow: hidden;
  }

  .gold-tabs {
    color: #ffffff;
    background: #B79D77 !important;
  }

  /* Background images */
  .bg-1940s {
    background-image: url(../images/remgro-history-timeline/1940-new.png);
  }

  .bg-1950s {
    background-image: url(../images/remgro-history-timeline/1950.png);
  }

  .bg-1970s {
    background-image: url(../images/remgro-history-timeline/1970.png);
  }

  .bg-1980s {
    background-image: url(../images/remgro-history-timeline/1980-new.png);
  }

  .bg-1990s {
    background-image: url(../images/remgro-history-timeline/1990.png);
  }

   .bg-1995 {
    background-image: url(../images/remgro-history-timeline/1995.png);
  }

  .bg-1999 {
    background-image: url(../images/remgro-history-timeline/1999.png);
  }

  .bg-2000 {
    background-image: url(../images/remgro-history-timeline/2000.png);
  }

  .bg-2001 {
    background-image: url(../images/remgro-history-timeline/2001.png);
  }

  .bg-2008 {
    background-image: url(../images/remgro-history-timeline/2008.png);
  }

  .bg-2009 {
    background-image: url(../images/remgro-history-timeline/2009-new.png);
  }

  .bg-2016 {
    background-image: url(../images/remgro-history-timeline/2016.png);
  }

  .bg-2017 {
    background-image: url(../images/remgro-history-timeline/2017.png);
  }

  .bg-2018 {
    background-image: url(../images/remgro-history-timeline/2018-new.png);
  }

  .bg-2020 {
    background-image: url(../images/remgro-history-timeline/2020.png);
  }

  .bg-2023 {
    background-image: url(../images/remgro-history-timeline/2023.png);
  }

  .bg-2025 {
    background-image: url(../images/remgro-history-timeline/2025.png);
  }

  .bg-2026 {
    background-image: url(../images/remgro-history-timeline/2026.jpg);
  }

  /* Responsive */
  @media screen and (max-width: 1354px) {
    ul.tabs-history {
      width: 27%;
      left: -11%;
      margin-left: 58px;
    }
  }

  @media screen and (max-width: 991px) {
    .tab-container {
      height: 665px;
      background-color: #fff;
    }

    .gold-block {
      width: 100%;
    }

    .tabs-history {
      display: none !important;
    }

    .tab-container {
      height: unset;
    }

    .tab-drawer-heading:before {
      content: "";
      background: url(../images/icons/plus-icon.png) no-repeat center center;
      background-size: 22px 22px;
      width: 22px;
      height: 22px;
      display: inline-block;
      float: right;
      transition: all 0.3s ease-in;
    }

    .tab-drawer-heading.d-active:before {
      background: none;
      content: '\e93b';
      font-family: 'icomoon';
      font-size: 22px;
      color: #fff;
      transform: rotate(-90deg);
    }

    .right-al-cont {
      width: 100%;
      position: relative;
      right: 0px;
      top: 8px;
    }

    .year-heading {
      display: none !important;
    }

    .bg-history {
      background-repeat: no-repeat;
      background-size: cover;
      width: 100%;
      animation: bgZoom 8s ease-out forwards;
      background-position: 0% 100%;
    }
  }
