/* NSE Epe Branch Website - Main Styles */
/* Design inspired by nse.org.ng with enhancements */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

:root {
    --primary: #111111;
    --primary-dark: #000000;
    --primary-light: #222222;
    --accent: #ffa000;
    --accent-dark: #e08f00;
    --accent-hover: #336600;
    --green: #336600;
    --green-light: #4a8c00;

    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --medium-gray: #999999;
    --dark-gray: #767676;
    --black: #111111;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    --radius: 5px;
    --radius-lg: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--black);
    background-color: var(--surface);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--black);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.75;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
    text-decoration: none;
}

/* =========================================
   TOP NOTIFICATION BAR (Green banner)
   ========================================= */
.top-bar {
    background-color: var(--green);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.top-bar a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 8px;
}

.top-bar a:hover {
    color: var(--white);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-top {
    background-color: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-contact {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-contact .icon {
    color: var(--accent);
}

.navbar {
    padding: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--black);
    text-decoration: none;
}

.logo-emblem {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--white);
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
    box-shadow: 0 2px 8px rgba(255,160,0,0.3);
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--dark-gray);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-link {
    display: block;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 24px 16px;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-menu > li.active > .nav-link {
    color: var(--accent);
    border-bottom-color: var(--accent);
    text-decoration: none;
}

/* Dropdowns */
.dropdown {
    position: relative;
}

.dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: var(--transition-fast);
}

.dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    list-style: none;
    min-width: 220px;
    border: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: var(--transition);
    padding: 8px 0;
    z-index: 1000;
    border-top: 3px solid var(--accent);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--accent);
    text-decoration: none;
    padding-left: 24px;
}

/* CTA Button in Nav */
.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--black);
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51,102,0,0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background-color: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(51,102,0,0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--black);
    text-decoration: none;
}

.btn-dark {
    background-color: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--primary-light);
    color: var(--accent);
    text-decoration: none;
}

.btn-link {
    background: none;
    color: var(--accent);
    padding: 0;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* =========================================
   HERO SECTION (Slider-style)
   ========================================= */
.hero {
    position: relative;
    color: var(--white);
    padding: 0;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(17, 17, 17, 0.6) 50%, rgba(10, 10, 10, 0.7) 100%),
        radial-gradient(circle at 20% 50%, rgba(255,160,0,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(51,102,0,0.06) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--green) 100%);
    z-index: 3;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255,160,0,0.15);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,160,0,0.3);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    font-weight: 800;
}

.hero-content h1 .highlight {
    color: var(--accent);
}

.hero-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-buttons .btn {
    min-width: 170px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-stats-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
}

.hero-stats-card h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.hero-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    min-width: 80px;
}

.hero-stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* =========================================
   NEWS BANNER / ANNOUNCEMENT
   ========================================= */
.news-banner {
    background-color: var(--white);
    padding: 0;
    border-bottom: 1px solid var(--gray);
}

.banner-alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 14px 0;
}

.banner-label {
    background-color: var(--accent);
    color: var(--black);
    padding: 4px 14px;
    border-radius: 3px;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.banner-alert p {
    margin-bottom: 0;
    color: var(--black);
    font-weight: 400;
    font-size: 0.95rem;
}

.banner-link {
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
    margin-left: auto;
}

.banner-link:hover {
    color: var(--accent-hover);
}

/* =========================================
   WELCOME SECTION
   ========================================= */
.welcome-section {
    padding: 5rem 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.welcome-content h2 {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.welcome-content h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.welcome-content p {
    font-size: 1rem;
    line-height: 1.85;
}

.vision-mission-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Tab Navigation */
.tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--gray);
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--black);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
}

/* Tab Content */
.tabs-content {
    display: flex;
    flex-direction: column;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* President Card */
.president-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.president-image {
    flex-shrink: 0;
}

.president-image img {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.president-info {
    flex: 1;
}

.president-info h4 {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.president-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem !important;
}

.president-title {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem !important;
}

.president-bio {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--dark-gray);
    margin-bottom: 0 !important;
}

/* Vision and Mission boxes (for tab content) */
.vision-box,
.mission-box {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--card-radius);
    border: var(--card-border);
    border-left: 3px solid var(--accent);
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vision-box:hover,
.mission-box:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
    border-left-color: var(--accent);
}

