@import "./common-var.css";

a,
a:hover {
  text-decoration: none;
  outline: none;
}

input:focus {
  outline: none;
}

ul,
ol,
ul > li,
ol > li {
  margin:  0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1680px) {
  .container {
    max-width: 1540px;
  }
}
.box-type1 {
  background-color: var(--light-gray);
}

/**************
Text color
**************/
.text-white {
  color: var(--white) !important;
}
.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}

/**************
Common padding & Spacing 
**************/
.common-padding {
  padding: 90px 0;
  @media (max-width: 991px) {
    padding: 60px 0;
  }
}
.common-spacing {
  margin: 80px 0;
  @media (max-width: 1140px) {
    margin: 60px 0;
  }
}

.common-spacing1 {
  margin: 40px 0;
  @media (max-width: 1140px) {
    margin: 30px 0;
  }
}

/**************
Common CMS Text Type
**************/
.cms-text {
  color: var(--text-default-color);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 38px;
  @media (max-width: 991px) {
    font-size: 22px;
    line-height: 34px;
  }

  @media (max-width: 576px) {
    font-size: 20px;
    line-height: 32px;
  }
}

.cms-text1 {
  color: var(--text-default-color);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  @media (max-width: 1400px) {
    font-size: 20px;
    line-height: 28px;
  }

  @media (max-width: 576px) {
    font-size: 18px;
    line-height: 24px;
  }
}

.cms-text2 {
  color: var(--text-default-color);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  @media (max-width: 1400px) {
    font-size: 18px;
    line-height: 32px;
  }
  @media (max-width: 1024px) {
    font-size: 16px;
    line-height: 30px;
  }
  @media (max-width: 576px) {
    font-size: 14px;
    line-height: 28px;
  }
}

.cms-text3 {
  color: var(--text-default-color);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;

  @media (max-width: 576px) {
    font-size: 14px;
    line-height: 20px;
  }
}

.cms-text4 {
  color: var(--primary-color);
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  @media (max-width: 1400px) {
    font-size: 26px;
    line-height: 36px;
  }
  @media (max-width: 991px) {
    font-size: 24px;
    line-height: 34px;
  }

  @media (max-width: 576px) {
    font-size: 22px;
    line-height: 32px;
  }
}

/**************
Common Points types
**************/

.point-text {
  color: var(--text-default-color);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  list-style: disc;
  @media (max-width: 1400px) {
    font-size: 18px;
    line-height: 32px;
  }
  @media (max-width: 1024px) {
    font-size: 16px;
    line-height: 30px;
  }
}
.point-text1 {
  list-style: disc;
  color: var(--primary-color);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  @media (max-width: 1400px) {
    font-size: 16px;
    line-height: 30px;
  }
}
.point-text2 {
  list-style: disc;
  color: var(--white);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  @media (max-width: 1400px) {
    font-size: 16px;
    line-height: 30px;
  }
}

/**************
Common heading types
**************/
.hd-type1 {
  color: var(--text-default-color);
  font-size: 70px;
  font-weight: 500;
  line-height: 60px; 
  @media (max-width: 1400px) {
    font-size: 60px;
  }
  @media (max-width: 1280px) {
    font-size: 50px;
    list-style: 40px;
  }
  @media (max-width: 767px) {
    font-size: 40px;
    line-height: 50px;
  }
}

.hd-type2 {
  color: var(--text-default-color);
  font-size: 66px;
  font-weight: 500;
  line-height: 80px;
  @media (max-width: 1400px) {
    font-size: 56px;
    line-height: 66px;
  }
  @media (max-width: 1280px) {
    font-size: 46px;
    line-height: 56px;
  }
  @media (max-width: 576px) {
    font-size: 36px;
    line-height: 46px;
  }
}

.hd-type3 {
  color: var(--text-default-color);
  font-size: 50px;
  font-weight: 500;
  line-height: 60px;
  margin: 0 0 20px 0;
  @media (max-width: 1400px) {
    font-size: 40px;
    line-height: 45px;
  }
  /* @media (max-width: 1280px) {
    font-size: 30px;
    line-height: 35px;
  }
  @media (max-width: 576px) {
    font-size: 25px;
    line-height: 30px;
  } */
}

