/*==============================================================
  04. General
================================================================*/
@use "../default/breakpoints" as bp;

.cs_fs_12 {
  font-size: 12px;
  line-height: 1.12em;
}

.cs_fs_14 {
  font-size: 14px;
  line-height: 1.42857em;
}

.cs_fs_16 {
  font-size: 16px;
  line-height: 1.5em;
}

.cs_fs_18 {
  font-size: 18px;
  line-height: 1.5em;
}

.cs_fs_20 {
  font-size: 20px;
  line-height: 1.4em;
}

.cs_fs_24 {
  font-size: 24px;
  line-height: 1.33333em;

  @include bp.down(sm) {
    font-size: 22px;
  }
}

.cs_fs_32 {
  font-size: 32px;
  line-height: 1.25em;

  @include bp.down(xl) {
    font-size: 24px;
  }
}

.cs_fs_36 {
  font-size: 36px;
  line-height: 1.22222em;
}

.cs_fs_40 {
  font-size: 40px;
  line-height: 1.2em;

  @include bp.down(sm) {
    font-size: 36px;
  }
}

.cs_fs_48 {
  font-size: 48px;
  line-height: 1.16667em;

  @include bp.down(sm) {
    font-size: 40px;
  }

  @include bp.down(xs) {
    font-size: 36px;
  }
}

.cs_fs_56 {
  font-size: 56px;
  line-height: 1.07143em;
  letter-spacing: -1.12px;

  @include bp.down(sm) {
    font-size: 42px;
  }

  @include bp.down(xs) {
    font-size: 36px;
  }
}

.cs_fs_72 {
  font-size: 72px;
  line-height: 1.11111em;

  @include bp.down(xl) {
    font-size: 65px;
  }

  @include bp.down(lg) {
    font-size: 54px;
  }

  @include bp.down(sm) {
    font-size: 46px;
  }

  @include bp.down(xs) {
    font-size: 38px;
  }
}

/*=====================================  
  Classess for Fonts Weight
=======================================*/
.cs_normal {
  font-weight: 400;
}

.cs_medium {
  font-weight: 500;
}

.cs_semibold {
  font-weight: 600;
}

.cs_bold {
  font-weight: 700;
}

/*=====================================  
  Classess for Fonts Color
=======================================*/

.cs_primary_color {
  color: var(--primary-color);
}

.cs_primary_hover:hover {
  color: var(--primary-color);
}

.cs_accent_hover:hover {
  color: var(--accent-color);
}

.cs_white_color {
  color: var(--white-color);
}

.cs_accent_color {
  color: var(--accent-color);
}

.cs_gray_color1 {
  color: var(--gray-color1);
}

.cs_gray_color2 {
  color: var(--gray-color2);
}

.cs_gray_color3 {
  color: var(--gray-color3);
}

.cs_gray_color4 {
  color: var(--gray-color4);
}

.cs_gray_color5 {
  color: var(--gray-color5);
}

.cs_gray_color6 {
  color: var(--gray-color6);
}

.cs_gray_color7 {
  color: var(--gray-color7);
}

/*=====================================  
  Classess for Fonts Family 
=======================================*/
.cs_primary_font {
  font-family: var(--primary-font);
}

.cs_secondary_font {
  font-family: var(--secondary-font);
}

/*=============================================  
  Classess for Background Size & Colors
===============================================*/
.cs_primary_bg {
  background-color: var(--primary-color);
}

.cs_accent_bg {
  background-color: var(--accent-color);
}

.cs_accent_bg_hover:hover {
  background-color: var(--accent-color);
}

.cs_secondary_bg {
  background-color: var(--secondary-color);
}

.cs_gray_bg1 {
  background-color: var(--gray-color1);
}

.cs_gray_bg2 {
  background-color: var(--gray-color2);
}

.cs_gray_bg3 {
  background-color: var(--gray-color3);
}

.cs_gray_bg4 {
  background-color: var(--gray-color4);
}

.cs_gray_bg5 {
  background-color: var(--gray-color5);
}

.cs_gray_bg6 {
  background-color: var(--gray-color6);
}

