/* =============================================
   AJR BRAND PALETTE
   --ajr-white: #FFFFFF
   --ajr-dark-green: #1B4332
   --ajr-light-green: #74C69D
   --ajr-brown: #583321
   --ajr-orange: #F48C06
   --ajr-flame-yellow: #FFBA08
   --ajr-black-grey: #262626
   ============================================= */

:root {
    --ajr-white: #FFFFFF;
    --ajr-dark-green: #1B4332;
    --ajr-light-green: #74C69D;
    --ajr-brown: #583321;
    --ajr-orange: #F48C06;
    --ajr-flame-yellow: #FFBA08;
    --ajr-black-grey: #262626;
}

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

a { text-decoration: none !important; }

body {
    font-family: 'Cairo', sans-serif;
    background-color: #FFFFFF;
    color: #262626;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'El Messiri', sans-serif;
    font-weight: 700;
}

*:not(i) {
    font-family: "Cairo", sans-serif;
}

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes drift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-6px) rotate(0.5deg); }
    66% { transform: translateY(-3px) rotate(-0.3deg); }
}
@keyframes flicker {
    0%, 100% { opacity: 0.9; transform: scaleY(1) translateY(0); }
    25% { opacity: 1; transform: scaleY(1.04) translateY(-2px); }
    50% { opacity: 0.85; transform: scaleY(0.97) translateY(1px); }
    75% { opacity: 0.95; transform: scaleY(1.02) translateY(-1px); }
}
@keyframes riseUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes stretchIn {
    0% { opacity: 0; transform: scaleX(0.4); }
    100% { opacity: 1; transform: scaleX(1); }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(244, 140, 6, 0.3); }
    50% { box-shadow: 0 0 25px rgba(244, 140, 6, 0.6); }
}

.anim-rise { animation: riseUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-stretch { animation: stretchIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-glow { animation: glowPulse 2.5s infinite; }

/* ── Navbar brand ── */
.navbar-brand-logo {
  border-color: #F48C06 !important;
  object-fit: cover;
}

.navbar-brand-name {
  font-family: 'El Messiri', sans-serif;
}

.navbar-login-btn {
  background: #F48C06;
}

/* ── Hero animation delays ── */
.anim-delay-1 {
  animation-delay: 0.15s;
}

.anim-delay-2 {
  animation-delay: 0.3s;
}

.hero-subtitle {
  max-width: 700px;
}

/* ── Stats positioning ── */
.stats-section {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

/* ── Events section ── */
.events-section {
  padding-top: 70px !important;
}

.event-img-gradient {
  background: linear-gradient(135deg, #1B4332, #F48C06);
}

/* ── Empty state alerts ── */
.alert-empty-orange {
  background: rgba(244, 140, 6, 0.08);
  border: none;
  color: #583321;
  border-radius: 100px;
  display: inline-block;
  padding: 16px 40px;
  font-weight: 600;
}

.alert-empty-green {
  background: rgba(116, 198, 157, 0.08);
  border: none;
  color: #1B4332;
  border-radius: 100px;
  display: inline-block;
  padding: 16px 40px;
  font-weight: 600;
}

/* ── Section backgrounds ── */
.section-white {
  background: #FFFFFF;
}

.section-products {
  background: #FFFFFF;
  border-top: 1px solid rgba(116, 198, 157, 0.1);
}

/* ── View all button variant ── */
.view-all-btn {
  border-color: #F48C06;
  color: #F48C06;
  padding: 14px 40px;
  font-size: 1rem;
}

/* ── About section ── */
.about-section {
  background: #FFFFFF;
  border-top: 1px solid rgba(116, 198, 157, 0.1);
}

.about-border {
  border: 3px solid rgba(116, 198, 157, 0.2);
}

.about-text {
  color: #262626;
  line-height: 1.8;
  opacity: 0.8;
}

.about-btn-facebook {
  background: #1B4332;
}

/* ── Contact section ── */
.contact-form-textarea {
  height: 150px;
}

.contact-label {
  color: #1B4332;
}

.contact-value {
  color: #262626;
  opacity: 0.7;
}

/* ── Footer ── */
.footer-brand {
  font-size: 1.3rem;
}

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.6;
  max-width: 280px;
  margin-inline: auto;
  margin-inline-start: 0;
}

.footer-heading {
  font-family: 'El Messiri', sans-serif;
  font-weight: 700;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #fff;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.3s;
}

.footer-social-link:hover {
  background: var(--ajr-orange);
  color: #fff;
}

.footer-border {
  border-color: rgba(116, 198, 157, 0.12) !important;
}

.footer-text {
  font-size: 0.85rem;
  opacity: 0.5;
}

.footer-credit-link {
  color: #FFBA08;
  font-weight: 700;
}

/* =============================================
    NAVBAR
    ============================================= */
#ajrNav {
    background: #1B4332;
    padding: 14px 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid #F48C06;
}
#ajrNav .nav-link {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 18px;
    border-radius: 100px;
    transition: all 0.25s ease;
}
#ajrNav .nav-link:hover,
#ajrNav .nav-link.active {
    background: rgba(116, 198, 157, 0.15);
    color: #74C69D;
}

