/*New Classes 2026*/
.heading-section h1 {
    font-size: 4.8rem;
}

.heading-section h2 {
    font-size: 4.8rem;
}

.heading-section h3 {
    font-size: 3.2rem;
}

.shortcut-donation {
    margin-top: 30px;
    margin-bottom: 30px;
}

.shortcut-donation button {
    border-radius: 4px;
    font-size: 2rem;
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 15px 40px;
}

.shortcut-donation .donation-type {
    margin-bottom: 15px;
}

.shortcut-donation button:last-child {
    margin-bottom: 0;
}

.shortcut-donation .card {
    padding: 30px;
}

.btn-one-time {
    background-color: #ff8c42;
    color: #fff;
}

.btn-one-time:hover {
    background-color: #ff7a1a;
    color: #fff;
}

.btn-monthly {
    background-color: #ffbf00;
    color: #000;
}

.btn-monthly.inactive {
    background-color: #f0f0f0;
    color: #555;
}

.btn-monthly:hover {
    background-color: #ffb300;
    color: #000;
}

.donation-card .btn-light {
    background-color: #f8f8f5;
    color: #000;
    font-weight: 500;
}

.donation-card .btn-light:hover {
    background-color: #eaeae6;
    border-color: #dae0e5;
}

.donation-card .btn-light.active {
    background-color: #d3d3d8;
    font-weight: 600;
}

.donation-section .card.border-0 {
    border: none;
}

.aboutus-section h1 {
    color: #ff8c42;
    font-family: 'promptlight';
}

.aboutus-section h1 span {
    font-family: 'promptmedium';
}

.aboutus-section p {
    font-size: 2rem;
}

.content-green-section {
    background: #93DDAE;
    padding: 40px 0;
}

.content-yellow-section {
    background: #ffbc00;
    padding: 80px 0;
}

.content-green-section p {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 3.6rem;
    margin-bottom: 0;
}

.content-img-section {
    padding: 0;
}

.content-img-section .col-lg-12 {
    padding: 0;
}

.works-slide-section {
    /*overflow: hidden;*/
    overflow: visible;
    position: relative;
    margin-bottom: 250px !important;
    padding-top: 0 !important;
}

.works-slide-section h2 {
    font-family: 'promptlight';
    color: #002049;
}

.works-slide-section h2 span {
    font-family: 'promptmedium';
}

.works-slide-section h2 div {
    color: #f47521;
    font-family: 'promptmedium';
    font-size: 5.6rem;
    font-style: italic;
}

.works-slide-section .heading-section h2 {
    font-size: 4.8rem;
}

.works-carousel-mask {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    /* ตัวตัดจริง */
    position: relative;
}

.works-carousel-align {
    position: relative;
    overflow: hidden;
}

.owl-works {
    position: relative;
}

.owl-works .owl-stage-outer {
    overflow: visible;
}

.owl-works .work-item img {
    display: block;
    width: 100%;
}

/* แถบสีเขียวด้านหลัง carousel */
.works-slide-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    /* เริ่มจากด้านบนของ carousel */
    right: 0;
    width: 50%;
    height: 250px;
    /* ปรับสูงตามต้องการ */
    background-color: #93DDAE;
    /* สีเขียว */
    z-index: 0;
    /* อยู่ด้านหลัง */
}

/* ปรับ carousel ให้อยู่เหนือแถบสีเขียว */
.works-carousel-mask,
.works-carousel-align,
.owl-works {
    position: relative;
    z-index: 1;
}



/* ข้อความ RAKS THAI / FOUNDATION */
.raks-foundation-text {
    position: absolute;
    bottom: -60px;
    left: 250px;
}

/* RAKS THAI (มีเส้นใต้) */
.raks-foundation-text .line-underline {
    font-family: 'promptmedium';
    font-size: 6.4rem;
    color: #002049;
    font-weight: bold;
    border-bottom: 4px solid #F4A021;
    padding-bottom: 12px;
    display: inline-block;
}

/* FOUNDATION (เยื้องมาทางขวา) */
.raks-foundation-text .foundation-text {
    font-family: 'promptmedium';
    font-size: 6.4rem;
    color: #002049;
    font-weight: bold;
    margin-left: 80px;
    top: 30px;
    position: relative;
}

.community-section .heading-section {
    margin-bottom: 0;
}

