      @media (max-width: 1000px) {
        .col-6 {
          width: 100%;
          margin-bottom: 20px;
        }
        
        .img-col img {
          width: auto;
          height: auto;
        }
        .col-lg-6[style*="align-self: flex-start"] {
          padding-top: 50px;
        }
      }
      @media (min-width: 1001px) and (max-width: 1400px) {
        .row .col-6:nth-child(4) .img-col {
          margin-top: -200px;
        }
      }

      @media (min-width: 1401px) {
        .row .col-6:nth-child(2) .img-col {
          margin-top: 13px;
        }
        
        .row .col-6:nth-child(4) .img-col {
          margin-top: -233px;
        }
        
        .row .col-6:nth-child(2) .img-col img,
        .row .col-6:nth-child(4) .img-col img {
          transform: scale(1.11);
        }
        
        .col-lg-7 {
          width: 58.33%;
        }
      }

      /* Для мобильных устройств (до 768px) */
      @media (max-width: 768px) {
        .col-6.col-lg-3 {
          width: 100%;
          margin-bottom: 20px;
        }
        
        .col-lg-6.mx-auto.text-left.about-block {
          padding-top: 50px;
        }
        .img-col {

        }
        
        .img-abocolut img {
          width: 100%;
          height: auto;
        }
      }

      /* Для планшетов (768px - 1000px) */
      @media (min-width: 769px) and (max-width: 1000px) {
        .col-6.col-lg-3 {
          width: 50%;
          margin-bottom: 20px;
        }
        
        /* Создаем сетку 2x2 */
        .row {
          display: flex;
          flex-wrap: wrap;
        }
        
        .col-6.col-lg-3:nth-child(1),
        .col-6.col-lg-3:nth-child(2) {
          margin-bottom: 20px;
        }
      }

      /* Для десктопов (больше 1000px) */
      @media (min-width: 1001px) {
        .col-6.col-lg-3 {
          width: 25%;
        }
        .col-lg-6.mx-auto.text-left.about-block {
          padding-left: 150px !important;
        }
        .row.justify-content-left.footer-cta.offset-0 {
          padding-left: 150px;
        }
        .btn.btn-primary.text-white.py-3.px-4 {
          margin-bottom: -100px;
        }
        .row.section-counter.mt-5 {
          padding-top: 50px;
        }
        .col-lg-6 {
        width: calc(50% - 100px);
        margin: 0 auto;
      }
      }

      .img.doted-right,
      .img-col.doted-right {
        position: relative; }
        .img.doted-right:after,
        .img-col.doted-right:after {
          position: absolute;
          z-index: -2;
          bottom: -80px;
          right: -60px;
          content: "";
          width: 412px;
          height: 120px;
          background: url("../images/dots.png") no-repeat; }

      .img.doted-left,
      .img-col.doted-left {
        position: relative; }
        .img.doted-left:after,
        .img-col.doted-left:after {
          position: absolute;
          z-index: -2;
          bottom: -50px;
          right: 140px;
          content: "";
          width: 412px;
          height: 120px;
          background: url("../images/dots.png") no-repeat; }

      .box-feature {
        transition: all 0.3s ease;
        padding: 30px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      }

      .box-feature:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
      }

      .icon-wrapper {
        margin-bottom: 20px;
      }

      .animated-icon {
        transition: all 0.3s ease;
      }

      .box-feature:hover .animated-icon {
        transform: scale(1.2);
        color: rgb(255, 101, 0);
      }

      .counter-wrapper {
        margin: 20px 0;
        font-size: 24px;
        font-weight: bold;
        color: rgb(0, 85, 85, 0.8);
      }

      .counter-label {
        display: block;
        font-size: 14px;
        color: #666;
        margin-top: 5px;
      }

      .learn-more {
        color: rgb(0, 85, 85, 0.8);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
      }

      .learn-more:hover {
        color: rgb(0, 85, 85, 0.8);
        text-decoration: underline;
      }

      .quiz-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 40px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      }

      .quiz-progress {
        height: 4px;
        background: #eee;
        margin-bottom: 30px;
        border-radius: 2px;
        position: relative;
        overflow: hidden;
      }

      .progress-bar {
        height: 100%;
        background: rgb(0, 85, 85, 0.3);
        width: 0;
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
        position: absolute;
        left: 0;
        top: 0;
      }

      .progress-dots {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 2;
      }

      .progress-dot {
        width: 20px;
        height: 20px;
        background: #eee;
        border-radius: 50%;
        margin: 0 -6px;
        transition: all 0.5s ease;
      }

      .progress-dot.active {
        background: #004848;
        transform: scale(1.1);
      }

      .quiz-step {
        display: none;
        animation: fadeIn 0.5s ease;
      }

      .quiz-step.active {
        display: block;
      }

      .options-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 50px;
        margin-top: 50px;
      }

      .option-btn {
        padding: 15px;
        border: 2px solid rgb(128, 188, 189);
        background: white;
        color: rgb(127, 127, 127);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        overflow: hidden;
        z-index: 1;
      }

      .option-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgb(128, 188, 189);
        transition: all 0.4s ease;
        z-index: -1;
      }

      .option-btn:hover::before {
        left: 0;
      }

      .option-btn:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgb(128, 188, 189);
      }

      .option-btn.selected {
        background: rgb(128, 188, 189);
        border: 2px solid rgb(128, 188, 189);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgb(128, 188, 189);
      }

      .quiz-navigation {
        display: flex;
        justify-content: space-between;
        margin-top: 50px;
      }


      .quiz-form {
        margin-top: 20px;
      }

      .form-group {
        margin-bottom: 15px;
      }

      .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        transition: all 0.3s ease;
      }

      .form-group input:focus {
        border-color: rgb(128, 188, 189);
        box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
      }

      .social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
      }

      .social-icon {
        font-size: 15px;
        color: rgb(35, 45, 63, 0.5);
        transition: all 0.3s ease;
      }

      .social-icon:hover {
        transform: scale(1.1);
        color: rgb(35, 45, 63, 0.8);
      }

      @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
      }

      @keyframes modalAppear {
        from { opacity: 0; transform: scale(0.9); }
        to { opacity: 1; transform: scale(1); }
      }

      @media (max-width: 768px) {
        .options-grid {
          grid-template-columns: 1fr;
        }
      }

      .quiz-image {
        max-width: 50%;
        margin: 0 auto;
        height: auto;
        padding-bottom: 30px;
      }

      @media (max-width: 768px) {
        .quiz-image {
          max-width: 100%;
          height: auto;
        }
        .options-grid {
          grid-template-columns: 1fr;
        }
      }

      .feature-h {
        position: relative;
        margin-bottom: 30px;
      }

      .feature-h .heading {
        position: relative;
        padding-bottom: 5px;
      }

      .feature-h .heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: rgb(0, 85, 85, 0.8);
        transition: width 0.3s ease;
      }

      .feature-h:hover .heading::after {
        width: 100%;
      }

      .feature-h .wrap-icon {
        cursor: pointer;
      }

      .feature-h .wrap-icon:hover + .feature-text .heading::after {
        width: 100%;
      }

      .quiz-step-image {
        max-width: 400px;
        margin: 0 auto;
      }

      .quiz-step-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
      }

      .quiz-btn-primary {
        background: rgb(0, 85, 85);
        color: white;
        border: 2px solid rgb(0, 85, 85);
        border-radius: 25px;
        padding: 10px 30px;
        transition: all 0.3s ease;
      }

      .quiz-btn-primary:hover {
        background: white;
        color: rgb(0, 85, 85);
        border: 2px solid rgb(0, 85, 85);
        box-shadow: 0 0 0 2px rgba(0, 85, 85, 0.5);
      }

      .quiz-btn-secondary {
        background: rgb(35, 45, 63);
        color: white;
        border: 2px solid rgb(35, 45, 63);
        border-radius: 25px;
        padding: 10px 30px;
        transition: all 0.3s ease;
      }

      .quiz-btn-secondary:hover {
        background: white;
        color: rgb(35, 45, 63);
        border: 2px solid rgb(35, 45, 63);
        box-shadow: 0 0 0 2px rgba(35, 45, 63, 0.5);
      }

      .quiz-btn-primary,
      .quiz-btn-secondary {
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      .parallax {
          background-image: url(../images/hero_bg_1.webp);
          height: 500px;
          background-attachment: fixed;
          display: flex;
          justify-content: center;
          color: #ffffff;
          font-size: 60px;
          align-items: center;
          position: relative;
      }
      .parallax .mask {
          position: absolute;
          width: 100%;
          height: 100%;
          background: rgba(0,0,0,.6);
          z-index: 2;
      }
      .parallax h1 {
          z-index: 3;
      }

      @media (max-width: 999px) {
        .cd-headline.slide {
          font-size: 4.5em;
          line-height: 0.55;
        }
        
        .cd-headline.slide span {
          display: block;
          margin-bottom: 10px;
        }
        
        .cd-words-wrapper {
          padding-bottom: 0 !important;
        }
        
        .cd-headline.slide b {
          display: block;
          margin-bottom: 10px;
        }

        .cd-headline.slide span[style*="margin-top"] {
          padding-top: 25px !important;
        }
      }

      @media (max-width: 768px) {
        .cd-headline.slide {
          font-size: 4em;
        }
        
        .cd-headline.slide span {
          margin-bottom: 5px;
        }

        .cd-headline.slide span[style*="margin-top"] {
          margin-top: -10px !important;
        }
      }

      @media (min-width: 990px) and (max-width: 1400px) {
        .btn.btn-primary,
        .btn.btn-light {
          white-space: nowrap !important; 
          padding: 15px 20px;
          font-size: 1.2em;
        }
      }
      

      .quiz-background {
        background: linear-gradient(135deg, rgba(0, 85, 85, 0.1) 0%, rgba(128, 188, 189, 0.1) 100%);
        padding: 60px 0;
        margin: 40px 0;
        background-image: url('../images/wood.webp');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        position: relative;
        overflow: hidden;
      }

      .quiz-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(242, 243, 246, 0.7);
        z-index: 1;
      }

      .quiz-background .container {
        position: relative;
        z-index: 2;
      }


      .map-container {
        position: relative;
        width: 100%;
        height: 800px;
      }

      #map {
        width: 100%;
        height: 100%;
      }

      .contact-form-desktop {
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
        width: 500px;
        padding-top: 15px;
        z-index: 100;
      }

      .contact-form-mobile {
        display: none;
      }

      .form-wrapper {
        text-align: left;
        padding: 20px 0;
        margin-top: -50px;
      }

      .form-text-wrapper {
        padding-left: 30px;
        margin-top: 50px;
      }

      .form-title {
        font-size: 34px;
        font-weight: 400;
        color: #004848;
        margin-bottom: 15px;
      }

      .form-subtitle {
        font-size: 13px;
        color: #666;
        margin-bottom: 40px;
      }

      @media (max-width: 1000px) {
        .contact-form-desktop {
          display: none;
        }
        
        .contact-form-mobile {
          display: block;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 90%;
          max-width: 500px;
          padding: 20px;
          z-index: 100;
        }
      }

      .b24-form-container {
        margin-top: -40px;
      }


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

      .modal-content {
        padding: 30px;
        border-radius: 10px;
        max-width: 500px;
        width: 90%;
        position: relative;
        animation: modalAppear 0.3s ease;
      }

      .modal-close {
        position: absolute;
        right: 15px;
        top: 15px;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
      }
      
      .modal-close:hover {
        color: #000 !important;
      }
