/*
Theme Name: Prozubi-025
Text Domain: prozubi
Version: 0.1
*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+SC:ital,wght@0,100..900;1,100..900&display=swap');


.grecaptcha-badge {
  visibility: hidden;
}

html,
body {
  height: 100%;
  overflow: auto;
}

html {
  overflow: hidden;
}

/*Сброс и нормализация стилей*/
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  vertical-align: baseline;
  font-family: "Rubik", sans-serif;
  font-style: inherit;
  font-size: 100%;
  line-height: 150%;
  list-style-type: none;
  text-decoration: none;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

strong, b {
  font-weight: 500;
}

img {
  display: block;
}

a, button {
  cursor: pointer !important;
  color: #000;
  display: inline-block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

a:hover, a:active {
  cursor: pointer !important;
  text-decoration: none;
}

/*Переменные*/
:root {
  /*Сетка*/
  --widthContent: 1160px;
  /*Отступы*/
  --padding-vertical: 70px;
  /*Цвета*/
  --c-modal: #2C3237;
  --c-primary: #A28334;
  --c-primary-light: #C7A13D;
  --c-primary-light-2: #BFA256;
  --c-gray-dark: #7E7E7E;
  --c-gray: #C8C8C8;
  --c-gray-light: #F5F5F5;
  --c-black: #191919;
  --c-black-2: #232427;
  --c-white: #fff;
  /*Эффекты*/
  --transition: 500ms;
  --transitionFast: 250ms;
}

/*Универсальные классы*/
.container {
  max-width: var(--widthContent) !important;
  width: calc( 100vw - 80px) !important;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 800px) {
  .container {
    width: 100vw !important;
  }
}

.title-white {
  font-weight: bold;
  font-size: 56px;
  line-height: 66px;
  color: var(--c-white);
}

@media (max-width: 800px) {
  .title-white {
    font-size: 32px;
    line-height: 1.25;
  }
}

@media (max-width: 600px) {
  .title-white {
    font-size: 26px;
    line-height: 35px;
  }
}

.p-white {
  font-size: 16px;
  line-height: 1.87em;
  color: var(--c-white);
  mix-blend-mode: normal;
  opacity: 0.7;
}

.title-dark {
  font-size: 48px;
  line-height: normal;
  margin-bottom: 20px;
}

.title-welcome {
  font-size: 36px;
  color: var(--c-primary);
}

.title-dark-p {
  font-size: 18px;
  margin-bottom: calc( -1em / 3);
  color: var(--c-gray-dark);
}

@media (max-width: 800px) {
  .title-dark-p {
    font-size: 18px;
    line-height: 21px;
    margin-top: 0.5em;
  }
}

@media (max-width: 800px) {
  .title-dark {
    font-size: 28px;
    line-height: 35px;
  }
}

@media (max-width: 800px) {
  .title-welcome {
    font-size: 26px;
    line-height: 35px;
  }
}

.bg-white {
  background: #fff !important;
}

.button-pair .button-secondary{
  margin-left: 20px;
}

@media (max-width: 800px) {
  .button-pair .button-secondary{
    margin-top: 20px;
  }
}

.button-primary, .button-secondary {
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  padding: 20px 35px;
  border-radius: 50px !important;
}

.button-primary {
  color: var(--c-white);
  background: var(--c-primary-light);
  border: 1px solid var(--c-primary-light);
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  /* -webkit-appearance: none; */
}

.button-primary:hover {
  cursor: pointer;
  background: var(--c-primary);
  border: 1px solid var(--c-primary);
}

.button-secondary {
  color: var(--c-primary);
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid var(--c-primary);
  -webkit-transition: var(--transitionFast);
  -o-transition: var(--transitionFast);
  transition: var(--transitionFast);
}

.button-secondary:hover {
  cursor: pointer;
  color: var(--c-white);
  background-color: var(--c-primary-light);
  border: 1px solid var(--c-primary-light);
}

input, textarea {
  font-size: 14px;
  color: #979797;
  padding: 20px 35px;
  border-radius: 33px;
}

/*Для валидации формы*/
[required]:invalid:not(:placeholder-shown) {
  -webkit-box-shadow: inset 0 0 0 1px red;
  box-shadow: inset 0 0 0 1px red;
}

[required]:valid:not(:placeholder-shown) {
  -webkit-box-shadow: inset 0 0 0 1px green;
  box-shadow: inset 0 0 0 1px green;
}

/* Slider */

.footer {
  background-color: var(--c-black);
  padding: 58px 0;
  z-index: 20;
}

.footer-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .footer-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  
  .footer-nav {
    order: 1;
  }
  
  .footer-left {
    order: 2;
  }
}