.community-section .heading-section h2 {
    font-family: 'promptlight';
    font-size: 4.8rem;
    color: #002049;
    margin-bottom: 0;
}

.community-section .heading-section h2 span {
    font-family: 'promptmedium';
    font-size: 5.6rem;
    color: #ffffff;
    display: inline !important;
}

.videos-main-section .container-fluid {
    padding: 0;
}

.project-section {
    background: #f47521 !important;
}

.project-section .heading-section h2 {
    color: #ffffff;
}

.project-section .card-content {
    min-height: 160px;
}

.project-section .container {
    position: relative;
}

.content-section .heading-section {
    margin-bottom: 0;
}

#staff-regis h2 {
    font-size: 4rem;
    color: #ffbc00 !important;
}

#staff-regis p {
    font-size: 2.4rem;
    padding: 15px !important;
}

/* donation.css */

/* Section background */
.donation-section {
    background-color: #0A1E4A;
    font-family: 'Prompt', sans-serif;
    color: #ffffff;
}

/* Title */
.donation-section .donation-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Account card */
.account-card {
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 20px;
    margin-bottom: 15px;
}

.account-card img {
    width: 60px;
    height: auto;
    margin-right: 30px;
}

.account-card strong {
    font-size: 3rem;
    color: #000;
}

/* Color by bank (optional, match brand color) */
.account-card img[src*="scb"] + strong {
    color: #6E33B5;
}

.account-card img[src*="kbank"] + strong {
    color: #009639;
}

.account-card img[src*="pp"] + strong {
    color: #003087;
}

/* Note text */
.donation-section .note {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 1.8rem;
}

.donation-account.paypal {
    display: flex;
    align-items: center;
    /* จัดแนวกลางแนวตั้ง */
    background: #fff;
    /* สีพื้นกล่องเหมือน SCB/KBank */
    border-radius: 6px;
    /* ถ้าอยากเหมือนด้านบน */
    padding: 10px 20px;
    margin-bottom: 15px;
}

.donation-account.paypal .bank-logo img {
    width: 60px;
    /* ปรับให้เท่ากับโลโก้ธนาคาร */
    margin-right: 30px;
}

.donation-account.paypal .account-info {
    display: flex;
    flex-direction: column;
    /* จัด type + name เป็นแนวตั้ง */
}

.donation-account.paypal .account-type {
    font-weight: bold;
    color: #00457C;
    /* ตัวอักษรเข้มสีน้ำเงินเหมือนดีไซน์ */
    font-size: 2.4rem;
}

.donation-account.paypal .account-name {
    color: #009FE3;
    /* ตัวอักษรสีฟ้า */
    white-space: nowrap;
    font-size: 2.4rem;
    /* ป้องกันขึ้นบรรทัดใหม่ */
}

/* QR card */
.qr-card {
    display: inline-block;
    text-align: center;
}

.qr-card img {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 12px;
}

.qr-card p {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

/* New Classes 2026 */
.donation-app-section {
    background: #f58220;
    padding: 22px 0 18px;
}

.donation-app-wrap {
    max-width: 520px;
    margin-left: 18px;
    /* ให้ card อยู่ฝั่งซ้ายเหมือนภาพ */
}

.donation-app-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 18px 0;
    text-align: center;
}

.donation-app-card {
    background: #f3f3f3;
    border-radius: 26px;
    padding: 26px 24px;
    width: 100%;
}

.donation-app-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 14px;
    row-gap: 24px;
    align-items: center;
    justify-items: center;
}

.donation-app-grid .app-item {
    width: 100%;
    text-align: center;
}

