/********** Template CSS **********/
:root {
    --primary: #368f2a;
    --light: #f1f8ff;
    --dark: #111a24;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark {
    background-color: var(--dark) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 15px 0;
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-brand p {
    color: #ffffff;
    transition: all 0.3s ease;
}

.navbar-brand:hover p {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-dark {
        padding: 0.5rem 0;
    }
}

/*** Hero Section ***/
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 30, 43, 0.7);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-section .icon {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.hero-section .icon i {
    font-size: 3rem;
    color: var(--primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(98, 64, 108, 0.4);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

/*** Service ***/
.service-item {
    /* height: 420px; */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    /* box-shadow: 0 0 45px rgba(0, 0, 0, 0.08); */
    transition: 0.5s;
}

.service-item:hover {
    background: #f1f8ff;
    color: #000;
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: 0.5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: 0.5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {}

/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, 0.1), rgba(15, 23, 43, 0.1)),
        url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}



/*** Footer ***/
.footer {
    position: relative;
    background: var(--dark);
    padding: 80px 0 0;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69, 169, 178, 0.1) 0%, rgba(17, 26, 36, 0) 100%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-brand a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-brand p {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    transition: all 0.3s ease;
}

.footer-brand:hover p {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 20px;
}

.footer-link:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: var(--primary);
}

.footer-contact-item:hover i {
    background: var(--primary);
    transform: rotate(360deg);
}

.footer-legal {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal .footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal .footer-link:hover {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .footer {
        padding: 60px 0 0;
    }

    .footer-brand {
        margin-bottom: 40px;
    }

    .footer-contact {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .footer {
        padding: 40px 0 0;
    }

    .footer-links {
        margin-top: 30px;
    }

    .footer-contact {
        margin-top: 30px;
    }
}


/*** Newsletter ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #ffffff;
    border-radius: 35px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@media (max-width: 700px) {
    .cookie-wrapper {
        width: 100%;
    }
}

.cookie-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    border: 1px solid rgba(69, 169, 178, 0.2);
}

.cookie-wrapper.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-wrapper i {
    display: block;
    text-align: center;
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.cookie-wrapper h2 {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.cookie-wrapper .data {
    margin-bottom: 20px;
}

.cookie-wrapper .data p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-wrapper .data p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.cookie-wrapper .data p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.cookie-wrapper .data p a:hover::after {
    width: 100%;
}

.cookie-wrapper .buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-wrapper .cookie-button {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-wrapper #acceptBtn {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(69, 169, 178, 0.3);
}

.cookie-wrapper #acceptBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 169, 178, 0.4);
}

.cookie-wrapper #declineBtn {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.cookie-wrapper #declineBtn:hover {
    background-color: var(--dark);
    color: white;
    transform: translateY(-2px);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 600px) {
    .cookie-wrapper {
        width: 90%;
        right: 5%;
        bottom: 20px;
        padding: 20px;
    }

    .cookie-wrapper .buttons {
        flex-direction: column;
    }

    .cookie-wrapper .cookie-button {
        width: 100%;
    }
}

.hidden {
    display: none;
}

header i {
    color: #368f2a;
    font-size: 32px;
    text-align: center;
}

header h2 {
    color: #368f2a;
    font-weight: 500;
    text-align: center;
}

.data {
    text-align: center;
}

.data p a {
    color: #368f2a;
    text-decoration: none;
    text-align: center !important;
}

.data p a:hover {
    text-decoration: underline;
}

.buttons {
    padding: 20px 0px;
    text-align: center;
}

.buttons .cookie-button {
    border: 2px solid #368f2a;
    color: #fff;
    padding: 8px 0;
    background: #368f2a;
    cursor: pointer;
    width: calc(100% / 2 - 10px);
    transition: all 0.5s ease;
    max-width: 150px;
    border-radius: 0;
}

.buttons #acceptBtn:hover {
    background-color: transparent;
    color: #368f2a;
}

#declineBtn {
    background-color: #fff;
    color: #368f2a;
}

#declineBtn:hover {
    background-color: #368f2a;
    color: #fff;
}

/* Footer Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: white;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
}

@media (max-width: 578px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .burger {
        display: flex;
    }

    .nav-active {
        display: flex;
    }
}

.history {}

.history_item {
    background-color: #efdbf8;
    padding: 20px;
    margin-bottom: 20px;
    border-right: 5px solid #fff;
}

.history_item:hover {
    background-color: #f5fffd;
}

/* Додаткові стилі для унікальності блоку */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    z-index: 2;
}

.hero-section .overlay {
    z-index: 1;
}

/* Анімація появи тексту */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1,
.hero-section p,
.hero-section .btn {
    animation: fadeInUp 1s ease-out both;
}

.hero-section h1 {
    animation-delay: 0.3s;
}

.hero-section p {
    animation-delay: 0.5s;
}

.hero-section .btn {
    animation-delay: 0.7s;
}

.bg-light-gray {
    background-color: #F5F6F7;
}

.section-title {
    position: relative;
    padding-bottom: .5rem;
    display: inline-block;
}


.text-secondary {
    color: #1E3A5F;
}

.section {
    background-color: #edfcea;
}


.text-secondary {
    color: #1E3A5F;
}

.bg-light-gray {
    background-color: #F5F6F7;
}


.approach-step-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #368f2a;
    margin-right: .5rem;
}