@media (max-width: 800px) {
  .footer-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

@media (max-width: 890px) {
  .footer-logo {
    width: calc( 180px * 2 / 3);
    height: calc( 60px * 2 / 3);
  }
}

@media (max-width: 800px) {
  .footer-logo {
    width: 164px;
    height: 55px;
    margin-bottom: 45px;
  }
}

.footer-copyright {
  font-family: 'Rubik', sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 16px;
  color: var(--c-white);
  margin-right: 50px;
  mix-blend-mode: normal;
  opacity: 0.7;
  margin-top: 32px;
}

.footer-copyright--footer {
  display: none;
}

@media (max-width: 800px) {
  .footer-copyright {
    font-size: 16px;
    line-height: 1.6;
  }

  .footer-copyright--footer {
    display: block;
    max-width: none !important;
    margin-top: 60px;
  }
}

@media (max-width: 800px) {
  .footer-copyright--logo {
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
}

@media (max-width: 1050px) {
  .footer-copyright {
    margin-right: 0;
    /* max-width: 170px; */
  }
}

@media (max-width: 800px) {
  .footer-copyright {
    text-align: center;
  }
}

.footer-logo-img {
  width: 180px;
  height: 60px;
}

@media (max-width: 890px) {
  .footer-logo-img {
    width: 100%;
    height: 100%;
  }
}

.footer-info-link {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.footer-info-link-item {
  font-size: 14px;
  line-height: 25px;
  color: var(--c-white);
}

@media (max-width: 890px) {
  .footer-info-link-item {
    font-size: 18px;
    padding-bottom: 10px;
    text-align: center;
  }
}

@media (max-width: 890px) {
  .footer-info-link {
    margin-top: 0;
    margin-bottom: 45px;
    padding: 0 12px;
  }
}

a.footer-info-link-item:hover {
  color: var(--c-primary);
  text-decoration: none;
}

.footer-info-li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (max-width: 800px) {
  .footer-info-li {
    margin-left: 0 !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
  }
}

.footer-info-li:first-child {
  margin-bottom: 10px;
}



@media (max-width: 800px) {
  .footer-info-li:last-child {
    margin-top: 50px;
  }
}

.footer-info-li-img {
  position: absolute;
}

@media (max-width: 800px) {
  .footer-info-li-img {
    position: relative;
  }
}

.footer-info-li-a {
  text-align: right;
  font-size: 14px;
  line-height: 25px;
  color: var(--c-white);
  width: 100%;
  padding-left: 28px;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

a.footer-info-li-a:hover {
  color: var(--c-primary);
  text-decoration: none;
}

.footer-nav {
  -webkit-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  transform: translateY(-20px);
}

@media (max-width: 800px) {
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0;
    margin-bottom: 30px;
  }
}

.footer-nav-a {
  font-family: 'Rubik', sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  font-style: normal;
  color: var(--c-white);
  margin-right: 30px;
  padding: 20px 0;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.footer-nav-a:hover,
.footer-nav-a.current-menu-item,
.footer-nav-a.current-menu-parent {
  color: var(--c-primary);
  text-decoration: none;
}

.footer-nav-a:last-child {
  margin-right: 0;
}

@media (max-width: 1050px) {
  .footer-nav-a {
    margin-right: 10px;
  }
}

@media (max-width: 800px) {
  .footer-nav-a {
    margin-right: 0;
    padding: 10px 30px;
  }
  .footer-nav-a:nth-child(2n+1) {
    text-align: right;
  }
}

@media (max-width: 800px) {
  .footer-inst {
    margin-left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}



.header {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  background: var(--c-white);
  z-index: 200;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}


.header--scroll {
  height: 60px;
}

body.admin-bar .header {
  top: 46px;
}

@media (min-width: 800px) {
  body.admin-bar .header {
    top: 32px;
  }

  .header-container {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-width: var(--widthContent);
    width: max-content;
    max-width: calc(100vw - 80px);
  }
}

@media (max-width: 800px) {
  .header {
    background-color: var(--c-black);
    height: 70px;
  }

  .header > .header-container {
    width: calc( 100vw - 30px) !important;
  }

  .header-container {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: calc( 100vw - 30px) !important;
  }
}


@media (max-width: 810px) {
  .header-logo {
    width: calc( 180px * 2 / 3);
    height: calc( 60px * 2 / 3);
  }
}

.header-logo-img {
  width: 180px;
  height: 60px;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.header--scroll .header-logo-img {
  width: calc( 180px * 2 / 3);
  height: calc( 60px * 2 / 3);
}

@media (max-width: 810px) {
  .header-logo-img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 800px) {
  .header-logo-img {
    display: none;
  }
}

.header-logo-img--mobile {
  display: none;
  width: 100%;
  height: 100%;
}

@media (max-width: 800px) {
  .header-logo-img--mobile {
    display: block;
  }
}

.header-info, .header-nav {
  -webkit-transition: 0ms;
  -o-transition: 0ms;
  transition: 0ms;
}

.header--scroll .header-info, .header--scroll .header-nav {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 800px) {
  .header-info {
    display: none;
  }
}

.header-info-li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-info-li-img {
  position: absolute;
}

.header-info-li-a {
  width: 100%;
  padding-left: 28px;
  font-size: 14px;
  line-height: 25px;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

@media (max-width: 800px) {
  .header-info-li-a {
    color: var(--c-white);
    font-size: 16px;
    font-weight: 300;
  }
}

a.header-info-li-a:hover {
  color: var(--c-primary);
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  /* min-width: 0; Allow flex item to shrink */
  padding: 0 24px;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .header-nav {
    display: none;
  }
}

.header-nav-a {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  margin-right: 50px;
  padding: 20px 0;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.header-nav-a:last-child {
  margin-right: 0;
}

.header-nav-a:hover,
.header-nav-a.current-menu-item,
.header-nav-a.current-menu-parent {
  color: var(--c-primary);
  text-decoration: none;
}

@media (max-width: 1020px) {
  .header-nav-a {
    margin-right: 10px;
  }
}

@media (max-width: 800px) {
  .header-nav-a {
    color: var(--c-white);
  }
}

.header-tel {
  height: 45px;
  padding: 24px 24px;
  border-radius: 50%;
  background: var(--c-primary-light);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: width var(--transition), height var(--transition), padding var(--transition), margin var(--transition);
  transition: width var(--transition), height var(--transition), padding var(--transition), margin var(--transition);
  overflow: hidden;
  cursor: pointer;
  color: var(--c-white);
  background: var(--c-primary-light);
  border: 1px solid var(--c-primary-light);
}

@media (max-width: 800px) {
  .header-tel {
    width: 45px !important;
    height: 45px !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    transition: none !important;
  }
  
  .header-tel-text {
    display: none !important;
    transition: none !important;
  }
  
  .header-tel-img {
    margin: 0 !important;
    transition: none !important;
  }
}

@media (max-width: 800px) {
  .header-tel:hover .header-tel-text {
    display: none;
  }
}

@media (max-width: 800px) {
  .header-tel:hover {
    width: 45px;
    margin-left: 0;
  }
}

.header-tel-img {
  min-width: 17px;
  max-width: 17px;
  min-height: 16px;
  background-image: url(res/img/header-tel-img.svg);
  background-repeat: no-repeat;
}

.header-tel-text {
  color: var(--c-white);
  font-size: 16px;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 50px;
  transition: width var(--transition), margin var(--transition);
  opacity: 1;
  width: auto;
  margin-left: 24px;
  margin-right: 0;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
}

.header--scroll .header-tel-text {
  opacity: 0;
  width: 0;
  margin-left: 0;
}

.header--scroll .header-tel {
  width: 45px;
  padding: 0;
  justify-content: center;
}

.header--scroll .header-tel-img {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.header-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.header-burger {
  display: none;
  border-radius: 50%;
  background: var(--c-primary-light);
  width: 45px;
  height: 45px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  margin-left: 20px;
}

.header-burger-span {
  background-color: var(--c-white);
  display: block;
  min-height: 2px;
  border-radius: 0.5px;
  width: 16px;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.header-burger--open .header-burger-span:nth-child(1) {
  -webkit-transform: translate(0px, 5px) rotate(45deg);
  -ms-transform: translate(0px, 5px) rotate(45deg);
  transform: translate(0px, 5px) rotate(45deg);
}

.header-burger--open .header-burger-span:nth-child(2) {
  -webkit-transform: translate(0px, 0px) rotate(45deg);
  -ms-transform: translate(0px, 0px) rotate(45deg);
  transform: translate(0px, 0px) rotate(45deg);
}

.header-burger--open .header-burger-span:nth-child(3) {
  -webkit-transform: translate(0px, -5px) rotate(-45deg);
  -ms-transform: translate(0px, -5px) rotate(-45deg);
  transform: translate(0px, -5px) rotate(-45deg);
}

@media (max-width: 800px) {
  .header-burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.header-mobile {
  position: fixed;
  right: 0;
  width: 270px;
  height: 100vh;
  background: #000000;
  mix-blend-mode: normal;
  opacity: 0.9;
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  display: none;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

@media (max-width: 800px) {
  .header-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.header-mobile-wrapper {
  height: 100%;
  padding-top: 20px;
}

.header-mobile .header-info,
.header-mobile .header-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-left: 30px;
  opacity: 1 !important;
  visibility: visible !important;
}

.header-mobile .header-info {
  margin-bottom: 40px;
  margin-top: 35px;
}

.header-mobile .header-info-li:first-child {
  margin-bottom: 15px;
}

.header-mobile .header-info-li:first-child .header-info-li-a {
  font-weight: 300;
}

.header-mobile .header-info-li-img {
  -webkit-filter: invert(1);
  filter: invert(1);
}

.header-mobile .header-nav-a {
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.8;
}

.header-mobile--open {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

.header-background {
  z-index: -910;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  position: absolute;
}

.header-background--open {
  left: calc( -100vw + 270px);
}

.info {
  background-color: var(--c-white);
  padding: 50px 0;
}

@media (min-width: 800px) {
  .info {
    padding: var(--padding-vertical) 0;
  }
}

.info > .container {
  display: grid;
  grid-gap: 7vw;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 800px) {
  .info > .container {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 801px) {
  .info--revert > .container > *:first-child {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .info--revert > .container > *:last-child {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
}

.info-content {
  width: 45%;
  margin: 0 auto;
}

.has-large-font-size {
  font-size: 18px !important;
}

.info-content a{
  text-decoration: underline;
  font-weight: 600;
}

.info-content a:hover {
  color: #A28334;
}

.info-img {
  width: 100%;
}

.info-title {
  font-size: 32px;
  line-height: 38px;
  font-weight: normal;
  margin-bottom: 30px;
}

@media (max-width: 800px) {

  .info-content {
    width: 100%;
    padding: 40px 40px 60px 40px;
  }

  .info-title {
    font-size: 28px;
    line-height: 32px;
  }
}

.info-subtitle {
  font-weight: bold;
  font-size: 16px;
  line-height: 19px;
  text-transform: uppercase;
  color: var(--c-primary);
  margin: -15px 0 55px 0;
}

.margin-top {
  margin-top: 40px;
}

.info-text p {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 10px;
}

.info-li {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 10px;
  list-style-type: disc;
  margin-left: 20px;
}

@media (max-width: 800px) {
  .info {
    padding: 50px 0 var(--padding-vertical) 0;
  }

  .info-text p {
    font-size: 20px;
    line-height: 1.8;
  }

  .info-li {
    font-size: 20px;
    line-height: 1.8;
  }
}

.main {
  margin-top: 45px;
  background-color: var(--c-white);
}

.modal {
  padding: 50px 55px 55px 55px;
  background-color: var(--c-black);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 12px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
}

.modal > * {
  width: 290px;
  margin-bottom: 20px;
}

.modal > *:last-child {
  margin: 0;
}

.modal > input, .modal > button {
  font-size: 12px;
  padding: 20px 35px;
  width: 100%;
  border-radius: 12px;
  box-sizing: border-box;
}

.modal-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -10000;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}


.modal-container--active {
  z-index: 10000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
}

.modal-background {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: var(--c-black);
  opacity: 0.5;
}

.modal-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  color: var(--c-white);
  margin-bottom: 40px;
}

.modal-title--mob {
  display: none;
}

@media (max-width: 800px) {
  .modal-title {
    margin-bottom: 10vh;
  }
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-block;
  background-image: url(res/img/modal-close.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 13px;
  height: 13px;
  padding: 12px;
  margin: 0;
  cursor: pointer;
  z-index: 10000;
}

.modal-success {
  z-index: -10;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 12px;
  background: var(--c-primary-light-2);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: 500ms;
  -o-transition: 500ms;
  transition: 500ms;
}

.modal-success--active {
  z-index: 10;
}

.modal-success-title {
  font-weight: bold;
  font-size: 56px;
  line-height: 66px;
  color: var(--c-white);
}

.modal-success-p {
  font-size: 16px;
  line-height: 1.87em;
  color: var(--c-white);
  mix-blend-mode: normal;
}

.modal-success-close {
  display: none;
  font-weight: bold;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  text-transform: uppercase;
  color: #FFFFFF;
  padding: 3em;
  cursor: pointer;
  -webkit-transform: translateY(20vh);
  -ms-transform: translateY(20vh);
  transform: translateY(20vh);
}

@media (max-width: 800px) {
  .modal-success-close {
    display: block;
  }
}

@media (max-width: 800px) {
  .modal {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 12px;
    width: 100vw;
    height: 100vh;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

.modal-container--active-mob {
  z-index: 10000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
}

.modal-title--none {
  display: none;
}

.modal-title--none--mob {
  display: block;
}

.nav-site {
  width: 100%;
  background-color: var(--c-white);
}

.nav-site_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-around;
  /* padding: 160px 0; */
}

@media (max-width: 1000px) {
  .nav-site_container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /* padding: 100px 0; */
  }
}

.nav-site-a {
  font-family: Rubik, sans-serif;
  font-size: 36px;
  line-height: 34px;
  padding: 160px 100px;
  color: var(--c-gray);
  text-transform: capitalize;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.nav-site-a:hover {
  text-decoration: none !important;
  color: var(--c-black);
}

@media (max-width: 1300px) and (min-width: 801px) {
  .nav-site-a {
    padding: 160px 0px;
    font-size: 32px;
  }
}

@media (max-width: 1000px) {
  .nav-site-a {
    font-size: 32px;
    padding: 50px 0;
  }
  .nav-site-a:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 750px) {
  .nav-site-a {
    max-width: var(--padding-vertical) 0;
  }
}

.next {
  padding-bottom: var(--padding-vertical);
  background-color: var(--c-white);
}

.next-title {
  font-weight: normal;
  font-size: 32px;
  line-height: 38px;
  margin-bottom: 30px;
}

@media (max-width: 800px) {
  .next-title {
    font-size: 27px;
    line-height: 28px;
  }
}

.next-link:hover {
  text-decoration: none;
}

.next-h4 {
  width: calc( 100% + 40px);
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  background-image: url(res/img/next.svg);
  background-repeat: no-repeat;
  background-position: right;
  margin-bottom: 5px;
}

.next-text {
  font-size: 18px;
  line-height: 21px;
  color: var(--c-gray-dark);
}

:root {
  --padding-link: 20px;
}

.pagination {
  margin-top: -10px;
  padding-right: 0;
  padding-bottom: calc( var(--padding-vertical) - var(--padding-link));
  padding-left: 0;
  background-color: var(--c-white);
}

.pagination-nav {
  width: 100%;
  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;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.pagination-a {
  font-family: Rubik, sans-serif;
  font-weight: bold;
  font-size: 28px;
  line-height: 27px;
  color: var(--c-gray);
  padding: var(--padding-link);
  margin: 0 3px;
}

.pagination-a:hover {
  cursor: pointer;
  text-decoration: none;
}

.pagination-a--active {
  color: var(--c-black);
}

.pagination-arrow {
  padding: var(--padding-link);
  margin: 0 3px;
}

.pagination-arrow:first-child, .pagination-arrow:last-child {
  background-image: url("res/img/pagination-a-arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  -webkit-filter: opacity(0.25);
  filter: opacity(0.25);
}

.pagination-arrow:first-child {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.pagination-arrow--active {
  -webkit-filter: none !important;
  filter: none !important;
}

@media (max-width: 800px) {
  .pagination {
    display: none;
  }
}


.portfolio-section {
  padding-bottom: 0 !important;
}

.portfolio {
  background-color: var(--c-white);
  margin-bottom: 30px;
}

.portfolio-item {
  padding: var(--padding-vertical) 0;
}

.portfolio-item:nth-child(2n) {
  background-color: var(--c-gray-light);
}

@media (max-width: 800px) {
  .portfolio-item:last-child {
    padding-bottom: 40px;
  }
}

.portfolio-item-title {
  font-weight: normal;
  font-size: 32px;
  line-height: 38px;
  color: var(--c-black);
}

@media (max-width: 800px) {
  .portfolio-item-title {
    font-size: 27px;
    line-height: 32px;
  }
}

/* Services Section */
.services {
  background-image: url(res/img/CTA.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 100px 0;
  z-index: 20;
}

@media (max-width: 800px) {
  .services {
    background-attachment: initial;
  }
}

.services .title-white {
  width: 683px;
  margin-bottom: 50px;
}

@media (max-width: 600px) {
  .services .title-white {
    font-size: 32px;
    line-height: 35px;
  }
}

.services .p-white {
  width: 460px;
}

.services .p-white + .p-white {
  margin-top: 35px;
}

.services-form {
  margin-top: 60px;
}

@media (max-width: 910px) {
  .services-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 500px;
  }
}

.services-form [type='text'] + [type='tel'] {
  margin-left: 25px;
  margin-right: 60px;
}

@media (max-width: 910px) {
  .services-form [type='text'] + [type='tel'] {
    margin: 20px 0;
  }
}

@media (max-width: 820px) {
  .services > .container > * {
    width: 500px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.smile {
  position: relative;
  background-image: url(res/img/slider-06-13-2023.jpg);
  background-position: center 3vmax;
  /* background-size: cover; */
  background-repeat: no-repeat;
  background-attachment: fixed;
}



@media (max-width: 800px) {
  .smile {
    background-image: url(res/img/slider-mobile.jpg);
    background-attachment: initial;
    background-size: cover;
    background-position: center 0;
  }
}

@media (max-width: 600px) {
  .smile:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
  }
}

.smile > .container {
  padding-bottom: 150px;
  position: relative;
}

@media (max-width: 600px) {
  .smile > .container {
    padding-bottom: var(--padding-vertical);
  }
}

.smile-img-0 {
  position: absolute;
  max-height: 100%;
}

.smile-text-top,
.smile-text-bottom,
.smile-title {
  max-width: 50%;
  /* text-shadow: 1px 1px 2px black; */
}

@media (max-width: 1000px) {
  .smile-text-top,
  .smile-text-bottom,
  .smile-title {
    max-width: 500px;
    font-size: 16px;
    color: #FFFFFF;
    /* text-shadow: 1px 1px 2px black; */
  }
}

@media (max-width: 600px) {
  .smile-text-top,
  .smile-text-bottom,
  .smile-title {
    max-width: 100%;
    font-size: 16px;
  }
}

.smile-text-top,
.smile-text-bottom {
  font-weight: normal;
  font-size: 22px;
  line-height: 1,6em;
  /* color: var(--c-white); */
  mix-blend-mode: normal;
  opacity: 0,7;
}

.smile-text-top {
  padding-top: 125px;
}

@media (max-width: 600px) {
  .smile-text-top {
    /* font-size: 13px; */
    /* padding-top: calc( var(--padding-vertical) + 30px); */
    padding-top: 50px;
    line-height: 28px;
  }
}

.smile-text-bottom {
  margin: 3em 0;
}

@media (max-width: 600px) {
  .smile-text-bottom {
    font-size: 16px;
    margin: 2em 0 3em 0;
  }
}

.smile-title {
  font-weight: bold;
  font-size: 56px;
  line-height: 1.2em;
  /* color: var(--c-white); */
  margin-top: 1.4em;
}

@media (max-width: 600px) {
  .smile-title {
    padding-top: 60px;
    font-size: 36px;
  }
}

@media (max-width: 450px) {
  .smile .button-primary {
    width: 100%;
  }
}



.service-single li {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 10px;
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.service-single li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--c-primary);
  border-radius: 50%;
}

.page-header-image {
  width: 550px;
  height: 700px;
  background-size: contain;
  background-repeat: no-repeat;
}

.page-contact-form {
  padding: 40px;
}

@media (min-width: 800px) {
  .page-contact-form {
    padding-right: calc((100vw - 1160px)/2);
    margin-right: calc(-1 * (100vw - 1160px)/2);
  }
}

@media (min-width: 800px) {
  .page-contact {
    margin-top: 40px;
    display: flex;
    width: 1160px;
    margin-left: auto;
    margin-right: auto;
  }
}

.page-contact-content {
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 50px;
  margin-top: 50px;
}

@media (min-width: 800px) {
  .page-contact-content {
    margin-left: 0;
    width: 520px;
  }
}



.contact-form-input {
  width: 100%;
}

.contact-form-submit {
  width: 100%;
}

.wpcf7-form-control-wrap {
  display: block;
}

.modal .wpcf7-response-output {
  color: white;
}

/* Contact Form 7 styling for modal */
.modal .wpcf7-form {
  width: 100%;
}

.modal .wpcf7-form input[type="text"],
.modal .wpcf7-form input[type="tel"],
.modal .wpcf7-form input[type="email"],
.modal .wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.modal .wpcf7-form input[type="submit"] {
  width: 100%;
  box-sizing: border-box;
}

.parallax-form .wpcf7 {
  width: 100%;
}





.services .wpcf7-response-output {
  color: white;
}



.wpcf7-list-item {
  margin-top: 10px !important;
  margin-left: 0 !important;
  margin-right: 15px !important;
}

.wpcf7-list-item-label::before, .wpcf7-list-item-label::after {
  padding-left: 5px !important;
}

.header--scroll .header-tel-text {
  width: 0;
  margin-left: 0;
  margin-right: 0;
}

.header--scroll .header-tel {
  align-items: center;
  justify-content: center;
}

/* Hero Banner Section */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  text-align: center;
  padding: 0 40px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-white);
  margin-bottom: 20px;
  opacity: 0.9;
  font-weight: 400;
}

.hero-title {
  font-size: 56px;
  line-height: 1.2;
  color: var(--c-white);
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animated Subtitles */
.hero-subtitles {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.subtitle-bubble {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 15px;
  padding: 12px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.subtitle-text {
  color: var(--c-primary);
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
  display: block;
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: wordAppear 12s ease-out infinite;
}

/* Word-by-word animation delays */
.subtitle-1 .word:nth-child(1) { animation-delay: 0.2s; }
.subtitle-1 .word:nth-child(2) { animation-delay: 0.4s; }
.subtitle-1 .word:nth-child(3) { animation-delay: 0.6s; }
.subtitle-1 .word:nth-child(4) { animation-delay: 0.8s; }
.subtitle-1 .word:nth-child(5) { animation-delay: 1.0s; }
.subtitle-1 .word:nth-child(6) { animation-delay: 1.2s; }
.subtitle-1 .word:nth-child(7) { animation-delay: 1.4s; }

.subtitle-2 .word:nth-child(1) { animation-delay: 2.6s; }
.subtitle-2 .word:nth-child(2) { animation-delay: 2.8s; }

.subtitle-3 .word:nth-child(1) { animation-delay: 5.0s; }
.subtitle-3 .word:nth-child(2) { animation-delay: 5.2s; }
.subtitle-3 .word:nth-child(3) { animation-delay: 5.4s; }
.subtitle-3 .word:nth-child(4) { animation-delay: 5.6s; }
.subtitle-3 .word:nth-child(5) { animation-delay: 5.8s; }
.subtitle-3 .word:nth-child(6) { animation-delay: 6.0s; }

.subtitle-4 .word:nth-child(1) { animation-delay: 7.4s; }
.subtitle-4 .word:nth-child(2) { animation-delay: 7.6s; }
.subtitle-4 .word:nth-child(3) { animation-delay: 7.8s; }
.subtitle-4 .word:nth-child(4) { animation-delay: 8.0s; }

@keyframes wordAppear {
  0%, 100% {
    opacity: 0;
    transform: translateY(10px);
  }
  2%, 98% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtitle bubble animation */
.subtitle-1 {
  animation: subtitleAppear 12s infinite;
  animation-delay: 0s;
}

.subtitle-2 {
  animation: subtitleAppear 12s infinite;
  animation-delay: 2.4s;
}

.subtitle-3 {
  animation: subtitleAppear 12s infinite;
  animation-delay: 4.8s;
}

.subtitle-4 {
  animation: subtitleAppear 12s infinite;
  animation-delay: 7.2s;
}

@keyframes subtitleAppear {
  0%, 100% {
    opacity: 0;
    transform: translateY(20px);
  }
  5%, 20% {
    opacity: 1;
    transform: translateY(0);
  }
  25% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Responsive adjustments for subtitles */
@media (max-width: 800px) {
  .hero-subtitles {
    bottom: 180px;
    height: 70px;
  }
  
  .subtitle-text {
    font-size: 24px;
    max-width: 560px;
  }
  
  .subtitle-bubble {
    padding: 10px 18px;
  }
}

@media (max-width: 600px) {
  .hero-subtitles {
    bottom: 140px;
    height: 60px;
  }
  
  .subtitle-text {
    font-size: 28px;
    white-space: normal;
    max-width: 280px;
  }
  
  .subtitle-bubble {
    padding: 8px 15px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hero-subtitles {
    bottom: 120px;
  }
  
  .subtitle-text {
    font-size: 24px;
    max-width: 250px;
  }
}

.hero-cta {
  font-size: 14px;
  padding: 20px 40px;
  background: var(--c-primary-light);
  border: 2px solid var(--c-primary-light);
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(162, 131, 52, 0.3);
}

/* Responsive styles for hero banner */
@media (max-width: 800px) {
  .hero-title {
    font-size: 44px;
    line-height: 1.3;
  }
  
  .hero-description {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
  }
}

@media (max-width: 600px) {
  .hero-subtitle {
    font-size: 21px;
    margin-bottom: 15px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.4;
  }
  
  .hero-description {
    font-size: 20px;
  margin-bottom: 25px;
}

  .hero-cta {
    padding: 18px 30px;
    font-size: 12px;
  }
}


/* Universal Split Section */
.split-section {
  position: relative;

}
.split-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 544px;
  height: 100%;
  background: var(--c-black);
  z-index: 0;
  pointer-events: none;
}
.split-section-wrapper {
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
@media (max-width: 1200px) {
  .split-section::before {
    width: 600px;
  }
}
@media (max-width: 800px) {
  .split-section::before {
    width: 90%;
    height: 300px;
  }
  .split-section-wrapper {
    flex-direction: column;
  }
}


.split-section-content {
  flex: 1;
  padding: 60px 0 0 0;
  background-color: #ffffff;
}

.split-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
  max-width: 900px;
  margin: 0;
}

.advantage-item {
  text-align: left;
  padding: 36px 50px;
  transition: background 0.3s;
}
.advantage-item:hover {
  background: rgba(199, 161, 61, 0.9);
}

.advantage-icon {
  /* margin-bottom: 20px; */
}

.advantage-icon img {
  max-width: 80px;
  height: auto;
}


.advantage-heading {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 500;
  font-size: 48px;
  color: var(--c-black);
  margin: 0 0 10px 0;
  line-height: 1.1;
}

.advantage-subheading {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--c-black);
}




@media (max-width: 800px) {
  .advantage-heading {
    font-size: 44px;
  }
  .advantage-subheading {
    font-size: 20px;
  }

  .split-section-wrapper {
    flex-direction: column;
  }
  
  
  .advantages-header {
    width: 200px;
    padding: 40px 20px 0 0;
  }

  
  .split-section-content {
    padding: 40px 0 0 0;;
  }
  
  .split-section-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    margin: 0;
  }
  
  .advantage-item {
    padding: 40px 80px;
    position: relative;
  }
  
  .advantage-item:hover {
    background: none;
  }
  
  .advantage-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 1px;
    background-color: var(--c-primary);
  }
  
  /* .advantage-heading font-size removed - using 44px from earlier mobile query */
}


@media (max-width: 600px) {

  .advantage-item {
    padding: 24px 50px;
  }
}

/* Universal Section Header Styles */
.split-section-header {
  min-width: 260px;
  max-width: 260px;
  background: var(--c-black);
  display: flex;
  /* align-items: flex-start; */
  /* justify-content: flex-end; */
  padding: 60px 40px 0 0;
  z-index: 10;
  align-self: stretch;
  /* height: 100%; */
  min-height: 100%;
}

/* Universal Page Title Styles */
.page-title-section {
  background: var(--c-white);
  padding: 60px 0;
}

.page-title-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  text-decoration: none;
  transition: all var(--transition);
}

.back-arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

.back-arrow svg {
  width: 40px;
  height: 40px;
  transition: all var(--transition);
}

.back-arrow:hover svg {
  transform: scale(1.1);
}

.section-header-title {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 1.1;
  color: var(--c-black);
  margin: 0;
  text-align: center;
}

.page-title-description {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-black);
  margin: 20px 0 0 0;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.split-section-header-content {
  width: 100%;
}

.split-section-header-title {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 1.1;
  color: var(--c-white);
  margin: 0;
  text-align: right;
}

/* .split-section-header-parallax {
  width: 100%;
} */

@media (min-width: 801px) {
  .split-section-header-parallax {
    position: sticky;
    top: 200px;
    will-change: transform;
    transition: top 0.2s;
  }
  .split-section-header-title {
    padding-bottom: 100px;
  }
}

@media (max-width: 1200px) {
  .split-section-header {
    width: 200px;
    padding: 40px 20px 0 0;
  }
  .split-section-header-title {
    font-size: 48px;
  }
}

@media (max-width: 800px) {
  .split-section-header {
    width: 90vw;
    padding: 40px 0px;
    height: auto;
    min-height: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative ;
    left: 50%;
    transform: translateX(-50%) !important;
    /* margin-left: calc(-50vw + 5vw) !important; */
    z-index: 10;
  }
  .split-section-header-content {
    padding-right: 20px;
    width: 100%;
  }
  
  .split-section-header-parallax {
    position: static;
    width: 100%;
  }
  
  .split-section-header-title {
    font-size: 48px;
    text-align: right;
  }
  
  .page-title-section {
    padding: 40px 0;
  }
  
  .section-header {
    position: relative;
    margin-bottom: 0;
    width: 90vw;
    background: var(--c-black);
    padding: 40px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    z-index: 1;
  }
  
  .section-header-title {
    font-size: 48px;
    color: var(--c-white);
    text-align: right;
  }
  
  .page-title-description {
    font-size: 16px;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .section-header-title {
    font-size: 48px;
    color: var(--c-white);
    text-align: right;
  }
  
  .page-title-description {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .split-section-header-title {
    font-size: 48px;
  }
}

/* About Section Styles */
.about {
  position: relative;
  background: var(--c-white);
  margin-top: 120px;
}

.about::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1000px;
  height: 100%;
  background: #F5F5F5;
  z-index: 0;
  pointer-events: none;
}

.about::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1000px;
  height: 20%;
  background: var(--c-black);
  z-index: 0;
  pointer-events: none;
}

.about-wrapper {
  position: relative;
  z-index: 1;
}

.about-content {
  flex: 1;
  padding: 0;
  background-color: #F5F5F5;
    display: flex;
  align-items: flex-end;
  min-height: fit-content;
}

.about-text-container {
  flex: 1;
  position: relative;
  padding: 40px 40px;
}

.about-text {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: var(--c-black);
  margin: 0 0 24px 0;
  text-align: left;

 p {
    font-weight: 300;
    line-height: 1.8;
    font-size: 20px;
    /* padding-bottom: 24px; */
    text-align: left;
  }
}

.about-author {
  text-align: right;
  margin-bottom: 20px;
}

.about-author-name {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  color: var(--c-black);
  margin-bottom: 8px;
}

.about-author-title {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--c-black);
}

.about-quote-top {
  width: 60px;
  height: 60px;
  margin-bottom: 30px;
  position: relative;
}

.about-quote-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-quote {
  width: 60px;
  height: 60px;
  margin: 40px 0;
  margin-left: auto;
}

.about-quote img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-image {
  flex: 1;
  max-width: 500px;
  margin-top: -60px;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .about::before {
    width: 600px;
  }
  .about::after {
    width: 600px;
  }
}

@media (max-width: 800px) {
  .about {
    margin-top: 40px;
  }

  .about::before {
    width: 90%;
    height: 200px;
  }
  .about::after {
    width: 90%;
    height: 200px;
  }
  
  .about-wrapper {
    flex-direction: column;
  }
  
  .about-content {
    flex-direction: column;
    padding: 40px 0;
    gap: 0px;
  }
  
  .about-text-container {
    padding: 0 40px;
    order: 2;
  }
  
  .about-image {
    order: 1;
    max-width: 350px;
    margin-top: -85px;
    z-index: 1000;
  }
  
  /* .about-text {
    font-size: 18px;
    margin-bottom: 20px;
  } */
  
  .about-author-name,
  .about-author-title {
    font-size: 32px;
  }
  
  .about-quote {
    width: 60px;
    height: 60px;
  }
}

/* Numbers Section Styles */


.numbers-content {
  flex: 1;
  padding: 60px 0;
  background-color: var(--c-white);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.number-item {
  text-align: center;
}

.number-counter {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 600;
  font-size: 96px;
  line-height: 1.1;
  color: var(--c-primary);
  margin-bottom: 16px;
}

.number-subheading {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-black);
}

@media (max-width: 1200px) {
  .numbers::before {
    width: 600px;
  }
  
  .number-counter {
    font-size: 72px;
  }
  
  .number-subheading {
    font-size: 24px;
  }
}

@media (max-width: 800px) {
  .numbers::before {
    width: 90%;
    height: 200px;
  }
  
  .numbers-wrapper {
    flex-direction: column;
  }
  
  .numbers-content {
    padding: 40px 0;
  }
  
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  
  .number-counter {
    font-size: 64px;
  }
  
  .number-subheading {
    font-size: 24px;
  }
}

/* Guides Section Styles */
.guides {
  position: relative;
  background: #F5F5F5;
  padding: 100px 0 100px 0;
}

.guides::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  background: #F5F5F5;
  z-index: 0;
  pointer-events: none;
}

.guides::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  background: #F5F5F5;
  z-index: 0;
  pointer-events: none;
}

.guides-wrapper {
  position: relative;
  z-index: 1;
}



.guides-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.guide-item {
  text-align: left;
  transition: all var(--transition);
  border-radius: 12px;
  overflow: hidden;
}

.guide-image {
  margin-bottom: 24px;
}

.guide-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.guide-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.guide-item-details {
  margin: 24px;
}

.guide-subheader {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--c-black);
  margin: 0 0 16px 0;
}

@media (max-width: 800px) {
  .guide-item {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
}



.btn-icon-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  padding: 20px 40px;
  background: var(--c-primary-light);
  border: 2px solid var(--c-primary-light);
  color: var(--c-white);
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-icon-left:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(162, 131, 52, 0.3);
}

.btn-icon-left img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-icon-left span {
  color: var(--c-white);
}

/* Button with icon on the right */
.btn-icon-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 24px;
  background: var(--c-primary-light);
  border: 2px solid var(--c-primary-light);
  color: var(--c-white);
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition);
  width: fit-content;
  text-transform: uppercase;
  height: fit-content;
}

.btn-icon-right:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(162, 131, 52, 0.3);
}

.btn-icon-right svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-icon-right span {
  color: var(--c-white);
}



@media (max-width: 800px) {
  .guides {
    padding: 0 0 40px 0;
  }
  
  
  
  .guides-content {
    padding: 40px 20px;
  }
  
  .guides-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .guide-subheader {
    font-size: 24px;
  }
  

  
  .btn-icon-left {
    padding: 18px 30px;
    font-size: 12px;
  }
  
  .btn-icon-left img {
    width: 18px;
    height: 18px;
  }
  
  .btn-icon-right {
    padding: 14px 20px;
    font-size: 12px;
  }
  
  .btn-icon-right svg {
    width: 18px;
    height: 18px;
  }
}

/* Services Section Styles */




/* Employee Card Styles */

.employee-section {
  position: relative;
  background: #F5F5F5;
  padding: 60px 0 0 0;
}

.employee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin: 0 0 60px 60px;
  max-width: calc(100% - 60px);
  box-sizing: border-box;
}

/* Employee section heading styles */
.employee-section-heading {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--c-black);
  margin: 0 0 40px 60px;
  line-height: 1.2;
  max-width: calc(100% - 60px);
  box-sizing: border-box;
}

/* Employee education content styles */
.employee-education-content {
  margin: 0 0 60px 60px;
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-black);
  max-width: calc(100% - 60px);
  box-sizing: border-box;
}

/* Employee video interview styles */
.employee-image-container {
  position: relative;
  display: inline-block;
}

.employee-image-container{

  .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--c-white);
    border-radius: 50px;
    padding: 16px 24px;
    width: fit-content;
    color: var(--c-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
    font-size: 16px;
    transition: all var(--transition);
    animation: video-pulse 2s ease-in-out infinite;
    z-index: 10;
  }
  
  .video-play-btn:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    transform: translate(-50%, -50%) scale(1.05);
    animation: none;
  }

  .video-play-btn svg {
    color: var(--c-white);
  }
}


.employee-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.employee-play-icon svg {
  width: 100%;
  height: 100%;
}

.employee-play-text {
  white-space: nowrap;
}

@keyframes video-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(199, 161, 61, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(199, 161, 61, 0);
  }
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 70vh;
  background: var(--c-black);
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--c-white);
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all var(--transition);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.employee-card {
  text-align: center;
  padding-bottom: 40px;
  transition: all var(--transition);
  border-radius: 8px;
  text-decoration: none;
  display: block;
  color: inherit;
}

.employee-image {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

.employee-img {
    width: 100%;
  height: auto;
  display: block;
}

.employee-img-smile {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.employee-text-container {
  flex: 1;
  position: relative;
  padding: 40px 40px;
}


.employee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.employee-card:hover .employee-img-smile {
  opacity: 1;
}

.employee-name {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 500;
  font-size: 28px;
  padding: 0 20px;
  color: var(--c-black);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.employee-position {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--c-black);
  margin: 0;
  line-height: 1.4;
}

.certificate-item {
  text-align: center;
  padding: 20px;
  background: var(--c-white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.certificate-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.certificate-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Portfolio Styles */
.portfolio-tabs {
  display: flex;
  margin-left: 220px;
}

.portfolio-tab {
  padding: 8px 24px;
  border-radius: 8px 8px 0 0;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 16px;
  background: none;
  color: #7E7E7E;
  cursor: pointer;
  transition: all var(--transition);
}

.portfolio-tab:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

.portfolio-tab.active {
  background: var(--c-white);
  color: var(--c-primary);
}

.portfolio-item {
  background: var(--c-white);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 40px 40px;
  transition: all var(--transition);
  padding: 30px;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.portfolio-title {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--c-black);
  margin: 0 0 30px 0;
}

.portfolio-content {
  display: flex;
  gap: 40px;
    align-items: flex-start;
  }
  
.portfolio-description {
  flex: 1;
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-black);
}

.portfolio-image {
  flex: 1;
  max-width: 400px;
}

.portfolio-img {
    width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.no-portfolio {
  text-align: center;
  padding: 60px 20px;
  color: var(--c-black);
  opacity: 0.6;
}

/* Contact Styles */
.contact-item {
  margin-bottom: 30px;
}

.contact-title {
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--c-black);
  margin-bottom: 10px;
}

.contact-item-wrapper {
  margin-left: 60px;
  margin-bottom: 60px;
}

.contact-item-text {
  margin: 20px 0 60px 0;
}

/* Service single page styles */
.service-section {
  padding: 60px 0 60px 0;
  background-color: var(--c-gray-light);
}

.section-grid:only-child .service-text-container {
  width: 900px;
  margin: 0 auto;
  padding-left: 220px;
  max-width: 100%;
  box-sizing: border-box;
}


.section-grid:has(.service-video-single) .service-text-container {
  padding: 0 !important;
  width: auto;
}

.section-grid:has(.info-img) .service-text-container {
  padding: 0 !important;
}

.section-grid:has(.info-img) {
  grid-template-columns: 40% 60%;
  gap: 60px;
}

.section-grid:has(.info-img) .info-img {
  /* width: 100vw; */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  max-width: 100%;
}

.section-grid:has(.info-img) .service-text-container {
  width: 100%;
}

@media (max-width: 800px) {
  .employee-section .section-content {
    position: relative;
    padding: 0;
    overflow-x: visible !important;
    z-index: 1000;
  }

  .section-grid:has(.info-img) {
    z-index: 1000;
  }

  .service-section {
    padding: 0;
  }

  .service-section .section-grid:has(.info-img) {
    margin-top: 40px;
  }

  .section-grid:only-child .service-text-container {
    width: 100%;
    padding-top: 40px;
    gap: 0;
    margin: 0 auto;
    padding-left: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .employee-education-content {
    margin: 0 20px 40px 20px;
    font-size: 18px;
    line-height: 1.6;
  }
  
  .video-play-btn {
    padding: 12px 20px;
    font-size: 14px;
    gap: 8px;
  }
  
  .play-icon {
    width: 20px;
    height: 20px;
  }
  
  .video-modal-content {
    width: 95%;
    height: 60vh;
  }
  
  .video-modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .service-text-container .about-text {
    padding: 0 20px;
    margin-bottom: 40px;
  }

}



/* Service List Styles */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0px 30px 60px;
  border-bottom: 1px solid #E5E5E5;
  transition: all var(--transition);
}

.service-list-item:hover {
  background-color: #F5F5F5;
}

.service-list-item:last-child {
  border-bottom: none;
}

.service-list-content {
  flex: 1;
}

.service-list-title {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--c-black);
  margin: 0 0 8px 0;
}

.service-list-price {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-gray-dark);
  margin: 0;
  opacity: 0.8;
}

.service-list-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  text-decoration: none;
  transition: all var(--transition);
  padding: 12px;
  border-radius: 50%;
  min-width: 48px;
  height: 48px;
}

.service-list-arrow:hover {
  background-color: var(--c-primary);
  color: var(--c-white);
  transform: scale(1.1);
}

.service-list-arrow svg {
  width: 24px;
  height: 24px;
  transition: all var(--transition);
}

@media (max-width: 800px) {
  .section-grid:has(.info-img) {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: -45px;
  }

  .section-content {
    z-index: 1000;
  }

  
  .section-grid:has(.info-img) .info-img {
    max-width: 560px;
    margin-left: auto;
    margin-right: 0;
  }

  .employee-section {
    padding: 0;
  }

  .employee-text-container {
    padding: 0 40px 40px 40px;
  }

  .contact-item-wrapper {
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 60px;
  }

  .service-list {
    margin-bottom: 40px;
  }

  .service-list-item {
    padding: 30px 40px;
  }
  
  .service-list-title {
    font-size: 32px;
  }
  
  .service-list-price {
    font-size: 20px;
  }
  
  .service-list-arrow {
    min-width: 40px;
    height: 40px;
    padding: 8px;
  }
  
  .service-list-arrow svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 600px) {
  .service-list-item {
    padding: 20px 40px;
  }

  .service-list-title {
    font-size: 24px;
  }
  
  .service-list-price {
    font-size: 18px;
  }
}



@media (max-width: 800px) {
  .portfolio-tabs {
    /* flex-direction: column; */
    justify-content: flex-start;
    align-items: flex-start;
    /* gap: 12px; */
    margin-left: 0;
  }
  
  .portfolio-tab {
    width: 200px;
  padding: 16px 24px;
font-size: 20px;
  }
  
  .portfolio-item {
      width: calc(100vw - 40px);
      margin: auto;
      margin-bottom: 40px;
    padding: 20px;
      box-sizing: border-box;
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  
  .portfolio-title {
    font-size: 36px;
    margin: 0 0 20px 0;
  }
  
  .portfolio-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .portfolio-image {
    max-width: 100%;
  }
  
}

@media (max-width: 800px) {
  .employee-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 20px auto;
    max-width: 500px;
  }

  .employee-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
  }
  
  .employee-name {
    font-size: 32px;
  }
  
  .employee-position {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .employee-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 0 20px 40px 20px;
  }
}

/* Service Item Styles */
.service-item {
  margin-bottom: 80px;
  padding-left: 40px;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-header {
    margin-bottom: 20px;
  }

.service-title {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1.1;
  color: var(--c-black);
  margin: 0;
}

.service-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.service-video {
  position: relative;
  width: 500px;
  max-width: 50%;
  flex-shrink: 0;
}

.service-video video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  z-index: 1;
}

/* Single service page video styles */
.service-video-single {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Service section specific grid adjustments */
.service-section .section-grid {
  align-items: flex-start;
  gap: 60px;
}

/* Single service page grid layout - 40% video/image, 60% text */
.service-section .section-grid:has(.service-video-single),
.service-section .section-grid:has(.info-img) {
  grid-template-columns: 40% 60%;
}

@media (max-width: 1200px) {
  .service-section .section-grid {
    gap: 40px;
  }
  
  .service-section .section-grid:has(.service-video-single),
  .service-section .section-grid:has(.info-img) {
    grid-template-columns: 40% 60%;
  }
}

.service-section .section-grid:has(.service-video-single) .service-text-container {
  padding-top: 0;
}

/* General service text container styles */
.service-text-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 0;
}

.service-video-single .service-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  z-index: 1;
  display: block;
}

.service-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-subtitle {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--c-black);
  margin: 0;
}



/* Paragraph Style */
p {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-black);
  margin: 0 0 16px 0;
}

p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  p {
 
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 20px 0;
  }

  .service-title {
    font-size: 48px;
  }
  
  .service-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .service-video {
    width: 100%;
    max-width: 100%;
  }
  
  .service-video-single {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 520 / 690;
  }
}

