/* =========================================
   BASE STYLES
   ========================================= */
body {
    font-family: 'Prompt', sans-serif;
}

/* =========================================
   SYSTEM CARD STYLES
   ========================================= */
.system-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    color: #198754;
}

/* =========================================
   NATHAWI VALUES SECTION
   ========================================= */
.nathawi-values-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.value-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.value-item:hover {
    background-color: #f0fdf4;
    border-left: 5px solid #198754;
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.big-letter {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-right: 25px;
    background: linear-gradient(45deg, #198754, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 60px;
    text-align: center;
}

.value-content h4 {
    color: #198754;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.value-content p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 1rem;
}

/* =========================================
   NEWS SECTION
   ========================================= */
.news-section {
    background-color: #f8f9fa;
}

.news-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background: #ffffff;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(25, 135, 84, 0.9);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.news-category {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #198754;
    margin-bottom: 5px;
    display: block;
}

.read-more-btn {
    font-size: 0.9rem;
    text-decoration: none;
    color: #198754;
    font-weight: 600;
    transition: color 0.2s;
}

.read-more-btn:hover {
    color: #146c43;
    text-decoration: underline;
}

/* =========================================
   AGENCIES SECTION
   ========================================= */
.agencies-section {
    background-color: #f8f9fa;
    position: relative;
}

.agency-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
    overflow: hidden;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

/* แถบสีเขียวด้านข้าง */
.agency-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #198754;
    opacity: 0;
    transition: opacity 0.3s;
}

.agency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.agency-card:hover::after {
    opacity: 1;
}

.agency-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e8f5e9;
    margin: 0 auto 15px auto;
    display: block;
    transition: all 0.5s ease;
}

.agency-card:hover .agency-img {
    transform: scale(1.1);
    border-color: #198754;
}

.btn-contact {
    border-radius: 50px;
    font-size: 14px;
    padding: 5px 15px;
}