/*===========================
  COMMON css
===========================*/
:root {
  --font-family: "Inter", sans-serif;
  --primary: #9E2E2E;
  --primary-dark: #571414;
  --primary-light: #e2f1ff;
  --accent: #00d4d7;
  --accent-dark: #00bac1;
  --accent-light: #dff9f8;
  --success: #13d527;
  --success-dark: #00ae11;
  --success-light: #eafbe7;
  --secondary: #8f15d5;
  --secondary-dark: #6013c7;
  --secondary-light: #f4e5fa;
  --info: #15b2d5;
  --info-dark: #0f8ca8;
  --info-light: #e0f5fa;
  --caution: #dbbb25;
  --caution-dark: #d58f15;
  --caution-light: #fbf9e4;
  --error: #e6185e;
  --error-dark: #bf1257;
  --error-light: #fce4eb;
  --black: #1d1d1d;
  --dark-1: #2d2d2d;
  --dark-2: #4d4d4d;
  --dark-3: #6d6d6d;
  --gray-1: #8d8d8d;
  --gray-2: #adadad;
  --gray-3: #cdcdcd;
  --gray-4: #e0e0e0;
  --light-1: #efefef;
  --light-2: #f5f5f5;
  --light-3: #fafafa;
  --white: #ffffff;
  --gradient-1: linear-gradient(180deg, #155bd5 0%, #1c3ab6 100%);
  --gradient-2: linear-gradient(180deg, #155bd5 13.02%, #00d4d7 85.42%);
  --gradient-3: linear-gradient(180deg, #155bd5 0%, #8f15d5 100%);
  --gradient-4: linear-gradient(180deg, #155bd5 0%, #13d527 100%);
  --gradient-5: linear-gradient(180deg, #155bd5 0%, #15bbd5 100%);
  --gradient-6: linear-gradient(180deg, #155bd5 0%, #dbbb25 100%);
  --gradient-7: linear-gradient(180deg, #155bd5 0%, #e6185e 100%);
  --gradient-8: linear-gradient(180deg, #1c3ab6 0%, #00bac1 100%);
  --gradient-9: linear-gradient(180deg, #00d4d7 13.02%, #155bd5 85.42%);
  --shadow-1: 0px 0px 1px rgba(40, 41, 61, 0.08),
    0px 0.5px 2px rgba(96, 97, 112, 0.16);
  --shadow-2: 0px 0px 1px rgba(40, 41, 61, 0.04),
    0px 2px 4px rgba(96, 97, 112, 0.16);
  --shadow-3: 0px 0px 2px rgba(40, 41, 61, 0.04),
    0px 4px 8px rgba(96, 97, 112, 0.16);
  --shadow-4: 0px 2px 4px rgba(40, 41, 61, 0.04),
    0px 8px 16px rgba(96, 97, 112, 0.16);
  --shadow-5: 0px 2px 8px rgba(40, 41, 61, 0.04),
    0px 16px 24px rgba(96, 97, 112, 0.16);
  --shadow-6: 0px 2px 8px rgba(40, 41, 61, 0.08),
    0px 20px 32px rgba(96, 97, 112, 0.24);
}

body {
  font-family: var(--font-family);
  color: var(--black);
  font-size: 16px;
}

img {
  max-width: 100%;
}

a {
  display: inline-block;
}

a,
button,
a:hover,
a:focus,
input:focus,
textarea:focus,
button:focus {
  text-decoration: none;
  outline: none;
}

ul,
ol {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--black);
  margin: 0px;
}

h1,
.h1 {
  font-size: 2.2em;
  line-height: 1.25;
}

h2,
.h2 {
  font-size: 2.1em;
  line-height: 1.25;
}

h3,
.h3 {
  font-size: 1.75em;
  line-height: 1.25;
}

h4,
.h4 {
  font-size: 1.5em;
  line-height: 1.25;
}

h5,
.h5 {
  font-size: 1.25em;
  line-height: 1.25;
}

h6,
.h6 {
  font-size: 0.875em;
  line-height: 1.25;
}

.display-1 {
  font-size: 5.5em;
  line-height: 1.25;
}

.display-2 {
  font-size: 4.75em;
  line-height: 1.25;
}

.display-3 {
  font-size: 4em;
  line-height: 1.25;
}

.display-4 {
  font-size: 3.25em;
  line-height: 1.25;
}

p {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark-3);
  margin: 0px;
}

.text-small {
  font-size: 0.875em;
  line-height: 1.5;
}

.text-lg {
  font-size: 1.15em;
  line-height: 1.5;
}

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

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.btn {
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
}
.btn:hover {
  color: inherit;
}
.btn:focus {
  box-shadow: none;
  outline: none;
}
.btn.btn-lg {
  font-size: 1.15em;
  padding: 16px 24px;
}
.btn.btn-sm {
  padding: 8px 16px;
}
.btn.square {
  border-radius: 0px;
}
.btn.semi-rounded {
  border-radius: 12px;
}
.btn.rounded-full {
  border-radius: 50px;
}
.btn.icon-left span,
.btn.icon-left i {
  margin-right: 8px;
}
.btn.icon-right span,
.btn.icon-right i {
  margin-left: 8px;
}
.btn.icon-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  line-height: 48px;
}
.btn.icon-btn.btn-lg {
  width: 56px;
  height: 56px;
  line-height: 56px;
}
.btn.icon-btn.btn-sm {
  width: 40px;
  height: 40px;
  line-height: 40px;
}


/* ===== Buttons Css ===== */
.primary-btn {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-2);
}
.active.primary-btn, .primary-btn:hover, .primary-btn:focus {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-4);
}
.deactive.primary-btn {
  background: var(--gray-4);
  color: var(--dark-3);
  pointer-events: none;
}

.primary-btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.active.primary-btn-outline, .primary-btn-outline:hover, .primary-btn-outline:focus {
  background: var(--primary-dark);
  color: var(--white);
}
.deactive.primary-btn-outline {
  color: var(--dark-3);
  border-color: var(--gray-4);
  pointer-events: none;
}


/* One Click Scrool Top Button*/
.scroll-top {
  width: 45px;
  height: 45px;
  line-height: 45px;
  background: var(--primary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
  color: #fff !important;
  border-radius: 0;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: all .3s ease-out 0s;
  transition: all .3s ease-out 0s;
  border-radius: 5px;
}

.scroll-top:hover {
  -webkit-box-shadow: 0 1rem 3rem rgba(35, 38, 45, 0.15) !important;
  box-shadow: 0 1rem 3rem rgba(35, 38, 45, 0.15) !important;
  -webkit-transform: translate3d(0, -5px, 0);
  transform: translate3d(0, -5px, 0);
  background-color: var(--dark-1);
}

/*===========================
  Section Title Five CSS
===========================*/
.section-title-five {
  text-align: center;
  max-width: 550px;
  margin: auto;
  margin-bottom: 50px;
  position: relative;
  z-index: 5;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .section-title-five {
    margin-bottom: 45px;
  }
}
@media (max-width: 767px) {
  .section-title-five {
    margin-bottom: 35px;
  }
}
.section-title-five h6 {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 30px;
  padding: 8px 30px;
}
.section-title-five h2 {
  margin-bottom: 15px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .section-title-five h2 {
    font-size: 2rem;
    line-height: 2.8rem;
  }
}
@media (max-width: 767px) {
  .section-title-five h2 {
    font-size: 1.5rem;
    line-height: 1.9rem;
  }
}
.section-title-five p {
  color: var(--dark-3);
}

#recognition .recognition-keyword {
  color: var(--primary);
  font-weight: 700;
}

/*===========================
  NAVBAR css
===========================*/
.navbar-toggler:focus {
  box-shadow: none;
}

.mb-100 {
  margin-bottom: 100px;
}

/*===== NAVBAR NINE =====*/
.navbar-area.navbar-nine {
  background: var(--primary);
  padding: 10px 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9;
}
.sticky {
  position: fixed !important;
  z-index:99 !important;
  -webkit-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  top: 0;
  width: 100%;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine {
    padding: 10px 0;
  }
}
@media all and (max-width: 767px){
  .navbar-area .img-fluid{
    max-width: 110px;
  }
}
.navbar-area.navbar-nine .navbar-brand {
  margin: 0;
}
.navbar-area.navbar-nine .navbar {
  position: relative;
  padding: 0;
}
.navbar-area.navbar-nine .navbar .navbar-toggler .toggler-icon {
  width: 30px;
  height: 2px;
  background-color: var(--white);
  margin: 5px 0;
  display: block;
  position: relative;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
.navbar-area.navbar-nine .navbar .navbar-toggler.active .toggler-icon:nth-of-type(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 7px;
}
.navbar-area.navbar-nine .navbar .navbar-toggler.active .toggler-icon:nth-of-type(2) {
  opacity: 0;
}
.navbar-area.navbar-nine .navbar .navbar-toggler.active .toggler-icon:nth-of-type(3) {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
  top: -7px;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-collapse {
    position: absolute;
    top: 116%;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    z-index: 8;
    padding: 10px 16px;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1400px) {
  .navbar-area.navbar-nine .navbar .navbar-nav {
    margin-left: 80px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav {
    margin-right: 0;
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item {
  position: relative;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item a {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  color: var(--white);
  text-transform: capitalize;
  position: relative;
  border-radius: 5px;
  font-weight: 500;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  margin: 14px 0;
  opacity: 0.7;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item a:hover {
  opacity: 1;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item a {
    padding: 10px 0;
    display: block;
    border: 0;
    margin: 0;
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item a.active {
  opacity: 1;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item a i {
  font-size: 12px;
  font-weight: 700;
  padding-left: 7px;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item a i {
    position: relative;
    top: -5px;
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu {
  position: absolute;
  left: 0;
  top: 130%;
  width: 230px;
  background-color: var(--white);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  z-index: 99;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16);
  padding: 10px;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    top: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    right: auto;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
    -webkit-transition: all none ease-out 0s;
    -moz-transition: all none ease-out 0s;
    -ms-transition: all none ease-out 0s;
    -o-transition: all none ease-out 0s;
    transition: all none ease-out 0s;
    box-shadow: none;
    text-align: left;
    border-top: 0;
    height: 0;
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu.collapse:not(.show) {
  height: auto;
  display: block;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu.collapse:not(.show) {
    height: 0;
    display: none;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu.show {
    height: auto;
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li {
  position: relative;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li .sub-nav-toggler {
  color: var(--black);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  position: relative;
  color: var(--dark-2);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  border-radius: 0;
  margin: 0 0;
  z-index: 5;
  opacity: 1;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li a i {
  font-weight: 700;
  font-size: 12px;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li a i {
    display: none;
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li a .sub-nav-toggler i {
  display: inline-block;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li .sub-menu {
  right: auto;
  left: 100%;
  top: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1400px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li .sub-menu {
    margin-left: 10px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li .sub-menu {
    padding-left: 30px;
  }
}
@media (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li .sub-menu {
    padding-left: 30px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li .sub-menu.show {
    visibility: visible;
    height: auto;
    position: relative;
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li:hover .sub-nav-toggler {
  color: var(--white);
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li:hover .sub-nav-toggler {
    color: var(--primary);
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li:hover > a {
  color: var(--primary);
  padding-left: 22px;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li:hover > a i {
  color: var(--primary);
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li:hover > a {
    color: var(--primary);
  }
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li:hover > a::after {
  opacity: 1;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-menu li:hover > a::before {
  opacity: 1;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  top: 115%;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-nav .nav-item .sub-nav-toggler {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 14px;
    font-size: 16px;
    background: none;
    border: 0;
    color: var(--white);
  }
}
.navbar-area.navbar-nine .navbar .navbar-btn {
  margin-top: 6px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-area.navbar-nine .navbar .navbar-btn {
    position: absolute;
    right: 70px;
    top: 7px;
  }
}
@media (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-btn {
    position: absolute;
    right: 60px;
    top: 7px;
  }
}
.navbar-area.navbar-nine .navbar .navbar-btn .menu-bar {
  font-size: 22px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  border: 1px solid rgba(238, 238, 238, 0.425);
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
.navbar-area.navbar-nine .navbar .navbar-btn .menu-bar:hover {
  border-color: transparent;
  color: var(--primary);
  background-color: var(--white);
}

/* ===== Buttons Css ===== */
.header-eight .primary-btn {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-2);
}
.header-eight .active.primary-btn, .header-eight .primary-btn:hover, .header-eight .primary-btn:focus {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-4);
}
.header-eight .deactive.primary-btn {
  background: var(--gray-4);
  color: var(--dark-3);
  pointer-events: none;
}

/*======================================
    header Area CSS
========================================*/
.header-eight {
  position: relative;
  padding:160px 0 100px 0;
  background: var(--primary);
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .header-eight {
    padding: 130px 0 80px 0;
  }
}
@media (max-width: 767px) {
  .header-eight {
    padding: 100px 0 60px 0;
  }
}
.header-eight .header-image{
  position: relative;
}
.header-eight .header-image .overlay{
  position: absolute;
  left:0;
  right: 0;
  top:0;
  bottom: 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-eight .header-image .overlay .video-button .icon-btn{
  width: 68px;
  height: 68px;
  line-height: 68px;
  font-size: 25px;
  padding-left: 8px;
}
.header-eight .header-image img {
  width: 100%;
  border-radius: 8px;
  height: auto;
  display: block;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .header-eight .header-image {
    margin-top: 40px;
  }
}
.header-eight .header-content {
  border-radius: 0;
  position: relative;
  z-index: 1;
  text-align: left;
}
.header-eight .header-content h1 {
  font-weight: 700;
  color: var(--white);
  text-shadow: 0px 3px 8px #00000017;
  text-transform: capitalize;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .header-eight .header-content h1  {
    font-size: 35px;
    line-height: 45px;
  }
}
@media (max-width: 767px) {
  .header-eight .header-content h1  {
    font-size: 30px;
    line-height: 42px;
  }
}
.header-eight .header-content h1 span {
  display: block;
}
.header-eight .header-content p {
  margin-top: 30px;
  color: var(--white);
  opacity: 0.7;
}
.header-eight .button {
  margin-top: 40px;
}
.header-eight .primary-btn {
  margin-right: 12px;
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid transparent;
}
.header-eight .primary-btn:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}
.header-eight .video-button {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 767px) {
  .header-eight .video-button {
    margin-top: 20px;
  }
}
.header-eight .video-button .text {
  display: inline-block;
  margin-left: 15px;
  color: var(--white);
  font-weight: 600;
}
.header-eight .video-button .icon-btn {
  background: var(--white);
  color: var(--primary);
}

/*===========================
  about-05 css
===========================*/
.about-five {
  background-color: var(--light-3);
  padding-top: 120px;
  padding-bottom: 90px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about-five {
    padding-top: 100px;
    padding-bottom:70px;
  }
}
@media (max-width: 767px) {
  .about-five {
    padding-top: 80px;
    padding-bottom:60px;
  }
}
.about-five-content{
  padding-left: 50px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about-five-content {
    padding-left: 0;
  }
}
@media (max-width: 767px) {
  .about-five-content {
    padding-left: 0;
  }
}
.about-five-content .small-title {
  position: relative;
  padding-left: 30px;
}
.about-five-content .small-title::before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  background-color: var(--primary);
  height: 2px;
  width: 20px;
  margin-top: -1px;
}
.about-five-content .main-title {
  margin-top: 20px;
}
.about-five-content .about-five-tab {
  margin-top: 40px;
}
.about-five-content .about-five-tab nav {
  border: none;
  background-color: var(--light-1);
  padding: 15px;
  border-radius: 5px;
}
.about-five-content .about-five-tab nav .nav-tabs {
  border: none;
}
.about-five-content .about-five-tab nav button {
  border: none;
  color: var(--dark-1);
  font-weight: 600;
  padding: 0;
  margin-right: 20px;
  position: relative;
  background-color: var(--white);
  padding: 10px 18px;
  border-radius: 4px;
  text-transform: capitalize;
}
@media (max-width: 767px) {
  .about-five-content .about-five-tab nav button {
    margin: 0;
    margin-bottom: 10px;
    width: 100%;
  }
  .about-five-content .about-five-tab nav button:last-child {
    margin: 0;
  }
}
.about-five-content .about-five-tab nav button:hover {
  color: var(--primary);
}
.about-five-content .about-five-tab nav button.active {
  background-color: var(--primary);
  color: var(--white);
}
.about-five-content .about-five-tab nav button:last-child {
  margin-right: 0;
}
.about-five-content .about-five-tab .tab-content {
  border: none;
  padding-top: 30px;
}
.about-five-content .about-five-tab .tab-content p {
  margin-bottom: 20px;
}
.about-five-content .about-five-tab .tab-content p:last-child {
  margin: 0;
}

.about-image-five {
  padding-left: 60px;
  position: relative;
  z-index: 2;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about-image-five {
    margin-bottom: 70px;
    padding-left: 30px;
  }
}
@media (max-width: 767px) {
  .about-image-five {
    margin-bottom: 60px;
    padding-left: 0;
  }
}
.about-image-five .shape {
  position: absolute;
  left: 30px;
  top: -30px;
  z-index: -1;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about-image-five .shape {
    left: 0;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about-image-five::before {
    right: -15px;
    bottom: -15px;
  }
}
@media (max-width: 767px) {
  .about-image-five::before {
    display: none;
  }
}
.about-image-five img {
  width: 100%;
  z-index: 2;
}


/*===========================
  services css
===========================*/
.services-eight {
  padding: 100px 0;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .services-eight {
    padding: 80px 0 50px 0;
  }
}
@media (max-width: 767px) {
  .services-eight {
    padding: 60px 0 30px 0;
  }
}
.services-eight .single-services {
  padding: 40px 30px;
  border: 1px solid var(--light-1);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display:flex;
  align-items: center;
  height: 100%;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.services-eight .single-services::before{
  width: 200px;
  height: 200px;
  background-color: var(--primary);
  border-radius: 50%;
  left:-100px;
  top:-100px;
  z-index: -1;
  content:'';
  display: block;
  opacity: 0.1;
  position: absolute;
}
.services-eight .single-services::after{
  width: 200px;
  position: absolute;
  height: 200px;
  background-color: var(--primary);
  border-radius: 50%;
  right:-125px;
  bottom:-125px;
  z-index: -1;
  content:'';
  opacity: 0.1;
  display: block;
}
.services-eight .single-services:hover {
  box-shadow: var(--shadow-4);
}
.services-eight .single-services:hover .service-icon {
  color: var(--white);
  border-color: transparent;
  background: var(--primary);
}
.services-eight .single-services:hover .service-icon::after {
  opacity: 1;
  visibility: visible;
}
.services-eight .single-services .service-icon {
  width: 78px;
  min-width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 25px;
  background: var(--white);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 40px;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  position: relative;
}
.services-eight .single-services .service-icon::after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  background: var(--primary);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid transparent;
}
.services-eight .single-services .service-content h4 {
  font-size: 20px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 0;
}
.services-eight .single-services .service-content p {
  color: var(--dark-3);
}



/* ===== Buttons Css ===== */
.call-action .inner-content .light-rounded-buttons .primary-btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.call-action .inner-content .light-rounded-buttons .primary-btn-outline.blocked {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  cursor: auto;
}

/*===== call action four =====*/
.call-action {
  z-index: 2;
  padding: 100px 0;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  position: relative;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .call-action {
    padding: 80px;
  }
}
@media (max-width: 767px) {
  .call-action {
    padding: 60px 0;
  }
}
.call-action:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: url("assets/images/call-action/overlay.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  z-index: -1;
}
.call-action .inner-content {
  text-align: center;
}
.call-action .inner-content h2 {
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--white);
}
.call-action .inner-content p {
  color: var(--white);
}
.call-action .inner-content .light-rounded-buttons {
  margin-top: 45px;
  display: block;
}
.call-action .inner-content .light-rounded-buttons .primary-btn-outline.blocked {
  border-color: var(--white) !important;
  color: var(--white) !important;
}
.call-action .inner-content .light-rounded-buttons .primary-btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.call-action .inner-content .light-rounded-buttons .primary-btn-outline:not(.blocked):hover,
.call-action .inner-content .light-rounded-buttons .primary-btn-outline:not(.blocked):focus{
  background-color: var(--white);
  color: var(--primary);
}


/*======================================
    Brand CSS
========================================*/
.brand-area {
  padding: 100px 0;
  background: var(--light-3);
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .brand-area {
    padding: 80px;
  }
}
@media (max-width: 767px) {
  .brand-area {
    padding: 60px 0;
  }
}
.brand-area .clients-logos {
  text-align: center;
  display: inline-block;
  margin-top: 20px;
}
.brand-area .clients-logos .single-image {
  display: inline-block;
  margin: 13px 10px;
  background-color: var(--white);
  line-height: 100px;
  padding: 8px 25px;
  border-radius: 8px;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
  border: 1px solid #eee;
}
.brand-area .clients-logos .single-image:hover {
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.096);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  transform: translateY(-5px);
}
.brand-area .clients-logos img {
  max-width: 170px;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

/* Footer eleven css */
.footer-eleven {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: var(--white);
  position: relative;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .footer-eleven {
    padding-top: 30px;
    padding-bottom: 70px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .footer-eleven .footer-widget {
    margin-top: 40px;
  }
}
@media (max-width: 767px) {
  .footer-eleven .footer-widget {
    margin-top: 40px;
    text-align: center;
  }
}
.footer-eleven .footer-widget h5 {
  font-weight: 700;
  margin-bottom: 35px;
  color: var(--black);
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .footer-eleven .footer-widget h5 {
    margin-bottom: 25px;
  }
}
.footer-eleven .f-about {
  padding-right: 30px;
}
@media (max-width: 767px) {
  .footer-eleven .f-about {
    padding: 0;
  }
}
.footer-eleven .f-about p {
  color: var(--dark-3);
  margin-top: 20px;
}
.footer-eleven .f-about .copyright-text {
  color: var(--dark-3);
  margin-top: 40px;
}
.footer-eleven .f-about .copyright-text span {
  display: block;
}
@media (max-width: 767px) {
  .footer-eleven .f-about .copyright-text {
    margin-top: 20px;
  }
}
.footer-eleven .f-about .copyright-text a {
  color: var(--primary);
}
.footer-eleven .f-about .copyright-text a:hover {
  color: var(--primary-dark);
}
.footer-eleven .f-link li {
  display: block;
  margin-bottom: 12px;
}
.footer-eleven .f-link li:last-child {
  margin: 0;
}
.footer-eleven .f-link li a {
  color: var(--dark-3);
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}
.footer-eleven .f-link li a:hover {
  color: var(--primary);
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1400px) {
  .footer-eleven .newsletter {
    padding-left: 80px;
  }
}
.footer-eleven .newsletter p {
  color: var(--dark-3);
}
.footer-eleven .newsletter-form {
  margin-top: 30px;
  position: relative;
}
.footer-eleven .newsletter-form input {
  height: 55px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--gray-4);
  box-shadow: none;
  text-shadow: none;
  padding-left: 18px;
  padding-right: 65px;
  transition: all 0.4s ease;
}
.footer-eleven .newsletter-form input:focus {
  border-color: var(--primary);
}
.footer-eleven .newsletter-form .button {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
}
.footer-eleven .newsletter-form .sub-btn {
  height: 42px;
  width: 42px;
  border-radius: 6px;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  line-height: 42px;
  border: none;
  box-shadow: none;
  text-shadow: none;
  font-size: 17px;
  transition: all 0.4s ease;
}
.footer-eleven .newsletter-form .sub-btn:hover {
  color: var(--white);
  background-color: var(--primary-dark);
}

.study-img{
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.features-list .item{
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  align-items: center;
  gap:10px;
  padding:20px;
  border:1px solid #e1e1e1;
}
.features-list .item:first-child{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.features-list .item:last-child{
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.features-list .item:not(:last-child){
  border-bottom: 0;
}

.bg-lighter{
  background-color: var(--light-3);
}

.footer-widget{
  text-align: center;
}
.footer-widget .footer-menu{
  max-width: 350px;
  margin:0 auto;
}
.footer-widget .footer-menu li{
  padding:15px;
  border-radius:6px;
  margin-bottom: 10px;
  border:1px solid #e1e1e1;

}
.footer-widget .footer-menu li i{
  margin-right: 10px;
}

.footer-widget .footer-menu li a{
  color:var(--primary);
}
/*======================================
    NEW PAGE (free-trial landing) CSS
========================================*/

/* Navbar CTA button */
.navbar-nine .nav-cta {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-2);
}
.navbar-nine .nav-cta:hover,
.navbar-nine .nav-cta:focus {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}
@media (max-width: 991px) {
  .navbar-nine .navbar-btn {
    padding: 10px 16px 16px;
  }
}

/* FAQ accordion theming */
.faq-area .accordion-item {
  border: 1px solid var(--light-1);
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
}
.faq-area .accordion-button {
  font-family: inherit;
  font-weight: 600;
  color: var(--black);
  background-color: var(--white);
  padding: 20px 24px;
}
.faq-area .accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--light-3);
  box-shadow: none;
}
.faq-area .accordion-button:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(158, 46, 46, 0.15);
}
.faq-area .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239E2E2E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-area .accordion-body {
  color: var(--dark-3);
  padding: 20px 24px;
}

/* International Recognition placeholder tiles */
.clients-logos .single-image.placeholder {
  border: 2px dashed #cfcfcf;
  background-color: transparent;
  min-width: 170px;
  cursor: default;
  opacity: 1;
}
.clients-logos .single-image.placeholder span {
  color: var(--dark-3);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.clients-logos .single-image.placeholder:hover {
  box-shadow: none;
  transform: none;
}

/* Teacher and recognition mobile flow */
@media (max-width: 767px) {
  #teacher {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  #teacher .about-five-content .main-title {
    margin-top: 0;
  }

  #teacher .about-five-content .about-five-tab .tab-content {
    padding-top: 18px;
  }

  #teacher .about-image-five {
    margin-top: 32px;
    margin-bottom: 0;
  }

  #recognition {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  #recognition .section-title-five {
    margin-bottom: 28px;
    text-align: left;
  }

  #recognition .section-title-five h2 {
    font-size: 1.75rem;
    line-height: 2.15rem;
  }

  #recognition .section-title-five p {
    line-height: 1.65;
  }

  #recognition .clients-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 0;
  }

  #recognition .clients-logos .single-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 92px;
    margin: 0;
    padding: 12px 8px;
    line-height: 1.3;
  }

  #recognition .clients-logos .single-image.placeholder span {
    font-size: 0.875rem;
  }
}

/* Dot-grid decoration is an <img> (was inline <svg> in the old page),
   so it must not be scaled by the generic .about-image-five img rule */
.about-image-five img.shape {
  width: 106px;
  height: 134px;
}

/* Student letter */
.student-letter-section {
  padding: 100px 0;
  background-color: #f1f0ed;
  background-image: radial-gradient(rgba(87, 20, 20, 0.05) 0.8px, transparent 0.8px);
  background-size: 16px 16px;
}

.student-letter-section .section-title-five {
  margin-bottom: 36px;
}

.student-letter-stage {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 16px;
}

.student-letter-stage::before {
  content: "";
  position: absolute;
  inset: 24px 8px 8px 24px;
  background: #d8d4ce;
  box-shadow: 0 20px 50px rgba(45, 38, 32, 0.14);
  transform: rotate(-1.25deg);
}

.student-letter {
  position: relative;
  overflow: hidden;
  padding: 52px 72px 64px 106px;
  background-color: #fffefb;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 35px,
    rgba(91, 120, 143, 0.18) 36px,
    transparent 37px
  );
  border: 1px solid rgba(78, 66, 56, 0.12);
  box-shadow: 0 12px 35px rgba(45, 38, 32, 0.12);
  transform: rotate(0.2deg);
}

.student-letter::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 78px;
  width: 1px;
  background: rgba(158, 46, 46, 0.3);
  box-shadow: 5px 0 0 rgba(158, 46, 46, 0.1);
}

.student-letter::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 52px 52px 0;
  border-color: transparent #dedbd5 transparent transparent;
  filter: drop-shadow(-2px 3px 2px rgba(45, 38, 32, 0.1));
}

.student-letter-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(78, 66, 56, 0.18);
  font-family: var(--font-family);
}

.student-letter-recipient {
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.student-letter-stamp {
  display: inline-block;
  padding: 5px 10px;
  border: 2px solid rgba(158, 46, 46, 0.55);
  color: rgba(158, 46, 46, 0.8);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(3deg);
}

.student-letter-copy {
  position: relative;
  z-index: 1;
  font-family: "Kalam", cursive;
}

.student-letter-copy p {
  margin: 0 0 36px;
  color: #30343a;
  font-family: inherit;
  font-size: 1.34rem;
  line-height: 36px;
}

.student-letter-copy p:first-child {
  color: var(--primary-dark);
  font-size: 1.55rem;
  font-weight: 700;
}

.student-letter-copy p:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .student-letter-section {
    padding: 80px 0;
  }

  .student-letter {
    padding-right: 52px;
  }
}

@media (max-width: 767px) {
  .student-letter-section {
    padding: 60px 0;
  }

  .student-letter-stage {
    padding: 8px;
  }

  .student-letter-stage::before {
    inset: 16px 2px 2px 16px;
  }

  .student-letter {
    padding: 36px 24px 42px 48px;
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 30px,
      rgba(91, 120, 143, 0.18) 31px,
      transparent 32px
    );
  }

  .student-letter::before {
    left: 31px;
  }

  .student-letter::after {
    border-width: 0 36px 36px 0;
  }

  .student-letter-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .student-letter-copy p,
  .student-letter-copy p:first-child {
    margin-bottom: 32px;
    font-size: 1.18rem;
    line-height: 32px;
  }

  .student-letter-copy p:last-child {
    margin-bottom: 0;
  }
}

/* Cookie consent */
.cookie-consent[hidden],
.cookie-preferences[hidden] {
  display: none !important;
}

.cookie-consent,
.cookie-preferences-panel {
  --cookie-surface: #fffdfa;
  --cookie-ink: #383331;
  --cookie-muted: #6c6662;
  --cookie-border: #e3dcd7;
  --cookie-tint: #f7f3f0;
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cookie-surface);
  border: 1px solid var(--cookie-border);
  border-radius: 12px;
  box-shadow: 0 14px 42px rgba(45, 38, 34, 0.14);
}

.cookie-consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}

.cookie-consent-copy h2,
.cookie-preferences-header h2 {
  color: var(--cookie-ink, var(--black));
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.35;
}

.cookie-consent-copy > p:not(.cookie-consent-eyebrow) {
  max-width: 680px;
  margin-top: 5px;
  color: var(--cookie-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.cookie-consent-eyebrow {
  margin-bottom: 3px;
  color: var(--cookie-muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.cookie-consent-copy a {
  margin-top: 7px;
  color: var(--cookie-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-copy a:hover,
.cookie-consent-copy a:focus-visible {
  color: var(--cookie-ink);
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  gap: 8px;
  min-width: 300px;
}

.cookie-button,
.cookie-manage-button,
.cookie-close-button,
.cookie-preferences-backdrop,
.cookie-settings-link {
  font-family: var(--font-family);
}

.cookie-button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--cookie-border, #ddd5d0);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cookie-button:hover {
  transform: translateY(-1px);
}

.cookie-button-primary,
.cookie-button-secondary {
  background: var(--cookie-tint, #f7f3f0);
  color: var(--cookie-ink, #383331);
}

.cookie-button-primary:hover,
.cookie-button-primary:focus-visible,
.cookie-button-secondary:hover,
.cookie-button-secondary:focus-visible {
  background: #eee8e4;
  border-color: #cfc4bd;
  color: var(--cookie-ink, #383331);
}

.cookie-preferences-footer .cookie-button-primary {
  background: #625956;
  border-color: #625956;
  color: var(--white);
}

.cookie-preferences-footer .cookie-button-primary:hover,
.cookie-preferences-footer .cookie-button-primary:focus-visible {
  background: #514a47;
  border-color: #514a47;
  color: var(--white);
}

.cookie-button:focus-visible,
.cookie-manage-button:focus-visible,
.cookie-close-button:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 3px solid rgba(114, 86, 80, 0.24);
  outline-offset: 3px;
}

.cookie-manage-button {
  grid-column: 1 / -1;
  min-height: 34px;
  padding: 4px 8px;
  background: transparent;
  border: 0;
  color: var(--cookie-muted, #6c6662);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-manage-button:hover {
  color: var(--cookie-ink, #383331);
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cookie-preferences-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(38, 34, 32, 0.5);
  border: 0;
  cursor: default;
}

.cookie-preferences-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px;
  background: #fffefb;
  border: 1px solid rgba(87, 20, 20, 0.14);
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(20, 12, 12, 0.38);
  outline: none;
}

.cookie-preferences-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cookie-close-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--gray-4);
  border-radius: 50%;
  color: var(--dark-2);
  font-size: 20px;
}

.cookie-close-button:hover {
  background: var(--light-2);
  color: var(--cookie-ink);
}

.cookie-preferences-intro {
  margin-top: 16px;
  color: var(--dark-2);
  font-size: 1rem;
  line-height: 1.6;
}

.cookie-preference-list {
  margin-top: 22px;
  border-top: 1px solid var(--gray-4);
}

.cookie-preference-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 19px 0;
  border-bottom: 1px solid var(--gray-4);
}

label.cookie-preference-row {
  cursor: pointer;
}

.cookie-preference-row h3,
.cookie-preference-row strong {
  display: block;
  color: var(--black);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.4;
}

.cookie-preference-row p,
.cookie-preference-row small {
  display: block;
  margin-top: 4px;
  color: var(--dark-3);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cookie-always-on {
  padding: 6px 10px;
  background: var(--cookie-tint);
  border-radius: 999px;
  color: var(--cookie-muted);
  font-size: 0.875rem;
  font-weight: 750;
  white-space: nowrap;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.cookie-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-toggle-track {
  position: relative;
  display: block;
  width: 52px;
  height: 30px;
  background: var(--gray-3);
  border: 2px solid transparent;
  border-radius: 999px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(30, 24, 24, 0.25);
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle-track {
  background: #625956;
}

.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(22px);
}

.cookie-toggle input:focus-visible + .cookie-toggle-track {
  box-shadow: 0 0 0 4px rgba(114, 86, 80, 0.22);
}

.cookie-preferences-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.cookie-preferences-policy {
  margin-top: 16px;
  color: var(--dark-3);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cookie-preferences-policy a {
  color: var(--cookie-muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-preferences-policy a:hover,
.cookie-preferences-policy a:focus-visible {
  color: var(--cookie-ink);
}

.cookie-settings-link {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--primary);
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-settings-link:hover {
  color: var(--primary-dark);
}

.cookie-status:not(:empty) {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 10001;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  background: var(--dark-1);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow-5);
  transform: translateX(-50%);
}

.cookie-preferences-open {
  overflow: hidden;
}

.cookie-banner-visible .scroll-top {
  display: none !important;
}

@media (max-width: 991px) {
  .cookie-consent-inner {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    border-radius: 12px;
  }

  .cookie-consent-inner {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 17px;
  }

  .cookie-consent-copy h2 {
    font-size: 1.125rem;
  }

  .cookie-consent-copy > p:not(.cookie-consent-eyebrow) {
    font-size: 1rem;
    line-height: 1.5;
  }

  .cookie-consent-actions {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-button {
    min-height: 48px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .cookie-preferences {
    align-items: end;
    padding: 0;
  }

  .cookie-preferences-panel {
    width: 100%;
    max-height: 90vh;
    padding: 22px 20px max(22px, env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
  }

  .cookie-preference-row {
    gap: 12px;
    padding: 17px 0;
  }

  .cookie-preference-row p,
  .cookie-preference-row small {
    font-size: 0.9375rem;
  }
}

@media (max-width: 420px) {
  .cookie-consent-actions,
  .cookie-preferences-footer {
    grid-template-columns: 1fr;
  }

  .cookie-manage-button {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-button,
  .cookie-toggle-track,
  .cookie-toggle-track::after {
    transition: none;
  }
}
