@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

img {
    margin: 0 auto;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
    list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  padding: 0;
  margin: 0;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

main {
    font-family: "Montserrat", sans-serif;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    
    --facebook-blue: #1877F2;     
    --facebook-bg-light: #F0F2F5; 
    --facebook-white: #FFFFFF;    
    --facebook-text-dark: #050505; 
    --facebook-text-gray: #606770; 

    
    --font-family-primary: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-family-primary);
    margin: 0;
    padding: 0;
    background-color: var(--facebook-bg-light);
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background-color: var(--facebook-white); 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); 
    position: sticky;
    top: 0;
    z-index: 1000; 
}

.head-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px; 
    margin: 0 auto;
    padding: 16px 16px; 
}


.header-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--facebook-blue); 
    transition: opacity 0.2s;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo img {
    height: 40px; 
    margin-right: 8px;
    
}



.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    color: var(--facebook-text-gray); 
    font-size: 1rem;
    font-weight: 600; 
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.2s;
}


.nav-list a:hover {
    color: var(--facebook-blue);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -8px; 
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.2s;
}

.burger {
    display: none; 
}

@media (max-width: 992px) {
    .head-wrap {
        padding: 6px 15px;
    }
    
    .nav-list li {
        margin: 0 10px; 
    }
}


@media (max-width: 900px) {

    
    .burger {
        display: block;
        background: none;
        border: none;
        padding: 0;
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: relative;
        z-index: 10;
        background-color: var(--facebook-bg-light); 
        border-radius: 50%;
        z-index: 9999;
    }

    .burger span,
    .burger span::before,
    .burger span::after {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--facebook-text-gray);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .burger span::before {
        content: '';
        top: -8px;
    }

    .burger span::after {
        content: '';
        top: 8px;
    }
    
    
    .nav {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--facebook-white);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    
    .nav.active {
        max-height: 300px; 
    }

    .nav-list {
        flex-direction: column; 
        padding: 10px 0;
    }

    .nav-list li {
        margin: 0;
        border-bottom: 1px solid var(--facebook-bg-light); 
    }

    .nav-list a {
        padding: 15px 20px;
        font-size: 1.1rem;
        color: var(--facebook-text-dark); 
    }
    
    
    .nav-list a::after {
        display: none;
    }
    
    
    .burger.active span {
        background: transparent;
    }
    .burger.active span::before {
        transform: rotate(45deg);
        top: 0;
    }
    .burger.active span::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

.header-down {
    background-color: var(--facebook-white); 
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
    padding: 10px 0; 
    margin-bottom: 20px; 
}

.header-container h3 {
    padding-top: 15px;
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.header-last-news h3 {
    
    color: var(--facebook-text-dark); 
    font-size: 2.8rem;
    font-weight: 700; 
    text-transform: uppercase; 
    margin: 0; 
    padding: 20px 0;
    text-align: center; 
}


@media (max-width: 768px) {
    .header-down {
        padding: 8px 0; 
        margin-bottom: 15px;
    }
    
    .header-last-news h3 {
        font-size: 1.6rem;
    }
}

.news-page {
    max-width: 700px; 
    margin: 20px auto; 
    padding: 0 16px;
}

.news-page-list {
    list-style: none;
    padding: 0;
    margin: 0;
}


.news-page-list li {
    background-color: var(--facebook-white); 
    border-radius: 8px; 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); 
    padding: 15px; 
    margin-bottom: 15px; 
    border: 1px solid var(--facebook-bg-light); 
}


.news-page-text-date h5 {
    color: var(--facebook-text-gray); 
    font-size: 0.85rem;
    font-weight: 400; 
    margin: 0 0 10px 0; 
    padding-bottom: 5px;
    border-bottom: 1px solid var(--facebook-bg-light); 
}


.news-page-list li h3 {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    font-weight: 600; 
}

.news-page-list li h3 .news-link {
    color: var(--facebook-text-dark) !important; 
    transition: color 0.2s;
}

.news-page-list li h3 .news-link:hover {
    color: var(--facebook-blue); 
}


.news-page-list li p {
    color: var(--facebook-text-dark);
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 15px 0;
}


.news-page-btn {
    padding-top: 10px;
    border-top: 1px solid var(--facebook-bg-light); 
    text-align: right; 
}

.news-page-btn a {
    
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: var(--facebook-blue);
    color: var(--facebook-white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.news-page-btn a:hover {
    background-color: #1562d2; 
}


.news-page-list li:last-child {
    
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .news-page {
        margin: 10px auto;
        padding: 0 10px;
    }
    
    .news-page-list li {
        border-radius: 0; 
        box-shadow: none; 
        border-left: none;
        border-right: none;
        padding: 12px;
        margin-bottom: 8px; 
    }
    
    .news-page-btn {
        text-align: center; 
    }
}

.aticle-container {
    max-width: 700px;
    margin: 0 auto;
}

.container {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

.content {
    flex: 3;      
}


.article-container {
    max-width: 1300px;
    margin: 20px auto;
    padding: 0 16px;
    display: flex;
    gap: 20px; 
    align-items: flex-start;
}

.news {
    flex: 1;
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 60px;
    align-self: flex-start;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    flex: 0 0 320px;
    max-width: 320px;
    padding-bottom: 20px;
    margin-right: 30px;
    padding-top: 22px;
}

.sidebar-mob {
    display: none;
}

.sidebar-first {
    background: var(--facebook-white);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-top: 0;
    margin-bottom: 15px;
    max-width: 100%;
}

.sidebar-first-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.sidebar-first-wrap h3 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--facebook-text-dark);
    margin: 0;
}

.sidebar-first h2 {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--facebook-text-dark);
    margin-bottom: 10px;
}

.sidebar-first-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-first-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--facebook-bg-light);
    padding: 8px 0;
    margin-bottom: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sidebar-first-list li:hover {
    background-color: var(--facebook-bg-light);
    border-radius: 4px;
}