.hd-type4 {
  color: var(--text-default-color);
  font-size: 40px;
  font-weight: 500;
  line-height: 45px;

  @media (max-width: 1400px) {
    font-size: 35px;
    line-height: 40px;
  }
  @media (max-width: 576px) {
    font-size: 30px;
    line-height: 35px;
  }
}

.hd-type5{
  font-size: 30px;
  font-weight: 500;
  line-height: 37px;    
  color: var(--primary-color);
  margin-bottom: 22px;
  @media (max-width: 1400px) {
    font-size: 26px;
    line-height: 30px;
  }
  @media (max-width: 991px) {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
  }
}
.hd-type6{
  font-size: 30px;
  font-weight: 500;
  line-height: 37px;    
  color: var(--white);
  margin-bottom: 22px;
  @media (max-width: 1400px) {
    font-size: 26px;
    line-height: 30px;
  }
  @media (max-width: 991px) {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
  }
}

/**************
Common button types
**************/
.btn-type1 {
  background-color: transparent;
  padding: 15px 30px;
  color: var(--primary-color);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid var(--secondary-color);
  max-width: fit-content;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  &.white {
    color: var(--white);
  }

  &.iconBtn {
    border-radius: 50%;
    height: 40px;
    min-width: 40px;
    padding: 12px;
  }
}
.btn-type1:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.btn-type1.white:hover {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.btn-type1.disabled {
  pointer-events: none;
  opacity: 0.8;
}
.btn-type2 {
  background-color: var(--secondary-color);
  padding: 12px 30px;
  color: var(--white);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  width: auto;
  max-width: fit-content;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  border: 2px solid var(--secondary-color);
}
.btn-type2:hover {
  background-color: transparent;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.btn-type3 {
  background-color: transparent;
  padding: 16px 56px;
  color: var(--white);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  border-radius: 100px;
  border: 2px solid var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  width: auto;
  max-width: fit-content;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-type3:hover {
  background-color: rgba(255,255,255,0.5);
  color: var(--white);
  transition: all 0.3s ease;
}
.btn-type4 {
  background-color: transparent;
  padding: 15px 30px;
  color: var(--primary-color);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid var(--secondary-color);
  max-width: fit-content;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  &.white {
    color: var(--white);
  }
}
.btn-type4:hover {
  background-color: rgba(255,255,255,0.5);
  color: var(--white);
  transition: all 0.3s ease;
}
/**************
Link types
**************/
.link-type1 {
  display: flex;
  width: 149px;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-color);
  font-family: var(--font-type1);
  font-size: 14px;
  font-weight: 400;
  line-height: 105%;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;

  &:hover {
    color: var(--primary-color);

    svg rect {
      stroke: var(--primary-color);
    }

    svg path {
      fill: var(--primary-color);
    }
  }
}

.link-type1 svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.link-type1 svg rect,
.link-type1 svg path {
  transition: all 0.3s ease;
}

.link-type1 span {
  width: 107px;
  height: 14px;
  flex-shrink: 0;
}
.link-type2 {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: opacity 0.3s ease;

    &:hover {
      opacity: 1;
      color: var(--primary-color);
    }
  }
.link-type3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    text-decoration: underline;
    transition: opacity 0.3s ease;

    @media (max-width: 1440px) {
      font-size: 16px;
      line-height: 28px;
    }

    @media (max-width: 991px) {
      font-size: 15px;
      line-height: 26px;
    }

    &:hover {
      color: var(--secondary-color);
    }
  }  
/**************
Common list 
**************/
ul.list-type1 {
  li {
    position: relative;
    padding-left: 15px;
    line-height: 34px;
    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: 10px;
      width: 8px;
      height: 8px;
      background-color: #000000;
      border-radius: 50%;
    }
  }
}
[dir="rtl"] ul.list-type1 {
  li {
    padding-left: 0;
    padding-right: 15px;
    &::before {
      left: auto;
      right: 0;
    }
  }
}

