/* ============================================
   Buddu CBS PEWOSA Sacco - Premium Stylesheet
   Color: Deep Blue #1a3a6e, Gold #f5a623
   ============================================ */

:root {
  --primary:       #1a3a6e;
  --primary-dark:  #0f2347;
  --primary-light: #2952a3;
  --gold:          #f5a623;
  --gold-dark:     #d4881a;
  --light-bg:      #f4f7fc;
  --text-dark:     #1c2b3a;
  --text-muted:    #6b7c93;
  --border-color:  #e2e8f0;
  --shadow-sm:     0 2px 12px rgba(26,58,110,.08);
  --shadow-md:     0 8px 30px rgba(26,58,110,.14);
  --shadow-lg:     0 16px 48px rgba(26,58,110,.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; color: var(--text-dark); background: #fff; line-height: 1.6; font-size: 15px; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--primary-dark); }
.bg-gold { background-color: var(--gold) !important; }
.text-gold { color: var(--gold) !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }

/* Announcement Bar */
.announcement-bar { background: var(--primary-dark); color: rgba(255,255,255,.82); font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.1); }

/* Navbar */
.bcps-navbar { 
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%) !important; 
  padding: 8px 0; 
  box-shadow: 0 4px 20px rgba(0,0,0,.15); 
  transition: var(--transition);
  border-bottom: 2px solid var(--gold);
}
.bcps-navbar.scrolled { 
  background: var(--primary-dark) !important; 
  padding: 4px 0; 
}

/* Products Sub-menu */
.bcps-submenu {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.bcps-submenu .nav-link {
  color: var(--text-dark) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 15px !important;
  transition: var(--transition);
  border-radius: 4px;
}
.bcps-submenu .nav-link:hover {
  color: var(--primary) !important;
  background: var(--light-bg);
}
.bcps-submenu .nav-link i {
  color: var(--gold-dark);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
}
.lang-link {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.lang-link:hover, .lang-link.active {
  color: #fff;
  text-decoration: underline;
}

/* Navbar Logo Integration */
.brand-logo { 
  height: 64px; 
  width: 64px; 
  border-radius: 50%; 
  overflow: hidden; 
  background: #fff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: var(--transition);
}
.navbar-brand:hover .brand-logo {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.logo-img { 
  height: 100%; 
  width: 100%; 
  object-fit: cover; 
}
.logo-img--sm { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }
.logo-img--admin { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }

.bcps-navbar .nav-link { 
  color: #fff !important; 
  font-weight: 600; 
  font-size: 15px; 
  padding: 10px 18px !important; 
  border-radius: 50px; 
  transition: var(--transition); 
}
.bcps-navbar .nav-link:hover { 
  color: var(--gold) !important; 
  background: rgba(255,255,255,.1); 
}
.bcps-navbar .nav-item { margin: 0 2px; }
.bcps-dropdown { border: none; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; min-width: 210px; border-top: 3px solid var(--gold); }
.bcps-dropdown .dropdown-item { border-radius: 8px; padding: 8px 12px; font-size: 14px; transition: var(--transition); }
.bcps-dropdown .dropdown-item:hover { background: var(--light-bg); color: var(--primary); }

/* Buttons */
.btn-bcps { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--primary-dark) !important; border: none; font-weight: 700; border-radius: 50px; transition: var(--transition); box-shadow: 0 4px 15px rgba(245,166,35,.3); }
.btn-bcps:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,166,35,.45); }
.btn-bcps-outline { border: 2px solid rgba(255,255,255,.5); color: #fff !important; border-radius: 50px; font-weight: 600; background: transparent; transition: var(--transition); }
.btn-bcps-outline:hover { border-color: var(--gold); color: var(--gold) !important; }
.btn-bcps-primary { background: var(--primary); color: #fff !important; border: none; font-weight: 600; border-radius: 50px; transition: var(--transition); }
.btn-bcps-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Hero */
.hero-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-section::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(245,166,35,.12) 0%, transparent 60%); }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,166,35,.15); border: 1px solid rgba(245,166,35,.35); color: var(--gold); border-radius: 50px; padding: 6px 18px; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.15; }
.hero-title .highlight { color: var(--gold); }
.hero-sub { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 520px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat-num { font-size: 1.9rem; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 0.5px; }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); backdrop-filter: blur(16px); padding: 32px; box-shadow: var(--shadow-lg); }
.hero-card-title { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.hero-card .form-control, .hero-card .form-select { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 10px; }
.hero-card .form-control::placeholder { color: rgba(255,255,255,.5); }
.hero-card .form-control:focus, .hero-card .form-select:focus { background: rgba(255,255,255,.18); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,166,35,.2); color: #fff; }

/* Sections */
.section-pad { padding: 80px 0; }
.section-light { background: var(--light-bg); }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(26,58,110,.08); color: var(--primary); border-radius: 50px; padding: 4px 16px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--primary-dark); }
.section-title .accent { color: var(--gold-dark); }
.section-divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--primary)); border-radius: 2px; margin: 16px 0 24px; }

