﻿/* ============================================================
   Minnesota Own Your Future
   minnesotaownyourfuture.com — Main Stylesheet
   Premium insurance UI inspired by modern corporate templates
   ============================================================ */

:root {
  --primary: #6A35FF;
  --primary-dark: #5520E8;
  --primary-light: #8B5CFF;
  --primary-soft: rgba(106, 53, 255, 0.08);
  --primary-soft-2: rgba(106, 53, 255, 0.14);
  --navy: #0A0D26;
  --navy-2: #12152F;
  --text: #2C2F3A;
  --text-muted: #6B7280;
  --heading: #0A0D26;
  --white: #FFFFFF;
  --gray-50: #F8F9FB;
  --gray-100: #F1F2F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --success: #16A34A;
  --danger: #DC2626;
  --warning: #F59E0B;
  --shadow-sm: 0 4px 16px rgba(10, 13, 38, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 13, 38, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 13, 38, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font: "Poppins", system-ui, sans-serif;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 70px 0;
}

.bg-soft {
  background: var(--gray-50);
}

.bg-navy {
  background: var(--navy);
}

.text-primary-brand {
  color: var(--primary) !important;
}

.subtitle {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: var(--radius);
  padding: 12px 28px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary,
.btn-brand {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-brand:hover,
.btn-brand:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(106, 53, 255, 0.35);
}

.btn-outline-brand {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

.btn-lg-custom {
  padding: 14px 36px;
  font-size: 15px;
  text-transform: uppercase;
}

.btn-sm-custom {
  padding: 8px 18px;
  font-size: 13px;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 10px 0;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

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

.top-bar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 6px;
}

.top-bar i {
  margin-right: 6px;
  color: var(--primary-light);
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10, 13, 38, 0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(10, 13, 38, 0.1);
}

.navbar {
  padding: 14px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.navbar-brand img.logo-img {
  height: 48px;
  width: auto;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar-brand .brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.navbar-brand .brand-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--primary);
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 8px 14px !important;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--primary);
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  min-width: 220px;
}

.dropdown-item {
  font-size: 14px;
  padding: 8px 18px;
  color: var(--text);
}

.dropdown-item:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  position: relative;
}

.header-search input {
  border: none;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 8px 40px 8px 16px;
  font-size: 13px;
  width: 160px;
  outline: none;
  transition: var(--transition);
}

.header-search input:focus {
  width: 200px;
  box-shadow: 0 0 0 3px var(--primary-soft-2);
}

.header-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
}

.cart-icon-wrap {
  position: relative;
  color: var(--navy);
  font-size: 18px;
  padding: 6px;
}

.cart-icon-wrap:hover {
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.navbar-toggler {
  border: none;
  padding: 4px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Page Hero / Breadcrumb ---------- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 13, 38, 0.75) 0%, rgba(10, 13, 38, 0.35) 70%, rgba(106, 53, 255, 0.25) 100%);
}

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

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-nav a {
  color: var(--primary-light);
}

.breadcrumb-nav a:hover {
  color: var(--white);
}

/* ---------- Home Hero ---------- */
.home-hero {
  position: relative;
  padding: 100px 0 140px;
  background: var(--white);
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(106, 53, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(106, 53, 255, 0.05) 0%, transparent 35%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236A35FF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

.home-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.home-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 20px;
}

.home-hero h1 span {
  color: var(--primary);
}

.home-hero .lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-rating .stars {
  color: #FBBF24;
}

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

.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-soft-2);
  z-index: 1;
}

.hero-shape-1 {
  width: 180px;
  height: 180px;
  top: -30px;
  right: -20px;
}

.hero-shape-2 {
  width: 100px;
  height: 100px;
  bottom: 40px;
  left: -30px;
  background: rgba(106, 53, 255, 0.12);
}

.hero-float-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: floatY 3s ease-in-out infinite;
}

.hero-float-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hero-float-card strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.hero-float-card span {
  font-size: 12px;
  color: var(--text-muted);
}

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

/* ---------- Feature Cards (overlap) ---------- */
.feature-overlap {
  margin-top: -70px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft-2);
}

.feature-card .icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .icon-box {
  background: var(--primary);
  color: var(--white);
}