.list-type2 {
  
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--white);
    font-size: 20px;
    font-weight: 400;
    line-height: 35px;

    @media (max-width: 1400px) {
      font-size: 18px;
      line-height: 31px;
    }

    @media (max-width: 991px) {
      font-size: 16px;
      line-height: 28px;
    }

    li {
      position: relative;
      padding-left: 18px;
      color: var(--white);
      margin-bottom: 1px;

      &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 15px;
        width: 7px;
        height: 7px;
        background: var(--white);
        border-radius: 50%;
      }
    }
  }
  [dir="rtl"] .list-type2 {
  li {
    padding-left: 0;
    padding-right: 18px;

    &::before {
      left: auto;
      right: 0;
    }
  }
}

/**************
Common tab types
**************/

.tab-type1 {
  position: relative;
}
.tab-type1 > .nav-tabs {
  border: 0px;
  gap: 10px;
  overflow: auto;
  flex-wrap: nowrap;
  padding: 15px 0;
}

.tab-type1 > .nav-tabs > .nav-item > .nav-link {
  margin: 0;
  padding: 8px 30px 10px;
  color: var(--text-default-color);
  border: none;
  border-radius: 5px;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  width: max-content;
  min-height: 58px;
  @media(max-width:1400px){
    font-size: 18px;
    line-height: 30px;  
  }
}
.inner-tab {
  &:after {
    display: none;
  }
  > .nav-tabs > .nav-item > .nav-link {
    min-height: 58px;
  }
}
.tab-type1 > .nav-tabs > .nav-item > .nav-link.active {
  color: var(--white);
  background-color: var(--primary-color);
  
}

/* tab-type2 */
.tab-type2 > .nav-tabs {
  border: none;
  justify-content: center;
  gap: 18px;
}

.tab-type2 > .nav-tabs > .nav-item > .nav-link {
  margin: 0;
  color: var(--text-default-color);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  padding: 16px 20px;
  border-bottom: 51px solid transparent;
  border-width: 0 0 5px 0;
  background: var(--white);
  width: 100%;
  @media(max-width:1440px){
    font-size: 16px;
    line-height: 1.3;
  }
}

.tab-type2 > .nav-tabs > .nav-item > .nav-link.active {
  border-bottom: 5px solid var(--secondary-color);
  border-width: 0 0 5px 0;
}