/* =============================================
   HERO
   ============================================= */
.ajr-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(27, 67, 50, 0.82), rgba(27, 67, 50, 0.82)), url('/static/header_bg.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}
.ajr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 90%, rgba(244, 140, 6, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(116, 198, 157, 0.08) 0%, transparent 60%);
    z-index: 1;
}
.ajr-hero > .container { position: relative; z-index: 2; }

.ajr-hero h1 {
    font-size: 3.8rem;
    color: #FFFFFF;
    line-height: 1.15;
}
.ajr-hero h1 span {
    color: #FFBA08;
}
.ajr-hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    line-height: 1.8;
}

/* Decorative campfire shape (CSS-only) */
.flame-art {
    position: relative;
    width: 180px;
    height: 240px;
    margin: 0 auto;
}
.flame-art .log {
    position: absolute;
    bottom: 10px;
    width: 100px;
    height: 16px;
    background: #583321;
    border-radius: 20px;
}
.flame-art .log:nth-child(1) { left: 15px; transform: rotate(-18deg); }
.flame-art .log:nth-child(2) { right: 15px; transform: rotate(18deg); }
.flame-art .fire {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 90px;
    background: #F48C06;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 1.2s ease-in-out infinite;
    box-shadow: 0 -10px 40px rgba(244, 140, 6, 0.4);
}
.flame-art .fire::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -10px;
    width: 40px;
    height: 50px;
    background: #FFBA08;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 0.9s ease-in-out infinite reverse;
}
.flame-art .fire::after {
    content: '';
    position: absolute;
    top: -25px;
    left: 5px;
    width: 20px;
    height: 35px;
    background: #FFFFFF;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 1.4s ease-in-out infinite;
    opacity: 0.7;
}

