@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─────────────────────────────────────────
   Design Tokens
───────────────────────────────────────── */
:root {
  --color-primary:      #1a56db;
  --color-primary-dark: #1e40af;
  --color-text:         #111827;
  --color-text-muted:   #6b7280;
  --color-bg:           #ffffff;
  --color-surface:      #f8fafc;
  --color-border:       #e2e8f0;
  --color-overlay:      rgba(10, 20, 45, 0.54);

  --font-sans:          'Plus Jakarta Sans', sans-serif;

  --radius-sm:          6px;
  --radius-md:          10px;
  --radius-lg:          16px;

  --shadow-sm:          0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md:          0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:          0 10px 30px rgba(0, 0, 0, 0.12);

  --transition:         200ms ease;

  /* Bootstrap overrides */
  --bs-font-sans-serif: var(--font-sans);
  --bs-body-color:      var(--color-text);
}

/* ─────────────────────────────────────────
   Base
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 0.875rem;
}

p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  display: block;
}

/* Bootstrap utility overrides */
.text-muted {
  color: var(--color-text-muted) !important;
}

.bg-light {
  background-color: var(--color-surface) !important;
}

/* ─────────────────────────────────────────
   Navbar
───────────────────────────────────────── */
.navbar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.875rem 0;
}

.navbar-light .navbar-brand {
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
  color: var(--color-primary);
}

.navbar-light .navbar-nav .nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--color-primary);
  background: transparent;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M3 6h18M3 12h18M3 18h18'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

/* ─────────────────────────────────────────
   Hero (index.html)
───────────────────────────────────────── */
.hero-section {
  background: url('../img/cover3.avif') no-repeat center center / cover;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.hero-section .container {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-section .display-4 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.2rem;
}

.hero-section p.lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────
   Page Header (banner image — services & contact)
───────────────────────────────────────── */
.page-header {
  background: url('../img/banner.avif') no-repeat center center / cover;
  position: relative;
  padding: 5rem 0;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.page-header p.lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   Service Card Box — index.html & services.html
───────────────────────────────────────── */
.service-card-box {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.service-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
  z-index: 1;
}

.service-card-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.service-card-box:hover::before {
  transform: scaleX(1);
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 1.25rem 1.375rem 1.5rem;
  text-align: left;
}

.service-card-body h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.service-card-body .text-muted {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   Intro Section (theme.html)
───────────────────────────────────────── */
.intro-section {
  padding: 5rem 0;
}

.intro-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.125rem;
}

.intro-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* ─────────────────────────────────────────
   Benefits Section (theme.html)
───────────────────────────────────────── */
.benefits-section {
  background: #f8fafc;
  padding: 5rem 0;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  background: rgba(26, 86, 219, 0.1);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.benefit-card h5 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.benefit-card .text-muted {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   Buttons
───────────────────────────────────────── */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5625rem 1.375rem;
  letter-spacing: 0.01em;
  transition: background-color var(--transition), border-color var(--transition),
              transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.28);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ─────────────────────────────────────────
   Forms
───────────────────────────────────────── */
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.form-control {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: #fff;
  box-shadow: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-control:focus {
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
  outline: none;
}

/* ─────────────────────────────────────────
   CTA Sections
───────────────────────────────────────── */
.cta-section {
  background: var(--color-surface);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.cta-section p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────
   Contact Form Card
───────────────────────────────────────── */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   Contact Info Cards
───────────────────────────────────────── */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact-info-card .benefit-icon {
  margin: 0 auto 1.25rem;
}

.contact-info-card h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.contact-info-card .text-muted {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   CTA Dark Variant (services.html)
───────────────────────────────────────── */
.cta-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1a3a8a 100%);
}

.cta-dark h3,
.cta-dark p {
  color: #fff;
}

.cta-dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* ─────────────────────────────────────────
   Section Spacing
───────────────────────────────────────── */
section.bg-white,
section.bg-light {
  padding: 5rem 0 !important;
}

/* Featured services heading */
section.bg-white h2 {
  font-size: 1.75rem;
  margin-bottom: 3rem;
}

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.875rem;
}

footer p {
  margin-bottom: 0;
}