.vision-box h4,
.mission-box h4 {
    color: var(--black);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.vision-box p,
.mission-box p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   STATISTICS BAR
   ========================================= */
.statistics {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    padding: 4rem 0;
    position: relative;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green), var(--accent));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem 1.5rem;
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-card:last-child::after {
    display: none;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   WHAT WE OFFER
   ========================================= */
.what-we-offer {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 160, 0, 0.3);
}

.section-header .section-line {
    display: none; /* Using ::after pseudo-element instead for cleaner HTML */
}

.section-header p {
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Update About Section Headers to match */
.about-section h2 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 160, 0, 0.3);
}

.what-we-offer h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.offer-card {
    text-align: center;
    transition: var(--transition);
}

.offer-icon {
    width: 56px;
    height: 56px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: #5a5a5a;
}

.offer-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.offer-card p {
    font-size: 0.95rem;
}

.offer-card a {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* =========================================
   EXPLORE SECTION (Card Grid)
   ========================================= */
.explore-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.explore-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: var(--dark-gray);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.explore-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.explore-card {
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: var(--black);
    text-decoration: none;
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.explore-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.explore-icon {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.25rem;
    color: #5a5a5a;
    transition: background 0.2s ease, color 0.2s ease;
}

.explore-card:hover .explore-icon {
    background: rgba(255, 160, 0, 0.12);
    color: var(--accent-dark);
}

.explore-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.explore-card p {
    font-size: 0.88rem;
    margin-bottom: 0;
    color: var(--dark-gray);
}

/* =========================================
   LEADERSHIP
   ========================================= */
.leadership {
    padding: 5rem 0;
    background-color: var(--white);
}

.leader-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    color: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--green));
}

.leader-card h3 {
    color: var(--white);
    font-size: 1.5rem;
}

.leader-title {
    color: var(--accent) !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.leader-message {
    color: rgba(255,255,255,0.75) !important;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--black);
    padding: 4.5rem 0;
    text-align: center;
    position: relative;
}

.training-cta,
.page-cta {
    padding-bottom: 2.5rem;
    margin-bottom: 0;
}

.main-content + .footer {
    margin-top: 0;
}

.cta-content h2 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    color: rgba(0,0,0,0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-content .btn-dark {
    min-width: 200px;
}

/* =========================================
   RECENT NEWS
   ========================================= */
.recent-news {
    padding: 5rem 0;
    background-color: var(--white);
}

.recent-news h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    border: var(--card-border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    border: 1px solid var(--border-soft);
}

.news-card-body {
    padding: 1.25rem;
}

.news-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.news-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: center;
}

.news-category {
    background-color: rgba(255,160,0,0.1);
    color: var(--accent-dark);
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--black);
}

.news-card h3 a:hover {
    color: var(--accent);
}

.news-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more:hover {
    color: var(--accent-hover);
    gap: 8px;
}

.news-footer {
    text-align: center;
}

/* =========================================
   PARTNERS
   ========================================= */
.partners {
    padding: 4rem 0;
    background-color: var(--light-gray);
    text-align: center;
}

.partners h2 {
    margin-bottom: 0.5rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.partner-logo {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--card-radius);
    font-weight: 600;
    color: var(--medium-gray);
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border: var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.partner-logo img {
    max-width: 90%;
    max-height: 100px;
    object-fit: contain;
    transition: var(--transition);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

.partner-logo:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
    color: var(--black);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 0;
    margin-top: 4rem;
    position: relative;
}

.training-cta {
    margin-bottom: 0;
    padding-bottom: 2.5rem;
}

.training-cta + .footer,
.main-content:has(.training-cta) + .footer {
    margin-top: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--green));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent);
    text-decoration: none;
    padding-left: 4px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.footer-contact-item .icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Newsletter in Footer */
.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.12);
}

.newsletter-form button {
    background: var(--accent);
    color: var(--black);
    border: none;
    padding: 10px 18px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-hover);
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 0;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--black);
    text-decoration: none;
    transform: translateY(-2px);
}

/* =========================================
   PAGE HEADER
   ========================================= */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green));
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.7);
}

