/* ZeroTB Custom CSS — accent #00b4d8 — ALL values in px, NO rem */

/* ===== Focus outline fix: remove on click, keep for keyboard ===== */
a:focus, button:focus, .btn:focus, input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: none;
}
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid #00b4d8;
    outline-offset: 2px;
}

/* ===== CSS Variables ===== */
:root {
  --accent: #00b4d8;
  --accent-dark: #0090ae;
  --bg-dark: #0d1b2a;
  --bg-mid: #1a2f45;
  --text-light: #e2e8f0;
  --text-muted: #c8d6e5;
  --text-dim: #8fabc4;
  --bg-rgb: 13, 27, 42;
}

/* ===== R77: Nav cleanup ===== */
.nav-item { margin-bottom: 0 !important; background-image: none !important; }
.site-logo { max-width: none !important; height: 36px; width: auto; }
.btn-accent, .cta-primary, .cta-secondary { white-space: nowrap; }

/* ===== R79: Hero transparent ===== */
.header-thumb { background: transparent !important; border: none !important; }

/* ===== R81: Force accent on icons ===== */
.feature-icon .fa, .card-icon .fa, .step-icon .fa { color: var(--accent) !important; }

/* ===== R89: Overlay non-blocking ===== */
.tm-bg-overlay, [class*="overlay"] { pointer-events: none !important; }

