/* ============================================================
   AI-Solutions — Brand Design System
   Colors: Ocean Blue #2E86DE · Sky Blue #89C2FF · Midnight #1B4F72
   Font: Poppins (sans-serif)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Design Tokens ────────────────────────────────────── */
:root {
  --primary:        #2E86DE;
  --primary-dark:   #1B4F72;
  --secondary:      #89C2FF;
  --dark:           #060f1c;
  --dark-card:      #0a1828;
  --dark-card-2:    #0e2038;
  --dark-border:    rgba(46, 134, 222, 0.15);
  --soft-gray:      #D6DBDF;
  --text-muted:     #8899AA;
  --gradient-1:     linear-gradient(135deg, #1B4F72 0%, #2E86DE 100%);
  --gradient-2:     linear-gradient(135deg, #2E86DE 0%, #89C2FF 100%);
  --gradient-hero:  linear-gradient(160deg, #050d18 0%, #0a1e38 50%, #050d18 100%);
  --shadow-glow:    0 0 40px rgba(46, 134, 222, 0.2);
  --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.35);
  --radius-lg:      16px;
  --radius-pill:    50px;
  --transition:     all 0.3s ease;
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark);
  color: #C8D8E8;
  line-height: 1.75;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff; }
a { text-decoration: none; transition: var(--transition); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::selection { background: var(--primary); color: #fff; }

/* ── Utilities ────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-dark-card { background: var(--dark-card) !important; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--gradient-1);
  border: none; color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(46,134,222,0.4);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(46,134,222,0.55);
  color: #fff;
}
.btn-outline-custom {
  background: transparent;
  border: 1px solid var(--dark-border);
  color: #fff; padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 500; font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-custom:hover {
  background: rgba(46,134,222,0.08);
  border-color: var(--primary); color: #fff;
  transform: translateY(-2px);
}

/* ── Section Shared ───────────────────────────────────────── */
section { padding: 100px 0; }

.section-badge {
  display: inline-block;
  background: rgba(46, 134, 222, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(46, 134, 222, 0.25);
  padding: 4px 14px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800; color: #fff;
  margin-bottom: 0.75rem; line-height: 1.25;
}
.section-subtitle {
  font-size: 0.95rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 3rem;
  line-height: 1.85;
}

/* ── Fade-up animation ────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.main-navbar {
  background: rgba(6, 15, 28, 0.96) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding: 0.85rem 0;
  transition: var(--transition);
}
.main-navbar.scrolled {
  padding: 0.55rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.main-navbar .nav-link {
  color: #8899AA !important; font-weight: 500;
  font-size: 0.88rem; padding: 0.45rem 0.9rem !important;
  border-radius: 8px; transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(46, 134, 222, 0.12);
}
.btn-nav-cta {
  background: var(--gradient-1);
  color: #fff !important; border: none;
  padding: 0.45rem 1.3rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600; font-size: 0.82rem;
  box-shadow: 0 4px 15px rgba(46,134,222,0.35);
  transition: var(--transition);
}
.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46,134,222,0.5);
  color: #fff !important;
}
.logo-dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--secondary); border-radius: 50%;
  margin-left: 3px; animation: pulse-dot 2s infinite;
  vertical-align: middle;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.5); }
}
.navbar-brand-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler { border-color: var(--dark-border); }

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,134,222,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,134,222,0.04) 1px, transparent 1px);
  background-size: 55px 55px;
  animation: grid-move 25s linear infinite;
}
@keyframes grid-move {
  0%   { transform: translateY(0); }
  100% { transform: translateY(55px); }
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.hero-orb-1 {
  width: 550px; height: 550px;
  background: rgba(46, 134, 222, 0.12);
  top: -120px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(27, 79, 114, 0.18);
  bottom: -60px; left: -80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46, 134, 222, 0.1);
  border: 1px solid rgba(46, 134, 222, 0.25);
  color: var(--secondary);
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-badge .badge-dot {
  width: 6px; height: 6px;
  background: var(--secondary); border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.15; color: #fff;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1rem; color: var(--text-muted);
  max-width: 500px; margin-bottom: 2.25rem; line-height: 1.85;
}
.hero-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
.ai-chat-bubble {
  background: rgba(46,134,222,0.1);
  border: 1px solid rgba(46,134,222,0.18);
  border-radius: 12px 12px 12px 0;
  padding: 0.7rem 1rem;
  font-size: 0.83rem; color: #b8cce0; margin-bottom: 0.7rem;
}
.ai-chat-bubble.user {
  background: rgba(137,194,255,0.08);
  border-color: rgba(137,194,255,0.18);
  border-radius: 12px 12px 0 12px;
  text-align: right; color: #a0c4e8;
}
.typing-dots span {
  display: inline-block; width: 6px; height: 6px;
  background: var(--primary); border-radius: 50%;
  margin: 0 2px; animation: typing 1.4s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%,80%,100% { transform:scale(0.8); opacity:0.5; }
  40%          { transform:scale(1.2); opacity:1; }
}
.stat-float-card {
  position: absolute; background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px; padding: 0.7rem 1.1rem;
  box-shadow: var(--shadow-card);
  font-size: 0.8rem; display: flex; align-items: center;
  gap: 10px; white-space: nowrap;
}
.stat-float-card-1 { top: 8%; left: -55px; animation: float 7s ease-in-out infinite; }
.stat-float-card-2 { bottom: 12%; right: -45px; animation: float 8s ease-in-out infinite reverse; }

/* ══════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 3rem 0;
}
.stat-item { text-align: center; padding: 1rem; }
.stat-item .stat-number {
  font-size: 2.4rem; font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; display: block; line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.82rem; color: var(--text-muted); margin-top: 6px;
}
.stat-divider {
  width: 1px; background: var(--dark-border);
  height: 55px; margin: auto;
}

/* ══════════════════════════════════════════════════════════
   SERVICE / PORTFOLIO CARDS
══════════════════════════════════════════════════════════ */
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem; height: 100%;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-1);
  transform: scaleX(0); transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(46,134,222,0.35);
  box-shadow: var(--shadow-card), 0 0 30px rgba(46,134,222,0.1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.1rem;
  background: rgba(46,134,222,0.1);
  border: 1px solid rgba(46,134,222,0.2);
}
.service-card h5 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: #fff;
}
.service-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.learn-more {
  font-size: 0.82rem; color: var(--primary); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.learn-more:hover { gap: 10px; color: var(--secondary); }

/* Portfolio card extended */
.portfolio-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden; height: 100%;
  transition: var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(46,134,222,0.12);
  border-color: rgba(46,134,222,0.3);
}
.portfolio-card-body { padding: 1.5rem; }
.portfolio-tag {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  background: rgba(46,134,222,0.12);
  color: var(--secondary); padding: 3px 10px;
  border-radius: 20px; display: inline-block; margin-bottom: 0.75rem;
}
.feature-list { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.83rem; color: var(--text-muted); margin-bottom: 0.4rem;
}
.feature-list li::before {
  content: '✓'; color: var(--primary);
  font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIAL CARDS
══════════════════════════════════════════════════════════ */
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem; height: 100%;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  border-color: rgba(46,134,222,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.testimonial-quote {
  font-size: 3rem; color: var(--primary); opacity: 0.4;
  line-height: 1; margin-bottom: 0.5rem;
}
.testimonial-card p {
  font-size: 0.88rem; color: var(--text-muted);
  line-height: 1.8; font-style: italic; margin-bottom: 1.25rem;
}
.testimonial-card .author-name { font-size: 0.9rem; font-weight: 700; color: #fff; }
.testimonial-card .author-meta { font-size: 0.78rem; color: var(--text-muted); }
.star-rating { color: #FBB040; font-size: 0.85rem; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(251,176,64,0.1); color: #FBB040;
  border: 1px solid rgba(251,176,64,0.2);
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   EVENTS TIMELINE
══════════════════════════════════════════════════════════ */
.timeline { position: relative; padding-left: 0; }
.timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--dark-border); transform: translateX(-50%);
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2.5rem; align-items: flex-start; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1; background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: var(--transition);
}
.timeline-content:hover { border-color: rgba(46,134,222,0.3); }
.timeline-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 3px var(--primary);
  flex-shrink: 0; margin-top: 1.2rem;
  position: relative; z-index: 1;
}
.timeline-dot.completed { background: #22c55e; box-shadow: 0 0 0 3px #22c55e; }
.timeline-placeholder { flex: 1; }
.timeline-date {
  font-size: 0.78rem; font-weight: 600;
  color: var(--secondary); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 0.5rem;
}
.timeline-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.timeline-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; margin: 0; }
.status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600; margin-bottom: 0.75rem;
}
.status-pill.completed { background: rgba(34,197,94,0.1); color: #22c55e; }
.status-pill.upcoming  { background: rgba(46,134,222,0.1); color: var(--secondary); }

/* ══════════════════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════════════════ */
.why-section { background: var(--dark-card); }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.feature-icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(46,134,222,0.1);
  border: 1px solid rgba(46,134,222,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.feature-item h6 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.feature-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact-info-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 2rem; height: 100%;
}
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(46,134,222,0.1);
  border: 1px solid rgba(46,134,222,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--secondary); font-size: 1.1rem;
}
.contact-info-item h6 { font-size: 0.85rem; font-weight: 600; color: #fff; margin-bottom: 0.25rem; }
.contact-info-item p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }
.contact-form-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.form-control, .form-select {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(46,134,222,0.15) !important;
  color: #c8d8e8 !important; border-radius: 10px !important;
  font-size: 0.88rem; padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
  background: rgba(46,134,222,0.06) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(46,134,222,0.15) !important; color: #fff !important;
}
.form-control::placeholder { color: #556677; }
.form-label { font-size: 0.85rem; font-weight: 500; color: #8899aa; margin-bottom: 0.4rem; }

/* ══════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--gradient-hero);
  text-align: center; padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(46,134,222,0.18) 0%, transparent 65%);
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════ */
.about-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px; position: relative; overflow: hidden;
}
.value-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); border-color: rgba(46,134,222,0.3); }
.value-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.25rem;
}