.page-header-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(255, 160, 0, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.section-header--resources h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header--resources h2 i {
    color: var(--accent);
    font-size: 0.95em;
}

/* =========================================
   FORMS
   ========================================= */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,160,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.form-group.checkbox label {
    flex: 1;
    min-width: 0;
}

.form-section-title {
    margin: 2rem 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.form-section-title h2 {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* =========================================
   MAIN CONTENT
   ========================================= */
.main-content {
    min-height: calc(100vh - 300px);
}

/* =========================================
   GRID UTILITIES
   ========================================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* =========================================
   MEMBERSHIP CARDS
   ========================================= */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.membership-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    border: var(--card-border);
    border-left: 3px solid var(--accent);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.membership-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.membership-card h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.membership-card .description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.membership-card .benefits {
    background-color: var(--surface-soft);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.membership-card .benefits h4 {
    color: var(--black);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.membership-card .benefits ul {
    list-style: none;
    padding: 0;
}

.membership-card .benefits ul li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.membership-card .benefits ul li i {
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 0.5rem;
}

.membership-card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

/* =========================================
   TIMELINE
   ========================================= */
.timeline {
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-date {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

.timeline-content h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--accent);
}

/* =========================================
   CONTENT SECTIONS
   ========================================= */
.news-section,
.membership-section,
.branches-section,
.divisions-section,
.training-section,
.resources-section,
.form-section,
.about-content,
.benefits-section {
    padding: 3rem 0;
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.animate-in {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Progress bar at top */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    z-index: 9999;
    transition: width 0.15s ease;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.text-center { text-align: center; }

/* Centered contact info blocks */
.help-contact-info {
    max-width: 400px;
    margin: 1.5rem auto 0;
}

.division-contact-info {
    max-width: 500px;
    margin: 1.5rem auto 0;
}
.text-accent { color: var(--accent); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-2 { gap: 1rem; }
.gap-4 { gap: 2rem; }

/* News & Events Filter/Category Section */
.filter-category-section {
    padding: 2rem 0 0.5rem 0;
}
.filter-category-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.filter-category-flex .search-form {
    flex: 1 1 220px;
    min-width: 220px;
}
.filter-category-flex .category-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.category-btn.active {
    background: var(--accent);
    color: var(--black);
    border-radius: var(--radius);
    font-weight: 700;
}
.category-btn {
    background: var(--light-gray);
    color: var(--accent);
    border-radius: var(--radius);
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-fast);
    border: none;
    font-size: 1rem;
}
.category-btn:hover {
    background: var(--accent);
    color: var(--black);
}
@media (max-width: 768px) {
    .filter-category-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .filter-category-flex .category-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .category-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   ABOUT PAGE - Value Cards & Reasons
   ========================================= */
.about-section {
    margin-bottom: 3rem;
}


.values-grid,
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card,
.reason-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--card-radius);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover,
.reason-item:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.value-card h3,
.reason-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.reason-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}



/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section {
    padding: 3rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.contact-form-container h2,
.contact-info h2 {
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    border-left: 3px solid var(--accent);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-item:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
    border-left-color: var(--accent);
}

.info-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-item p:last-child {
    margin-bottom: 0;
}

.departments-section,
.branch-contacts,
.faq-section {
    padding: 3rem 0;
}

.departments-section {
    background: var(--light-gray);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.department-card,
.branch-contact-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    border: var(--card-border);
    border-left: 3px solid var(--accent);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.department-card:hover,
.branch-contact-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
    border-left-color: var(--accent);
}

.department-card h3,
.branch-contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.department-card p,
.branch-contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.branches-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* FAQ */
.faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--card-shadow);
}

.faq-item:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    transition: var(--transition-fast);
    border-left: 4px solid var(--accent);
}

.faq-question:hover {
    background-color: var(--light-gray);
    color: var(--accent);
}

.faq-item.active .faq-question {
    background-color: rgba(255, 160, 0, 0.05);
    color: var(--accent);
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.faq-question > i:last-of-type {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active .faq-question > i:last-of-type {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* =========================================
   TRAINING / RESOURCE CARDS (base - overridden by professional shared styles)
   ========================================= */
.resource-card,
.training-card {
    padding: 1.25rem;
}

/* =========================================
   PROFESSIONAL RESOURCE CARD (Resources page)
   ========================================= */
.resources-section {
    background: var(--white);
}

.resources-grid--cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.resource-card--professional {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.resource-card--professional:hover {
    border-color: #d0d0d0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.resource-card-body {
    flex: 1;
    min-width: 0;
}

.resource-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #6b6b6b;
    font-size: 0.95rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.resource-card-content {
    min-width: 0;
}

.resource-card-title {
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 0.35rem;
    color: var(--black);
}

.resource-card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.resource-card-action {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    width: fit-content;
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.resource-card-action:hover {
    color: var(--black);
    border-bottom-color: var(--black);
    text-decoration: none;
}

.resource-card-action i {
    font-size: 0.65rem;
    opacity: 0.8;
}

/* Steps Container (membership apply) */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

/* =========================================
   PROFESSIONAL UI POLISH OVERRIDES
   ========================================= */
:root {
    --surface: #f8f9fb;
    --surface-soft: #f2f4f8;
    --border-soft: #e7ebf1;
    --text-muted: #606f82;
    /* Professional card design system */
    --card-radius: 4px;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.08);
    --card-border: 1px solid var(--border-soft);
}

body {
    background: var(--surface);
}

.main-content section {
    position: relative;
}

.news-section,
.membership-section,
.branches-section,
.divisions-section,
.training-section,
.resources-section,
.form-section,
.about-content,
.benefits-section,
.featured-programs,
.training-categories,
.training-formats,
.training-benefits,
.registration-section,
.pricing-section,
.requirements-section,
.application-section,
.resource-categories,
.search-resources,
.notice-section,
.search-results-section,
.search-section,
.upcoming-events,
.categories-section,
.division-activities,
.division-details,
.discipline-benefits,
.division-contact,
.find-branch,
.diaspora-section,
.get-involved,
.help-section {
    padding: 4rem 0;
}

.subtitle,
.result-count,
.contact-note {
    color: var(--text-muted);
}

.offer-icon i,
.explore-icon i,
.benefit-icon i,
.reason-icon i,
.category-icon i,
.activity-icon i,
.resource-icon i {
    font-size: 1.2em;
    line-height: 1;
}

.value-card h3 i,
.discipline-card h3 i,
.format-card h3 i,
.info-item h3 i,
.category-section h3 i {
    color: var(--accent);
    margin-right: 0.45rem;
}

.department-card p i,
.branch-contact-card p i,
.event-details p i,
.branch-info p i,
.contact-info p i,
.sidebar-widget p i,
.division-features p i,
.division-contact li i {
    color: var(--accent);
    margin-right: 0.45rem;
    width: 1rem;
    text-align: center;
}

/* Professional card base - consistent feel across app */
.resource-card,
.training-card,
.category-item,
.format-card,
.pricing-card,
.program-card,
.division-card,
.activity,
.discipline-card,
.branch-card,
.diaspora-card,
.option,
.search-result,
.news-article,
.article-sidebar .sidebar-widget,
.form-wrapper,
.category-section {
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    padding: 1.25rem;
}

.category-section:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.category-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-section h3 i {
    color: var(--accent);
    font-size: 0.95rem;
}

.resource-card:hover,
.training-card:hover,
.category-item:hover,
.format-card:hover,
.pricing-card:hover,
.program-card:hover,
.division-card:hover,
.activity:hover,
.discipline-card:hover,
.branch-card:hover,
.diaspora-card:hover,
.option:hover,
.search-result:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.division-card,
.branch-card,
.discipline-card,
.diaspora-card,
.option {
    transition: var(--transition);
}

.division-card h3,
.branch-card h3,
.discipline-card h3,
.diaspora-card h3,
.option h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.division-card p,
.branch-card p,
.discipline-card p,
.diaspora-card p,
.option p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.division-features p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.division-features p i {
    color: var(--accent);
    font-size: 0.75rem;
}

.branch-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-info p i {
    color: var(--accent);
    font-size: 0.85rem;
}

.discipline-card ul,
.division-card ul {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
}

.discipline-card ul li,
.division-card ul li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.25rem;
}

.discipline-card ul li::before,
.division-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
}

.activity {
    text-align: center;
    transition: var(--transition);
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #5a5a5a;
    margin: 0 auto 0.75rem;
    font-size: 1.25rem;
}

.activity h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.activity p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.value-card,
.reason-item {
    transition: var(--transition);
}

.value-card:hover,
.reason-item:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.value-card h3,
.reason-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-card h3 i,
.reason-item h3 i {
    color: var(--accent);
    font-size: 1.1rem;
}

.value-card p,
.reason-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.reason-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.reason-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.reason-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.resource-card,
.training-card,
.program-card,
.category-item,
.format-card,
.pricing-card,
.division-card,
.activity,
.discipline-card,
.branch-card,
.diaspora-card,
.option,
.search-result {
    padding: 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-result h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.search-result h3 a {
    color: var(--black);
}

.search-result h3 a:hover {
    color: var(--accent);
}

.search-result p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.program-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.program-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.category-item {
    transition: var(--transition);
}

.category-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.category-item > p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.category-item ul {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
}

.category-item ul li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.25rem;
}

.category-item ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
}

.format-card {
    transition: var(--transition);
}

.format-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.format-card h3 i {
    color: var(--accent);
    font-size: 1.1rem;
}

.format-card > p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.format-card ul {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
}

.format-card ul li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.25rem;
}

.format-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
}

.pricing-card {
    transition: var(--transition);
    text-align: center;
}

.pricing-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.pricing-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.pricing-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.resources-grid,
.programs-grid,
.categories-grid,
.formats-grid,
.pricing-cards,
.divisions-grid,
.activities-grid,
.discipline-cards,
.branches-grid,
.diaspora-grid,
.involvement-options,
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.programs-grid,
.formats-grid,
.pricing-cards,
.diaspora-grid,
.involvement-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resources-grid,
.divisions-grid,
.activities-grid,
.discipline-cards,
.branches-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.categories-grid,
.search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-info,
.result-meta,
.article-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin: 0.8rem 0 1rem;
}

.resource-type,
.resource-size,
.result-meta .category,
.result-meta .date,
.date-badge,
.category-badge {
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
}

.resource-type,
.result-meta .category,
.category-badge {
    background: rgba(255, 160, 0, 0.13);
    color: #8d5f00;
}

.resource-size,
.result-meta .date,
.date-badge {
    background: #eef2f7;
    color: #3f4f64;
}

.category-icon,
.resource-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #5a5a5a;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.3rem;
}

.benefit-item {
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #5a5a5a;
    font-size: 1.1rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 1rem 1.1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.benefit:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.benefit-content h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--black);
}

