/*!
Theme Name: Compass
Theme URI: 
Author: Igor Zubyk
Author URI: https://www.upwork.com/freelancers/~01671796c0ba318ce3
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Compass
Tags: custom-theme
*/

/* ==========================================================================
   GLOBAL RESET & BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a {
  cursor: pointer;
  transition: all 0.5s;
}
body {
  font-family: "Inter", sans-serif;
  background-color: #f7f6f2;
  color: #222;
  line-height: 1.6;
  background-image: 
        url('img/object1.webp'),
        url('img/object2.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: left 32%, right 20%; 
    background-size: 70px auto, 70px auto; 
    background-attachment: scroll, scroll; 
}
@media (max-width: 768px) {
    body {
        background-size: 40px auto, 40px auto;
        background-position: left 27%, right 13%;
        background-repeat: no-repeat;
    }
}
.container {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  padding: 30px 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-icon img {
  height: 75px;
  transition: transform 0.8s ease;
  transform-origin: center center;
}
.logo-block:hover .logo-icon img {
  transform: rotate(180deg);
}
.logo-text img {
  height: 35px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 15px;
}
header .menu-item {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #000;
  position: relative;
  text-decoration: none;
}


header .menu-item-659 {
	display: none;
}


header .menu-item a {
	letter-spacing: 0.5px;
  font-weight: 600;
  color: #3C3C3C;
  text-decoration: none;
  padding: 10px 15px 10px 15px;
  border-radius: 999px;
}
.menu-item.active,
.menu-item a:hover, header .current-menu-item a {
  color: #3C3C3C;
  background: rgba(178, 177, 219, 0.25);
}
.contact-btn {
	background: #34427a;
  padding: 7px 15px 7px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(248, 247, 244, 1);
  text-decoration: none;
  transition: all 0.3s ease;
}
.contact-btn:hover {
  background-color: rgba(217, 126, 126, 1);
  color: rgba(248, 247, 244, 1);
}

/* ==========================================================================
   HAMBURGER ICON
   ========================================================================== */
.menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  width: 30px;
  height: 24px;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}
.menu-icon span {
  display: block;
  height: 3px;
  margin-bottom: 5px;
  background: #000;
  transition: transform .3s, opacity .3s;
  transform-origin: center center;
}
.menu-icon span:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 40px 0 100px;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.hero-text {
  flex: 1 1 700px;
}
.hero-subtitle {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: 55px;
  font-weight: bold;
  color: #40386E;
  line-height: 1.2;
}
.hero-title .line {
  display: block;
}
.hero-title .letter,
.hero-title span {
  display: inline-block;
  transition: transform 0.25s ease;
  will-change: transform;
}
.hero-highlight {
  position: relative;
  display: inline-block;
  color: #2d2377;
}

.hero-title {
  position: relative;
}


.hero-title .word {
  display: inline-block;
  margin-right: 0.3em; 
}


.hero-title .letter {
  display: inline-block;
  transition: transform 0.2s;
}

.hero-title {
  position: relative;
}
.hero-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -25px;
  width: 130%;
  height: 26px;
  background: url(img/underline.webp) no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.hero-image {
  flex: 1 1 300px;
  text-align: center;
}
.hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
  transform-origin: center center;
}
.hero-image img, .case-image img {
  animation: slowPulse 2.5s ease-in-out infinite;
}
@keyframes slowPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.feature img:hover, .contact-item .contact-icon:hover {
  animation: slowPulseIcons 2.5s ease-in-out infinite;
}
@keyframes slowPulseIcons {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* =================
    Added 9/27/25
   ================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */
.quote {
  background: #FF747F;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 20px;
}
.quote .container {
  padding: 10px;
}
.marquee {
  color: #fff;
  padding: 10px 0;
}
.marquee__inner {
  display: inline-block;
  font-size: 20px;
}


/* ==========================================================================
   REALITY SECTION
   ========================================================================== */
.reality-section {
  padding: 120px 0;
}
.reality-container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.reality-image {
  flex: 1 1 400px;
  overflow: hidden;
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
}
.reality-image img {
  width: 100%;
  display: block;
}
.reality-content {
  flex: 1 1 400px;
}
.reality-content h2 {
  font-size: 48px;
  color: #40386E;
  margin-bottom: 24px;
  line-height: 1.2em;
}
.reality-content p {
  font-size: 16px;
  line-height: 34px;
  color: #606060;
  margin-bottom: 16px;
}
.reality-content p strong {
	color: #FF747F;
  font-weight: 800;
}
.reality-content .highlight {
  color: #FF747F;
  font-weight: 800;
}

/* ==========================================================================
   WHAT MAKES US DIFFERENT SECTION
   ========================================================================== */
.different-section {
  background: url(img/different-background.webp) no-repeat center/cover;
  color: #fff;
  padding: 130px 0 100px 0;
  text-align: center;
}
.different-container h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}
.different-subtitle {
  font-size: 16px;
  line-height: 34px;
  width: 70%;
  margin: 0 auto 80px;
  font-weight: 400;
}
.different-subtitle p strong {
	color: #FF747F;
}
.different-subtitle a {
  color: #FF747F;
  font-weight: 700;
  text-decoration: none;
}
.different-subtitle a:hover {
  text-decoration: underline;
}
.different-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.feature {
  flex: 1 1 240px;
  max-width: 240px;
}
.feature img {
  width: 96px;
  margin-bottom: 12px;
}
.feature p {
  font-size: 20px;
  line-height: 34px;
}
.btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #fff;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn-secondary:hover {
  background: #FF747F;
  border-color: #FF747F;
  color: #fff;
}

/* ==========================================================================
   OFFER SECTION
   ========================================================================== */
.offer-container {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.offer-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.offer-card h3 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 400;
  color: #000;
}
.offer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.offer-card li {
  color: #717171;
  font-weight: 500;
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 32px;
  text-align: left;
}
.offer-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #717171;
}