.feature-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card .read-more {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-card .read-more i {
  transition: var(--transition);
}

.feature-card .read-more:hover i {
  transform: translateX(4px);
}

/* ---------- About Section ---------- */
.about-images {
  position: relative;
  padding-right: 30px;
}

.about-images .main-img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about-images .secondary-img {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  top: 30px;
  left: -10px;
  background: var(--primary);
  color: var(--white);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(106, 53, 255, 0.4);
  z-index: 2;
  animation: pulseSoft 2.5s ease-in-out infinite;
}

.about-badge strong {
  font-size: 28px;
  line-height: 1;
}

.about-badge span {
  font-size: 11px;
  line-height: 1.2;
  margin-top: 4px;
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}

.check-list li i {
  color: var(--primary);
  margin-top: 4px;
}

/* ---------- Stats ---------- */
.stats-section {
  position: relative;
  background: linear-gradient(135deg, #4B1FD6 0%, #6A35FF 45%, #2E1065 100%);
  padding: 80px 0;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.06) 0%, transparent 30%);
}

.stat-item {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.stat-item .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}

.stat-item .stat-number {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 15px;
  opacity: 0.9;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.service-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.service-card .service-icon {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
}

.service-card .card-body {
  padding: 40px 24px 28px;
}

.service-card .category {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.service-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card h4 a {
  color: var(--heading);
}

.service-card h4 a:hover {
  color: var(--primary);
}

.service-grid-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 0 0 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.service-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-grid-card .title-area {
  padding: 28px 20px 0;
}

.service-grid-card h3 {
  font-size: 22px;
  margin-bottom: 0;
}

.service-grid-card .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 20px auto;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.service-grid-card:hover .icon-circle {
  background: var(--primary);
}

.service-grid-card .img-wrap {
  height: 200px;
  overflow: hidden;
  margin-top: -35px;
}

.service-grid-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-grid-card:hover .img-wrap img {
  transform: scale(1.08);
}

.service-grid-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Product Cards ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card .badge-quote {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 2;
}

.product-card .img-wrap {
  height: 200px;
  overflow: hidden;
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .card-body {
  padding: 24px;
}

.product-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}

.product-card .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.product-card .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.product-card .reviews {
  font-size: 13px;
  color: var(--text-muted);
}

.product-card .reviews i {
  color: #FBBF24;
}

/* ---------- Why Choose ---------- */
.why-block {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.why-block .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.why-block h5 {
  font-size: 18px;
  margin-bottom: 6px;
}

.why-block p {
  margin-bottom: 0;
  font-size: 14px;
}

/* ---------- Process ---------- */
.process-item {
  text-align: center;
  position: relative;
  padding: 20px;
}

.process-item .process-num {
  position: absolute;
  top: 0;
  right: 20px;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-soft-2);
  line-height: 1;
  z-index: 0;
}

.process-item .process-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--white);
  border: 2px dashed var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-item:hover .process-icon {
  background: var(--primary);
  color: var(--white);
  border-style: solid;
}

.process-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ---------- FAQ Accordion ---------- */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 12px;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
  background: var(--white);
  box-shadow: none !important;
  padding: 18px 24px;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
  padding: 20px 24px;
  color: var(--text-muted);
  background: var(--white);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card .quote-icon {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.testimonial-card .stars {
  color: #FBBF24;
  margin-bottom: 12px;
  font-size: 14px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card .img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .img-wrap img {
  transform: scale(1.08);
}

.blog-card .category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.blog-card .card-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta i {
  color: var(--primary);
  margin-right: 4px;
}

.blog-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.blog-card h4 a {
  color: var(--heading);
}

.blog-card h4 a:hover {
  color: var(--primary);
}

/* ---------- CTA Banners ---------- */
.cta-banner {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin-bottom: 8px;
}

.cta-banner h2 span {
  color: var(--primary);
}

.cta-video {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.cta-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 38, 0.65);
}

.play-btn {
  position: relative;
  z-index: 1;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(106, 53, 255, 0.5);
  animation: playPulse 2s infinite;
}

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

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(106, 53, 255, 0.5); }
  70% { box-shadow: 0 0 0 25px rgba(106, 53, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 53, 255, 0); }
}

.cta-purple {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}

.cta-purple h2,
.cta-purple p {
  color: var(--white);
}

/* ---------- Partners ---------- */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: var(--transition);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
  color: var(--primary);
}

/* ---------- Contact ---------- */
.contact-info-block h5 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-info-block p {
  margin-bottom: 20px;
}

.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.form-control,
.form-select {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft-2);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger);
}

.invalid-feedback {
  font-size: 13px;
}

.form-alert {
  display: none;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.form-alert.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ---------- Cart ---------- */
.cart-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px;
  border: none;
}

.cart-table td {
  padding: 20px 16px;
  vertical-align: middle;
  border-color: var(--gray-200);
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-info img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-50);
  color: var(--navy);
  font-weight: 600;
}

.qty-control button:hover {
  background: var(--primary);
  color: var(--white);
}