.benefit-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.benefit .benefit-icon {
    margin: 0;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
    border-radius: 50%;
}

.event-item {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    margin-bottom: 1rem;
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-item:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.event-details h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.event-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.event-date {
    border-radius: var(--radius);
    background: #0f172a;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 92px;
}

.event-date .month {
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--accent);
}

.event-date .day {
    font-size: 1.05rem;
    font-weight: 700;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border-radius: 4px;
    border: var(--card-border);
    background: var(--white);
    color: #2f3b4d;
    font-size: 0.85rem;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--accent);
    color: #8d5f00;
    background: rgba(255,160,0,0.1);
}

.search-form,
.resource-search,
.branch-search {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.search-form input,
.resource-search input,
.resource-search select,
.branch-search input {
    flex: 1;
    height: 46px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 0 0.9rem;
    background: var(--white);
}

.search-form button,
.resource-search button {
    height: 46px;
    border: none;
    border-radius: var(--radius);
    padding: 0 1.2rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
}

.search-form button:hover,
.resource-search button:hover {
    background: #232323;
}

/* Prominent Search (Resources page - top of page) */
.search-resources--prominent {
    padding: 2rem 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--border-soft);
}

.search-resources--prominent .search-resources-inner {
    max-width: 900px;
    margin: 0 auto;
}