/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */
.case-studies {
  padding: 120px 0;
}
.case-studies h2 {
  text-align: center;
  font-size: 48px;
  color: #40386E;
  font-weight: 700;
  margin-bottom: 80px;
}
.case-slider-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.swiper.case-slider {
  width: 100%;
}
.swiper.case-slider .swiper-wrapper {
  display: flex;
}
.swiper.case-slider .swiper-slide {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  box-sizing: border-box;
}
.case-image {
  position: relative;
  flex: 1 1 50%;
  max-width: 50%;
}
.case-image img {
  width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  position: relative;
}
.case-image img.avatar {
	height: 400px;
}
.case-decor {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.decor-b {
  width: 400px;
  height: 400px;
  top: 0;
  left: 0;
  z-index: -1;
  background: #F2F2F2;
}
.decor-c {
  width: 400px;
  height: 400px;
  top: 0;
  left: 80px;
  z-index: 0;
  background: #E8E8E8;
}
.case-image img.deco-circle {
  position: absolute;
  width: 90px;
  bottom: 0;
  right: 90px;
  z-index: 4;
}
.case-image img.deco-figure {
  position: absolute;
  width: 90px;
  bottom: 0;
  right: 0;
  z-index: 5;
  border-radius: 0;
}
.case-info {
  flex: 1 1 50%;
  max-width: 50%;
  box-sizing: border-box;
  align-self: center;
}
.case-info h3 {
  font-size: 40px;
  color: #40386E;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.2;
}
.case-info p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 34px;
  font-weight: 400;
  color: #717171;
}
.case-info p strong {
  color: #000;
  font-weight: 800;
}
.case-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 40px 0 0;
}
.case-prev,
.case-next {
  background: none;
  border: none;
  font-size: 32px;
  color: #40386E;
  cursor: pointer;
  transition: color 0.2s;
}
.case-prev:hover,
.case-next:hover {
  color: #FF747F;
}
.case-pagination {
  display: flex;
  gap: 12px;
}
.case-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #40386E;
  opacity: 1;
  transition: background 0.2s;
}
.case-pagination .swiper-pagination-bullet-active {
  background: #FF747F;
}
/*  Added 9-20-2025 SBS  */ 


/* ==========================================================================
   OUR PROCESS SECTION
   ========================================================================== */
.process-section {
  background: url(img/different-background.webp) no-repeat center/cover;
  color: #fff;
  padding: 120px 0;
}
.process-section h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 80px;
  font-weight: 700;
}
.process-steps {
  margin: 0 auto;
}
.process-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.process-step:last-child {
  margin-bottom: 0;
}
.process-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 64px;
  height: 64px;
}
.process-number img {
  width: 100%;
  height: 100%;
}
.process-step.odd .process-content {
  margin-left: calc(50% + 40px);
  text-align: left;
}
.process-step.even .process-content {
  margin-right: calc(50% + 40px);
  text-align: right;
}
.process-content {
  flex: 1;
}
.process-content h3 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
}
.process-content p {
  font-size: 16px;
  line-height: 34px;
  margin: 0;
}
.process-step.odd .process-content {
  margin-left: calc(50% + 32px + 30px);
}
.process-step.even .process-content {
  margin-right: calc(50% + 32px + 30px);
}

/* ==========================================================================
   READY-TO-START CTA SECTION
   ========================================================================== */
.process-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 100px;
}
.process-cta h2 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 400;
  color: #fff;
}
.process-subtitle {
  font-size: 14px;
  line-height: 34px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #fff;
}
.process-text {
  font-size: 16px;
  line-height: 34px;
  margin-bottom: 32px;
  color: #fff;
}
.process-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #fff;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}
.process-btn:hover {
  background: #FF747F;
  border-color: #FF747F;
}

/* ==========================================================================
   CONTACT OUR TEAM SECTION
   ========================================================================== */
.contact-team {
  background: linear-gradient(to right,#FF747F 0%,#FF747F 40%,#f55f6c 40%,#f55f6c 100%);
  color: #fff;
  padding: 120px 0;
}
.contact-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 40px;
}
.contact-info {
  flex: 0 0 40%;
  max-width: 40%;
  padding-right: 10%;
}
.contact-info h2 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 400;
}
.contact-info p {
  font-size: 16px;
  line-height: 34px;
  font-weight: 400;
}
.contact-grid {
  padding-left: 5%;
  flex: 0 0 60%;
  max-width: 60%;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 32px 40px;
  align-items: center;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  display: block;
}

/* ==========================================================================
   SPONSOR SECTION
   ========================================================================== */
