:root {
     --primary-color: #BF6C3B;
     --secondary-color: #F29C50;
     --background-color: #d2bc97;
     --text-color: #f8f9fa;
     --card-bg: #16213e;
     --header-bg: #F2E9D8;
     --golden-ratio: 0.618;
     --red-bg: #F23535;
     --bs-badge-border-radius: var(--bs-border-radius);
     --bs-heading-color: #266864;
     --f-button-svg-width: 40px;
     --f-button-svg-height: 40px;
 }

 body {
     background-color: var(--background-color);
     color: var(--text-color);
     font-family: 'Montserrat', sans-serif;
 }

 .navbar {
     background-color: var(--header-bg) !important;
 }

 .navbar-nav .nav-link:after {
     content: '';
     display: block;
     background-color: transparent;
     width: 100%;
     height: 3px;
 }

 .navbar-nav .nav-link.active:after,
 .navbar-nav .nav-link:hover:after {
     background-color: var(--secondary-color);
 }

 .image-card {
     background: var(--card-bg);
     color: var(--text-color);
 }

 .image-caption {
     background: var(--header-bg);
 }

 .feature-block {
     background: var(--card-bg);
     color: var(--text-color);
 }

 .btn-primary {
     background-color: var(--primary-color);
     border-color: var(--primary-color);
 }

 .btn-primary:hover {
     background-color: #5a32a3;
     border-color: #5a32a3;
 }

 .hero-section {
     height: calc(60vh - 56px);
     background-image: url(../../images/hero-bg.webp);
     background-position: center;
     background-size: cover;
     position: relative;
     display: flex;
     align-items: center;
     color: white;
 }

 .hero-content {
     padding: 2rem 0;
 }

 .image-card {
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
     margin-bottom: 1.5rem;
 }

 .image-card:hover {
     transform: translateY(-5px);
 }

 .image-card img {
     width: 100%;
     height: 200px;
     object-fit: cover;
 }

 .image-caption {
     padding: 15px;
     background: #f8f9fa;
 }

 .overlap-section {
     margin-top: -80px;
     position: relative;
     z-index: 10;
 }

 .feature-block {
     background: white;
     border-radius: 10px;
     padding: 2rem;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     height: 100%;
     transition: transform 0.3s ease;
 }

 .feature-block:hover {
     transform: translateY(-5px);
 }

 .offcanvas-body .btn {
     width: 100%;
     margin-top: 1rem;
 }

 .icon-whatsapp,
 .icon-tg {
     width: 45px;
     height: 45px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 0.375rem;
 }

 .icons a {
     color: #fff;
 }

 .icon-whatsapp:hover,
 .icon-tg:hover {
     opacity: 0.8;
 }

 .icon-whatsapp {
     background-color: #19c571;
 }

 .icon-tg {
     background-color: #40a7e3;
 }

 .right-bottom-nav,
 .right-bottom-nav a {
     color: #16213e;
 }

 .left-bottom-nav a {
     text-decoration: none;
     color: #fff;
     align-content: center;
     padding: 0 10px;
     border-radius: 0.375rem;
 }

 .left-bottom-nav a:nth-child(1) {
     background-color: var(--secondary-color);
 }

 .left-bottom-nav a:nth-child(2) {
     background-color: var(--red-bg);
 }

 .right-bottom-nav>div {
     border-right: 1px solid #ffffff;
     text-align: center;
     padding: 0 9px;
 }

 @media (max-width: 768px) {
     .hero-section {
         height: auto;
         min-height: 50vh;
     }

     .overlap-section {
         margin-top: 20px;
     }
 }

 .border-bottom-perfect1 {
     position: relative;
     padding-bottom: 8px;
     display: inline-block;
     font-size: 2.5rem;
     font-weight: 700;
     color: #2c3e50;
 }

 .border-bottom-perfect1::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 4px;
     background: #e74c3c;
     transform: scaleX(0);
     transform-origin: left;
     animation: drawLine 2s ease-in-out infinite;
 }

 @keyframes drawLine {
     0% {
         transform: scaleX(0);
         transform-origin: left;
     }

     45% {
         transform: scaleX(1);
         transform-origin: left;
     }

     50% {
         transform: scaleX(1);
         transform-origin: right;
     }

     95% {
         transform: scaleX(0);
         transform-origin: right;
     }

     100% {
         transform: scaleX(0);
         transform-origin: left;
     }
 }

 .border-bottom-perfect {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 3px;
     background: linear-gradient(90deg,
             #00b894,
             #00cec9,
             #0984e3,
             #6c5ce7,
             #fd79a8,
             #e17055,
             #00b894);
     background-size: 400% 100%;
     animation: superSlowGradient 12s ease-in-out infinite;
     transform: translateY(1px);
     box-shadow: 0 0 8px rgba(0, 184, 148, 0.6);
 }

 @keyframes superSlowGradient {

     0%,
     100% {
         background-position: 0% 50%;
         box-shadow: 0 0 8px rgba(0, 184, 148, 0.6);
     }

     25% {
         box-shadow: 0 0 12px rgba(0, 206, 201, 0.7);
     }

     50% {
         background-position: 100% 50%;
         box-shadow: 0 0 16px rgba(9, 132, 227, 0.8);
     }

     75% {
         box-shadow: 0 0 14px rgba(253, 121, 168, 0.75);
     }
 }

 .overlap-section img {
     max-width: 100%;
 }

 .tour-btn-group .card {
     height: 200px;
     display: flex;
     justify-content: center;
     background-size: cover;
     background-position: center;
     text-align: center;
     border: none;
     border-radius: 0px;
     overflow: hidden;
     position: relative;
     transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 .tour-card {
     cursor: pointer;
     margin: 0;
 }

 .tour-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
 }

 .card-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: #b771426b;
     transition: all 0.4s ease;
 }

 .tour-card:hover .card-overlay {
     background: linear-gradient(135deg,
             rgba(9, 132, 227, 0.3) 0%,
             rgba(0, 184, 148, 0.2) 50%,
             rgba(108, 92, 231, 0.4) 100%);
 }

 .card-content {
     text-decoration: none;
     color: #fff;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     position: relative;
     z-index: 2;
     padding: 20px;
     width: 100%;
     height: 100%;
     transition: all 0.3s ease;
 }

 .tour-card:hover .card-content {
     transform: scale(1.05);
 }

 .icon-wrapper {
     width: 60px;
     height: 60px;
     background: rgba(255, 255, 255, 0.15);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 15px;
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     transition: all 0.3s ease;
 }

 .tour-card:hover .icon-wrapper {
     background: rgba(255, 255, 255, 0.25);
     transform: scale(1.1);
 }

 .icon-wrapper i {
     font-size: 24px;
     color: #fff;
 }

 .tour-card h3 {
     font-size: 1.7rem;
     font-weight: 600;
     margin-bottom: 8px;
 }

 .card-subtitle {
     font-size: 1rem;
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
     padding: 0 5px;
     font-weight: bold;
 }

 .tour-btn {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     cursor: pointer;
     border: none;
     border-radius: var(--bs-border-radius);
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 }

 .tour-btn:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
     background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
 }

 .btn-content {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 12px;
     color: #fff;
 }

 .icon-rotate {
     width: 70px;
     height: 70px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
 }

 .tour-btn:hover .icon-rotate {
     transform: rotate(180deg);
     background: rgba(255, 255, 255, 0.3);
 }

 .icon-rotate i {
     font-size: 32px;
     color: #fff;
     transition: transform 0.5s ease;
 }

 .tour-btn h3 {
     font-size: 1.5rem;
     font-weight: 600;
     margin: 0;
 }

 .btn-subtitle {
     font-size: 0.85rem;
     opacity: 0.8;
     font-weight: 300;
 }

 .season-badge {
     position: absolute;
     top: 15px;
     left: 15px;
     padding: 6px 12px;
     border-radius: var(--bs-border-radius);
     font-size: 0.8rem;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     z-index: 3;
 }

 .summer,
 .summer .btn-tour-primary {
     background: linear-gradient(45deg, #FFEB3B, #FF9800);
     color: #2c3e50;
 }

 .autumn,
 .autumn .btn-tour-primary {
     background: linear-gradient(45deg, #FF9A00, #FF6B6B);
 }

 .winter,
 .winter .btn-tour-primary {
     background: linear-gradient(45deg, #87CEEB, #B0E0E6);
     color: #2c3e50;
 }

 .spring,
 .spring .btn-tour-primary {
     background: linear-gradient(45deg, #32CD32, #98FB98);
     color: #2c3e50;
 }

 .summer .btn-tour-primary:hover {
     background: linear-gradient(135deg, #FF9800, #FFEB3B);
     box-shadow: 0 5px 15px #FF9800;
 }

 .autumn .btn-tour-primary:hover {
     background: linear-gradient(135deg, #e9a059, #b77142);
     box-shadow: 0 5px 15px #e9a059;
 }

 .winter .btn-tour-primary:hover {
     background: linear-gradient(135deg, #B0E0E6, #87CEEB);
     box-shadow: 0 5px 15px #B0E0E6;
 }

 .spring .btn-tour-primary:hover {
     background: linear-gradient(135deg, #98FB98, #32CD32);
     box-shadow: 0 5px 15px #98FB98;
 }

 .spring .section-subtitle,
 .winter .section-subtitle,
 .summer .section-subtitle {
     color: #2c3e50;
 }

 .seasons-grid {
     gap: 0 !important;
 }

 .seasons-grid .col-md-3 {
     padding: 0 8px;
 }

 .seasons-grid .col-md-3:first-child {
     padding-left: 0;
 }

 .seasons-grid .col-md-3:last-child {
     padding-right: 0;
 }

 .tour-btn-group .variant2 {
     display: none;
 }

 .tour-btn-group.row-variant2 .variant2 {
     display: block;
     animation: fadeInUp 0.6s ease-out;
 }

 .tour-btn-group .variant1 {
     display: block;
     animation: fadeInUp 0.6s ease-out;
 }

 .tour-btn-group.row-variant2 .variant1 {
     display: none;
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .tour-card {
     animation: cardAppear 0.6s ease-out forwards;
     opacity: 0;
     transform: translateY(30px);
 }

 .tour-card:nth-child(1) {
     animation-delay: 0.1s;
 }

 .tour-card:nth-child(2) {
     animation-delay: 0.2s;
 }

 .tour-card:nth-child(3) {
     animation-delay: 0.3s;
 }

 .tour-card:nth-child(4) {
     animation-delay: 0.4s;
 }

 @keyframes cardAppear {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 a.navbar-brand img {
     width: 150px;
 }

 @media (max-width: 768px) {
     .seasons-grid {
         flex-direction: column;
     }

     .seasons-grid .col-md-3 {
         padding: 8px 0;
     }

     .tour-card h3 {
         font-size: 1.2rem;
     }

     .icon-wrapper {
         width: 50px;
         height: 50px;
     }

     .icon-wrapper i {
         font-size: 20px;
     }

     a.navbar-brand img {
         width: 100px;
     }
 }

 #cookieConsent {
     border-left: 4px solid #ffc107;
     animation: slideInUp 0.5s ease-out;
 }

 @keyframes slideInUp {
     from {
         transform: translateY(100px);
         opacity: 0;
     }

     to {
         transform: translateY(0);
         opacity: 1;
     }
 }

 #cookieConsent.show {
     display: block !important;
 }

 #cookieConsent .btn-close:focus {
     box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
 }

 .mob-fast-contact a {
     color: #16213e;
     text-decoration: none;
 }

 #summer-tours .category-card {
     color: #e9a059;
 }

 #autumn-tours .category-card {
     color: #f27b61;
 }

 #winter-tours .category-card {
     color: #3494c1;
 }

 #spring-tours .category-card {
     color: #4aab34;
 }

 img {
     max-width: 100%;
 }

 footer {
     background-color: var(--secondary-color);
     color: #fff;
 }

 footer a {
     color: #fff !important;
     text-decoration: none;
 }

 .video-background {
     position: relative;
     width: 100%;
     height: 100%;
     overflow: hidden;
 }

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

 li.breadcrumb-item a {
     color: #fff;
     text-decoration: none;
 }

 li.breadcrumb-item.active {
     color: #dedede;
 }

 .breadcrumb-item+.breadcrumb-item::before {
     float: left;
     padding-right: var(--bs-breadcrumb-item-padding-x);
     color: #fff;
     content: var(--bs-breadcrumb-divider, "/ ");
 }

 .tour-section {
     padding: 4rem 0;
 }

 .section-header {
     margin-bottom: 3rem;
 }

 .section-title {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 1rem;
 }

 .section-subtitle {
     font-size: 1.1rem;
     max-width: 600px;
     margin: 0 auto;
 }

 .category-card {
     height: 100%;
     border: none;
     border-radius: 20px;
     overflow: hidden;
     position: relative;
     color: #e9a059;
     transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
     box-shadow: 0 10px 30px rgb(255 255 255 / 30%);
     background: #fff;
 }

 .category-card:hover {
     transform: translateY(-10px) scale(1.02);
     box-shadow: 0 20px 40px rgba(255 255 255, 0.4);
 }

 .category-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
 }

 .category-content {
     position: relative;
     z-index: 2;
     padding: 2rem;
     height: 100%;
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     text-align: center;
     align-items: flex-start;
 }

 .category-content h3 {
     color: #fff;
 }

 .season-icon {
     font-size: 3rem;
     margin-bottom: 1rem;
     opacity: 0.9;
 }

 .category-card h2 {
     font-size: 2rem;
     font-weight: 700;
     margin-bottom: 1rem;
 }

 .category-description {
     font-size: 0.9rem;
     opacity: 0.9;
     margin-bottom: 2rem;
 }

 .category-stats {
     display: flex;
     justify-content: space-around;
     gap: 1rem;
 }

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

 .stat-number {
     display: block;
     font-size: 1.5rem;
     font-weight: 700;
 }

 .stat-label {
     font-size: 0.8rem;
     opacity: 0.8;
 }

 .tour-card {
     font-size: 20px;
     border: none;
     border-radius: 20px;
     overflow: hidden;
     background: white;
     transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
     position: relative;
 }

 .tour-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
 }

 .card-badge {
     position: absolute;
     top: 15px;
     left: 15px;
     z-index: 3;
     display: flex;
     flex-direction: column;
     gap: 5px;
 }

 .badge {
     padding: 6px 12px;
     font-size: 0.75em;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .badge.discount {
     background: linear-gradient(45deg, #ff6b6b, #ee5a24);
     color: white;
 }

 .badge.popular {
     background-color: var(--bs-heading-color);
     color: white;
 }

 .badge.new {
     background-color: var(--bs-heading-color);
     color: white;
 }

 .tour-image {
     position: relative;
     height: 300px;
     overflow: hidden;
 }

 .tour-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.4s ease;
 }

 .tour-card:hover .tour-image img {
     transform: scale(1.1);
 }

 .image-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
 }

 .tour-tags {
     position: absolute;
     bottom: 15px;
     left: 15px;
     right: 15px;
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
 }

 .tag {
     background-color: #e8e0d5;
     padding: 4px 10px;
     border-radius: var(--bs-badge-border-radius);
     font-size: 0.65em;
     font-weight: 500;
     backdrop-filter: blur(10px);
 }

 .tag.special {
     background-color: #88694d;
     color: white;
 }

 .card-body {
     padding: 1.5em;
     background: var(--background-color);
 }

 .tour-header {
     margin-bottom: 1em;
 }

 .tour-title {
     font-size: 1.25rem;
     font-weight: 600;
     margin-bottom: 0.5rem;
     color: var(--bs-heading-color);
 }

 .tour-meta {
     display: flex;
     gap: 1em;
     font-size: 0.85em;
     color: var(--bs-heading-color);
 }

 .tour-meta i {
     margin-right: 5px;
 }

 .tour-description {
     color: var(--bs-heading-color);
     font-size: 0.9em;
     line-height: 1.5;
     margin-bottom: 1.5em;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .tour-features {
     display: flex;
     gap: 1em;
     padding-bottom: 1.5em;
 }

 .feature {
     display: flex;
     align-items: center;
     gap: 5px;
     font-size: 0.8em;
     color: var(--bs-heading-color);
 }

 .feature i {
     color: var(--bs-heading-color);
 }

 .tour-footer {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .price-section {
     display: flex;
     flex-direction: column;
 }

 .price-current {
     font-size: 1.5em;
     font-weight: 700;
     color: var(--bs-heading-color);
 }

 .price-old {
     font-size: 0.9em;
     color: #565445;
     text-decoration: line-through;
 }

 .btn-tour-primary {
     background-color: var(--bs-heading-color);
     color: white;
     border: none;
     padding: 10px 20px;
     border-radius: var(--bs-border-radius);
     font-weight: 500;
     display: flex;
     align-items: center;
     gap: 8px;
     transition: all 0.3s ease;
     cursor: pointer;
 }

 .btn-tour-primary:hover {
     background-color: var(--secondary-color);
     transform: translateX(5px);
     box-shadow: 0 5px 15px #e9a059;
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .tour-card {
     animation: fadeInUp 0.6s ease-out forwards;
     opacity: 0;
 }

 .tour-card:nth-child(1) {
     animation-delay: 0.1s;
 }

 .tour-card:nth-child(2) {
     animation-delay: 0.2s;
 }

 .tour-card:nth-child(3) {
     animation-delay: 0.3s;
 }

 .tour-card:nth-child(4) {
     animation-delay: 0.4s;
 }

 .tour-card:nth-child(5) {
     animation-delay: 0.5s;
 }

 .tour-card:nth-child(6) {
     animation-delay: 0.6s;
 }

 @media (max-width: 768px) {
     .section-title {
         font-size: 2rem;
     }

     .category-stats {
         flex-direction: column;
         gap: 0.5rem;
     }

     .tour-footer {
         flex-direction: column;
         gap: 1rem;
         align-items: stretch;
     }

     .btn-tour-primary {
         justify-content: center;
     }
 }

 .seasons-grid h3,
 .hero-section h1,
 .switch-btn h3,
 .card-content h3 {
     color: #fff;
 }

 section#contact-form {
     background-color: #f1e9d9;
 }

 #contact-form legend.form-label,
 .form-label {
     font-size: x-large;
     margin-bottom: 0;
     color: #f0e9da;
 }

 #contact-form .form-control {
     background-color: #fff6e3;
     padding: .75rem .75rem;
     border: 2px solid #356664;
 }

 #contact-form .form-img {
     background-color: #e9a059;
     border-radius: 20px;
 }

 #contact-form .form-wrapper {
     background-color: #356664;
     border-radius: 20px;
     padding: 3rem 1.5em 1.5em 1.5em;
 }

 #contact-form .form-wrapper .btn-tour-primary {
     background-color: #e9a059;
 }

 #contact-form label.form-check-label {
     font-size: 0.85rem !important;
     color: #fff;
 }

 #contact-form label.form-check-label a {
     color: #e9a059;
 }

 #contact-form .form-row {
     padding: calc(var(--bs-gutter-x) * .5);
     gap: var(--bs-gutter-x);
 }

 #contact-form .text-danger {
     color: #e9a059 !important;
 }

 .slide-up-on-scroll {
     opacity: 0;
     transform: translateY(60px);
     transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .slide-up-on-scroll.animated {
     opacity: 1;
     transform: translateY(0);
 }

 .additional_day_trips {
     opacity: 0;
 }

 #additional_day_trips .category-content {
     justify-content: flex-end;
     min-height: 450px;
     text-align: left;
 }

 #additional_day_trips .category-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.3);
     opacity: 1;
     transition: 0.5s ease;
 }

 #additional_day_trips .category-card:hover .category-overlay {
     opacity: 0;
 }

 p.category-card__item-pretitle {
     color: #fff;
     margin-bottom: 0;
 }

 p.category-card__item-price-date {
     font-size: 20px;
     color: #fff;
     display: flex;
     justify-content: space-between;
 }

 #additional_day_trips span.year {
     position: absolute;
     top: 15px;
     left: 15px;
     background: rgb(233 160 89);
     color: #fff;
     padding: 6px 12px;
     font-size: 0.75em;
     font-weight: 600;
     border-radius: var(--bs-badge-border-radius);
 }

 #official_operator i.bi {
     color: var(--secondary-color);
     color: var(--primary-color);
     color: var(--header-bg);
 }

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

 .text-theme--primary {
     color: var(--primary-color);
 }






  #reviews .bi-play-circle{
    color:#fff;
        font-size: 50px;
  }