@media (max-width: 800px) {
  p {
 
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 20px 0;
  }


  .service-item {
    margin-bottom: 60px;
  }
  
  .service-title {
    font-size: 48px;
  }
  
  .service-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .service-video {
    min-width: 100%;
    margin: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
  }
  
  .service-video-single {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    height: auto;
    aspect-ratio: 520 / 690;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .service-section .section-grid:has(.service-video-single),
  .service-section .section-grid:has(.info-img) {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-subtitle {
    font-size: 24px;
  }
  
  .service-description {
    font-size: 16px;
  }
  
  .service-video video {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .service-video-single .service-video-element {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
  }

  .service-info {
    padding-right: 40px;
    padding-bottom: 60px;
  }
}

/* Reviews Section Styles */
.reviews {
  position: relative;
  padding: 100px 0 60px 0;
}

.reviews-wrapper {
  position: relative;
  z-index: 1;
}

.reviews-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.review-grid-item {
  text-align: center;
}

.review-grid-item img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 800px) {
  .reviews {
    padding: 40px 0;
  }
  
  .reviews-content {
    padding: 0 20px;
  }
  
  .reviews-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 60px;
  }

}

/* Universal Content Section Styles */
.section {
  position: relative;
  background: #F5F5F5;
  padding: 60px 0;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  background: #F5F5F5;
  z-index: 0;
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  background: #F5F5F5;
  z-index: 0;
  pointer-events: none;
}

.section-wrapper {
  position: relative;
  z-index: 1;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.review-link-item {
  background: var(--c-white);
  padding: 24px;
  border-radius: 12px;
  text-decoration: none;
  display: block;
  transition: all var(--transition);
}

.review-link-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.review-link-header {
  margin-bottom: 16px;
}

.review-link-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-link-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-link-name {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--c-black);
}

.review-link-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.review-link-stars {
  color: #FFD700;
  font-size: 16px;
}

.review-link-platform-text {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--c-black);
  text-decoration: underline;
  transition: color var(--transition);
}