/* ══════════════════════════════════════════════════════════
   BLOG & GALLERY
══════════════════════════════════════════════════════════ */
.blog-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden; height: 100%; transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(46,134,222,0.3); }
.blog-card-img {
  height: 190px; object-fit: cover; width: 100%;
  background: linear-gradient(135deg, var(--dark-card-2), var(--dark-card));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 2.5rem;
}
.blog-card-body { padding: 1.5rem; }
.blog-category {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--secondary); margin-bottom: 0.5rem; display: block;
}
.blog-card h5 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
.blog-meta { font-size: 0.78rem; color: #556677; }

.gallery-item {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--dark-border); cursor: pointer;
  transition: var(--transition); position: relative;
}
.gallery-item:hover { transform: scale(1.02); border-color: var(--primary); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.gallery-placeholder {
  width: 100%; height: 200px;
  background: var(--dark-card);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 2rem;
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--gradient-hero);
  padding: 130px 0 60px; text-align: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--dark-border);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,134,222,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,134,222,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.breadcrumb-item a { color: var(--secondary); }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: #556677; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.main-footer {
  background: #03080f;
  border-top: 1px solid var(--dark-border); padding: 75px 0 0;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); max-width: 270px; margin-top: 1rem; }
.footer-heading {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.85rem; color: #667788;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 0.9rem; font-size: 0.85rem; color: var(--text-muted);
}
.footer-contact-item i { color: var(--primary); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.social-links { display: flex; gap: 8px; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.88rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary); border-color: var(--primary);
  color: #fff; transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 1.25rem 0; margin-top: 3rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* ══════════════════════════════════════════════════════════
   PANEL — Admin Sidebar Layout
══════════════════════════════════════════════════════════ */
.panel-wrapper { display: flex; min-height: 100vh; background: #040b16; }
.panel-sidebar {
  width: 260px; background: #06101e;
  border-right: 1px solid var(--dark-border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto; z-index: 100;
}
.panel-sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--dark-border);
}
.panel-nav { padding: 1rem 0; flex: 1; }
.panel-nav-section {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #445566;
  padding: 0.75rem 1.5rem 0.3rem; display: block;
}
.panel-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 0.6rem 1.5rem; color: #7a8fa8;
  font-size: 0.86rem; font-weight: 500;
  transition: var(--transition); border-left: 3px solid transparent;
}
.panel-nav-link:hover {
  color: #fff; background: rgba(46,134,222,0.06);
  border-left-color: var(--primary);
}
.panel-nav-link.active {
  color: var(--secondary); background: rgba(46,134,222,0.1);
  border-left-color: var(--primary);
}
.panel-nav-link i { font-size: 1rem; width: 20px; text-align: center; }
.panel-main {
  margin-left: 260px; flex: 1;
  display: flex; flex-direction: column;
}
.panel-topbar {
  background: #06101e; border-bottom: 1px solid var(--dark-border);
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 90;
  backdrop-filter: blur(8px);
}
.panel-topbar-date {
  font-size: .75rem; color: #445566;
  background: rgba(46,134,222,0.07);
  border: 1px solid rgba(46,134,222,0.12);
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: .3px;
}
.panel-content { padding: 2rem; flex: 1; }

