/* ==========================================================================
   Odoo Services Page Stylesheet - Sagar Solutions
   ========================================================================== */

:root {
  --odoo-primary: #714B67;
  --odoo-primary-dark: #53324c;
  --odoo-primary-light: #8e6284;
  --odoo-teal: #017E84;
  --odoo-teal-dark: #005f63;
  --odoo-blue: #00a0f4;
  --odoo-green: #A1CC3A;
  --odoo-dark: #0f172a;
  --odoo-dark-surface: #1e293b;
  --odoo-slate: #334155;
  --odoo-muted: #64748b;
  --odoo-light-bg: #f8fafc;
  --odoo-border: #e2e8f0;
  --odoo-card-bg: #ffffff;
}

/* Base resets & utility */
.odoo-wrapper * {
  box-sizing: border-box;
}

.odoo-wrapper {
  width: 100%;
  font-family: 'Exo 2', sans-serif;
  color: #1e293b;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.odoo-hero-section {
  width: 100%;
  background: linear-gradient(135deg, #0e1e38 0%, #17325c 50%, #714B67 100%);
  color: #ffffff;
  padding: 60px 0 50px 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 25px rgba(0,0,0,0.2);
}

.odoo-hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 126, 132, 0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.odoo-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.odoo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #c9e9ff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.odoo-hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--odoo-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--odoo-green);
}

.odoo-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.odoo-hero-title span {
  background: linear-gradient(90deg, #5eead4 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.odoo-hero-subtitle {
  font-size: 1.55rem;
  font-weight: 500;
  color: #e2e8f0;
  margin: 0 0 20px 0;
  line-height: 1.35;
}

.odoo-hero-desc {
  max-width: 840px;
  font-size: 1.12rem;
  color: #cbd5e1;
  margin: 0 auto 32px auto;
  line-height: 1.75;
}

.odoo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.odoo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.odoo-btn-primary {
  background: linear-gradient(135deg, #00a0f4 0%, #017E84 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 160, 244, 0.35);
}

.odoo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 160, 244, 0.5);
  background: linear-gradient(135deg, #05b1ff 0%, #029da5 100%);
  color: #ffffff !important;
}

.odoo-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.odoo-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.odoo-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1050px;
  margin-top: 10px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.odoo-stat-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.25s ease;
}

.odoo-stat-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.odoo-stat-pill .number {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #5eead4;
  margin-bottom: 4px;
}

.odoo-stat-pill .label {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.odoo-section {
  width: 100%;
  padding: 65px 0;
  position: relative;
}

.odoo-section-light {
  background-color: #f8fafc;
}

.odoo-section-white {
  background-color: #ffffff;
}

.odoo-section-dark {
  background: linear-gradient(135deg, #0e1e38 0%, #1e293b 100%);
  color: #ffffff;
}

.odoo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.odoo-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px auto;
}

.odoo-sub-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--odoo-teal);
  background: rgba(1, 126, 132, 0.08);
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.odoo-section-dark .odoo-sub-tag {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.12);
}

.odoo-section-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.25;
}

.odoo-section-dark .odoo-section-title {
  color: #ffffff;
}

.odoo-section-subtitle {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.odoo-section-dark .odoo-section-subtitle {
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   14 Service Cards Grid
   -------------------------------------------------------------------------- */
.odoo-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
  width: 100%;
}

.odoo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.odoo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--odoo-primary) 0%, var(--odoo-teal) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.odoo-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.odoo-card:hover::before {
  opacity: 1;
}

.odoo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.odoo-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(113, 75, 103, 0.08) 0%, rgba(1, 126, 132, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--odoo-primary);
  transition: all 0.3s ease;
}

.odoo-card:hover .odoo-card-icon {
  background: linear-gradient(135deg, var(--odoo-primary) 0%, var(--odoo-teal) 100%);
  color: #ffffff;
  transform: scale(1.05);
}

.odoo-card-icon svg {
  width: 28px;
  height: 28px;
}

.odoo-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
}

.odoo-card:hover .odoo-card-badge {
  background: rgba(1, 126, 132, 0.12);
  color: var(--odoo-teal);
}

.odoo-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.odoo-card-desc {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.odoo-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.odoo-card-highlight {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--odoo-teal);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.odoo-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--odoo-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.odoo-card-link:hover {
  color: var(--odoo-blue);
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Why Sagar Solutions Section
   -------------------------------------------------------------------------- */
.odoo-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
  width: 100%;
}

.odoo-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.odoo-why-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.odoo-why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 160, 244, 0.1) 0%, rgba(1, 126, 132, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--odoo-teal);
}

.odoo-why-card:hover .odoo-why-icon {
  background: linear-gradient(135deg, #00a0f4 0%, #017E84 100%);
  color: #ffffff;
}

.odoo-why-icon svg {
  width: 24px;
  height: 24px;
}

.odoo-why-content h4 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.odoo-why-content p {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Our Approach Section (Stepped Timeline)
   -------------------------------------------------------------------------- */
.odoo-approach-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  position: relative;
}

.odoo-step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 26px 16px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.odoo-step-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(94, 234, 212, 0.45);
  transform: translateY(-6px);
}

.odoo-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--odoo-teal) 0%, var(--odoo-blue) 100%);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 14px rgba(1, 126, 132, 0.4);
}

.odoo-step-card:hover .odoo-step-number {
  background: linear-gradient(135deg, #5eead4 0%, #00a0f4 100%);
  color: #0f172a;
}

.odoo-step-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.odoo-step-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CTA Box
   -------------------------------------------------------------------------- */
.odoo-cta-banner {
  background: linear-gradient(135deg, #714B67 0%, #017E84 100%);
  border-radius: 16px;
  padding: 55px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(113, 75, 103, 0.28);
  margin-top: 10px;
}

.odoo-cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.odoo-cta-banner p {
  max-width: 780px;
  font-size: 1.12rem;
  color: #e2e8f0;
  margin: 0 auto 30px auto;
  line-height: 1.65;
}

.odoo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #714B67 !important;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 15px 38px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: all 0.25s ease;
}

.odoo-cta-btn:hover {
  background: #0f172a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .odoo-approach-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .odoo-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .odoo-hero-title {
    font-size: 2.3rem;
  }
  .odoo-hero-subtitle {
    font-size: 1.25rem;
  }
  .odoo-hero-desc {
    font-size: 1rem;
  }
  .odoo-services-grid {
    grid-template-columns: 1fr;
  }
  .odoo-why-grid {
    grid-template-columns: 1fr;
  }
  .odoo-approach-timeline {
    grid-template-columns: 1fr;
  }
  .odoo-cta-banner {
    padding: 38px 20px;
  }
  .odoo-cta-banner h2 {
    font-size: 1.85rem;
  }
  .odoo-hero-stats {
    grid-template-columns: 1fr;
  }
}
