body {
    margin: 0;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
}
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}
.logo {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
}

.logo img {
    width: 120%;
    height: auto;
    margin-bottom: 10px;
}

.logo h2 {
    color: black;
    text-decoration: none;
    font-size: 24px;
    margin: 0;
    text-align: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
}

@media (max-width: 988px) {
    .logo {
        width: 30%;
        margin-right: 15px;
    }
    
    .logo h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo h2 {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .logo h2 {
        font-size: 12px;
    }
}

.search-container {
position: relative;
width: 100%;
background-color: #fff;
border: 2px solid #ddd;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
z-index: 1001;
}

.search-container:focus-within {
border-color: #b80f29;
box-shadow: 0 0 8px rgba(184, 15, 41, 0.5);
}
.search-container.expanded {
border-radius: 20px 20px 10px 10px;
}

.search-input {
display: flex;
align-items: center;
padding: 10px;
}

.search-icon {
width: 20px;
height: 20px;
margin-right: 10px;
}

input[type="text"] {
width: 100%;
padding: 10px;
border: none;
outline: none;
font-size: 16px;
background: transparent;
}

.search-results {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
padding: 0 10px;
background: inherit;
border-top: none;
}

.search-results.active {
max-height: 200px;
padding: 10px 0;
border-top: 2px solid #ddd;
}

.search-results div {
padding: 10px 0;
display: flex;
align-items: center;
cursor: pointer;
transition: background-color 0.2s ease;
}

.search-results div:hover {
background-color: #f0f0f0;
}

.search-results span {
margin-left: 10px;
}

.main {
    display: flex;
    flex: 1;
}
.left {
    width: 18%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
@media (max-width: 1500px) {
.left {
    display: none;
}
.right {
    width: 100% !important;
    padding: 20px 5% !important;
}
}
.left button {
    padding: 20px 40px;
    font-size: 18px;
    cursor: pointer;
}
.right {
    width: 75%;
    padding: 20px;

}
.right h1 {
    margin-top: 0;
}
.contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.contacts p {
    font-size: 18px;
    font-weight: bold;
}

.contacts {
    position: absolute;
    right: 0;
    top: -5px;
    z-index: 500;
}
.contacts a {
    font-size: 20px;
    text-decoration: none;
    color: #b80f29;
    position: relative;
    transition: color 0.3s ease;
}

.contacts a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #b80f29;
    transition: width 0.5s ease;
}

.contacts a:hover {
    color: #b80f29;
}

.contacts a:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}


.old-contacts {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.old-contacts .centered-title {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 28px;
    margin: 0 0 15px 0;
}

.old-contacts .contacts {
    justify-content: center;
    gap: 40px;
}

.new-contact-info {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}

.new-contact-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.new-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}


.contact-link, .contacts a {
    color: #b80f29;
    text-decoration: none;
    position: relative;
}

.contact-link::after, .contacts a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #b80f29;
    transition: width 0.3s ease;
}

.contact-link:hover::after, .contacts a:hover::after {
    width: 100%;
}

@media (max-width: 1157px) {
    .old-contacts {
        display: none !important;
    }
    
    .new-contact-info {
        display: block;
    }
}

@media (min-width: 1158px) {
    .new-contact-info {
        display: none;
    }
}

 @media (max-width: 522px) {
    .new-contacts {
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
    
    .new-contact-info h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .new-contacts {
    font-size: 16px;
}
}

@media (max-width: 533px) {
    .new-contact-info h1 {
        font-size: 24px;
    }
    .new-contacts {
    font-size: 16px;
}
}

@media (max-width: 408px) {
    .new-contact-info h1 {
    font-size: 22px;
}
}

.buttons-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 40px;
justify-content: center;
align-content: center;
min-height: 60vh;
padding-top: 5px;
position: relative;
z-index: 1;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
    justify-content: center;
    align-content: center; 
    min-height: 60vh; 
    padding-top: 5px; 
    position: relative;
    z-index: 1; 
}

@media (max-width: 1500px) {
.buttons-grid {
    gap: 30px;
}
.main_btn {
    padding: 12px;
}
.main_btn img {
    width: 80px;
    height: 80px;
}
.main_btn span {
    font-size: 24px;
}
}

@media (max-width: 1200px) {
.buttons-grid {
    gap: 20px;
}
.main_btn img {
    width: 70px;
    height: 70px;
}
.main_btn span {
    font-size: 20px;
}
}
@media (max-width: 1158px) {
    .buttons-grid {
        min-height: unset;
    }
}

@media (max-width: 900px) {
.buttons-grid {
    display: none;
}
}

.main_btn {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 15px;
    cursor: pointer;
    border-radius: 15px; 
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff; 
}

.main_btn:hover {
    box-shadow: 0 12px 14px rgba(0, 0, 0, 0.3);
}

.main_btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.main_btn img {
    width: 100px;
    height: 100px;
    user-select: none; 
}

.main_btn span {
    font-size: 30px;
    user-select: none; 
}

.main_btn a {
    text-decoration: none;
    color: inherit;
    display: contents; 
    user-select: none; 
}

@media (max-width: 970px) {
.buttons-grid {
gap: 20px; 
}

.main_btn img {
width: 70px; 
height: 70px;

}

.main_btn span {
font-size: 22px; 
display: block; 
width: 100%; 
}
}

.mobile-buttons-grid {
    display: none; 
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: center;
    align-content: center;
    padding-top: 5px;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .mobile-buttons-grid {
        display: grid;
    }
}

.mobile-btn {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 15px;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

.mobile-btn:hover {
    box-shadow: 0 12px 14px rgba(0, 0, 0, 0.3);
}

.mobile-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-btn img {
    width: 80px;
    height: 80px;
    user-select: none;
}

.mobile-btn span {
    font-size: 24px;
    user-select: none;
}

.mobile-btn a {
    text-decoration: none;
    color: inherit;
    display: contents;
    user-select: none;
}

@media (max-width: 480px) {
    .mobile-btn img {
        width: 60px;
        height: 60px;
    }
    
    .mobile-btn span {
        font-size: 20px;
    }
}
.big {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #fff;
    border: none;
    border-radius: 25px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-align: center;
    max-width: 300px;
    width: 100%;
    margin: 0 5px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.big:hover {
    box-shadow: 0 12px 14px rgba(0, 0, 0, 0.3);
}

.big:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.big img {
    width: 80%;
    height: auto;
    margin-bottom: 10px;
}

.big p {
    font-size: 24px;
    margin: 0;
    color: black;
}