.sponsor-section {
  position: relative;
  margin: 120px 0;
}
.sponsor-container {
  border-radius: 60px;
  overflow: hidden;
  padding: 10% 0;
  text-align: center;
  max-width: 1190px;
  margin: 0 auto;
}
.sponsor-container h2 {
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 24px;
}
.sponsor-text {
  font-size: 16px;
  line-height: 34px;
  color: #fff;
  font-weight: 400;
  max-width: 450px;
  margin: 0 auto 40px;
}
.sponsor-btn {
  display: inline-block;
  padding: 16px 68px;
  background-color: #FF747F;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  border-radius: 40px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.sponsor-btn:hover {
  background-color: #e35f6d;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
  margin-bottom: 150px;
}
.faq h2 {
  font-size: 48px;
  color: #40386E;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}
.faq .button {
  display: block;
  width: 35%;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
  border-radius: 70px;
  padding: 18px 0;
  letter-spacing: 1px;
  background: transparent;
 	border: 1px solid #000;
 	color: #000;
  transition: all 0.5s;
}
.faq .button:hover {
  background: #353579;
 	border-color: #353579;
 	color: #fff;
}
.faq-block {
  margin-bottom: 80px;
}
.faq .accordion {
  background: transparent;
  color: #000;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 24px;
  font-weight: 400;
 	border-bottom: 1px solid #CECECE;
 	margin-bottom: 15px;
  transition: 0.4s;
}
.faq .accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}
.faq .accordion.active {
  color: #F8475F;
}
.faq .accordion.active:after {
  content: "\2212";
  color: #F8475F;
}
.faq .panel {
  padding: 0 18px;
  color: #717171;
  font-size: 16px;
  line-height: 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.faq .panel p {
 	text-align: left;
 	margin: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
	border-top: 1px solid #D9D9D9;
  color: #3C3C3C;

}
.site-footer a {
	color: #3C3C3C;
}

.footer-top {
  display: block;
  padding: 80px 0;
  border-right: 1px solid #D9D9D9;
  border-left: 1px solid #D9D9D9;
  text-align: center;
}
.footer-about .footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  height: 90px;
}
.footer-desc {
  font-size: 18px;
  line-height: 1.2em;
  color: #3C3C3C;
}
.footer-col {
  padding-top: 30px;
}
.footer-col h4 {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 400;
  color: #000;
}
.footer-col ul {
  list-style: none;
  display: flex;
  margin: 0 auto;
  justify-content: center;  
   gap: 35px;
}
.footer-col li {
  align-items: center;
  font-size: 16px;
  color: #606060;
}
.footer-col li .icon {
  width: 13px;
  margin-right: 8px;
}
.footer-links li a,
.footer-col li a {
  color: #3C3C3C;
  text-decoration: underline;
  transition: color .2s;
}
.footer-links li a:hover,
.footer-col li a:hover {
  color: #3C3C3C;
  text-decoration: none;
  transition: color .2s;
  background: transparent;
}
.site-footer .footer-bottom p {
	text-align: center;
	margin-bottom: 50px;
}

.footer-bottom {
	border-top: 1px solid #D9D9D9 !important;
  }

.footer-bottom .container {
  display: block;
  justify-content: space-between;
  align-items: center;
  padding: 70px 0;
  border-right: 1px solid #D9D9D9;
  border-left: 1px solid #D9D9D9;
  text-align: center;
}
.back-to-top {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 1px solid #40386E;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s;
}
.back-to-top img {
  width: 16px;
  height: 16px;
}
.back-to-top:hover {
  background: rgba(217, 126, 126, 1);
  color: #fff;
}


/* ==========================================================================
   ABOUT US PAGE
   ========================================================================== */


.about-hero-section {
  width: 100vw;
  padding: 80px 0 120px 0;
}

.about-hero-container {
  max-width: 1190px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}

.about-hero-title {
  color: #40386E;
  font-size: 70px;
  font-weight: 900;
  margin-bottom: 40px;
  font-family: "Lato", sans-serif;
}

.about-hero-subtitle {
  color: #000;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "Lato", sans-serif;
}

.about-hero-text {
  color: #606060;
  font-size: 16px;
  line-height: 32px;
  margin: 0 auto;
  font-family: "Lato", sans-serif;
  width: 90%;
}

.about-mission-section {
  width: 100vw;
 background: url(img/different-background.webp) no-repeat top center / cover;
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  display: flex;
  align-items: stretch;
}


