/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.

 *= require nav_bar
 *= require contact_footer
 *= require_tree .
 *= require_self
 */

/* ================= 3-COLUMN CARDS ================= */
.cards-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

/* ================= HERO SECTION (Services Style) ================= */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26, 180, 192, 0.15) 0%, rgba(4, 30, 33, 0.95) 100%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid rgba(26, 180, 192, 0.2);
}

/* Overlay for better text readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 30, 33, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.hero h3 {
  font-size: 18px;
  color: #d6e6e8;
  font-weight: 400;
  margin-top: 24px;
}

/* Custom Breadcrumb */
.custom-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 14px;
}

.custom-breadcrumb a {
  color: var(--teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

.custom-breadcrumb a:hover {
  color: var(--orange);
}

.custom-breadcrumb .separator {
  color: #d6e6e8;
}

.custom-breadcrumb .current {
  color: #fff;
}

/* ================= DIFFERENTIATORS SECTION ================= */
.differentiators-section {
  background: linear-gradient(135deg, rgba(26, 180, 192, 0.1), rgba(232, 70, 10, 0.05));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.diff-card {
  background: rgba(4, 30, 33, 0.6);
  border: 1px solid rgba(26, 180, 192, 0.3);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.diff-card:hover {
  border-color: var(--orange);
  background: rgba(4, 30, 33, 0.8);
}

.diff-icon {
  font-size: 48px;
  color: var(--orange);
  margin-bottom: 16px;
}

/* ================= FEATURED USE CASES ================= */
.featured-use-cases {
  background: rgba(4, 30, 33, 0.4);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
  margin-top: 32px;
}

.use-case-card {
  background: rgba(26, 180, 192, 0.1);
  border: 1px solid rgba(26, 180, 192, 0.3);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  border-color: var(--orange);
  background: rgba(26, 180, 192, 0.2);
}

.use-case-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  margin-top: 16px;
  display: inline-block;
  transition: all 0.3s ease;
}

.use-case-link:hover {
  text-shadow: 0 0 8px rgba(232, 70, 10, 0.4);
}

/* ================= INNER HERO (Legacy - can be removed) ================= */
/* Kept for backward compatibility with existing pages */
.hero-inner {
  min-height: 300px;
  background: linear-gradient(135deg, rgba(26, 180, 192, 0.15), rgba(4, 30, 33, 0.95));
  border-bottom: 1px solid rgba(26, 180, 192, 0.2);
  padding-top: 140px;
}

.hero-inner h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-inner p {
  font-size: 18px;
  color: #d6e6e8;
  max-width: 600px;
}

/* ================= JOURNEY STAGES ================= */
.journey-section {
  background: #07171833;
}

.journey-stage {
  margin-bottom: 48px;
  padding: 32px;
  background: #032a2eeb !important;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
}

.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stage-header h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

.stage-badge {
  background: rgba(26, 180, 192, 0.2);
  border: 1px solid rgba(26, 180, 192, 0.4);
  color: var(--teal);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.stage-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.stage-list li {
  color: #d6e6e8;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.stage-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

.stage-outcome {
  margin-top: 16px;
  color: var(--teal);
  font-weight: 500;
}

/* ================= SOLUTIONS SECTION ================= */
.solutions-section {
  background: rgba(4, 30, 33, 0.2);
}

.solution-card {
  background: rgba(4, 30, 33, 0.6);
  border: 1px solid rgba(26, 180, 192, 0.2);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: var(--orange);
  background: rgba(4, 30, 33, 0.8);
}

.solution-icon {
  font-size: 48px;
  color: var(--orange);
  margin-bottom: 16px;
}

.solution-card h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.solution-card p {
  color: #d6e6e8;
  margin-bottom: 16px;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-features li {
  color: var(--teal);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.solution-features li::before {
  content: "→";
  position: absolute;
  left: 0;
}

/* ================= USE CASES FULL ================= */
.use-cases-section {
  background: rgba(4, 30, 33, 0.2);
}

.use-case-full {
  background: rgba(4, 30, 33, 0.6);
  border: 1px solid rgba(26, 180, 192, 0.2);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

.use-case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(26, 180, 192, 0.2);
  padding-bottom: 16px;
}

.use-case-header h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

.use-case-badge {
  background: rgba(26, 180, 192, 0.2);
  border: 1px solid rgba(26, 180, 192, 0.4);
  color: var(--teal);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.use-case-body p {
  color: #d6e6e8;
  margin: 16px 0;
  line-height: 1.6;
}

.use-case-body strong {
  color: #fff;
}

/* ================= TALENT SECTION ================= */
.talent-section {
  background: rgba(4, 30, 33, 0.2);
}

.talent-intro {
  text-align: center;
  margin-bottom: 48px;
}

.talent-intro h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.talent-intro p {
  color: #d6e6e8;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.module-card {
  background: rgba(26, 180, 192, 0.1);
  border: 2px solid rgba(26, 180, 192, 0.3);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.module-card:hover {
  border-color: var(--orange);
  background: rgba(26, 180, 192, 0.2);
}

.module-card h4 {
  color: var(--orange);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.module-card p:first-of-type {
  color: #fff;
  font-weight: 500;
  margin-bottom: 12px;
}

.module-card p {
  color: #d6e6e8;
  font-size: 14px;
}

/* ================= WHY OTIP SECTION ================= */
.why-otip-section {
  background: rgba(4, 30, 33, 0.6);
  border: 1px solid rgba(26, 180, 192, 0.2);
  border-radius: 8px;
  padding: 32px;
}

.why-otip-section h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.why-otip-section p {
  color: #d6e6e8;
  margin-bottom: 16px;
}

.otip-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.otip-benefits li {
  color: #d6e6e8;
  padding: 12px 0;
  padding-left: 24px;
  position: relative;
}

.otip-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

/* ================= CTA SECTION ================= */
.cta-section {
  background: linear-gradient(135deg, rgba(26, 180, 192, 0.15), rgba(232, 70, 10, 0.1));
  border-top: 1px solid rgba(26, 180, 192, 0.2);
  border-bottom: 1px solid rgba(26, 180, 192, 0.2);
}

.cta-section h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
}

/* ================= ADDITIONAL SERVICES FOOTER ================= */
.additional-services-footer {
  display: none; /* Hidden by default */
  background: rgba(4, 30, 33, 0.8);
  padding: 16px;
  text-align: center;
  border-top: 1px solid rgba(26, 180, 192, 0.2);
}

.additional-services-footer a {
  color: var(--teal);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.additional-services-footer a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .stage-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .use-case-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-inner h1 {
    font-size: 32px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  /* Hero responsiveness */
  .hero {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .hero h3 {
    font-size: 16px;
  }

  .hero-content {
    padding: 40px 16px;
  }

  .custom-breadcrumb {
    font-size: 12px;
    gap: 8px;
  }
}

/* ================= HORIZONTAL OVERFLOW GUARD =================
   Scroll-reveal animations start elements translated off-screen
   (e.g. .home-reveal--right) and decorative glows extend past their
   sections; neither should ever let phones scroll sideways.
   `clip` (with a `hidden` fallback for older browsers) doesn't create
   a scroll container, so vertical scrolling is unaffected. */
body {
  overflow-x: hidden;
  overflow-x: clip;
}
