/* ====================================
   BASE STYLES & RESET
   PRISM Insurance Brokers Limited
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family), sans-serif;
    background: var(--white-color);
    min-height: 100vh;
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
    font-size: var(--font-size-base);
}

/* PRISM brand: headings use Playfair Display serif */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-serif), serif;
}

a {
    color: var(--text-dark);
    text-decoration: none;
}
a:hover {
    color: var(--secondary-color);   /* PRISM blue on hover */
}

/* Responsive images globally */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container-content {
    min-height: 100vh;
}


/* ====================================
   BASE ALERT
   ==================================== */
.alert {
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    border: none;
    margin-bottom: var(--spacing-lg);
    position: relative;
    backdrop-filter: blur(10px);
    animation: slideInDown 0.3s ease-out;
    box-shadow: var(--shadow-soft);
}

.alert ul {
    margin: 0;
    padding-left: var(--spacing-md);
    list-style: none;
}

.alert li {
    position: relative;
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}


/* ====================================
   UTILITY CLASSES
   ==================================== */

/* Width utilities */
.w-1  { width: 1%  !important; }
.w-5  { width: 5%  !important; }
.w-10 { width: 10% !important; }
.w-15 { width: 15% !important; }
.w-20 { width: 20% !important; }
.w-30 { width: 30% !important; }
.w-35 { width: 35% !important; }
.w-40 { width: 40% !important; }
.w-45 { width: 45% !important; }
.w-70 { width: 70% !important; }
.w-80 { width: 80% !important; }
.w-90 { width: 90% !important; }

/* Text color utilities */
.text-primary   { color: var(--primary-color)   !important; }  /* Navy  */
.text-secondary { color: var(--secondary-color) !important; }  /* Blue  */
.text-gold      { color: var(--accent-color)    !important; }  /* Gold  */
.text-muted     { color: var(--text-muted)      !important; }

/* Background utilities */
.bg-primary   { background: var(--primary-color)   !important; color: white; }
.bg-secondary { background: var(--secondary-color) !important; color: white; }
.bg-success   { background: var(--success-color)   !important; color: white; }
.bg-warning   { background: var(--warning-color)   !important; color: black; }
.bg-danger    { background: var(--danger-color)    !important; color: white; }
.bg-info      { background: var(--info-color)      !important; color: white; }
.bg-accent    { background: var(--accent-color)    !important; color: var(--primary-color); }  /* Gold bg + navy text */
.bg-navy      { background: var(--primary-color)   !important; color: white; }
.bg-white     { background: var(--white-color); }
.bg-light     { background: var(--light-color); }

/* Combined text-background utilities */
.text-bg-gold    { background: var(--accent-color);    color: var(--primary-color); }
.text-bg-navy    { background: var(--primary-color);   color: white; }
.text-bg-blue    { background: var(--secondary-color); color: white; }
.text-bg-yellow  { background: var(--warning-color);   color: black; }
.text-bg-orange  { background: #FF9800;                color: black; }
.text-bg-gray    { background: #6c757d;                color: white; }
.text-bg-accent  { background: var(--accent-color);    color: var(--primary-color); }

/* Border colors */
.border-primary   { border-color: var(--primary-color)   !important; }
.border-secondary { border-color: var(--secondary-color) !important; }
.border-gold      { border-color: var(--accent-color)    !important; }
.border-danger    { border-color: var(--danger-color)    !important; }
.border-info      { border-color: var(--info-color)      !important; }
.border-warning   { border-color: var(--warning-color)   !important; }
.border-success   { border-color: var(--success-color)   !important; }

/* ====================================
   PRISM BRAND HELPERS
   ==================================== */

/* Gold divider bar (matches PRISM site) */
.divider {
    width: 44px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Section label — small caps eyebrow text */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary-color);
}
.section-label-gold { color: var(--accent-color); }

/* Hero badge */
.hero-badge {
    display: inline-block;
    background: rgba(200, 164, 80, 0.15);
    border: 1px solid rgba(200, 164, 80, 0.35);
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
}


/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1);    opacity: 1;   }
    50%       { transform: scale(1.05); opacity: 0.8; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes spin {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: scale(1);   }
    50%       { transform: scale(1.2); }
}

@keyframes shimmer {
    0%   { background-position: 200% 0;  }
    100% { background-position: -200% 0; }
}