/* tab-type3 */
.tab-type3 > .nav-tabs {
  border: none;
  gap: 16px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.tab-type3 > .nav-tabs > .nav-item {
  flex: 1;
}

.tab-type3 > .nav-tabs > .nav-item > .nav-link {
  margin: 0;
  color: var(--text-default-color);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  padding: 16px 22px;
  border-radius: 6px;
  border: 1px solid #9f9f9f;
  background: var(--white);
  width: 100%;
  transition: all 0.3s ease;
  height: 100%;
}

.tab-type3 > .nav-tabs > .nav-item > .nav-link.active {
  border: none;
  background: var(--primary-color);
  color: var(--white);
}

.tab-type3 > .nav-tabs > .nav-item > .nav-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-type3 > .nav-tabs > .nav-item > .nav-link.active:hover {
  color: var(--white);
}

@media (max-width: 991px) {
  .tab-type3 > .nav-tabs {
    gap: 12px;
  }

  .tab-type3 > .nav-tabs > .nav-item > .nav-link {
    font-size: 16px;
    padding: 14px 18px;
  }
}

@media (max-width: 576px) {
  .tab-type3 > .nav-tabs {
    gap: 8px;
    flex-direction: column;
  }

  .tab-type3 > .nav-tabs > .nav-item > .nav-link {
    font-size: 14px;
    padding: 12px 15px;
  }
}

/* tab-type4 */
.tab-type4 {
  position: relative;
}
.tab-type4 > .nav-tabs {
  border: none;
  gap: 0px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.tab-type4 > .nav-tabs > .nav-item > .nav-link {
  margin: 0;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  padding: 15px 22px;
  text-transform: uppercase;
  border-radius: 0;
  background: var(--light-gray);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.tab-type4 > .nav-tabs > .nav-item > .nav-link:hover {
  background: var(--primary-color);
  color: var(--white);
  border-radius: 0;
}
.tab-type4 > .nav-tabs > .nav-item > .nav-link.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  border-radius: 0;
  position: relative;
  z-index: 2;
}
.tab-type4 > .tab-content {
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 0;
  padding: 20px;
  margin-top: -1px;
  position: relative;
  z-index: 1;
}


/* Special case: when #oil is active within tab-type4, modify top-left border-radius */
.tab-type4:has(#oil.active.show) > .tab-content,
.tab-type4 > .tab-content.oil-active {
  border-radius: 0;
}
[dir="rtl"] .tab-type4:has(#oil.active.show) > .tab-content,
[dir="rtl"] .tab-type4 > .tab-content.oil-active {
  border-radius: 0;
}

.tab-type4 > .tab-content .tab-pane { padding: 0; }

@media (max-width: 991px) {
  .tab-type4 > .nav-tabs > .nav-item > .nav-link {
    font-size: 16px;
    padding: 10px 18px;
  }
}
@media (max-width: 576px) {
  .tab-type4 > .nav-tabs > .nav-item > .nav-link {
    font-size: 14px;
    padding: 10px 15px;
  }
}

/**************
Accordion Type 1
**************/
.accordion-type1 {
  .accordion-item {
    border: none;
    margin-bottom: 40px;

    @media (max-width: 991px) {
      margin-bottom: 30px;
    }
  }

  .accordion-header {
    margin-bottom: 0;
  }

  .accordion-button {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 23px;
    font-weight: 500;
    line-height: 32px;
    padding: 20px 30px;
    border-radius: 5px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.3s ease;

    @media (max-width: 576px) {
      font-size: 20px;
      line-height: 28px;
      padding: 16px 20px;
    }

    &:not(.collapsed) {
      background-color: var(--primary-color);
      color: var(--white);
      box-shadow: none;
      border-radius: 5px 5px 0 0;

      .accordion-icon {
        transform: rotate(0deg);
      }
    }

    &.collapsed {
      .accordion-icon {
        transform: rotate(180deg);
      }
    }

    &:focus {
      box-shadow: none;
      border: none;
    }

    &::after {
      display: none;
    }
  }

  .accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
  }

  .accordion-body {
    padding: 30px 0 0 0;

    @media (max-width: 576px) {
      padding: 20px 0 0 0;
    }

    .committee-description {
      margin-bottom: 30px;

      @media (max-width: 576px) {
        margin-bottom: 20px;
      }
    }

    .committee-chairman-section {
      margin-bottom: 40px;

      @media (max-width: 991px) {
        margin-bottom: 30px;
      }

      .chairman-image-wrapper {
        max-width: 505px;

        @media (max-width: 991px) {
          max-width: 100%;
          margin-bottom: 30px;
        }
      }

      .committee-duties {
        .duties-title {
          color: var(--text-default-color);
          font-size: 20px;
          font-weight: 700;
          line-height: 35px;
          margin: 0 0 10px 0;

          @media (max-width: 576px) {
            font-size: 18px;
            line-height: 30px;
          }
        }

        .duties-list {
          margin: 0;
          padding: 0;
          list-style: none;

          li {
            color: var(--text-default-color);
            font-size: 20px;
            font-weight: 400;
            line-height: 35px;
            position: relative;
            padding-left: 15px;
            margin-bottom: 10px;

            @media (max-width: 576px) {
              font-size: 18px;
              line-height: 31px;
            }

            &::before {
              content: "•";
              position: absolute;
              left: 0;
              color: var(--text-default-color);
              font-weight: 700;
            }
          }
        }
      }
    }

    .committee-members-section {
      .board-member-card {
        margin-bottom: 30px;

        @media (max-width: 576px) {
          margin-bottom: 20px;
        }
      }
    }
  }
}

/**************
Accordion Type 1 RTL Support
**************/
[dir="rtl"] .accordion-type1 {
  
  .accordion-body {
    .committee-duties {
      .duties-list {
        li {
          padding-left: 0;
          padding-right: 15px;

          &::before {
            left: auto;
            right: 0;
          }
        }
      }
    }
  }
}

/**************
circle icon types css
**************/
.icon-arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: all 0.3s ease;

  svg {
    width: 42px;
    height: 43px;
    display: block;

    rect {
      transition: all 0.3s ease;
    }

    path {
      transition: all 0.3s ease;
    }
  }
}

/**************
PDF Download Button
**************/
.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 50px;
  border: 2px solid var(--secondary-color);
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 85px;
  cursor: pointer;
 

  &:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 104, 29, 0.2);

    .pdf-text {
      color: var(--white);
    }

    svg path {
      fill: var(--white);
    }

    .download-line {
      background: var(--white);
    }
  }

  .pdf-text {
    color: var(--primary-color);
    text-align: center;
    font-family: var(--font-type1);
    font-size: 11.2px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }

  .download-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;

    svg {
      width: 15px;
      height: 14px;
      flex-shrink: 0;

      path {
        transition: all 0.3s ease;
        fill: var(--primary-color);
      }
    }

    .download-line {
      width: 15px;
      height: 2px;
      background: var(--primary-color);
      flex-shrink: 0;
      transition: all 0.3s ease;
    }
  }
}
[dir="rtl"] .pdf-download-btn{
  flex-direction: row-reverse;
}

