/* -------------------------------------
   CSS ทั่วไปและ Desktop
-------------------------------------- */
.effect-pulse {
    font-size: 60px;
    font-weight: bold;
    color: #ffffff;
    border: 3px solid #ffffff; 
    padding: 10px 30px;
    border-radius: 50px;
    display: inline-block;
    animation: pulseGlow 2s infinite alternate;
    text-align: center; 
    line-height: 1.2; 
}

@keyframes pulseGlow {
    0% { 
        text-shadow: 0 0 5px rgba(39,58,139,0.8); 
        box-shadow: 0 0 5px rgba(39,58,139,0.5);
        transform: scale(1); 
    }
    100% { 
        box-shadow: 0 0 15px #4db8ff, 0 0 25px #ffffff;
        transform: scale(1.03); 
    }
}

.effect-blue {
    font-size: 48px;
    font-weight: 900; 
    background: linear-gradient(to bottom, #94a8ff 0%, #273b8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1.5px 1.5px 0px #ffffff) 
            drop-shadow(-1.5px -1.5px 0px #ffffff) 
            drop-shadow(1.5px -1.5px 0px #ffffff) 
            drop-shadow(-1.5px 1.5px 0px #ffffff) 
            drop-shadow(3px 5px 5px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.effect-blue:hover {
    transform: translateY(-5px) scale(1.05);
}

.btn-request-2 {
    background-color: #da1538;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 20px 30px; /* ปรับ padding นิดหน่อยให้ปุ่มสวยขึ้น */
    font-size: 3vw;
    transition: 0.5s;
    text-decoration: none;
    display: inline-block;
}

.btn-request-2:hover { background-color: #b71c1c; color: #fff; text-decoration: none; }

.step-box {
    text-align: center;
    margin-bottom: 30px;
}

.step-title {
    font-size: 42px;
    font-weight: bold; 
    font-family: 'db_heaventroundedbold', sans-serif;
}

.cyan-icon-box {
    width: 140px;
    height: 140px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 20px auto; 
    position: relative;
}

.cyan-icon-box img {
    width: 100%; 
    height: auto;
    border-radius: 25px;
    object-fit: contain;
}

.step-number {
    background-color: #273b8c;
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;

    position: absolute; 
    top: -20px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 2;
    margin: 0;
}

/* คลาสควบคุมการแสดงผล Desktop / Mobile */
.show-on-mobile { display: none; }
.show-on-desktop { display: block; }

.btn-free {
    cursor: pointer;
}
@media (max-width: 768px) {
    .show-on-mobile { display: block; }
    .show-on-desktop { display: none !important; }

    .effect-pulse { font-size: 20px; padding: 8px 10px; border-width: 2px; margin-top: 10px; margin-bottom: 15px; width: auto; }
    .effect-blue { font-size: 32px; margin-top: 20px !important; }
    .content h3 { font-size: 22px; }

    .mobile-banner-section { text-align: center; padding-bottom: 30px; }
    .mobile-banner-img { width: 100%; display: block; margin-bottom: 0; }
    .mobile-banner-title { font-size: 36px; font-weight: bold; color: #ffffff; margin-top: 10px; margin-bottom: 0; line-height: 1.1; }
    .mobile-banner-subtitle { font-size: 22px; color: #ffffff; margin-top: 5px; margin-bottom: 15px; }

    .btn-banner-mobile {
        background-color: #da1538; color: #ffffff; font-size: 22px; font-weight: bold;
        padding: 10px 30px; border-radius: 50px; border: 3px solid #ffffff; 
        display: inline-block; width: 90%; max-width: 320px; text-decoration: none;
    }

    .white-card-container {
        background-color: #ffffff; border-radius: 20px;
        padding: 30px 15px; 
        margin: 0 15px 30px 15px; /* ใส่ขอบซ้าย-ขวา 15px */
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .card-main-title { 
        font-size: 32px !important; line-height: 1.3; 
        color: #273b8c; font-weight: bold; margin-bottom: 25px;
    }

    .btn-card-mobile {
        background-color: #da1538; color: #ffffff; font-size: 26px; font-weight: bold;
        padding: 10px 10px; border-radius: 50px; border: none; 
        display: inline-block; width: 80%; text-decoration: none;
    }

    .step-title { font-size: 36px; }

    /* ระบบ Slider ปัดซ้ายขวาในมือถือ */
    .mobile-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
    }
    .mobile-slider::-webkit-scrollbar { display: none; }
    .mobile-slide-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        padding: 0 15px;
    }

    /* จุดไข่ปลา (Dots) */
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 5px;
        margin-bottom: 25px;
    }
    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #c4d2eb; 
        transition: 0.3s;
    }
    .dot.active { background-color: #273b8c; }
}