/* ============================================================
   GeneStory — custom.css
   Overrides for tooplate-waso-strategy.css
   ============================================================ */

/* --- Color Variable Overrides --- */
:root {
  --primary-color:      #06B6D4;
  --secondary-color:    #0E7490;
  --dark-color:         #0A1628;
  --p-color:            #4B5563;
  --section-bg-color:   #F0FDFF;
}

/* --- Replace warning yellow with cyan accent --- */
.text-warning  { color: #06B6D4 !important; }
.bg-warning    { background-color: #06B6D4 !important; }

/* --- Accent bg for about highlight boxes --- */
.about-thumb.bg-danger  { background-color: #06B6D4 !important; }
.about-thumb.bg-warning { background-color: #0E7490 !important; }

/* --- Navbar: white bg, shadow, sticky --- */
.navbar {
  background: #ffffff !important;
  box-shadow: 0 2px 16px rgba(6, 182, 212, 0.10);
  transition: box-shadow 0.3s;
}
.navbar-brand {
  font-size: 22px;
  font-weight: 700;
  color: #0A1628 !important;
  letter-spacing: -0.5px;
}
.navbar-brand span { color: #06B6D4; }

/* --- Hide site header bar --- */
.site-header { display: none; }

/* --- Hero carousel overlay --- */
.carousel-image-wrap::after {
  background: linear-gradient(135deg, rgba(10,22,40,0.75) 0%, rgba(6,182,212,0.15) 100%);
}

/* --- Buttons --- */
.custom-btn {
  background: #06B6D4;
  border-color: #06B6D4;
  color: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 28px;
  transition: background 0.25s, border-color 0.25s;
}
.custom-btn:hover {
  background: #0E7490;
  border-color: #0E7490;
  color: #ffffff;
}
.custom-btn.btn-outline-light {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.custom-btn.btn-outline-light:hover {
  background: #06B6D4;
  border-color: #06B6D4;
}

/* --- Section alternating bg --- */
.services { background-color: #F0FDFF; }

/* --- Services tab active state --- */
.nav-tabs .nav-link.active h3 { color: #06B6D4; }
.nav-tabs .nav-link:hover h3  { color: #06B6D4; }

/* --- Contact section wave SVG fill --- */
.contact svg path { fill: #06B6D4 !important; fill-opacity: 1; }
.contact-container-wrap { background-color: #06B6D4; }

/* --- Footer --- */
.site-footer {
  background-color: #0A1628;
  padding: 60px 0 24px;
}
.site-footer h5 { color: #ffffff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-brand p { color: #94A3B8; font-size: 14px; line-height: 1.6; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li a { color: #94A3B8; font-size: 14px; line-height: 2; text-decoration: none; transition: color 0.2s; }
.footer-links ul li a:hover { color: #06B6D4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; }
.footer-bottom p, .copyright-text { color: #64748B; font-size: 14px; }
.footer-bottom a { color: #64748B; text-decoration: none; }
.footer-bottom a:hover { color: #06B6D4; }

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0A1628;
  color: #E2E8F0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.3);
  font-size: 14px;
}
#cookie-banner a { color: #06B6D4; text-decoration: underline; }
#cookie-banner .cookie-btn-accept {
  background: #06B6D4;
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
#cookie-banner .cookie-btn-accept:hover { background: #0E7490; }
#cookie-banner .cookie-btn-decline {
  background: transparent;
  color: #94A3B8;
  border: 1px solid #475569;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

/* --- Team cards --- */
.team-card { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 20px rgba(10,22,40,0.08); transition: transform 0.25s, box-shadow 0.25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(6,182,212,0.15); }
.team-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top center; }
.team-avatar-initial { width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 24px auto 16px; font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 800; }
.team-avatar-initial.teal { background: #06B6D4; color: #0A1628; }
.team-avatar-initial.dark { background: #0A1628; color: #06B6D4; }
.team-card-body { padding: 20px; }
.team-card-name { font-size: 18px; font-weight: 700; color: #0A1628; margin-bottom: 4px; }
.team-card-title { font-size: 13px; color: #06B6D4; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.team-card-bio  { font-size: 14px; color: #4B5563; line-height: 1.6; }

/* --- Form Submit Button --- */
.btn-submit { display: block; width: 100%; background-color: #0A1628; color: #ffffff; border: none; border-radius: 6px; padding: 14px 32px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 0.25s ease, transform 0.2s ease; margin-top: 16px; }
.btn-submit:hover { background-color: #06B6D4; color: #0A1628; transform: translateY(-2px); }

/* --- Awards/Projects cards equal height --- */
.projects-thumb-small { height: 100%; }
.projects-thumb-small .projects-image { height: 200px; object-fit: cover; }

/* --- Blog cards --- */
.blog-card { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 14px rgba(10,22,40,0.07); transition: transform 0.22s, box-shadow 0.22s; height: 100%; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 6px 28px rgba(6,182,212,0.13); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-category { font-size: 11px; font-weight: 700; color: #06B6D4; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.blog-card-title { font-size: 18px; font-weight: 700; color: #0A1628; margin-bottom: 10px; line-height: 1.35; }
.blog-card-excerpt { font-size: 14px; color: #4B5563; line-height: 1.6; }
.blog-card-meta { font-size: 12px; color: #94A3B8; margin-top: 14px; }

/* --- Product feature tabs --- */
.product-tab-nav .nav-link { border: none; border-left: 3px solid transparent; padding: 14px 20px; background: transparent; text-align: left; }
.product-tab-nav .nav-link.active { border-left-color: #06B6D4; background: #F0FDFF; }
.product-tab-nav .nav-link h3 { color: #0A1628; font-size: 22px; }
.product-tab-nav .nav-link.active h3 { color: #06B6D4; }

/* --- Stat counters --- */
.stat-number { font-size: 48px; font-weight: 700; color: #06B6D4; letter-spacing: -2px; }
.stat-label  { font-size: 14px; color: #4B5563; text-transform: uppercase; letter-spacing: 0.06em; }

/* --- Stats bar bg --- */
.stats-section { background: #F0FDFF; padding: 60px 0; }

/* --- Page hero --- */
.page-hero {
  background: linear-gradient(135deg, #0A1628 60%, #0E7490 100%);
  padding: 120px 0 60px;
  position: relative;
}
.page-hero h1 { color: #ffffff; font-size: 52px; font-weight: 700; letter-spacing: -2px; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: #94A3B8; font-size: 14px; text-decoration: none; }
.page-hero .breadcrumb-item.active { color: #06B6D4; }
.page-hero .breadcrumb-divider { color: #94A3B8; }

/* --- Feature cards (about) --- */
.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 16px rgba(10,22,40,0.07);
  height: 100%;
  transition: transform 0.22s, box-shadow 0.22s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(6,182,212,0.12); }
.feature-card-icon { width: 56px; height: 56px; background: #F0FDFF; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-card-icon i { font-size: 24px; color: #06B6D4; }
.feature-card h5 { font-size: 18px; font-weight: 700; color: #0A1628; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #4B5563; margin: 0; line-height: 1.7; }

/* --- Timeline (about) --- */
.timeline { position: relative; padding: 0; }
.timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: #E0F7FA; }
.timeline-item { display: flex; gap: 24px; margin-bottom: 36px; position: relative; }
.timeline-dot { width: 50px; height: 50px; min-width: 50px; border-radius: 50%; background: #06B6D4; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; }
.timeline-content h5 { font-size: 18px; font-weight: 700; color: #0A1628; margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: #4B5563; margin: 0; }

/* --- How it works steps --- */
.step-card { text-align: center; padding: 32px 20px; }
.step-number { width: 64px; height: 64px; border-radius: 50%; background: #06B6D4; color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.step-card h5 { font-size: 20px; font-weight: 700; color: #0A1628; margin-bottom: 10px; }
.step-card p { font-size: 15px; color: #4B5563; }

/* --- Partners strip --- */
.partners-section { background: #fff; padding: 50px 0; }
.partner-box { border: 1px solid #E0F7FA; border-radius: 8px; padding: 16px 24px; text-align: center; font-weight: 700; color: #4B5563; font-size: 14px; }

/* --- Join Us CTA --- */
.join-cta { background: linear-gradient(135deg, #0A1628 0%, #0E7490 100%); padding: 60px 0; }
.join-cta h2 { color: #fff; font-size: 36px; font-weight: 700; }
.join-cta p { color: #94A3B8; font-size: 16px; }

/* --- Legal pages --- */
.legal-content h2 { font-size: 24px; margin-top: 32px; margin-bottom: 12px; }
.legal-content p, .legal-content li { font-size: 16px; color: #4B5563; line-height: 1.8; }

/* --- Responsive hero h1 --- */
@media (max-width: 767px) {
  .carousel-caption h1 { font-size: 36px; }
  .page-hero h1 { font-size: 36px; }
  .stat-number { font-size: 36px; }
}
/* 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; }
