/* ─────────────────────────────────────────
   HOME.CSS — Homepage specific styles
   ───────────────────────────────────────── */

/* ─── HERO BANNER ─── */
.hero {
    background: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 0.5px solid rgba(0,0,0,0.07);
}

.hero-logo {
    width: 77px;
    height: 77px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    color: #0f0173;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 3px;
    line-height: 21px;
}

.hero-text p {
    color: #666;
    font-size: 10px;
    margin: 0;
    line-height: 1.6;
}

/* ─── AUTH BUTTONS ─── */
.auth-row {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
}

.auth-btn {
    flex: 1;
    text-align: center;
    padding: 13px 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    letter-spacing: 0.2px;
}

.btn-login {
    background: #0f0173;
    color: #fff;
}

.btn-register {
    background: #f97316;
    color: #fff;
}

div#aboutus {
    padding: 0;
}

h2.subtitle {
    font-size: 22px;
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 5px 5px 5px 10px;
}

/* ─── QUICK ACCESS GRID ─── */
.qa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.qa-card {
    background: #fff;
    border-radius: 13px;
    padding: 15px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s;
}

/* Individual card border colors — matching image */
.qa-card:nth-child(1) { border: 2px solid #93c5fd; }   /* About Us — blue */
.qa-card:nth-child(2) { border: 2px solid #86efac; }   /* Office Bearers — green */
.qa-card:nth-child(3) { border: 2px solid #fcd34d; }   /* Membership — amber */
.qa-card:nth-child(4) { border: 2px solid #c4b5fd; }   /* Good Standing — purple */
.qa-card:nth-child(5) { border: 2px solid #fca5a5; }   /* Training & Jobs — red/pink */
.qa-card:nth-child(6) { border: 2px solid #67e8f9; }   /* Events — cyan */
22222
.qa-card:active {
    transform: scale(0.95);
}

.qa-ic {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qa-ic svg {
    width: 34px;
    height: 34px;
}

.qa-label {
    font-size: 10.5px;
    font-weight: 500;
    color: #1a1a2e;
    text-align: center;
    line-height: 1.35;
}

/* ─── INTRO SECTION ─── */
.intro-box {
    background: #fff;
    padding: 15px 30px;
}

/* About Us: text + image side by side */
.intro-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.intro-inner img {
    max-width: 100%;
}

.intro-inner p {
    flex: 1;
    text-align: justify;
}

.intro-box .read-more {
    color: #ffff;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
    text-decoration: none;
    background: #f97316;
    padding: 6px 14px;
    border-radius: 8px;
}

div#announcement {
    background: #161639;
    color: #fff;
    padding: 16px 26px;
}

a:hover {
    text-decoration: none;
}

/* ─── ANNOUNCEMENT CARDS ─── */
.ann-card {
    background: #fff8e8;
    border-radius: 13px;
    padding: 14px 16px;
    margin: 10px 0;
    border-left: 5px solid #e8531c;
    text-decoration: none;
    display: block;
    -webkit-tap-highlight-color: transparent;
}

.ann-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #0f0173;
    margin: 0 0 10px;
    line-height: 18px;
}

.ann-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ann-meta span {
    font-size: 12px;
    color: #161639;
    display: flex;
    align-items: flex-start;   /* change this */
    gap: 6px;
    line-height: 1.4;
}

.ann-meta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #56544e;
    position: relative;
    top: 1px; /* micro adjust */
}

.ann-empty {
    background: #fff;
    border-radius: 13px;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
    border: 0.5px solid rgba(0, 0, 0, 0.06);
}
