/* ==========================================================================
   PAGE-SPECIFIC STYLES: INVESTMENT (investment.css)
   ========================================================================== */

/* 1. Feature Grid (Why Invest) */
.invest-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.invest-feature-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.invest-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-gold);
}

.invest-feature-icon {
    width: 35px;
    height: 35px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.invest-feature-card h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.invest-feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 2. Opportunities Grid (มีรูปภาพด้านบน) */
.invest-opp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.invest-opp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.invest-opp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.invest-opp-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.invest-opp-content {
    padding: 30px;
    text-align: center;
    flex: 1;
}

.invest-opp-content h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.invest-opp-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 3. What We Provide Grid (Simple Text Cards) */
.provide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.provide-card {
    background: var(--bg-light-grey);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 25px;
    text-align: left;
    transition: background-color 0.3s;
}

.provide-card:hover {
    background-color: var(--bg-white);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.provide-card h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.provide-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 4. Process Timeline (6 ขั้นตอน) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 40px;
    text-align: center;
}

.process-step {
    position: relative;
}

.process-num {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    /* วงกลมสีดำ */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

/* เส้นเชื่อมต่อระหว่างวงกลม */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.process-step h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* 5. Responsive Design */
@media (max-width: 1024px) {
    .invest-opp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .provide-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }

    .process-step:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 768px) {

    .invest-opp-grid,
    .provide-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .process-num {
        margin: 0 0 15px 0;
    }
}