.text-secondary {
    color: #1E3A5F;
}

ul {
    margin-left: 1rem;
}

.section {
    background-color: #edfcea;
}

.section-title {
    position: relative;
    padding-bottom: .5rem;
    display: inline-block;
}


.case-card {
    background: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
    transition: transform .3s ease, box-shadow .3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-card img {
    object-fit: cover;
    height: 380px;
    width: 100%;
}

.text-primary-blue {
    color: #368f2a;
}

.bg-light-gray {
    background-color: #F5F6F7;
}


.text-primary-blue {
    color: #368f2a;
}

.btn-primary-custom {
    background-color: #1E3A5F;
    border: none;
    border-radius: 0;
    position: relative;
    color: #fff;
    padding: 0.75rem 1.5rem;
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #edfcea;
    transition: width .3s ease;
}

.btn-primary-custom:hover::after {
    width: 100%;
}

.section {
    background-color: #edfcea;
}

.text-secondary {
    color: #1e3a5f;
}

.ratio iframe {
    width: 100%;
    height: 400px
}

.bg-light-gray {
    background-color: #F5F6F7;
}

.section-title {
    position: relative;
    padding-bottom: .5rem;
    display: inline-block;
}



/* Обертка для hero на странице контактов */
#contact-hero .contact-hero-wrapper {
    background-color: #0a6702;
    color: #edfcea;
    min-height: 50vh;
    position: relative;
}

/* Оверлей, если нужен легкий градиент */
#contact-hero .contact-hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(32, 95, 30, 0.7);
    z-index: 1;
}

/* Контент поверх оверлея */
#contact-hero .contact-hero-content {
    position: relative;
    z-index: 2;
}

/* Заголовок и подзаголовок */
#contact-hero h1,
#contact-hero h2 {
    color: #edfcea;
}

/* Темный акцент для подзаголовка */
.text-primary-blue-dark {
    color: #368f2a;
}

/* new styles  */

/* Основные цвета */
:root {
    --bg-color: #edfcea;
    --accent-color: #368f2a;
    --dark-green: #1e5a19;
    --text-color: #343a40;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --beige: #f9f5eb;
  }
  
  /* Общие стили */
  .text-green-accent {
    color: var(--accent-color);
  }
  
  .text-green-dark {
    color: var(--dark-green);
  }
  
  .bg-green-accent {
    background-color: var(--accent-color);
  }
  
  .bg-green-light {
    background-color: var(--bg-color);
  }
  
  .object-cover {
    object-fit: cover;
  }
  
  /* Заголовки секций */
  .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .title-underline {
    position: absolute;
    height: 3px;
    width: 80px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Блок уроков недели */
  .lesson-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    flex-shrink: 0;
  }
  
  .lesson-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .lesson-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  }
  /* Блок рекомендуемых материалов */
.article-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.075);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
  
  .article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
  }
  
  .article-content {
    padding: 1.25rem;
  }
  
  .article-title {
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
  }
  
  .article-text {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .article-link {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
  }
  
  .article-link:hover {
    color: var(--dark-green);
    text-decoration: underline;
  }
  
  .more-btn {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .more-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
  }
  /* Блок преимуществ платформы */
.advantages {
    background-color: var(--beige);
  }
  
  .advantage-card {
    height: 100%;
    padding: 2.5rem 1.5rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  }
  
  .advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .advantage-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
  }
  
  .advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
  }
  
  .advantage-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
  }

  /* Блок контактов */
.contacts {
    background-color: var(--white);
  }
  
  .contact-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
  }
  
  .contact-text {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .contact-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
  }
  
  .contact-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .contact-link:hover {
    color: var(--dark-green);
    text-decoration: underline;
  }
  
  .contact-image {
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  }
  
  .google-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  /* Блок "Наши особенности" */