.ajr-btn-primary {
    background: #F48C06;
    border: none;
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ajr-btn-primary:hover {
    background: #583321;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(88, 51, 33, 0.3);
}
.ajr-btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ajr-btn-outline:hover {
    border-color: #FFFFFF;
    background: rgba(255,255,255,0.08);
    color: #FFFFFF;
    transform: translateY(-3px);
}
.ajr-btn-join {
    background: transparent;
    border: 2px solid #FFBA08;
    color: #FFBA08;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ajr-btn-join:hover {
    background: #FFBA08;
    color: #1B4332;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 186, 8, 0.3);
}

/* =============================================
   SECTION TITLE
   ============================================= */
.ajr-section-title {
    text-align: center;
    margin-bottom: 55px;
}
.ajr-section-title h2 {
    font-size: 2.6rem;
    color: #1B4332;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}
.ajr-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 4px;
    background: #F48C06;
    border-radius: 4px;
}
.ajr-section-title p {
    color: #583321;
    font-size: 1.05rem;
    margin-top: 15px;
    font-weight: 500;
}

/* =============================================
   EVENT CARDS
   ============================================= */
.ajr-event-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(116, 198, 157, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}
.ajr-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 67, 50, 0.08);
    border-color: #74C69D;
}
.ajr-event-img {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #1B4332;
}
.ajr-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.ajr-event-card:hover .ajr-event-img img {
    transform: scale(1.07);
}
.ajr-event-img .badge-remaining {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #1B4332;
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 6px;
}
.ajr-event-img .badge-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #F48C06;
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ajr-event-body {
    padding: 28px;
}
.ajr-event-body .meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #583321;
    margin-bottom: 12px;
}
.ajr-event-body .meta i { color: #F48C06; }
.ajr-event-body h4 {
    color: #1B4332;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.ajr-event-body p {
    color: #262626;
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ajr-btn-sm {
    padding: 10px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ajr-btn-sm.primary {
    background: #F48C06;
    border: none;
    color: #FFFFFF;
}
.ajr-btn-sm.primary:hover {
    background: #1B4332;
    color: #FFFFFF;
}
.ajr-btn-sm.outline {
    background: transparent;
    border: 2px solid #1B4332;
    color: #1B4332;
}
.ajr-btn-sm.outline:hover {
    background: #1B4332;
    color: #FFFFFF;
}

/* =============================================
   CATEGORY CARDS
   ============================================= */
.ajr-cat-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid rgba(116, 198, 157, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ajr-cat-card:hover {
    transform: translateY(-6px);
    border-color: #F48C06;
    box-shadow: 0 15px 30px rgba(244, 140, 6, 0.06);
}
.ajr-cat-card .icon-box {
    width: 75px;
    height: 75px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 2rem;
    color: #F48C06;
    border: 2px solid rgba(244, 140, 6, 0.1);
    transition: all 0.3s ease;
}
.ajr-cat-card:hover .icon-box {
    background: #F48C06;
    color: #FFFFFF;
    border-color: #F48C06;
    transform: scale(1.08);
}
.ajr-cat-card h4 {
    color: #1B4332;
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.ajr-cat-card p {
    color: #583321;
    font-size: 0.9rem;
    margin: 0;
}

/* =============================================
   HOW WE ORGANIZE
   ============================================= */
.ajr-step-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid rgba(116, 198, 157, 0.12);
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}
.ajr-step-card:hover {
    border-color: #74C69D;
    box-shadow: 0 15px 30px rgba(27, 67, 50, 0.04);
}
.ajr-step-card .step-num {
    width: 52px;
    height: 52px;
    background: #F48C06;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 20px;
    box-shadow: 0 6px 15px rgba(244, 140, 6, 0.2);
}
.ajr-step-card h4 {
    color: #1B4332;
    margin-bottom: 10px;
}
.ajr-step-card p {
    color: #262626;
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   STATS BAR
   ============================================= */
.ajr-stats {
    background: #1B4332;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(116, 198, 157, 0.15);
}
.ajr-stats .stat-item { text-align: center; }
.ajr-stats .stat-icon {
    font-size: 2.2rem;
    color: #F48C06;
    margin-bottom: 10px;
}
.ajr-stats .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.ajr-stats .stat-label {
    color: #74C69D;
    font-size: 0.9rem;
    font-weight: 600;
}

/* =============================================
   CONTACT / FORMS
   ============================================= */
.ajr-contact-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(116, 198, 157, 0.1);
    padding: 35px;
    height: 100%;
}
.ajr-contact-icon {
    width: 48px;
    height: 48px;
    background: #F48C06;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-floating > .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
}
.form-floating > .form-control:focus {
    border-color: #F48C06;
    box-shadow: 0 0 0 3px rgba(244, 140, 6, 0.1);
}

/* =============================================
   FOOTER
   ============================================= */
.ajr-footer {
    background: #1B4332;
    padding: 50px 0;
    border-top: 4px solid #F48C06;
}
.ajr-footer p { color: rgba(255,255,255,0.7); margin: 0; }
.ajr-footer .brand {
    color: #FFFFFF;
    font-family: 'El Messiri', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}
.ajr-footer .brand span { color: #74C69D; }

/* =============================================
    PRODUCT CARDS (Store section)
    ============================================= */
.product-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(116, 198, 157, 0.15);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27, 67, 50, 0.08);
  border-color: var(--ajr-orange);
}

.product-img {
  height: 220px;
  overflow: hidden;
  background: #f8f9fa;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.07);
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
}

.product-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ajr-brown);
  color: #fff;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
}

.product-info {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-title {
  color: var(--ajr-dark-green);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.product-about {
  color: var(--ajr-black-grey);
  font-size: 0.85rem;
  opacity: 0.65;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.card-actions {
  padding: 0 22px 20px;
}

.card-actions .btn {
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 22px;
}

/* =============================================
    BOOTSTRAP OVERRIDES
    ============================================= */
.btn-primary {
    background-color: var(--ajr-orange) !important;
    border-color: var(--ajr-orange) !important;
    color: var(--ajr-white) !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--ajr-brown) !important;
    border-color: var(--ajr-brown) !important;
    color: var(--ajr-white) !important;
}

.btn-secondary {
    background-color: var(--ajr-dark-green) !important;
    border-color: var(--ajr-dark-green) !important;
    color: var(--ajr-white) !important;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #0f2b20 !important;
    border-color: #0f2b20 !important;
    color: var(--ajr-white) !important;
}

.btn-outline-primary {
    color: var(--ajr-orange) !important;
    border-color: var(--ajr-orange) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--ajr-orange) !important;
    border-color: var(--ajr-orange) !important;
    color: var(--ajr-white) !important;
}

.btn-outline-secondary {
    color: var(--ajr-dark-green) !important;
    border-color: var(--ajr-dark-green) !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: var(--ajr-dark-green) !important;
    border-color: var(--ajr-dark-green) !important;
    color: var(--ajr-white) !important;
}

.btn-accent {
    background-color: var(--ajr-brown) !important;
    border-color: var(--ajr-brown) !important;
    color: var(--ajr-white) !important;
}
.btn-accent:hover,
.btn-accent:focus,
.btn-accent:active {
    background-color: #3d2013 !important;
    border-color: #3d2013 !important;
    color: var(--ajr-white) !important;
}

.btn-outline-accent {
    color: var(--ajr-brown) !important;
    border-color: var(--ajr-brown) !important;
}
.btn-outline-accent:hover,
.btn-outline-accent:focus,
.btn-outline-accent:active {
    background-color: var(--ajr-brown) !important;
    border-color: var(--ajr-brown) !important;
    color: var(--ajr-white) !important;
}

.btn-link {
    color: var(--ajr-orange) !important;
}
.btn-link:hover,
.btn-link:focus {
    color: var(--ajr-brown) !important;
}

.form-control {
    border-color: #e0e0e0 !important;
    color: var(--ajr-black-grey) !important;
}
.form-control:focus {
    border-color: var(--ajr-orange) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 140, 6, 0.25) !important;
}
.form-control::placeholder {
    color: var(--ajr-black-grey) !important;
    opacity: 0.5 !important;
}

.form-select {
    border-color: #e0e0e0 !important;
    color: var(--ajr-black-grey) !important;
}
.form-select:focus {
    border-color: var(--ajr-orange) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 140, 6, 0.25) !important;
}

