/* =========================================================
   Products Styles
   - Product hero video
   - Product innovation grid
   - Product inner banner & overview
   - Product intro
   - eLearning CTA
   ========================================================= */


/* =========================================================
   1. PRODUCT VIDEO HERO SECTION
   ========================================================= */

.product-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.product-video-section .video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.product-video-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-left: 40px;
    padding: 20px;
    color: #fff;
    text-align: left;
}

.product-content-box .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.product-content-box .desc {
    font-size: 18px;
    margin-bottom: 30px;
    color: #eeeeee;
}

.product-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e1a202;
    color: #000 !important;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.product-btn:hover {
    background: #0a7aff;
    color: #000;
}

/* --- Product Hero: Responsive --- */

@media (max-width: 1370px) {
    .product-video-content {
        max-width: 700px;
    }
    .product-content-box .title {
        font-size: 32px;
    }
}

@media (max-width: 1024px) {
    .product-video-section {
        height: 90vh;
    }
    .product-video-content {
        max-width: 600px;
    }
    .product-content-box .title {
        font-size: 30px;
    }
    .product-content-box .desc {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .product-video-section {
        height: 80vh;
        padding: 0 20px;
    }
    .product-video-content {
        max-width: 90%;
        margin-left: 0;
    }
    .product-content-box .title {
        font-size: 26px;
    }
    .product-content-box .desc {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-video-section {
        height: 70vh;
    }
    .product-video-content {
        max-width: 100%;
        padding: 0;
        margin-left: 0;
        text-align: center;
    }
    .product-content-box .title {
        font-size: 22px;
    }
    .product-content-box .desc {
        font-size: 15px;
    }
    .product-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .product-video-section {
        height: 65vh;
    }
    .product-content-box .title {
        font-size: 20px;
    }
    .product-content-box .desc {
        font-size: 14px;
    }
}


/* =========================================================
   2. PRODUCT INNOVATION SECTION
   ========================================================= */

.product-innovation-section {
    padding: 60px 20px;
    background-color: #103358;
    color: #fff;
    text-align: center;
}

.innovation-heading {
    margin: 0 30px 50px 30px;
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 90%;
    margin: 50px auto 0;
}

.innovation-card {
    text-align: left;
}

.innovation-num {
    font-family: "Roboto", sans-serif;
    font-size: 100px;
    font-weight: 900;
    color: #757575;
    -webkit-text-stroke-color: #000;
    stroke: #000;
    transition: color 0.3s ease;
}

.innovation-card h4 {
    margin: 40px 0 20px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 27px;
    color: #ffffff;
}

.innovation-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

.innovation-card:hover .innovation-num {
    color: #ffcc00;
}

/* --- Innovation: Responsive --- */

@media (max-width: 1024px) {
    .innovation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .innovation-grid {
        grid-template-columns: 1fr;
    }
    .innovation-card,
    .innovation-num {
        text-align: center;
    }
}


/* =========================================================
   3. PRODUCT INNER BANNER
   ========================================================= */

.product-innerbanner-section {
    padding: 60px 20px;
    background-color: #123458;
    color: #fff;
}

.product-inner-banner-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.product-inner-banner-text {
    flex: 1 1 50%;
    padding: 20px;
}

.product-inner-banner-text h1 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.product-section-desc p {
    margin: 0;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #ffffff;
}

.product-section-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ffffff;
    color: #123458 !important;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.product-section-btn:hover {
    background-color: #e1e1ff;
    color: #2a1a80;
}

.product-inner-banner-image {
    flex: 1 1 45%;
    padding: 20px;
    text-align: center;
}

.product-inner-banner-image img {
    max-width: 100%;
    height: auto;
}

/* --- Inner Banner: Responsive --- */

@media (max-width: 768px) {
    .product-inner-banner-wrap {
        flex-direction: column-reverse;
        text-align: center;
    }
    .product-inner-banner-text,
    .product-inner-banner-image {
        flex: 1 1 100%;
        padding: 10px;
    }
    .product-inner-banner-text h1 {
        font-size: 28px;
    }
    .product-section-desc p {
        font-size: 15px;
    }
}


/* =========================================================
   4. PRODUCT INNER OVERVIEW
   ========================================================= */

.product-inner-overview-section {
    padding: 30px 20px;
    background-color: #f7f7f9;
    color: #1b1b3e;
}

.product-inner-overview-section .overview-wrap {
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

.product-inner-overview-section .overview-title {
    margin-bottom: 25px;
    font-size: 36px;
    font-weight: 700;
}

.product-inner-overview-section .overview-desc {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* --- Overview: Responsive --- */

@media (max-width: 768px) {
    .product-inner-overview-section .overview-wrap {
        width: 100%;
    }
    .product-inner-overview-section .overview-title {
        font-size: 28px;
    }
    .product-inner-overview-section .overview-desc {
        font-size: 15px;
    }
}


/* =========================================================
   5. PRODUCT INNER INTRO
   ========================================================= */

.product-innerintro-section {
    padding: 60px 20px;
    background-color: #123458;
    color: #fff;
}

.product-innerintro-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.product-innerintro-text {
    flex: 1 1 55%;
}

.product-innerintro-title {
    margin: 0 0 25px;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.product-innerintro-desc {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #ffffff;
}

.product-innerintro-image {
    flex: 1 1 40%;
    text-align: center;
}

.product-innerintro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* --- Inner Intro: Responsive --- */

@media (max-width: 1370px) {
    .product-innerintro-title {
        font-size: 34px;
    }
}

@media (max-width: 1024px) {
    .product-innerintro-container {
        flex-direction: column;
        text-align: center;
    }
    .product-innerintro-text,
    .product-innerintro-image {
        flex: 1 1 100%;
    }
    .product-innerintro-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .product-innerintro-title {
        font-size: 28px;
    }
    .product-innerintro-desc {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .product-innerintro-title {
        font-size: 24px;
    }
    .product-innerintro-desc {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .product-innerintro-title {
        font-size: 22px;
    }
    .product-innerintro-desc {
        font-size: 13px;
    }
}


/* =========================================================
   6. E-LEARNING CTA SECTION
   ========================================================= */

.elearning-cta-section {
    padding: 60px 0;
    background-color: #f7f7f7;
}

.elearning-cta-wrap {
    position: relative;
    width: 80%;
    margin: 0 auto;
    padding: 80px 20px;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 4px 100px rgba(0, 0, 0, 0.25);
}

.elearning-cta-wrap .cta-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.elearning-cta-wrap .cta-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.elearning-cta-wrap .cta-content h2 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.elearning-cta-wrap .cta-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ffffff;
    color: #123458 !important;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, color 0.3s ease;
}

.elearning-cta-wrap .cta-btn:hover {
    background-color: #f1f1f1;
}

/* --- eLearning CTA: Responsive --- */

@media (max-width: 768px) {
    .elearning-cta-wrap {
        width: 90%;
        padding: 60px 16px;
    }
    .elearning-cta-wrap .cta-content h2 {
        font-size: 22px;
    }
}




/* Grid Layout */
.product-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Card Style */
.product-feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.product-feature-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Icon */
.product-feature-icon {
    margin-bottom: 1.2rem;
}

.product-feature-icon img {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
}

/* Title */
.product-feature-title {
    font-family: "Bai Jamjuree", Sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #000;
    margin: 0 0 15px 0;
}

/* Description */
.product-feature-desc {
    color: #716c80;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    /* line-height: 28px; */
    font-weight: 300;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .product-feature-card {
        padding: 2rem 1.2rem;
    }
}


.product-features-section {
    padding: 50px 0px !important;
    background: #f5f5f5;
    margin: 40px 50px;
    border-radius: 15px;
}