/* Кастомные стили */
.reviews {
   background: #d0bd9a;
}

.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-play-button {
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);

    line-height: 1;
 /* background-color: var(--secondary-color);  */
  }

.position-relative:hover .video-play-button {
    opacity: 1;
    transform: scale(1);
}

/* Анимация при наведении на карточку */
.card:hover .video-play-button {
    opacity: 1;
    transform: scale(1.1);
}
#reviews .card{
    --bs-border-radius: 20px;
}
/* Стили для цитат */
/* Стили для цитаты */
blockquote {
    position: relative;
    line-height: 1.6;
}

blockquote::before {
    content: "“";
    font-size: 4rem;
    color: rgba(0,0,0,0.1);
    position: absolute;
    left: -20px;
    top: -20px;
}

blockquote::after {
    content: "”";
    font-size: 4rem;
    color: rgba(0,0,0,0.1);
    position: absolute;
    right: -20px;
    bottom: -40px;
}
#reviews .card {
    border-radius: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem !important;
    }
}

/* Плавное появление карточек */
.col-lg-4, .col-md-6 {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.col-lg-4:nth-child(1), .col-md-6:nth-child(1) {
    animation-delay: 0.1s;
}

.col-lg-4:nth-child(2), .col-md-6:nth-child(2) {
    animation-delay: 0.2s;
}

.col-lg-4:nth-child(3), .col-md-6:nth-child(3) {
    animation-delay: 0.3s;
}

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

 /* Стили для Fancybox видео */
    .fancybox__container {
        z-index: 9999;
    }

    .fancybox__slide {
        padding: 10px;
    }
.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.9);
}
.fancybox__toolbar {
    padding: 10px;
    background: transparent;
}
.fancybox__slide {
    padding: 20px;
}