.review-link-platform-text:hover {
  color: var(--c-primary);
}

.review-link-date {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--c-black);
  opacity: 0.5;
}

.review-link-text {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-black);
}

@media (max-width: 800px) {
  .review-link-text p {
    font-size: 16px;
    line-height: 1.8;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 0;
  }
  
  .section-content {
    padding: 0 20px;
  }
  
  .section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .review-link-item {
    padding: 20px;
  }
  
  .review-link-text {
    font-size: 16px;
  }
}

/* Contacts Section Styles */
.contacts {
  position: relative;
  padding: 0;
  height: 450px;
}

.contacts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1000px;
  height: 100%;
  background: var(--c-black);
  z-index: 0;
}

@media (max-width: 1200px) {
  .contacts::before {
    width: 200px;
  }
}

@media (max-width: 800px) {
  .contacts::before {
    width: 100px;
  }
}

.contacts-wrapper {
  position: relative;
  z-index: 1;
  height: 100%;
}

.contacts-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
  height: 100%;
}

.contacts-map {
  width: calc((100vw - 1260px) / 2 + (1260px - 260px));
  flex-shrink: 0;
  height: 450px;
  position: relative;
}

.contacts-map a {
  display: block;
  text-decoration: none;
  transition: all var(--transition);
  height: 100%;
}