.bg-primary { background-color: var(--ajr-dark-green) !important; }
.bg-secondary { background-color: var(--ajr-orange) !important; }
.bg-light { background-color: var(--ajr-white) !important; }
.bg-dark { background-color: var(--ajr-dark-green) !important; }

.text-primary { color: var(--ajr-dark-green) !important; }
.text-secondary { color: var(--ajr-orange) !important; }
.text-dark { color: var(--ajr-black-grey) !important; }
.text-light { color: var(--ajr-white) !important; }

.bg-accent { background-color: var(--ajr-brown) !important; }
.text-accent { color: var(--ajr-brown) !important; }

.alert-primary {
    background-color: rgba(27, 67, 50, 0.08) !important;
    border-color: rgba(27, 67, 50, 0.15) !important;
    color: var(--ajr-dark-green) !important;
}
.alert-secondary {
    background-color: rgba(244, 140, 6, 0.08) !important;
    border-color: rgba(244, 140, 6, 0.15) !important;
    color: var(--ajr-orange) !important;
}

.badge.bg-primary { background-color: var(--ajr-dark-green) !important; }
.badge.bg-secondary { background-color: var(--ajr-orange) !important; }

.progress-bar { background-color: var(--ajr-dark-green) !important; }

.page-link {
    color: var(--ajr-dark-green) !important;
    border-color: var(--ajr-dark-green) !important;
}
.page-item.active .page-link {
    background-color: var(--ajr-orange) !important;
    border-color: var(--ajr-orange) !important;
    color: var(--ajr-white) !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: rgba(244, 140, 6, 0.08) !important;
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--ajr-dark-green) !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .ajr-hero h1 { font-size: 2.5rem; }
    .ajr-section-title h2 { font-size: 2rem; }
    .flame-art { transform: scale(0.7); }
}

