﻿/* === WorkClout custom.css === */

/* 1. Root variable overrides */
:root {
  --primary-color: #1E40AF;
  --primary-dark: #1a3591;
  --primary-light: #dbeafe;
  --footer-bg-color: #07262e;
  --section-bg-color: #f4f6f9;
  --dark-bg: #0d1b2a;
  --dark-color: #0d1b2a;
  --p-color: #4a5568;
  --title-color: #0d1b2a;
  --border-color: #e4e6ef;
  --text-muted: #9ca3af;
  --text-inverse: #f1f5f9;
  --accent-amber: #f59e0b;
  --accent-success: #10b981;
  --white-color: #FFFFFF;
}

/* 2. Typography */
h1, h2, h3, h4 {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  color: #0d1b2a;
  line-height: 1.2;
}

p {
  font-size: 17px;
  color: #4a5568;
  line-height: 1.7;
}

/* 3. Navbar */
.navbar {
  background-color: transparent;
  transition: background 0.3s ease;
}
.navbar.scrolled,
.navbar-scrolled,
.navbar.sticky-nav {
  background-color: #0d1b2a !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar-brand {
  font-weight: 700;
  font-size: 22px;
  color: #ffffff !important;
  letter-spacing: -0.5px;
}
.navbar-brand i {
  color: #1E40AF;
  margin-right: 6px;
}
.nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-size: 16px;
  font-weight: 500;
  padding: 0 14px !important;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #ffffff !important;
}
.custom-btn {
  background: #1E40AF;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  transition: background 0.2s;
}
.custom-btn:hover {
  background: #1a3591;
  color: #ffffff !important;
}

/* 4. Hero */
.hero {
  background-color: #0d1b2a;
  min-height: 100vh;
  position: relative;
}
.hero .overlay {
  background: linear-gradient(135deg, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.55) 100%);
}

/* 5. Inner page hero */
.hero-inner {
  min-height: 420px;
  background: #0d1b2a;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.hero-inner h1 {
  color: #ffffff;
  font-size: 46px;
}
.hero-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 560px;
}