.contacts-map a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contacts-map img,
.contacts-map picture {
    width: 100%;
  height: 100%;
  display: block;
}

.contacts-map img {
  object-fit: cover;
  object-position: left center;
}

.contacts-info {
  position: absolute;
  top: 80px;
  left: 40px;
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 8px;
}

.contacts-info-row {
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--c-black);
  line-height: 1.4;
}

.contacts-info-row:first-child {
  margin-bottom: 8px;
}

@media (max-width: 1200px) {
  .contacts-map {
    width: calc(100% - 200px);
  }
}

@media (max-width: 1200px) {
  .contacts-map {
    width: calc((100vw - 1000px) / 2 + (1000px - 200px));
  }
  
  .contacts-content {
    gap: 40px;
  }
}

@media (max-width: 800px) {
  .contacts {
    padding: 0;
  }
  
  .contacts-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .contacts-map {
    width: calc((100vw - 600px) / 2 + (600px - 100px));
  }
}

@media (max-width: 800px) {
  .contacts-map {
    width: 100vw;
    margin: 0;
    height: 720px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .contacts-map img {
    object-position: center;
    width: 100%;
    height: 100%;
  }
}

/* .contacts-info {
  left: 80px;
  padding: 40px;
  border-radius: 8px;
}

.contacts-info-row {
  font-size: 28px;
  line-height: 1.6;
} */

@media (max-width: 600px) {
  .contacts-info {
    left: 40px;
    padding: 20px;
    border-radius: 8px;
  }
  
  .contacts-info-row {
    font-size: 20px;
    line-height: 1.4;
  }
}
/* Review Spoiler Styles */





/* Review Text Spoiler */
.review-text-wrapper {
  position: relative;
  max-height: 144px; /* 6 rows * 24px line height on desktop */
  overflow: hidden;
  transition: max-height var(--transition) ease-in-out;
}

@media (max-width: 800px) {
  .review-text-wrapper {
    max-height: 288px; /* 12 rows * 24px line height */
  }
}

.review-text-wrapper.expanded {
  max-height: 2000px !important; /* Use a large value instead of 'none' for smooth transitions */
}

.review-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--c-white));
  pointer-events: none;
  transition: opacity var(--transition);
}

