/* ==========================================================================
   Slima Theme Overrides & Personalization for Nura Mustapha Ali
   Palette: Mauve (#915675), Rose (#C6959D), Navy (#0B2A36), Sage (#B6BD9D)
   ========================================================================== */

:root {
  --bs-primary: #915675;
  --bs-primary-rgb: 145, 86, 117;
  --color-mauve: #915675;
  --color-mauve-dark: #763f5d;
  --color-rose: #C6959D;
  --color-rose-light: #f7eff1;
  --color-navy: #0B2A36;
  --color-navy-light: #163e4e;
  --color-sage: #B6BD9D;
  --color-cream: #FAF7F2;
  --color-dark: #1e1b2e;
}

/* Primary color overrides across all Slima components */
.text-primary,
.service-box .button-link :hover,
.blog-content a h4:hover,
.blog-content a h6:hover,
.blog-link a,
.footer .address-content a:hover,
.footer .social-icon i:hover,
.menu .menu-item a:hover,
.menu .info-item a:hover,
.counter .counter_value {
  color: #915675 !important;
}

.bg-primary,
.price-save-box.bg-primary,
.bg-home6 {
  background-color: #915675 !important;
}

/* Gradients */
.gradient-bg {
  background: linear-gradient(135deg, #f3e9ee 0%, #FAF7F2 100%) !important;
}

.title-border {
  background: linear-gradient(to right, transparent, #915675, transparent) !important;
}

/* Buttons */
.btn-primary {
  background: #915675 !important;
  border-color: #915675 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(145, 86, 117, 0.25);
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #763f5d !important;
  border-color: #763f5d !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(145, 86, 117, 0.35);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: #915675 !important;
  border-color: #915675 !important;
  background: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #915675 !important;
  border-color: #915675 !important;
  color: #fff !important;
}

.btn-ghost {
  background: rgba(145, 86, 117, 0.08);
  color: #915675;
  border: 1px solid rgba(145, 86, 117, 0.2);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: #915675;
  color: #fff;
  border-color: #915675;
}

.btn-sm {
  padding: 8px 20px !important;
  font-size: 13px !important;
}

/* Navbar */
.navbar {
  padding: 18px 0;
  transition: all 0.4s ease;
}

.navbar .navbar-nav .nav-link {
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 15px 16px;
  color: #2b283a;
  font-weight: 600;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #915675 !important;
}

.nav-sticky.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(11, 42, 54, 0.06);
  padding: 10px 0;
}

.nav-sticky .nav-link {
  color: #3f3a64 !important;
}

.nav-sticky .nav-link:hover,
.nav-sticky .nav-link.active {
  color: #915675 !important;
}

.navbar-brand.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0B2A36 !important;
  letter-spacing: -0.01em;
}

.navbar-brand.logo img {
  max-height: 38px;
  width: auto;
  border-radius: 6px;
}

.navbar-brand.logo .logo-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(145, 86, 117, 0.12);
  color: #915675;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Nav CTA button */
.nav-cta-btn {
  background: linear-gradient(135deg, #915675, #a36585);
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 30px;
  font-size: 12px !important;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(145, 86, 117, 0.25);
  transition: all 0.3s ease;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(145, 86, 117, 0.35);
  color: #fff !important;
}

/* Text Rotator Styles */
.rotating {
  display: inline-block;
  transform-style: preserve-3d;
  transform-origin: bottom center;
  transition: transform 0.5s ease-in-out;
  color: #915675;
  font-weight: 700;
}

.rotating.flip {
  position: relative;
}

.rotating .front,
.rotating .back {
  display: inline-block;
  backface-visibility: hidden;
}

.rotating .back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
}

.rotating.flip.up .back {
  transform: rotateX(180deg);
}

/* Hero enhancements */
.home {
  padding: 130px 0 100px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(180deg, rgba(247, 239, 241, 0.65) 0%, #ffffff 100%);
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid rgba(145, 86, 117, 0.2);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #0B2A36;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.25rem;
}

.hero-status-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: heroPulse 2s infinite;
}

@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.home .home-content .title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #0B2A36;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-subtitle-ai {
  background: #ffffff;
  border-left: 3px solid #915675;
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin: 1.5rem 0;
}

.home-subtitle-ai .ai-badge-sm {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #915675;
  background: rgba(145, 86, 117, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
  display: inline-block;
}

.home-hero-image-wrap {
  position: relative;
}

.home-hero-image-wrap .main-profile-img {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(11, 42, 54, 0.12);
  border: 4px solid #ffffff;
  object-fit: cover;
}

.hero-float-badge {
  position: absolute;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-badge.badge-left {
  bottom: 25px;
  left: -20px;
}

.hero-float-badge.badge-right {
  top: 30px;
  right: -20px;
  animation-delay: 2.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-float-badge .badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(145, 86, 117, 0.1);
  color: #915675;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero-float-badge .badge-text h6 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0B2A36;
}

.hero-float-badge .badge-text p {
  margin: 0;
  font-size: 0.75rem;
  color: #888;
  line-height: 1.2;
}

/* Service Boxes */
.service-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(145, 86, 117, 0.1);
  border-color: rgba(145, 86, 117, 0.2);
}

.service-box .service-image img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.service-box-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(145, 86, 117, 0.1);
  color: #915675;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-box:hover .service-box-icon {
  background: #915675;
  color: #ffffff;
  transform: scale(1.05);
}