.about-mission-container {
  max-width: 1190px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-mission-content {
  flex: 1 1 50%;
  padding-left: 2vw;
  padding-right: 4vw;
}

.about-mission-title {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  font-family: "Lato", sans-serif;
}

.about-mission-text {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 34px;
  font-family: "Lato", sans-serif;
}

.about-mission-text strong,
.about-mission-lead strong {
  color: #FF747F;
  font-weight: 700;
}
.about-mission-text p {
	margin-bottom: 10px;
}

.about-mission-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-mission-image img {
  width: 368px;
  height: auto;
  display: block;
}

.about-texts-section {
  background-color: #fcfcf7;
  width: 100%;
  padding: 0;
}

.about-texts-container {
  max-width: 1190px;
  margin: 0 auto;
  display: block;
}

.about-text-block {
  padding: 70px 0 0 0;
  }

.about-text-icon {
  display: block;
  margin: 0 auto 24px;
  width: 120px;
  height: auto;
}

.about-text-title {
  color: #40386E;
  font-weight: 700;
  text-align: center;
  font-size: 48px;
  margin-bottom: 32px;
}

.about-text-content {
  color: #606060;
  line-height: 34px;
  font-weight: 400;
  font-size: 16px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.about-text-content p {
  margin-bottom: 24px;
}

/* ==========================================================================
   Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 90%;
  width: 90%;
  border-radius: 8px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}


/* ==========================================================================
   MOBILE RESPONSIVE (max-width: 768px)
   ========================================================================== */

 /* =Header Mobile= */
@media (max-width: 768px) {
  /* show hamburger */
  .menu-icon {
    display: block;
    position: relative;
    z-index: 1100;
  }
  header .menu-item {
	  font-size: 24px;
  }
  
  .hero-image {
    margin: 0 auto;
    padding-top: 30px;
}
.hero-title::after {
    width: 100%;
    }
    .logo-icon img {
	    height: 70px; 
    }
    .logo-text img {
	    height: 35px;
    }

  /* container padding */
  .header-container {
    padding: 15px 15px 0 15px;
  }
      .nav-list {
 
        gap: 35px;
        }
   .menu-item.active::after, .menu-item:hover::after, header .current-menu-item::after {
	   bottom: -5px;
   }

  /* slide-menu via transform */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;          
    background: #fcfcf7;     
    transform: translateY(-100%);
    transition: transform 0.1s ease;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  /* when checked, slide into view */
  .menu-toggle:checked ~ .nav {
    transform: translateY(0) !important;
  }
 /* hamburger → “X” */
  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }
  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0 !important;
  }
  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  /* stack links vertically */
  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  /* typography tweaks */
  .menu-item {
    font-size: 33px;
  }
  .contact-btn {
    margin: 20px 0;
    font-size: 19px;
  }


  /* HERO MOBILE */
  .hero {
	  padding: 30px 0 30px;
  }
  .hero-container {
    display: block;
    text-align: center;
    padding-right: 15px;
    padding-left: 15px;
  }
  .hero-text {
	  margin-bottom: 30px;
  }
  .hero-title {
	font-size: 43px;
  }
  .hero-subtitle {
	font-size: 21px;
  }
  .hero-highlight::after {
  display: none;
  }

  /* REALITY MOBILE */
  .reality-section {
	  padding: 40px 0;
  }
  .reality-container {
    flex-direction: column;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  .reality-image,
  .reality-content {
    flex: 1 1 auto;
  }
  .reality-content h2 {
	  font-size: 33px;
  }

  /* DIFFERENT & OFFER MOBILE */
  .different-section {
  padding: 50px 0 40px 0;
  }
  .different-features {
    flex-direction: column;
    align-items: center;
  }
  .offer-container {
    grid-template-columns: 1fr;
  }
  .different-container h2 {
	  font-size: 33px;
	  line-height: 1.2;
  }
  .offer-card h3 {
	  font-size: 29px;
  }
  .different-subtitle {
	  width: 100%;
  }
 .different-container {
	  padding-right: 15px;
	  padding-left: 15px;
  }

  /* CASE STUDIES MOBILE */
  .swiper.case-slider .swiper-slide {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .case-studies h2 {
	  font-size: 33px;
	  margin-bottom: 30px;
  }
  .case-info h3 {
	  font-size: 29px;
  }
  .case-studies {
    padding: 40px 0;
} 
 .case-studies .container {
	 padding-right: 15px;
	 padding-left: 15px;
 }
 .case-decor, img.deco-circle, img.deco-figure {
	 display: none;
 }
  .case-image,
  .case-info {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .case-image img {
    width: 100%;
    height: auto;
  }
  .case-prev,
  .case-next {
    font-size: 28px;
  }
  .case-controls {
    gap: 20px;
    margin-top: 30px;
  }
  .case-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  /* OUR PROCESS MOBILE */
  .process-section {
	  padding: 50px 0;
  }
  .process-section .container {
	  padding-left: 15px;
	  padding-right: 15px;
  }
  .process-step {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
    position: static;
  }
  .process-section h2 {
	  font-size: 33px;
  }
  .process-content h3 {
	  font-size: 29px;
  }
  .process-number {
    position: static;
    transform: none;
    margin-bottom: 0;
    width: 56px;
    height: 56px;
  }
  .process-step.odd .process-content,
  .process-step.even .process-content { margin: 0; text-align: center; }
/* Contact Us */

.contactsection .container {
    width: 1070px;
}

.contactsection .subtitle {
	width: 75%;
	margin: 15px auto;
}

.contform {
	margin-top: 80px;
	background: #fff;
	padding: 50px;
	border-radius: 40px;
}
.contform .columns {
	display: flex;
    gap: 2.5rem;
    margin: 0;
}
.contform .columns .col {
	width: 50%;
}
.contform .columns .col .label {
	width: 100%;
}
.contform .columns input[type="text" i], .contform .columns input[type="email" i], .contform .columns input[type="tel" i], .contform textarea  {
	width: 100%;
	padding-left: 0;
}
.contform p {
	text-align: left;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	color: #000;
}
.contform input::-webkit-input-placeholder, .contform textarea::-webkit-input-placeholder {
	color: #878787;
	font-size: 18px;
}
.contform input, .contform textarea {
	border-top: none;
	border-right: none;
	border-left: none;
	border-bottom: 1px solid #878787;
	background: transparent;
	padding-bottom: 15px;
	padding-top: 25px;
	font-family: Lato, sans-serif;
	border-radius: 0;
}

.contform :focus-visible {
    outline: none;
}
.contform textarea {
  resize: none;
}
.contform input[type="submit" i] {
	background: #F8475F;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    border-radius: 70px;
    padding: 18px 35px 18px 35px;
    letter-spacing: 1px;
    cursor: pointer;
}
.contform input[type="submit" i]:hover {
	background: #353579;
}
.contform .submbutton {
	padding-top: 20px;
	display: flex;
    gap: 1.5rem;
    margin: 0;
    justify-content: space-between;
}
.contform .notification {
	padding-right: 40%;
}
.contform .notification p {
	color: #878787;
	font-size: 18px;
	text-transform: none;
	font-weight: 400;
	line-height: 21px;
}

.notification img {
	width: 64px;
	height: auto;
	margin-right: 15px;
	text-align: right;
	float: left;
	margin-top: -10px;
}

/* Contact Us Mobile */

@media only screen and (max-width: 767px) {	
	.contactsection {
		margin-bottom: 90px;
	}
	.contactsection .container { 
	width: 100%;
    overflow: hidden;
    display: block;
    padding-right: 25px;
    padding-left: 25px;
    
    }
	.contform .columns, .contform .submbutton {
    display: block;
	}
	.contform .columns .col {
	width: 100%;
	}
	.contform {
	border-radius: 15px;
	}
	.contform .notification {
		padding-right: 0;
	}
	.contform input[type="submit" i] {
		width: 100%;
	}
	}
	
	/* Contact Us Tablet */

@media only screen and (min-width: 768px) and (max-width: 1023px) {  
	.contform .notification {
		padding-right: 0;
	}
	}
	


  /* SPONSOR MOBILE */
  .sponsor-section {
	  margin: 50px 0;
	  padding-right: 15px;
	  padding-left: 15px;
  }
  .sponsor-container {
    padding: 60px 20px;
    border-radius: 30px;
  }
  .sponsor-container h2 {
    font-size: 27px;
    margin-bottom: 16px;
  }
  .sponsor-text {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .sponsor-btn {
    padding: 14px 32px;
    font-size: 14px;
  }
   /* FAQ MOBILE */
  .faq h2 {
	  font-size: 33px;
	  line-height: 1.2;
  }
  .faq .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  .faq .accordion {
	  font-size: 18px;
  }
  .faq-block {
	  margin-bottom: 0;
  }
    /* FOOTER MOBILE */
    .site-footer {
	    margin-top: 0;
    }
    .site-footer {
	    padding-right: 15px;
	    padding-left: 15px;
    }
    
    .footer-col ul {
    display: block;
    justify-content: center;
    list-style: none;

}
    
  .footer-top {
	 display: block; 
  }
  
   /* ABOUT US MOBILE */
   
   .about-hero-section {
	   padding: 40px 0 60px 0;
   }
   
   .about-hero-title {
	   font-size: 40px;
	   margin-bottom: 25px;
   }
   .about-hero-subtitle {
	   font-size: 24px;
	   line-height: 1.2;
	   margin-bottom: 10px;
   }
   .about-hero-text {
	   width: 100%;
   }
   .about-hero-container {
	   padding-right: 15px;
	   padding-left: 15px;
   }
    .about-mission-section {
	padding: 60px 0;	 
 }
  .about-mission-container {
	  display: block;
  }
  .about-mission-content {
	  padding-right: 15px;
	  padding-left: 15px;
	  text-align: center;
	  margin-bottom: 35px;
  }
  .about-mission-title {
	  font-size: 33px;
	  text-align: center;
  }
  .about-mission-image img {
	  max-width: 250px;
  }
.about-texts-container {
	padding-right: 15px;
	padding-left: 15px;
}
.about-text-title {
	font-size: 27px;
	line-height: 1.2;
}
.about-text-content {
	width: 100%;
}

}

/* ==========================================================================
   TABLET (min-width: 768px & max-width: 1023px)
   ========================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /* — Header — */
  .header-container {
	  padding-left: 15px;
	  padding-right: 15px;
  }
  .menu-icon {
    display: none !important;    /* на планшетах снова показываем обычное меню */
  }
  .nav {
    position: static;
    transform: none !important;
    height: auto !important;
    background: none;
    flex-direction: row;
    gap: 24px;
    padding: 0;
  }
  .nav-list {
    flex-direction: row;
    gap: 24px;
    padding: 0;
  }
  .contact-btn {
    margin: 0;
    font-size: 14px;
    padding: 10px 23px;
  }

  /* — Hero — */
  .hero-container {
    padding: 0 15px;
  }
  .hero-text {
    flex: 1 1 50%;
}
.hero-image {
	flex: 1 1 30%;
}
  .hero-highlight::after {
	  display: none;
  }
  .hero-subtitle {
    font-size: 21px;
  }
  .hero-title {
    font-size: 38px;
    line-height: 1.2;
  }

  /* — Reality Section — */
  .reality-container {
    gap: 48px;
    padding-right: 15px;
    padding-left: 15px;
  }
  .reality-content h2 {
    font-size: 38px;
  }
  .reality-image {
	flex: 1 1 40%;
  }

  /* — What Makes Us Different — */
  .different-container {
    padding: 0 20px;
  }
  .different-container h2 {
    font-size: 38px;
  }
  .different-features {
    gap: 32px;
  }
  .feature img {
    width: 66px;
    margin-bottom: 12px;
}
.feature {
    flex: 1 1 150px;
    max-width: 150px;
}

  /* — Offer Section — */
  .offer-container {
    gap: 32px;
  }
  .offer-card {
    padding: 32px;
  }
  .offer-card h3 {
    font-size: 32px;
  }

  /* — Case Studies — */
  
  
  .case-studies {
    padding: 80px 0;
  }
  
  .case-studies .container {
	 padding-left: 15px;
	 padding-right: 15px;
  }
  .case-studies h2 {
    font-size: 38px;
    margin-bottom: 48px;
  }
  .case-image img {
    width: 300px;
    height: auto;
  }
  .case-info h3 {
    font-size: 32px;
  }
  .case-info p {
    font-size: 14px;
    line-height: 28px;
  }
  .case-controls {
    gap: 32px;
  }
  .case-decor, img.deco-circle, img.deco-figure {
	  display: none;
  }

  /* — Our Process — */
  .process-section {
    padding: 80px 0;
  }
  .process-section .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  .process-section h2 {
    font-size: 38px;
    margin-bottom: 48px;
  }
  .process-number {
    width: 56px;
    height: 56px;
  }
  .process-content h3 {
    font-size: 32px;
  }
  .process-content p {
    font-size: 14px;
    line-height: 28px;
  }

  /* — Ready-to-Start CTA — */
  
  
  .process-cta {
    padding-top: 80px;
  }
  .process-cta h2 {
    font-size: 32px;
  }
  .process-subtitle {
    font-size: 12px;
  }
  .process-text {
    font-size: 14px;
    line-height: 28px;
  }
  .process-btn {
    padding: 10px 28px;
    font-size: 14px;
  }

  /* — Contact Our Team — */
  
  .contact-team {
	      padding: 60px 0;
  }
  .contact-container {
    padding: 0 20px;
  }
  .contact-info h2 {
    font-size: 23px;
    margin-bottom: 5px;
  }
  .contact-info p {
	font-size: 14px;
    line-height: 26px;
  }
  .contact-grid {
    gap: 24px 32px;
  }

  /* — Sponsor Section — */
  
  .sponsor-section {
	padding-right: 15px;
	padding-left: 15px;
	margin: 60px 0;  
  }
  .sponsor-container {
    padding: 8% 20px;
  }
  .sponsor-container h2 {
    font-size: 32px;
  }
  .sponsor-text {
    font-size: 14px;
    line-height: 28px;
  }
  .sponsor-btn {
    padding: 14px 48px;
    font-size: 14px;
  }

  /* — FAQ Section — */
  .faq {
	  margin-bottom: 60px;
  }
  .faq .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  .faq h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }
  .faq .accordion {
    font-size: 20px;
    padding: 16px;
  }
  .faq .panel p {
    font-size: 14px;
    line-height: 28px;
  }

  /* — Footer — */
  .footer-top {
    padding: 40px 20px;
    gap: 24px;
  }
  .footer-desc {
    font-size: 14px;
    line-height: 28px;
  }
  .back-to-top {
    width: 36px;
    height: 36px;
  }
  
  .footer-bottom .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  
   /* ABOUT US Tablet */
   
   .about-hero-title {
	   font-size: 43px;
   }
   .about-hero-subtitle {
	   font-size: 24px;
   }
   .about-hero-section {
    padding: 30px 0 80px 0;
}
.about-mission-content {
	padding: 0;
}
.about-mission-container {
	padding-right: 15px;
	padding-left: 15px;
}
.about-mission-title {
	font-size: 33px;
}
.about-mission-image img {
	max-width: 240px;
}
.about-text-title {
	font-size: 33px;
}
   
}

.font-bold {
	font-weight: bold;
    margin-bottom: 5px;
}

@media only screen and (max-width: 767px) {
	.contact-team .contact-container {
		flex-direction: column
	}

	.contact-team .contact-container .contact-info {
		max-width: 100%;
		padding-left: 10%;
	}

	.contact-team .contact-container .contact-grid {

		max-width: 100%;
		padding-right: 5%;
	}
}

 /* Apply Box section Homepage */
 
.applybox {
	padding: 130px 0 70px 0;
    text-align: center;
    }
.applybox h2 {
    text-align: center;
    font-size: 48px;
    line-height: 1.2em;
    color: #40386E;
    font-weight: 700;
    margin-bottom: 30px;
}

.applybox .video-wrapper {
	margin-bottom: 50px;
}
.applybox .textarea {
	width: 85%;
	margin: 0 auto 70px auto;
}
.applybox .textarea p {
    font-size: 16px;
    line-height: 34px;
    color: #606060;
    margin-bottom: 16px;
}
.apply-btn {
  display: inline-block;
  padding: 16px 68px;
  background-color: #FF747F;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  border-radius: 40px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background-color 0.3s;
}

 /* Partners Slider */

.partners {
	padding: 130px 0 70px 0;
}
.partners .container {
	margin: 0 auto;
    width: 1190px;
    text-align: center;
}
.partners h2 {
    text-align: center;
    font-size: 48px;
    line-height: 1.2em;
    color: #40386E;
    font-weight: 700;
    margin-bottom: 30px;
}
.partnerslider {
	margin-top: 60px;
}
.partnerslider .slide img {
	max-height: 90px;
	max-width: 220px; 
	object-fit: cover;
}
.partnerslider .slick-track {
	display: flex;
}
.partnerslider .slide {
  display: flex;
  justify-content: center; 
  align-items: center; 
  position: relative;
  align-self: center;
}
.footer-bottom a {
color: #3C3C3C;
text-decoration: underline;
}
.footer-bottom a:hover {
	text-decoration: none;
}

@media only screen and (max-width: 767px) {
	.applybox {
	padding: 40px 0;
    text-align: center;
    }
    .applybox h2, .partners h2 {
   font-size: 33px;
   margin-bottom: 30px;
	}
	.applybox .textarea {
	width: 100%;
	margin: 0 auto 30px auto;
	}
	.applybox .container {
		padding-left: 15px;
		padding-right: 15px;
	}
	.partners .container {
        width: 100%;
        overflow: hidden;
        display: block;
        padding-right: 15px;
        padding-left: 15px;
	}
	.partners {
	padding: 80px 0 0 0;
}
	}
	
	<style>
  /* Kosher Debt Help – Inline styles just for this block */
/* Container */
.kdh-wrap {
  max-width: 760px;        /* comfortable line length */
  margin: 0 auto;
  padding: 32px 20px;
}

/* We’re NOT using a white card anymore */
/* Kosher Debt Help Section – refined version */
.kdh-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px;
}

.kdh-prose {
  color: inherit;
}

/* Headings and text */
.kdh-prose h2, .kdh-prose h3 {
  text-align: center;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.25;
}
.kdh-prose h3 { font-size: 1.125rem; }
.kdh-prose p {
  margin: 0 0 14px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: inherit;
}
.kdh-lead   { font-size: 1.25rem; font-weight: 500; }
.kdh-italic { font-style: italic; }
.kdh-strong { font-weight: 700; }

/* ✅ Indented and aligned list */
.kdh-list {
  list-style: disc inside;
  padding-left: 2rem;       /* Increased from 0 to 2rem for deeper indent */
  margin: 6px auto 18px;
  max-width: 38rem;
  text-align: left;
}
.kdh-list li {
  margin: 0.35rem 0;
  padding-left: 0.25rem;
}

/* Divider */
.kdh-divider {
  height: 1px;
  background: currentColor;
  opacity: 0.12;
  border: 0;
  margin: 20px 0;
}

/* Google Calendar embed */
.kdh-calendar {
  min-width: 320px;
  height: 600px;
  border: 0;
}

@media (max-width: 480px) {
  .kdh-wrap { padding: 24px 16px; }
  .kdh-prose p, .kdh-list { font-size: 1rem; }
  .kdh-calendar { height: 680px; }
}

.video-responsive {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Базовое состояние — десктоп */
.homepage-sections {
  display: flex;
  flex-direction: column;
}

.hero               { order: 1; }
.quote              { order: 2; }
.reality-section    { order: 3; }

/* ✅ Мобильный частичный reorder */
@media (max-width: 767px) {
  .reality-section { order: 1; }
  .hero            { order: 2; }
  .quote           { order: 3; }
}

.consultationhero {
	padding-top: 120px;
}
.consultationhero .container {
	border-right: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
    margin-top: -265px;
    padding-top: 265px;
    padding-bottom: 60px;
    }
.calendar .container {
	border-right: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
    padding-top: 30px;
	padding-bottom: 30px;
}
.calendar {
	border-top: 1px solid #D9D9D9;
}

h1.consultationpage {
	font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 44px;
    line-height: 1.2em;
    color: #3C3C3C;
    margin-bottom: 50px;
    text-align: left;
}

h2.consultationpage {
	color: #3C3C3C;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 100px;
    font-family: "Lato", sans-serif;
    text-align: left;
}

.consultationpage ul {
  display: inline-block;    
  text-align: left;         
  margin: 0 auto;           
  padding-left: 1.2em; 
  margin-bottom: 25px;    
}

.consultationpage li {
  margin-bottom: 10px;
  color: #606060;
}
.consultationpage h3 {
	margin-bottom: 25px;
	font-size: 23px;
}


@media (max-width: 767px) {
	.consultationhero {
	padding-right: 15px;
	padding-left: 15px;
	margin-top: 0;
	padding-top: 0;
}
.consultationhero .container {
	border-right: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
    margin-top: 0;
    padding: 60px 25px 60px 25px;
    }
  .calendar {
	 padding-right: 15px;
	padding-left: 15px; 
  }

	h1.consultationpage {
	font-size: 33px;
	line-height: 1.3em;	
		}
		
	h2.consultationpage {
		font-size: 23px;
	line-height: 1.3em;		
		}
	}

.team-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 32px;
}

.team-card {
	flex: 0 1 calc((100% - 64px) / 3); 
	border: 1px solid rgba(206, 206, 206, 1);
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.3s ease;
}

.team-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.team-name {
	font-weight: 700;
	margin: 0;
	text-align: left;
	font-size: 26px;
	color: #000;
	font-family: 'Lato', sans-serif;
	text-align: left;
}

.team-role {
	color: rgba(113, 113, 113, 1);
	font-size: 16px;
	margin-bottom: 24px;
	text-align: left;
}

.team-readmore-btn {
	background: none;
	border: none;
	color: #000;
	font-weight: 400;
	cursor: pointer;
	font-size: 16px;
	letter-spacing: 0.5px;
	display: flex;
	align-items: left;
	text-transform: uppercase;
	gap: 6px;
	    padding-inline: 0;
	    margin: 0 auto;
}



.team-readmore-btn .arrow-icon {
	margin-left: 6px;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	stroke-width: 2.5;
}

.team-readmore-btn .arrow {
	font-size: 12px;
	transform: translateY(1px);
}
.team-section .container {
    margin: 0 auto;
    width: 1240px;
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .team-section .container {
        padding-top: 0;
        padding-bottom: 0;
        padding-right: 25px;
        padding-left: 25px;
        width: 100%;
    }
    h2.team-title {
  font-size: 37px;
  line-height: 45px;
}
    .team-card {
		flex: 1 1 100%;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1023px) { 
	.team-section .container {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-right: 25px;
        padding-left: 25px;
        width: 100%;
    }
	.team-card {
		flex: 0 1 calc((100% - 32px) / 2); 
	}
}

.team-description {
	margin-top: 16px;
	color: rgba(113, 113, 113, 1);
	line-height: 1.5;
	font-size: 16px;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease;
	text-align: center;
}

.team-card.open {
	background-color: #fff;
}

.team-card .team-name, .team-card .team-role {
	text-align: center;
}

.team-card .team-role {
	color: #000;
	font-weight: 700;
	font-size: 13px;
}

.team-card.open .team-description {
	opacity: 1;
	max-height: 800px;
}

.team-card .teamimage {
	border-radius: 50%;
	width: 120px;
	height: 120px;
	object-fit: cover;
}

.team-card.open .team-readmore-btn {
	color: #40386E;
}

.arrow-icon {
	transition: transform 0.3s ease;
}

.team-card.open .arrow-icon {
	stroke: #40386E;
	transform: rotate(180deg);
}

.team-card.open .team-description {
	display: block;
	opacity: 1;
	max-height: 800px;
}

.team-card.open .team-description p {
	margin-bottom: 15px;
}

.team-card.open .btn-text {
	content: "Close";
}

h2.team-title {
	color: #40386E;
    font-weight: 700;
    text-align: center;
    font-size: 48px;
    margin-bottom: 32px;
}

/* базовая раскладка слайдов */
.partnerslider .slide {
  display:flex !important; justify-content:center; align-items:center;
  padding: 10px 20px;              /* чтобы масштаб не резался по краям */
  overflow: visible;               /* на случай, если scale чуть выходит */
  
}

/* изображение партнёра */
.partnerslider .slide img.thumbfeatured {
  max-width: 100%;
  height: auto;
  transform: translateZ(0);        /* сглаживаем */
  will-change: transform;
  transition: transform .28s ease; /* плавность */
  transform-origin: center center;
}

/* эффект наведения и фокуса с клавиатуры */
.partnerslider .slide:hover img.thumbfeatured,
.partnerslider .slide a:focus img.thumbfeatured,
.partnerslider .slide a:active img.thumbfeatured {
  transform: scale(1.06);
}

/* уважение настроек «уменьшить анимацию» */
@media (prefers-reduced-motion: reduce) {
  .partnerslider .slide img.thumbfeatured { transition: none; }
}

.rounded-video {
  border-radius: 20px;        /* радиус скругления */
  overflow: hidden;           /* чтобы углы не "вылазили" за рамку */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* лёгкая тень, опционально */
}

/* если iframe адаптивный через padding-bottom */
.rounded-video iframe {
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: block;
}

/* HOMEPAGE V2 */

h2.sectiontitle {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.2em;
	color: #3C3C3C;
	text-align: center;
}

.ourmission {
	padding-top: 150px;
	padding-bottom: 170px;	
}
.ourmission .textcontainer {
	max-width: 800px;
	margin: 0 auto;
}
.ourmission h1 {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.2em;
	color: #3C3C3C;
	margin-bottom: 80px;
}
.ourmission h2 {
	font-family: "Lato", sans-serif;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.5px;
	line-height: 1.2em;
	color: #3C3C3C;
	text-transform: uppercase;
}
.contextbutton {
	display: inline-flex;
	align-items: center;
    padding: 12px 35px;
    color: #fff;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-right: 25px;
    gap: 10px;
}
.contextbutton img {
	border: none;
}
.red {
	background-color: #D97E7E;
}
.red:hover {
	background-color: #34427A;
}
.blue {
	background-color: #34427A;
}
.blue:hover {
	background-color: #D97E7E;
}
.homepagetitle {
    position: relative;
}
.homepagetitle span {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.homepagetitle span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px; 
    width: 110%;   
    height: 23px;
    background: url('img/sign.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
}
.videosection, .partnershome, .textcontentblock, .programsection, .mainpartners, .appointsection {
	border-top: 1px solid #D9D9D9;
}
.videosection .container, .partnershome .container, .textcontentblock .container, .programsection .container, .mainpartners .container, .appointsection .container  {
	border-right: 1px solid #D9D9D9;
	border-left: 1px solid #D9D9D9;
}
.partnershome .container {
	padding-left: 30px;
	padding-right: 30px;
}
.partnershome .container, .textcontentblock .container, .programsection .container, .mainpartners .container, .appointsection .container {
	padding-top: 120px;
	padding-bottom: 120px;
}
.textcontentblock h3 {
	color: #D97E7E;
	font-family: "Playfair Display", serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.2em;
	margin: 0 auto 30px auto;
	width: 80%;
}
.textcontent {
	font-family: "Lato", sans-serif;
	font-size: 18px;
	line-height: 1.3em;
	color: #3C3C3C;
	margin: 0 auto;
	width: 80%;
}
.textcontent ul {
	margin-left: 15px;
	margin-bottom: 30px;
}
.textcontent ul li {
	margin-bottom: 15px;
}
.textcontent p {
	margin-bottom: 20px;
}
.programsection .textcontent, .programsection h2, .programsection h4 {
	text-align: center;
}
.programsection h2 {
	max-width: 80%;
	margin: 0 auto 25px auto;
}
.sectionsubtitle {
	font-family: "Lato", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3em;
	color: #3C3C3C;
	max-width: 80%;
    margin: 0 auto 30px auto;
}

.programsection .textblockbutton {
	text-align: center;
}

.programicons {
	display: grid;
    grid-template-columns: repeat(4, 1fr); /* десктоп – 4 */
    gap: 40px;
    max-width: 1100px;

    text-align: center;
    flex-wrap: wrap; 
    max-width: 1100px;
    margin: 90px auto 90px auto;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.feature-item img {
    width: auto;
    height: 80px;
    margin-bottom: 20px;
}

.feature-item p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #3C3C3;
    }
.mainpartners .sectiontitle {
	max-width: 80%;
    margin: 0 auto 60px auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    align-items: center;
    gap: 50px 80px;
}

.partner-item img {
    height: 90px;
    width: auto;
    object-fit: contain;
}
.appointsection .sectiontitle {
	margin: 0 auto 15px auto;
}
.appointsection .textcontent {
	text-align: center;
}
.appointsection .hero-image {
	margin-bottom: 35px;
}
.appointsection .hero-image img {
	margin: 0 auto;
	max-width: 250px;
	height: auto;
}
.appointsection .appoint-grid {
	display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}
.appointsection p {
	margin-bottom: 60px;
}
.appointsection .appoint-grid img {
	height: 45px;
    width: auto;
    margin-bottom: 15px;
}
.appointsection .appoint-item {
	height: 180px;                 /* фиксированная высота */
    display: flex;
    flex-direction: column;
    justify-content: center;       /* центровка по вертикали */
    align-items: center;           /* центровка по горизонтали */
    text-align: center;
    background: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 24px 30px -15px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.appointsection .appoint-item:hover {
	transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.appointsection .appoint-item h5 {
	font-family: "Lato", sans-serif;
	color: #3C3C3C;
	font-size: 18px;
	font-weight: 400;
}
.appointsection a {
	text-decoration: none !important;
	color: #3C3C3C;
}

/* Базовое состояние — десктоп */
.homepage_v2 {
  display: flex;
  flex-direction: column;
}

.ourmission         { order: 1; }
.videosection       { order: 2; }

/* ✅ Мобильный частичный reorder */
@media (max-width: 767px) {
	.videosection       { order: 1; }
.ourmission         { order: 2; }
}

@media (max-width: 767px) {
	.videosection {
		padding: 30px 15px 0 15px;
		border: none;
	}
	.videosection .container {
		border: none;
	}
	.ourmission {
		padding: 0 15px 0 15px;
	}
	.ourmission .container {
	border-left: 1px solid #D9D9D9;
	border-right: 1px solid #D9D9D9;
	padding: 80px 25px 80px 25px;
	}
	.ourmission h1 {
    font-size: 27px;
    line-height: 1.2em;
    margin-bottom: 50px;
	}
	.ourmission h2 {
	font-size: 12px;	
	}
	.contextbutton {
	font-size: 14px;
	width: 100%;
	justify-content: center;
	margin-bottom: 20px;
	}
	.textcontentblock h3 {
		font-size: 27px;
	}
	.textcontent {
		font-size: 16px;
	}
	.partnershome, .textcontentblock, .programsection, .mainpartners, .appointsection {
    border: none;
    border-top: 1px solid #D9D9D9;
    padding-right: 15px;
    padding-left: 15px;
	}
	.partnershome .container, .textcontentblock .container, .programsection .container, .mainpartners .container, .appointsection .container {
	border-right: 1px solid #D9D9D9;
	border-left: 1px solid #D9D9D9;	
	padding: 60px 25px 60px 25px;
	}
	.textcontent, .textcontentblock h3 {
		width: 100%;
	}
	.sectionsubtitle {
		font-size: 12px;
		margin: 0 auto 10px auto;
	}
	.programsection h2 {
    max-width: 100%;
    font-size: 30px;
}
.feature-item {
    min-width: inherit;
}
	.feature-item p {
		font-size: 13px;
	}
	.programicons {
		grid-template-columns: repeat(2, 1fr);
	}
	.mainpartners .sectiontitle, h2.sectiontitle {
		max-width: 100%;
		font-size: 30px;
	}
	.partners-grid {
    gap: 30px 30px;
}
.appointsection .appoint-grid {
	display: block;
}
.appointsection .appoint-item {
	margin-bottom: 25px;
	padding: 10px;
}
.appointsection .appoint-grid img {
	height: 55px;
}
	}