* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Rubik", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, 
                "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    overflow-x: hidden;
}
body:not(.home)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern2.jpg');
    background-repeat: repeat;
    background-size: 800px auto;
    opacity: 0.075;
    pointer-events: none;
    z-index: -1;
}
p {
    margin-bottom: 0.5rem !important;
}
a{
    text-decoration: none;
}
.container{
    max-width: 83.334vw;
}

/* Верхня жовта панель */
.top-bar {
    background-color: #FDC800;
    padding: 12px 0;
    font-size: 14px;
    color: #333;
}


.contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item svg {
    width: 16px;
    height: 16px;
    fill: #333;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0066cc;
}
.nav-menu{
    margin-bottom: 0px;
}

/* Основна шапка */
.main-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 100px;
    height: initial;
    border-radius: 50%;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}
.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}

.nav-item {
    position: relative;
    margin-left: 0px;
}

.nav-link {
    color: #402B2B;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 0px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    margin: 0px 9px;
    position: relative;
}
.nav-item.current_item_menu:before,.nav-item:hover:before{
    content: '';
    position: absolute;
    bottom: 8px;
    left: 10px;
    width: calc(100% - 20px);
    height: 2px;
    background: #FDC800;
}

.nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.nav-link i {
    margin-left: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease;
    border-radius: 10px;
    margin: 5px;
    width: auto !important;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
}


.dropdown-item:hover {
    background: #4a90e2;
    color: white;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
}