.review-text-wrapper.expanded .review-text-overlay {
  opacity: 0;
}

.review-read-more-btn {
  display: none;
  background: none;
  border: none;
  color: var(--c-primary);
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 0;
  margin-top: 10px;
  transition: color var(--transition);
}

.review-read-more-btn:hover {
  color: var(--c-black);
}

.review-read-more-btn.show {
  display: block;
}

.review-read-more-btn.hide {
  display: none;
}

/* More Reviews Button Row */
.section-row {
  display: flex;
  justify-content: flex-end;
  padding: 40px 40px 0 40px;
}

@media (max-width: 800px) {
  .section-row {
    padding-bottom: 40px;
    justify-content: center;
  }

  .reviews-grid {
    padding-top: 40px;
  }

}

.btn-outlined-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 24px;
  background: transparent;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition);
  width: fit-content !important;
  text-transform: uppercase;
}

.btn-outlined-icon-sm {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition);
  width: fit-content;
  text-transform: uppercase;
}


.btn-outlined-right:hover, .btn-outlined-icon-sm:hover {
  background: var(--c-primary);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(162, 131, 52, 0.3);
}

.btn-outlined-right, .btn-outlined-icon-sm svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-outlined-right span, .btn-outlined-icon-sm span {
  color: inherit;
}



