/* static/css/custom.css */

/* =============================================
   1. Global Styles & Variables
   ============================================= */

/* Using a modern, professional font */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Overriding Bootstrap's default primary color for a custom theme */
:root {
  --bs-primary: #0a2540;
  --bs-primary-rgb: 10, 37, 64;
  --bs-primary-dark: #061728; /* A darker shade for cards on primary bg */
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0d3255; /* A slightly lighter shade for hover */
  --bs-btn-hover-border-color: #0c2e4e;
  --bs-btn-active-bg: #0c2e4e;
  --bs-btn-active-border-color: #0b2a46;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-primary-dark {
  background-color: var(--bs-primary-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================
   2. Hero Section
   ============================================= */
.hero-section {
  background-color: var(--bs-primary);
  /* Optional: Add a subtle pattern or gradient */
  background-image: linear-gradient(145deg, var(--bs-primary) 0%, #103a63 100%);
  color: #ffffff;
}

.hero-section h1 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.85);
}

/* =============================================
   3. Credibility Bar
   ============================================= */
.credibility-bar .cred-item {
  transition: transform 0.2s ease-in-out;
}

.credibility-bar .cred-item:hover {
  transform: translateY(-5px);
}

.credibility-bar .cred-item i {
  color: var(--bs-primary);
}

/* =============================================
   4. Problem & Solution Sections
   ============================================= */
#the-problem .card,
#services .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none; /* Remove default bootstrap border */
}

#the-problem .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

#services .card {
  transition: background-color 0.3s ease;
}

#services .card:hover {
  background-color: #0d3255 !important; /* Lighter than --bs-primary-dark */
}

/* =============================================
   5. General Section Styling
   ============================================= */
section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Adjust padding for smaller screens */
@media (max-width: 768px) {
  section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* =============================================
   6. Navigation Bar Adjustment
   ============================================= */
.navbar.is-scrolled {
  background-color: var(--bs-primary) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}