/* ============================================
   SMARTTRADERSKE — MAIN STYLES
   Color Tokens: Blue #0057D9 | White #FFFFFF
   Orange #F97316 | Green #16A34A | Gold #D4AF37 | Charcoal #1F2937
   ============================================ */

:root {
    --primary: #0057D9;
    --primary-dark: #0045B0;
    --primary-light: #EBF2FF;
    --orange: #F97316;
    --green: #16A34A;
    --gold: #D4AF37;
    --purple: #7C3AED;
    --charcoal: #1F2937;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}
.btn-gold:hover {
    background: #b8962e;
    border-color: #b8962e;
    color: #fff;
}

.btn-orange {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.btn-orange:hover {
    background: #e26a0c;
    border-color: #e26a0c;
    color: #fff;
}

.btn-outline-gold {
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.navbar {
    padding: 0.8rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.navbar-brand img {
    max-height: 40px;
}
.navbar .nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}
.navbar .nav-link:hover {
    color: var(--primary);
}
.navbar .nav-link .badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    min-width: 18px;
    background: var(--primary);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
    background: var(--primary);
    color: #fff;
    padding: 4rem 0;
}
.hero-section h1 {
    font-weight: 800;
    line-height: 1.2;
}
.hero-section .btn-light {
    background: #fff;
    color: var(--primary);
}
.hero-section .btn-light:hover {
    background: var(--gray-100);
}
.hero-section .btn-outline-light {
    color: #fff;
    border-color: #fff;
}
.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   CATEGORY ICON GRID
   ============================================ */
.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.category-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.category-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.2s;
    background: #fff;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    background: var(--gray-100);
}
.product-card .card-body {
    padding: 1rem;
}
.product-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.product-card .card-title a {
    color: var(--gray-800);
}
.product-card .card-title a:hover {
    color: var(--primary);
}
.product-card.border-gold {
    border-color: var(--gold);
    border-width: 2px;
}
.badge-gold {
    background: var(--gold);
    color: #fff;
}
.badge-orange {
    background: var(--orange);
    color: #fff;
}

/* ============================================
   SERVICE / EVENT CARDS
   ============================================ */
.card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: box-shadow 0.2s;
}
.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ============================================
   PROGRESS BAR (Charity)
   ============================================ */
.progress {
    height: 12px;
    border-radius: 6px;
    background: var(--gray-200);
}
.progress-bar {
    background: var(--primary);
}
.progress-bar.bg-gold {
    background: var(--gold);
}

/* ============================================
   SECTION BACKGROUNDS
   ============================================ */
.bg-green {
    background: var(--green);
}
.bg-light {
    background: var(--gray-50);
}
.bg-dark {
    background: var(--charcoal);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: #fff;
    padding: 3rem 0 1.5rem;
}
.footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}
.footer a:hover {
    color: #fff;
}
.footer .social-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}
.footer .social-links a:hover {
    color: #fff;
}

/* ============================================
   FORMS
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.12);
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}
.alert-success {
    background: #d1fae5;
    color: #065f46;
}
.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}
.alert-warning {
    background: #fef3c7;
    color: #92400e;
}
.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

/* ============================================
   PAGINATION
   ============================================ */