.cs_gray_bg7 {
  background-color: var(--gray-color7);
}

.cs_white_bg {
  background-color: var(--white-color);
}

.cs_white_bg_hover:hover {
  background-color: var(--white-color);
}

.cs_bg_filed {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cs_bg_fixed {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/*=============================================  
  Classess for Border Radius
===============================================*/

.cs_radius_5 {
  border-radius: 5px;
}

.cs_radius_8 {
  border-radius: 8px;
}

.cs_radius_32 {
  border-radius: 32px;
}

.cs_radius_50 {
  border-radius: 50px;
}

/*=============================================  
  Classess for Utility Components
===============================================*/
.cs_mp_0 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs_center_column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*=======================================================
 All Buttons
=========================================================*/
.cs_btn_style_1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 30px;
  text-align: center;
  border: none;
  outline: none;
  font-family: var(--primary-font);
  transition: all 0.4s ease;

  &:hover {
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 15px 0 15px 0;
  }

  @include bp.down(sm) {
    padding: 10px 24px;
  }
}

.cs_btn_style_2 {
  padding: 13px 30px;
  text-align: center;
  border: none;
  outline: none;
  font-family: var(--primary-font);
  transition: all 0.4s ease;

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

.cs_scrollup {
  width: 50px;
  height: 50px;
  position: fixed;
  inset-inline-end: 15px;
  bottom: 20px;
  z-index: 999999;
  color: var(--primary-color);
  background-color: var(--accent-color);
  transform: translateY(200px) scale(0);
  transition: transform 0.6s cubic-bezier(0.88, 0.55, 0.265, 0.55);

  svg {
    transform: rotate(-90deg);
  }

  &::before {
    content: "";
    width: 46px;
    height: 46px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: inherit;
    transform: translate(-50%, -50%) scale(0);
    background-color: var(--white-color);
    transition: transform 0.4s cubic-bezier(0.68, 0.55, 0.265, 0.55);
  }

  &:hover {
    &::before {
      transform: translate(-50%, -50%) scale(1);
    }
  }

  &.active {
    transform: translateY(0) scale(1);
  }

  @include bp.down(sm) {
    width: 40px;
    height: 40px;

    &::before {
      content: "";
      width: 36px;
      height: 36px;
    }
  }
}

/*=======================================================
  Section Heading
=========================================================*/
.cs_section_heading_style_1,
.cs_section_heading_style_2 {
  .cs_section_title {
    letter-spacing: -1.12px;
  }

  @include bp.down(sm) {
    .cs_fs_20 {
      font-size: 16px;
    }
  }
}

.cs_section_heading_style_2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px 30px;

  @include bp.down(lg) {
    flex-direction: column;
    align-items: start;
  }
}

/*=============================================  
  Bootstrap Classess 
===============================================*/
.container-fluid {
  max-width: 1920px;
}

.cs_gap_y_16 {
  gap: 16px 0;
}

.cs_gap_y_24 {
  gap: 24px 0;
}

.cs_gap_y_32 {
  gap: 32px 0;
}

.cs_gap_y_40 {
  gap: 40px 0;
}

.cs_gap_y_48 {
  gap: 48px 0;
}

.container {
  @include bp.up(xxl) {
    max-width: 1344px;
  }
}

/*===========================================================  
  Responsive For Common Component & Hide Elements
=============================================================*/

@include bp.down(lg) {
  br {
    display: none;
  }
}

/*===========================================================  
  All Common Animation
=============================================================*/
@keyframes pulseBorder {
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

@keyframes scrollingAnimation {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.cs_zoom {
  overflow: hidden;

  img {
    transition: transform 0.5s ease;
  }

  &:hover {
    img {
      transform: scale(1.03);
    }
  }
}

/* Keyboard focus ring: a dark ring with a light band inside it, visible
   on light and dark backgrounds. :focus-visible leaves mouse clicks unchanged. */
:is(a, button, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white-color);
}

/* Form fields show focus with an accent border instead of a ring. */
input:focus,
textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--accent-color);
}