/**************
Form Elements
**************/
.custom-select {
  display: inline-flex;
  height: 52px;
  padding: 12px;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  border: 1px solid #dadada;
  background: var(--white);
  color: var(--text-default-color);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20.031 9.53068L12.531 17.0307C12.4614 17.1004 12.3787 17.1557 12.2876 17.1935C12.1966 17.2312 12.099 17.2506 12.0004 17.2506C11.9019 17.2506 11.8043 17.2312 11.7132 17.1935C11.6222 17.1557 11.5394 17.1004 11.4698 17.0307L3.96979 9.53068C3.82906 9.38995 3.75 9.19907 3.75 9.00005C3.75 8.80103 3.82906 8.61016 3.96979 8.46943C4.11052 8.32869 4.30139 8.24963 4.50042 8.24963C4.69944 8.24963 4.89031 8.32869 5.03104 8.46943L12.0004 15.4397L18.9698 8.46943C19.0395 8.39974 19.1222 8.34447 19.2132 8.30676C19.3043 8.26904 19.4019 8.24963 19.5004 8.24963C19.599 8.24963 19.6965 8.26904 19.7876 8.30676C19.8786 8.34447 19.9614 8.39974 20.031 8.46943C20.1007 8.53911 20.156 8.62183 20.1937 8.71288C20.2314 8.80392 20.2508 8.9015 20.2508 9.00005C20.2508 9.0986 20.2314 9.19618 20.1937 9.28722C20.156 9.37827 20.1007 9.46099 20.031 9.53068Z' fill='%23515151'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  min-width: 229px;

  &:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 19, 234, 0.1);
  }

  &:hover {
    border-color: var(--primary-color);
  }

  option {
    padding: 10px;
    background: var(--white);
    color: var(--text-default-color);
  }
}

/* RTL Support for forms */
[dir="rtl"] .custom-select,
[dir="rtl"] .form-select {
  background-position: left 12px center;
  padding-right: 12px;
  padding-left: 50px;
}
/**************
Modal CSS
**************/
.modal-content {
  border-radius: 0;
  .modal-header {
    border: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;

    .btn-close {
      width: 40px;
      height: 40px;
      background: transparent;
      opacity: 1;
      padding: 0;
      margin: 0;
      top: 0;
      svg {
        display: block;
        width: 40px;
        height: 40px;
      }
      @media(max-width:576px){
        width: 35px;
        height: 35px;      
        svg {
          width: 30px;
          height: 30px;
        }
      }
    }
    @media(max-width:576px){
      top: -9px;
      right: -9px;
    }
  }
  ul,
  ol{ margin: 0 0 0 20px; padding: 0;}
  ul > li,
  ol > li {
    margin:  0;
    padding: 0;
    list-style: disc;
  }
}

[dir="rtl"] .modal-content .modal-header {
  right: auto;
  left: 0;
}
[dir="rtl"] .modal-content ul, [dir="rtl"] .modal-content ol {
  margin: 0 20px 0 0;
}
.videoModal {
  .modal-body {
    line-height: 0;
    margin-top: -1px;
  }
}

[dir="rtl"] .modal-content .modal-header .btn-close {
  right: auto;
  left: 0;
}

