/* ============================================================
   Preceptors Club – Header CSS
   #550055 (deep plum) · #edd065 (warm gold)
   ============================================================ */

/* ── Custom color helpers ── */
.bg-plum  { background-color: #550055; }
.text-plum { color: #550055; }
.border-plum { border-color: #550055; }
.bg-gold  { background-color: #edd065; }
.text-gold { color: #edd065; }
.border-gold { border-color: #edd065; }
.hover\:bg-plum:hover   { background-color: #550055; }
.hover\:text-plum:hover { color: #550055; }
.hover\:border-plum:hover { border-color: #550055; }
.ring-plum { --tw-ring-color: #550055; }

/* ── Header card ── */
.header-card {
    border-radius: 28px;
    box-shadow: 0 12px 28px -10px rgba(85,0,85,.3), 0 4px 12px rgba(0,0,0,.15);
    border: 1px solid rgba(237,208,101,.15);
    transition: all .15s ease;
    background: #550055;
}

/* ── Brand icon ── */
.brand-icon-box {
    background-color: #edd065;
    color: #550055;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px -4px rgba(237,208,101,.4);
}
.brand-icon-box i {
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.05));
}

/* ── Brand name ── */
.brand-name {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -.3px;
}
.brand-name span {
    color: #edd065;
    font-weight: 300;
}

/* ── Nav links ── */
.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: .2rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
    cursor: pointer;
    font-size: .95rem;
    letter-spacing: -.1px;
    text-decoration: none;
    display: inline-block;
}
.nav-link:hover {
    color: #ffffff;
    border-bottom-color: #edd065;
}
.nav-link.active {
    color: #ffffff;
    border-bottom-color: #edd065;
}

/* ── Contact pill ── */
.contact-group {
    background: #edd065;
    padding: .25rem 1rem .25rem .8rem;
    border-radius: 40px;
    border: 1px solid rgba(85,0,85,.08);
    display: flex;
    align-items: center;
    gap: .4rem;
    box-shadow: 0 2px 6px rgba(237,208,101,.3);
    text-decoration: none;
}
.contact-group i {
    color: #550055;
    font-size: .95rem;
    opacity: .9;
}
.contact-group span {
    color: #550055;
    font-weight: 600;
    letter-spacing: -.2px;
    font-size: .9rem;
}

/* ── Layout ── */
.header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .3rem .8rem;
}
.brand-group {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
    text-decoration: none;
}
.nav-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.2rem;
    flex: 1 1 auto;
    justify-content: center;
    padding: .1rem 0;
    margin: 0;
    list-style: none;
}

/* ── Body base ── */
body {
    background: #f8f2f8;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .header-card  { padding: .7rem 1rem; border-radius: 24px; }
    .brand-name   { font-size: 1.2rem; }
    .nav-link     { font-size: .8rem; padding: .1rem 0; }
    .nav-group    { gap: .3rem .8rem; }
    .contact-group { padding: .2rem .8rem .2rem .6rem; }
    .contact-group span { font-size: .8rem; }
    .contact-group i    { font-size: .8rem; }
    .brand-icon-box     { width: 34px; height: 34px; }
    .brand-icon-box i   { font-size: 1.1rem; }
}
@media (max-width: 480px) {
    .header-card  { padding: .5rem .7rem; border-radius: 20px; }
    .brand-name   { font-size: 1rem; }
    .nav-link     { font-size: .7rem; letter-spacing: -.2px; }
    .nav-group    { gap: .2rem .5rem; }
    .contact-group { padding: .15rem .6rem .15rem .5rem; gap: .2rem; }
    .contact-group span { font-size: .7rem; }
    .contact-group i    { font-size: .7rem; }
    .brand-icon-box     { width: 28px; height: 28px; border-radius: 8px; }
    .brand-icon-box i   { font-size: .9rem; }
}

/* ============================================================
   UNIVERSAL BUTTON STYLES & HOVER STATES
   ============================================================ */
.btn-plum {
    background-color: #550055 !important;
    color: #ffffff !important;
    border: 1px solid #550055 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-plum:hover {
    background-color: #edd065 !important;
    color: #550055 !important;
    border-color: #edd065 !important;
    box-shadow: 0 8px 22px -4px rgba(237, 208, 101, 0.5) !important;
    transform: translateY(-2px);
}
.btn-plum:hover i,
.btn-plum:hover svg,
.btn-plum:hover span {
    color: #550055 !important;
}

.btn-gold {
    background-color: #edd065 !important;
    color: #550055 !important;
    border: 1px solid #edd065 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-gold:hover {
    background-color: #550055 !important;
    color: #ffffff !important;
    border-color: #550055 !important;
    box-shadow: 0 8px 22px -4px rgba(85, 0, 85, 0.45) !important;
    transform: translateY(-2px);
}
.btn-gold:hover i,
.btn-gold:hover svg,
.btn-gold:hover span {
    color: #ffffff !important;
}

.btn-glass {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-glass:hover {
    background-color: #edd065 !important;
    color: #550055 !important;
    border-color: #edd065 !important;
    box-shadow: 0 8px 22px -4px rgba(237, 208, 101, 0.5) !important;
    transform: translateY(-2px);
}
.btn-glass:hover i,
.btn-glass:hover svg,
.btn-glass:hover span {
    color: #550055 !important;
}

.btn-cta-gold {
    background-color: #edd065 !important;
    color: #550055 !important;
    border: 1px solid #edd065 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-cta-gold:hover {
    background-color: #ffffff !important;
    color: #550055 !important;
    border-color: #ffffff !important;
    box-shadow: 0 8px 22px -4px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px);
}
.btn-cta-gold:hover i,
.btn-cta-gold:hover svg,
.btn-cta-gold:hover span {
    color: #550055 !important;
}
