/* (แก้ไข) - ทำให้หน้าเว็บเลื่อน (scroll) ได้ */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Kanit', sans-serif;
    position: relative;
    /* (ใหม่) ป้องกันการเลื่อนแนวนอน */
    overflow-x: hidden; 
}

/* (แก้ไข) - ทำให้หน้าเว็บเลื่อน (scroll) ได้ */
body {
    background: linear-gradient(135deg, #b2eaff 0%, #e0d9ff 100%);
    text-align: center;
    padding: 40px 0;
}

/* (แก้ไข) - กล่องจัดกลุ่มเนื้อหา (แบบโปร่งใส) */
.content-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    margin: 20px auto;
}

/* (ใหม่) - กล่องสีขาวสำหรับหน้า "ยินดีต้อนรับ" */
.welcome-box {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 90%;
    max-width: 550px;
}


/* โลโก้หลัก (ม้าโยก) */
.main-logo {
    width: 350px;
    margin-bottom: 0px; /* (ปรับแล้ว) ขยับขึ้นอีก */
    animation: gentle-rock 4s ease-in-out infinite;
}

/* ชื่อสถาบันภาษาไทย (ปรับปรุงแล้ว) */
h1 {
    color: #005f73;
    font-size: 2.8rem;
    margin: 0px 0 15px 0; /* (ปรับแล้ว) ขยับขึ้นอีก */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
}

/* (แก้ไข) ใช้ .location-text แทน h2 ที่ซ้ำซ้อน */
h2.location-text {
    color: #004a80;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: -10px;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* ปุ่ม "เข้าเว็บไซต์" (ปรับปรุงแล้ว) */
.btn {
    background-color: #ffffff;
    color: #555;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #f8f8f8;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* --- ------------------------------------ --- */
/* --- (ใหม่) Keyframes สำหรับ Animation อิโมจิ --- */
/* --- ------------------------------------ --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); } /* ลอยขึ้น */
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; } /* ขยายและชัดขึ้น */
    100% { transform: scale(1); opacity: 0.8; }
}