.sidebar-first-list li:last-child {
    border-bottom: none;
}


.sidebar-first-list li h5 {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--facebook-text-dark);
    margin: 0;
}

.sidebar-first-list li h4 {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--facebook-text-gray);
    margin: 0;
}

.sidebar-second {
    background: var(--facebook-bg-light);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin-top: 0; 
    margin-bottom: 15px;
    border: 1px solid #c9c9c9;
}

.sidebar-second h3 {
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    color: var(--facebook-blue) !important;
    margin-bottom: 15px;
}

.sidebar-second h6 {
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    color: var(--facebook-text-dark);
    max-width: none;
    margin-bottom: 20px;
}

.sidebar-second a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--facebook-white);
    background: var(--facebook-blue);
    border-radius: 6px;
    padding: 10px 20px;
    display: block;
    max-width: max-content;
    margin: 0 auto;
    text-align: center;
    text-transform: none;
    transition: background-color 0.2s;
}

.sidebar-second a:hover {
    background-color: #1562d2;
}

@media (max-width: 1024px) {
    .article-container {
        gap: 15px;
    }
    
    .sidebar {
        flex: 0 0 280px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .article-container {
        flex-direction: column;
        padding: 0 10px;
    }
    
    .news {
        order: 1;
    }
    
    .sidebar {
        order: 2;
        position: static;
        max-height: none;
        max-width: 100%;
        width: 100%;
        padding-bottom: 0;
        margin-top: 10px;
    }
    
    .sidebar-first,
    .sidebar-second {
        margin-bottom: 10px;
        box-shadow: none; 
        border-radius: 0; 
    }
}

.carousel {
    margin-left: 84px;
    margin-top: 160px;
}

.carousel h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 36px;
    color: #000;
}


.carousel-track h3 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 32px;
    text-transform: capitalize;
    color: #000;
    max-width: 550px;
    margin-bottom: 16px;
}

.carousel-track p {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 18px;
    color: #000;
    max-width: 550px;
}

.carousel-track img {
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
}


.carousel-item {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 4px solid #D9D9D9;
    padding-bottom: 40px;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    gap: 36px;
}