/* Welcome banner */
.panel-welcome {
  background: linear-gradient(135deg, rgba(27,79,114,0.55) 0%, rgba(46,134,222,0.12) 100%);
  border: 1px solid rgba(46,134,222,0.18);
  border-radius: var(--radius-lg); padding: 1.25rem 1.6rem;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.panel-welcome-title {
  font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0 0 3px;
}
.panel-welcome-sub {
  font-size: .78rem; color: #6688aa; margin: 0;
}
.panel-welcome-badge {
  background: rgba(46,134,222,0.15);
  border: 1px solid rgba(46,134,222,0.25);
  border-radius: 10px; padding: 6px 14px;
  font-size: .73rem; color: #89C2FF;
  white-space: nowrap;
}

.panel-card {
  background: #0a1828;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color 0.2s ease;
}
.panel-card:hover { border-color: rgba(46,134,222,0.18); }

/* Live indicator dot */
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: live-pulse 2.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.stat-card {
  background: #0a1828;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; align-items: center; gap: 1.1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--stat-accent, var(--primary));
  opacity: 0; transition: opacity 0.2s ease;
}
.stat-card:hover {
  border-color: rgba(46,134,222,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.stat-card:hover::before { opacity: 1; }
.stat-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  transition: transform 0.2s ease;
}
.stat-card:hover .stat-card-icon { transform: scale(1.1); }
.stat-card-value {
  font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1;
}
.stat-card-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }

/* Recent message row hover */
.msg-row {
  display: block; padding: .75rem 0;
  border-bottom: 1px solid var(--dark-border);
  text-decoration: none;
  transition: padding-left 0.2s ease;
}
.msg-row:hover { padding-left: 6px; }

/* Panel table */
.panel-table {
  width: 100%; border-collapse: collapse;
}
.panel-table th {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--dark-border); white-space: nowrap;
}
.panel-table td {
  padding: 0.85rem 1rem; font-size: 0.86rem; color: #8899aa;
  border-bottom: 1px solid rgba(46,134,222,0.06); vertical-align: middle;
}
.panel-table tr:hover td { background: rgba(46,134,222,0.03); }
.panel-table td a { color: var(--secondary); }

