/* ============================================================
   SSBMT – Custom Stylesheet
   Primary   : Maroon  (#800000)
   Secondary : Forest Green (#228B22)
   ============================================================ */

/* ── Root Tokens ─────────────────────────────────────────── */
:root {
    --clr-primary:      #800000;
    --clr-primary-dark: #5a0000;
    --clr-secondary:    #228B22;
    --clr-secondary-dk: #166116;
    --clr-light-bg:     #f8f9fc;
    --clr-border:       #e8edf3;
    --clr-text:         #1a1a1a;
    --clr-text-dark:    #1e293b;
    --clr-text-body:    #374151;
    --clr-text-muted:   #64748b;
    --clr-text-lighter: #94a3b8;
    --clr-muted:        #64748b;
    --font-base:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                        "Helvetica Neue", Arial, sans-serif;
    --shadow-sm:        0 2px 8px rgba(0,0,0,.07);
    --shadow-md:        0 4px 20px rgba(128,0,0,.15);
    --shadow-card:      0 2px 14px rgba(0,0,0,.06);
    --shadow-hover:     0 10px 36px rgba(128,0,0,.14);
    --radius:           8px;
    --radius-lg:        14px;
    --radius-xl:        20px;
}

/* ── Base ────────────────────────────────────────────────── */
html {
    overflow-x: hidden;
}

body {
    font-family:    var(--font-base);
    color:          var(--clr-text);
    background:     #fff;
    font-size:      1rem;
    line-height:    1.65;
    overflow-x:     hidden;
    max-width:      100%;
}

a {
    color:           var(--clr-primary);
    text-decoration: none;
}