.carousel {
    overflow-x: auto;
    scrollbar-width: none; 
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 36px;
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-item {
    flex: 0 0 auto;
}

.cookie-banner-container {
    
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    
    
    background-color: var(--facebook-white); 
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); 
    z-index: 10000; 
    padding: 15px 25px; 
    
    display: flex; 
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner-text {
    color: var(--facebook-text-dark);
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1; 
}

.cookie-info-link {
    color: var(--facebook-blue); 
    font-weight: 600;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.cookie-info-link:hover {
    text-decoration: underline;
}


.cookie-banner-actions {
    display: flex;
    gap: 10px;
}


.cookie-button {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    border: 1px solid transparent;
}


.accept-button {
    background-color: var(--facebook-blue);
    color: var(--facebook-white);
    border-color: var(--facebook-blue);
}

.accept-button:hover {
    background-color: #1562d2;
}


.reject-button {
    background-color: transparent;
    color: var(--facebook-text-gray);
    border-color: var(--facebook-text-gray);
}

.reject-button:hover {
    background-color: var(--facebook-bg-light);
    color: var(--facebook-text-dark);
    border-color: var(--facebook-bg-light);
}


@media (max-width: 600px) {
    .cookie-banner-container {
        flex-direction: column; 
        align-items: flex-start;
        padding: 15px;
    }

    .cookie-banner-text {
        margin-bottom: 10px;
        font-size: 0.85rem;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: space-around; 
    }
    
    .cookie-button {
        flex: 1; 
        text-align: center;
        padding: 10px 0;
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 250px) and (max-width: 1023px) {
    .sidebar-mob {
        display: none;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .sidebar {
        display: none;
    }

    .nav-list li:nth-child(n + 5) {
        display: none;
    }

    .nav-list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }


    .news {
        margin-left: 0;
    }
}   


.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    
    background-color: var(--facebook-blue);
    color: var(--facebook-white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.2s;
    z-index: 9999;
}

.scroll-top-btn:hover {
    background-color: #1562d2;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 769px) {

}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        line-height: 50px;
    }
}

@media (max-width: 1023px) {
    .sidebar-second,
    .sidebar-first {
        margin-right: 0;
        width: 286px;
    }

    .sidebar-first h2 {
        font-size: 20px;
    }

    .sidebar-first-wrap h3 {
        font-size: 28px;
    }

    .sidebar-first-list li h5 {
        font-size: 14px;
    }

    .sidebar-first {
        padding: 12px 22px;
    }

    .sidebar-first-list li h4 {
        font-size: 13px;
    }
    
    .sidebar-second {
       padding: 24px 16px 59px 16px; 
    }

    .sidebar-second h6 {
        max-width: 254px;
    }

    .sidebar-second a {
        border: none;
    }

    .sidebar-mob-h4 {
        font-size: 9px !important;
    }

    .carousel {
        margin-left: 48px;
        margin-top: 0;
    }

  .nav-list a {
    font-size: 16px;
  }
}

@media (max-width: 726px) {
    .header-logo {
        font-size: 20px;
    }
    
    .header-logo {
        margin-right: 20px;
        font-size: 1.4rem !important;
    }

}

.popup-overlay {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

@keyframes fadeIn {
    from {opacity:0;}
    to {opacity:1;}
}

.popup-content h3 {
    margin-bottom: 10px;
    color: #000000;
}

.popup-content p {
    color: #555;
    font-size: 0.95rem;
}

.about {
    padding: 30px 0;
    background-color: var(--facebook-bg-light);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1100px;
}

.about-list li {
    background-color: var(--facebook-white);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    padding: 25px;
    display: flex;
    align-items: normal;
    gap: 30px; 
}

.about-list li:nth-child(even) {
    flex-direction: row-reverse; 
}

.about-list li img {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--facebook-text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-text strong, .about-text em {
    color: var(--facebook-blue);
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .about-list li:nth-child(even) {
        flex-direction: column;
    }

    .about-list li img {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
        order: -1;
    }
    
    .about-text {
        order: 1; 
    }
}

@media (max-width: 550px) {
    .about {
        padding: 10px 0;
    }
    
    .about-list li {
        box-shadow: none;
        border-radius: 0;
        margin-bottom: 10px;
        padding: 15px;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 1115px) {
    header a {
        font-size: 17px;
    }
}

@media (max-width: 643px) {
    .nav-list {
        display: none;
    };
}

footer {
    background-color: var(--facebook-white); 
    border-top: 1px solid var(--facebook-bg-light); 
    padding: 20px 0;
    margin-top: 30px; 
    color: var(--facebook-text-dark);
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex; 
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
}


.footer-left {
    flex: 1 1 50%; 
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--facebook-blue);
    text-transform: uppercase;
}

.footer-logo-link img {
    height: 30px;
    margin-right: 8px;
}


.footer-left-list-first,
.footer-left-list-second {
    list-style: none;
    padding: 0;
    margin: 5px 0;
    display: flex;
    flex-wrap: wrap;
}

.footer-left-list-first li,
.footer-left-list-second li {
    margin-right: 20px;
    margin-bottom: 5px;
}

.footer-left-list-first a,
.footer-left-list-second a {
    color: var(--facebook-text-gray); 
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-left-list-first a:hover,
.footer-left-list-second a:hover {
    color: var(--facebook-blue);
}



.footer-right {
    flex: 1 1 40%; 
    padding-left: 20px;
}

.footer-right-list-first {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
}

.footer-right-list-first li a {
    color: var(--facebook-text-dark); 
    font-size: 0.9rem;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.footer-right-list-first li a:hover {
    background-color: var(--facebook-bg-light); 
}


.footer-copyright {
    text-align: center;
    color: var(--facebook-text-gray);
    margin: 20px 0 0 0;
    padding-top: 15px;
    border-top: 1px solid var(--facebook-bg-light);
    font-size: 0.8rem;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center; 
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        flex: 1 1 100%; 
        padding: 0;
        margin-bottom: 20px;
    }
    
    .footer-logo {
        width: 100%;
        text-align: center;
    }
    
    .footer-logo-link {
        justify-content: center;
    }

    .footer-left-list-first,
    .footer-left-list-second {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .footer-left-list-first li,
    .footer-left-list-second li {
        margin: 0 10px 5px 10px;
    }
    
    .footer-right-list-first {
        justify-content: center;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        padding-top: 10px;
        margin-top: 10px;
    }
}

.contact {
    max-width: 600px; 
    margin: 30px auto;
    padding: 20px;
    background-color: var(--facebook-white);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); 
}

.contact p {
    color: var(--facebook-text-dark);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}


#contactForm {
    display: flex;
    flex-direction: column;
}

.contact-flex {
    display: flex;
    gap: 15px; 
}

.input-wrap {
    margin-bottom: 15px;
    width: 100%; 
}

.input-wrap label {
    display: block;
    color: var(--facebook-text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.input-wrap input[type="text"],
.input-wrap input[type="email"],
.input-wrap textarea {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #dddfe2; 
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box; 
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--facebook-text-dark);
    background-color: var(--facebook-bg-light); 
}


.input-wrap input:focus,
.input-wrap textarea:focus {
    border-color: var(--facebook-blue);
    outline: none;
    box-shadow: 0 0 0 1px var(--facebook-blue);
    background-color: var(--facebook-white); 
}


.btn-submit {
    
    background-color: var(--facebook-blue);
    color: var(--facebook-white);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
    width: 100%; 
}

.btn-submit:hover {
    background-color: #1562d2; 
}


@media (max-width: 550px) {
    .contact {
        margin: 10px auto;
        padding: 15px;
    }
    
    .contact-flex {
        flex-direction: column; 
        gap: 0;
    }
}

.map {
    margin: 30px 0;
    padding: 0;
}

.map iframe {
    display: block; 
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); 
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.popup-overlay.active {
    opacity: 1;
    display: flex; 
}

.popup-content {
    background-color: var(--facebook-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--facebook-text-gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.popup-close:hover {
    color: var(--facebook-text-dark);
}

.popup-content h3 {
    color: var(--facebook-blue);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--facebook-text-dark);
    margin-bottom: 0;
}

.privacy {
    padding: 30px 0;
    background-color: var(--facebook-bg-light);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--facebook-white);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.privacy-container h1 {
    color: var(--facebook-text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--facebook-bg-light);
}

.privacy-container h2 {
    color: var(--facebook-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.privacy-container p {
    color: var(--facebook-text-dark);
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: left;
}

@media (max-width: 768px) {
    .privacy {
        padding: 10px 0;
    }
    
    .privacy-container {
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }
    
    .privacy-container h1 {
        font-size: 1.5rem;
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 15px;
    }
    
    .privacy-container h2 {
        font-size: 1.1rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .privacy-container p {
        font-size: 0.95rem;
    }
}

.news {
    background-color: var(--facebook-white);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 20px 25px;
    margin-bottom: 20px;
    max-width: 900px;
}

.news-img-wrap {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.news-img {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news h2 {
    color: var(--facebook-text-dark);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--facebook-bg-light);
}

.news h3 {
    color: var(--facebook-text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.news h4 {
    color: var(--facebook-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.news p {
    color: var(--facebook-text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news p a,
.news h2 a {
    color: var(--facebook-blue);
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}

.news p a:hover,
.news h2 a:hover {
    text-decoration: underline;
}

.news img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.news ul {
    list-style: disc; 
    color: var(--facebook-text-dark);
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 5px;
}

.news ul li {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 5px;
}

.news a.post-link {
    display: inline-block;
    background-color: var(--facebook-blue);
    color: var(--facebook-white);
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    margin: 20px auto;
    width: max-content;
    transition: background-color 0.2s;
}

.news a.post-link:hover {
    background-color: #1562d2;
}


@media (max-width: 768px) {
    .news {
        padding: 15px;
        box-shadow: none;
        border-radius: 0;
        margin-bottom: 10px;
    }
    
    .news h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .news h3 {
        font-size: 1.2rem;
        margin-top: 20px;
    }
    
    .news p, .news ul li {
        font-size: 0.95rem;
    }
    
    .news a.post-link {
        font-size: 1rem;
        padding: 10px 15px;
        width: 100%;
    }
}

@media (max-width: 500px) {
    .news-img-wrap {
        flex-wrap: wrap;
    }
}

.news a.post-link {
    display: flex;
    max-width: max-content;
    margin: 0 auto;
    justify-content: center;
}


header {
    background-color: var(--facebook-white); 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); 
    position: sticky;
    top: 0;
    z-index: 1000; 
}
.head-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px; 
    margin: 0 auto;
    padding: 16px 16px; 
}
.header-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--facebook-blue); 
    transition: opacity 0.2s;
}
.header-logo:hover { opacity: 0.8; }
.header-logo img { height: 40px; margin-right: 8px; }

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav-list li { margin: 0 15px; }
.nav-list a {
    color: var(--facebook-text-gray); 
    font-size: 1rem;
    font-weight: 600; 
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.2s;
}
/* .nav-list a:hover { color: var(--facebook-blue); }
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -8px; 
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.2s;
} */

.burger { display: none; }

@media (max-width: 900px) {
    .burger {
        display: block;
        width: 30px;
        height: 30px;
        background-color: var(--facebook-bg-light);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        z-index: 9999;
    }
    .burger span,
    .burger span::before,
    .burger span::after {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--facebook-text-gray);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    .burger span::before { content: ''; top: -8px; }
    .burger span::after { content: ''; top: 8px; }

    .nav {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--facebook-white);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 1000;
    }
    .nav.active { max-height: 1000px; }

    .nav-list {
        flex-direction: column;
        padding: 10px 0;
    }
    .nav-list li {
        margin: 0;
        border-bottom: 1px solid var(--facebook-bg-light);
    }
    .nav-list a {
        padding: 15px 20px;
        font-size: 1.1rem;
        color: var(--facebook-text-dark);
    }
    .nav-list a::after { display: none; }

    .burger.active span { background: transparent; }
    .burger.active span::before { transform: rotate(45deg); top: 0; }
    .burger.active span::after { transform: rotate(-45deg); top: 0; }
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #f8f8f8;
    border: 1px solid #2c2c2c;
    border-radius: 10px;
    padding: 8px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #000000;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.dropdown-menu li a:hover {
    color: #585858;
    padding-left: 20px;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        position: absolute;
    }
}

@media (max-width: 900px) {
    .dropdown-menu {
        display: none;
        position: static;
        background: none;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        color: #333 !important;
    }
}

.dropdown > a {
    position: relative;
}

.dropdown > a::after {
    content: "▼";
    position: absolute;
    right: 0;
    left: 103%;
    top: 40%;
    transform: translateY(-50%);
    font-size: 10px;
    opacity: 0.6;
}


.dropdown > a:hover {
    border-bottom: none !important;
}

.nav a {
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .dropdown-menu {
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }
}
