* {
    box-sizing: border-box;
}

.contact-page {
    padding: 122px 260px 102px;
    
    background: #ffffff;
}

.contact-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 34px;
    row-gap: 44px;
    flex: 0 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 324px;
}

.contact-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.contact-icon svg {
    width: 27px;
    height: 27px;
}

.contact-item:nth-child(1) .contact-icon {
    background-color: #EB610E;
}

.contact-item:nth-child(2) .contact-icon {
    background-color: #2F4269;
}

.contact-item:nth-child(3) .contact-icon {
    background-color: #EB610E;
}

.contact-item:nth-child(4) .contact-icon {
    background-color: #2F4269;
}

.contact-icon svg path {
    fill: #ffffff !important;
}

.contact-details h3 {
    line-height: 36px;
    letter-spacing: 0;
    color: #636363;
    font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
    font-size: 30px;
    margin: 0 0 5px 0;
    font-weight: 400;
}

.contact-details p {
    margin: 0;
    line-height: 19px;
    letter-spacing: 0;
    color: #636363;
    font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.contact-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-form {
    width: 100%;
    max-width: 769px;
}

.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;

}

.contact-form .wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-form label {
    letter-spacing: 0;
    color: #636363;
    font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.contact-form label.required {
    color: #eb610e;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    border: 1px solid #2f4269;
    width: 100%;
    padding: 20px;
    font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
    font-size: 16px;
    background: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    height: 70px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
    min-height: 150px;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #eb610e;
}

.contact-form .wpcf7-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #eb610e;
	color: white !important;
float: right !important;
    width: 250px;
    height: 60px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-end;
    margin-top: 33px;
}

.contact-form .wpcf7-submit:hover {
    background: #d55509;
}

.contact-form .wpcf7-submit span {
    line-height: 19px;
    letter-spacing: 0;
    color: #ffffff;
    font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.contact-form .wpcf7-submit::after {
    content: "";
    width: 8px;
    height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L1 13" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .contact-page {
        padding: 80px 60px;
    }
    
    .contact-container {
        gap: 60px;
    }
    
    .contact-item {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 40px 20px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }
    
    .contact-info {
        margin-top: 0;
        row-gap: 30px;
    }
    
    .contact-item {
        min-width: auto;
        gap: 15px;
    }
    
    .contact-details h3 {
        font-size: 24px;
        line-height: 30px;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .contact-form .wpcf7-submit {
        width: 100%;
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 30px 15px;
    }
    
    .contact-details h3 {
        font-size: 20px;
        line-height: 26px;
    }
    
    .contact-details p {
        font-size: 14px;
        line-height: 17px;
    }
    
    .contact-form label {
        font-size: 14px;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"] {
        height: 60px;
        padding: 15px;
    }
    
    .contact-form textarea {
        height: 120px;
        padding: 15px;
    }
    
    .contact-form .wpcf7-submit {
        height: 60px;
        font-size: 14px;
    }
}