/* (ใหม่) Animation สำหรับบอลลูน */
@keyframes ascend {
    0% { transform: translateY(0px) rotate(-3deg); opacity: 0.8; }
    25% { transform: translateY(-30px) rotate(2deg); }
    50% { transform: translateY(-60px) rotate(-3deg); opacity: 1; }
    75% { transform: translateY(-30px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(-3deg); opacity: 0.8; }
}

/* --- ส่วนของไอคอนตกแต่งมุม (หน้า Index และ Welcome) --- */
.icon {
    position: absolute;
    font-size: 3rem;
    z-index: 1; /* ให้อยู่หลังเนื้อหา */
    opacity: 0.8;

    /* (ใหม่) เพิ่ม animation พื้นฐาน */
    animation: float 6s ease-in-out infinite;
}

.sun {
    top: -105px;
    left: -50px;
    font-size: 15rem;
}

.cloud {
    top: -10px;
    /* (ปรับตำแหน่ง) */
    right: 780px; 
    font-size: 12rem;
    animation-delay: -2s; /* หน่วงเวลา animation ไม่ให้ลอยพร้อมกัน */
}

.bee {
    /* (ปรับตำแหน่ง) */
    top: 100px; 
    right: 220px;
    font-size: 1.5rem;
    animation: pulse 4s ease-in-out infinite; /* (ใหม่) ใช้ animation แบบกระพริบ */
}

.flower {
    /* (ปรับตำแหน่ง) */
    bottom: 50px; 
    left: 80px;
    font-size: 2.5rem;
    animation-delay: -4s;
}

.cat {
    /* (ปรับตำแหน่ง) */
    top: -10px;
    right: 0px;
    font-size: 7rem;
    transform: rotate(15deg);
    animation-delay: -1s;
}

.cloud1 {
    top: -15px;
    /* (ปรับตำแหน่ง) */
    right: 600px; 
    font-size: 7rem;
    animation-delay: -3s;
}

.ladybug {
    /* (ปรับตำแหน่ง) */
    bottom: 150px; 
    left: 40px;
    font-size: 2rem;
    animation: pulse 5s ease-in-out infinite;
    animation-delay: -3s;
}

.butterfly-idx {
    /* (ปรับตำแหน่ง) */
    top: 150px; 
    left: 100px;
    font-size: 3rem;
    transform: rotate(-10deg);
    animation-delay: -4.5s;
}

.rainbow {
    /* (ปรับตำแหน่ง) */
    bottom: 400px; 
    right: 30px;
    font-size: 6rem;
    opacity: 0.8;
    animation-delay: -5s;
}

.star-idx {
    top: 50px;
    right: 30px;
    font-size: 3rem;
    animation: pulse 4s ease-in-out infinite;
    animation-delay: -1s;
}

.rocket-idx {
    /* (ปรับตำแหน่ง) */
    bottom: 200px; 
    left: 100px;
    font-size: 4rem;
    transform: rotate(-25deg);
    animation-delay: -2.5s;
}

.teddy-idx {
    /* (ปรับตำแหน่ง) */
    bottom: 230px; 
    right: 180px;
    font-size: 5rem;
    transform: rotate(10deg);
    animation-delay: -4s;
}

/* --- (ใหม่) ไอคอนที่เพิ่มเข้ามาเพิ่มเติม --- */
.balloon-red {
    top: 80px;
    left: 200px;
    font-size: 5rem;
    color: #ff6347; /* สีแดงอมส้ม */
    animation: ascend 8s ease-in-out infinite;
    animation-delay: -1s;
}

.balloon-blue {
    top: 150px;
    right: 300px;
    font-size: 4rem;
    color: #4682b4; /* สีน้ำเงินเหล็ก */
    animation: ascend 9s ease-in-out infinite;
    animation-delay: -4s;
}

.bird-idx {
    top: 50px;
    right: 650px; /* ใกล้ cloud1 */
    font-size: 2rem;
    color: #4682b4;
    animation: float 7s ease-in-out infinite;
    animation-delay: -2.5s;
}

.grass-idx {
    bottom: -40px;
    left: 0px;
    font-size: 10rem; /* ขนาดใหญ่ขึ้น */
    color: #3cb371; /* สีเขียวอ่อน */
    opacity: 0.6;
    animation: none; /* ไม่มี animation ลอย */
    transform: translateX(-10%); /* ให้พ้นขอบซ้ายนิดหน่อย */
    z-index: 0; /* ให้อยู่หลังสุด */
}

.bee-idx2 {
    bottom: 120px;
    right: 50px;
    font-size: 2rem;
    animation: pulse 4.5s ease-in-out infinite;
    animation-delay: -1.5s;
}

.star-idx2 {
    top: 250px;
    left: 20px;
    font-size: 2.5rem;
    animation: pulse 3.5s ease-in-out infinite;
    animation-delay: -0.5s;
}


/* --- Animation ม้าโยก (แถม) --- */
@keyframes gentle-rock {
    0% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
    100% { transform: rotate(-2deg); }
}
/* ========== โค้ด Modal CSS เริ่มต้นที่นี่ ========== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;

    transform: translateY(-20px);
    opacity: 0;
    animation: fadeInScale 0.3s ease-out forwards;
}
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.close-button {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-button:hover,
.close-button:focus {
    color: #000;
}
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.check-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e6ffed;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-title {
    font-family: 'Kanit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 10px;
    margin-bottom: -5px;
}
.modal-message {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 5px;
}
.modal-button {
    background-color: #007bff;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    transition: background-color 0.3s ease;
}
.modal-button:hover {
    background-color: #0056b3;
}

/* ========== โค้ด Modal CSS สิ้นสุดที่นี่ ========== */
/* --- ------------------------------------ --- */
/* --- สไตล์สำหรับหน้า Welcome (welcome.html) --- */
/* --- ------------------------------------ --- */

/* ไอคอนติ๊กถูกตรงกลาง */
.welcome-check-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 95, 115, 0.1);
}