.search-resources--prominent .search-resources-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.search-resources--prominent .search-resources-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.search-resources--prominent .search-resources-header h2 i {
    color: var(--accent);
}

.search-resources--prominent .search-resources-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.search-resources--prominent .resource-search {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.search-resources--prominent .resource-search-input-wrap {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-resources--prominent .resource-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--medium-gray);
    font-size: 0.95rem;
    pointer-events: none;
}

.search-resources--prominent .resource-search-input-wrap input {
    width: 100%;
    height: 50px;
    padding: 0 1rem 0 2.75rem;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.search-resources--prominent .resource-search-input-wrap input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 160, 0, 0.15);
}

.search-resources--prominent .resource-search select {
    min-width: 180px;
    height: 50px;
    padding: 0 2rem 0 1rem;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--white);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-resources--prominent .resource-search select:focus {
    outline: none;
    border-color: var(--accent);
}

.search-resources--prominent .resource-search button {
    height: 50px;
    padding: 0 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.category-section {
    padding: 1.25rem;
}

.resource-list {
    display: grid;
    gap: 0.7rem;
}

.resource-item {
    padding: 0.9rem 1rem;
    border: var(--card-border);
    border-radius: var(--card-radius);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-item:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.resource-item a {
    color: var(--black);
    font-weight: 500;
    flex: 1;
}

.resource-item a:hover {
    color: var(--accent);
}

.resource-item .doc-type {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.notice-box {
    background: #fff8eb;
    border: 1px solid #f6ddb0;
    border-left: 3px solid var(--accent);
    border-radius: var(--card-radius);
    padding: 1.25rem;
}

.notice-box h3 {
    color: #7f5500;
}

.form-wrapper {
    padding: 1.5rem;
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.form-info {
    background: var(--surface-soft);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 1.25rem;
    margin-top: 1.25rem;
}

.form-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.form-info ul {
    list-style: none;
    padding: 0;
}

.form-info ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
}

.form-info ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
}

.application-form .form-section-title {
    margin-top: 1.3rem;
}

.application-form .form-section-title:first-child {
    margin-top: 0;
}

.form-info {
    margin-top: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
}

.form-info ul,
.division-contact ul,
.requirements-list,
.reasons-list,
.steps-list,
.officers-info ul,
.related-links,
.quick-links {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    padding: 0;
}

.form-info li,
.requirements-list li,
.reasons-list li,
.steps-list li,
.officers-info li,
.related-links li,
.quick-links li {
    position: relative;
    padding-left: 1.5rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.form-info li::before,
.requirements-list li::before,
.reasons-list li::before,
.steps-list li::before,
.officers-info li::before,
.related-links li::before,
.quick-links li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--accent);
    font-size: 0.75rem;
}

.related-links li a,
.quick-links li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.related-links li a:hover,
.quick-links li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.steps-container,
.registration-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.step {
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d4db;
}

.step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--black);
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(255, 160, 0, 0.2);
}