/**************
Board Member Modal Styles
**************/
.board-member-modal {
  .modal-dialog {
    max-width: 755px;
  }

  .modal-content {
    border: none;
    border-radius: 0;
    padding: 25px;
  }

  

  .modal-body {
    padding: 0;
  }

  .modal-header-content {
    margin-bottom: 40px;
    .chairman-modal &{
      margin-bottom: -40px;   
      @media(max-width:767px){
        margin-bottom:20px;
      }
    }
    .modal-title {
      color: var(--primary-color);
      font-size: 30px;
      font-weight: 500;
      line-height: 35px;
      margin: 0 0 8px 0;

      @media (max-width: 576px) {
        font-size: 24px;
        line-height: 30px;
      }
    }

    .modal-subtitle {
      color: var(--secondary-color);
      font-size: 20px;
      font-weight: 400;
      line-height: 35px;
      margin: 0;

      @media (max-width: 576px) {
        font-size: 18px;
        line-height: 28px;
      }
    }
  }

  .modal-author {
    margin-bottom: 32px;

    .author-name {
      color: var(--primary-color);
      font-size: 20px;
      font-weight: 500;
      line-height: 28px;
      margin: 0 0 8px 0;

      @media (max-width: 576px) {
        font-size: 18px;
        line-height: 26px;
      }
    }

    .author-title {
      color: var(--text-default-color);
      font-size: 20px;
      font-weight: 400;
      line-height: 28px;
      margin: 0;

      @media (max-width: 576px) {
        font-size: 18px;
        line-height: 26px;
      }
    }
  }

  .cms-text3 {
    strong {
      color: var(--primary-color);
      font-weight: 700;
      margin-bottom: 8px;
      display: block;
    }
  }
}

/* Animation Classes */
/* Top to Bottom Animation */
.f-animation-top-bottom {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
 
.f-animation-top-bottom.animate-in {
    opacity: 1;
    transform: translateY(0);
}
 
.delay-1.animate-in {
    transition-delay: 0.3s;
}
.delay-2.animate-in {
    transition-delay: 0.4s;
}
.delay-3.animate-in {
    transition-delay: 0.5s;
}
.delay-4.animate-in {
    transition-delay: 1.5s;
}
.delay-5.animate-in {
    transition-delay: 2.1s;
}
.delay-6.animate-in {
    transition-delay: 2.7s;
}
/* Left to Right Animation */
.f-animation-left-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    @media (max-width: 991px) {
      transform: translateY(-30px);
    }
}
 
.f-animation-left-right.animate-in {
    opacity: 1;
    transform: translateX(0);
    @media (max-width: 991px) {
      transform: translateY(0);
    }
}
/* Right to Left Animation */
.f-animation-right-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  
  .f-animation-right-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}
/* Bottom to Top Animation */
.f-animation-bottom-top {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
 
.f-animation-bottom-top.animate-in {
    opacity: 1;
    transform: translateY(0);
}
/**************
Table Types
**************/
/* Custom Rating Agency Table - table-type1 */
.table-type1 {
  font-family: var(--font-type1);
  /* Header Row Styling */
  thead {
    tr {
      th {
        background-color: var(--primary-color);
        color: var(--white);
        font-weight: 700;
        font-size: 20px;
        text-align: center;
        padding: 15px 8px;
        border: 1px solid #D9D9D924;
        vertical-align: middle;
        @media (max-width:1600px){
          font-size: 18px;
        }
        &:first-child {
          border-top-left-radius: 10px;
        }
        &:last-child {
          border-top-right-radius: 10px;
        }
      }
    }
  }
  
  /* Body Rows Styling */
  tbody {
    td {
      font-size: 20px;
      font-weight: 400;
      color: var(--text-default-color);
      text-align: center;
      vertical-align: middle;
      padding: 12px 8px;
      border: 1px solid #D9D9D9;      
      @media(max-width:1600px){
        font-size: 18px;
      }
    }
  }
  

}
  
  
/* RTL Support for table-type1 */
[dir="rtl"] {
  .table-type1 {
    thead th {
      text-align: center;
      &:first-child {
          border-top-left-radius: 0;
          border-top-right-radius: 10px;
        }
        &:last-child {
          border-top-right-radius: 0;
          border-top-left-radius: 10px;
        }
    }
  }
}