/* ข้อความหัวข้อในหน้า Welcome */
.welcome-title {
    color: #005f73;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* ข้อความย่อยในหน้า Welcome */
.welcome-message {
    color: #004a80;
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: 30px;
}

/* --- ------------------------------------ --- */
/* --- ไอคอนตกแต่ง (หน้า Welcome) --- */
/* --- ------------------------------------ --- */

.welcome-1 { /* 🎉 */
    top: 50px;
    left: 20px;
    font-size: 9rem;
    transform: rotate(-10deg);
    opacity: 0.7;
    animation-delay: -1s;
}

.welcome-2 { /* 🎈 */
    top: 120px;
    right: 80px;
    font-size: 6rem;
    opacity: 0.8;
    animation-delay: -3s;
}

.welcome-3 { /* ✨ */
    bottom: 250px;
    right: 50px;
    font-size: 3rem;
    animation: pulse 3s ease-in-out infinite;
}

.welcome-4 { /* 💖 */
    bottom: 100px;
    left: 100px;
    font-size: 3rem;
    animation: pulse 5s ease-in-out infinite;
    animation-delay: -1s;
}

.welcome-5 { /* 🥳 */
    top: 250px;
    left: 50px;
    font-size: 7rem;
    transform: rotate(10deg);
    animation-delay: -5s;
}

.welcome-6 { /* ☁️ */
    top: 30px;
    right: 250px;
    font-size: 5rem;
    opacity: 0.6;
    animation-delay: -2s;
}

.welcome-7 { /* 🦋 */
    bottom: 300px;
    left: 150px;
    font-size: 3rem;
    opacity: 0.8;
    animation-delay: -4s;
}

.welcome-8 { /* ⭐ */
    top: 400px;
    right: 120px;
    font-size: 4rem;
    opacity: 0.7;
    animation: pulse 6s ease-in-out infinite;
}

/* --- ---------------------------- --- */
/* --- สไตล์โฆษณา (หน้า Welcome) --- */
/* --- ---------------------------- --- */

.content-wrapper-ad {
    opacity: 0;
    display: none;
    margin: 20px auto;
    z-index: 2; /* ให้อยู่เหนือไอคอน */
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    text-align: left;
    transition: opacity 0.5s ease-in;
}

/* สไตล์ scrollbar (เหมือนเดิม) */
.content-wrapper-ad::-webkit-scrollbar {
    width: 8px;
}
.content-wrapper-ad::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}
.content-wrapper-ad::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}


/* สไตล์สำหรับแท็ก <pre> */
.ad-text {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: left;
}

/* (แก้ไข) สไตล์รูปภาพ (ที่อยู่ในกล่องโฆษณา) */
.schedule-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    margin-top: 20px;
}



/* --- ------------------------------------ --- */
/* --- สไตล์ส่วนท้ายกล่องโฆษณา --- */
/* --- ------------------------------------ --- */

.ad-footer {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #005f73;
    margin: 0;
}

.footer-location {
    font-size: 1rem;
    color: #004a80;
    margin: 5px 0 0 0;
}


/* --- ------------------------------------ --- */
/* --- สไตล์ประวัติครูเรียว (หน้า Welcome) --- */
/* --- ------------------------------------ --- */

.content-wrapper-profile {
    opacity: 0;
    display: none;
    margin: 20px auto;
    z-index: 2; /* ให้อยู่เหนือไอคอน */
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 90%;
    max-width: 550px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: opacity 0.5s ease-in;
}