.bg-beige {
    background-color: var(--beige);
  }
  
  .features-grid {
    display: grid;
    gap: 2rem;
  }
  
  .feature-item {
    display: flex;
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
  }
  
  .feature-icon-wrapper {
    padding: 1.5rem;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  }
  
  .feature-icon i {
    font-size: 1.75rem;
    color: var(--accent-color);
  }
  
  .feature-content {
    padding: 1.5rem;
    flex-grow: 1;
  }
  
  .feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
  }
  
  .feature-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
  
  /* Медиа-запросы для адаптивности */
  @media (min-width: 768px) {
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 767px) {
    .feature-item {
      flex-direction: column;
    }
    
    .feature-icon-wrapper {
      width: 100%;
      padding: 1.25rem;
    }
    
    .feature-icon {
      margin: 0 auto;
    }
  }
  /* Блок "Последние статьи" */
.latest-articles {
    background-color: var(--white);
  }
  
  .article-full {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .article-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
  }
  
  .article-image {
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .article-full:hover .article-image img {
    transform: scale(1.05);
  }
  
  .article-header {
    margin-bottom: 1.25rem;
  }
  
  .article-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
  }
  
  .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .article-date,
  .article-category {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
  }
  
  .article-date i,
  .article-category i {
    margin-right: 0.3rem;
    color: var(--accent-color);
  }
  
  .article-body {
    margin-bottom: 1.25rem;
  }
  
  .article-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-color);
  }
  
  .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .article-tags .badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    font-size: 0.8rem;
    border: 1px solid #e5e5e5;
  }
  
  @media (max-width: 767px) {
    .article-image {
      height: 200px;
      margin-bottom: 1rem;
    }
    
    .article-meta {
      flex-direction: column;
      gap: 0.5rem;
    }
  }
  /* Блок "Материалы" */
.material-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  }
  
  .material-header {
    padding: 1.5rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  .material-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  
  .material-level {
    margin-bottom: 0.5rem;
  }
  
  .level-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: var(--bg-color);
    color: var(--accent-color);
    border-radius: 2rem;
  }
  
  .material-body {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
  }
  
  .material-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.25rem;
  }
  
  .points-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
  }
  
  .points-list {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .points-list li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  
  .custom-list {
    list-style-type: none;
    padding-left: 0;
  }
  
  .custom-list li {
    position: relative;
    padding-left: 1.25rem;
  }
  
  .custom-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
  }
  
  .result-note {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
  }
  
  .material-footer {
    padding: 1rem 1.5rem 1.5rem;
    margin-top: auto;
  }
  
  .learn-more-btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
  }
  
  .learn-more-btn:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
  }

  /* Блок "Уроки и курсы" */
.courses-catalog {
    background-color: var(--white);
  }
  
  .category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-color);
    display: flex;
    align-items: center;
  }
  
  .category-title i {
    color: var(--accent-color);
  }
  
  .course-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  }
  
  .course-header {
    padding: 1.5rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  .course-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  
  .course-duration {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    background-color: var(--bg-color);
    color: var(--accent-color);
    border-radius: 2rem;
    font-weight: 500;
  }
  
  .course-body {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
  }
  
  .course-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
  }
  
  .course-description:last-child {
    margin-bottom: 0;
  }
  
  .course-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  .enroll-btn {
    font-weight: 500;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s ease;
    width: 100%;
    padding: 0.6rem 1rem;
  }
  
  .enroll-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
  }
  
  @media (max-width: 991px) {
    .course-card {
      margin-bottom: 1.5rem;
    }
  }
  /* Блок "Топ-3 свежих урока" */
.fresh-lessons {
    background-color: var(--beige);
  }
  
  .lesson-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .lesson-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  }
  
  .lesson-image {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .lesson-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .lesson-card:hover .lesson-image img {
    transform: scale(1.05);
  }
  
  .lesson-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(54, 143, 42, 0.9);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
  }
  
  .lesson-content {
    padding: 1.5rem;
    flex-grow: 1;
  }
  
  .lesson-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .lesson-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
  }
  
  .lesson-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-color);
  }
  
  .meta-item i {
    color: var(--accent-color);
    margin-right: 0.5rem;
  }
  
  .lesson-footer {
    padding: 0 1.5rem 1.5rem;
  }
  
  .lesson-btn {
    width: 100%;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .lesson-btn:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
  }