/* ═══════════════════════════════════════════════════════════════════════
   IT LIVE DESIGN ENGINE v3.0 — COMPONENTS LIBRARY
   ═══════════════════════════════════════════════════════════════════════
   Vervangt: Elementor Pro, JetTabs, JetEngine, Unlimited Elements
   Bevat: Tabs, Accordions, Toggles, Image Accordions, Pricing Tables,
          Testimonial Sliders, Counters, Progress Bars, Timelines,
          Team Cards, Portfolio Grid, Mega Menu, Modals, Tooltips,
          Comparison Tables, Feature Lists, CTAs, Hero variants,
          Navbar variants, Footer layouts
   ═══════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   C1. TABS (Horizontal + Vertical + Nested)
   JetTabs replacement
   ══════════════════════════════════════ */
.e-tabs { display:flex; flex-direction:column; }
.e-tabs-nav {
  display:flex; gap:0; border-bottom:2px solid var(--e-border);
  overflow-x:auto; -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.e-tabs-nav::-webkit-scrollbar { display:none; }
.e-tabs-nav button {
  all:unset; cursor:pointer;
  padding:12px 24px; font-weight:700; font-size:14px;
  color:var(--e-muted); white-space:nowrap;
  border-bottom:3px solid transparent;
  transition:all var(--e-speed);
  position:relative;
}
.e-tabs-nav button.active {
  color:var(--e-accent); border-bottom-color:var(--e-accent);
}
.e-tabs-nav button:hover { color:var(--e-text); }
.e-tabs-nav button .e-tab-badge {
  position:absolute; top:4px; right:4px;
  background:var(--e-accent); color:var(--e-text-on-accent, #fff);
  font-size:9px; font-weight:800; padding:2px 6px;
  border-radius:999px; line-height:1;
}
.e-tabs-nav button .e-tab-icon { margin-right:8px; }
.e-tabs-content { padding:20px 0; }
.e-tab-pane { display:none; animation:e-tabFadeIn .3s ease; }
.e-tab-pane.active { display:block; }
@keyframes e-tabFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* Vertical tabs */
.e-tabs-vertical { flex-direction:row; }
.e-tabs-vertical .e-tabs-nav {
  flex-direction:column; border-bottom:none;
  border-right:2px solid var(--e-border); min-width:200px;
}
.e-tabs-vertical .e-tabs-nav button {
  border-bottom:none; border-right:3px solid transparent;
  text-align:left; padding:14px 20px;
}
.e-tabs-vertical .e-tabs-nav button.active { border-right-color:var(--e-accent); }
.e-tabs-vertical .e-tabs-content { padding:0 0 0 24px; flex:1; }

/* Pill tabs */
.e-tabs-pills .e-tabs-nav { gap:8px; border-bottom:none; }
.e-tabs-pills .e-tabs-nav button {
  background:var(--e-surface2); border-radius:999px; border:none;
  padding:10px 20px;
}
.e-tabs-pills .e-tabs-nav button.active {
  background:var(--e-accent); color:var(--e-text-on-accent, #fff);
}

/* ══════════════════════════════════════
   C2. ACCORDION (Classic + Image)
   ══════════════════════════════════════ */
.e-accordion { display:flex; flex-direction:column; gap:8px; }
.e-accordion-item {
  border:1px solid var(--e-border); border-radius:var(--e-radius);
  overflow:hidden; background:var(--e-surface);
  transition:border-color var(--e-speed);
}
.e-accordion-item.active { border-color:rgba(var(--e-accent-rgb),.3); }
.e-accordion-header {
  all:unset; cursor:pointer; display:flex; width:100%;
  align-items:center; justify-content:space-between;
  padding:16px 20px; font-weight:700; font-size:15px;
  color:var(--e-text); transition:all var(--e-speed);
}
.e-accordion-header:hover { color:var(--e-accent); }
.e-accordion-header .e-acc-icon {
  width:24px; height:24px; display:flex; align-items:center; justify-content:center;
  transition:transform var(--e-speed);
}
.e-accordion-item.active .e-acc-icon { transform:rotate(180deg); }
.e-accordion-body {
  max-height:0; overflow:hidden; transition:max-height .4s var(--e-ease);
}
.e-accordion-item.active .e-accordion-body { max-height:2000px; }
.e-accordion-body-inner {
  padding:0 20px 20px; color:var(--e-muted); font-size:14px; line-height:1.7;
}

/* Image accordion (Crocoblock style) */
.e-img-accordion {
  display:flex; height:400px; gap:6px; border-radius:var(--e-radius-lg); overflow:hidden;
}
.e-img-accordion-item {
  flex:1; position:relative; overflow:hidden; cursor:pointer;
  transition:flex .5s var(--e-ease); min-width:60px;
}
.e-img-accordion-item img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s var(--e-ease);
}
.e-img-accordion-item:hover, .e-img-accordion-item.active { flex:4; }
.e-img-accordion-item:hover img { transform:scale(1.05); }
.e-img-accordion-caption {
  position:absolute; bottom:0; left:0; right:0;
  padding:20px; color:#fff; font-weight:800;
  background:linear-gradient(transparent, rgba(0,0,0,.7));
  transform:translateY(100%); transition:transform .4s var(--e-ease);
}
.e-img-accordion-item:hover .e-img-accordion-caption,
.e-img-accordion-item.active .e-img-accordion-caption { transform:translateY(0); }

/* ══════════════════════════════════════
   C3. TOGGLE (Switch / Pricing)
   ══════════════════════════════════════ */
.e-toggle-wrap { display:flex; align-items:center; justify-content:center; gap:12px; }
.e-toggle-label { font-weight:700; font-size:14px; color:var(--e-muted); transition:color var(--e-speed); }
.e-toggle-label.active { color:var(--e-text); }
.e-toggle {
  width:56px; height:30px; border-radius:999px;
  background:var(--e-border); cursor:pointer; position:relative;
  transition:background var(--e-speed);
}
.e-toggle.active { background:var(--e-accent); }
.e-toggle::after {
  content:''; position:absolute; width:24px; height:24px;
  border-radius:50%; background:#fff; top:3px; left:3px;
  box-shadow:var(--e-shadow); transition:left var(--e-speed) var(--e-ease);
}
.e-toggle.active::after { left:29px; }

/* ══════════════════════════════════════
   C4. PRICING TABLE
   ══════════════════════════════════════ */
.e-pricing { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:24px; }
.e-pricing-card {
  background:var(--e-surface); border:1px solid var(--e-border);
  border-radius:var(--e-radius-lg); padding:32px; text-align:center;
  transition:all var(--e-speed) var(--e-ease); position:relative;
  overflow:hidden;
}
.e-pricing-card:hover { transform:translateY(-8px); box-shadow:var(--e-shadow-xl); }
.e-pricing-card.featured {
  border-color:var(--e-accent);
  box-shadow:0 0 0 1px var(--e-accent), var(--e-shadow-lg);
}
.e-pricing-card.featured::before {
  content:'Populair'; position:absolute; top:16px; right:-28px;
  background:var(--e-accent); color:var(--e-text-on-accent, #fff); padding:4px 40px;
  font-size:11px; font-weight:800; transform:rotate(45deg);
  text-transform:uppercase;
}
.e-pricing-name { font-weight:800; font-size:18px; color:var(--e-text); }
.e-pricing-price { font-size:48px; font-weight:900; color:var(--e-text); margin:16px 0; letter-spacing:-.03em; }
.e-pricing-price span { font-size:16px; font-weight:600; color:var(--e-muted); }
.e-pricing-features { list-style:none; padding:0; margin:24px 0; text-align:left; }
.e-pricing-features li {
  padding:8px 0; border-bottom:1px solid var(--e-border);
  font-size:14px; color:var(--e-muted); display:flex; align-items:center; gap:10px;
}
.e-pricing-features li i { color:var(--e-accent); font-size:12px; }
.e-pricing-features li.disabled { opacity:.4; text-decoration:line-through; }

/* ══════════════════════════════════════
   C5. TESTIMONIAL / REVIEW SLIDER
   ══════════════════════════════════════ */
.e-testimonials { position:relative; overflow:hidden; }
.e-testimonials-track {
  display:flex; transition:transform .5s var(--e-ease);
}
.e-testimonial-slide {
  min-width:100%; padding:0 20px; box-sizing:border-box;
}
.e-testimonial-card {
  background:var(--e-surface); border:1px solid var(--e-border);
  border-radius:var(--e-radius-lg); padding:32px;
  text-align:center;
}
.e-testimonial-quote {
  font-size:15px; color:var(--e-muted); line-height:1.8;
  font-style:italic; margin:16px 0;
}
.e-testimonial-avatar {
  width:56px; height:56px; border-radius:50%; margin:0 auto 8px;
  object-fit:cover; border:3px solid var(--e-accent-light);
}
.e-testimonial-name { font-weight:800; font-size:14px; }
.e-testimonial-role { font-size:12px; color:var(--e-muted); }
.e-testimonials-dots {
  display:flex; justify-content:center; gap:8px; margin-top:20px;
}
.e-testimonials-dots button {
  all:unset; width:10px; height:10px; border-radius:50%;
  background:var(--e-border); cursor:pointer; transition:all var(--e-speed);
}
.e-testimonials-dots button.active { background:var(--e-accent); transform:scale(1.3); }

/* ══════════════════════════════════════
   C6. PROGRESS BARS
   ══════════════════════════════════════ */
.e-progress { margin-bottom:16px; }
.e-progress-label { display:flex; justify-content:space-between; font-size:13px; font-weight:700; margin-bottom:6px; }
.e-progress-track {
  height:8px; background:var(--e-surface2); border-radius:999px; overflow:hidden;
}
.e-progress-fill {
  height:100%; border-radius:999px; width:0%;
  background:linear-gradient(90deg, var(--e-accent), var(--e-accent-dark));
  transition:width 1.5s var(--e-ease);
}
.e-progress-fill.animated { /* set via JS */ }

/* Circular progress */
.e-progress-circle {
  width:100px; height:100px; position:relative;
}
.e-progress-circle svg { transform:rotate(-90deg); }
.e-progress-circle-bg { fill:none; stroke:var(--e-surface2); stroke-width:8; }
.e-progress-circle-fill {
  fill:none; stroke:var(--e-accent); stroke-width:8;
  stroke-linecap:round; stroke-dasharray:283;
  stroke-dashoffset:283; transition:stroke-dashoffset 1.5s var(--e-ease);
}
.e-progress-circle-value {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-weight:900; font-size:22px; color:var(--e-text);
}

/* ══════════════════════════════════════
   C7. TIMELINE (Vertical)
   ══════════════════════════════════════ */
.e-timeline { position:relative; padding-left:40px; }
.e-timeline::before {
  content:''; position:absolute; left:15px; top:0; bottom:0; width:2px;
  background:linear-gradient(180deg, var(--e-accent), var(--e-border));
}
.e-timeline-item { position:relative; margin-bottom:32px; }
.e-timeline-dot {
  position:absolute; left:-33px; top:4px;
  width:18px; height:18px; border-radius:50%;
  background:var(--e-accent); border:3px solid var(--e-surface);
  box-shadow:0 0 0 3px rgba(var(--e-accent-rgb),.2);
}
.e-timeline-date { font-size:12px; font-weight:700; color:var(--e-accent); text-transform:uppercase; letter-spacing:.05em; }
.e-timeline-title { font-weight:800; font-size:16px; margin:4px 0; }
.e-timeline-desc { font-size:14px; color:var(--e-muted); line-height:1.6; }

/* ══════════════════════════════════════
   C8. TEAM / PERSON CARDS
   ══════════════════════════════════════ */
.e-team-card {
  text-align:center; background:var(--e-surface);
  border:1px solid var(--e-border); border-radius:var(--e-radius-lg);
  padding:32px 24px; transition:all var(--e-speed) var(--e-ease);
  overflow:hidden;
}
.e-team-card:hover { transform:translateY(-6px); box-shadow:var(--e-shadow-xl); }
.e-team-photo {
  width:100px; height:100px; border-radius:50%; margin:0 auto 16px;
  object-fit:cover; border:4px solid var(--e-accent-light);
  transition:transform var(--e-speed);
}
.e-team-card:hover .e-team-photo { transform:scale(1.08); }
.e-team-name { font-weight:900; font-size:16px; }
.e-team-role { font-size:13px; color:var(--e-muted); margin:4px 0 12px; }
.e-team-socials { display:flex; justify-content:center; gap:12px; }
.e-team-socials a {
  width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--e-surface2); color:var(--e-muted); transition:all var(--e-speed);
}
.e-team-socials a:hover { background:var(--e-accent); color:var(--e-text-on-accent, #fff); }

/* ══════════════════════════════════════
   C9. PORTFOLIO / MASONRY GRID
   ══════════════════════════════════════ */
.e-portfolio-filters {
  display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; justify-content:center;
}
.e-portfolio-filters button {
  all:unset; cursor:pointer; padding:8px 20px;
  border-radius:999px; font-weight:700; font-size:13px;
  background:var(--e-surface2); color:var(--e-muted);
  transition:all var(--e-speed);
}
.e-portfolio-filters button.active { background:var(--e-accent); color:var(--e-text-on-accent, #fff); }
.e-portfolio-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:16px;
}
.e-portfolio-item {
  border-radius:var(--e-radius); overflow:hidden;
  position:relative; cursor:pointer;
}
.e-portfolio-item img { width:100%; height:250px; object-fit:cover; transition:transform .5s var(--e-ease); }
.e-portfolio-item:hover img { transform:scale(1.08); }
.e-portfolio-overlay {
  position:absolute; inset:0; background:rgba(15,23,42,.7);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  opacity:0; transition:opacity var(--e-speed); color:#fff;
}
.e-portfolio-item:hover .e-portfolio-overlay { opacity:1; }

/* ══════════════════════════════════════
   C10. COMPARISON TABLE
   ══════════════════════════════════════ */
.e-comparison { width:100%; border-collapse:collapse; }
.e-comparison th {
  padding:16px; font-weight:800; font-size:14px; text-align:center;
  background:var(--e-surface2); border-bottom:2px solid var(--e-border);
}
.e-comparison td {
  padding:12px 16px; text-align:center; border-bottom:1px solid var(--e-border);
  font-size:14px; color:var(--e-muted);
}
.e-comparison tr:hover td { background:rgba(var(--e-accent-rgb),.03); }
.e-comparison .e-check { color:var(--e-accent); font-weight:800; }
.e-comparison .e-cross { color:#ef4444; }
.e-comparison .featured-col { background:rgba(var(--e-accent-rgb),.05); }

/* ══════════════════════════════════════
   C11. FEATURE LIST
   ══════════════════════════════════════ */
.e-features { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:24px; }
.e-feature-item {
  display:flex; gap:16px; align-items:flex-start;
  padding:20px; border-radius:var(--e-radius); transition:all var(--e-speed);
}
.e-feature-item:hover { background:var(--e-surface2); }
.e-feature-icon {
  width:48px; height:48px; border-radius:14px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(var(--e-accent-rgb),.15), rgba(var(--e-accent-rgb),.05));
  color:var(--e-accent); font-size:20px;
}
.e-feature-title { font-weight:800; font-size:15px; margin-bottom:4px; }
.e-feature-desc { font-size:13px; color:var(--e-muted); line-height:1.6; }

/* ══════════════════════════════════════
   C12. MODAL / LIGHTBOX
   ══════════════════════════════════════ */
.e-modal-backdrop {
  position:fixed; inset:0; background:rgba(0,0,0,.5);
  backdrop-filter:blur(4px); z-index:9998;
  opacity:0; pointer-events:none; transition:opacity var(--e-speed);
}
.e-modal-backdrop.active { opacity:1; pointer-events:auto; }
.e-modal {
  position:fixed; top:50%; left:50%; transform:translate(-50%, -50%) scale(.9);
  background:var(--e-surface); border-radius:var(--e-radius-xl);
  box-shadow:var(--e-shadow-xl); z-index:9999;
  max-width:600px; width:90%; max-height:85vh; overflow-y:auto;
  opacity:0; pointer-events:none; transition:all var(--e-speed) var(--e-ease);
}
.e-modal.active { opacity:1; pointer-events:auto; transform:translate(-50%, -50%) scale(1); }
.e-modal-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 24px; border-bottom:1px solid var(--e-border);
}
.e-modal-header h3 { margin:0; font-weight:800; }
.e-modal-close {
  all:unset; cursor:pointer; width:32px; height:32px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--e-surface2); color:var(--e-muted); font-size:18px;
  transition:all var(--e-speed);
}
.e-modal-close:hover { background:var(--e-accent); color:var(--e-text-on-accent, #fff); }
.e-modal-body { padding:24px; }
.e-modal-footer { padding:16px 24px; border-top:1px solid var(--e-border); display:flex; justify-content:flex-end; gap:8px; }

/* ══════════════════════════════════════
   C13. NAVBAR VARIANTS (5 types)
   ══════════════════════════════════════ */

/* Transparent hero overlay */
.e-nav-transparent {
  background:transparent !important; backdrop-filter:none;
}
.e-nav-transparent.scrolled {
  background:rgba(255,255,255,.95) !important;
  backdrop-filter:blur(20px) !important;
}

/* Dark navbar */
.e-nav-dark {
  background:rgba(15,23,42,.95) !important;
  backdrop-filter:blur(20px);
}
.e-nav-dark .nav-link { color:#cbd5e1 !important; }
.e-nav-dark .nav-link:hover { color:var(--e-accent) !important; }
.e-nav-dark .navbar-brand { color:#f8fafc !important; }

/* Centered logo */
.e-nav-centered .navbar-brand {
  position:absolute; left:50%; transform:translateX(-50%);
}

/* Mega menu dropdown */
.e-megamenu {
  position:absolute; top:100%; left:0; right:0;
  background:var(--e-surface); border-top:2px solid var(--e-accent);
  box-shadow:var(--e-shadow-xl); padding:32px;
  opacity:0; pointer-events:none; transform:translateY(-8px);
  transition:all var(--e-speed);
}
.e-megamenu.active { opacity:1; pointer-events:auto; transform:translateY(0); }

/* ══════════════════════════════════════
   C14. FOOTER VARIANTS
   ══════════════════════════════════════ */

/* 4-column footer */
.e-footer-cols { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.e-footer-col h5 {
  font-weight:800; font-size:13px; text-transform:uppercase;
  letter-spacing:.06em; margin-bottom:16px; color:var(--e-surface);
}
.e-footer-col ul { list-style:none; padding:0; }
.e-footer-col li { margin-bottom:8px; }
.e-footer-col a { color:#94a3b8; font-size:14px; transition:color var(--e-speed); }
.e-footer-col a:hover { color:var(--e-accent); }
.e-footer-bottom {
  border-top:1px solid rgba(255,255,255,.08); padding-top:24px; margin-top:40px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:13px; color:#64748b;
}
.e-footer-socials { display:flex; gap:12px; }
.e-footer-socials a {
  width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center;
  color:#94a3b8; transition:all var(--e-speed);
}
.e-footer-socials a:hover { background:var(--e-accent); color:var(--e-text-on-accent, #fff); }

/* ══════════════════════════════════════
   C15. HERO VARIANTS
   ══════════════════════════════════════ */

/* Split hero (image left/right) */
.e-hero-split { display:grid; grid-template-columns:1fr 1fr; min-height:80vh; }
.e-hero-split-content { display:flex; flex-direction:column; justify-content:center; padding:60px; }
.e-hero-split-image { background-size:cover; background-position:center; }

/* Video hero */
.e-hero-video { position:relative; min-height:80vh; overflow:hidden; }
.e-hero-video video {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.e-hero-video-overlay {
  position:absolute; inset:0; background:rgba(15,23,42,.6);
  display:flex; align-items:center; justify-content:center; z-index:2;
}

/* Fullscreen hero */
.e-hero-fullscreen { min-height:100vh; display:flex; align-items:center; }

/* ══════════════════════════════════════
   C16. FORM STYLES
   ══════════════════════════════════════ */
.e-form-group { margin-bottom:16px; }
.e-form-label { display:block; font-weight:700; font-size:13px; margin-bottom:6px; color:var(--e-text); }
.e-form-input, .e-form-textarea, .e-form-select {
  width:100%; padding:12px 16px;
  border:1.5px solid var(--e-border); border-radius:var(--e-radius);
  font-size:14px; color:var(--e-text); background:var(--e-surface);
  transition:all var(--e-speed); box-sizing:border-box;
}
.e-form-input:focus, .e-form-textarea:focus, .e-form-select:focus {
  outline:none; border-color:var(--e-accent);
  box-shadow:0 0 0 3px rgba(var(--e-accent-rgb),.1);
}
.e-form-textarea { min-height:120px; resize:vertical; }
.e-form-checkbox { display:flex; align-items:center; gap:8px; font-size:14px; cursor:pointer; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width:768px) {
  .e-tabs-vertical { flex-direction:column; }
  .e-tabs-vertical .e-tabs-nav { flex-direction:row; border-right:none; border-bottom:2px solid var(--e-border); min-width:auto; overflow-x:auto; }
  .e-tabs-vertical .e-tabs-content { padding:20px 0 0; }
  .e-img-accordion { height:250px; flex-direction:column; }
  .e-pricing { grid-template-columns:1fr; }
  .e-hero-split { grid-template-columns:1fr; }
  .e-hero-split-content { padding:40px 20px; }
  .e-footer-cols { grid-template-columns:1fr 1fr; gap:24px; }
  .e-features { grid-template-columns:1fr; }
}
