/* Contact Info Section Styles */
.contact-info-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Kanit', sans-serif;
    /* หรือฟอนต์ที่คุณใช้หลัก */
}

.contact-info-section h2 {
    text-align: center;
    font-size: 2.5em;
    /* ขนาดตัวอักษรสำหรับหัวข้อหลัก */
    color: #333;
    /* สีเข้มสำหรับหัวข้อ */
    margin-bottom: 40px;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* จัดเรียงแบบ responsive */
    gap: 30px;
    /* ระยะห่างระหว่างรายการ */
}

.contact-item {
    display: flex;
    /* จัดเรียงไอคอนกับข้อความแนวนอน */
    align-items: flex-start;
    /* จัดให้ไอคอนอยู่บนสุด ถ้าข้อความหลายบรรทัด */
    background-color: #f9f9f9;
    /* สีพื้นหลังของการ์ดแต่ละรายการ */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 2.5em;
    /* ขนาดไอคอน */
    color: #0073aa;
    /* สีไอคอน (ตัวอย่าง: WordPress Blue) หรือสีธีมของคุณ */
    margin-right: 20px;
    flex-shrink: 0;
    /* ป้องกันไม่ให้ไอคอนหดตัว */
    width: 50px;
    /* กำหนดความกว้างให้ไอคอน */
    text-align: center;
}

/* ถ้าใช้สีเฉพาะสำหรับแต่ละไอคอน */
.contact-item:nth-child(1) .contact-icon {
    color: #00B900;
}

/* LINE Green */
.contact-item:nth-child(2) .contact-icon {
    color: #1877F2;
}

/* Facebook Blue */
.contact-item:nth-child(3) .contact-icon {
    color: #c71610;
}

/* Generic Email Red (ตัวอย่าง) */
.contact-item:nth-child(4) .contact-icon {
    color: #555;
}

/* Dark Grey for Sales/Support */


.contact-details h3 {
    font-size: 1.4em;
    /* ขนาดตัวอักษรสำหรับหัวข้อย่อย */
    color: #444;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    font-size: 1em;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.contact-details p a {
    color: #0073aa;
    /* สีลิงก์ (ตัวอย่าง) หรือสีธีมของคุณ */
    text-decoration: none;
    word-break: break-all;
    /* ช่วยตัดคำถ้าอีเมลหรือ ID ยาวเกินไป */
}

.contact-details p a:hover {
    text-decoration: underline;
    color: #005075;
    /* สีลิงก์เมื่อ hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-info-section h2 {
        font-size: 2em;
    }

    .contact-icon {
        font-size: 2em;
        margin-right: 15px;
        width: 40px;
    }

    .contact-details h3 {
        font-size: 1.2em;
    }

    .contact-details p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        /* สำหรับหน้าจอเล็กมาก ให้ไอคอนอยู่บนข้อความ */
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
        /* เพิ่มระยะห่างเมื่อไอคอนอยู่ด้านบน */
    }
}