/* GROUP TITLE */
.project-group-title {
    margin: 30px 0 15px;
    font-size: 18px;
    font-weight: 600;
    border-left: 4px solid #0f172a;
    padding-left: 10px;
}

/* OPTIONAL: kasi card nampak lebih hidup sikit */
.licence-card h4 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* OPTIONAL ICON STYLE (kalau nak guna icon nanti) */
.licence-card i {
    font-size: 26px;
    margin-bottom: 10px;
    color: #0f172a;
}

/* PROJECT TITLE STYLE */
.licence-card h4 {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: #0f172a;
    position: relative;
    padding-top: 10px;
    letter-spacing: 0.3px;
}

/* LINE ACCENT BAWAH */
.licence-card h4::after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #0f172a, #3b82f6);
    margin: 8px auto 0;
    border-radius: 10px;
    transition: 0.3s;
}

/* HOVER EFFECT */
.licence-card:hover h4::after {
    width: 60px;
}

/* HOVER TEXT EFFECT */
.licence-card:hover h4 {
    color: #1e293b;
    transform: translateY(-2px);
}

.licence-card h4 {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* TITLE BOX CLEAN */
.licence-card h4 {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0f172a;

    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 10px;

    display: inline-block;
    margin-top: 12px;

    position: relative;
    transition: 0.3s;
}

/* LINE INSIDE BOX (kemas, tak panjang sangat) */
.licence-card h4::after {
    content: "";
    display: block;
    width: 25px;
    height: 2px;
    background: #3b82f6;
    margin: 6px auto 0;
    border-radius: 10px;
    transition: 0.3s;
}

/* HOVER EFFECT */
.licence-card:hover h4 {
    background: #0f172a;
    color: #fff;
}

.licence-card:hover h4::after {
    width: 40px;
    background: #60a5fa;
}

.licence-card h4 {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* LIMIT WIDTH SECTION CARD */
.section-card {
    max-width: 1100px;   /* control lebar */
    margin: 0 auto;      /* center */
    padding: 30px 25px;  /* bagi balance spacing */
}

.project-group-title {
    margin: 25px 0 10px;
}

.licence-grid {
    margin-bottom: 10px;
}

.section-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 20px;

    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* BUANG EFFECT KOTAK BESAR */
.section-card {
    background: transparent;   /* ❌ buang kelabu */
    box-shadow: none;          /* ❌ buang shadow besar */
    padding: 0;                /* ❌ buang padding besar */
    max-width: 1000px;
    margin: 0 auto;
}

/* GROUP WRAPPER */
.project-group {
    margin-bottom: 40px;
}

/* OPTIONAL: kalau nak ada box kecil instead */
.project-group-box {
    background: #f8fafc;
    padding: 20px;
    border-radius: 14px;
}

.project-group-title {
    margin: 30px 0 15px;
    font-size: 18px;
    font-weight: 600;
    border-left: 4px solid #0f172a;
    padding-left: 10px;
}

.licence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
    gap: 20px;
}

.licence-card{
    padding: 20px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.licence-card h4{
    font-size: 14px;
    line-height: 1.4;

    white-space: normal;      /* allow wrap */
    word-wrap: break-word;    /* break long word */
    overflow-wrap: break-word;

    max-width: 100%;
    text-align: center;
}

.licence-card h4{
    
   
    -webkit-box-orient: vertical;
   
}

.licence-card h4{
    font-size: 14px;
    line-height: 1.5;

    white-space: normal;
    overflow: visible;

    word-break: break-word;
    overflow-wrap: anywhere;

    text-align: center;
    margin: 0;
}

.licence-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}