/* ── Custom Select (frontend) ── */
.custom-select-wrapper { position: relative; }
.custom-select-wrapper.full-width { width: 100%; }
.custom-select-label {
  display: block; margin-bottom: 6px; font-weight: 600;
  color: #1B4332; font-size: 0.85rem;
}
.custom-select-display {
  border: 1.5px solid #e2e8f0; padding: 10px 14px;
  border-radius: 12px; cursor: pointer; background: #fff;
  position: relative; transition: border-color 0.2s, box-shadow 0.2s;
  color: #262626; font-size: 0.9rem;
  min-height: 46px; display: flex; align-items: center;
}
.custom-select-display:hover,
.custom-select-display.active {
  border-color: #F48C06;
  box-shadow: 0 0 0 3px rgba(244, 140, 6, 0.06);
}
.custom-select-display .arrow {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  font-size: 1rem; color: #262626; opacity: 0.4;
}
.custom-select-list {
  list-style: none; padding: 6px; margin: 6px 0 0;
  border: 1px solid #e2e8f0; border-radius: 12px;
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: 200px; overflow-y: auto; background: #fff;
  display: none; z-index: 1000;
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.06);
}
.custom-select-list.show { display: block; }
.custom-select-list li {
  padding: 10px 14px; cursor: pointer; border-radius: 8px;
  transition: all 0.15s ease; color: #262626; font-size: 0.88rem;
}
.custom-select-list li:hover {
  background: rgba(244, 140, 6, 0.06); color: #F48C06;
}

/* ── Join Modal ── */
.join-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}
.join-modal-header {
    background: #1B4332;
    color: #fff;
    padding: 20px 24px;
}
.join-modal-header .modal-title {
    font-weight: 800;
    font-size: 1.15rem;
}
.join-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1B4332;
    margin-bottom: 6px;
}
.join-label i {
    color: #F48C06;
}
.join-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.join-input:focus {
    border-color: #F48C06;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 140, 6, 0.08);
}
textarea.join-input {
    resize: vertical;
    min-height: 60px;
}
.join-input::placeholder {
    color: #94a3b8;
}
.join-file-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.join-file-upload:hover {
    border-color: #F48C06;
    color: #F48C06;
    background: rgba(244, 140, 6, 0.03);
}
.join-file-upload i {
    font-size: 1.2rem;
}
.join-file-upload span {
    font-size: 0.8rem;
    font-weight: 600;
}
.join-file-name {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    color: #1B4332;
    font-weight: 600;
}
.join-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.join-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #F48C06;
    cursor: pointer;
}
.join-checkbox label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1B4332;
    cursor: pointer;
    user-select: none;
}
.join-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    gap: 12px;
}
.join-btn-cancel {
    padding: 10px 24px;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    background: transparent;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}
.join-btn-cancel:hover {
    border-color: #1B4332;
    color: #1B4332;
}
.join-btn-submit {
    padding: 10px 32px;
    border: none;
    border-radius: 100px;
    background: #F48C06;
    color: #fff;
    font-weight: 700;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(244, 140, 6, 0.2);
}
.join-btn-submit:hover {
    background: #e07e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 140, 6, 0.3);
}
#joinErrors:not(.d-none) {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #991b1b;
    font-size: 0.9rem;
    list-style: none;
}
#joinErrors li {
    margin-bottom: 4px;
}