/* ===== Navbar ===== */
.header {
  background: rgba(13, 27, 42, 0.97);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.header .navbar { margin-bottom: 0; border: none; }
.header.active { background-color: rgba(var(--bg-rgb), 0.98) !important; }
.header.active .navbar-nav > li > a { color: #e2e8f0 !important; }
.navbar-brand { padding: 12px 15px; }
.navbar-inverse .navbar-nav > li > a {
  color: #c8d6e5;
  font-size: 14px;
  font-weight: 500;
  padding: 20px 14px;
  transition: color 0.2s ease;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li.active > a {
  color: #00b4d8;
  background: transparent;
}

/* ===== Accent color overrides ===== */
.primary-button a, .btn-accent-filled {
  background: #00b4d8 !important;
  color: #fff !important;
  border: 2px solid #00b4d8 !important;
  padding: 11px 28px;
  display: inline-block;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.primary-button a:hover, .btn-accent-filled:hover {
  background: #0090ae !important;
  border-color: #0090ae !important;
  color: #fff !important;
  text-decoration: none;
}
.white-button a, .btn-outline-accent {
  background: transparent !important;
  color: #00b4d8 !important;
  border: 2px solid #00b4d8 !important;
  padding: 9px 24px;
  display: inline-block;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.white-button a:hover, .btn-outline-accent:hover {
  background: #00b4d8 !important;
  color: #fff !important;
  text-decoration: none;
}

/* Dark section outline button — white border on dark bg (R-BTN) */
.dark-section .btn-outline-accent,
.dark-section .white-button a {
  color: #fff !important;
  border-color: #fff !important;
}
.dark-section .btn-outline-accent:hover,
.dark-section .white-button a:hover {
  background: #fff !important;
  color: #0d1b2a !important;
}

/* ===== Page hero section ===== */
.page-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0;
  text-transform: none;
}
.page-hero-sub {
  font-size: 18px;
  color: #c8d6e5;
  line-height: 1.6;
}

/* ===== Section headings ===== */
.section-heading h4 {
  font-size: 30px;
  font-weight: 700;
  color: #1a2f45;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.line-dec {
  width: 60px;
  height: 3px;
  background: #00b4d8;
  margin: 0 0 20px;
}
.section-sub {
  font-size: 20px;
  color: #555;
  margin-bottom: 30px;
  max-width: none;
}
.section-heading.text-center .line-dec { margin: 0 auto 20px; }

/* ===== Container narrow ===== */
.container-narrow { max-width: 720px; margin: 0 auto; }

/* ===== Feature cards — equal height (K17) ===== */
.features-grid, .team-grid, .blog-grid, .pricing-grid {
  display: flex;
  flex-wrap: wrap;
}
.features-grid > [class*="col-"],
.team-grid > [class*="col-"],
.blog-grid > [class*="col-"],
.pricing-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.feature-card, .team-card, .blog-card, .pricing-card,
.platform-layer-card, .integration-card, .culture-card,
.framework-card, .faq-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 6px;
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover, .team-card:hover, .blog-card:hover, .pricing-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.feature-card h4, .feature-card h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: #1a2f45;
}
.feature-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  flex-grow: 1;
}
.card-icon { margin-bottom: 18px; line-height: 1; }

/* ===== Feature list ===== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.feature-list li {
  font-size: 14px;
  color: #444;
  padding: 5px 0;
}
.feature-list li .fa { margin-right: 8px; }

/* ===== Dark sections — solid text colors (R85) ===== */
.dark-section {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2f45 100%);
  padding: 70px 0;
}
.dark-section .section-heading h4 { color: #e2e8f0; }
.dark-section .left-text h4 { color: #e2e8f0; font-size: 28px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.dark-section .left-text p { color: #c8d6e5; font-size: 16px; line-height: 1.7; }
.dark-section .section-sub { color: #c8d6e5; }
.dark-section .feature-card, .dark-section .integration-card, .dark-section .culture-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
}
.dark-section .feature-card h4,
.dark-section .feature-card h5,
.dark-section .integration-card h5,
.dark-section .culture-card h5 {
  color: #e2e8f0;
}
.dark-section .feature-card p,
.dark-section .integration-card p,
.dark-section .culture-card p {
  color: #c8d6e5;
}

/* ===== Light section ===== */
.bg-light-section { background: #f5f8fa; }

/* ===== Page section spacing ===== */
.page-section { padding: 70px 0; }

/* ===== Hero slider background ===== */
.hero-slide-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== CTA list inline ===== */
.cta-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-list li { list-style: none; }

/* ===== Stats / Facts ===== */
#fun-facts, #stats { background: #0d1b2a; padding: 60px 0; }
.fact-item { text-align: center; padding: 20px; }
.fact-item .counter { font-size: 54px; font-weight: 800; color: #00b4d8; line-height: 1; display: block; }
.fact-item span { font-size: 14px; color: #c8d6e5; text-transform: uppercase; letter-spacing: 1px; display: block; margin-top: 8px; }

/* ===== Blog cards ===== */
.blog-card { padding: 0; overflow: hidden; }
.blog-thumb img { width: 100%; height: 200px; object-fit: cover; object-position: center; display: block; }
.blog-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 12px; color: #00b4d8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; }
.blog-category { font-size: 12px; color: #888; margin-left: 10px; }
.blog-info h5 { font-size: 17px; font-weight: 700; color: #1a2f45; margin: 8px 0; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.blog-info h5 a { color: #1a2f45; text-decoration: none; }
.blog-info h5 a:hover { color: #00b4d8; }
.blog-info p { font-size: 14px; color: #666; flex-grow: 1; }
.read-more { font-size: 13px; color: #00b4d8; font-weight: 600; text-decoration: none; margin-top: 12px; display: inline-block; }
.read-more .fa { margin-left: 4px; font-size: 11px; }

/* ===== Team cards ===== */
.team-photo { width: 100%; height: 240px; object-fit: cover; object-position: center; border-radius: 4px; }
.team-info h4 { font-size: 20px; font-weight: 700; color: #1a2f45; margin: 14px 0 4px; text-transform: none; letter-spacing: 0; }
.team-role { display: block; font-size: 13px; color: #00b4d8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.team-info p { font-size: 14px; color: #555; line-height: 1.65; }

/* ===== Pricing cards ===== */
.pricing-card { text-align: center; border: 2px solid #e8ecef; }
.pricing-card.pricing-featured { border-color: #00b4d8; }
.pricing-header h4 { font-size: 22px; font-weight: 800; color: #1a2f45; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.price-amount { display: flex; align-items: flex-end; justify-content: center; gap: 2px; margin: 12px 0; }
.price-currency { font-size: 24px; font-weight: 700; color: #1a2f45; align-self: flex-start; margin-top: 6px; }
.price-number { font-size: 56px; font-weight: 800; color: #1a2f45; line-height: 1; }
.price-period { font-size: 16px; color: #888; margin-bottom: 8px; }
.price-tagline { font-size: 14px; color: #666; margin: 0 0 20px; }
.pricing-features ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.pricing-features li { font-size: 14px; color: #444; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.pricing-features li .fa { margin-right: 8px; }
.feature-unavailable { color: #bbb !important; }
.pricing-cta .btn { width: 100%; padding: 12px; font-size: 15px; font-weight: 700; border-radius: 4px; }
.pricing-cta .btn-accent-filled { background: #00b4d8 !important; color: #fff !important; border: 2px solid #00b4d8 !important; }
.pricing-cta .btn-outline-accent { background: transparent !important; color: #00b4d8 !important; border: 2px solid #00b4d8 !important; }
.layer-number { font-size: 22px; }

/* ===== Contact page ===== */
.contact-detail { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-detail .fa { font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.contact-detail-text h6 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #888; margin: 0 0 4px; }
.contact-detail-text p { font-size: 15px; color: #333; margin: 0; }
.contact-hours { font-size: 13px; color: #888; }
.contact-form-wrapper .form-control { border-radius: 4px; border-color: #dde2e8; font-size: 14px; margin-bottom: 16px; }
.contact-form-wrapper label { font-size: 13px; font-weight: 600; color: #444; margin-bottom: 4px; }
.btn-accent { background: #00b4d8; color: #fff; border: none; padding: 12px 30px; border-radius: 4px; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn-accent:hover { background: #0090ae; color: #fff; }

/* ===== Legal pages ===== */
.legal-content h3 { font-size: 22px; font-weight: 700; color: #1a2f45; margin: 36px 0 14px; text-transform: none; letter-spacing: 0; }
.legal-content h4 { font-size: 17px; font-weight: 700; color: #2c3e50; margin: 24px 0 10px; }
.legal-content h5 { font-size: 15px; font-weight: 700; color: #2c3e50; margin: 16px 0 8px; }
.legal-content p, .legal-content li { font-size: 15px; color: #444; line-height: 1.75; }
.legal-content ul { margin-bottom: 16px; padding-left: 20px; }
.legal-content table { font-size: 14px; }
.legal-content table th { background: #f0f4f8; font-weight: 700; }

/* ===== Footer ===== */
footer { background: #0a1520; padding: 50px 0 0; }
.footer-brand img.footer-logo { height: 32px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: #8fabc4; line-height: 1.6; }
.footer-links h5, .footer-contact h5 { font-size: 14px; font-weight: 700; color: #e2e8f0; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { font-size: 14px; color: #8fabc4; text-decoration: none; transition: color 0.2s; }
.footer-links ul li a:hover { color: #00b4d8; }
.footer-contact p { font-size: 14px; color: #8fabc4; margin-bottom: 8px; }
.footer-contact p .fa { margin-right: 8px; color: #00b4d8; }
.footer-contact a { color: #8fabc4; text-decoration: none; }
.footer-contact a:hover { color: #00b4d8; }
.footer-bottom { border-top: 1px solid #1a2f45; margin-top: 30px; padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: #5c7a94; margin: 0; }
.footer-bottom a { color: #5c7a94; text-decoration: none; }
.footer-bottom a:hover { color: #00b4d8; }

/* ===== About / Mission ===== */
.mission-quote { border-left: none; padding: 0; margin: 0; }
.mission-quote p { font-size: 22px; font-style: italic; color: #c8d6e5; line-height: 1.6; margin-bottom: 16px; }
.mission-quote footer { font-size: 14px; color: #8fabc4; background: transparent; padding: 0; }
.about-text { padding-left: 20px; }

/* ===== Article/blog img responsive (R-IMG) ===== */
.blog-card img, .legal-content img { max-width: 100%; width: 100%; height: auto; }

/* ===== FAQ ===== */
.faq-item { padding: 20px; margin-bottom: 16px; border-radius: 6px; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.faq-item h5 { font-size: 16px; font-weight: 700; color: #1a2f45; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: #555; line-height: 1.65; margin: 0; }

/* ===== Map placeholder ===== */
.map-placeholder { border-radius: 6px; overflow: hidden; }

/* ===== Integration cards in dark section ===== */
.integration-card, .culture-card { text-align: center; }
.integration-card h5, .culture-card h5 { margin-top: 14px; }

/* ===== Responsive adjustments ===== */
@media (max-width: 767px) {
  .page-hero-title { font-size: 30px; }
  .page-hero-sub { font-size: 16px; }
  .section-heading h4 { font-size: 24px; }
  .fact-item .counter { font-size: 40px; }
  .price-number { font-size: 44px; }
  body { padding-top: 60px; }
  .about-text { padding-left: 0; margin-top: 24px; }
}

/* ============================================================
   Fix pricing card label clipping
   ============================================================ */
.pricing-card, .price-card, .card-inner, [class*="pricing"] > [class*="col"] > div {
  overflow: visible !important;
}

/* ============================================================
   Fix 3: Pricing badge overflow fix
   ============================================================ */
.pricing-card,
.feature-card {
    overflow: visible !important;
}
.pricing-badge {
    position: relative;
    z-index: 10;
}

/* ============================================================
   Fix: Override template circular footer links
   ============================================================ */
footer ul {
    float: none;
    margin-top: 0;
    list-style: none;
    padding: 0;
}
footer ul li {
    display: block;
    margin-left: 0;
    margin-bottom: 6px;
}
footer ul li a {
    width: auto;
    height: auto;
    line-height: normal;
    background-color: transparent;
    border-radius: 0;
    display: inline;
    color: #8fabc4;
    font-size: 14px;
    text-align: left;
}
footer ul li a:hover {
    background-color: transparent;
    color: #ffffff;
}