/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  background: var(--c-white);
  border: 1px solid #eee;
  border-radius: 6px;
  color: var(--c-black);
  text-decoration: none;
  transition: all var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

/* No Reviews Message */
.no-reviews {
  text-align: center;
  padding: 60px 0;
}

.no-reviews p {
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.6);
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  margin-bottom: 40px;
}

.loader-logo img {
  width: 245px;
  height: auto;
  animation: pulse 2s ease-in-out infinite;
}

.loader-percentage {
  font-family: "Alumni Sans SC", sans-serif;
  font-size: 62px;
  font-weight: 300;
  color: var(--c-white);
  text-align: center;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 60px;
  right: 30px;
  background-color: #25D366;
  color: white;
  padding: 16px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all var(--transition);
  z-index: 1000;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  animation: whatsapp-pulse 3s ease-in-out infinite;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
  animation: none;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
}

.whatsapp-text {
  white-space: nowrap;
}

@media (max-width: 800px) {
  .whatsapp-button {
    bottom: 40px;
    right: 20px;
    padding: 20px;
    font-size: 20px;
    gap: 8px;
  }
  
  .whatsapp-icon svg {
    width: 30px;
    height: 30px;
  }
  
  .whatsapp-text {
    display: none;
  }
}

@keyframes whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  }
}