/* Service Cards */
.service-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px 28px; transition: var(--transition); height: 100%; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); transform: scaleX(0); transition: transform .3s ease; transform-origin: left; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; background: linear-gradient(135deg, rgba(26,58,110,.1), rgba(41,82,163,.08)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--primary); margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; transform: scale(1.1); }

/* Stats */
.stats-section { background: var(--primary); color: #fff; }
.stat-box { text-align: center; padding: 32px 20px; }
.stat-number { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--gold); }
.stat-label { font-size: 14px; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: 1px; }
.stat-icon { font-size: 2.2rem; color: rgba(255,255,255,.15); margin-bottom: 12px; }

/* Event Cards */
.event-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%; border: 1px solid var(--border-color); }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.event-card-img { height: 180px; object-fit: cover; width: 100%; }
.event-card-img-placeholder { height: 180px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); }
.event-date-badge { background: var(--primary); color: #fff; border-radius: 12px; padding: 10px 14px; text-align: center; line-height: 1.2; min-width: 54px; }
.event-date-badge .day { font-size: 1.5rem; font-weight: 800; display: block; }
.event-date-badge .month { font-size: 11px; text-transform: uppercase; color: var(--gold); }

/* Blog Cards */
.blog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border-color); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-category-badge { background: rgba(26,58,110,.1); color: var(--primary); border-radius: 50px; padding: 3px 12px; font-size: 12px; font-weight: 600; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: var(--radius-lg); padding: 60px 48px; position: relative; overflow: hidden; }
.cta-section::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(245,166,35,.08); top: -100px; right: -100px; }

/* Footer */
.bcps-footer { background: linear-gradient(180deg, var(--primary-dark) 0%, #080f1c 100%); color: rgba(255,255,255,.7); }
.footer-heading { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 10px; }
.footer-contact i { color: var(--gold); margin-top: 3px; min-width: 16px; }
.footer-contact a { color: rgba(255,255,255,.65); text-decoration: none; transition: var(--transition); }
.footer-contact a:hover { color: var(--gold); }
.social-icon { width: 38px; height: 38px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); text-decoration: none; transition: var(--transition); }
.social-icon:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-2px); }
.social-icon--sm { width: 30px; height: 30px; font-size: 12px; background: rgba(26,58,110,.08); color: var(--primary); }
.social-icon--sm:hover { background: var(--primary); color: #fff; }

/* Forms */
.form-control, .form-select { border: 1.5px solid var(--border-color); border-radius: 10px; padding: 10px 14px; transition: var(--transition); font-size: 14.5px; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,58,110,.12); }

/* Chatbot Widget */
.chatbot-toggle { position: relative; z-index: 10; width: 58px; height: 58px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; box-shadow: 0 6px 24px rgba(26,58,110,.45); transition: var(--transition); }
.chatbot-toggle:hover { transform: scale(1.1); }

