﻿/* button Tel */
/* ส่วนจัดวางปุ่มให้อยู่ตรงกลาง */
.call-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    font-family: 'Sarabun', sans-serif;
}

/* สไตล์ของปุ่ม (Desktop / Tablet) */
.btn-call-now {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #F2B705, #E6A817);
    color: white;
    padding: 18px 45px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(230, 168, 23, 0.35);
    transition: all 0.3s ease;
    animation: pulse-gold 2s infinite;
}

    /* เอฟเฟกต์ hover */
    .btn-call-now:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 15px 25px rgba(230, 168, 23, 0.45);
        background: linear-gradient(135deg, #E6A817, #F2B705);
    }

/* ไอคอนโทรศัพท์ */
.phone-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Animation โทนสีทอง */
@keyframes pulse-gold {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 168, 23, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(230, 168, 23, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 168, 23, 0);
    }
}

/* ===============================
   ปรับสำหรับมือถือ
   =============================== */
@media (max-width: 576px) {
    .btn-call-now {
        padding: 14px 28px;
        font-size: 18px; /* ลดขนาดตัวหนังสือ */
        gap: 10px;
    }

    .phone-icon {
        width: 22px;
        height: 22px;
    }
}



.sharegg {
    bottom: 145px !important;
}

.scroll-top-mobile {
    bottom: 85px !important;
}

.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

    .form-container h2 {
        text-align: center;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .form-group textarea {
        height: 80px;
    }

.captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit {
    width: 100%;
    padding: 10px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

    .btn-submit:hover {
        background: #0056b3;
    }

.btRd {
    border-radius: 10px;
}

.link-effect {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease, transform 0.2s ease;
}

    .link-effect:hover {
        color: #ff6600;
        transform: scale(1.1);
    }

    .link-effect:active {
        color: #cc3300;
        transform: scale(1);
    }