.news-detail .container {
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 2.5rem;
    padding: 2rem 0;
}

.news-article {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
}

.article-header {
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.category-badge,
.date-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
}

.category-badge {
    background: var(--accent);
    color: var(--white);
}

.date-badge {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.article-content {
    margin-bottom: 2rem;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.article-sidebar {
    display: grid;
    gap: 1.5rem;
}

.article-sidebar .sidebar-widget {
    padding: 1.75rem;
    transition: var(--transition);
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
}

.article-sidebar .sidebar-widget:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.article-sidebar .sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--black);
    font-weight: 600;
}

.article-sidebar .sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-sidebar .sidebar-widget li {
    margin-bottom: 0.75rem;
}

.article-sidebar .sidebar-widget a {
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
}

.article-sidebar .sidebar-widget a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.article-sidebar .sidebar-widget p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.share-buttons {
    margin-top: 2rem;
    border-top: 2px solid var(--gray);
    padding-top: 1.5rem;
}

.share-buttons h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 600;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    background: var(--light-gray);
    color: var(--black);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.share-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.news-card .read-more i,
.search-result .read-more i {
    font-size: 0.75rem;
}

.cta-section .newsletter-form {
    max-width: 560px;
    margin: 1rem auto 0;
}

.cta-section .newsletter-form input {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(17,17,17,0.2);
    color: #232323;
}

.cta-section .newsletter-form input::placeholder {
    color: rgba(0,0,0,0.45);
}

.cta-section .newsletter-form button {
    background: #111;
    color: #fff;
}

.cta-section .newsletter-form button:hover {
    background: #222;
}

/* =========================================
   ERROR PAGES (404, 500)
   ========================================= */
.error-section {
    padding: 6rem 0;
    text-align: center;
    background: var(--surface);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-container {
    max-width: 560px;
    margin: 0 auto;
}

.error-code {
    font-family: 'Montserrat', sans-serif;
    font-size: 7rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.error-container h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.error-container p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.error-suggestions {
    text-align: left;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: inline-block;
}

.error-suggestions h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions ul li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-muted);
}

.error-suggestions ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.error-suggestions ul li a {
    color: var(--accent);
    font-weight: 500;
}

