a {
    text-decoration: none;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.header {
    display: flex;
    flex-direction: column;
    background-color: #222;
    color: #fff;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo { 
    max-height: 155px; 
    object-fit: contain;
    position: absolute;
    left: 60px;
    top: 5%;
}

.search {
    flex: 3;
    display: flex;
    justify-content: center;
}

.search-input {
    position: absolute;
    right: 680px;
    top: 45px;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border: none;
    outline: none;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus,
.search-input:active {
    background-color: rgba(255, 255, 255, 0.3);
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-right: 500px; 
}

.phone {
    font-size: 14.5px;
    position: relative;
    margin-top: -12.5px; 
}

.order-btn {
    color: red;
    cursor: pointer;
    margin-top: 10px; 
    font-size: 16px;
}

.icons {
    display: flex;      
    gap: 5px;            
    margin-top: 10px;         
}

.icon img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: transparent;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: background-color 0.3s;
}

.icon:hover {
    background-color: rgba(255, 255, 255, 0.1); 
}

.menu {
    display: flex;
    justify-content: center;
    background-color: #333;
}

.menu-item {
    padding: 20px 100px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: #555;
}

.menu-item.special {
    background-color: red;
    margin-left: 0;
    border-radius: 3px;
}

.uly {
    left: 28.5%;
    position: relative;
    top: -2px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 600px;
    font-family: Arial, Helvetica, sans-serif;
}

.modal h2 {
    margin-top: 0;
    font-weight: bold;
    color: #333;
}

.input-field {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
    color: #555;
}

.form-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.agree-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5em;
}

.agree-checkbox {
    vertical-align: middle;
    margin-right: 5px;
}

.send-btn {
    background-color: crimson;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.required-note {
    color: darkred;
    font-size: 14px;
    margin-top: 10px;
}

.pointer-cursor {
    cursor: pointer;
}

.logo,
.uly,
.phone span,
.icon img {
    cursor: pointer;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ccc;
    color: black;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.close-modal-btn:hover {
    background-color: #aaa;
}

.required-star {
    color: red;
}

#region-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
    color: #555;
}

#city-search {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#cities-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

#cities-list li {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#cities-list li:hover {
    background-color: #f0f0f0;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.close-button:hover {
    background-color: #c44d4d;
}

.banner-section {
    background-image: url("../img/logo3.png");
    background-size: cover;
    background-position: center; 
    background-position: calc(50% + 140px) calc(50% + 180px); 
    height: 350px; 
    color: white;
    padding: 50px;
}

.banner-content {
    float: left; 
    max-width: 50%; 
    padding: 20px;
    color: white;
}

.banner-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1.2rem;
}

.select-device-btn {
    display: inline-block;
    background-color: red;
    color: white;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.select-device-btn:hover {
    background-color: darkred;
}

.personal-data-processing {
    color: red;
}

.about-us-writes {
    background-color: white; 
    padding: 100px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin: auto;
    max-width: 1490px;
    text-align: center;
}

.about-us-writes h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
}

.reviews-grid {
    display: flex;         
    flex-wrap: wrap;                 
    justify-content: center;        
    gap: 20px;                      
}

.review-card {
    background-color: #FFFFFF;      
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    width: 300px;                  
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.review-name {
    font-size: 18px;
    color: #3A7BD5; 
    margin-bottom: 5px;
}

.rating {
    color: gold;                   
    font-size: 16px;
    margin-bottom: 5px;
}

/* Текст отзыва */
.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    text-align: center;
    word-break: break-word;
}

.footer {
    background-color: #222;
    color: #fff;
    padding: 20px 10px;
    font-size: 12.5px;
  }

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.column {
    flex-grow: 1;
    margin-right: 20px;
}

.column ul {
    list-style: none;
    padding: 0;
}

.column a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.column h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.btn-tradein {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-tradein:hover {
    background-color: darkred;
}

.contact-column .order-btn {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
}

.copyright p {
    margin-bottom: 5px;
}

.address {
    font-style: italic;
}