/* Documents Page Styles */
.documents-description {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.documents-description p {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-black);
  margin: 0;
}

.documents-grid {
  gap: 40px;
}

.document-item {
  display: block;
  background: var(--c-white);
  border-radius: 12px;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.document-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
}

.document-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.document-title {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--c-black);
  margin: 0;
}


@media (max-width: 800px) {
  .documents-description {
    padding: 40px 30px;
    margin-bottom: 0;
  }
  
  .documents-description p {
    font-size: 16px;
  }

  .documents-grid {
    padding-bottom: 40px;
  }
  
  .document-item {
    padding: 20px;
  }
  
  .document-header {
    gap: 16px;
    margin-bottom: 20px;
  }
  
  .document-title {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  /* .document-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  } */
  
  .document-title {
    font-size: 28px;
  }
}



/* Mobile Under Construction Screen */
.mobile-construction {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--c-black);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.mobile-construction-logo {
  width: 120px;
  height: 120px;
  animation: logo-pulse 2s ease-in-out infinite;
}

.mobile-construction-text {
  color: var(--c-white);
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-top: 30px;
  text-align: center;
  line-height: 1.4;
}

@keyframes logo-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@media (max-width: 800px) {
  .mobile-construction {
    display: flex;
  }
}

/* Mobile-only and mobile-hidden utility classes */
@media (min-width: 801px) {
  .mobile-only {
    display: none;
  }

  .mobile-hidden {
    display: flex;
  }
}

/* Prevent horizontal scroll on all devices */
body {
  overflow-x: hidden;
  width: 100%;
}

.section,
.section-wrapper,
.section-grid,
.section-content,
.section-row {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Ensure all elements respect viewport width */
* {
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .mobile-only {
    display: block;
  }
  
  .mobile-hidden {
    display: none;
  }
}

.mute-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.5);
  border: none;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000000;
}

.mute-btn:hover {
  background: rgba(0,0,0,0.9);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.1);
}

.mute-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
  display: block;
  flex-shrink: 0;
}

/* Hero Audio Button */
.hero-audio-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  margin: 20px auto;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.hero-audio-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-audio-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
  display: block;
  flex-shrink: 0;
}

.hero-audio-btn .hero-audio-text {
  color: white;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}

.hero-audio-btn .icon-muted {
  display: block !important;
}

.hero-audio-btn .icon-unmuted {
  display: none !important;
}

.hero-audio-btn.unmuted .icon-muted {
  display: none !important;
}

.hero-audio-btn.unmuted .icon-unmuted {
  display: block !important;
}

/* Video Archive Styles */
.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  /* padding: 20px 30px 30px 30px; */
  /* background: white; */
  border-radius: 12px;
  align-items: flex-end;
  /* justify-content: space-between; */
}

/* @media (min-width: 801px) {
  #video-format-filter {
    box-sizing: content-box;
  }

  #treatment-theme-filter {
    box-sizing: content-box;
  }
} */

.video-filter {
  min-width: 280px;
  box-sizing: content-box;
  flex: 1; /* чтобы селекты растягивались равномерно */
  max-width: 100%;
}

.video-filter label {
  display: block;
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--c-black);
}

.video-filter select {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid var(--c-gray);
  border-radius: 50px;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 500;
  /* background: white; */
  cursor: pointer;
  text-transform: uppercase;
  transition: all var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 50px;
}

.video-filter select:hover {
  border-color: var(--c-primary);
}

.video-filter select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(199, 161, 61, 0.1);
}

.clear-filters-btn {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
  padding: 16px 32px;
  border-radius: 50px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  height: fit-content;
}

.clear-filters-btn:hover {
  background: var(--c-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(199, 161, 61, 0.3);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

.video-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all var(--transition);
}

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.video-format-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.video-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  width: 100%;
  height: 300px;
  background: var(--c-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gray);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.video-item:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.video-play-btn:hover {
  background: white;
}

.video-play-btn svg {
  color: var(--c-primary);
  margin-left: 4px;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-family: "Alumni Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--c-black);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-theme,
.video-format {
  background: var(--c-gray-light);
  color: var(--c-black);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.video-format {
  background: var(--c-primary);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Patient reviews format - black background */
.video-format[data-format="patient-reviews"] {
  background: black;
  color: white;
}


.video-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 70vh;
  background: black;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  transition: all var(--transition);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-container {
  width: 100%;
  height: 100%;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.no-videos {
  text-align: center;
  padding: 60px 20px;
  color: var(--c-gray);
  font-family: "Rubik", sans-serif;
  font-size: 18px;
}

/* Responsive Video Archive */
@media (max-width: 800px) {
  .video-filters {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .video-filter {
    min-width: 100%;
  }
  
  .video-filter label {
    font-size: 24px;
  }
  
  .clear-filters-btn {
    align-self: stretch;
    padding: 14px 24px;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .video-modal-content {
    width: 95%;
    height: 60vh;
  }
  
  .video-modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

.hero-audio-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
  display: block;
  flex-shrink: 0;
}

.hero-audio-btn .hero-audio-text {
  color: white;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}

.hero-audio-btn .icon-muted {
  display: block !important;
}

.hero-audio-btn .icon-unmuted {
  display: none !important;
}

.hero-audio-btn.unmuted .icon-muted {
  display: none !important;
}

.hero-audio-btn.unmuted .icon-unmuted {
  display: block !important;
}

.video-reviews-promo {

  display: flex;
  justify-content: space-between;
  vertical-align: middle;
  padding: 24px;
  margin-bottom: 60px;
  background-color: #fff;
  border-radius: 12px;
}

.video-reviews-promo-title {
  font-family: "Alumni Sans SC", sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--c-black);
  margin: auto 0;
}

.video-reviews-promo-icon img {
  max-width: 60px;
  height: auto;
}

.video-reviews-promo-content {
  display: inline-flex;
  vertical-align: middle;
  gap: 24px;
}

@media (max-width: 800px) {
  .video-reviews-promo {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 40px;
  }

  .video-reviews-promo-title {
    line-height: 1.2;
  }

  .video-reviews-promo-content {
    flex-direction: column;
  }
}
