/* ============================================================
   WR BENEFITS SECTION CSS
   Unique prefix: wrb-
   Paste into your existing stylesheet or a <style> tag
============================================================ */

.wrb-section {
    background: #0D1B2A;
    padding: 72px 24px 88px;
    font-family: 'Lato', 'Noto Sans Tamil', sans-serif;
    box-sizing: border-box;
}

/* ---------- Header ---------- */
.wrb-header {
    text-align: center;
    margin-bottom: 52px;
}

.wrb-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #C9960C;
    margin-bottom: 12px;
}

.wrb-title {
    font-family: 'Cinzel', 'Noto Sans Tamil', serif;
    font-size: clamp(24px, 4.5vw, 44px);
    font-weight: 700;
    color: #FAF3E0;
    margin: 0 0 16px;
    line-height: 1.2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.wrb-subtitle {
    font-size: 15px;
    color: #a89b7e;
    margin: 12px auto 0;
    max-width: 560px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* Ornament */
.wrb-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 8px;
    width: fit-content;
}

.wrb-ornament-line {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9960C);
}

.wrb-ornament-line:last-child {
    background: linear-gradient(90deg, #C9960C, transparent);
}

.wrb-ornament-icon {
    width: 40px;
    height: 20px;
    flex-shrink: 0;
}

/* ---------- Grid ---------- */
.wrb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .wrb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .wrb-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ---------- Card ---------- */
.wrb-card {
    background: #0a1929;
    border: 1px solid rgba(201, 150, 12, 0.18);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wrb-card:hover {
    border-color: rgba(201, 150, 12, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(201, 150, 12, 0.14);
}

/* Featured card (World Record Certificate) */
.wrb-card--featured {
    border-color: rgba(201, 150, 12, 0.5);
    background: linear-gradient(160deg, #0e2236, #0a1929);
    box-shadow: 0 8px 32px rgba(201, 150, 12, 0.12);
}

.wrb-card--featured:hover {
    border-color: #C9960C;
    box-shadow: 0 20px 52px rgba(201, 150, 12, 0.28);
}

/* ---------- Card Image ---------- */
.wrb-card-img-wrap {
    position: relative;
    overflow: hidden;
    /* aspect-ratio: 16/9; */
    aspect-ratio: auto;
}

.wrb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.wrb-card:hover .wrb-card-img {
    transform: scale(1.05);
}

/* Number badge */
.wrb-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(13, 27, 42, 0.85);
    border: 1px solid rgba(201, 150, 12, 0.6);
    border-radius: 4px;
    font-family: 'Cinzel', 'Noto Sans Tamil', serif;
    font-size: 11px;
    font-weight: 700;
    color: #EDD98A;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.wrb-card-badge--gold {
    background: rgba(201, 150, 12, 0.25);
    border-color: #C9960C;
    color: #EDD98A;
    font-size: 14px;
}

/* ---------- Card Body ---------- */
.wrb-card-body {
    padding: 24px 22px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* Icon ring */
.wrb-card-icon-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(201, 150, 12, 0.35);
    background: rgba(201, 150, 12, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wrb-card-icon-ring svg {
    width: 22px;
    height: 22px;
}

.wrb-card-title {
    font-family: 'Cinzel', 'Noto Sans Tamil', serif;
    font-size: 15px;
    font-weight: 600;
    color: #EDD98A;
    margin: 0;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.wrb-card--featured .wrb-card-title {
    font-size: 16px;
    color: #FAF3E0;
}

.wrb-card-desc {
    font-size: 13.5px;
    color: #a89b7e;
    line-height: 1.65;
    margin: 0;
}

.wrb-card-desc strong {
    color: #EDD98A;
    font-weight: 700;
}