/* Project Cards */
.portfolio-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(11, 42, 54, 0.1);
  border-color: rgba(145, 86, 117, 0.25);
}

.portfolio-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.06);
}

.portfolio-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 42, 54, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  color: #915675;
  margin-bottom: 8px;
}

.portfolio-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0B2A36;
}

.portfolio-card-title a {
  color: inherit;
}

.portfolio-card-title a:hover {
  color: #915675;
}

.portfolio-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.portfolio-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f4edf0;
  color: #763f5d;
  font-weight: 500;
}

/* Pricing Cards */
.pricing-box {
  background: #ffffff;
  border-radius: 14px;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
}

.pricing-box.featured {
  border: 2px solid #915675;
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(145, 86, 117, 0.15) !important;
}

.pricing-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.pricing-box.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-box .price-title {
  background: #915675 !important;
}

.pricing-box .price-title .tag {
  background: #915675 !important;
}

.pricing-currency-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: top;
  color: #915675;
  margin-right: 2px;
}

/* Ventures Bar (SwiftPOS, Payvo, Courses) */
.ventures-strip {
  background: #0B2A36;
  color: #ffffff;
  padding: 45px 0;
}

.venture-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.venture-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #C6959D;
  transform: translateY(-4px);
}

.venture-icon {
  font-size: 2rem;
  color: #C6959D;
  margin-bottom: 12px;
}

.venture-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.venture-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.venture-link {
  color: #C6959D;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.venture-link:hover {
  color: #ffffff;
}

/* Page Header for inner pages */
.page-banner {
  padding: 130px 0 60px;
  background: linear-gradient(180deg, #f7eff1 0%, #ffffff 100%);
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0B2A36;
  margin-bottom: 10px;
}

.page-banner p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #888;
  margin-top: 15px;
}

.page-breadcrumb a {
  color: #915675;
}

/* FAQ Accordion */
a.faq[data-bs-toggle=collapse]:before {
  background: #915675 !important;
}

.faq-collaps .card-body {
  border-left: 2px solid #915675 !important;
}

/* Tech Marquee */
.tech-marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0;
}

.tech-track {
  display: inline-flex;
  gap: 35px;
  animation: marqueeScroll 25s linear infinite;
}

.tech-track:hover {
  animation-play-state: paused;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  font-weight: 600;
  font-size: 0.95rem;
  color: #0B2A36;
}

.tech-pill i, .tech-pill img {
  color: #915675;
  font-size: 1.2rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Testimonial slider */
.testi-slider .swiper-slide {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}

.testi-slider .swiper-pagination-bullet-active {
  background: #915675 !important;
}

/* ===================================================
   SLIMA NATIVE FOOTER HOVER COLOR MAPPING
   =================================================== */
.footer .address-content a:hover,
.footer .social-icon a:hover,
.footer .social-icon i:hover,
.footer .menu .menu-item a:hover,
.footer .menu .info-item a:hover {
  color: #915675 !important;
}

/* ===================================================
   CONTACT FORM & INPUTS PRECISION STYLING
   =================================================== */
.contact-section {
  padding: 30px 0 70px !important;
}

.contact-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.contact-card .form-control,
.contact-card .form-select,
.form-control,
.form-select {
  display: block !important;
  width: 100% !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  border: 1px solid #ced4da !important;
  border-radius: 8px !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus,
.form-control:focus,
.form-select:focus {
  border-color: #915675 !important;
  box-shadow: 0 0 0 3px rgba(145, 86, 117, 0.18) !important;
  outline: 0 !important;
}

.contact-card .form-label,
.form-label {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}

.contact-card textarea.form-control,
textarea.form-control {
  display: block !important;
  width: 100% !important;
  min-height: 140px !important;
  resize: vertical !important;
}

/* Back to Top */
#back-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #915675;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(145, 86, 117, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s ease;
}

#back-top:hover {
  background: #763f5d;
  transform: translateY(-3px);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: #0B2A36;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  border-left: 4px solid #915675;
  z-index: 10000;
  font-size: 0.9rem;
  animation: slideInToast 0.4s ease;
}

@keyframes slideInToast {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* CKEditor Article Content */
.ckeditor-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3f3a64;
}

.ckeditor-content h2,
.ckeditor-content h3 {
  color: #0B2A36;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.ckeditor-content blockquote {
  border-left: 4px solid #915675;
  background: #f7eff1;
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  margin: 1.5rem 0;
}

.ckeditor-content pre {
  background: #0B2A36;
  color: #FAF7F2;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
}