.page-link {
    color: var(--primary);
    border-color: var(--gray-200);
}
.page-link:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.page-item.disabled .page-link {
    color: var(--gray-400);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    padding: 15px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp-float:hover {
    transform: scale(1.05);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
}
.breadcrumb-item a {
    color: var(--gray-600);
}
.breadcrumb-item a:hover {
    color: var(--primary);
}
.breadcrumb-item.active {
    color: var(--gray-800);
    font-weight: 500;
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.text-gold {
    color: var(--gold);
}
.text-orange {
    color: var(--orange);
}
.bg-primary-light {
    background: var(--primary-light);
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.shadow-md {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.rounded-lg {
    border-radius: 16px;
}



/* ========== STICKY FOOTER ========== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content {
    flex: 1 0 auto;
}
.footer {
    flex-shrink: 0;
    background: #1F2937;
    color: #fff;
    width: 100%;
}
/* ============================================
   SECTION TITLE WITH UNDERLINE (Categories / Why Choose / Donate)
   ============================================ */
.section-title-underline {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.5px;
    padding-bottom: 1rem;
    margin-bottom: 0;
    position: relative;
    display: block;
}
.section-title-underline::after {
    content: '';
    display: block;
    width: 100%;
    max-width: 100%;
    height: 2px;
    background: var(--primary);
    margin: 1rem auto 0;
    opacity: 0.5;
}

/* ============================================
   HERO V2 (diagonal split)
   ============================================ */
.hero-section-v2 {
    background: var(--primary);
    color: #fff;
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section-v2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    background: var(--gray-100);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}
.hero-content,
.hero-image {
    position: relative;
    z-index: 1;
}
.hero-heading {
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    max-width: 480px;
}
.hero-pillars {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.hero-buttons .btn {
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 6px;
}
.hero-collage-img {
    border-radius: 12px;
}

/* ============================================
   CATEGORY GRID V2
   ============================================ */
.category-item-v2 {
    display: block;
    color: inherit;
    text-decoration: none;
}
.category-item-v2:hover {
    color: inherit;
    text-decoration: none;
}
.category-icon-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.category-item-v2:hover .category-icon-v2 {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.category-icon-v2 img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.category-title-v2 {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.category-desc-v2 {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.3;
    margin-bottom: 0;
}

/* ============================================
   WHY CHOOSE ROW V2
   ============================================ */
.why-choose-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.why-choose-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.75rem;
    border-right: 1px solid var(--gray-300);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.95rem;
}
.why-choose-item:last-child {
    border-right: none;
}
.why-choose-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ============================================
   SPOTLIGHT BOXES (Products / Services / Events)
   ============================================ */
.spotlight-box {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.spotlight-header {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}
.spotlight-body {
    padding: 1.25rem;
}
.spotlight-thumb {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--gray-100);
    margin-bottom: 0.4rem;
}
.spotlight-thumb-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0;
}

.service-spotlight-row {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}
.service-spotlight-row img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--gray-100);
    flex-shrink: 0;
}
.service-spotlight-row h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
}
.service-spotlight-row p {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.event-spotlight-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.event-spotlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.event-spotlight-info {
    flex: 1;
    min-width: 0;
}
.event-spotlight-info h6 {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
    color: var(--gray-800);
}
.event-spotlight-info p {
    font-size: 0.72rem;
    color: var(--gray-500);
    margin-bottom: 0;
}
.event-spotlight-row .btn {
    font-size: 0.68rem;
    padding: 0.3rem 0.7rem;
    flex-shrink: 0;
}

/* ============================================
   DONATE SECTION
   ============================================ */
.donate-box {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    background: #fff;
    height: 100%;
}
.donate-box h6 {
    font-weight: 700;
    margin: 0.5rem 0 0.4rem;
    font-size: 0.9rem;
}
.donate-box p {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-bottom: 0.85rem;
    min-height: 2.4rem;
}
.donate-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}
.donate-icon-blue { background: var(--primary-light); color: var(--primary); }
.donate-icon-green { background: #DCFCE7; color: var(--green); }
.donate-icon-orange { background: #FFEDD5; color: var(--orange); }
.donate-icon-purple { background: #EDE9FE; color: var(--purple); }

.btn-donate-green {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.btn-donate-green:hover {
    background: #128a3e;
    border-color: #128a3e;
    color: #fff;
}
.btn-outline-purple {
    color: var(--purple);
    border: 1px solid var(--purple);
    background: transparent;
}
.btn-outline-purple:hover {
    background: var(--purple);
    color: #fff;
}
.donate-photo {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ============================================
   SPOTLIGHT EMPTY STATE (e.g. no events yet)
   ============================================ */
.spotlight-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--gray-400);
    padding: 1.5rem 1rem;
}
.spotlight-empty i {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    color: var(--gray-300);
}
.spotlight-empty p {
    font-size: 0.85rem;
    margin-bottom: 0;
}