.donation-app-grid .app-item img {
    max-width: 100%;
    border-radius: 8px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

.donation-app-note {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 16px;
    text-align: left;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .donation-app-section {
        padding: 20px 0 20px;
    }

    .donation-app-wrap {
        max-width: 100%;
        margin-left: 0;
    }

    .donation-app-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .donation-app-card {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .donation-app-grid {
        grid-template-columns: repeat(5, 1fr);
        column-gap: 8px;
        row-gap: 18px;
    }

    .donation-app-grid .app-item img {
        height: 64px;
    }

    .donation-app-note {
        font-size: 15px;
        white-space: normal;
        text-align: center;
    }
}

/* กำหนดตำแหน่งลูกศร */
.owl-one .owl-nav {
    position: absolute;
    top: -80px;
    /* วางลูกศรที่ด้านบน */
    right: 0;
    /* วางลูกศรที่ด้านขวา */
    z-index: 10;
    /* ให้ลูกศรอยู่บนสุด */
}

.owl-one .owl-nav .owl-prev,
.owl-one .owl-nav .owl-next {
    background: #ddd !important;
    border-radius: 0 !important;
    padding: 15px !important;
    width: 32px;
    height: 36px;
    /* สีส้มของปุ่มลูกศร */
    color: #fff;
    /* สีลูกศรเป็นสีขาว */
    padding: 12px;
    border-radius: 8px !important;
    /* ทำให้ปุ่มเป็นวงกลม */
    font-size: 2.4rem;
    /* ขนาดของลูกศร */
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.owl-one .owl-nav .owl-prev i,
.owl-one .owl-nav .owl-next i {
    color: #f47521;
    /* ให้ลูกศรเป็นสีขาว */
    font-size: 20px;
    /* ขนาดไอคอนลูกศร */
    vertical-align: center;
}

.owl-one .owl-nav .owl-prev {
    left: 10px;
}

.owl-one .owl-nav .owl-next {
    right: 10px;
}

.works-carousel-mb {
    display: none;
}

/* Responsive */
@media (max-width: 1199px) {

    .donation-account.paypal .account-type {
        font-size: 1.8rem;
    }

    .donation-account.paypal .account-name {
        font-size: 1.8rem;
    }

    .aboutus-section h1 span {
        display: inline-block;
        text-align: center;
    }
}
}

@media (max-width: 991px) {
    .owl-works .work-item img {
        height: 300px;
    }

    .heading-section h1 {
        font-size: 4rem !important;
    }

    .heading-section h2 {
        font-size: 4rem !important;
    }

    .owl-works {
        margin-left: 0 !important;
    }

    .owl-works .work-item img {
        height: auto;
    }

    .raks-foundation-text {
        left: 130px;
    }

    .raks-foundation-text .line-underline {
        font-size: 4.8rem;
    }

    .raks-foundation-text .foundation-text {
        font-size: 4.8rem;
        top: 15px;
    }

    .community-section .heading-section h2 {
        font-size: 4.8rem;
    }

    .community-section .heading-section h2 span {
        font-size: 4.8rem;
    }

    .works-slide-section::before {
        width: 40%;
    }

    .account-card strong {
        font-size: 18px;
    }

    .qr-card img {
        width: 180px;
        height: 180px;
    }

    .account-card img {
        width: 48px;
    }

    .donation-account.paypal .bank-logo img {
        width: 48px;
    }

    .donation-account.paypal .account-type {
        font-size: 1.6rem;
    }

    .donation-account.paypal .account-name {
        font-size: 1.6rem;
    }

    .donation-account.paypal .account-name span {
        display: none;
    }
}

@media (min-width: 992px) {
    .owl-works .owl-item .work-item {
        transform: scale(0.9);
        transition: transform .3s ease;
    }

    .owl-works .owl-item.center .work-item {
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .heading-section h1 {
        font-size: 3.2rem !important;
    }

    .heading-section h2 {
        font-size: 3.2rem !important;
    }

    .raks-foundation-text .line-underline {
        font-size: 4rem !important;
    }

    .raks-foundation-text .foundation-text {
        font-size: 4rem !important;
        top: 15px;
    }

    .community-section .heading-section h2 span {
        font-size: 4rem !important;
        display: block !important;
    }

    .works-carousel-mask,
    .works-carousel-align,
    .owl-works .owl-stage-outer {
        overflow: hidden;
    }

    .owl-works .work-item img {
        height: 240px;
    }

    .owl-one .owl-nav {
        top: -75px;
    }

    .owl-works .work-item img {
        height: auto;
    }

    .project-section .card-content {
        min-height: auto;
    }

    .works-carousel-mask {
        display: none;
    }

    .works-carousel-mb {
        display: block;
    }

    .community-section .heading-section h2 span {
        display: block;
    }

    .works-slide-section {
        margin-bottom: 180px !important;
    }

    .donation-section {
        padding: 40px 10px;
    }

    .account-card strong {
        font-size: 16px;
    }

    .qr-card img {
        width: 250px;
        height: auto;
    }

    .donation-left-section {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .col-donation-onetime {
        margin-bottom: 40px;
    }

    .raks-foundation-text {
        left: 0;
        width: 100%;
        text-align: center;
    }

    .raks-foundation-text .foundation-text {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
}
