/* Modern home page styling for Optivus */
:root {
  --opt-primary: #1a6b97;
  --opt-primary-dark: #124b6b;
  --opt-primary-light: #e8f4fa;
  --opt-accent: #0088cc;
  --opt-dark: #1e293b;
  --opt-muted: #64748b;
  --opt-bg-light: #f8fafc;
  --opt-border: #e2e8f0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--opt-dark);
  background-color: #f1f5f9;
}

/* Navbar */
.navbar-optivus {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  margin-top: 10px;
  margin-bottom: 20px;
}

.navbar-optivus .navbar-brand {
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--opt-primary) !important;
  font-size: 1.4rem;
}

.navbar-optivus .nav-link {
  color: #475569 !important;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s;
}

.navbar-optivus .nav-link:hover,
.navbar-optivus .nav-item.active .nav-link {
  color: var(--opt-primary) !important;
}

.btn-nav-client {
  background-color: var(--opt-primary);
  color: #ffffff !important;
  border-radius: 20px;
  padding: 0.35rem 1rem !important;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-nav-client:hover {
  background-color: var(--opt-primary-dark);
  box-shadow: 0 4px 10px rgba(26, 107, 151, 0.25);
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #134e72 0%, #0c2d42 100%);
  color: #ffffff;
  border-radius: 1rem;
  padding: 3.5rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(12, 45, 66, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: #e0f2fe;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 650px;
}

.hero-cta .btn {
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  margin-right: 0.8rem;
  margin-bottom: 0.8rem;
  transition: all 0.2s ease-in-out;
}

.btn-hero-primary {
  background-color: #38bdf8;
  color: #0c2d42;
  border: 2px solid #38bdf8;
}

.btn-hero-primary:hover {
  background-color: #7dd3fc;
  border-color: #7dd3fc;
  color: #0c2d42;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.btn-hero-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-trust-bar {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  margin-right: 2rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.trust-item i {
  color: #38bdf8;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* Feature Pillars */
.section-title-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--opt-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--opt-dark);
}

.section-desc {
  color: var(--opt-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0.5rem auto 0 auto;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--opt-border);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  height: 100%;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: var(--opt-primary-light);
  color: var(--opt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--opt-dark);
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--opt-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Module Cards */
.module-card {
  background: #ffffff;
  border: 1px solid var(--opt-border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  position: relative;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #b0c9d9;
}

.module-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background-color: #f1f5f9;
  color: #475569;
}

.module-icon-wrap {
  margin-bottom: 1rem;
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background-color: var(--opt-primary-light);
  color: var(--opt-primary);
}

.module-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--opt-dark);
}

.module-desc {
  font-size: 0.92rem;
  color: var(--opt-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1.2rem;
}

.module-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--opt-primary);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.module-link i {
  margin-left: 0.4rem;
  transition: transform 0.2s;
}

.module-link:hover {
  color: var(--opt-primary-dark);
}

.module-link:hover i {
  transform: translateX(3px);
}

/* Deployment Options (Cloud vs SQL) */
.deployment-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--opt-border);
  padding: 2.2rem 2rem;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  position: relative;
}

.deployment-card.featured {
  border: 2px solid var(--opt-primary);
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.deployment-ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  background-color: var(--opt-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deployment-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--opt-dark);
}

.deployment-lead {
  font-size: 0.95rem;
  color: var(--opt-muted);
  margin-bottom: 1.5rem;
}

.deployment-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.deployment-features li {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.deployment-features li i {
  color: #10b981;
  margin-right: 0.6rem;
  margin-top: 0.2rem;
}

/* Client Tools / Tech zone */
.client-box {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--opt-border);
  padding: 1.2rem;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none !important;
  color: inherit !important;
}

.client-box:hover {
  background-color: #f8fafc;
  border-color: #b0c9d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.client-box-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: var(--opt-primary-light);
  color: var(--opt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.client-box-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--opt-dark);
}

.client-box-desc {
  font-size: 0.82rem;
  color: var(--opt-muted);
  margin-bottom: 0;
}

/* Articles / News section */
.article-card {
  background: #ffffff;
  border: 1px solid var(--opt-border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  border-color: #b0c9d9;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.article-meta .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.article-date {
  font-size: 0.82rem;
  color: var(--opt-muted);
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.article-title a {
  color: var(--opt-dark);
  text-decoration: none !important;
  transition: color 0.2s;
}

.article-title a:hover {
  color: var(--opt-primary);
}

.article-desc {
  font-size: 0.92rem;
  color: var(--opt-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--opt-primary);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.article-link i {
  margin-left: 0.4rem;
  transition: transform 0.2s;
}

.article-link:hover {
  color: var(--opt-primary-dark);
}

.article-link:hover i {
  transform: translateX(3px);
}

/* Footer */
.footer-optivus {
  background-color: #0c2d42;
  color: #94a3b8;
  padding: 3rem 1rem 1.5rem 1rem;
  border-radius: 1rem 1rem 0 0;
  margin-top: 4rem;
}

.footer-optivus a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-optivus a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}