/* WhatsApp Toggle */
.whatsapp-toggle { 
  position: relative; 
  z-index: 10; 
  width: 58px; 
  height: 58px; 
  background: #25d366; 
  color: #fff; 
  text-decoration: none;
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 28px; 
  cursor: pointer; 
  box-shadow: 0 6px 24px rgba(37,211,102,.4); 
  transition: var(--transition); 
}
.whatsapp-toggle:hover { transform: scale(1.1); color: #fff; }

.contact-buttons-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; border: 2px solid #fff; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.chatbot-window { position: fixed; bottom: 100px; right: 28px; z-index: 9998; width: 360px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.2); display: none; flex-direction: column; max-height: 520px; overflow: hidden; border: 1px solid var(--border-color); }
.chatbot-window.active { display: flex; animation: slideUp .3s ease; }
@keyframes slideUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.chatbot-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.chatbot-avatar { width: 38px; height: 38px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.chatbot-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #f8fafc; }
.chat-bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; animation: fadeInBubble .2s ease; }
@keyframes fadeInBubble { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform: translateY(0); } }
.chat-bubble.bot { background: #fff; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); color: var(--text-dark); align-self: flex-start; }
.chat-bubble.user { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-typing { display: flex; gap: 4px; align-items: center; padding: 10px 14px; background: #fff; border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; box-shadow: var(--shadow-sm); align-self: flex-start; }
.chat-typing span { width: 7px; height: 7px; background: var(--primary); border-radius: 50%; animation: typing-dot .9s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .30s; }
@keyframes typing-dot { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.chatbot-footer { padding: 12px 14px; background: #fff; border-top: 1px solid var(--border-color); }
.chatbot-input-group { display: flex; gap: 8px; }
.chatbot-input { flex: 1; border: 1.5px solid var(--border-color); border-radius: 50px; padding: 8px 16px; font-size: 13.5px; outline: none; transition: var(--transition); font-family: 'Outfit', sans-serif; }
.chatbot-input:focus { border-color: var(--primary); }
.chatbot-send { background: var(--primary); color: #fff; border: none; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.chatbot-send:hover { background: var(--primary-light); }
.quick-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.quick-chip { background: rgba(26,58,110,.06); border: 1px solid rgba(26,58,110,.15); color: var(--primary); border-radius: 50px; padding: 4px 12px; font-size: 12px; font-weight: 500; cursor: pointer; transition: var(--transition); }
.quick-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Back to Top */
.back-to-top { position: fixed; bottom: 100px; right: 32px; z-index: 999; width: 44px; height: 44px; background: var(--gold); color: var(--primary-dark); border: none; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; box-shadow: 0 4px 16px rgba(245,166,35,.4); transition: var(--transition); }
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-3px); }


/* Page Header */
.page-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(245,166,35,.1) 0%, transparent 50%); z-index: 1; }
.page-header::after { content:''; position: absolute; top: 0; right: 0; bottom: 0; width: 40%; background: rgba(255,255,255,.03); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%); z-index: 1; }
.page-header .container { position: relative; z-index: 2; }
.page-header-title { font-size: 3rem; font-weight: 800; letter-spacing: -1px; }
.breadcrumb-bcps .breadcrumb-item { color: rgba(255,255,255,.6); }
.breadcrumb-bcps .breadcrumb-item.active { color: var(--gold); }
.breadcrumb-bcps .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }
.breadcrumb-bcps a { color: rgba(255,255,255,.7); text-decoration: none; }

/* Testimonials */
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }

/* Process Steps */
.step-circle { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; margin: 0 auto 16px; box-shadow: 0 6px 20px rgba(26,58,110,.3); }

/* Utilities */
.fw-700 { font-weight: 700 !important; }
.text-gold { color: var(--gold) !important; }
.text-primary-dark { color: var(--primary-dark) !important; }
.bg-primary-dark { background: var(--primary-dark) !important; }
.rounded-bcps { border-radius: var(--radius) !important; }
.shadow-bcps { box-shadow: var(--shadow-md) !important; }
.hover-up { transition: var(--transition); }
.hover-up:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg) !important; }
.icon-box-soft { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: var(--transition); }
.bg-primary-soft { background: rgba(26,58,110,.08) !important; }
.bg-success-soft { background: rgba(40,167,69,.08) !important; }
.bg-warning-soft { background: rgba(245,166,35,.08) !important; }
.bg-danger-soft { background: rgba(220,53,69,.08) !important; }
.bg-info-soft { background: rgba(13,202,240,.08) !important; }

.icon-box-sm { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); }
.shadow-xl { box-shadow: 0 20px 50px rgba(26,58,110,.22) !important; }
.shadow-2xl { box-shadow: 0 30px 70px rgba(26,58,110,.28) !important; }

.fw-500 { font-weight: 500 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

.floating { animation: floating 3s ease-in-out infinite; }
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Enhanced Affiliates */
.affiliate-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 20px; text-align: center; transition: var(--transition); height: 100%; display: flex; align-items: center; justify-content: center; }
.affiliate-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.grayscale-hover { filter: grayscale(1); opacity: 0.6; transition: var(--transition); }
.grayscale-hover:hover { filter: grayscale(0); opacity: 1; }

/* Service Nav Item */
.service-nav-item { border-right: 1px solid var(--border-color); transition: var(--transition); }
.service-nav-item:last-child { border-right: none; }
.service-nav-item:hover { background: var(--light-bg); }