.profile-title {
    font-size: 2rem;
    color: #005f73;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.profile-degree {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 15px 20px;
    width: 90%;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.degree-level {
    font-size: 1.3rem;
    font-weight: 700;
    color: #007bff;
    margin: 0 0 5px 0;
}

.degree-name {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.degree-uni {
    font-size: 1rem;
    color: #555;
    margin: 5px 0 0 0;
}

/* --- ------------------------------------ --- */
/* --- (ใหม่) สไตล์ปุ่ม "หน้าถัดไป" / "ย้อนกลับ" --- */
/* --- ------------------------------------ --- */

.content-wrapper-nav {
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in;

    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    z-index: 2;
}

.btn-nav span {
    margin-left: 8px;
    font-weight: bold;
}

.btn-nav-prev span {
    margin-right: 8px;
    font-weight: bold;
}


/* --- ------------------------------------ --- */
/* --- (ใหม่) สไตล์กล่องเนื้อหา (หน้าที่ 3) --- */
/* --- ------------------------------------ --- */

.content-wrapper-page3 {
    margin: 20px auto;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 90%;
    max-width: 800px; /* (แก้ไข) ปรับ max-width ให้กว้างขึ้น */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page3-title {
    font-size: 2rem;
    color: #005f73;
    margin-top: 0;
    margin-bottom: 25px; /* เพิ่มระยะห่าง */
}

/* (ลบ .page3-text ที่ไม่ใช้แล้ว) */


/* --- ------------------------------------ --- */
/* --- (ใหม่) ไอคอนตกแต่ง (หน้าที่ 3) --- */
/* --- ------------------------------------ --- */

.p3-1 { /* 🧸 */
    top: 50px;
    left: 80px;
    font-size: 7rem;
    transform: rotate(-5deg);
    animation-delay: -1s;
}
.p3-2 { /* 🪁 */
    top: 120px;
    right: 100px;
    font-size: 5rem;
    transform: rotate(15deg);
    animation-delay: -3s;
}
.p3-3 { /* 🍭 */
    bottom: 250px;
    right: -10px;
    font-size: 4rem;
    animation: pulse 4s ease-in-out infinite;
}
.p3-4 { /* 🌙 */
    bottom: 80px;
    left: 120px;
    font-size: 4rem;
    opacity: 0.7;
    animation-delay: -5s;
}
.p3-5 { /* ⭐ */
    top: 300px;
    left: 40px;
    font-size: 3rem;
    opacity: 0.8;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: -2s;
}
.p3-6 { /* 🦋 */
    top: 20px;
    right: 250px;
    font-size: 3rem;
    animation-delay: -4s;
}

/* --- ------------------------------------ --- */
/* --- (ใหม่) สไตล์ข้อความที่ตั้ง (อ.ทุ่งสง) --- */
/* --- ------------------------------------ --- */

.location-text {
    color: #004a80;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: -10px;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* --- ------------------------------------ --- */
/* --- (กลับมาใช้) สไตล์หน้าติดต่อ/แผนที่ (หน้าที่ 3) --- */
/* --- ------------------------------------ --- */

/* กล่องหลักที่แบ่ง 2 คอลัมน์ */
.contact-map-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
    gap: 30px;
    align-items: flex-start;
}

/* (ซ้าย) กล่องรายละเอียดติดต่อ (แก้ไข!!) */
.contact-details {
    flex: 1;
    min-width: 250px;
    text-align: center; /* (สำคัญ!) แก้ไขเป็น "center" */
    color: #333;
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 15px;
    /* (สำคัญ!) ลบ border-right ออก */
}

.contact-details h4 {
    font-size: 1.4rem;
    color: #005f73;
    margin-top: 0;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.contact-details p {
    margin: 0 0 12px 0;
}

.contact-phone {
    font-size: 1.3rem;
    font-weight: bold;
    color: #004a80;
    margin-top: 20px;
}

/* (ขวา) กล่องแผนที่ */
.map-container {
    flex: 2;
    min-width: 300px;
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.map-container iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/* --- ------------------------------------ --- */
/* --- (ใหม่) สไตล์กล่องฟอร์มติดต่อ (หน้าที่ 3) --- */
/* --- ------------------------------------ --- */

.content-wrapper-form {
    margin: 30px auto 20px auto; /* เพิ่มระยะห่างด้านบน */
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 90%;
    /* (สำคัญ) ทำให้กล่องนี้เล็กลง */
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* (สไตล์ .contact-form และอื่นๆ ข้างใน ยังคงเดิมเหมือนครั้งที่แล้ว) */
.contact-form {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}
.form-group {
    margin-bottom: 15px;
    flex-grow: 1;
}
.form-group.half-width {
    flex-basis: calc(50% - 10px);
    min-width: 150px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #004a80;
    font-weight: bold;
    font-size: 0.95rem;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}
.form-group textarea {
    resize: vertical;
}
.form-submit {
    text-align: center;
    margin-top: 25px;
}

/* --- (จบสไตล์กล่องฟอร์มติดต่อ) --- */

/* --- (โค้ดสำหรับมือถือ) --- */

@media (max-width: 600px) {
    
    /* คำสั่ง: ถ้าหน้าจอกว้าง 600px หรือน้อยกว่า (ขนาดมือถือ)
      ให้ซ่อนไอคอนตกแต่งทั้งหมดทิ้งไป
    */
    .icon {
        display: none;
    }

    /* (สำคัญ) ขยับเนื้อหาหลักให้อยู่ตรงกลางสวยงาม
      หลังจากที่ไม่มีไอคอนมาบังแล้ว
    */
    .content-wrapper {
        margin-top: 80px;
    }

    /* ⬇️ ⬇️ ⬇️ ⬇️ 
      (นี่คือโค้ดที่คุณขอเพิ่มครับ!) 
      ย่อขนาดหัวข้อ h1 ให้อยู่ในบรรทัดเดียว
      ⬇️ ⬇️ ⬇️ ⬇️ 
    */
    h1 {
        font-size: 2.2rem; /* (ลดขนาดจาก 2.8rem) */
    }

}
/* (ผมลบปีกกา "}" ที่เกินมา 1 ตัว ออกจากตรงนี้แล้วครับ) */