/* =========================================
   SEARCH PAGE ENHANCEMENTS
   ========================================= */
.no-results-suggestions,
.popular-searches {
    margin-top: 2rem;
    text-align: left;
    max-width: 500px;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.no-results-suggestions h3,
.popular-searches h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.no-results-suggestions ul,
.popular-searches ul {
    list-style: none;
    padding: 0;
}

.no-results-suggestions ul li,
.popular-searches ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.no-results-suggestions ul li::before,
.popular-searches ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 0.6rem;
}

.popular-searches ul li a {
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition-fast);
}

.popular-searches ul li a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* =========================================
   BUTTON VARIANT: btn-outline-dark (for use on light bg cards)
   ========================================= */
.btn-outline-dark {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-outline-dark:hover {
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================================
   MORE NEWS / ADDITIONAL SECTION PADDING
   ========================================= */
.more-news {
    padding: 4rem 0;
    background: var(--surface);
}

.more-news h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.branch-benefits {
    padding: 4rem 0;
    background: var(--surface);
}

.branch-benefits h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Branch listing/officers area polish */
.branch-listing {
    margin-top: 2rem;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.branch-listing h3 {
    margin-bottom: 0.5rem;
}

/* =========================================
   NEWS CARD CONSISTENCY
   ========================================= */
.news-card .news-header {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1.5rem 1.5rem 0;
}

.news-card .news-header + h3 {
    padding: 0 1.5rem;
}

.news-card .news-header + h3 + p {
    padding: 0 1.5rem;
}

.news-card .news-header ~ .read-more {
    padding: 0 1.5rem 1.5rem;
    display: inline-block;
}

/* =========================================
   PROGRAM CARD POLISH
   ========================================= */
.program-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.program-header h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--black);
    margin: 0;
}

.program-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.program-date i {
    color: var(--accent);
}

.program-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.program-footer {
    margin-top: auto;
    padding-top: 1rem;
}

/* =========================================
   PRICING CARD POLISH
   ========================================= */
.pricing-info {
    text-align: center;
}

.pricing-info > p:first-child {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-cards {
    margin-bottom: 2rem;
}

.price-label {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* =========================================
   CONTACT PAGE SOCIAL LINKS ON LIGHT BG
   ========================================= */
.contact-info .social-links a {
    background-color: var(--light-gray);
    color: var(--black);
}

.contact-info .social-links a:hover {
    background-color: var(--accent);
    color: var(--black);
}

/* =========================================
   MEMBERSHIP CARD BUTTON FIX
   ========================================= */
.membership-card .btn {
    margin-top: 0.5rem;
}

/* =========================================
   DETAILS CONTENT (Divisions, etc.)
   ========================================= */
.details-content {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.details-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.details-content h3:first-child {
    margin-top: 0;
}

.details-content ol {
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.details-content ol li {
    padding: 0.3rem 0;
}

/* =========================================
   REQUIREMENT CONTENT (Membership)
   ========================================= */
.requirement-content {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.requirement-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--black);
}

.requirement-content h3:first-child {
    margin-top: 0;
}

/* =========================================
   HELP SECTION (membership apply)
   ========================================= */
.help-section {
    background: var(--surface-soft);
}

.help-section .contact-info {
    margin-top: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.help-section .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.help-section .contact-info p i {
    color: var(--accent);
    width: 1.25rem;
    text-align: center;
    font-size: 1rem;
}

/* =========================================
   SECTION HEADER ON INNER PAGES
   ========================================= */
.branches-section > .container > .subtitle,
.divisions-section > .container > .subtitle {
    text-align: center;
    margin-bottom: 2rem;
}

/* =========================================
   PAGE HEADER BREADCRUMB OVERRIDE
   ========================================= */
.page-header .breadcrumb {
    margin-bottom: 0;
    color: rgba(255,255,255,0.6);
}

.page-header .breadcrumb a {
    color: var(--accent);
}

.page-header .breadcrumb span {
    color: rgba(255,255,255,0.85);
}

/* =========================================
   UTILITY CLASSES (replacing inline styles)
   ========================================= */
.footer-social-wrapper {
    margin-top: 1.25rem;
}

.footer-accent-link {
    color: var(--accent);
}

.search-empty-state {
    text-align: center;
    padding: 2rem 0;
}