.footer {
    background: linear-gradient(135deg, #4a6fa5 0%, #3d5a87 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4, #45b7d1, #96ceb4, #ffd93d);
    background-size: 300% 300%;
    animation: gradient 3s ease infinite;
}
.title-page{
    text-align: center;
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 30px;
    margin-top: 20px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-logo {
    background: white;
    border-radius: 50%;
    padding: 15px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #FDC800;
}

.footer-content {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-content i {
    margin-right: 10px;
    color: #FDC800;
    width: 20px;
}

.footer-link {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #FDC800;
    padding-left: 10px;
}

.footer-link::before {
    content: '—';
    margin-right: 10px;
    color: #FDC800;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FDC800;
    color: #333;
    transform: translateY(-3px);
}

.register-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ee5a52, #ff6b6b);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Декоративні елементи */
.footer-section {
    position: relative;
    z-index: 1;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mb-4 {
    /* margin-bottom: 1.5rem !important; */
    /* display: flex;
    align-items: start;
    justify-content: end;
    text-align: right; */
}
.footer-title{
    cursor: pointer;
}
.footer-title:hover{
    color: #ffffff;
}
.footer-content,.footer-title{
    text-align: left;
}
.link-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
    padding: 0px 15px;
}
a.link-item {
    width: 250px;
    text-align: center;
    margin: 0px 30px;
}
.links-grid{
    display: flex;
    justify-content: center;
    margin: 40px 0px 30px;
}
.logo-container {
    margin-bottom: 25px;
}
.single-content{
    text-align: center;
}
.section-title{
    font-family: "Sofia Sans", sans-serif;
    text-align: center;
    margin-bottom: 50px;
    font-size: 42px;
}
.groups-section,.news-section,.section-link{
    background-color: #EDFAFF;
}
.section {
    margin: 0px 0px 0px;
    padding: 70px 0px 60px;
}
.advantages-section{
    margin-top: 0px;;
}

.news-section {
    margin: 0 auto;
}



.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.news-grid .news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog .news-content,.post-type-archive-thematic_weeks .news-content{
    padding: 0px;
}
.blog .news-title,.post-type-archive-thematic_weeks .news-title{
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    padding: 25px 15px 10px;
}
.blog .news-img{
    min-height: 260px;
}
.blog .news-excerpt,.post-type-archive-thematic_weeks .news-excerpt{
    padding: 5px 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #6c757d;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.teacher-header{
    text-align: center;
}
.news-card.featured {
    grid-column: span 2;
    height: 500px;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.news-card.featured .news-image {
    height: 300px;
}

.news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog .news-content{
    justify-content: flex-start;
}
.news-inner-content{
    padding: 15px 25px;
}
.news-date {
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 5px;
    width: fit-content;
}
.blog .news-date,.post-type-archive-thematic_weeks .news-date {
    background: #E7BA16;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 5px;
    width: fit-content;
    position: absolute;
    top: 242px;
    left: calc(50% - 73px);
}
.category-tag{
    background-color: #717171;
    padding: 4px 8px;
    border-radius: 5px;
    color: white;

}
.swiper-pagination{
    bottom: -25px !important;
}
.category-tags{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 14px;
}
.blog .category-tags {
    justify-content: center;
    width: 100%;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 0px;
}

.news-card.featured .news-title {
    font-size: 1.6rem;
}

.news-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.news-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.read-more-btn {
    color: #232323;
    font-size: 13px;
    font-family: 'Montserrat Alternates', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 700;
    border-width: 1px;
    border-radius: 10px 10px 10px 10px;
    background-color: #ffffff;
    background-position: center center;
    border-color: #d3d3d3;
    border-style: solid;
    padding: 15px 10px;
    text-transform: uppercase;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    display: block;
    width: 100%;
    margin: 0px auto;
    text-align: center;
}
.news-img{
    max-height: 260px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.news-img img{
    width: 100%;
}
.gallery-btn{
    margin-top: 50px !important;
}


.read-more-btn:hover {
    background-color: #45679A;
    color: white;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.view-all-btn {
    background: #45679A;
    color: white;
    border: none;
    padding: 13px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    line-height: 24px;
    font-family: 'Montserrat Alternates', Arial, sans-serif;
    width: 280px;
    text-align: center;
}
.scroll-top{
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 70px;
    height: 70px;
    z-index: 999;
    transition: all 0.3s ease;
}
.scroll-top:hover{
    transform: scale(1.05);
    bottom: 40px;
}
.scroll-top img{
    width: 100%;
    height: initial;
    object-fit: contain;
}

.view-all-btn:hover {
    background: #5077B2;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Стилі для різних типів новин */
.news-card.registration {
    border-left: 5px solid #4dabf7;
}

.news-card.registration .news-image {
    background: linear-gradient(45deg, #4dabf7 0%, #339af0 100%);
}

.news-card.registration .news-date {
    background: #4dabf7;
}

.news-card.info {
    border-left: 5px solid #ff8787;
}

.news-card.info .news-image {
    background: linear-gradient(45deg, #ff8787 0%, #ff6b6b 100%);
}

.news-card.safety {
    border-left: 5px solid #51cf66;
}

.news-card.safety .news-image {
    background: linear-gradient(45deg, #51cf66 0%, #40c057 100%);
}

.news-card.safety .news-date {
    background: #51cf66;
}

.view-all-btn b[data-txt] {position: relative;overflow: hidden;display: inline-block;font-size: inherit;line-height: inherit;color: transparent;}
.view-all-btn b[data-txt]::before,
.view-all-btn b[data-txt]::after {content: attr(data-txt);position: absolute;z-index: 1;top: 0;left: 0;width: 100%;height: 100%;transition: 0.3s linear;line-height: 28px;}
.view-all-btn b[data-txt]::after {transform: translateY(100%);}
.view-all-btn{position: relative;}
.view-all-btn:hover b[data-txt]::before {transform: translateY(-120%);}
.view-all-btn:hover b[data-txt]::after {transform: translateY(0%);}
.view-all-btn b[data-txt]::before, .view-all-btn b[data-txt]::after {
    color: white;
}
.view-all-btn:hover{
    background: #5077B2;
}


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

    .news-card.featured {
        grid-column: span 1;
        height: 400px;
    }

    .news-card.featured .news-image {
        height: 200px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .news-card.featured .news-title {
        font-size: 1.4rem;
    }
}

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

    .news-card {
        height: auto;
    }

    .section-title {
        font-size: 2rem;
    }
}


/* Адаптивність */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        width: 60px;
        height: 60px;
    }
    
    .footer-logo img {
        width: 35px;
        height: 35px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-content {
        font-size: 13px;
    }
    
    .register-btn {
        padding: 12px 25px;
        font-size: 11px;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

.footer-section .footer-title { color: #ffffff; }
.footer-section ul li a{
    color: #ffffff;
}
.section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.section-title,.title-page{
    position: relative;
    font-family: "Sofia Sans", sans-serif;
}
.section-title::before,.title-page::before{
    position: absolute;
    width: 62px;
    height: 30px;
    left: calc(50% - 31px);
    top: -30px;
    background: url('../img/butterfly.png');
    background-repeat: no-repeat;
    content: '';
    background-size: contain;
    z-index: 9;
}


.groups-container {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.group-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(25% - 25px);
}

.group-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}


.group-illustration {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
}
.illustration-content {
    font-size: 4rem;
    position: relative;
    z-index: 2;
}

.nature-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nature-scene::before {
    content: '🌊';
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 2rem;
    animation: wave 2s ease-in-out infinite;
}

.nature-scene::after {
    content: '🌴';
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 2rem;
    animation: sway 3s ease-in-out infinite;
}

.stream-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stream-scene::before {
    content: '☁️';
    position: absolute;
    left: 30px;
    top: 30px;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.stream-scene::after {
    content: '💧';
    position: absolute;
    right: 30px;
    top: 50px;
    font-size: 1.2rem;
    animation: drop 2s ease-in-out infinite;
}

.rainbow-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rainbow-scene::before {
    content: '🌈';
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 2rem;
    animation: rainbow-glow 3s ease-in-out infinite;
}

.rainbow-scene::after {
    content: '☀️';
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.8rem;
    animation: shine 2s ease-in-out infinite;
}

/* .group-count {
    background: #EDFAFF;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    position: absolute;
    width: 50px;
    height: 30px;
} */

.group-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.group-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
}

.group-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-item {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #495057;
    font-weight: 500;
}

.view-group-btn {
    color: #232323;
    font-size: 13px;
    font-family: 'Montserrat Alternates', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 700;
    border-width: 1px;
    border-radius: 10px 10px 10px 10px;
    background-color: #ffffff;
    background-position: center center;
    border-color: #d3d3d3;
    border-style: solid;
    padding: 15px 10px;
    text-transform: uppercase;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.view-group-btn:hover {
    background-color: #45679A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.group-illustration img{
    width: 100%;
    height: initial;
}
.single-section{
    margin: 60px 0px 100px;
}
.single-title{
    margin-bottom: 20px;
}
.aligncenter{
    margin: 0px auto;
    display: block;
}

/* .advantages-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
} */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.advantage-card {
    background: white;
    border-radius: 20px;
    padding: 0px 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 110px;
    height: 110px;
    margin: 20px auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}
.advantage-icon img{
    width: 100%;
    height: initial;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.advantage-title {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 500;
}
.advantage-description {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 1rem;
}
.slide-img img{
    width: 100%;
    height: initial;
}
.slide-img{
    overflow: hidden;
    max-height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.single-section .slider-container{
    margin-bottom: 20px;
    margin-top: 5px;
}

/* slider */
.swiper-button-next, .swiper-button-prev{
    width: 50px !important;
    height: 50px !important;
}
.swiper-button-next:after{
    font-size: 28px !important;
    position: absolute;
    left: 20px !important;
    top: auto;
}
.swiper-button-prev:after {
    font-size: 28px !important;
    position: absolute;
    left: 15px !important;
    top: auto;
}
.slider-container {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 80px;
}

.slider-wrapper {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #F0F0F0;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
}

.slide.next {
    transform: translateX(100%);
}

.slide-content {
    flex: 1;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 50%;
    border-radius: 10px;
    overflow: hidden;
    height: 370px;
}
.slide-image img{
    width: 100%;
    height: initial;
}

.slide-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 20px;
    color: #ff6b81;
    font-weight: bold;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.slide-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.8s ease-out;
}

.slide-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100px;
    height: 6px;
    background: linear-gradient(45deg, #ffeb3b, #ff9800);
    border-radius: 3px;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.slide-features {
    list-style: none;
    margin-bottom: 20px;
}
.button-register{
    background: #45679A;
    width: 300px;
    padding: 10px 10px;
    border-radius: 10px;
    display: block;
    color: white;
    text-align: center;
    padding: 10px 10px;
    transition: all 0.2s ease;
    font-family: 'Montserrat Alternates', Arial, sans-serif;
}
.button-register:hover{
    background: #5077B2;
}


.slide-features,.single-section ul{
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.slide-features li ,.single-section ul li{
    position: relative;
    padding-left: 30px;
    margin-bottom: 8px;
    font-size: 1.2em;
    color: #333;
}
.pagination  ul li{
    line-height: 0px;
}
.slide-features li::before,.single-section li::before{
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-color: #ffb347; /* теплий помаранчевий */
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff, 0 0 8px #ffb347;
}
.single-section ul li {
    font-size: 1em;
}
.contact-item a{
    color: black;
}


/* Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.nav-dot.active {
    background: #ff6b81;
    transform: scale(1.2);
}

.nav-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #ffeb3b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.nav-dot.active::after {
    width: 8px;
    height: 8px;
}

.nav-dot:hover {
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
  width: 44px;
  height: 44px;
  background-color: #29ABE1;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #E19F34;
  transform: translateY(-50%) scale(1.1);
}

/* Змінюємо іконку (default це стрілка як текст) */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* Позиціонування */
.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}


.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #CFF0FB;
    opacity: 1;
    margin: 0 6px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-bullet-active {
    background: #29ABE1; /* твій основний колір */
    transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(41, 171, 225, 0.2);
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: 5px;
}


/* Decorative shapes */
.decorative-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

.shape1 {
    width: 100px;
    height: 100px;
    background: #ffeb3b;
    top: 10%;
    left: 10%;
}

.shape2 {
    width: 150px;
    height: 150px;
    background: #ff9800;
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.shape3 {
    width: 80px;
    height: 80px;
    background: #e91e63;
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.shape4 {
    width: 120px;
    height: 120px;
    background: #4caf50;
    bottom: 10%;
    right: 10%;
    animation-delay: 0.5s;
}
.flex-wrap{
    display: flex;
    padding: 60px 0px 40px;
}
.banner-flex-wrap{
    display: flex;
    padding: 0px 0px 40px;
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff; /* або світло-блакитний фон */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
    padding: 8px 0px;
}
.main-header.sticky .logo img{
    width: 75px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.album-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.album-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}



.graduation-cap {
    font-size: 4rem;
    color: rgba(255,255,255,0.8);
    z-index: 1;
    position: relative;
}

.album-content {
    padding: 25px;
}

.album-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.album-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.album-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #888;
}

.view-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.view-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.year-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.8rem;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #f0f0f0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-item {
    aspect-ratio: 1;
    background: linear-gradient(45deg, #ffeaa7, #fab1a0);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}
  
@keyframes slideDown {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(0);
    }
}
.page-id-87 .single-section table{
    width: 100% !important;
}
ol {
    padding-left: 30px !important;
}

#menu-header{
    padding-left: 0px !important;
}

.file-download {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border: 1px solid #cccccc;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
}
.download_image_left {
    width: 24px;
    position: absolute;
}
.download_image_right {
    width: 28px;
    float: right;
    position: absolute;
    right: 12px;
}
.file-download a{
    margin: 0px 0px 0px 0px;
    font-size: 1.2em;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
    z-index: 99;
}
h5.footer-title.mt-4 {
    font-size: 1em;
    line-height: 20px;
    margin-bottom: 5px;
    margin-top: 15px !important;
}


.gallery-header {
    text-align: center;
    margin-bottom: 30px;
}
.image-card{
    cursor: pointer;
}
.swiper_two{
    position: relative;
}

.gallery-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.gallery-container .swiper_two {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    padding-bottom: 40px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
}

.gallery-container .swiper-slide {
    display: flex;
    gap: 30px;
    /* padding: 15px; */
    
}
.image-card{
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}
.gallery-container .image-card {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.gallery-container .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-container .image-card:hover img {
    transform: scale(1.05);
}

.gallery-container .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 15px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

/* .gallery-container .image-card:hover .image-overlay {
    transform: translateY(0);
} */

.gallery-container .image-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.gallery-container .image-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-container .swiper-button-next,
.gallery-container .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    top: calc(50% + 25px);
}

.gallery-container .swiper-button-next:hover,
.gallery-container .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-30%) scale(1.05);
}

.gallery-container .swiper-button-next:after,
.gallery-container .swiper-button-prev:after {
    font-size: 18px;
}

/* .gallery-container .swiper-pagination {
    bottom: 10px;
} */

/* .gallery-container .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.gallery-container .swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
} */

.gallery-container .gallery-info {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.gallery-container .current-slide-info {
    color: white;
    font-size: 1.2rem;
}

.gallery-container .slide-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.gallery-container .slide-counter {
    opacity: 0.8;
    font-size: 1rem;
}

.gallery-container .total-photos {
    color: white;
    text-align: right;
}

.gallery-container .total-count {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.gallery-container .total-label {
    opacity: 0.8;
    font-size: 0.9rem;
}


.section-banner{
    position: relative;
    overflow: hidden;
    margin: 0px;
    background-position: right;
    padding-bottom: 70px;
    background: url('../img/logo_background.png') right no-repeat;
}

.slide-features{
    margin-top: 60px;
}
.container-custom{
    max-width: 1320px;
    margin: 0px auto;
}
.banner-content{
    position: relative;
    z-index: 2;
}


.section-description {
    font-size: 1.1rem;
    color: #2d3436;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
    background: rgba(255,255,255,0.2);
    /* padding: 20px; */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 0px;
}

.teacher-card {
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,179,71,0.3), transparent);
    transition: all 0.5s ease;
    opacity: 0;
}

.teacher-card:hover::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.teacher-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 4px solid #ffb347;
}

.teacher-photo img {
    width: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-photo img {
    transform: scale(1.1);
}

.teacher-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3436;
    margin-bottom: 0px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.teacher-position {
    font-size: 1rem;
    color: #636e72;
    margin-bottom: 15px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.teacher-quote {
    font-size: 0.95rem;
    color: #2d3436;
    line-height: 1.5;
    font-style: italic;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.5);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ffb347;
}

.teacher-quote::before {
    content: '"';
    font-size: 2rem;
    color: #ffb347;
    position: absolute;
    top: -5px;
    left: 5px;
}

.teacher-quote::after {
    content: '"';
    font-size: 2rem;
    color: #ffb347;
    position: absolute;
    bottom: -25px;
    right: 10px;
}
.read-more{
    background: #45679A;
    color: white;
    border: none;
    padding: 5px 10px 6px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    position: relative;
    width: 175px;
    margin: 0px auto;
}
.news-cart-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.single-section .swiper-slide img{
    width: 100%;
    height: initial;
    object-fit: contain;
}


@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .teacher-card {
        padding: 20px;
    }
    .gallery-container {
        padding: 20px;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .swiper_two {
        height: 300px;
    }
    
    .swiper-slide {
        flex-direction: column;
        gap: 10px;
    }
    
    .gallery-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


.cloud-content {
    bottom: 0;
    left: 0;
    padding-top: 0px;
    /* position: fixed; */
    right: 0;
    top: 0;
    z-index: 1;
  }
  
  .cloud-block {
    position: absolute;
    opacity: 0.8;
  }
  .cloud-1 {
    top: 50px;
  }
  .cloud-2 {
    top: 40vh;
  }
  .cloud-3 {
    top: 20vh;
  }
  .cloud-4 {
    top: 40vh;
  }
  .cloud-5 {
    top: 65vh;
  }
  .cloud-6 {
    top: 35vh;
  }
  .cloud-7 {
    bottom: 30px;
  }
  
  .cloud-1 {
    animation: animate-1 32s linear infinite;
    -webkit-animation: animate-1 32s linear infinite;
    transform: scale(0.65);
    -webkit-transform: scale(0.65);
  }
  
  .cloud-2 {
    animation: animate-2 37s linear infinite;
    -webkit-animation: animate-2 37s linear infinite;
    transform: scale(0.45);
    -webkit-transform: scale(0.45);
  }
  
  .cloud-3 {
    animation: animate-3 45s linear infinite;
    -webkit-animation: animate-3 45s linear infinite;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  
  .cloud-4 {
    animation: animate-4 50s linear infinite;
    -webkit-animation: animate-4 50s linear infinite;
    transform: scale(0.4);
    -webkit-transform: scale(0.4);
  }
  
  .cloud-5 {
    animation: animate-5 55s linear infinite;
    -webkit-animation: animate-5 55s linear infinite;
    transform: scale(0.55);
    -webkit-transform: scale(0.55);
  }
  
  .cloud-6 {
    animation: animate-6 60s linear infinite;
    -webkit-animation: animate-6 60s linear infinite;
    transform: scale(0.45);
    -webkit-transform: scale(0.45);
  }
  
  .cloud-7 {
    animation: animate-7 65s linear infinite;
    -webkit-animation: animate-7 65s linear infinite;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  
  /* Cloud Objects */
  
  .cloud {
    width: 350px;
    height: 120px;
    border-radius: 100px;
    box-shadow: 0 16px 16px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 16px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    background: #A6DFF6;
  }
  
  .cloud:after,
  .cloud:before {
    background: #A6DFF6;
    content: "";
    position: absolute;
    z-index: -1;
  }
  
  .cloud:after {
    width: 100px;
    height: 100px;
    left: 50px;
    top: -50px;
    border-radius: 100px;
  }
  
  .cloud:before {
    width: 180px;
    height: 180px;
    right: 50px;
    top: -90px;
    border-radius: 200px;
  }
  
  /* KEYFRAMES */
  
  @keyframes animate-1 {
    0% {
      left: 90%;
    }
    10% {
      left: 110%;
    }
    10.001% {
      left: -10%;
    }
    100% {
      left: 90%;
    }
  }
  
  @keyframes animate-2 {
    0% {
      left: 75%;
    }
    25% {
      left: 110%;
    }
    25.001% {
      left: -10%;
    }
    100% {
      left: 75%;
    }
  }
  
  @keyframes animate-3 {
    0% {
      left: 60%;
    }
    40% {
      left: 110%;
    }
    40.001% {
      left: -10%;
    }
    100% {
      left: 60%;
    }
  }
  
  @keyframes animate-4 {
    0% {
      left: 45%;
    }
    55% {
      left: 110%;
    }
    55.001% {
      left: -10%;
    }
    100% {
      left: 45%;
    }
  }
  
  @keyframes animate-5 {
    0% {
      left: 30%;
    }
    70% {
      left: 110%;
    }
    70.001% {
      left: -10%;
    }
    100% {
      left: 30%;
    }
  }
  
  @keyframes animate-6 {
    0% {
      left: 10%;
    }
    90% {
      left: 110%;
    }
    90.001% {
      left: -10%;
    }
    100% {
      left: 10%;
    }
  }
  
  @keyframes animate-7 {
    0% {
      left: -10%;
    }
  
    99.99% {
      left: 110%;
    }
    100% {
      left: -10%;
    }
  }
  
  /* ANIMATIONS */
  
  .sun {
    margin: 0px auto;
    width:100px;
    height: 100px;
    border-radius: 100%;
    background-color: #fcc952;
    background-image: linear-gradient(
      145deg,
      rgba(252, 201, 82, 1) 0%,
      rgba(252, 201, 82, 1) 61%,
      rgba(248, 160, 55, 1) 100%
    );
    -webkit-background-image: linear-gradient(
      145deg,
      rgba(252, 201, 82, 1) 0%,
      rgba(252, 201, 82, 1) 61%,
      rgba(248, 160, 55, 1) 100%
    );
    box-shadow: inset 2px 2px 8px 0 rgba(252, 201, 82, 0),
      inset -3px -3px 8px 0 rgba(245, 169, 76, 0),
      6px 6px 18px 0 rgba(204, 123, 35, 0.35),
      -6px -6px 18px 0 rgba(205, 157, 35, 0.5);
    -webkit-box-shadow: inset 2px 2px 8px 0 rgba(252, 201, 82, 0),
      inset -3px -3px 8px 0 rgba(245, 169, 76, 0),
      6px 6px 18px 0 rgba(204, 123, 35, 0.35),
      -6px -6px 18px 0 rgba(205, 157, 35, 0.5);
    position: relative;
    z-index: 2;
  }
  .sunlight-content {
    bottom: 0;
    left: 8%;
    position: absolute;
    right: 0;
    top: 14%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: max-content;
    height: max-content;
}
  .sun-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }
  .eyes-block {
    width: 80px;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
  }
  .eyes {
    background-color: #2e261a;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    display: inline-flex;
    display: -webkit-inline-flex;
    position: relative;
  }
  .eyes:before {
    content: "";
    height: 6px;
    width: 6px;
    display: block;
    position: absolute;
    top: 3px;
    background-color: #fff;
    border-radius: 100%;
    animation: Rotate-eye 4s ease-in-out alternate infinite;
    -webkit-animation: Rotate-eye 4s ease-in-out alternate infinite;
  }
  .mouth {
    width: 18px;
    height: 18px;
    background-color: #2f261a;
    text-align: center;
    margin: 0px auto;
    position: absolute;
    overflow: hidden;
    border-radius: 0px 0px 25px 25px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    top: 100%;
    animation: scale-mouth 2s linear infinite;
    -webkit-animation: scale-mouth 2s linear infinite;
  }
  .tongue {
    width: 100%;
    height: 16px;
    background-color: #f54b2e;
    border-radius: 100%;
    position: absolute;
    bottom: -6px;
    left: 0;
    animation: scale-tongue 2s linear infinite;
    -webkit-animation: scale-tongue 2s linear infinite;
  }
  
  .sunlight-box {
    filter: drop-shadow(0px 0px 12px rgba(252, 201, 82, 0.8));
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: Rotate 20s linear infinite;
    -webkit-animation: Rotate 20s linear infinite;
  }
  .sunlight-box span {
    height: 100px;
    width: 100px;
    background-color: #f8a037;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
  }
  .sunlight-box span:first-child {
    transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
  }
  .sunlight-box span:nth-child(2) {
    transform: rotate(60deg);
    -webkit-transform: rotate(60deg);
  }
  .sunlight-box span:nth-child(3) {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
  }








  /* gallery start */

.gallery-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.gallery-count {
    font-size: 1.8rem;
    color: #f39c12;
    font-weight: normal;
}

.swiper-gallery {
    width: 100%;
    height: 500px;
    position: relative;
    border-radius: 20px;
}

.swiper-slide,
.swiper-slide-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.swiper-slide img,
.swiper-slide-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.swiper-slide:hover img,
.swiper-slide-gallery:hover img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 30px 30px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.swiper-slide:hover .slide-overlay,
.swiper-slide-gallery:hover .slide-overlay {
    transform: translateY(0);
}

.slide-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.slide-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-top: 5px;
}

/* Навігаційні кнопки */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: #f39c12;
    border-radius: 50%;
    color: white;
    margin-top: -25px;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.swiper-button-next::before,
.swiper-button-prev::before {
    font-family: swiper-icons;
    font-size: 28px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-weight: 700;
    margin-left: 5px;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

/* Пагінація */
.swiper-pagination {
    bottom: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #EDFAFF;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #f39c12;
    transform: scale(1.2);
}


/* Колекктив педагогів */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.staff-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out;
    cursor: pointer;
}
.staff-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.staff-card:hover::before {
    left: 100%;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.staff-photo {
    width: 100%;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    border: 5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.staff-card:hover .staff-photo {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.staff-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-position {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-style: italic;
}

.staff-experience {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
}
.single-teacher-photo{
    margin-bottom: 15px;
}
.teacher-text{
    margin-top: 10px;
}
.mobile-menu-label{
    display: none;
}


.document_link{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border: 1px solid #cccccc;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
}
.document_date{
    margin-left: 30px;
    margin-right: 30px;
    font-weight: 500;
    position: relative;
}
.document_date:before{
    position: absolute;
    content: '';
    width: 2px;
    height: 20px;
    background: #000000;
    border-radius: 50%;
    right: -15px;
    top: 3px;
}
.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transition: .2s transform, .2s left;
    width: 14px;
    height: 14px;
}


/* Анімація появи */
.gallery-container {
    animation: fadeInUp 0.8s ease;
}
.photogallery.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    margin-top: 40px;
}

.photogallery .gallery-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    width: calc(33% - 20px);
}
.mobile_phone{
    display: none;
}
.photogallery .gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 1);
}

.photogallery .gallery-item:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1), rgba(173, 216, 230, 0.1));
    pointer-events: none;
}

.photogallery .image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.photogallery .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.photogallery .gallery-item:hover .gallery-image {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

.photogallery .photo-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FDC800;
    color: black;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.9em;
}

.photogallery .content {
    padding: 10px;
    text-align: center;
}
.photo-count-number{
    font-size: 1rem;
    margin-right: 5px;
}
.photo-count img{
    width: 30px !important;
    height: initial !important;
}

.photogallery .gallery-title {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.photogallery .gallery-description {
    color: #666;
    font-size: 1em;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.photogallery .gallery-item:hover .gallery-description {
    color: #555;
}
.group_small .small:nth-child(3),.group_small .small:nth-child(4){
    margin-bottom: 0px;
}


/* .arrow-down {
    position: relative;
}
.arrow-down:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    top: 10px;
    right: 0px;
    background: url('img/down.svg') no;
} */



@media (max-width: 480px) {
    .gallery-container {
        padding: 0 10px;
    }

    .swiper-gallery {
        height: 300px;
        border-radius: 15px;
    }

    .swiper-slide,
    .swiper-slide-gallery {
        border-radius: 15px;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* gallery end */


  /* .footer {
        background: linear-gradient(0deg, rgba(42, 66, 88, 0.95), rgba(42, 66, 88, 0.95)), url('img/texture-white.png'), #2A4258;
        color: #fff;
    }
   */
  /* keyframe animation */
  @keyframes Rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  @-webkit-keyframes Rotate {
    from {
      -webkit-transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(360deg);
    }
  }
  
  @keyframes Rotate-eye {
    0%,
    35% {
      right: 3px;
    }
    65%,
    100% {
      right: 10px;
    }
  }
  
  @-webkit-keyframes Rotate-eye {
    0%,
    35% {
      right: 3px;
    }
    65%,
    100% {
      right: 10px;
    }
  }
  
  @keyframes scale-mouth {
    0% {
      height: 18px;
    }
  
    100% {
      height: 24px;
    }
  }
  
  @-webkit-keyframes scale-mouth {
    0% {
      height: 18px;
    }
  
    100% {
      height: 24px;
    }
  }
  
  @keyframes scale-tongue {
    0% {
      height: 16px;
    }
  
    100% {
      height: 20px;
    }
  }
  
  @-webkit-keyframes scale-tongue {
    0% {
      height: 16px;
    }
  
    100% {
      height: 20px;
    }
  }
  

  


/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 1367px) {
    .header-container {
        padding: 0 0px;
    }
}

@media (max-width: 1367px) {
    .group-card{
        width: calc(33% - 25px)
    }
    .container-custom{
        max-width: 83.334vw;
    }
}
@media (max-width: 1200px) {
    .photogallery.gallery-grid {
        flex-wrap: wrap;
    }
    .photogallery .gallery-item {
        width: calc(50% - 15px);
    }
}
@media (max-width: 991px) {
    .container{
        padding: 0px 20px;
        max-width: 100%;
    }
    .photogallery.gallery-grid{
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
    
    .nav-item .dropdown-item:before{
        content: '';
        position: absolute;
        top: 14px;
        left: -2px;
        width: 10px;
        height: 2px;
        background: #ccc;
    }
    .nav-menu {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: end;
        align-items: center;
        flex-direction: column;
    }
    .advantages-grid {
        grid-template-columns: 1fr; /* 1 колонка */
    }
    .links-grid {
        justify-content: center;
        flex-wrap: wrap;
    }
    .mobile_phone{
        display: block;
        font-size: 1.05rem;
        color: #ffb347;
        font-weight: bold;
        background-color: #F0F0F0;
        border-radius: 5px;
        padding: 2px 10px 4px;
        line-height: 26px;
    }
    .mobile_phone img{
        width: 22px;
        height: 22px;
        margin-right: 5px;
    }
    
    .photogallery .gallery-item {
        width: 100%;
    }
    .single-section {
        margin: 30px 0px 40px;
    }
    .section-banner{
        background: none;
    }
    .section-banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        opacity: 0.5;
        z-index: 0; 
        background: url('../img/homebanner.png') right no-repeat;
    }
    .container-custom.banner-flex-wrap::before{
        content: "";
        position: absolute;
        top: 0;
        left: 15px;
        width: calc(100% - 30px);
        height: 100%;
        background-color: white;
        border-radius: 10px;
        background-size: cover;
        opacity: 0.4;
        z-index: 0;
    }
    .banner-content-title{
        text-align: center;
        line-height: 28px;

    }
    .slide-features li, .single-section ul li{
        margin-bottom: 6px;
    }
    .slide-features {
        margin-top: 20px;
    }
    
    .section-banner > * {
        position: relative;
        z-index: 1; /* Контент зверху */
    }
    .mobile-menu-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 4px 5px rgba(102, 126, 234, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    .nav-link .fas {
        font-size: 14px;
        padding: 5px 5px 5px 0px;
    }


    .mobile-menu-label::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .mobile-menu-label:hover::before {
        left: 100%;
    }

    .mobile-menu-label:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 10px rgba(102, 126, 234, 0.4);
    }

    .menu_title_name {
        color: black;
        font-weight: 600;
        font-size: 8px;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }

    .mobile-menu-label span {
        display: block;
        width: 30px;
        height: 3px;
        background: black;
        margin: 1.5px 0;
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform-origin: center;
        transition: all 0.3s ease;
    }

    #mobile-menu-toggle:checked + .mobile-menu-label .menu_title_name {
        opacity: 0;
        transform: translateY(-10px);
    }

    #mobile-menu-toggle:checked + .mobile-menu-label span:nth-child(2) {
        transform: rotate(45deg);
    }

    #mobile-menu-toggle:checked + .mobile-menu-label span:nth-child(3) {
        opacity: 0;
        transform: translateX(20px);
    }

    #mobile-menu-toggle:checked + .mobile-menu-label span:nth-child(4) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    #mobile-menu-toggle:checked + .mobile-menu-label {
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        transform: rotate(360deg) scale(1.1);
    }
    .gallery-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .swiper-gallery {
        height: 400px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
    }

    .slide-overlay {
        padding: 20px 20px 20px;
    }

    .slide-title {
        font-size: 1.2rem;
    }

    .slide-description {
        font-size: 0.9rem;
    }

  
    
    .top-bar{
        display: none;
    }
    .title-page {
        line-height: 42px;
    }
    .staff-grid {
        display: grid;
        grid-template-columns: auto;
    }
    .group-card {
        width: 100%;
    }
    .menu-header-container{
        display: none;
        position: absolute;
        left: 0px;
        top: 80px;
        width: 100%;
        height: 100vh;
        background-color: white;
        z-index: 999;
    }
    .menu-header-container.active{
        display: block;
        position: absolute;
        left: 0px;
        top: 80px;
        width: 100%;
        height: 100vh;
        background-color: white;
        z-index: 999;
    }
    .staff-name {
        font-size: 1.2rem;
    }
    .staff-photo {
        margin: 0 auto 10px;
    }
    a.link-item {
        width: 48%;
        text-align: center;
        margin: 0px 0px;
    }
    .link-title {
        font-size: 0.8rem;
    }
    .link-item .logo-container img{
        width: auto;
        max-width: 100px;
    }
    .footer-section {
        margin-top: 5px;
    }
    .footer-bottom p{
        margin-bottom: 0px;
    }
    .button-register{
        margin: 0px auto;
    }
    .banner-content{
        padding-top: 20px;
    }
    .footer-content {
        line-height: 1.3;
        margin-bottom: 10px;
    }
    .links-grid {
        justify-content: space-between;
    }
    .group-illustration img {
        width: initial;
        height: 100%;
    }
    .sun {
      width: 140px;
      height: 140px;
    }
    .sunlight-box span {
      height: 140px;
      width: 140px;
    }
    .cloud {
      width: 300px;
      height: 70px;
    }
    .cloud:before {
      width: 120px;
      height: 120px;
      top: -80px;
      right: 50px;
    }
    .eyes-block {
      width: 70px;
    }
    .eyes {
      width: 18px;
      height: 18px;
    }
    .eyes:before {
      height: 5px;
      width: 5px;
    }
    .mouth {
      width: 15px;
      height: 15px;
    }
    .tongue {
      bottom: -8px;
    }
    /* KEYFRAMES */
  
    @keyframes scale-mouth {
      0% {
        height: 15px;
      }
  
      100% {
        height: 22px;
      }
    }
  
    @-webkit-keyframes scale-mouth {
      0% {
        height: 15px;
      }
  
      100% {
        height: 22px;
      }
    }
  
    @keyframes scale-tongue {
      0% {
        height: 14px;
      }
  
      100% {
        height: 20px;
      }
    }
  
    @-webkit-keyframes scale-tongue {
      0% {
        height: 14px;
      }
  
      100% {
        height: 20px;
      }
    }
  }
/* Responsive */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-content {
        padding: 30px;
    }
    
    .slider-wrapper {
        height: 500px;
    }

    .slide-features li {
        font-size: 1rem;
    }

    .image-placeholder {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes float {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@keyframes drop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes rainbow-glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shine {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}



@media (max-width: 768px) {
    .groups-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .group-card {
        padding: 25px;
        min-height: 350px;
    }

    .group-illustration {
        height: 150px;
    }

    .illustration-content {
        font-size: 3rem;
    }
    .main-header.sticky .menu-header-container.active{
        top: 68px;
    }
    .mobile-menu-label.active span:nth-child(2) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-label.active span:nth-child(3) {
        opacity: 0;
    }
    
    .mobile-menu-label.active span:nth-child(4) {
        transform: rotate(-45deg) translate(3px, -3px);
    }
    #mobile-menu-toggle:checked + header .nav-menu {
        display: flex;
    }
    .nav-link{
        justify-content: center;
    }
    .dropdown-item{
        margin: 0px;
        color: #5A5A5A;
    }
    .nav-menu li{
        width: auto;
        display: block;
    }
    .nav-menu{
        padding-left: 0px;
        margin-top: 25px;
    }
    .dropdown.show {
        text-align: center;
        line-height: 14px;
        padding-left: 0px;
    }
   
    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .group-illustration {
        margin-bottom: 5px;
    }
 
    .dropdown {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
    .section {
        padding: 60px 0px 30px;
        overflow-x: hidden;
    }
    .title-page {
        text-align: center;
        font-size: 2.2em;
    }
    .dropdown.show {
        display: flex !important;
        flex-direction: column;
        visibility: visible;
        opacity: 1;
        margin-top: 5px;
        align-items: center;
        flex-direction: column;
    }
    .logo img {
        width: 70px;
    }
    .main-header{
        padding: 7px 0px;
    }
    .dropdown {
        display: none !important;
        flex-direction: column;
    }
    .dropdown.open {
        display: flex !important;
    }
    .main-header.sticky .logo img {
        width: 55px;
    }
    .main-header.sticky .mobile-menu-label span {
        margin: 1.5px 0;
    }
    .main-header.sticky .mobile-menu-label{
        padding: 8px;
    }
    .menu_title_name {
        margin-bottom: 1px;
    }
    .mb-4{
        margin-bottom: 0px !important;
    }
    .footer-bottom {
        margin-top: 10px;
    }
    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    .section-title {
        line-height: 30px;
        margin-bottom: 20px;
    }
}

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

    .group-card {
        padding: 20px;
        min-height: 320px;
    }

    .group-illustration {
        height: 120px;
    }

    .illustration-content {
        font-size: 2.5rem;
    }

    .group-details {
        flex-direction: column;
        gap: 5px;
    }
}