/* สำหรับส่วนของการสมัครสมาชิกให้อยู่ขวา */
.membership-container {
    display: flex;
    align-items: flex-start; /* ปรับให้ข้อความชิดบน */
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    background-color: #f9f9f9;
    margin-top: 20px; /* เพิ่มระยะห่างจากรูปภาพ */
}

.membership-image {
    max-width: 45%;
    position: relative;
}

.membership-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.membership-content {
    max-width: 50%;
    text-align: left; /* จัดให้ข้อความชิดซ้าย */
    display: flex;
    flex-direction: column; /* จัดข้อความให้เป็นแนวตั้ง */
}

.membership-content h2 {
    font-size: 26px;
    color: #222;
    margin-bottom: 10px;
    font-weight: bold; /* เพิ่มความหนาให้หัวข้อ */
}

.membership-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 24px; /* ขนาดไอคอน */
}

.feature-text h3 {
    font-size: 20px;
    color: #444;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.membership-button {
    margin-top: 20px;
}

.btn-register {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-register:hover {
    background-color: #0056b3;
}