a:hover {
    color:           var(--clr-primary-dark);
    text-decoration: underline;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar-ssbmt {
    background-color: var(--clr-primary);
    box-shadow:       var(--shadow-md);
}

.navbar-ssbmt .navbar-brand {
    color:       #fff;
    font-size:   1.3rem;
    font-weight: 700;
    letter-spacing: .5px;
    padding-right: 20px;
    margin-right:  8px;
    border-right:  1px solid rgba(255,255,255,.18);
    text-decoration: none !important;
}
.navbar-ssbmt .navbar-brand:hover,
.navbar-ssbmt .navbar-brand:focus {
    text-decoration: none !important;
}

.navbar-ssbmt .navbar-brand img {
    height:        42px;
    width:         auto;
    margin-right:  0;
    border-radius: 0;
    filter:        brightness(0) invert(1);
    opacity:       .95;
    transition:    opacity .2s;
}

.navbar-ssbmt .navbar-brand:hover img {
    opacity: 1;
}

.navbar-ssbmt .nav-link {
    color:       rgba(255,255,255,.88) !important;
    font-weight: 500;
    padding:     .5rem 1rem;
    border-radius: var(--radius);
    transition:  background .2s, color .2s;
}

/* Tighter nav links on lg so all items fit without wrapping */
@media (min-width:992px) and (max-width:1399px) {
    .navbar-ssbmt .nav-link { padding: .45rem .55rem; font-size: .88rem; }
}

.navbar-ssbmt .nav-link:hover,
.navbar-ssbmt .nav-link.active {
    background:      rgba(255,255,255,.15);
    color:           #fff !important;
    text-decoration: none;
}

.navbar-ssbmt .navbar-toggler {
    border-color: rgba(255,255,255,.5);
}

.navbar-ssbmt .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-ssbmt .dropdown-menu {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 6px 0;
    min-width: 200px;
}

.navbar-ssbmt .dropdown-item {
    color: #374151;
    font-size: .88rem;
    font-weight: 500;
    padding: 9px 18px;
    transition: background .15s, color .15s;
}

.navbar-ssbmt .dropdown-item:hover,
.navbar-ssbmt .dropdown-item:focus {
    background-color: var(--clr-light-bg);
    color: var(--clr-primary);
}

.navbar-ssbmt .dropdown-divider {
    margin: 4px 12px;
    border-color: #e8edf3;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero-section {
    background:    var(--clr-primary);
    color:         #fff;
    padding:       80px 0 70px;
    position:      relative;
    overflow:      hidden;
    background-image: url('../images/Education3-2.jpg');
    background-size:   cover;
    background-position: center 40%;
    background-blend-mode: multiply;
    background-color: rgba(100,0,0,.82);
}

.hero-section::after {
    content:    '';
    position:   absolute;
    bottom:     -1px;
    left:       0;
    width:      100%;
    height:     60px;
    background: #fff;
    clip-path:  polygon(0 100%, 100% 100%, 100% 0);
}


.hero-section .hero-eyebrow {
    display:          inline-block;
    background:       rgba(255,255,255,.15);
    border:           1px solid rgba(255,255,255,.35);
    color:            #fff;
    font-size:        .8rem;
    font-weight:      600;
    letter-spacing:   1.5px;
    text-transform:   uppercase;
    padding:          6px 16px;
    border-radius:    50px;
    margin-bottom:    18px;
    max-width:        100%;
    text-align:       center;
    line-height:      1.6;
}

@media (max-width: 767px) {
    .hero-section .hero-eyebrow {
        font-size:      .72rem;
        letter-spacing: .8px;
        padding:        5px 12px;
        white-space:    normal;
        word-break:     break-word;
    }
}

.hero-section h1 {
    font-size:   2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-section .hero-subtitle {
    font-size:    1.15rem;
    opacity:      .88;
    max-width:    560px;
    margin-bottom: 32px;
}

.hero-section .hero-meta {
    display:    flex;
    flex-wrap:  wrap;
    gap:        18px;
    font-size:  .95rem;
    opacity:    .9;
    margin-bottom: 36px;
}

.hero-section .hero-meta span {
    display:     flex;
    align-items: center;
    gap:         6px;
}

.btn-hero-primary {
    background:    var(--clr-secondary);
    border:        none;
    color:         #fff;
    font-weight:   700;
    font-size:     1rem;
    padding:       12px 32px;
    border-radius: var(--radius);
    box-shadow:    0 4px 14px rgba(34,139,34,.4);
    transition:    background .2s, transform .15s, box-shadow .2s;
}

.btn-hero-primary:hover {
    background:  var(--clr-secondary-dk);
    color:       #fff;
    transform:   translateY(-2px);
    box-shadow:  0 6px 18px rgba(34,139,34,.45);
}

.btn-hero-outline {
    background:    transparent;
    border:        2px solid rgba(255,255,255,.7);
    color:         #fff;
    font-weight:   600;
    font-size:     1rem;
    padding:       11px 28px;
    border-radius: var(--radius);
    transition:    background .2s, border-color .2s;
}

.btn-hero-outline:hover {
    background:    rgba(255,255,255,.15);
    border-color:  #fff;
    color:         #fff;
}

.hero-conf-card {
    background:    rgba(255,255,255,.1);
    border:        1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    padding:       28px 24px;
    backdrop-filter: blur(6px);
}

.hero-conf-card .conf-image {
    width:         100%;
    height:        200px;
    object-fit:    cover;
    border-radius: 8px;
    margin-bottom: 18px;
    background:    rgba(255,255,255,.08);
}

.hero-conf-card .conf-image-placeholder {
    width:           100%;
    height:          200px;
    background:      rgba(255,255,255,.08);
    border:          2px dashed rgba(255,255,255,.3);
    border-radius:   8px;
    margin-bottom:   18px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    color:           rgba(255,255,255,.5);
    font-size:       .85rem;
}

.hero-stat {
    text-align:  center;
    padding:     12px;
    border-right: 1px solid rgba(255,255,255,.2);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat .stat-num {
    font-size:   1.8rem;
    font-weight: 800;
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: .75rem;
    opacity:   .75;
    margin-top: 3px;
}

/* ── Section Titles ──────────────────────────────────────── */
.section-title {
    font-size:   1.9rem;
    font-weight: 800;
    color:       var(--clr-primary);
    margin-bottom: 8px;
}

.section-lead {
    color:       var(--clr-muted);
    font-size:   1.05rem;
    max-width:   520px;
    margin:      0 auto 40px;
}

.section-divider {
    width:        48px;
    height:       4px;
    background:   var(--clr-secondary);
    border-radius: 2px;
    margin:       10px auto 0;
}

/* ── Activity Cards (Services Grid) ─────────────────────── */
.section-activities {
    padding:    72px 0;
    background: var(--clr-light-bg);
}

.activity-card {
    background:    #fff;
    border:        1px solid var(--clr-border);
    border-radius: 10px;
    padding:       32px 24px;
    height:        100%;
    transition:    box-shadow .25s, transform .2s;
    position:      relative;
}

.activity-card:hover {
    box-shadow: var(--shadow-md);
    transform:  translateY(-4px);
}

.activity-card .card-icon {
    width:           54px;
    height:          54px;
    background:      rgba(128,0,0,.08);
    border-radius:   12px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    margin-bottom:   18px;
    font-size:       1.6rem;
}

.activity-card h5 {
    font-size:   1.05rem;
    font-weight: 700;
    color:       var(--clr-primary);
    margin-bottom: 10px;
}

.activity-card p {
    font-size:   .93rem;
    color:       var(--clr-muted);
    margin-bottom: 20px;
}

.activity-card .card-link {
    font-size:   .88rem;
    font-weight: 600;
    color:       var(--clr-secondary);
    display:     inline-flex;
    align-items: center;
    gap:         4px;
}

.activity-card .card-link:hover {
    color:           var(--clr-secondary-dk);
    text-decoration: none;
}

/* ── Upcoming Events ─────────────────────────────────────── */
.section-events {
    padding:    72px 0;
    background: var(--clr-light-bg);
}

.event-card {
    background:    #fff;
    border:        1px solid var(--clr-border);
    border-radius: 10px;
    overflow:      hidden;
    height:        100%;
    display:       flex;
    flex-direction: column;
    transition:    box-shadow .25s, transform .2s;
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    transform:  translateY(-4px);
}

/* Poster area */
.event-poster-wrap {
    position:   relative;
    cursor:     pointer;
    overflow:   hidden;
    height:     180px;
    background: #f0e8e8;
}

.event-poster-img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform .3s;
}

.event-card:hover .event-poster-img {
    transform: scale(1.04);
}

.event-poster-placeholder {
    width:           100%;
    height:          100%;
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    color:           var(--clr-muted);
    gap:             8px;
    background:      repeating-linear-gradient(
                         45deg,
                         #f5eded,
                         #f5eded 10px,
                         #ece2e2 10px,
                         #ece2e2 20px
                     );
}

.event-poster-placeholder span { font-size: 2.2rem; }
.event-poster-placeholder small { font-size: .78rem; }

.event-poster-overlay {
    position:        absolute;
    inset:           0;
    background:      rgba(128,0,0,.55);
    color:           #fff;
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-size:       .9rem;
    font-weight:     600;
    opacity:         0;
    transition:      opacity .25s;
}

.event-poster-wrap:hover .event-poster-overlay {
    opacity: 1;
}

/* Date badge */
.event-date-badge {
    display:         flex;
    align-items:     baseline;
    gap:             6px;
    padding:         10px 16px 0;
}

.event-day {
    font-size:   1.7rem;
    font-weight: 800;
    color:       var(--clr-primary);
    line-height: 1;
}

.event-month {
    font-size:   .8rem;
    font-weight: 600;
    color:       var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Event body */
.event-body {
    padding:        10px 16px 18px;
    flex:           1;
    display:        flex;
    flex-direction: column;
}

.event-type-tag {
    display:       inline-block;
    background:    rgba(34,139,34,.1);
    color:         var(--clr-secondary-dk);
    font-size:     .72rem;
    font-weight:   600;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding:       3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.event-title {
    font-size:     .97rem;
    font-weight:   700;
    color:         var(--clr-text);
    margin-bottom: 6px;
    line-height:   1.35;
}

.event-location {
    font-size:    .83rem;
    color:        var(--clr-muted);
    margin-bottom: 14px;
    flex:         1;
}

/* Poster modal placeholder */
.poster-modal-placeholder {
    padding:   48px 24px;
    color:     rgba(255,255,255,.5);
}

.poster-modal-placeholder span { font-size: 3rem; display: block; margin-bottom: 12px; }
.poster-modal-placeholder p    { font-size: .95rem; }

/* ── Legacy / Past Events ────────────────────────────────── */
.section-legacy {
    padding:    72px 0;
    background: #fff;
}

/* ── Legacy grid ── */
.legacy-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap:                   16px;
}

/* Wrapper anchor must not break card layout */
.legacy-grid > a {
    display:        flex;
    flex-direction: column;
    text-decoration: none;
    color:          inherit;
    border-radius:  12px;
    overflow:       hidden;
}
.legacy-grid > a .legacy-card {
    flex: 1;
}

@media (max-width: 575px) {
    .legacy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .legacy-card-poster { height: 90px; }
    .legacy-card-body   { padding: 10px 10px 10px; }
    .legacy-card-title  { font-size: .78rem; }
    .legacy-card-theme  { display: none; }
    .legacy-card-meta   { gap: 4px 8px; font-size: .68rem; }
    .legacy-card-year-pill { font-size: .64rem; padding: 2px 8px; }
}

.legacy-hidden {
    display: none !important;
}

.legacy-card {
    display:       flex;
    flex-direction: column;
    background:    #fff;
    border:        1px solid #e8edf3;
    border-radius: 12px;
    overflow:      hidden;
    box-shadow:    0 2px 8px rgba(0,0,0,.05);
    transition:    transform .18s, box-shadow .18s;
}
.legacy-card:hover {
    transform:  translateY(-3px);
    box-shadow: 0 8px 24px rgba(128,0,0,.1);
}

.legacy-card-poster {
    height:     140px;
    overflow:   hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}
.legacy-card-poster img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform .3s;
}
.legacy-card:hover .legacy-card-poster img {
    transform: scale(1.04);
}

.legacy-card-body {
    flex:    1;
    padding: 14px 16px 14px;
}

.legacy-card-year-pill {
    display:       inline-block;
    background:    var(--clr-primary);
    color:         #fff;
    font-size:     .7rem;
    font-weight:   800;
    letter-spacing: 1px;
    padding:       2px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.legacy-card-title {
    font-size:   .88rem;
    font-weight: 700;
    color:       #1e293b;
    margin-bottom: 5px;
    line-height: 1.35;
}

.legacy-card-theme {
    font-size:    .78rem;
    color:        #64748b;
    font-style:   italic;
    margin-bottom: 8px;
    line-height:  1.4;
}

.legacy-card-meta {
    display:   flex;
    flex-wrap: wrap;
    gap:       6px 12px;
    font-size: .73rem;
    color:     #94a3b8;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer-ssbmt {
    background:  var(--clr-primary-dark);
    color:       rgba(255,255,255,.8);
    padding:     48px 0 24px;
}

.footer-ssbmt h6 {
    color:         #fff;
    font-weight:   700;
    margin-bottom: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size:     .82rem;
}

.footer-ssbmt a {
    color:       rgba(255,255,255,.7);
    font-size:   .9rem;
    display:     block;
    margin-bottom: 6px;
}

.footer-ssbmt a:hover {
    color:           #fff;
    text-decoration: none;
}

.footer-divider {
    border-color: rgba(255,255,255,.15);
    margin:       28px 0 20px;
}

.footer-bottom {
    font-size: .83rem;
    color:     rgba(255,255,255,.5);
}

/* ── Utility Overrides ───────────────────────────────────── */
.btn-primary-ssbmt {
    background:    var(--clr-primary);
    border:        none;
    color:         #fff;
    font-weight:   600;
    border-radius: var(--radius);
    transition:    background .2s, transform .15s;
}

.btn-primary-ssbmt:hover {
    background: var(--clr-primary-dark);
    color:      #fff;
    transform:  translateY(-1px);
}

.btn-green-ssbmt {
    background:    var(--clr-secondary);
    border:        none;
    color:         #fff;
    font-weight:   600;
    border-radius: var(--radius);
    transition:    background .2s;
}

.btn-green-ssbmt:hover {
    background: var(--clr-secondary-dk);
    color:      #fff;
}

.text-primary-ssbmt { color: var(--clr-primary)  !important; }
.text-green-ssbmt   { color: var(--clr-secondary) !important; }
.bg-primary-ssbmt   { background: var(--clr-primary)  !important; }
.bg-green-ssbmt     { background: var(--clr-secondary) !important; }

/* ── Announcement Section ────────────────────────────────── */
.section-announcement {
    padding:    64px 0;
    background: #fff;
}
.announcement-wrap {
    border-radius: 12px;
    overflow:      hidden;
    box-shadow:    0 4px 32px rgba(0,0,0,.08);
}
.announcement-flyer-col {
    overflow: hidden;
    line-height: 0;
}
.announcement-flyer-img {
    width:      100%;
    display:    block;
    object-fit: cover;
    max-height: 520px;
}
.announcement-events-col {
    background: #fff;
}
.announcement-events-inner {
    padding: 36px 40px;
}
.announcement-label {
    font-size:      .72rem;
    font-weight:    700;
    letter-spacing: .12em;
    color:          var(--clr-primary);
    text-transform: uppercase;
    margin-bottom:  20px;
}
.announcement-event-item {
    border-bottom: 1px solid #e5e7eb;
}
.announcement-event-btn {
    width:           100%;
    background:      none;
    border:          none;
    padding:         16px 0;
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             12px;
    cursor:          pointer;
    text-align:      left;
}
.ann-ev-title {
    font-size:      .82rem;
    font-weight:    700;
    letter-spacing: .05em;
    color:          #1e293b;
    line-height:    1.4;
}
.ann-ev-plus {
    flex-shrink:     0;
    width:           28px;
    height:          28px;
    border:          1.5px solid #cbd5e1;
    border-radius:   50%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-size:       .85rem;
    color:           #64748b;
    transition:      transform .2s, background .2s;
}
.announcement-event-btn[aria-expanded="true"] .ann-ev-plus {
    transform:  rotate(45deg);
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color:      #fff;
}
.ann-ev-detail {
    padding:         4px 0 16px;
    display:         flex;
    flex-direction:  column;
    gap:             6px;
}
.ann-ev-date, .ann-ev-loc {
    font-size:  .82rem;
    color:      #64748b;
    display:    flex;
    align-items: center;
    gap:        6px;
}
.ann-ev-link {
    display:     inline-block;
    margin-top:  6px;
    font-size:   .82rem;
    font-weight: 700;
    color:       var(--clr-primary);
    text-decoration: none;
}
.ann-ev-link:hover { text-decoration: underline; }

@media (max-width: 991.98px) {
    .announcement-events-inner { padding: 28px 24px; }
    .announcement-flyer-img { max-height: 360px; }
}
@media (max-width: 767.98px) {
    .announcement-events-inner { padding: 22px 18px; }
    .ann-ev-title { font-size: .78rem; }
}

/* ── Tablet (768px – 991px) ──────────────────────────────── */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Stats "by the numbers" cards */
    #statsSection .stats-card { padding: 24px 16px !important; }
    #statsSection .stat-counter { font-size: 2.1rem !important; letter-spacing: -.5px; }
    /* Hero stat bar inside conference card */
    .hero-stat { padding: 10px 8px; }
    .hero-stat .stat-num { font-size: 1.45rem; }
    .hero-stat .stat-label { font-size: .7rem; }
    /* Navigation */
    .navbar-ssbmt .nav-link { font-size: .82rem; padding: .4rem .45rem; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .hero-section { padding: 56px 0 64px; }
    .hero-section h1 { font-size: 2rem; }
    .hero-conf-card { margin-top: 36px; }
}

@media (max-width: 767.98px) {
    .hero-section { padding: 40px 0 48px; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section .hero-subtitle { font-size: 1rem; margin-bottom: 20px; }
    .hero-section .hero-meta { gap: 10px; font-size: .85rem; margin-bottom: 24px; }
    .section-title { font-size: 1.45rem; }
    .hero-stat { padding: 8px 6px; }
    .hero-stat .stat-num { font-size: 1.25rem; }
    .hero-stat .stat-label { font-size: .68rem; }
    /* Stat row: wrap to 2×2 if 4 stats */
    .row.g-0 .hero-stat { min-width: 0; }
}

@media (max-width: 480px) {
    .hero-section h1 { font-size: 1.7rem; }
    .hero-section .hero-subtitle { font-size: .92rem; }
    .btn-hero-primary, .btn-hero-outline { font-size: .88rem; padding: 10px 22px; width: 100%; text-align: center; }
    .d-flex.flex-wrap.gap-3 { gap: 10px !important; }
    .section-title { font-size: 1.25rem; }
    .section-lead { font-size: .9rem; }
    /* Legacy grid: 1 col on tiny phones */
    .legacy-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   INNER PAGE STANDARDS
   ══════════════════════════════════════════════════════════ */

/* ── Inner-page hero ─────────────────────────────────────── */
.page-hero {
    background: var(--clr-primary);
    color:      #fff;
    padding:    64px 0 48px;
}
.page-hero h1 {
    font-size:   2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.page-hero-icon {
    font-size:    2rem;
    margin-bottom: 12px;
    opacity:      .9;
}
.page-hero-sub {
    font-size:   1.05rem;
    opacity:     .85;
    max-width:   600px;
    line-height: 1.75;
}
.hero-backlink {
    color:           rgba(255,255,255,.65);
    font-size:       .84rem;
    text-decoration: none;
    display:         inline-flex;
    align-items:     center;
    gap:             5px;
    margin-bottom:   20px;
    transition:      color .15s;
}
.hero-backlink:hover { color: #fff; text-decoration: none; }

/* ── Standard content section ────────────────────────────── */
.content-section {
    padding:    56px 0;
    background: var(--clr-light-bg);
}
.content-section-white {
    padding:    56px 0;
    background: #fff;
    border-top: 1px solid var(--clr-border);
}

/* ── Section heading block ───────────────────────────────── */
.section-heading {
    text-align:    center;
    margin-bottom: 40px;
}
.section-heading .section-title {
    margin-bottom: 10px;
}
.section-heading .section-divider {
    margin: 0 auto 14px;
}
.section-heading .section-lead {
    margin: 8px auto 0;
}

/* ── Reusable content card ───────────────────────────────── */
.content-card {
    background:     #fff;
    border:         1px solid var(--clr-border);
    border-radius:  var(--radius-lg);
    box-shadow:     var(--shadow-card);
    padding:        28px 28px 24px;
    transition:     box-shadow .25s, transform .25s;
    height:         100%;
}
.content-card:hover {
    box-shadow: var(--shadow-hover);
    transform:  translateY(-3px);
}

/* ── Quote / highlight box ───────────────────────────────── */
.quote-box {
    background:   #fff;
    border-left:  4px solid var(--clr-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding:      20px 24px;
    font-size:    1rem;
    color:        var(--clr-text-body);
    font-style:   italic;
    line-height:  1.75;
    margin-bottom: 20px;
    box-shadow:   var(--shadow-card);
}

/* ── Sidebar / info card ─────────────────────────────────── */
.info-card {
    background:    #fff;
    border:        1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow:    var(--shadow-card);
    padding:       24px;
    margin-bottom: 20px;
}
.info-card h5, .info-card h6 {
    font-weight:   700;
    color:         var(--clr-text-dark);
    margin-bottom: 12px;
}

/* ── Standard CTA buttons ────────────────────────────────── */
.btn-primary-ssbmt {
    background:    var(--clr-primary);
    border:        none;
    color:         #fff;
    font-weight:   700;
    padding:       10px 26px;
    border-radius: var(--radius);
    font-size:     .92rem;
    display:       inline-flex;
    align-items:   center;
    gap:           7px;
    transition:    background .2s, transform .15s, box-shadow .2s;
    text-decoration: none;
}
.btn-primary-ssbmt:hover {
    background:  var(--clr-primary-dark);
    color:       #fff;
    transform:   translateY(-1px);
    box-shadow:  0 4px 16px rgba(128,0,0,.28);
    text-decoration: none;
}

.btn-outline-ssbmt {
    background:    transparent;
    border:        2px solid var(--clr-primary);
    color:         var(--clr-primary);
    font-weight:   700;
    padding:       9px 24px;
    border-radius: var(--radius);
    font-size:     .92rem;
    display:       inline-flex;
    align-items:   center;
    gap:           7px;
    transition:    background .2s, color .2s;
    text-decoration: none;
}
.btn-outline-ssbmt:hover {
    background: var(--clr-primary);
    color:      #fff;
    text-decoration: none;
}

.btn-pill-ssbmt {
    background:    var(--clr-primary);
    border:        none;
    color:         #fff;
    font-weight:   700;
    padding:       11px 32px;
    border-radius: 50px;
    font-size:     .95rem;
    display:       inline-flex;
    align-items:   center;
    gap:           8px;
    transition:    background .2s, transform .15s, box-shadow .2s;
    text-decoration: none;
}
.btn-pill-ssbmt:hover {
    background:  var(--clr-primary-dark);
    color:       #fff;
    transform:   translateY(-1px);
    box-shadow:  0 4px 16px rgba(128,0,0,.28);
    text-decoration: none;
}

/* ── Form styles (used in contact.php etc.) ──────────────── */
.form-field {
    width:         100%;
    padding:       11px 14px;
    border:        1px solid var(--clr-border);
    border-radius: var(--radius);
    font-size:     .95rem;
    color:         var(--clr-text-dark);
    background:    #fff;
    transition:    border-color .2s, box-shadow .2s;
    outline:       none;
    font-family:   var(--font-base);
}
.form-field:focus {
    border-color: var(--clr-primary);
    box-shadow:   0 0 0 3px rgba(128,0,0,.1);
}
.form-field::placeholder { color: var(--clr-text-lighter); }
.form-label-ssbmt {
    font-size:     .88rem;
    font-weight:   600;
    color:         var(--clr-text-dark);
    margin-bottom: 6px;
    display:       block;
}

/* ── Page section heading (left-aligned variant) ─────────── */
.section-title-left {
    font-size:     1.6rem;
    font-weight:   800;
    color:         var(--clr-primary);
    margin-bottom: 6px;
}

/* ── Divider variants ────────────────────────────────────── */
.section-divider-left {
    width:         48px;
    height:        4px;
    background:    var(--clr-secondary);
    border-radius: 2px;
    margin:        0 0 24px;
}

@media (max-width: 767.98px) {
    .page-hero { padding: 44px 0 36px; }
    .page-hero h1 { font-size: 1.7rem; }
    .content-section, .content-section-white { padding: 40px 0; }
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .65s cubic-bezier(.4,0,.2,1),
                transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