.fancybox__content {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.fancybox__caption {
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.fancybox__html5video {
    width: 100% !important;
    height: auto !important;
    max-width: 1200px;
    max-height: 80vh;
    border-radius: 10px 10px 0 0;
}

.fancybox__nav {
    --f-button-width: 50px;
    --f-button-height: 50px;
    --f-button-border-radius: 50%;
    --f-button-color: #fff;
    --f-button-hover-color: #fff;
    --f-button-bg: rgba(0, 0, 0, 0.7);
    --f-button-hover-bg: rgba(0, 0, 0, 0.9);
}
    /* Адаптивность для мобильных устройств */
    @media (max-width: 768px) {
        .video-play-button {
            width: 60px;
            height: 60px;
        }
        
        .video-play-button i {
            font-size: 35px;
        }
    }


    .tg-card{
    background-color: var(--primary-color);
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0px 0px 5px -1.5px #000;
   padding: 10px 0 0;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.tg-card::before {
    content: "";
    width: 99%;
    height: 99%;
       background-color: var(--secondary-color);
    position: absolute;
    z-index: -1;
    top: 1px;
    left: 1px;
    border-radius: 25px;
    transform: rotate(5deg);
    transition: all 0.3s;
}

.tg-card:hover {
    box-shadow: 0px 0px 20px -5px #000;
    transform: translate(0px, -16px);
}
.tg-card:hover::before {
    transform: rotate(10deg);
    box-shadow: 0px 0px 20px -5px #000;
     z-index: -1;
}

a.tg-card-link{
        background-color: var(--header-bg);
    width: 100%;
    height: 100%;
    display: block;
    padding: 20px;
    position: relative;
    z-index: 2;
    border-radius: 20px;
}

.tg-icon-overlay i {
    font-size: 45px;
    color: #3f95d0;
}
.tg-icon-overlay {
    background: #fff;
    padding: 0;
    line-height: 1;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.tg-card:hover .tg-icon-overlay i {
    color: #fff;
}
.tg-card:hover .tg-icon-overlay {
    background: #3f95d0;
     border: 1px solid #3f95d0;
      transform: rotate(360deg);
}