/* Panel badges */
.badge-published  { background: rgba(34,197,94,0.12); color: #22c55e; padding: 3px 10px; border-radius: 20px; font-size: 0.73rem; font-weight: 600; }
.badge-draft      { background: rgba(251,191,36,0.1); color: #fbbf24; padding: 3px 10px; border-radius: 20px; font-size: 0.73rem; font-weight: 600; }
.badge-unread     { background: rgba(46,134,222,0.12); color: var(--secondary); padding: 3px 10px; border-radius: 20px; font-size: 0.73rem; font-weight: 600; }
.badge-read       { background: rgba(255,255,255,0.05); color: #556677; padding: 3px 10px; border-radius: 20px; font-size: 0.73rem; font-weight: 600; }
.badge-completed  { background: rgba(34,197,94,0.1); color: #22c55e; padding: 3px 10px; border-radius: 20px; font-size: 0.73rem; font-weight: 600; }
.badge-upcoming   { background: rgba(46,134,222,0.1); color: var(--secondary); padding: 3px 10px; border-radius: 20px; font-size: 0.73rem; font-weight: 600; }

/* Panel action buttons */
.btn-panel-sm {
  padding: 0.3rem 0.7rem; border-radius: 7px;
  font-size: 0.78rem; font-weight: 500; border: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.btn-panel-edit   { background: rgba(46,134,222,0.12); color: var(--secondary); }
.btn-panel-delete { background: rgba(239,68,68,0.1);  color: #ef4444; }
.btn-panel-view   { background: rgba(34,197,94,0.1); color: #22c55e; }
.btn-panel-edit:hover   { background: var(--primary); color: #fff; }
.btn-panel-delete:hover { background: #ef4444; color: #fff; }
.btn-panel-view:hover   { background: #22c55e; color: #fff; }

/* ══════════════════════════════════════════════════════════
   FLOATING ARIA CHAT WIDGET
══════════════════════════════════════════════════════════ */
.aria-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #1B4F72, #2E86DE);
  border: none; cursor: pointer; box-shadow: 0 6px 28px rgba(46,134,222,0.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: aria-pulse 2.8s ease-in-out infinite;
}
.aria-fab:hover { transform: scale(1.12); box-shadow: 0 10px 36px rgba(46,134,222,0.7); }
.aria-fab.open { animation: none; transform: scale(1.05); }
@keyframes aria-pulse {
  0%,100% { box-shadow: 0 6px 28px rgba(46,134,222,0.55); }
  50%      { box-shadow: 0 6px 42px rgba(46,134,222,0.85), 0 0 0 10px rgba(46,134,222,0.08); }
}

.aria-float-panel {
  position: fixed; bottom: 100px; right: 24px; z-index: 9998;
  width: 340px; border-radius: 20px;
  background: #0a1828; border: 1px solid rgba(46,134,222,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: none; flex-direction: column; overflow: hidden;
  animation: slideUp 0.28s ease;
}
.aria-float-panel.open { display: flex; }
@keyframes slideUp {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}

.aria-panel-header {
  padding: 14px 18px; border-bottom: 1px solid rgba(46,134,222,0.15);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, rgba(27,79,114,0.6), rgba(46,134,222,0.15));
}
.aria-panel-header .aria-close {
  background: none; border: none; color: #8899aa; font-size: 1.1rem;
  cursor: pointer; padding: 4px; border-radius: 6px; transition: var(--transition);
}
.aria-panel-header .aria-close:hover { color: #fff; background: rgba(255,255,255,0.06); }

.aria-panel-messages {
  flex: 1; padding: 14px; overflow-y: auto; min-height: 220px; max-height: 300px;
  display: flex; flex-direction: column; gap: 10px;
}
.aria-panel-messages::-webkit-scrollbar { width: 3px; }
.aria-panel-messages::-webkit-scrollbar-thumb { background: rgba(46,134,222,0.3); border-radius: 3px; }

.aria-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .83rem; line-height: 1.6; }
.aria-msg.bot { background: rgba(46,134,222,0.12); border: 1px solid rgba(46,134,222,0.2); color: #c0d0e0; align-self: flex-start; border-bottom-left-radius: 4px; }
.aria-msg.user { background: linear-gradient(135deg,#1B4F72,#2E86DE); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.aria-msg.typing { color: var(--text-muted); font-style: italic; font-size:.78rem; }

.aria-panel-input {
  padding: 12px 14px; border-top: 1px solid rgba(46,134,222,0.12);
  display: flex; gap: 8px; background: rgba(6,15,28,0.5);
}
.aria-panel-input input {
  flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(46,134,222,0.2);
  border-radius: 10px; color: #fff; padding: 8px 12px; font-size: .83rem;
  font-family: 'Poppins', sans-serif; outline: none;
  transition: border-color 0.2s;
}
.aria-panel-input input:focus { border-color: rgba(46,134,222,0.5); }
.aria-panel-input input::placeholder { color: #556677; }
.aria-panel-input button {
  background: linear-gradient(135deg,#1B4F72,#2E86DE); border: none;
  border-radius: 10px; width: 38px; height: 38px; display: flex;
  align-items: center; justify-content: center; color: #fff;
  cursor: pointer; flex-shrink: 0; transition: var(--transition);
}
.aria-panel-input button:hover { transform: scale(1.08); }

/* ══════════════════════════════════════════════════════════
   IMPROVED BLOG CARDS — category gradients
══════════════════════════════════════════════════════════ */
.blog-card-img-wrap {
  height: 190px; overflow: hidden; position: relative;
}
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.05); }
.blog-card-banner {
  height: 190px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.blog-card-banner .banner-label {
  font-size: 2rem; font-weight: 800; color: rgba(255,255,255,0.18);
  text-transform: uppercase; letter-spacing: 4px;
}
.blog-card-banner .banner-icon {
  font-size: 2.5rem; color: rgba(255,255,255,0.7);
}
.blog-card-banner::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px; background: linear-gradient(to top, var(--dark-card), transparent);
}
.cat-ai     { background: linear-gradient(135deg,#0d2137,#1B4F72); }
.cat-case   { background: linear-gradient(135deg,#0d2137,#065f46); }
.cat-biz    { background: linear-gradient(135deg,#1c1010,#7c2d12); }
.cat-ethics { background: linear-gradient(135deg,#1a0b2e,#581c87); }
.cat-tech   { background: linear-gradient(135deg,#0c1445,#1e3a8a); }
.cat-news   { background: linear-gradient(135deg,#0f172a,#334155); }
.cat-sec    { background: linear-gradient(135deg,#1a0505,#7f1d1d); }
.cat-default{ background: linear-gradient(135deg,#0a1828,#1B4F72); }

/* Reading time badge */
.read-time {
  font-size:.7rem; color:var(--text-muted); display:flex; align-items:center; gap:4px;
}

/* ══════════════════════════════════════════════════════════
   HUMAN TOUCH — testimonial star display
══════════════════════════════════════════════════════════ */
.star-row { display:flex; gap:2px; margin-bottom:.5rem; }
.star-row i { color: #FBB040; font-size:.8rem; }
.star-row i.empty { color: rgba(251,176,64,0.25); }

/* Avatar ring */
.avatar-ring {
  width:44px; height:44px; border-radius:50%;
  background:var(--gradient-1);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-size:1rem; flex-shrink:0;
  border: 2px solid rgba(137,194,255,0.3);
  box-shadow: 0 0 0 4px rgba(46,134,222,0.1);
}

/* ══════════════════════════════════════════════════════════
   PANEL THEME CUSTOMIZER
══════════════════════════════════════════════════════════ */

/* ── Accent colour overrides ─ */
body[data-accent="green"]  { --primary:#22c55e; --primary-dark:#166534; --secondary:#86efac; --gradient-1:linear-gradient(135deg,#166534,#22c55e); --gradient-2:linear-gradient(135deg,#22c55e,#86efac); }
body[data-accent="red"]    { --primary:#ef4444; --primary-dark:#991b1b; --secondary:#fca5a5; --gradient-1:linear-gradient(135deg,#991b1b,#ef4444); --gradient-2:linear-gradient(135deg,#ef4444,#fca5a5); }
body[data-accent="purple"] { --primary:#a855f7; --primary-dark:#6b21a8; --secondary:#d8b4fe; --gradient-1:linear-gradient(135deg,#6b21a8,#a855f7); --gradient-2:linear-gradient(135deg,#a855f7,#d8b4fe); }
body[data-accent="dark"]   { --primary:#475569; --primary-dark:#1e293b; --secondary:#94a3b8; --gradient-1:linear-gradient(135deg,#1e293b,#475569); --gradient-2:linear-gradient(135deg,#475569,#94a3b8); }
body[data-accent="orange"] { --primary:#f97316; --primary-dark:#9a3412; --secondary:#fed7aa; --gradient-1:linear-gradient(135deg,#9a3412,#f97316); --gradient-2:linear-gradient(135deg,#f97316,#fed7aa); }
body[data-accent="glass"]  { --primary:#22d3ee; --primary-dark:#0e7490; --secondary:#a5f3fc; --gradient-1:linear-gradient(135deg,#0e7490,#22d3ee); --gradient-2:linear-gradient(135deg,#22d3ee,#a5f3fc); }
body[data-accent="minimal"]{ --primary:#64748b; --primary-dark:#334155; --secondary:#cbd5e1; --gradient-1:linear-gradient(135deg,#334155,#64748b); --gradient-2:linear-gradient(135deg,#64748b,#cbd5e1); }

/* ── Light mode ─ */
body[data-theme="light"] { background-color:#f0f4f8; color:#334155; }
body[data-theme="light"] .panel-wrapper { background:#e8eef4; }
body[data-theme="light"] .panel-sidebar { background:#ffffff; border-right-color:rgba(46,134,222,.15); }
body[data-theme="light"] .panel-nav-link { color:#64748b; }
body[data-theme="light"] .panel-nav-link:hover { color:#1e293b; background:rgba(46,134,222,.07); }
body[data-theme="light"] .panel-nav-link.active { color:var(--primary); background:rgba(46,134,222,.1); }
body[data-theme="light"] .panel-nav-section { color:#94a3b8; }
body[data-theme="light"] .panel-sidebar-header div { color:#94a3b8; }
body[data-theme="light"] .panel-topbar { background:#ffffff; border-bottom-color:rgba(46,134,222,.15); }
body[data-theme="light"] .panel-topbar h6 { color:#1e293b; }
body[data-theme="light"] .panel-card { background:#ffffff; border-color:rgba(46,134,222,.15); }
body[data-theme="light"] .stat-card { background:#ffffff; border-color:rgba(46,134,222,.15); }
body[data-theme="light"] .stat-card-value { color:#1e293b; }
body[data-theme="light"] h1,body[data-theme="light"] h2,body[data-theme="light"] h3,
body[data-theme="light"] h4,body[data-theme="light"] h5,body[data-theme="light"] h6 { color:#1e293b; }
body[data-theme="light"] .panel-table th { color:#64748b; border-bottom-color:rgba(46,134,222,.15); }
body[data-theme="light"] .panel-table td { color:#475569; border-bottom-color:rgba(46,134,222,.08); }
body[data-theme="light"] .panel-table tr:hover td { background:rgba(46,134,222,.04); }
body[data-theme="light"] .tc-panel { background:#ffffff; border-color:rgba(46,134,222,.2); }
body[data-theme="light"] .tc-section-label { color:#94a3b8; }
body[data-theme="light"] .tc-option-btn { background:#f1f5f9; color:#475569; border-color:#e2e8f0; }
body[data-theme="light"] .tc-option-btn.active { color:var(--primary); border-color:var(--primary); background:rgba(46,134,222,.07); }
body[data-theme="light"] .tc-toggle-row { border-top-color:rgba(0,0,0,.06); }
body[data-theme="light"] .tc-toggle-row span { color:#334155; }
body[data-theme="light"] .tc-reset-btn { background:#f1f5f9; border-color:#e2e8f0; color:#64748b; }
body[data-theme="light"] .tc-reset-btn:hover { background:rgba(239,68,68,.08); border-color:rgba(239,68,68,.3); color:#ef4444; }
body[data-theme="light"] .tc-swatch span { color:#64748b; }
body[data-theme="light"] .panel-card h6 { color:#1e293b; }
body[data-theme="light"] .badge-draft,body[data-theme="light"] .badge-published,
body[data-theme="light"] .badge-unread,body[data-theme="light"] .badge-read { opacity:.85; }
body[data-theme="light"] .alert { background:rgba(46,134,222,.06) !important; }

/* Panel alert variants */
.panel-alert { border-radius: 10px; }
.panel-alert-error   { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #ef4444; }
.panel-alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); color: #22c55e; }

/* ── Shape: square ─ */
body[data-shape="square"] { --radius-lg:6px; --radius-pill:6px; }
body[data-shape="square"] .panel-card,
body[data-shape="square"] .stat-card { border-radius:6px !important; }

/* ── Density: compact ─ */
body[data-density="compact"] .panel-content { padding:1rem; }
body[data-density="compact"] .panel-card { padding:1rem 1.1rem; }
body[data-density="compact"] .stat-card { padding:1rem; }
body[data-density="compact"] .stat-card-value { font-size:1.5rem; }
body[data-density="compact"] .panel-table th,
body[data-density="compact"] .panel-table td { padding:.5rem .75rem; }
body[data-density="compact"] .panel-topbar { padding:.7rem 1.5rem; }

/* ── Sidebar: collapsed ─ */
.panel-wrapper[data-sidebar="collapsed"] .panel-sidebar { width:68px; }
.panel-wrapper[data-sidebar="collapsed"] .panel-main { margin-left:68px; }
.panel-wrapper[data-sidebar="collapsed"] .panel-sidebar-header { padding:1rem .5rem; text-align:center; }
.panel-wrapper[data-sidebar="collapsed"] .panel-sidebar-header a img { max-width:34px; }
.panel-wrapper[data-sidebar="collapsed"] .panel-sidebar-header div { display:none; }
.panel-wrapper[data-sidebar="collapsed"] .panel-nav-section { visibility:hidden; height:16px; padding:0; }
.panel-wrapper[data-sidebar="collapsed"] .panel-nav-link { justify-content:center; padding:.65rem 0; font-size:0; }
.panel-wrapper[data-sidebar="collapsed"] .panel-nav-link i { font-size:1.1rem; width:auto; }
.panel-wrapper[data-sidebar="collapsed"] .panel-nav-link > span { display:none !important; }

/* ── Animations off ─ */
body[data-animations="off"] *,
body[data-animations="off"] *::before,
body[data-animations="off"] *::after {
  animation-duration:.01ms !important;
  transition-duration:.01ms !important;
}

/* ── Trigger button in topbar ─ */
.tc-trigger-btn {
  width:36px; height:36px; border-radius:10px;
  background:rgba(46,134,222,.1); border:1px solid rgba(46,134,222,.2);
  color:var(--secondary); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; transition:var(--transition);
}
.tc-trigger-btn:hover { background:rgba(46,134,222,.22); color:#fff; }

/* ── Overlay ─ */
.tc-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:10000;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.tc-overlay.open { opacity:1; pointer-events:all; }

/* ── Slide-in panel ─ */
.tc-panel {
  position:fixed; top:0; right:-380px; bottom:0; width:340px; z-index:10001;
  background:#0a1828; border-left:1px solid rgba(46,134,222,.2);
  box-shadow:-20px 0 60px rgba(0,0,0,.55);
  display:flex; flex-direction:column;
  transition:right .3s cubic-bezier(.4,0,.2,1);
  overflow-y:auto;
}
.tc-panel.open { right:0; }

.tc-panel-head {
  padding:1.4rem 1.5rem 1rem; border-bottom:1px solid rgba(46,134,222,.12);
  display:flex; align-items:flex-start; justify-content:space-between;
  flex-shrink:0;
}
.tc-panel-head h5 { font-size:1rem; font-weight:700; color:#fff; margin:0 0 2px; }
.tc-panel-head p { font-size:.75rem; color:var(--text-muted); margin:0; }
.tc-close-btn {
  width:30px; height:30px; border-radius:8px;
  background:transparent; border:none; color:var(--text-muted);
  cursor:pointer; font-size:1rem;
  display:flex; align-items:center; justify-content:center;
  transition:var(--transition); flex-shrink:0;
}
.tc-close-btn:hover { background:rgba(255,255,255,.06); color:#fff; }

.tc-body { padding:1.25rem 1.5rem; flex:1; }
.tc-section-label {
  font-size:.64rem; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; color:#445566;
  margin-bottom:.75rem; display:block;
}

/* ── Colour swatches ─ */
.tc-color-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:1.5rem; }
.tc-swatch { display:flex; flex-direction:column; align-items:center; gap:5px; cursor:pointer; }
.tc-swatch-dot {
  width:44px; height:44px; border-radius:50%;
  border:3px solid transparent;
  transition:border-color .2s ease, transform .2s ease;
}
.tc-swatch:hover .tc-swatch-dot { transform:scale(1.1); }
.tc-swatch.active .tc-swatch-dot { border-color:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.15); }
.tc-swatch span { font-size:.66rem; color:#8899aa; }

/* ── Option button groups ─ */
.tc-option-group { display:flex; gap:8px; margin-bottom:1.5rem; flex-wrap:wrap; }
.tc-option-btn {
  flex:1; min-width:0; padding:.55rem .4rem;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  color:#8899aa; border-radius:10px; cursor:pointer;
  font-size:.78rem; font-weight:500;
  display:flex; flex-direction:column; align-items:center; gap:4px;
  transition:var(--transition);
}
.tc-option-btn i { font-size:1.05rem; }
.tc-option-btn:hover { border-color:rgba(46,134,222,.3); color:#c8d8e8; }
.tc-option-btn.active { background:rgba(46,134,222,.1); border-color:var(--primary); color:var(--secondary); }

/* ── Toggle row ─ */
.tc-toggle-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:.7rem 0; border-top:1px solid rgba(255,255,255,.05);
}
.tc-toggle-row span { font-size:.84rem; color:#c8d8e8; font-weight:500; }
.tc-toggle { position:relative; display:inline-block; width:44px; height:24px; }
.tc-toggle input { opacity:0; width:0; height:0; }
.tc-slider {
  position:absolute; inset:0; border-radius:24px;
  background:rgba(255,255,255,.1); cursor:pointer; transition:.3s;
}
.tc-slider::before {
  content:''; position:absolute;
  width:18px; height:18px; border-radius:50%;
  background:#8899aa; left:3px; top:3px; transition:.3s;
}
.tc-toggle input:checked + .tc-slider { background:var(--primary); }
.tc-toggle input:checked + .tc-slider::before { transform:translateX(20px); background:#fff; }

/* ── Reset button ─ */
.tc-reset-btn {
  width:100%; padding:.7rem; margin-top:1rem;
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  color:#8899aa; border-radius:10px; cursor:pointer;
  font-size:.82rem; font-weight:500;
  display:flex; align-items:center; justify-content:center; gap:6px;
  transition:var(--transition);
}
.tc-reset-btn:hover { background:rgba(239,68,68,.1); border-color:rgba(239,68,68,.3); color:#ef4444; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-section { padding: 100px 0 60px; min-height: auto; }
  .stat-float-card-1,.stat-float-card-2 { display: none; }
  section { padding: 70px 0; }
  .timeline::before { left: 20px; }
  .timeline-item,.timeline-item:nth-child(even) { flex-direction: column; padding-left: 50px; }
  .timeline-dot { position: absolute; left: 14px; }
  .timeline-item { position: relative; }
  .timeline-placeholder { display: none; }
  .panel-sidebar { width: 220px; }
  .panel-main { margin-left: 220px; }
}
@media (max-width: 767.98px) {
  .stat-divider { display: none; }
  .hero-title { font-size: 2rem; }
  .panel-sidebar { display: none; }
  .panel-main { margin-left: 0; }
}