/* Glassmorphism utility */
.glass-card { background: rgba(255,255,255,.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.3); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* Responsive */

/* Registration and Form Enhancements */
.registration-tabs { background: #fff; border-bottom: 2px solid var(--border-color); }
.registration-tabs .nav-link { 
  border: none; 
  color: var(--text-muted); 
  border-bottom: 3px solid transparent; 
  font-size: 15px; 
  transition: var(--transition);
}
.registration-tabs .nav-link.active { 
  color: var(--primary); 
  border-bottom-color: var(--gold); 
  background: rgba(26,58,110,.02); 
}
.registration-tabs .nav-link i { margin-right: 8px; color: var(--gold-dark); }

.card-registration { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.form-label-premium { 
  font-weight: 700; 
  color: var(--primary-dark); 
  font-size: 13.5px; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
  margin-bottom: 8px; 
}

.input-premium { 
  border: 2px solid var(--border-color); 
  border-radius: 12px; 
  padding: 12px 18px; 
  font-family: inherit; 
  transition: var(--transition); 
}
.input-premium:focus { 
  border-color: var(--primary); 
  box-shadow: 0 0 0 4px rgba(26,58,110,.1); 
  outline: none; 
}

.charge-card { 
  background: #fff; 
  border: 1px solid var(--border-color); 
  border-radius: var(--radius); 
  padding: 15px; 
  text-align: center; 
  transition: var(--transition);
}
.charge-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.charge-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; }
.charge-value { font-size: 1.1rem; font-weight: 800; color: var(--primary); }

.charge-sidebar { position: sticky; top: 100px; }
.total-card { 
  background: var(--primary); 
  color: #fff; 
  border-radius: var(--radius-lg); 
  padding: 25px; 
  box-shadow: var(--shadow-md);
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}
.total-label { font-size: 14px; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; }
.total-amount { font-size: 2rem; font-weight: 900; color: var(--gold); margin: 10px 0; }
.total-note { font-size: 11px; opacity: 0.7; font-style: italic; }

.hover-up { transition: var(--transition); }
.hover-up:hover { transform: translateY(-5px); }

/* ============================================
   ANIMATION SYSTEM — Scroll Reveal + Micro-interactions
   ============================================ */

/* --- Scroll Reveal Base --- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1),
              transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none !important; }

/* Reveal Directions */
[data-reveal="fade-up"]    { transform: translateY(50px); }
[data-reveal="fade-down"]  { transform: translateY(-50px); }
[data-reveal="fade-left"]  { transform: translateX(60px); }
[data-reveal="fade-right"] { transform: translateX(-60px); }
[data-reveal="zoom-in"]    { transform: scale(.85); }
[data-reveal="flip-up"]    { transform: perspective(800px) rotateX(12deg) translateY(40px); }
[data-reveal="fade"]       { transform: none; }

/* Staggered Delay Utility (set via CSS vars in JS) */
[data-reveal][style*="--reveal-delay"] {
  transition-delay: var(--reveal-delay);
}

/* --- Hero Entrance Cascade --- */
.hero-section .hero-badge   { animation: heroCascade .7s .1s cubic-bezier(.4,0,.2,1) both; }
.hero-section .hero-title   { animation: heroCascade .7s .25s cubic-bezier(.4,0,.2,1) both; }
.hero-section .hero-sub     { animation: heroCascade .7s .4s cubic-bezier(.4,0,.2,1) both; }
.hero-section .d-flex.flex-wrap { animation: heroCascade .7s .55s cubic-bezier(.4,0,.2,1) both; }
.hero-section .hero-stats   { animation: heroCascade .7s .7s cubic-bezier(.4,0,.2,1) both; }
.hero-section .hero-card    { animation: heroCardEnter .8s .5s cubic-bezier(.34,1.56,.64,1) both; }

@keyframes heroCascade {
  from { opacity: 0; transform: translateY(35px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroCardEnter {
  from { opacity: 0; transform: translateX(60px) scale(.92); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* --- Hero Background Parallax Shimmer --- */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(245,166,35,.06) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: heroShimmer 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes heroShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Stats Section Animations --- */
.stat-box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.stat-box.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.stat-icon {
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), color .3s ease;
}
.stat-box:hover .stat-icon {
  transform: scale(1.3) rotate(-8deg);
  color: var(--gold);
}
.stat-number {
  transition: transform .3s ease;
}
.stat-box:hover .stat-number {
  transform: scale(1.08);
}

/* --- Section Heading Animations --- */
.section-badge {
  transition: transform .3s ease, box-shadow .3s ease;
}
.section-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,58,110,.12);
}

.section-divider {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .8s cubic-bezier(.4,0,.2,1) .2s;
}
.section-divider.mx-auto {
  transform-origin: center;
}
.section-divider.animate-in {
  transform: scaleX(1);
}

/* --- Card Hover Enhancements --- */
.service-card,
.event-card,
.blog-card,
.testimonial-card {
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              box-shadow .35s cubic-bezier(.4,0,.2,1),
              border-color .35s ease;
}

/* Testimonial card quote hover lift */
.testimonial-card {
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 120px;
  font-family: 'Playfair Display', serif;
  color: rgba(26,58,110,.04);
  line-height: 1;
  transition: transform .4s ease, color .4s ease;
  pointer-events: none;
}
.testimonial-card:hover::before {
  transform: translateY(-8px) scale(1.1);
  color: rgba(245,166,35,.1);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Blog card image zoom */
.blog-card img,
.event-card img {
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.blog-card:hover img,
.event-card:hover img {
  transform: scale(1.06);
}
.blog-card,
.event-card {
  overflow: hidden;
}

/* --- Step Circle Pulse on Reveal --- */
.step-circle {
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.step-circle:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 28px rgba(26,58,110,.35);
}

/* --- Button Ripple Effect --- */
.btn-bcps,
.btn-bcps-primary,
.btn-bcps-outline {
  position: relative;
  overflow: hidden;
}
.btn-bcps::after,
.btn-bcps-primary::after,
.btn-bcps-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%),
    rgba(255,255,255,.35) 0%,
    transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.btn-bcps:active::after,
.btn-bcps-primary:active::after,
.btn-bcps-outline:active::after {
  opacity: 1;
  transition: opacity 0s;
}

/* --- Icon Bounce on Card Hover --- */
.service-card:hover .service-icon i {
  animation: iconBounce .5s ease;
}
@keyframes iconBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  60%  { transform: scale(.9); }
  80%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* --- CTA Section Glow Pulse --- */
.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245,166,35,.12);
  bottom: -80px;
  left: -80px;
  animation: ctaGlow 4s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes ctaGlow {
  from { transform: scale(1); opacity: .5; }
  to   { transform: scale(1.3); opacity: 1; }
}

/* --- Footer Link Arrow Slide --- */
.footer-links a {
  position: relative;
  padding-left: 0;
}
.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: -14px;
  opacity: 0;
  transition: left .3s ease, opacity .3s ease;
  color: var(--gold);
  font-size: 11px;
}
.footer-links a:hover::before {
  left: -2px;
  opacity: 1;
}
.footer-links a:hover {
  padding-left: 12px;
}

/* --- Social Icon Hover Rotate --- */
.social-icon:hover {
  animation: socialPop .35s ease;
}
@keyframes socialPop {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-5px) scale(1.15); }
  100% { transform: translateY(-2px) scale(1); }
}

/* --- Page Header Text Entrance --- */
.page-header .hero-badge,
.page-header .page-header-title,
.page-header .breadcrumb-bcps,
.page-header p {
  animation: heroCascade .6s cubic-bezier(.4,0,.2,1) both;
}
.page-header .hero-badge       { animation-delay: .1s; }
.page-header .page-header-title { animation-delay: .2s; }
.page-header .breadcrumb-bcps  { animation-delay: .35s; }
.page-header p                 { animation-delay: .3s; }

/* --- Smooth Section Transitions --- */
.section-pad {
  position: relative;
}

/* --- Event Date Badge Hover --- */
.event-date-badge {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s ease;
}
.event-card:hover .event-date-badge {
  transform: scale(1.1);
  background: var(--gold);
}
.event-card:hover .event-date-badge .day {
  color: var(--primary-dark);
}
.event-card:hover .event-date-badge .month {
  color: var(--primary-dark);
}

/* --- Blog Category Badge Hover --- */
.blog-category-badge {
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.blog-card:hover .blog-category-badge {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Charge Card Shine Effect --- */
.charge-card {
  position: relative;
  overflow: hidden;
}
.charge-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transition: left .5s ease;
}
.charge-card:hover::after {
  left: 150%;
}

/* --- Navbar Link Underline Animation --- */
.bcps-navbar .nav-link {
  position: relative;
}
.bcps-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width .3s ease, left .3s ease;
}
.bcps-navbar .nav-link:hover::after {
  width: 60%;
  left: 20%;
}

/* --- Accessibility: Respect Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