.qty-control input {
  width: 48px;
  height: 36px;
  border: none;
  text-align: center;
  font-weight: 600;
  outline: none;
}

.cart-summary {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.cart-summary h4 {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  margin-top: 16px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty i {
  font-size: 64px;
  color: var(--gray-300);
  margin-bottom: 20px;
}

/* ---------- Sidebar ---------- */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
}

.sidebar-widget h5 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  border-bottom: 1px solid var(--gray-200);
}

.category-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
}

.category-list li a:hover {
  color: var(--primary);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.tag-cloud a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.recent-post {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.recent-post img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
}

.recent-post h6 {
  font-size: 14px;
  margin-bottom: 4px;
}

.recent-post h6 a {
  color: var(--heading);
}

.recent-post h6 a:hover {
  color: var(--primary);
}

.recent-post span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Detail Pages ---------- */
.detail-content h2,
.detail-content h3 {
  margin-top: 2rem;
}

.detail-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.detail-content ul li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.benefit-box {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
}

.benefit-box:hover {
  border-color: var(--primary-soft-2);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.benefit-box i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 14px;
}

.benefit-box h5 {
  font-size: 17px;
  margin-bottom: 8px;
}

.related-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.related-card:hover {
  box-shadow: var(--shadow-md);
}

.related-card img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.related-card .body {
  padding: 16px;
}

/* ---------- Legal Pages ---------- */
.legal-content h2 {
  font-size: 22px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  margin-bottom: 1.25rem;
}

/* ---------- Team ---------- */
.team-card {
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card .img-wrap {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .socials {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  padding: 12px;
  background: linear-gradient(transparent, rgba(10, 13, 38, 0.7));
}

.team-card:hover .socials {
  bottom: 0;
}

.team-card .socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card .info {
  padding: 20px;
}

.team-card .info h5 {
  margin-bottom: 4px;
}

.team-card .info span {
  color: var(--primary);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.site-footer h5 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
}

.site-footer h5::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin-top: 10px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 44px;
}

.footer-logo .brand-name {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}

.footer-logo .brand-tag {
  color: var(--primary-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  margin-right: 8px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.newsletter-form {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 14px 54px 14px 16px;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
}

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

.newsletter-form button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  background: var(--primary-light);
}

.newsletter-form .form-alert {
  margin-bottom: 12px;
  font-size: 13px;
}

.newsletter-form .invalid-feedback {
  color: #FCA5A5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding: 22px 0;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  margin-left: 16px;
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: 0 8px 20px rgba(106, 53, 255, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- Pagination ---------- */
.pagination .page-link {
  color: var(--navy);
  border-color: var(--gray-200);
  margin: 0 4px;
  border-radius: var(--radius) !important;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}

.pagination .page-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary-soft-2);
}

/* ---------- Utilities ---------- */
.min-vh-hero {
  min-height: 520px;
}

.img-rounded {
  border-radius: var(--radius-lg);
}

.shadow-soft {
  box-shadow: var(--shadow-md);
}

.overlay-dark {
  position: relative;
}

.overlay-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 38, 0.4);
  border-radius: inherit;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .header-search input {
    width: 120px;
  }

  .header-search input:focus {
    width: 150px;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .home-hero {
    padding: 60px 0 100px;
  }

  .feature-overlap {
    margin-top: -40px;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-top: 12px;
  }

  .header-actions {
    margin-top: 16px;
    flex-wrap: wrap;
  }

  .about-images {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .about-images .secondary-img {
    position: relative;
    bottom: auto;
    right: auto;
    width: 70%;
    margin-top: -60px;
    margin-left: auto;
  }

  .hero-float-card {
    left: 10px;
    bottom: 10px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom .text-end {
    text-align: center !important;
    margin-top: 10px;
  }

  .footer-bottom a {
    margin: 0 8px;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    text-align: center;
  }

  .top-bar .social-links {
    margin-top: 8px;
    justify-content: center !important;
  }

  .page-hero {
    min-height: 240px;
  }

  .contact-form-wrap {
    padding: 32px 20px;
  }

  .cart-item-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-item {
    margin-bottom: 30px;
  }

  .hero-image-wrap img {
    min-height: 300px;
  }

  .about-badge {
    width: 90px;
    height: 90px;
  }

  .about-badge strong {
    font-size: 22px;
  }
}

@media (max-width: 575.98px) {
  .btn-lg-custom {
    padding: 12px 22px;
    font-size: 13px;
  }

  .home-hero .lead {
    font-size: 15px;
  }

  .navbar-brand .brand-text {
    display: none;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