/* 6. Amber CTA button */
.btn-amber {
  background: #f59e0b;
  color: #0d1b2a;
  font-weight: 700;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  transition: background 0.2s;
}
.btn-amber:hover { background: #d97706; color: #0d1b2a; }

/* Ghost white button */
.btn-ghost-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* 7. Trust strip */
.trust-strip {
  padding: 30px 0;
  background: #ffffff;
  border-bottom: 1px solid #e4e6ef;
}
.trust-label {
  color: #9ca3af;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.trust-pill {
  display: inline-block;
  background: #f4f6f9;
  border: 1px solid #e4e6ef;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  filter: grayscale(1);
  opacity: 0.55;
}

/* 8. Stats grid */
.stats-section {
  background: #f4f6f9;
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e4e6ef;
  border: 1px solid #e4e6ef;
  border-radius: 10px;
  overflow: hidden;
}
.stat-cell {
  background: #ffffff;
  padding: 36px 24px;
  text-align: center;
}
.stat-cell__icon {
  font-size: 24px;
  color: #1E40AF;
  margin-bottom: 10px;
}
.stat-cell__number {
  font-size: 40px;
  font-weight: 700;
  color: #1E40AF;
  line-height: 1;
}
.stat-cell__label {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 9. Capability cards */
.capability-card {
  background: #ffffff;
  border: 1px solid #e4e6ef;
  border-radius: 10px;
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.capability-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(30, 64, 175, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E40AF;
  font-size: 20px;
  margin-bottom: 16px;
}
.capability-card__title {
  font-size: 17px;
  font-weight: 600;
  color: #0d1b2a;
  margin-bottom: 10px;
}
.capability-card__body {
  font-size: 16px;
  line-height: 1.65;
  color: #4a5568;
  margin: 0;
}

/* 10. Feature sections */
.feature-section {
  padding: 80px 0;
  border-bottom: 1px solid #e4e6ef;
}
.feature-section:last-child { border-bottom: none; }
.feature-section img {
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* 11. Testimonials */
.testimonial-section {
  background: #0d1b2a;
  padding: 80px 0;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px;
}
.testimonial-card p {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
}
.testimonial-role {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 13px;
  margin-bottom: 14px;
}

/* 12. CTA Banner */
.cta-dark-banner {
  background: #1E40AF;
  padding: 80px 0;
  text-align: center;
}
.cta-dark-banner h2 { color: #ffffff; }
.cta-dark-banner p { color: rgba(255,255,255,0.8); }

/* 13. Footer overrides */
.site-footer {
  background: #07262e;
  padding: 70px 0 0;
}
.site-footer h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}
.footer-menu-link {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 2;
  transition: color 0.2s;
  text-decoration: none;
  display: block;
}
.footer-menu-link:hover {
  color: #ffffff;
}
.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 40px;
}
.copyright-text {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}
.footer-social-link {
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  margin-right: 14px;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-social-link:hover {
  color: #ffffff;
}

/* 14. Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0d1b2a;
  padding: 16px 0;
  border-top: 2px solid #1E40AF;
  display: none;
}
.cookie-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin: 0;
}
.cookie-banner a {
  color: #dbeafe;
  text-decoration: underline;
}
.cookie-btn-accept {
  background: #1E40AF;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 5px;
}
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 5px;
}

/* 15. Team cards */
.team-card {
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border: 1px solid #e4e6ef;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.09);
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 3px solid #dbeafe;
}
.team-role {
  color: #1E40AF;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}
.team-social {
  color: #1E40AF;
  font-size: 18px;
  margin-top: 12px;
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s;
}
.team-social:hover {
  color: #1a3591;
}

/* 16. Blog cards */
.blog-card {
  background: #ffffff;
  border: 1px solid #e4e6ef;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s;
  height: 100%;
}
.blog-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.blog-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f4f6f9;
}
.blog-card-body { padding: 20px; }
.blog-tag {
  background: #dbeafe;
  color: #1E40AF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.blog-card-body h5 a {
  color: #0d1b2a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.blog-card-body h5 a:hover {
  color: #1E40AF;
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: #9ca3af;
}
.blog-read-more {
  color: #1E40AF;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}
.blog-read-more:hover {
  color: #1a3591;
}

/* 17. Contact form & info */
.contact-info-card {
  background: #f4f6f9;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}
.contact-info-card i {
  color: #1E40AF;
  font-size: 20px;
  width: 28px;
}
.contact-info-card p {
  font-size: 14px;
  margin: 0;
  color: #4a5568;
}

/* 18. Values / About cards */
.value-card {
  background: #ffffff;
  border: 1px solid #e4e6ef;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
}
.value-card__icon {
  font-size: 32px;
  color: #1E40AF;
  margin-bottom: 16px;
}
.value-card h5 {
  font-weight: 700;
  font-size: 18px;
  color: #0d1b2a;
  margin-bottom: 10px;
}

/* 19. Product comparison table */
.comparison-table th {
  background: #1E40AF;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}
.comparison-table td {
  font-size: 14px;
  vertical-align: middle;
  color: #4a5568;
}
.comparison-table .check-yes {
  color: #10b981;
  font-weight: 700;
}
.comparison-table .check-no {
  color: #9ca3af;
}

/* 20. Legal pages */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}
.legal-page h1 {
  font-size: 36px;
  color: #0d1b2a;
  margin-bottom: 8px;
}
.legal-page .effective-date {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: #0d1b2a;
}
.legal-page p, .legal-page li {
  font-size: 15px;
  line-height: 1.8;
  color: #4a5568;
}

/* 21. Badge chip */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30,64,175,0.15);
  border: 1px solid rgba(30,64,175,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #dbeafe;
  margin-bottom: 20px;
}
.hero-badge i {
  color: #f59e0b;
}

/* 22. Section headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 38px;
  color: #0d1b2a;
}
.section-header p {
  font-size: 17px;
  color: #4a5568;
  max-width: 580px;
  margin: 12px auto 0;
}

/* 23. Investor strip */
.investor-strip {
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid #e4e6ef;
  border-bottom: 1px solid #e4e6ef;
}

/* 24. Section padding */
.section-padding { padding: 7rem 0; }

/* 25. Responsive */
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .hero-inner h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .section-padding { padding: 4rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card-body h5 a { font-size: 15px; }
}
/* Fix 1: Article page max-width */
.article-layout, .article-container, .article-content, .blog-article, .post-content { max-width: 800px; margin: 0 auto; padding: 40px 20px 60px; }

/* Fix 2: Article text color */
.article-body p, .article-content p, .post-content p, .blog-article p { color: #444; font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.article-body h2, .article-content h2, .post-content h2 { color: #222; font-size: 24px; margin-top: 36px; margin-bottom: 16px; }
.article-body h3, .article-content h3, .post-content h3 { color: #333; font-size: 20px; margin-top: 28px; margin-bottom: 12px; }
.article-body ul, .article-body ol, .article-content ul, .article-content ol { color: #444; margin-bottom: 20px; padding-left: 24px; }
.article-body li, .article-content li { margin-bottom: 8px; line-height: 1.7; }

/* Fix 4: Blog card flex layout */
.blog-card { display: flex; flex-direction: column; min-height: 420px; }
.blog-card-body { display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-body > p:last-of-type, .blog-card-excerpt { flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-body > a:last-child, .blog-read-more { margin-top: auto; }

/* === Team Page Restructure  CEO Featured Card + Zone Layout === */

/* CEO Featured Card (text-only, no photo) */
.team-ceo-card {
  background: #f0f4ff;
  border: 2px solid rgba(30, 64, 175, 0.25);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.team-ceo-name {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.team-ceo-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E40AF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.team-ceo-bio {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 24px;
}

.team-ceo-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1E40AF;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.team-ceo-linkedin:hover {
  color: #1e3a8a;
}

.section-bg-light {
  background-color: #f8fafc;
}

/* Team Card Zone Structure */
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-avatar-zone {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #dbeafe;
  margin-bottom: 0;
}

.team-name-zone {
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.team-name-zone h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.team-role-zone {
  height: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.team-bio-zone {
  flex-grow: 1;
}

.team-bio-text {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0;
}

.team-footer-zone {
  margin-top: auto;
  padding-top: 14px;
}

/* CEO to Core Team gap fix */
.team-ceo-section { padding-bottom: 2rem !important; }
.team-core-section { padding-top: 2rem !important; }
